From c49780bcee2af5cad0e1cca85b59ebc6f2857be4 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 26 Oct 2023 18:38:39 +0200 Subject: [PATCH] Fix build on NodeJS 21 --- .pnp.cjs | 20 +++++++++---------- .../nan-npm-2.17.0-bf36a21d6f-ec609aeaf7.zip | 3 --- .../nan-npm-2.18.0-a51ed5bed5-4fe42f5845.zip | 3 +++ .../re2-npm-1.19.1-8c50c5469a-44f752ebc0.zip | 3 --- .../re2-npm-1.20.5-851f906517-94979a62e5.zip | 3 +++ packages/backend/package.json | 2 +- yarn.lock | 20 +++++++++---------- 7 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 .yarn/cache/nan-npm-2.17.0-bf36a21d6f-ec609aeaf7.zip create mode 100644 .yarn/cache/nan-npm-2.18.0-a51ed5bed5-4fe42f5845.zip delete mode 100644 .yarn/cache/re2-npm-1.19.1-8c50c5469a-44f752ebc0.zip create mode 100644 .yarn/cache/re2-npm-1.20.5-851f906517-94979a62e5.zip diff --git a/.pnp.cjs b/.pnp.cjs index d69026c61..ecbbe2080 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -4700,7 +4700,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "nan",\ - "npm:2.17.0"\ + "npm:2.18.0"\ ],\ [\ "nanoid",\ @@ -5584,7 +5584,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "re2",\ - "npm:1.19.1"\ + "npm:1.20.5"\ ],\ [\ "react-is",\ @@ -14057,7 +14057,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["qs", "npm:6.11.2"],\ ["random-seed", "npm:0.3.0"],\ ["ratelimiter", "npm:3.4.1"],\ - ["re2", "npm:1.19.1"],\ + ["re2", "npm:1.20.5"],\ ["redis-lock", "npm:0.1.4"],\ ["redis-semaphore", "virtual:aa59773ac87791c4813d53447077fcf8a847d6de5a301d34dc31286584b1dbb26d30d3adb5b4c41c1e8aea04371e926fda05c09c6253647c432e11d872a304ba#npm:5.3.1"],\ ["reflect-metadata", "npm:0.1.13"],\ @@ -24909,10 +24909,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["nan", [\ - ["npm:2.17.0", {\ - "packageLocation": "./.yarn/unplugged/nan-npm-2.17.0-bf36a21d6f/node_modules/nan/",\ + ["npm:2.18.0", {\ + "packageLocation": "./.yarn/unplugged/nan-npm-2.18.0-a51ed5bed5/node_modules/nan/",\ "packageDependencies": [\ - ["nan", "npm:2.17.0"],\ + ["nan", "npm:2.18.0"],\ ["node-gyp", "npm:9.4.0"]\ ],\ "linkType": "HARD"\ @@ -27658,12 +27658,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["re2", [\ - ["npm:1.19.1", {\ - "packageLocation": "./.yarn/unplugged/re2-npm-1.19.1-8c50c5469a/node_modules/re2/",\ + ["npm:1.20.5", {\ + "packageLocation": "./.yarn/unplugged/re2-npm-1.20.5-851f906517/node_modules/re2/",\ "packageDependencies": [\ - ["re2", "npm:1.19.1"],\ + ["re2", "npm:1.20.5"],\ ["install-artifact-from-github", "npm:1.3.3"],\ - ["nan", "npm:2.17.0"],\ + ["nan", "npm:2.18.0"],\ ["node-gyp", "npm:9.4.0"]\ ],\ "linkType": "HARD"\ diff --git a/.yarn/cache/nan-npm-2.17.0-bf36a21d6f-ec609aeaf7.zip b/.yarn/cache/nan-npm-2.17.0-bf36a21d6f-ec609aeaf7.zip deleted file mode 100644 index 63267c081..000000000 --- a/.yarn/cache/nan-npm-2.17.0-bf36a21d6f-ec609aeaf7.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a7d2f6d53e3e0f370f908438b3ea8f39f410de2e7920f0b63be69c36bfafaea -size 97748 diff --git a/.yarn/cache/nan-npm-2.18.0-a51ed5bed5-4fe42f5845.zip b/.yarn/cache/nan-npm-2.18.0-a51ed5bed5-4fe42f5845.zip new file mode 100644 index 000000000..1b04074ba --- /dev/null +++ b/.yarn/cache/nan-npm-2.18.0-a51ed5bed5-4fe42f5845.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68240de5fb2e99476a0aa01797c48ed4a758868e3754aa8b1801dcbc26491433 +size 99272 diff --git a/.yarn/cache/re2-npm-1.19.1-8c50c5469a-44f752ebc0.zip b/.yarn/cache/re2-npm-1.19.1-8c50c5469a-44f752ebc0.zip deleted file mode 100644 index 21fc753c4..000000000 --- a/.yarn/cache/re2-npm-1.19.1-8c50c5469a-44f752ebc0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ea47dedf85c2e8ae1de901d57de5dbac2eedf44ca3fc0ddec9cb9081dd5618a -size 398218 diff --git a/.yarn/cache/re2-npm-1.20.5-851f906517-94979a62e5.zip b/.yarn/cache/re2-npm-1.20.5-851f906517-94979a62e5.zip new file mode 100644 index 000000000..4366329c9 --- /dev/null +++ b/.yarn/cache/re2-npm-1.20.5-851f906517-94979a62e5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e69a5558758f7d7f136166c3e98a65783c30a3e13a0ae401a119e1ca5854ee0a +size 3550106 diff --git a/packages/backend/package.json b/packages/backend/package.json index 4fd7c8c07..9b1e67b78 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -110,7 +110,7 @@ "qs": "6.11.2", "random-seed": "0.3.0", "ratelimiter": "3.4.1", - "re2": "1.19.1", + "re2": "^1.20.5", "redis-lock": "0.1.4", "redis-semaphore": "5.3.1", "reflect-metadata": "0.1.13", diff --git a/yarn.lock b/yarn.lock index b0c112eb8..d763c5256 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5397,7 +5397,7 @@ __metadata: qs: 6.11.2 random-seed: 0.3.0 ratelimiter: 3.4.1 - re2: 1.19.1 + re2: ^1.20.5 redis-lock: 0.1.4 redis-semaphore: 5.3.1 reflect-metadata: 0.1.13 @@ -14760,12 +14760,12 @@ __metadata: languageName: node linkType: hard -"nan@npm:^2.17.0": - version: 2.17.0 - resolution: "nan@npm:2.17.0" +"nan@npm:^2.18.0": + version: 2.18.0 + resolution: "nan@npm:2.18.0" dependencies: node-gyp: latest - checksum: ec609aeaf7e68b76592a3ba96b372aa7f5df5b056c1e37410b0f1deefbab5a57a922061e2c5b369bae9c7c6b5e6eecf4ad2dac8833a1a7d3a751e0a7c7f849ed + checksum: 4fe42f58456504eab3105c04a5cffb72066b5f22bd45decf33523cb17e7d6abc33cca2a19829407b9000539c5cb25f410312d4dc5b30220167a3594896ea6a0a languageName: node linkType: hard @@ -17201,14 +17201,14 @@ __metadata: languageName: node linkType: hard -"re2@npm:1.19.1": - version: 1.19.1 - resolution: "re2@npm:1.19.1" +"re2@npm:^1.20.5": + version: 1.20.5 + resolution: "re2@npm:1.20.5" dependencies: install-artifact-from-github: ^1.3.3 - nan: ^2.17.0 + nan: ^2.18.0 node-gyp: ^9.4.0 - checksum: 44f752ebc03b9973d797f126787664f2763dc983d52a872833b4c8988e64db644a74fa76570112b1cd6e44b2f845d3e58e9779f1a917cb5a511044a6ba62a206 + checksum: 94979a62e52cd35530ea496c64e9bc10266265ce8fb8ed233184b99c035d1cfe8e353bb46e0f5ac1648f0496bda28bc39026d71a32c7078e4b4daa984a7c510e languageName: node linkType: hard