Skip to content

Commit d4d66d5

Browse files
Merge pull request #986 from art-alexeyenko/security-audit-april-2022
addressing some of the high-critical viulnerabilities
2 parents e6510e4 + 6de526d commit d4d66d5

File tree

12 files changed

+157
-484
lines changed

12 files changed

+157
-484
lines changed

packages/create-sitecore-jss/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"fs-extra": "^10.0.0",
3939
"glob": "^7.2.0",
4040
"inquirer": "^8.2.0",
41-
"minimist": "^1.2.5"
41+
"minimist": "^1.2.6"
4242
},
4343
"devDependencies": {
4444
"@types/chai": "^4.2.22",

packages/create-sitecore-jss/src/templates/angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"isomorphic-fetch": "^3.0.0",
114114
"jasmine-core": "~3.7.1",
115115
"jasmine-spec-reporter": "~6.0.0",
116-
"karma": "^6.2.0",
116+
"karma": "^6.3.2",
117117
"karma-chrome-launcher": "~3.1.0",
118118
"karma-cli": "~2.0.0",
119119
"karma-coverage-istanbul-reporter": "~3.0.3",

packages/sitecore-jss-cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"devDependencies": {
4747
"@types/chai": "^4.2.3",
4848
"@types/cross-spawn": "^6.0.0",
49-
"@types/mocha": "^5.2.7",
49+
"@types/mocha": "^9.0.0",
5050
"@types/node": "^12.7.11",
5151
"@types/readline-sync": "^1.4.3",
5252
"@types/resolve": "^0.0.8",
@@ -57,7 +57,7 @@
5757
"cross-env": "^6.0.3",
5858
"del-cli": "^3.0.1",
5959
"eslint": "^7.15.0",
60-
"mocha": "^8.1.3",
60+
"mocha": "^9.1.3",
6161
"nyc": "^15.1.0",
6262
"sinon": "^7.5.0",
6363
"ts-node": "^8.4.1",

packages/sitecore-jss-dev-tools/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@types/joi": "^17.2.3",
6565
"@types/js-yaml": "^3.12.1",
6666
"@types/jszip": "^3.1.6",
67-
"@types/mocha": "^5.2.7",
67+
"@types/mocha": "^9.0.0",
6868
"@types/node": "^12.7.11",
6969
"@types/readline-sync": "^1.4.3",
7070
"@types/resolve": "^0.0.8",
@@ -78,7 +78,7 @@
7878
"del": "^3.0.0",
7979
"del-cli": "^3.0.1",
8080
"eslint": "^7.15.0",
81-
"mocha": "^8.1.3",
81+
"mocha": "^9.1.3",
8282
"nock": "^13.0.6",
8383
"nyc": "^15.1.0",
8484
"sinon": "^7.5.0",

packages/sitecore-jss-forms/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
"@types/chai": "^4.1.6",
3131
"@types/chai-string": "^1.4.1",
3232
"@types/lodash.unescape": "^4.0.4",
33-
"@types/mocha": "^5.2.5",
33+
"@types/mocha": "^9.0.0",
3434
"@types/node": "^10.12.0",
3535
"axios": "^0.21.1",
3636
"chai": "^4.2.0",
3737
"chai-string": "^1.5.0",
3838
"del-cli": "^1.1.0",
3939
"eslint": "^7.15.0",
40-
"mocha": "^8.1.3",
40+
"mocha": "^9.1.3",
4141
"nyc": "^15.1.0",
4242
"ts-node": "^8.4.1",
4343
"tslib": "^1.10.0",

packages/sitecore-jss-nextjs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@types/chai-as-promised": "^7.1.3",
3535
"@types/chai-string": "^1.4.2",
3636
"@types/enzyme": "^3.10.3",
37-
"@types/mocha": "^5.2.7",
37+
"@types/mocha": "^9.0.0",
3838
"@types/node": "12.7.5",
3939
"@types/prop-types": "^15.7.4",
4040
"@types/react": "^17.0.15",
@@ -51,7 +51,7 @@
5151
"eslint": "^7.15.0",
5252
"eslint-plugin-react": "^7.21.5",
5353
"jsdom": "^15.1.1",
54-
"mocha": "^8.1.3",
54+
"mocha": "^9.1.3",
5555
"next": "^12.1.0",
5656
"nock": "^13.0.5",
5757
"nyc": "^15.1.0",

packages/sitecore-jss-proxy/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
"devDependencies": {
3636
"@types/chai": "^4.1.6",
3737
"@types/http-proxy-middleware": "^0.19.3",
38-
"@types/mocha": "^5.2.5",
38+
"@types/mocha": "^9.0.0",
3939
"@types/node": "^12.7.11",
4040
"@types/set-cookie-parser": "^0.0.5",
4141
"chai": "^4.2.0",
4242
"del-cli": "^3.0.1",
4343
"eslint": "^7.15.0",
44-
"mocha": "^8.1.3",
44+
"mocha": "^9.1.3",
4545
"nyc": "^15.1.0",
4646
"ts-node": "^8.4.1",
4747
"typescript": "~4.3.5"

packages/sitecore-jss-react-forms/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"devDependencies": {
3030
"@types/chai": "^4.2.11",
3131
"@types/enzyme": "^3.10.5",
32-
"@types/mocha": "^7.0.2",
32+
"@types/mocha": "^9.0.0",
3333
"@types/node": "*",
3434
"@types/prop-types": "^15.7.4",
3535
"@types/react": "^17.0.15",
@@ -42,7 +42,7 @@
4242
"eslint": "^7.15.0",
4343
"eslint-plugin-react": "^7.21.5",
4444
"jsdom": "^16.2.2",
45-
"mocha": "^7.2.0",
45+
"mocha": "^9.1.3",
4646
"nyc": "^15.1.0",
4747
"react": "^17.0.2",
4848
"react-dom": "^17.0.2",

packages/sitecore-jss-react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@types/chai-string": "^1.4.2",
3232
"@types/deep-equal": "^1.0.1",
3333
"@types/enzyme": "^3.10.3",
34-
"@types/mocha": "^5.2.7",
34+
"@types/mocha": "^9.0.0",
3535
"@types/node": "12.7.5",
3636
"@types/prop-types": "^15.7.4",
3737
"@types/react": "^17.0.15",
@@ -46,7 +46,7 @@
4646
"eslint": "^7.15.0",
4747
"eslint-plugin-react": "^7.21.5",
4848
"jsdom": "^15.1.1",
49-
"mocha": "^8.1.3",
49+
"mocha": "^9.1.3",
5050
"nyc": "^15.1.0",
5151
"react": "^17.0.2",
5252
"react-dom": "^17.0.2",

packages/sitecore-jss-rendering-host/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
"@types/express": "4.17.8",
4141
"@types/express-serve-static-core": "^4.17.24",
4242
"@types/glob": "^7.1.1",
43-
"@types/mocha": "^5.2.7",
43+
"@types/mocha": "^9.0.0",
4444
"@types/node": "^12.7.11",
4545
"@types/webpack": "4.39.2",
4646
"@types/webpack-dev-middleware": "2.0.5",
4747
"@types/webpack-dev-server": "3.1.7",
4848
"chai": "^4.2.0",
4949
"del-cli": "^3.0.1",
5050
"eslint": "^7.15.0",
51-
"mocha": "^8.1.3",
51+
"mocha": "^9.1.3",
5252
"nyc": "^15.1.0",
5353
"ts-node": "^8.4.1",
5454
"typescript": "~4.3.5"

packages/sitecore-jss/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737
"@types/debug": "^4.1.5",
3838
"@types/lodash.unescape": "^4.0.6",
3939
"@types/memory-cache": "^0.2.1",
40-
"@types/mocha": "^5.2.7",
40+
"@types/mocha": "^9.0.0",
4141
"@types/node": "^16.11.6",
4242
"@types/url-parse": "1.4.3",
4343
"chai": "^4.2.0",
4444
"chai-spies": "^1.0.0",
4545
"chai-string": "^1.5.0",
46-
"del-cli": "^3.0.1",
46+
"del-cli": "^4.0.1",
4747
"eslint": "^7.15.0",
48-
"mocha": "^8.1.3",
48+
"mocha": "^9.1.3",
4949
"nock": "^13.0.5",
5050
"nyc": "^15.1.0",
5151
"ts-node": "^8.4.1",
@@ -57,10 +57,10 @@
5757
"chalk": "^4.1.0",
5858
"debug": "^4.3.1",
5959
"graphql": "^15.4.0",
60-
"graphql-request": "^3.4.0",
60+
"graphql-request": "^4.2.0",
6161
"lodash.unescape": "^4.0.1",
6262
"memory-cache": "^0.2.0",
63-
"url-parse": "^1.5.1"
63+
"url-parse": "^1.5.8"
6464
},
6565
"description": "",
6666
"types": "types/index.d.ts",

0 commit comments

Comments
 (0)