Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Remove unused raf dependency (#80931)

Andrei Chernykhe1fbadec0b69
diff --git a/bun.lock b/bun.lock
index afd29b7975f..5b4cf1db090 100644
--- a/bun.lock
+++ b/bun.lock
@@ -234,7 +234,6 @@
"@types/mustache": "^4.1.2",
"@types/postcss-import": "^14.0.3",
"@types/postcss-url": "^10.0.4",
- "@types/raf": "^3.4.0",
"@types/react": "^18.3.3",
"@types/react-color": "^2.17.6",
"@types/react-dom": "^18.2.17",
@@ -340,7 +339,6 @@
"postcss-preset-mantine": "^1.18.0",
"postcss-styled-syntax": "^0.7.1",
"postcss-url": "^10.1.3",
- "raf": "^3.4.0",
"react-refresh": "^0.14.2",
"react-router": "7.18.2",
"reg-cli": "^0.17.7",
diff --git a/frontend/test/jest-setup.js b/frontend/test/jest-setup.js
index 44b1c0abcfc..d68a36588d7 100644
--- a/frontend/test/jest-setup.js
+++ b/frontend/test/jest-setup.js
@@ -8,7 +8,6 @@ import {
WritableStream,
} from "web-streams-polyfill";
import "cross-fetch/polyfill";
-import "raf/polyfill";
import "jest-canvas-mock";
import "__support__/mocks";
diff --git a/package.json b/package.json
index f90d1250638..780f7ff7914 100644
--- a/package.json
+++ b/package.json
@@ -243,7 +243,6 @@
"@types/mustache": "^4.1.2",
"@types/postcss-import": "^14.0.3",
"@types/postcss-url": "^10.0.4",
- "@types/raf": "^3.4.0",
"@types/react": "^18.3.3",
"@types/react-color": "^2.17.6",
"@types/react-dom": "^18.2.17",
@@ -349,7 +348,6 @@
"postcss-preset-mantine": "^1.18.0",
"postcss-styled-syntax": "^0.7.1",
"postcss-url": "^10.1.3",
- "raf": "^3.4.0",
"react-refresh": "^0.14.2",
"react-router": "7.18.2",
"reg-cli": "^0.17.7",