Skip to content

Commit fadbbd0

Browse files
committed
Revert "fix: actually bump shescape"
This reverts commit ed15df4.
1 parent df6bb89 commit fadbbd0

3 files changed

Lines changed: 14 additions & 39 deletions

File tree

lib/sub-process.ts

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

44
export { execute, CmdOutput };
55
interface CmdOutput {
@@ -19,7 +19,7 @@ function execute(
1919
if (options && options.cwd) {
2020
spawnOptions.cwd = options.cwd;
2121
}
22-
args = quoteAll(args, { ...spawnOptions, flagProtection: false });
22+
args = quoteAll(args, spawnOptions);
2323

2424
// Before spawning an external process, we look if we need to restore the system proxy configuration,
2525
// which overrides the cli internal proxy configuration.

package-lock.json

Lines changed: 11 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"mkdirp": "^1.0.4",
4646
"packageurl-js": "1.2.0",
4747
"semver": "^7.6.3",
48-
"shescape": "2.1.0",
48+
"shescape": "^1.7.4",
4949
"snyk-nodejs-lockfile-parser": "^2.0.0",
5050
"snyk-poetry-lockfile-parser": "^1.4.0",
5151
"snyk-resolve-deps": "^4.7.1",

0 commit comments

Comments
 (0)