Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: bump lockfile to v7 #7666

Merged
merged 7 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __fixtures__/circular/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/custom-modules-dir/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/empty/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/fixture-with-no-pkg-version/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/fixture/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/fixtureWithLinks/general/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/general/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/has-2-outdated-deps/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/has-major-outdated-deps/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/has-not-outdated-deps/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/has-outdated-deps/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/local-pkg/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/local-scoped-pkg/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/multiple-scripts-error-exit/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/pkg-with-external-lockfile/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/tar-pkg/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/with-aliased-dep/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/with-file-dep/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/with-git-protocol-dep/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/with-non-package-dep/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/with-peer/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/with-pnpm-update-ignore/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/with-unsaved-deps/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/workspace-with-2-pkgs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion __fixtures__/workspace-with-private-pkgs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`writeLockfiles() 1`] = `
"lockfileVersion: '6.1'
"lockfileVersion: '7.0'

dependencies:
is-negative:
Expand Down
2 changes: 1 addition & 1 deletion lockfile/lockfile-file/test/fixtures/2/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lockfileVersion: '6.0'
lockfileVersion: '7.0'

dependencies:
is-positive:
Expand Down
2 changes: 1 addition & 1 deletion lockfile/lockfile-file/test/fixtures/6/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions lockfile/lockfile-file/test/lockfileV6Converters.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { convertToLockfileFile, convertToLockfileObject } from '../lib/lockfileF

test('convertToLockfileFile()', () => {
const lockfileV5 = {
lockfileVersion: '6.0',
lockfileVersion: '7.0',
importers: {
project1: {
specifiers: {
Expand Down Expand Up @@ -39,7 +39,7 @@ test('convertToLockfileFile()', () => {
},
}
const lockfileV6 = {
lockfileVersion: '6.0',
lockfileVersion: '7.0',
importers: {
project1: {
dependencies: {
Expand Down Expand Up @@ -87,7 +87,7 @@ test('convertToLockfileFile()', () => {

test('convertToLockfileFile() with lockfile v6', () => {
const lockfileV5 = {
lockfileVersion: '6.0',
lockfileVersion: '7.0',
importers: {
project1: {
specifiers: {
Expand Down Expand Up @@ -124,7 +124,7 @@ test('convertToLockfileFile() with lockfile v6', () => {
},
}
const lockfileV6 = {
lockfileVersion: '6.0',
lockfileVersion: '7.0',
importers: {
project1: {
dependencies: {
Expand Down
6 changes: 3 additions & 3 deletions lockfile/lockfile-file/test/read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test('readWantedLockfile()', async () => {
const lockfile = await readWantedLockfile(path.join('fixtures', '2'), {
ignoreIncompatible: false,
})
expect(lockfile?.lockfileVersion).toEqual('6.0')
expect(lockfile?.lockfileVersion).toEqual('7.0')
expect(lockfile?.importers).toStrictEqual({
'.': {
dependencies: {
Expand Down Expand Up @@ -88,7 +88,7 @@ test('writeWantedLockfile()', async () => {
},
},
},
lockfileVersion: '6.0',
lockfileVersion: '7.0',
packages: {
'/is-negative@1.0.0': {
dependencies: {
Expand Down Expand Up @@ -131,7 +131,7 @@ test('writeCurrentLockfile()', async () => {
},
},
},
lockfileVersion: '6.0',
lockfileVersion: '7.0',
packages: {
'/is-negative@1.0.0': {
dependencies: {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 24 additions & 12 deletions modules-mounter/daemon/test/__fixtures__/simple/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ exports[`makeVirtualNodeModules 1`] = `
},
"ini": {
"entryType": "symlink",
"target": "../../ini@1.3.8/node_modules/ini",
"target": "../../ini@1.3.4/node_modules/ini",
},
},
"entryType": "directory",
},
},
"entryType": "directory",
},
"ini@1.3.8": {
"ini@1.3.4": {
"entries": {
"node_modules": {
"entries": {
"ini": {
"depPath": "/ini@1.3.8",
"depPath": "/ini@1.3.4",
"entryType": "index",
},
},
Expand Down
2 changes: 1 addition & 1 deletion modules-mounter/daemon/test/createFuseHandlers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('FUSE handlers', () => {
expect(returnCode).toBe(0)
expect(files!.sort()).toStrictEqual([
'@zkochan+git-config@0.1.0',
'ini@1.3.8',
'ini@1.3.4',
'is-positive@1.0.0',
].sort())
})
Expand Down
Loading
Loading