Skip to content

Commit 0f38e61

Browse files
Fix vulnerability(AST-182803) (#1041)
* fix vulnerability * fix vul * fix vul * fix vulner * fix vul and test
1 parent 335197a commit 0f38e61

5 files changed

Lines changed: 25 additions & 20 deletions

File tree

‎package-lock.json‎

Lines changed: 16 additions & 14 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
@@ -43,7 +43,7 @@
4343
"flatted": "^3.4.2",
4444
"picomatch": "2.3.2",
4545
"serialize-javascript": "6.0.2",
46-
"brace-expansion": "5.0.8",
46+
"brace-expansion": "1.1.21",
4747
"lodash": "4.18.0",
4848
"uuid": "14.0.0",
4949
"js-yaml": "4.3.1",

‎src/tests/ResultTest.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe("Results cases",() => {
6060

6161
it('Result codebashing successful case', async () => {
6262
const auth = new CxWrapper(cxScanConfig);
63-
const cxCommandOutput: CxCommandOutput = await auth.codeBashingList("79","PHP","Reflected XSS All Clients");
63+
const cxCommandOutput: CxCommandOutput = await auth.codeBashingList("79","PHP","Reflected_XSS");
6464
expect(cxCommandOutput.payload.length).toBeGreaterThan(0);
6565
});
6666

‎src/tests/data/package-lock.json‎

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

‎src/tests/data/package.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,10 @@
770770
"webpack-cli": "^4.10.0"
771771
},
772772
"overrides": {
773-
"bluebird": "3.7.2"
773+
"bluebird": "3.7.2",
774+
"nanoid": "3.3.17",
775+
"browserslist": "4.28.7",
776+
"brace-expansion": "1.1.21"
774777
},
775778
"displayName": "Checkmarx",
776779
"engines": {

0 commit comments

Comments
 (0)