diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a29357a3..bf0b933a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: "20.x" + node-version: "22.x" - uses: actions/setup-java@v4 with: java-version: 21 diff --git a/README.md b/README.md index 8e06085c..d70614e3 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This repository contains the WPILib VS Code extension. ## Build Dependencies -- Node JS - Tested with Node 20. +- Node JS - Tested with Node 22. - Java - Tested with Java 21 - VS Code - For development/debugging. - TS Lint Extension diff --git a/vscode-wpilib/package-lock.json b/vscode-wpilib/package-lock.json index c1982aee..3b36c8e6 100644 --- a/vscode-wpilib/package-lock.json +++ b/vscode-wpilib/package-lock.json @@ -30,10 +30,10 @@ "@types/mkdirp": "^1.0.1", "@types/mocha": "^8.0.3", "@types/ncp": "^2.0.4", - "@types/node": "^14.16.0", + "@types/node": "^22.15.1", "@types/node-fetch": "^2.5.7", "@types/triple-beam": "^1.3.1", - "@types/vscode": "1.57.0", + "@types/vscode": "1.105.0", "@types/xml2js": "^0.4.14", "@typescript-eslint/eslint-plugin": "^8.42.0", "@typescript-eslint/parser": "^8.42.0", @@ -62,7 +62,7 @@ "webpack-node-externals": "^3.0.0" }, "engines": { - "vscode": "^1.90.0" + "vscode": "^1.101.0" } }, "node_modules/@azure/abort-controller": { @@ -838,11 +838,14 @@ } }, "node_modules/@types/node": { - "version": "14.18.63", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", - "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==", + "version": "22.19.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.0.tgz", + "integrity": "sha512-xpr/lmLPQEj+TUnHmR+Ab91/glhJvsqcjB+yY0Ix9GO70H6Lb4FHH5GeqdOE5btAx7eIMwuHkp4H2MSkLcqWbA==", "devOptional": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "undici-types": "~6.21.0" + } }, "node_modules/@types/node-fetch": { "version": "2.6.13", @@ -862,9 +865,9 @@ "license": "MIT" }, "node_modules/@types/vscode": { - "version": "1.57.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.57.0.tgz", - "integrity": "sha512-FeznBFtIDCWRluojTsi9c3LLcCHOXP5etQfBK42+ixo1CoEAchkw39tuui9zomjZuKfUVL33KZUDIwHZ/xvOkQ==", + "version": "1.105.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.105.0.tgz", + "integrity": "sha512-Lotk3CTFlGZN8ray4VxJE7axIyLZZETQJVWi/lYoUVQuqfRxlQhVOfoejsD2V3dVXPSbS15ov5ZyowMAzgUqcw==", "dev": true, "license": "MIT" }, @@ -11381,6 +11384,13 @@ "node": ">=20.18.1" } }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "devOptional": true, + "license": "MIT" + }, "node_modules/union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", diff --git a/vscode-wpilib/package.json b/vscode-wpilib/package.json index a8f71314..73703776 100644 --- a/vscode-wpilib/package.json +++ b/vscode-wpilib/package.json @@ -8,7 +8,7 @@ "license": "BSD-3-Clause", "icon": "resources/wpilib-icon-128.png", "engines": { - "vscode": "^1.90.0" + "vscode": "^1.101.0" }, "categories": [ "Other" @@ -477,10 +477,10 @@ "@types/mkdirp": "^1.0.1", "@types/mocha": "^8.0.3", "@types/ncp": "^2.0.4", - "@types/node": "^14.16.0", + "@types/node": "^22.15.1", "@types/node-fetch": "^2.5.7", "@types/triple-beam": "^1.3.1", - "@types/vscode": "1.57.0", + "@types/vscode": "1.101.0", "@types/xml2js": "^0.4.14", "@typescript-eslint/eslint-plugin": "^8.42.0", "@typescript-eslint/parser": "^8.42.0",