diff --git a/.ado/publish.yml b/.ado/publish.yml index 2b27ab74ab..22bf1ebe24 100644 --- a/.ado/publish.yml +++ b/.ado/publish.yml @@ -112,6 +112,10 @@ extends: inputs: versionSpec: '3.11' + - task: UseNode@1 + inputs: + version: "20.x" + - script: | python ./prereqs.py --install && python ./version.py displayName: Install Prereqs and set version @@ -155,6 +159,10 @@ extends: inputs: versionSpec: '3.11' + - task: UseNode@1 + inputs: + version: "20.x" + - script: | python ./prereqs.py --install && python ./version.py displayName: Install Prereqs and set version @@ -212,6 +220,10 @@ extends: inputs: versionSpec: '3.11' + - task: UseNode@1 + inputs: + version: "20.x" + - script: | python ./prereqs.py --skip-wasm && python ./version.py displayName: Install Prereqs and set version @@ -280,6 +292,10 @@ extends: inputs: versionSpec: '3.11' + - task: UseNode@1 + inputs: + version: "20.x" + - script: | python ./prereqs.py --skip-wasm && python ./version.py displayName: Install Prereqs and set version diff --git a/.github/workflows/bench-reports.yml b/.github/workflows/bench-reports.yml index a17ba41d2f..edf1af79a9 100644 --- a/.github/workflows/bench-reports.yml +++ b/.github/workflows/bench-reports.yml @@ -6,7 +6,7 @@ on: env: CARGO_TERM_COLOR: always - NODE_VERSION: "18.17.1" + NODE_VERSION: "20.18.2" PYTHON_VERSION: "3.11" RUST_TOOLCHAIN_VERSION: "1.84" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e8fc21856..041ede7228 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ concurrency: env: CARGO_TERM_COLOR: always - NODE_VERSION: "18.17.1" + NODE_VERSION: "20.18.2" PYTHON_VERSION: "3.11" RUST_TOOLCHAIN_VERSION: "1.84" RUST_TOOLCHAIN_COMPONENTS: rustfmt clippy diff --git a/.github/workflows/memory_profile.yml b/.github/workflows/memory_profile.yml index ede4974ac6..968488d9f8 100644 --- a/.github/workflows/memory_profile.yml +++ b/.github/workflows/memory_profile.yml @@ -13,7 +13,7 @@ on: env: CARGO_TERM_COLOR: always - NODE_VERSION: "18.17.1" + NODE_VERSION: "20.18.2" PYTHON_VERSION: "3.11" RUST_TOOLCHAIN_VERSION: "1.84" RUST_TOOLCHAIN_COMPONENTS: rustfmt clippy diff --git a/.github/workflows/publish-playground.yml b/.github/workflows/publish-playground.yml index fe218fc3df..3e72fee824 100644 --- a/.github/workflows/publish-playground.yml +++ b/.github/workflows/publish-playground.yml @@ -45,7 +45,7 @@ jobs: python-version: '3.11' - uses: actions/setup-node@v3 with: - node-version: '18.17.1' + node-version: '20.18.2' - uses: Swatinem/rust-cache@v2 - name: Prereqs run: python ./prereqs.py --install diff --git a/package-lock.json b/package-lock.json index 3a8f78f082..38045a9fdc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@types/chai": "^4.3.8", "@types/markdown-it": "^14.1.1", "@types/mocha": "^10.0.2", - "@types/node": "^18.17", + "@types/node": "^20.17", "@types/vscode": "^1.83.0", "@types/vscode-webview": "^1.57.3", "@vscode/debugadapter": "^1.63.0", @@ -47,7 +47,7 @@ "vscode-uri": "^3.0.8" }, "engines": { - "node": ">=18.17.1" + "node": ">=20.18.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1978,12 +1978,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.19.28", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.28.tgz", - "integrity": "sha512-J5cOGD9n4x3YGgVuaND6khm5x07MMdAKkRyXnjVR6KFhLMNh2yONGiP7Z+4+tBOt5mK+GvDTiacTOVGGpqiecw==", + "version": "20.17.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.17.tgz", + "integrity": "sha512-/WndGO4kIfMicEQLTi/mDANUu/iVUhT7KboZPdEqqHQ4aTS+3qT3U5gIqWDFV+XouorjfgGqvKILJeHhuQgFYg==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "node_modules/@types/shimmer": { @@ -5998,10 +5999,11 @@ "dev": true }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" }, "node_modules/uri-js": { "version": "4.4.1", diff --git a/package.json b/package.json index 59bd26d448..13e25711cd 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ ], "license": "MIT", "engines": { - "node": ">=18.17.1" + "node": ">=20.18.2" }, "scripts": { "eslint:check": "eslint -c ./eslint.config.mjs --max-warnings 0 ./", @@ -24,7 +24,7 @@ "@types/chai": "^4.3.8", "@types/markdown-it": "^14.1.1", "@types/mocha": "^10.0.2", - "@types/node": "^18.17", + "@types/node": "^20.17", "@types/vscode": "^1.83.0", "@types/vscode-webview": "^1.57.3", "@vscode/debugadapter": "^1.63.0", diff --git a/prereqs.py b/prereqs.py index 50698c7181..d9b87460e6 100755 --- a/prereqs.py +++ b/prereqs.py @@ -15,8 +15,8 @@ python_ver = (3, 11) # Python support for Windows on ARM64 requires v3.11 or later rust_ver = (1, 84) # Ensure Rust version 1.84 or later is installed node_ver = ( + 20, 18, - 17, ) wasmpack_ver = (0, 12, 1) # Latest tested wasm-pack version rust_fmt_ver = (1, 8, 0) # Current version when Rust 1.84 shipped