-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for pnpm lockfile v9 (#12)
- Loading branch information
Showing
31 changed files
with
837 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "one-dep", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"accepts": "1.3.7" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
test/fixtures/pnpm/lock-v9/undefined-package-version/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "pnpm-shallow-goof", | ||
"version": "0.0.1", | ||
"description": "A vulnerable demo application", | ||
"homepage": "https://snyk.io/", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/snyk-fixtures/pnpm-shallow-goof" | ||
}, | ||
"dependencies": { | ||
"a": "workspace:*" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
test/fixtures/pnpm/lock-v9/undefined-package-version/packages/pkg-a/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "a", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"node-uuid": "1.4.0", | ||
"qs": "0.0.6" | ||
} | ||
} | ||
|
37 changes: 37 additions & 0 deletions
37
test/fixtures/pnpm/lock-v9/undefined-package-version/pnpm-lock.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
10 changes: 10 additions & 0 deletions
10
test/fixtures/pnpm/lock-v9/workspace-empty-config-file/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "yarn-1-workspace-with-isolated-pkgs", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"react": "18.0.0" | ||
}, | ||
"private": true | ||
} |
7 changes: 7 additions & 0 deletions
7
test/fixtures/pnpm/lock-v9/workspace-empty-config-file/packages/pkg-a/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "package-a", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"ms": "2.1.2" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
test/fixtures/pnpm/lock-v9/workspace-empty-config-file/packages/pkg-b/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "pkg-b", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"accepts": "1.3.7" | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
test/fixtures/pnpm/lock-v9/workspace-empty-config-file/pnpm-lock.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
test/fixtures/pnpm/lock-v9/workspace-empty-config-file/pnpm-workspace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// should get all subdirs |
8 changes: 8 additions & 0 deletions
8
test/fixtures/pnpm/lock-v9/workspace-with-cross-ref/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "pnpm-1-workspace-with-cross-ref", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"private": true, | ||
"workspaces": ["packages/*"] | ||
} |
Oops, something went wrong.