Skip to content

Commit 8486e3f

Browse files
authored
GLSP-1563: Update to node 20 (#113)
Update to node 20 Update changelog
1 parent a329302 commit 8486e3f

File tree

4 files changed

+77
-61
lines changed

4 files changed

+77
-61
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@
44

55
### Changes
66

7+
- [api] Add layout operation as optional parameter to `LayoutEngine.layout` [#111](https://github.com/eclipse-glsp/glsp-server-node/pull/111)
8+
79
### Potentially breaking changes
810

11+
- [layout] Updated GLSPElkLayoutEngine for elkjs > 0.10.1 [#109](https://github.com/eclipse-glsp/glsp-server-node/pull/109)
12+
- `GLSPElkLayoutEngine`: Replace usages of the deprecated and no longer supported `ELKPrimitiveEdge`. This might affect adopters that use a customization of this class
13+
- [node] Update minimum requirements for Node to >=20 [#113](https://github.com/eclipse-glsp/glsp-server-node/pull/113)
14+
915
## [v2.4.0 - 04/04/2025](https://github.com/eclipse-glsp/glsp-server-node/releases/tag/v2.4.0)
1016

1117
### Changes

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: Pod
44
spec:
55
containers:
66
- name: node
7-
image: node:18
7+
image: node:20
88
tty: true
99
resources:
1010
limits:

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
},
3535
"devDependencies": {
3636
"@eclipse-glsp/dev": "next",
37-
"@types/node": "18.x",
37+
"@types/node": "20.x",
3838
"concurrently": "^8.2.2",
3939
"lerna": "^7.0.0",
40-
"typescript": "^5.0.4"
40+
"typescript": "^5.9.2"
4141
},
4242
"engines": {
43-
"node": ">=18",
43+
"node": ">=20",
4444
"yarn": ">=1.7.0 <2"
4545
}
4646
}

yarn.lock

Lines changed: 67 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@
223223
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
224224
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
225225

226-
"@eclipse-glsp/[email protected].179+c29a688":
227-
version "2.5.0-next.179"
228-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/cli/-/cli-2.5.0-next.179.tgz#e12c03c1b9a0ebbab328ebb484d5534726e8af1b"
229-
integrity sha512-nEHOTS34E3+hEylW8fE64Rw/67p791+0hWeeApHEdfQ62LNuD1r5NsdGuQWqZEKupxm6ecCmOUvNBRErVtub2g==
226+
"@eclipse-glsp/[email protected].181+c6c9bad":
227+
version "2.5.0-next.181"
228+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/cli/-/cli-2.5.0-next.181.tgz#3253bb25c6885a34f98fc0f7131ea2377f4eec1c"
229+
integrity sha512-5BQr8CogWvovDcjOrfsBJaakGC/MkfPXmhFK5+fOEfdssmHGGE3PBBlPaowuViEr35V+xbNaEBVydQgis5LPCg==
230230
dependencies:
231231
commander "^10.0.1"
232232
glob "^10.3.10"
@@ -237,13 +237,13 @@
237237
semver "^7.5.1"
238238
shelljs "^0.8.5"
239239

240-
"@eclipse-glsp/[email protected].179+c29a688":
241-
version "2.5.0-next.179"
242-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/config-test/-/config-test-2.5.0-next.179.tgz#fa00306b08f5ab5bc7a907718b6c5bfd5b563325"
243-
integrity sha512-RbMU5ScEgiEvNlbreK0JBBLwEcH9R+IAvV+xRf08TSqdMBn0iPwsRl+mpWpyryyXxTtahHeq7uft4WUOSsOi+A==
240+
"@eclipse-glsp/[email protected].181+c6c9bad":
241+
version "2.5.0-next.181"
242+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/config-test/-/config-test-2.5.0-next.181.tgz#3020fc3980439e6ef2c4fdd229cc7954350aa29d"
243+
integrity sha512-oXk/2bENmIHILjkKUxf4GxLXHviAHYE0haZD8N5KV9Fcmzpz3C3XQsN0hYpYgxdjOBaX2tlOOhx4g7WeStOc6Q==
244244
dependencies:
245-
"@eclipse-glsp/mocha-config" "2.5.0-next.179+c29a688"
246-
"@eclipse-glsp/nyc-config" "2.5.0-next.179+c29a688"
245+
"@eclipse-glsp/mocha-config" "2.5.0-next.181+c6c9bad"
246+
"@eclipse-glsp/nyc-config" "2.5.0-next.181+c6c9bad"
247247
"@istanbuljs/nyc-config-typescript" "^1.0.2"
248248
"@types/chai" "^4.3.7"
249249
"@types/mocha" "^10.0.2"
@@ -257,14 +257,14 @@
257257
sinon "^15.1.0"
258258
ts-node "^10.9.1"
259259

260-
"@eclipse-glsp/[email protected].179+c29a688":
261-
version "2.5.0-next.179"
262-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/config/-/config-2.5.0-next.179.tgz#47928a936b739e1988d42b5defcf126771820992"
263-
integrity sha512-nHf0SaGHJ7IURhiKqevPQYcV2iSZNsvbAXu2PTm6FHVV1rnSOHVyQXWUvrR0UDED31vtxvnGEwzDSjrxqe6MkQ==
260+
"@eclipse-glsp/[email protected].181+c6c9bad":
261+
version "2.5.0-next.181"
262+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/config/-/config-2.5.0-next.181.tgz#ac9cd948abe90191426243f922c55858aa23918c"
263+
integrity sha512-r0ZbGG9F4ZGIYIRiPd3r0PBoM138uDlq6i5BEjOa5eoF208g0Yt1/+46IOMVXOqa/LK3YFOtGvIa14jcfCoDjg==
264264
dependencies:
265-
"@eclipse-glsp/eslint-config" "2.5.0-next.179+c29a688"
266-
"@eclipse-glsp/prettier-config" "2.5.0-next.179+c29a688"
267-
"@eclipse-glsp/ts-config" "2.5.0-next.179+c29a688"
265+
"@eclipse-glsp/eslint-config" "2.5.0-next.181+c6c9bad"
266+
"@eclipse-glsp/prettier-config" "2.5.0-next.181+c6c9bad"
267+
"@eclipse-glsp/ts-config" "2.5.0-next.181+c6c9bad"
268268
"@typescript-eslint/eslint-plugin" "^6.7.5"
269269
"@typescript-eslint/parser" "^6.7.5"
270270
eslint "^8.51.0"
@@ -279,49 +279,49 @@
279279
rimraf "^5.0.5"
280280

281281
"@eclipse-glsp/dev@next":
282-
version "2.5.0-next.179"
283-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/dev/-/dev-2.5.0-next.179.tgz#0793ae8dd9f2603fc341a7268aa54434763f73e5"
284-
integrity sha512-r9YSjBX2bfybn/VkwrGkjWLHp1XNsRjCuiUOPiVyzOBTaAjLmMksCXZCVF/DvVKCYV8lgVVEL7pxcDAyUS+g6g==
285-
dependencies:
286-
"@eclipse-glsp/cli" "2.5.0-next.179+c29a688"
287-
"@eclipse-glsp/config" "2.5.0-next.179+c29a688"
288-
"@eclipse-glsp/config-test" "2.5.0-next.179+c29a688"
289-
290-
"@eclipse-glsp/[email protected].179+c29a688":
291-
version "2.5.0-next.179"
292-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/eslint-config/-/eslint-config-2.5.0-next.179.tgz#06f32ffa41b9e92004a6be318c0c0fa878f496a6"
293-
integrity sha512-W7a8CRNwmLjKkizMwOjH5sU/8FrlN6nVxgAk5ZNp4R0hrOoPlE6C+uTVV7PvmhYFm8DDdf76KQtJzD6NaYtgYg==
294-
295-
"@eclipse-glsp/[email protected].179+c29a688":
296-
version "2.5.0-next.179"
297-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/mocha-config/-/mocha-config-2.5.0-next.179.tgz#56f72859c5db706f015c74eeba5fa4db92d93f38"
298-
integrity sha512-Sd7tZDIDG120aLgnaqgWZ7FJfBFYXNRqiDMdx2OOH0u4Ay6Do0rYYyZ9DF643JKADuVZeVRo5aqCs0wKDi7JPQ==
299-
300-
"@eclipse-glsp/[email protected].179+c29a688":
301-
version "2.5.0-next.179"
302-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/nyc-config/-/nyc-config-2.5.0-next.179.tgz#09ed0c5152056fa153143dfe2646c4e451c902d9"
303-
integrity sha512-O5yekMi9c0lkTfZ7f8qQbdhbdj0s+0cwldDnc33his1ODkLCFWg6Ow5mGWge67DyCgTuNppE2rwDYzbuCHkx6Q==
304-
305-
"@eclipse-glsp/[email protected].179+c29a688":
306-
version "2.5.0-next.179"
307-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/prettier-config/-/prettier-config-2.5.0-next.179.tgz#3f3fa8ad749381d2a65d393d003bca97a8f16a06"
308-
integrity sha512-KKiGJkNR9gBuLgE7p3P4xmHjhq5NfxLm3UQ4Ce6TV6745yzuNNAfhEXR1mAM8nLVVQ/rtH1zAXfKmFL3RLMg5A==
282+
version "2.5.0-next.181"
283+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/dev/-/dev-2.5.0-next.181.tgz#260db1c9cd381e0aa58b7c2f2ce1b49aa325cb4a"
284+
integrity sha512-6G1VufhrHnYmTzg0en0MlAa7UFgxV6y2v/9g8j8MQ/kfMltovAvZK01zAr3okjr6m0yoVtmqEdXQ58GA2XyPsw==
285+
dependencies:
286+
"@eclipse-glsp/cli" "2.5.0-next.181+c6c9bad"
287+
"@eclipse-glsp/config" "2.5.0-next.181+c6c9bad"
288+
"@eclipse-glsp/config-test" "2.5.0-next.181+c6c9bad"
289+
290+
"@eclipse-glsp/[email protected].181+c6c9bad":
291+
version "2.5.0-next.181"
292+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/eslint-config/-/eslint-config-2.5.0-next.181.tgz#ca8462b3e295c19a328fa159fcf83f252814d6af"
293+
integrity sha512-IHGmTt63MSk/ALoHzXXU9uLryK20iFAbtwniVzFYXj2Dr2lk1Y6zOhfu56wNhhPAk2gR2GaEYn4fRmJnSaHnMQ==
294+
295+
"@eclipse-glsp/[email protected].181+c6c9bad":
296+
version "2.5.0-next.181"
297+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/mocha-config/-/mocha-config-2.5.0-next.181.tgz#a2a6e051df1814f7466f45b68a2e95d98d2a003e"
298+
integrity sha512-WDp2UAVuMn8UmPebfLjdXk2SIwGg/DnMMXqFSJXvrhn74k6LEy7suO+dL+LLNN3NWvVkHz33qokJPz546aH0sA==
299+
300+
"@eclipse-glsp/[email protected].181+c6c9bad":
301+
version "2.5.0-next.181"
302+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/nyc-config/-/nyc-config-2.5.0-next.181.tgz#93fa162b0ca137f028c66cbb7ec0a7a76f65ce34"
303+
integrity sha512-aq/pmWrffneNd55cwnuN31fzN7TzP0PwUlOotzlX6AZhXLrp/F+1AnzXZfR7TFCWT1DG9AFmNWY6EbzjLEGbyg==
304+
305+
"@eclipse-glsp/[email protected].181+c6c9bad":
306+
version "2.5.0-next.181"
307+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/prettier-config/-/prettier-config-2.5.0-next.181.tgz#02fb81d8d807c01c9f2ccef9cfb33258e31c41ff"
308+
integrity sha512-rjoaCEfjvRvdYEI8aAOEZo/leV1bT54vuiBIzZxTMHTMjSiLQ1oencBF1fOXeZwMbC16dTMfFTQTaBbW8Hr3Qw==
309309
dependencies:
310310
prettier-plugin-packagejson "~2.4.6"
311311

312312
"@eclipse-glsp/protocol@next":
313-
version "2.5.0-next.425"
314-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/protocol/-/protocol-2.5.0-next.425.tgz#2db93cf686251c30191fa399cc0771f96c4a778d"
315-
integrity sha512-kVUu78u07JEzMl7W1CrhTk3hjNMeVLM6U93nsca0iJ2RO91RVNsGm0huOtioq7mHZRw+HuLEv4kXpEPTp6UvJg==
313+
version "2.5.0-next.429"
314+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/protocol/-/protocol-2.5.0-next.429.tgz#12dcbd4ae00e77b4f2c458eec90c80a5a6ac6352"
315+
integrity sha512-JNtk9/JzJUbALyqMkNCP3+4cib3/12UWcgCSSnCLzQNQXlRnfEv/MSnooCnZ268qsZOxJ2a+9QJqhNPV+RJ3OQ==
316316
dependencies:
317317
sprotty-protocol "1.4.0"
318318
uuid "~10.0.0"
319319
vscode-jsonrpc "8.2.0"
320320

321-
"@eclipse-glsp/[email protected].179+c29a688":
322-
version "2.5.0-next.179"
323-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/ts-config/-/ts-config-2.5.0-next.179.tgz#0ac621ae96f773b4cb016d7af138e84855fa69d4"
324-
integrity sha512-MvUCz5w9mK+m39+bwP/N9CGS5ENbcfujZqIekUpU96MKBWmNSwhSv/1KWDnvXJC0FKqKRvrOblSRCIQNYiREQw==
321+
"@eclipse-glsp/[email protected].181+c6c9bad":
322+
version "2.5.0-next.181"
323+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/ts-config/-/ts-config-2.5.0-next.181.tgz#d0207f33ed5b2399c7b4878633a3c11fb59ac044"
324+
integrity sha512-+RSYJWOlXQENi26E3AxmNRv0gG0nzPEIvXWY/BKh5QWIdPJAxfoD1nHZu0tF1Gn4lAF6Eisecg4wGwr+W7B95w==
325325

326326
"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":
327327
version "4.4.0"
@@ -1079,12 +1079,12 @@
10791079
dependencies:
10801080
undici-types "~5.26.4"
10811081

1082-
"@types/node@18.x":
1083-
version "18.19.68"
1084-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.68.tgz#f4f10d9927a7eaf3568c46a6d739cc0967ccb701"
1085-
integrity sha512-QGtpFH1vB99ZmTa63K4/FU8twThj4fuVSBkGddTp7uIL/cuoLWIUSL2RcOaigBhfR+hg5pgGkBnkoOxrTVBMKw==
1082+
"@types/node@20.x":
1083+
version "20.19.11"
1084+
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.19.11.tgz#728cab53092bd5f143beed7fbba7ba99de3c16c4"
1085+
integrity sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==
10861086
dependencies:
1087-
undici-types "~5.26.4"
1087+
undici-types "~6.21.0"
10881088

10891089
"@types/normalize-package-data@^2.4.0":
10901090
version "2.4.4"
@@ -7328,11 +7328,16 @@ typedarray@^0.0.6:
73287328
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
73297329
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
73307330

7331-
"typescript@>=3 < 6", typescript@^5.0.4:
7331+
"typescript@>=3 < 6":
73327332
version "5.4.5"
73337333
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611"
73347334
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==
73357335

7336+
typescript@^5.9.2:
7337+
version "5.9.2"
7338+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.9.2.tgz#d93450cddec5154a2d5cabe3b8102b83316fb2a6"
7339+
integrity sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==
7340+
73367341
uglify-js@^3.1.4:
73377342
version "3.17.4"
73387343
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c"
@@ -7361,6 +7366,11 @@ undici-types@~5.26.4:
73617366
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
73627367
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
73637368

7369+
undici-types@~6.21.0:
7370+
version "6.21.0"
7371+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
7372+
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
7373+
73647374
unique-filename@^2.0.0:
73657375
version "2.0.1"
73667376
resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2"

0 commit comments

Comments
 (0)