Skip to content

Commit 2639b20

Browse files
authored
fix: include peer deps always for pnpm and bump lockfile parser (#28)
1 parent 2ee385c commit 2639b20

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/lock-parser/build-dep-graph.ts

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export async function buildDepGraph(
5757
{
5858
includeDevDeps: options.includeDevDeps,
5959
includeOptionalDeps: options.includeOptionalDeps || true,
60+
includePeerDeps: true,
6061
pruneWithinTopLevelDeps: true,
6162
strictOutOfSync: options.strictOutOfSync,
6263
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"lodash.isempty": "^4.4.0",
4343
"lodash.sortby": "^4.7.0",
4444
"micromatch": "4.0.8",
45-
"snyk-nodejs-lockfile-parser": "1.58.18",
45+
"snyk-nodejs-lockfile-parser": "1.58.19",
4646
"snyk-resolve-deps": "4.8.0"
4747
},
4848
"overrides": {

0 commit comments

Comments
 (0)