Skip to content

Open-source status page, incident response and uptime monitoring

fix: patch jsonpath-plus RCE, drop dead luxon dep, fix stale lint docs (#2368)

Moulik Aggarwal019e353d6b92
diff --git a/CLAUDE.md b/CLAUDE.md
index b35fd27c5..df5e32e01 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -101,7 +101,7 @@ pnpm test
- **Monorepo:** The project is organized as a monorepo using pnpm workspaces. All applications and packages are located in the `apps/` and `packages/` directories, respectively.
- **Build System:** Turborepo is used to manage the build process. The `turbo.json` file defines the build pipeline and dependencies between tasks.
-- **Linting and Formatting:** The project uses Biome for linting and formatting. The configuration can be found in the `biome.jsonc` file.
+- **Linting and Formatting:** The project uses oxlint for linting and oxfmt for formatting. The configuration can be found in `oxlint.config.ts` and `oxfmt.config.ts`.
- **Code Generation:** The project uses `drizzle-kit` for database schema migrations.
- **API:** The backend API is built using Hono and tRPC. The API is documented using OpenAPI.
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 3f1a00135..bbeac19a4 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -74,7 +74,6 @@
"cmdk": "catalog:",
"date-fns": "catalog:",
"lucide-react": "catalog:",
- "luxon": "catalog:",
"next": "catalog:",
"qr-code-styling": "catalog:",
"radix-ui": "catalog:",
@@ -89,7 +88,6 @@
},
"devDependencies": {
"@openstatus/tsconfig": "workspace:*",
- "@types/luxon": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0edb38349..55366ad2c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -261,9 +261,6 @@ catalogs:
'@types/dom-speech-recognition':
specifier: 0.0.6
version: 0.0.6
- '@types/luxon':
- specifier: 3.7.1
- version: 3.7.1
'@types/node':
specifier: 24.12.4
version: 24.12.4
@@ -352,8 +349,8 @@ catalogs:
specifier: 3.14.0
version: 3.14.0
jsonpath-plus:
- specifier: 7.2.0
- version: 7.2.0
+ specifier: 10.4.0
+ version: 10.4.0
knip:
specifier: 5.88.1
version: 5.88.1
@@ -363,9 +360,6 @@ catalogs:
lucide-react:
specifier: 0.525.0
version: 0.525.0
- luxon:
- specifier: 3.7.2
- version: 3.7.2
nanoid:
specifier: 5.1.11
version: 5.1.11
@@ -1921,7 +1915,7 @@ importers:
dependencies:
jsonpath-plus:
specifier: 'catalog:'
- version: 7.2.0
+ version: 10.4.0
zod:
specifier: 'catalog:'
version: 4.1.13
@@ -2962,9 +2956,6 @@ importers:
lucide-react:
specifier: 'catalog:'
version: 0.525.0([email protected])
- luxon:
- specifier: 'catalog:'
- version: 3.7.2
next:
specifier: 'catalog:'
@@ -3008,9 +2999,6 @@ importers:
'@openstatus/tsconfig':
specifier: workspace:*
version: link:../tsconfig
- '@types/luxon':
- specifier: 'catalog:'
- version: 3.7.1
'@types/node':
specifier: 'catalog:'
version: 24.12.4
@@ -4507,6 +4495,18 @@ packages:
'@js-sdsl/[email protected]':
resolution: {integrity: sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==}
+ '@jsep-plugin/[email protected]':
+ resolution: {integrity: sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==}
+ engines: {node: '>= 10.16.0'}
+ peerDependencies:
+ jsep: ^0.4.0||^1.0.0
+
+ '@jsep-plugin/[email protected]':
+ resolution: {integrity: sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==}
+ engines: {node: '>= 10.16.0'}
+ peerDependencies:
+ jsep: ^0.4.0||^1.0.0
+
resolution: {integrity: sha512-pEj6RPkGbqlgRmyKwATp4cUs6+ijxtdrv3bq8v1d2I2CEcMEyPaO8cVKro61wGRDH4cNg8Zx6haztvK/9m7gkA==, tarball: https://npm.jsr.io/~/11/@jsr/std__assert/1.0.19.tgz}
@@ -7180,9 +7180,6 @@ packages:
resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-H3iskjFIAn5SlJU7OuxUmTEpebK6TKB8rxZShDslBMZJ5u9S//KM1sbdAisiSrqwLQncVjnpi2OK2J51h+4lsg==}
-
resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}
@@ -9099,6 +9096,10 @@ packages:
canvas:
optional: true
+ resolution: {integrity: sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==}
+ engines: {node: '>= 10.16.0'}
+
resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
engines: {node: '>=6'}
@@ -9127,9 +9128,10 @@ packages:
resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
- resolution: {integrity: sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==}
- engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-T92WWatJXmhBbKsgH/0hl+jxjdXrifi5IKeMY02DWggRxX0UElcbVzPlmgLTbvsPeW1PasQ6xE2Q75stkhGbsA==}
+ engines: {node: '>=18.0.0'}
+ hasBin: true
resolution: {integrity: sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==}
@@ -9330,10 +9332,6 @@ packages:
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
- resolution: {integrity: sha512-vtEhXh/gNjI9Yg1u4jX/0YVPMvxzHuGgCm6tC5kZyb08yjGWGnqAjGJvcXbqQR2P3MyMEFnRbpcdFS6PBcLqew==}
- engines: {node: '>=12'}
-
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
@@ -12877,6 +12875,14 @@ snapshots:
'@js-sdsl/[email protected]': {}
+ dependencies:
+ jsep: 1.4.0
+
+ dependencies:
+ jsep: 1.4.0
+
dependencies:
'@jsr/std__internal': 1.0.14
@@ -15453,8 +15459,6 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]': {}
-
dependencies:
'@types/unist': 3.0.3
@@ -17519,6 +17523,8 @@ snapshots:
transitivePeerDependencies:
- '@noble/hashes'
+
@@ -17541,7 +17547,11 @@ snapshots:
optionalDependencies:
graceful-fs: 4.2.11
+ dependencies:
+ '@jsep-plugin/assignment': 1.3.0([email protected])
+ '@jsep-plugin/regex': 1.0.4([email protected])
+ jsep: 1.4.0
dependencies:
@@ -17719,8 +17729,6 @@ snapshots:
dependencies:
react: 19.2.6
-
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index bb6cff7ee..0e90da210 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -112,7 +112,6 @@ catalog:
"@turbo/gen": 1.13.4
"@types/bcryptjs": 3.0.0
"@types/dom-speech-recognition": 0.0.6
- "@types/luxon": 3.7.1
"@types/node": 24.12.4
"@types/react": 19.2.15
"@types/react-dom": 19.2.3
@@ -143,11 +142,10 @@ catalog:
hono-rate-limiter: 0.4.2
ip-cidr: 4.0.2
isomorphic-dompurify: 3.14.0
- jsonpath-plus: 7.2.0
+ jsonpath-plus: 10.4.0
knip: 5.88.1
limiter: 3.0.0
lucide-react: 0.525.0
- luxon: 3.7.2
nanoid: 5.1.11
nanoid-dictionary: 5.0.0
next: 16.2.6