Skip to content

Commit 5348fb2

Browse files
authored
fix(x2a): resolve isolated-vm to v6 for Node 24 CI (#2871)
Add yarn resolution for isolated-vm ^6.0.1 so build succeeds on Node 24. Transitive dependency from @backstage/plugin-scaffolder-backend 3.0.2 still declares isolated-vm ^5 but this version fails to compile against current headers (C++20 required). Signed-off-by: Marek Libra <marek.libra@gmail.com>
1 parent 7ec25e1 commit 5348fb2

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

workspaces/x2a/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"typescript": "^5.9.0"
5656
},
5757
"resolutions": {
58+
"isolated-vm": "^6.0.1",
5859
"@types/react": "^18",
5960
"@types/react-dom": "^18",
6061
"@backstage/backend-plugin-api": "1.5.0",

workspaces/x2a/yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24116,13 +24116,13 @@ __metadata:
2411624116
languageName: node
2411724117
linkType: hard
2411824118

24119-
"isolated-vm@npm:^5.0.1":
24120-
version: 5.0.4
24121-
resolution: "isolated-vm@npm:5.0.4"
24119+
"isolated-vm@npm:^6.0.1":
24120+
version: 6.1.2
24121+
resolution: "isolated-vm@npm:6.1.2"
2412224122
dependencies:
2412324123
node-gyp: "npm:latest"
24124-
prebuild-install: "npm:^7.1.2"
24125-
checksum: 10c0/3576ac27a907d2cd100590276fb31870eb702a0e7aeb43d6cdd8b76f57264211983ff6b8e6815f86c8376377fedb5cf22e94e663171935e04e2e96bffd944ca9
24124+
node-gyp-build: "npm:^4.8.4"
24125+
checksum: 10c0/2209032b8296e6af49250f7e04ab904e9c331bbbf1bdf8eeca78e32ed6bd98c84ced42b785127f0f2828a1c5e66d82cb2bf1459e973620e19b485c5a00252e98
2412624126
languageName: node
2412724127
linkType: hard
2412824128

@@ -29785,7 +29785,7 @@ __metadata:
2978529785
languageName: node
2978629786
linkType: hard
2978729787

29788-
"prebuild-install@npm:^7.1.1, prebuild-install@npm:^7.1.2":
29788+
"prebuild-install@npm:^7.1.1":
2978929789
version: 7.1.3
2979029790
resolution: "prebuild-install@npm:7.1.3"
2979129791
dependencies:

0 commit comments

Comments
 (0)