Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

chore(deps): react router upgraded

sriramveeraghanta8399f64beef3
diff --git a/apps/admin/package.json b/apps/admin/package.json
index 25f0076f63..96e7ad24a3 100644
--- a/apps/admin/package.json
+++ b/apps/admin/package.json
@@ -45,7 +45,6 @@
"react-dom": "catalog:",
"react-hook-form": "7.51.5",
"react-router": "catalog:",
- "react-router-dom": "catalog:",
"serve": "14.2.5",
"swr": "catalog:",
"uuid": "catalog:"
diff --git a/apps/space/package.json b/apps/space/package.json
index f1fef4b763..5cf9f734f1 100644
--- a/apps/space/package.json
+++ b/apps/space/package.json
@@ -50,7 +50,6 @@
"react-hook-form": "7.51.5",
"react-popper": "^2.3.0",
"react-router": "catalog:",
- "react-router-dom": "catalog:",
"swr": "catalog:",
"uuid": "catalog:"
},
diff --git a/apps/web/package.json b/apps/web/package.json
index b738271348..1f27048ac4 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -67,7 +67,6 @@
"react-pdf-html": "^2.1.2",
"react-popper": "^2.3.0",
"react-router": "catalog:",
- "react-router-dom": "catalog:",
"recharts": "^2.12.7",
"serve": "14.2.5",
"smooth-scroll-into-view-if-needed": "^2.0.2",
diff --git a/package.json b/package.json
index 108487a482..366ecd064b 100644
--- a/package.json
+++ b/package.json
@@ -69,7 +69,8 @@
"prosemirror-view": "1.40.0",
"@types/express": "4.17.23",
"typescript": "catalog:",
- "vite": "catalog:"
+ "vite": "catalog:",
+ "qs": "6.14.1"
},
"onlyBuiltDependencies": [
"@sentry/cli",
diff --git a/packages/codemods/instructions.md b/packages/codemods/instructions.md
index 4848c203a3..18212ba0c0 100644
--- a/packages/codemods/instructions.md
+++ b/packages/codemods/instructions.md
@@ -62,7 +62,9 @@ Retrieves variable declarators from the current collection.
- **Parameters**: `callback` (Function)
- **Example**:
```javascript
- const variableDeclarators = j.find(j.Identifier).getVariableDeclarators((path) => path.value.name);
+ const variableDeclarators = j
+ .find(j.Identifier)
+ .getVariableDeclarators((path) => path.value.name);
```
#### `findVariableDeclarators`
@@ -82,7 +84,9 @@ Filters nodes based on a predicate function.
- **Parameters**: `predicate` (Function)
- **Example**:
```javascript
- const constDeclarations = j.find(j.VariableDeclaration).filter((path) => path.node.kind === "const");
+ const constDeclarations = j
+ .find(j.VariableDeclaration)
+ .filter((path) => path.node.kind === "const");
```
#### `forEach`
@@ -104,7 +108,9 @@ Checks if at least one element in the collection passes the test.
- **Parameters**: `callback` (Function)
- **Example**:
```javascript
- const hasVariableA = root.find(j.VariableDeclarator).some((path) => path.node.id.name === "a");
+ const hasVariableA = root
+ .find(j.VariableDeclarator)
+ .some((path) => path.node.id.name === "a");
```
#### `every`
@@ -114,7 +120,9 @@ Checks if all elements in the collection pass the test.
- **Parameters**: `callback` (Function)
- **Example**:
```javascript
- const allAreConst = root.find(j.VariableDeclaration).every((path) => path.node.kind === "const");
+ const allAreConst = root
+ .find(j.VariableDeclaration)
+ .every((path) => path.node.kind === "const");
```
#### `map`
@@ -124,7 +132,9 @@ Maps each node in the collection to a new value.
- **Parameters**: `callback` (Function)
- **Example**:
```javascript
- const variableNames = j.find(j.VariableDeclaration).map((path) => path.node.declarations.map((decl) => decl.id.name));
+ const variableNames = j
+ .find(j.VariableDeclaration)
+ .map((path) => path.node.declarations.map((decl) => decl.id.name));
```
#### `size`
@@ -207,7 +217,10 @@ Checks if the node in the collection is of a specific type.
- **Parameters**: `type` (String)
- **Example**:
```javascript
- const isVariableDeclarator = root.find(j.VariableDeclarator).at(0).isOfType("VariableDeclarator");
+ const isVariableDeclarator = root
+ .find(j.VariableDeclarator)
+ .at(0)
+ .isOfType("VariableDeclarator");
```
### Node Transformation APIs
@@ -219,7 +232,9 @@ Replaces the current node(s) with a new node.
- **Parameters**: `newNode` (Node or Function)
- **Example**:
```javascript
- j.find(j.Identifier).replaceWith((path) => j.identifier(path.node.name.toUpperCase()));
+ j.find(j.Identifier).replaceWith((path) =>
+ j.identifier(path.node.name.toUpperCase())
+ );
```
#### `insertBefore`
@@ -229,7 +244,9 @@ Inserts a node before the current node.
- **Parameters**: `newNode` (Node)
- **Example**:
```javascript
- j.find(j.FunctionDeclaration).insertBefore(j.expressionStatement(j.stringLiteral("Inserted before")));
+ j.find(j.FunctionDeclaration).insertBefore(
+ j.expressionStatement(j.stringLiteral("Inserted before"))
+ );
```
#### `insertAfter`
@@ -239,7 +256,9 @@ Inserts a node after the current node.
- **Parameters**: `newNode` (Node)
- **Example**:
```javascript
- j.find(j.FunctionDeclaration).insertAfter(j.expressionStatement(j.stringLiteral("Inserted after")));
+ j.find(j.FunctionDeclaration).insertAfter(
+ j.expressionStatement(j.stringLiteral("Inserted after"))
+ );
```
#### `remove`
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 2a4b33c52a..dcd526473c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -82,11 +82,8 @@ catalogs:
specifier: 18.3.1
version: 18.3.1
react-router:
- specifier: 7.9.5
- version: 7.9.5
- react-router-dom:
- specifier: 7.9.5
- version: 7.9.5
+ specifier: 7.12.0
+ version: 7.12.0
swr:
specifier: 2.2.4
version: 2.2.4
@@ -115,6 +112,7 @@ overrides:
'@types/express': 4.17.23
typescript: 5.8.3
vite: 7.1.11
+ qs: 6.14.1
importers:
@@ -227,10 +225,10 @@ importers:
version: link:../../packages/utils
'@react-router/node':
specifier: 'catalog:'
'@sentry/react-router':
specifier: 'catalog:'
'@tanstack/react-virtual':
specifier: ^3.13.12
@@ -269,10 +267,7 @@ importers:
version: 7.51.5([email protected])
react-router:
specifier: 'catalog:'
- react-router-dom:
- specifier: 'catalog:'
serve:
specifier: 14.2.5
version: 14.2.5
@@ -294,7 +289,7 @@ importers:
version: link:../../packages/typescript-config
'@react-router/dev':
specifier: 'catalog:'
'@types/lodash-es':
specifier: 'catalog:'
version: 4.17.12
@@ -475,13 +470,13 @@ importers:
version: 2.11.8
'@react-router/node':
specifier: 'catalog:'
'@react-router/serve':
specifier: 'catalog:'
'@sentry/react-router':
specifier: 'catalog:'
axios:
specifier: 'catalog:'
version: 1.12.0
@@ -529,10 +524,7 @@ importers:
react-router:
specifier: 'catalog:'
- react-router-dom:
- specifier: 'catalog:'
swr:
specifier: 'catalog:'
version: 2.2.4([email protected])
@@ -551,7 +543,7 @@ importers:
version: link:../../packages/typescript-config
'@react-router/dev':
specifier: 'catalog:'
'@tailwindcss/typography':
specifier: 0.5.19
version: 0.5.19
@@ -644,10 +636,10 @@ importers:
version: 3.4.5([email protected])
'@react-router/node':
specifier: 'catalog:'
'@sentry/react-router':
specifier: 'catalog:'
'@tanstack/react-table':
specifier: ^8.21.3
@@ -728,10 +720,7 @@ importers:
react-router:
specifier: 'catalog:'
- react-router-dom:
- specifier: 'catalog:'
recharts:
specifier: ^2.12.7
@@ -762,7 +751,7 @@ importers:
version: link:../../packages/typescript-config
'@react-router/dev':
specifier: 'catalog:'
'@tailwindcss/typography':
specifier: 0.5.19
version: 0.5.19
@@ -7871,12 +7860,8 @@ packages:
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
engines: {node: '>=6'}
- resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==}
- engines: {node: '>=0.6'}
-
- resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
+ resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==}
engines: {node: '>=0.6'}
@@ -8020,15 +8005,8 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-mkEmq/K8tKN63Ae2M7Xgz3c9l9YNbY+NHH6NNeUmLA3kDkhKXRsNb/ZpxaEunvGo2/3YXdk5EJU3Hxp3ocaBPw==}
- engines: {node: '>=20.0.0'}
- peerDependencies:
- react: '>=18'
- react-dom: '>=18'
-
- resolution: {integrity: sha512-JmxqrnBZ6E9hWmf02jzNn9Jm3UqyeimyiwzD69NjxGySG6lIz/1LVPsoTCwN7NBX2XjCEa1LIX5EMz1j2b6u6A==}
+ resolution: {integrity: sha512-kTPDYPFzDVGIIGNLS5VJykK0HfHLY5MF3b+xj0/tTyNYL1gF1qs7u67Z9jEhQk2sQ98SUaHxlG31g1JtF7IfVw==}
engines: {node: '>=20.0.0'}
peerDependencies:
react: '>=18'
@@ -11005,7 +10983,7 @@ snapshots:
'@react-pdf/primitives': 4.1.1
'@react-pdf/stylesheet': 6.1.0
dependencies:
'@babel/core': 7.28.4
'@babel/generator': 7.28.5
@@ -11015,7 +10993,7 @@ snapshots:
'@babel/traverse': 7.28.4
'@babel/types': 7.28.5
'@npmcli/package-json': 4.0.1
'@remix-run/node-fetch-server': 0.9.0
arg: 5.0.2
babel-dead-code-elimination: 1.0.10
@@ -11031,14 +11009,14 @@ snapshots:
picocolors: 1.1.1
prettier: 3.7.4
react-refresh: 0.14.2
semver: 7.7.3
tinyglobby: 0.2.15
valibot: 1.2.0([email protected])
optionalDependencies:
typescript: 5.8.3
transitivePeerDependencies:
- '@types/node'
@@ -11056,31 +11034,31 @@ snapshots:
- tsx
- yaml
dependencies:
express: 4.22.0
optionalDependencies:
typescript: 5.8.3
dependencies:
'@mjackson/node-fetch-server': 0.2.0
optionalDependencies:
typescript: 5.8.3
dependencies:
'@mjackson/node-fetch-server': 0.2.0
compression: 1.8.1
express: 4.22.0
get-port: 5.1.1
morgan: 1.10.1
source-map-support: 0.5.21
transitivePeerDependencies:
- supports-color
@@ -11378,13 +11356,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@opentelemetry/api': 1.9.0
'@opentelemetry/core': 2.2.0(@opentelemetry/[email protected])
'@opentelemetry/instrumentation': 0.208.0(@opentelemetry/[email protected])
'@opentelemetry/semantic-conventions': 1.37.0
'@sentry/browser': 10.27.0
'@sentry/cli': 2.58.2
'@sentry/core': 10.27.0
@@ -11393,7 +11371,7 @@ snapshots:
'@sentry/vite-plugin': 4.6.0
glob: 11.1.0
react: 18.3.1
transitivePeerDependencies:
- encoding
- supports-color
@@ -13180,7 +13158,7 @@ snapshots:
http-errors: 2.0.0
iconv-lite: 0.4.24
on-finished: 2.4.1
- qs: 6.13.0
+ qs: 6.14.1
raw-body: 2.5.2
type-is: 1.6.18
unpipe: 1.0.0
@@ -14357,7 +14335,7 @@ snapshots:
parseurl: 1.3.3
path-to-regexp: 0.1.12
proxy-addr: 2.0.7
- qs: 6.14.0
+ qs: 6.14.1
range-parser: 1.2.1
safe-buffer: 5.2.1
send: 0.19.0
@@ -16746,11 +16724,7 @@ snapshots:
- dependencies:
- side-channel: 1.1.0
-
dependencies:
side-channel: 1.1.0
@@ -16945,13 +16919,7 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.11
- dependencies:
- react: 18.3.1
- react-dom: 18.3.1([email protected])
-
dependencies:
cookie: 1.0.2
react: 18.3.1
@@ -18136,7 +18104,7 @@ snapshots:
dependencies:
punycode: 1.4.1
- qs: 6.14.0
+ qs: 6.14.1
dependencies:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index b85c8612e1..4d355526d0 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -30,8 +30,7 @@ catalog:
mobx-utils: 6.0.8
mobx: 6.12.0
react-dom: 18.3.1
- react-router-dom: 7.9.5
- react-router: 7.9.5
+ react-router: 7.12.0
react: 18.3.1
swr: 2.2.4
tsdown: 0.16.0