Skip to content

Commit

Permalink
Update vitest to address security issue (#1046)
Browse files Browse the repository at this point in the history
* Update vitest to address security issue

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>

* Redo patch to react-three/fiber

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>

* Revert changes made to patch

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>

---------

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth authored Feb 6, 2025
1 parent c7ef8d6 commit 163449f
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 116 deletions.
2 changes: 1 addition & 1 deletion packages/api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"axios": "1.7.4",
"eslint": "^8.57.0",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
"vitest": "^3.0.5"
},
"files": [
"dist/",
Expand Down
4 changes: 2 additions & 2 deletions packages/rmf-dashboard-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/coverage-v8": "^3.0.5",
"api-server": "file:../api-server",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
Expand All @@ -88,7 +88,7 @@
"typescript": "~5.5.4",
"typescript-json-schema": "^0.64.0",
"vite": "^5.3.5",
"vitest": "^2.0.4"
"vitest": "^3.0.5"
},
"exports": {
"./components": "./src/components/index.ts",
Expand Down
10 changes: 5 additions & 5 deletions patches/@react-three__fiber.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/dist/declarations/src/three-types.d.ts b/dist/declarations/src/three-types.d.ts
index 7668a42e27ac2c51ebaaac88db8bfd8fe823ae75..beb86ce6dd562fffe0048c04ae570b1b9f499475 100644
--- a/dist/declarations/src/three-types.d.ts
+++ b/dist/declarations/src/three-types.d.ts
@@ -384,10 +384,11 @@ export interface ThreeElements {
diff --git a/dist/declarations/src/three-types.d.ts b/dist/declarations/src/three-types.d.ts
index 7668a42e27ac2c51ebaaac88db8bfd8fe823ae75..beb86ce6dd562fffe0048c04ae570b1b9f499475 100644
--- a/dist/declarations/src/three-types.d.ts
+++ b/dist/declarations/src/three-types.d.ts
@@ -384,10 +384,11 @@ export interface ThreeElements {
fogExp2: FogExp2Props;
shape: ShapeProps;
}
Expand Down
Loading

0 comments on commit 163449f

Please sign in to comment.