Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

build: pin react-router package

Brad Barbin85650eb35ef8
diff --git a/apps/academy/package.json b/apps/academy/package.json
index 1c4d693030..f44ca5d48d 100644
--- a/apps/academy/package.json
+++ b/apps/academy/package.json
@@ -11,7 +11,7 @@
"@carbon/react": "*",
"@carbon/utils": "*",
"@react-aria/i18n": "^3.11.0",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -30,7 +30,7 @@
"react-dropzone": "^14.2.3",
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.25.76",
diff --git a/apps/erp/package.json b/apps/erp/package.json
index b2caa4f8e6..945e4e9248 100644
--- a/apps/erp/package.json
+++ b/apps/erp/package.json
@@ -36,7 +36,7 @@
"@novu/node": "^2.0.1",
"@react-aria/i18n": "^3.11.0",
"@react-email/components": "0.3.3",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -82,8 +82,8 @@
"react-intersection-observer": "^9.13.1",
"react-markdown": "^9.0.1",
"react-pdf": "^7.7.1",
- "react-router": "^7.11.0",
- "react-router-dom": "^7.11.0",
+ "react-router": "7.11.0",
+ "react-router-dom": "7.11.0",
"react-use-measure": "^2.1.1",
"recharts": "^2.15.0",
"rehype-raw": "^7.0.0",
diff --git a/apps/mes/package.json b/apps/mes/package.json
index aa61cf1791..5eaad9c8e2 100644
--- a/apps/mes/package.json
+++ b/apps/mes/package.json
@@ -18,7 +18,7 @@
"@dnd-kit/sortable": "^8.0.0",
"@internationalized/date": "^3.5.2",
"@react-aria/i18n": "^3.11.0",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -38,7 +38,7 @@
"react-dropzone": "^14.2.3",
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.25.76",
diff --git a/apps/starter/package.json b/apps/starter/package.json
index e36a83a4bc..39308682b6 100644
--- a/apps/starter/package.json
+++ b/apps/starter/package.json
@@ -11,7 +11,7 @@
"@carbon/react": "*",
"@carbon/utils": "*",
"@react-aria/i18n": "^3.11.0",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -29,7 +29,7 @@
"react-dropzone": "^14.2.3",
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.25.76",
diff --git a/package-lock.json b/package-lock.json
index 71a521061c..32529a4f8a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -48,7 +48,7 @@
"@carbon/react": "*",
"@carbon/utils": "*",
"@react-aria/i18n": "^3.11.0",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -67,7 +67,7 @@
"react-dropzone": "^14.2.3",
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.25.76",
@@ -128,7 +128,7 @@
"@novu/node": "^2.0.1",
"@react-aria/i18n": "^3.11.0",
"@react-email/components": "0.3.3",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -174,8 +174,8 @@
"react-intersection-observer": "^9.13.1",
"react-markdown": "^9.0.1",
"react-pdf": "^7.7.1",
- "react-router": "^7.11.0",
- "react-router-dom": "^7.11.0",
+ "react-router": "7.11.0",
+ "react-router-dom": "7.11.0",
"react-use-measure": "^2.1.1",
"recharts": "^2.15.0",
"rehype-raw": "^7.0.0",
@@ -230,7 +230,7 @@
"@dnd-kit/sortable": "^8.0.0",
"@internationalized/date": "^3.5.2",
"@react-aria/i18n": "^3.11.0",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -251,7 +251,7 @@
"react-dropzone": "^14.2.3",
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.25.76",
@@ -287,7 +287,7 @@
"@carbon/react": "*",
"@carbon/utils": "*",
"@react-aria/i18n": "^3.11.0",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@tailwindcss/container-queries": "^0.1.1",
@@ -305,7 +305,7 @@
"react-dropzone": "^14.2.3",
"react-hotkeys-hook": "~4.5.0",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.25.76",
@@ -7660,9 +7660,9 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@react-router/serve": "^7.11.0",
+ "@react-router/serve": "7.11.0",
"@vitejs/plugin-rsc": "~0.5.7",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"react-server-dom-webpack": "^19.2.3",
"typescript": "^5.1.0",
"vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
@@ -7725,7 +7725,7 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"typescript": "^5.1.0"
},
"peerDependenciesMeta": {
@@ -7788,7 +7788,7 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"typescript": "^5.1.0"
},
"peerDependenciesMeta": {
@@ -32785,13 +32785,13 @@
"@carbon/kv": "*",
"@carbon/react": "*",
"@carbon/utils": "*",
- "@react-router/dev": "^7.11.0",
+ "@react-router/dev": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@vercel/analytics": "^1.2.2",
"@vercel/react-router": "^1.2.4",
"react": "^18.3.1",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"zod": "^3.25.76",
"zod-form-data": "2.0.8"
}
@@ -33219,7 +33219,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0",
- "react-router": "^7.11.0"
+ "react-router": "7.11.0"
}
},
"packages/form/node_modules/ts-toolbelt": {
@@ -33489,7 +33489,7 @@
"nprogress": "^0.2.0",
"react": "^18.3.1",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0"
+ "react-router": "7.11.0"
},
"devDependencies": {
"@carbon/react": "*",
@@ -33508,7 +33508,7 @@
"@carbon/utils": "*",
"@vercel/react-router": "^1.2.4",
"react": "^18.3.1",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"zod": "^3.25.76",
"zod-form-data": "2.0.8"
}
diff --git a/packages/auth/package.json b/packages/auth/package.json
index a80857cb07..93abd042bb 100644
--- a/packages/auth/package.json
+++ b/packages/auth/package.json
@@ -27,8 +27,8 @@
"@carbon/react": "*",
"@carbon/kv": "*",
"@carbon/utils": "*",
- "@react-router/dev": "^7.11.0",
- "react-router": "^7.11.0",
+ "@react-router/dev": "7.11.0",
+ "react-router": "7.11.0",
"@supabase/functions-js": "2.1.5",
"@supabase/supabase-js": "^2.40.0",
"@vercel/analytics": "^1.2.2",
diff --git a/packages/form/package.json b/packages/form/package.json
index 7fdc1863db..1faedd6688 100644
--- a/packages/form/package.json
+++ b/packages/form/package.json
@@ -3,7 +3,7 @@
"peerDependencies": {
"@carbon/react": "*",
"@carbon/utils": "*",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"@remix-run/server-runtime": ">= 1.16.1 <3.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/packages/remix/package.json b/packages/remix/package.json
index 579b50641f..2e943b5294 100644
--- a/packages/remix/package.json
+++ b/packages/remix/package.json
@@ -4,7 +4,7 @@
"nprogress": "^0.2.0",
"react": "^18.3.1",
"react-icons": "^5.4.0",
- "react-router": "^7.11.0"
+ "react-router": "7.11.0"
},
"devDependencies": {
"@carbon/react": "*",
@@ -29,7 +29,7 @@
"@carbon/react": "*",
"@carbon/kv": "*",
"@carbon/utils": "*",
- "react-router": "^7.11.0",
+ "react-router": "7.11.0",
"@vercel/react-router": "^1.2.4",
"react": "^18.3.1",
"zod": "^3.25.76",
diff --git a/patches/react-router+7.11.0.patch b/patches/react-router+7.11.0.patch
new file mode 100644
index 0000000000..ede727d316
--- /dev/null
+++ b/patches/react-router+7.11.0.patch
@@ -0,0 +1,65 @@
+diff --git a/node_modules/react-router/dist/development/chunk-JMJ3UQ3L.mjs b/node_modules/react-router/dist/development/chunk-JMJ3UQ3L.mjs
+index 1234567..abcdefg 100644
+--- a/node_modules/react-router/dist/development/chunk-JMJ3UQ3L.mjs
++++ b/node_modules/react-router/dist/development/chunk-JMJ3UQ3L.mjs
+@@ -373,7 +373,7 @@ var _map;
+ var RouterContextProvider = class {
+ constructor(init) {
+ __privateAdd(this, _map, /* @__PURE__ */ new Map());
+- if (init) {
++ if (init && Symbol.iterator in Object(init)) {
+ for (let [context, value] of init) {
+ __privateGet(this, _map).set(context, value);
+ }
+diff --git a/node_modules/react-router/dist/development/chunk-SZQUWNVJ.js b/node_modules/react-router/dist/development/chunk-SZQUWNVJ.js
+index 1234567..abcdefg 100644
+--- a/node_modules/react-router/dist/development/chunk-SZQUWNVJ.js
++++ b/node_modules/react-router/dist/development/chunk-SZQUWNVJ.js
+@@ -373,7 +373,7 @@ var _map;
+ var RouterContextProvider = class {
+ constructor(init) {
+ __privateAdd(this, _map, /* @__PURE__ */ new Map());
+- if (init) {
++ if (init && Symbol.iterator in Object(init)) {
+ for (let [context, value] of init) {
+ __privateGet(this, _map).set(context, value);
+ }
+diff --git a/node_modules/react-router/dist/development/index-react-server.js b/node_modules/react-router/dist/development/index-react-server.js
+index 1234567..abcdefg 100644
+--- a/node_modules/react-router/dist/development/index-react-server.js
++++ b/node_modules/react-router/dist/development/index-react-server.js
+@@ -298,7 +298,7 @@ var _map;
+ var RouterContextProvider = class {
+ constructor(init) {
+ __privateAdd(this, _map, /* @__PURE__ */ new Map());
+- if (init) {
++ if (init && Symbol.iterator in Object(init)) {
+ for (let [context, value] of init) {
+ __privateGet(this, _map).set(context, value);
+ }
+diff --git a/node_modules/react-router/dist/development/index-react-server.mjs b/node_modules/react-router/dist/development/index-react-server.mjs
+index 1234567..abcdefg 100644
+--- a/node_modules/react-router/dist/development/index-react-server.mjs
++++ b/node_modules/react-router/dist/development/index-react-server.mjs
+@@ -277,7 +277,7 @@ var _map;
+ var RouterContextProvider = class {
+ constructor(init) {
+ __privateAdd(this, _map, /* @__PURE__ */ new Map());
+- if (init) {
++ if (init && Symbol.iterator in Object(init)) {
+ for (let [context, value] of init) {
+ __privateGet(this, _map).set(context, value);
+ }
+diff --git a/node_modules/react-router/dist/production/chunk-2HFJAX7U.js b/node_modules/react-router/dist/production/chunk-2HFJAX7U.js
+index 1234567..abcdefg 100644
+--- a/node_modules/react-router/dist/production/chunk-2HFJAX7U.js
++++ b/node_modules/react-router/dist/production/chunk-2HFJAX7U.js
+@@ -373,7 +373,7 @@ var _map;
+ var RouterContextProvider = class {
+ constructor(init) {
+ __privateAdd(this, _map, /* @__PURE__ */ new Map());
+- if (init) {
++ if (init && Symbol.iterator in Object(init)) {
+ for (let [context, value] of init) {
+ __privateGet(this, _map).set(context, value);
+ }