Skip to content

Commit 9ae6c4f

Browse files
Merge pull request #38 from snyk/fix/upgrade-shescape-to-2.1.0
fix: upgrade shescape to 2.1.0
2 parents 1f8e8b3 + 31ffef6 commit 9ae6c4f

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
lint:
6969
<<: *defaults
7070
docker:
71-
- image: circleci/node:<< parameters.node_version >>
71+
- image: cimg/node:<< parameters.node_version >>
7272
steps:
7373
- checkout
7474
- show_node_npm_version
@@ -80,7 +80,7 @@ jobs:
8080
test-unix:
8181
<<: *defaults
8282
docker:
83-
- image: circleci/node:<< parameters.node_version >>
83+
- image: cimg/node:<< parameters.node_version >>
8484
steps:
8585
- checkout
8686
- show_node_npm_version
@@ -92,7 +92,7 @@ jobs:
9292
release:
9393
<<: *defaults
9494
docker:
95-
- image: circleci/node:<< parameters.node_version >>
95+
- image: cimg/node:<< parameters.node_version >>
9696
resource_class: small
9797
steps:
9898
- checkout
@@ -125,7 +125,7 @@ workflows:
125125
- lint:
126126
name: lint
127127
context: nodejs-install
128-
node_version: "12"
128+
node_version: "18.19.1"
129129

130130
# UNIX tests
131131
- test-unix:
@@ -135,7 +135,7 @@ workflows:
135135
- lint
136136
matrix:
137137
parameters:
138-
node_version: ["16.13.1", "14.18.2", "12.22.7"]
138+
node_version: ["18.19.1"]
139139

140140
- release:
141141
name: Release

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18.19.1

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)