From 4d5f3eb8afef5a9a13c6cd0d379c00167ef7db6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristina=20Ca=C3=B1izales?= <113132642+CristiCanizales@users.noreply.github.com> Date: Tue, 28 Nov 2023 01:32:13 -0300 Subject: [PATCH] chore: upgrade to node 18 (#585) --- .nvmrc | 2 +- package.json | 4 ++-- packages/aura-language-server/package.json | 2 +- packages/lwc-language-server/package.json | 2 +- yarn.lock | 15 +++++++++++---- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.nvmrc b/.nvmrc index dac255d2..3d8b28ee 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.15.1 +v18.11.0 diff --git a/package.json b/package.json index 027eb3b1..84bbda92 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/forcedotcom/lightning-language-server.git" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.11.0" }, "devDependencies": { "@commitlint/cli": "^7", @@ -15,7 +15,7 @@ "commitizen": "^3.0.5", "cz-conventional-changelog": "^2.1.0", "@types/jest": "^27.4.0", - "@types/node": "^16.0.0", + "@types/node": "^18.11.0", "@typescript-eslint/eslint-plugin": "^2.22.0", "@typescript-eslint/parser": "^2.22.0", "eslint": "^6.8.0", diff --git a/packages/aura-language-server/package.json b/packages/aura-language-server/package.json index 50a1a4af..640667ca 100644 --- a/packages/aura-language-server/package.json +++ b/packages/aura-language-server/package.json @@ -50,7 +50,7 @@ "@types/glob": "^7.1.3", "@types/jest": "^29.5.0", "@types/mock-fs": "^4.10.0", - "@types/node": "^16.0.0", + "@types/node": "^18.11.0", "@types/shelljs": "^0.8.8", "babel-types": "^6.26.0", "eslint": "^7.7.0", diff --git a/packages/lwc-language-server/package.json b/packages/lwc-language-server/package.json index f17c6440..21dcfaf9 100644 --- a/packages/lwc-language-server/package.json +++ b/packages/lwc-language-server/package.json @@ -60,7 +60,7 @@ "@types/fs-extra": "^5.0.4", "@types/glob": "^7.1.3", "@types/jest": "^29.5.0", - "@types/node": "^16.0.0", + "@types/node": "^18.11.0", "@types/normalize-path": "^3.0.0", "@types/xml2js": "^0.4.5", "babel-types": "^6.26.0", diff --git a/yarn.lock b/yarn.lock index 9da29979..81405eb2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2994,10 +2994,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.7.tgz#1628e6461ba8cc9b53196dfeaeec7b07fa6eea99" integrity sha512-Uo4chgKbnPNlxQwoFmYIwctkQVkMMmsAoGGU4JKwLuvBefF0pCq4FybNSnfkfRCpC7ZW7kttcC/TrRtAJsvGtg== -"@types/node@^16.0.0": - version "16.18.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.3.tgz#d7f7ba828ad9e540270f01ce00d391c54e6e0abc" - integrity sha512-jh6m0QUhIRcZpNv7Z/rpN+ZWXOicUUQbSoWks7Htkbb9IjFQj4kzcX/xFCkjstCj5flMsN8FiSvt+q+Tcs4Llg== +"@types/node@^18.11.0": + version "18.18.13" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.13.tgz#ae0f76c0bfe79d8fad0f910b78ae3e59b333c6e8" + integrity sha512-vXYZGRrSCreZmq1rEjMRLXJhiy8MrIeVasx+PCVlP414N7CJLHnMf+juVvjdprHyH+XRy3zKZLHeNueOpJCn0g== + dependencies: + undici-types "~5.26.4" "@types/node@^6.0.46": version "6.14.13" @@ -11713,6 +11715,11 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc"