Skip to content

Commit

Permalink
fix: xss vulnerability in mocha (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Feb 18, 2025
1 parent ddf4e67 commit 04276d5
Show file tree
Hide file tree
Showing 51 changed files with 410 additions and 518 deletions.
361 changes: 153 additions & 208 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/glob-npm-7.2.0-bb4644d239-bc78b6ea07.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ packageExtensions:
eslint-import-resolver-node: ^0.3.6
karma-mocha@*:
dependencies:
mocha: ^9.1.2
mocha: ^11.1.0
ts-node@*:
dependencies:
typescript: ^3.9.5
Expand Down
2 changes: 1 addition & 1 deletion packages/bench-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dotenv-safe": "^8.2.0",
"lodash": "^4.17.21",
"mathjs": "^10.4.3",
"mocha": "^10.2.0"
"mocha": "^11.1.0"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/dapi-grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"mocha-sinon": "^2.1.2",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/dapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"mocha-sinon": "^2.1.2",
"nyc": "^15.1.0",
"semver": "^7.5.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/dash-spv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"should": "^13.2.3",
"sinon": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/dashmate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"globby": "^11",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"mocha-sinon": "^2.1.2",
"oclif": "^4.0.3",
"sinon": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/dashpay-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/dpns-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/feature-flags-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/js-dapi-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"nyc": "^15.1.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/js-dash-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"net": "^1.0.2",
"nodemon": "^2.0.20",
"os-browserify": "^0.3.0",
Expand All @@ -97,7 +97,7 @@
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"string_decoder": "^1.3.0",
"terser-webpack-plugin": "^5.3.1",
"terser-webpack-plugin": "^5.3.11",
"tls": "^0.0.1",
"ts-loader": "^9.5.0",
"ts-mocha": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-grpc-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"mocha-sinon": "^2.1.2",
"nyc": "^15.1.0",
"sinon": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/masternode-reward-shares-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^5.0.0",
"localforage": "^1.10.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"net": "^1.0.2",
"nodeforage": "^1.1.2",
"os-browserify": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/search-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/token-history-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^5.0.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"node-inspect-extracted": "^1.0.8",
"nyc": "^15.1.0",
"os-browserify": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-utils-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/wasm-dpp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"karma-webpack": "^5.0.0",
"lodash": "^4.17.21",
"long": "^5.2.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"sinon": "^17.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/withdrawals-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"mocha": "^11.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
}
Expand Down
Loading

0 comments on commit 04276d5

Please sign in to comment.