File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11import * as debugModule from 'debug' ;
2- import * as pathUtil from 'path' ;
32import * as fs from 'fs' ;
4-
5- const debug = debugModule ( 'snyk-pnpm-workspaces' ) ;
3+ import * as pathUtil from 'path' ;
64import * as lockFileParser from 'snyk-nodejs-lockfile-parser' ;
5+ import { ScannedNodeProject } from 'snyk-nodejs-lockfile-parser/dist/dep-graph-builders/types' ;
76import { MultiProjectResultCustom , ScannedProjectCustom } from '../types' ;
87import { sortTargetFiles } from './workspace-utils' ;
9- import { ScannedNodeProject } from 'snyk-nodejs-lockfile-parser/dist/dep-graph-builders/types' ;
8+
9+ const debug = debugModule ( 'snyk-pnpm-workspaces' ) ;
1010
1111export async function processPnpmWorkspaces (
1212 root : string ,
1313 settings : {
1414 strictOutOfSync ?: boolean ;
1515 dev ?: boolean ;
1616 optional ?: boolean ;
17+ exclude ?: string ;
1718 } ,
1819 targetFiles : string [ ] ,
1920) : Promise < MultiProjectResultCustom > {
@@ -51,6 +52,7 @@ export async function processPnpmWorkspaces(
5152 settings . strictOutOfSync === undefined
5253 ? true
5354 : settings . strictOutOfSync ,
55+ exclude : settings . exclude ,
5456 } ) ;
5557 result . scannedProjects = result . scannedProjects . concat (
5658 scannedProjects as ScannedProjectCustom [ ] ,
Original file line number Diff line number Diff line change 4242 "lodash.isempty" : " ^4.4.0" ,
4343 "lodash.sortby" : " ^4.7.0" ,
4444 "micromatch" : " 4.0.8" ,
45- "snyk-nodejs-lockfile-parser" : " 1.58.19 " ,
45+ "snyk-nodejs-lockfile-parser" : " 2.4.3 " ,
4646 "snyk-resolve-deps" : " 4.8.0"
4747 },
4848 "overrides" : {
You can’t perform that action at this time.
0 commit comments