Skip to content

Commit 2fdd727

Browse files
fix: resolve critical and high severity npm vulnerabilities (#101)
* fix: resolve critical and high severity npm vulnerabilities Update indirect dependencies via npm audit fix to address: - axios <=1.14.0: critical SSRF via NO_PROXY bypass and header injection (GHSA-3p68-rc4w-qgx5, GHSA-fvcv-3m26-pcqx) - handlebars <=4.7.8: critical/high JS injection and prototype pollution (multiple CVEs) - basic-ftp <=5.2.1: high CRLF injection / FTP command injection (GHSA-6v7q-wjvx-w8wg, GHSA-chqc-8p9q-pq6q) - lodash <=4.17.23: high code injection and prototype pollution (GHSA-r5fr-rjxr-66jc, GHSA-f23m-r3pf-42rh) - path-to-regexp 8.0.0-8.3.0: high ReDoS (GHSA-j3q9-mxjg-w52f, GHSA-27v5-c462-wpq7) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(tests): replace fail() with throw for Jest 30 compatibility fail() was removed in Jest 27+; replace with throw so errors surface correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0269de5 commit 2fdd727

3 files changed

Lines changed: 39 additions & 36 deletions

File tree

package-lock.json

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

src/customers.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("Archive Customer", () => {
3030
expect(true).toEqual(true);
3131
})
3232
.catch(err => {
33-
fail(err);
33+
throw err;
3434
});
3535
});
3636
});

src/releases.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe("Promote Release", () => {
4545
expect(true).toEqual(true);
4646
})
4747
.catch(err => {
48-
fail(err);
48+
throw err;
4949
});
5050
});
5151
});
@@ -75,7 +75,7 @@ describe("Report Results", () => {
7575
expect(true).toEqual(true);
7676
})
7777
.catch(err => {
78-
fail(err);
78+
throw err;
7979
});
8080
});
8181
});
@@ -112,7 +112,7 @@ describe("Get Release", () => {
112112
expect(true).toEqual(true);
113113
})
114114
.catch(err => {
115-
fail(err);
115+
throw err;
116116
});
117117
});
118118
});

0 commit comments

Comments
 (0)