Skip to content

Commit 9476b6b

Browse files
authored
Patch npm vulnerabilities (#331)
* Patch npm vulnerabilities * Bump Core SDK version * Add changeset * Fix unit test
1 parent f10ab10 commit 9476b6b

6 files changed

Lines changed: 244 additions & 247 deletions

File tree

.changeset/serious-scissors-tie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@slashid/react": patch
3+
---
4+
5+
Update vulnerable dependencies

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,12 @@
3939
"engines": {
4040
"node": ">=20.9.0"
4141
},
42-
"packageManager": "pnpm@8.15.8"
42+
"packageManager": "pnpm@8.15.8",
43+
"pnpm": {
44+
"overrides": {
45+
"prismjs": "1.30.0",
46+
"@babel/runtime": "7.26.10",
47+
"@babel/helpers": "7.26.10"
48+
}
49+
}
4350
}

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
"devDependencies": {
6262
"@faker-js/faker": "^8.0.2",
63-
"@slashid/slashid": "3.29.4",
63+
"@slashid/slashid": "3.29.6",
6464
"@storybook/addon-essentials": "7.6.19",
6565
"@storybook/addon-interactions": "7.4.0",
6666
"@storybook/addon-links": "7.4.0",
@@ -95,7 +95,7 @@
9595
"yalc": "1.0.0-pre.53"
9696
},
9797
"peerDependencies": {
98-
"@slashid/slashid": ">= 3.29.4",
98+
"@slashid/slashid": ">= 3.29.6",
9999
"react": ">=16",
100100
"react-dom": ">=16"
101101
}

packages/react/src/components/form/org-switching/org-switching-form.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe("<OrgSwitchingForm>", () => {
1616

1717
// @ts-ignore
1818
testUser._apiClient = {
19-
getTokenV2: async () => {
19+
postTokenV2: async () => {
2020
return {
2121
result: {
2222
type: "token",
@@ -62,7 +62,7 @@ describe("<OrgSwitchingForm>", () => {
6262

6363
// @ts-ignore
6464
testUser._apiClient = {
65-
getTokenV2: async () => {
65+
postTokenV2: async () => {
6666
return {
6767
result: {
6868
type: "challenge_list",

packages/remix/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"module": "dist/main.js",
1111
"dependencies": {
1212
"@slashid/react": "workspace:*",
13-
"@slashid/slashid": "3.29.4",
13+
"@slashid/slashid": "3.29.6",
1414
"jose": "^5.2.0",
1515
"url-join": "^5.0.0"
1616
},

0 commit comments

Comments
 (0)