diff --git a/.changeset/loud-feet-bathe.md b/.changeset/loud-feet-bathe.md new file mode 100644 index 00000000000..65a4506b9c0 --- /dev/null +++ b/.changeset/loud-feet-bathe.md @@ -0,0 +1,5 @@ +--- +"@clerk/backend": patch +--- + +Fix Node 18 compatibility issues with `snakecase-keys`. diff --git a/packages/backend/package.json b/packages/backend/package.json index f2bd8803333..c234322e1fa 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -112,7 +112,6 @@ "@clerk/shared": "workspace:^", "@clerk/types": "workspace:^", "cookie": "1.0.2", - "snakecase-keys": "9.0.2", "standardwebhooks": "^1.0.0", "tslib": "catalog:repo" }, @@ -120,6 +119,7 @@ "@edge-runtime/vm": "5.0.0", "msw": "2.10.4", "npm-run-all": "^4.1.5", + "snakecase-keys": "9.0.2", "vitest-environment-miniflare": "2.14.4" }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 10b40f924d9..7152b653f89 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -378,9 +378,6 @@ importers: cookie: specifier: 1.0.2 version: 1.0.2 - snakecase-keys: - specifier: 9.0.2 - version: 9.0.2 standardwebhooks: specifier: ^1.0.0 version: 1.0.0 @@ -397,6 +394,9 @@ importers: npm-run-all: specifier: ^4.1.5 version: 4.1.5 + snakecase-keys: + specifier: 9.0.2 + version: 9.0.2 vitest-environment-miniflare: specifier: 2.14.4 version: 2.14.4(vitest@3.0.5(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@24.0.14)(jiti@2.4.2)(jsdom@24.1.3)(lightningcss@1.27.0)(msw@2.10.4(@types/node@24.0.14)(typescript@5.8.3))(terser@5.43.1)(tsx@4.19.2)(yaml@2.8.0)) @@ -13011,6 +13011,7 @@ packages: source-map@0.8.0-beta.0: resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} engines: {node: '>= 8'} + deprecated: The work that was done in this beta branch won't be included in future versions space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}