Skip to content

Commit db7d69f

Browse files
committed
fix: upgrade shescape to v2.1.0
shescape below v2 have been marked as deprecated. This change updates to the new interface. Please validate these changes against the migration document: https://github.com/ericcornelissen/shescape/blob/HEAD/docs/migration.md
1 parent e5fb2be commit db7d69f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/sub-process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as childProcess from 'child_process';
2-
import { quoteAll } from 'shescape';
2+
import { quoteAll } from 'shescape/stateless';
33

44
export function execute(
55
command: string,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@snyk/cli-interface": "^2.11.0",
3535
"@snyk/cocoapods-lockfile-parser": "3.6.2",
3636
"@snyk/dep-graph": "^1.23.1",
37-
"shescape": "1.6.1",
37+
"shescape": "2.1.0",
3838
"source-map-support": "^0.5.7",
3939
"tslib": "^2.0.0"
4040
},

0 commit comments

Comments
 (0)