From cc99d07ffd0c44263fd46f40553fd46604bf9ee0 Mon Sep 17 00:00:00 2001 From: Mitsunee <19474909+Mitsunee@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:26:10 +0100 Subject: [PATCH] upgrade: node 22 --- .github/workflows/test.yml | 16 +++++++-------- package.json | 2 +- pnpm-lock.yaml | 42 +++++++++++++++++++------------------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0bf597e..ed06f01 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,10 +21,10 @@ jobs: uses: pnpm/action-setup@v4 with: version: 9 - - name: Install Node.js v20 + - name: Install Node.js v22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile --ignore-scripts @@ -43,10 +43,10 @@ jobs: uses: pnpm/action-setup@v4 with: version: 9 - - name: Install Node.js v20 + - name: Install Node.js v22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile --ignore-scripts @@ -64,10 +64,10 @@ jobs: uses: pnpm/action-setup@v4 with: version: 9 - - name: Install Node.js v20 + - name: Install Node.js v22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile --ignore-scripts @@ -84,10 +84,10 @@ jobs: uses: pnpm/action-setup@v4 with: version: 9 - - name: Use Node.js v20 + - name: Install Node.js v22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: pnpm - name: Install dependencies run: pnpm install --frozen-lockfile --ignore-scripts diff --git a/package.json b/package.json index d8cee5c..268efcc 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ }, "devDependencies": { "@astrojs/check": "^0.9.3", - "@types/node": "^20.16.10", + "@types/node": "^22.9.0", "esbuild": "^0.24.0", "esbuild-register": "^3.6.0", "eslint": "^8.57.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e13d57a..1b09780 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: dependencies: '@astrojs/preact': specifier: ^3.5.3 - version: 3.5.3(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@20.16.10)) + version: 3.5.3(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@22.9.0)) '@csstools/postcss-global-data': specifier: ^3.0.0 version: 3.0.0(postcss@8.4.47) @@ -19,7 +19,7 @@ importers: version: 0.5.2(nanostores@0.11.3)(preact@10.24.1) astro: specifier: ^4.15.10 - version: 4.15.10(@types/node@20.16.10)(rollup@4.24.0)(typescript@5.5.4) + version: 4.15.10(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.5.4) classcat: specifier: ^5.0.5 version: 5.0.5 @@ -49,8 +49,8 @@ importers: specifier: ^0.9.3 version: 0.9.3(prettier-plugin-astro@0.14.1)(prettier@3.3.3)(typescript@5.5.4) '@types/node': - specifier: ^20.16.10 - version: 20.16.10 + specifier: ^22.9.0 + version: 22.9.0 esbuild: specifier: ^0.24.0 version: 0.24.0 @@ -1160,8 +1160,8 @@ packages: '@types/nlcst@2.0.3': resolution: {integrity: sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==} - '@types/node@20.16.10': - resolution: {integrity: sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==} + '@types/node@22.9.0': + resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} @@ -3875,11 +3875,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/preact@3.5.3(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@20.16.10))': + '@astrojs/preact@3.5.3(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@22.9.0))': dependencies: '@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-development': 7.24.7(@babel/core@7.25.2) - '@preact/preset-vite': 2.8.2(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@20.16.10)) + '@preact/preset-vite': 2.8.2(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@22.9.0)) '@preact/signals': 1.3.0(preact@10.24.1) babel-plugin-transform-hook-names: 1.0.2(@babel/core@7.25.2) preact: 10.24.1 @@ -4615,12 +4615,12 @@ snapshots: dependencies: preact: 10.24.1 - '@preact/preset-vite@2.8.2(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@20.16.10))': + '@preact/preset-vite@2.8.2(@babel/core@7.25.2)(preact@10.24.1)(vite@5.4.8(@types/node@22.9.0))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx': 7.25.2(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-development': 7.24.7(@babel/core@7.25.2) - '@prefresh/vite': 2.4.6(preact@10.24.1)(vite@5.4.8(@types/node@20.16.10)) + '@prefresh/vite': 2.4.6(preact@10.24.1)(vite@5.4.8(@types/node@22.9.0)) '@rollup/pluginutils': 4.2.1 babel-plugin-transform-hook-names: 1.0.2(@babel/core@7.25.2) debug: 4.3.7 @@ -4630,7 +4630,7 @@ snapshots: resolve: 1.22.8 source-map: 0.7.4 stack-trace: 1.0.0-pre2 - vite: 5.4.8(@types/node@20.16.10) + vite: 5.4.8(@types/node@22.9.0) transitivePeerDependencies: - preact - supports-color @@ -4650,7 +4650,7 @@ snapshots: '@prefresh/utils@1.2.0': {} - '@prefresh/vite@2.4.6(preact@10.24.1)(vite@5.4.8(@types/node@20.16.10))': + '@prefresh/vite@2.4.6(preact@10.24.1)(vite@5.4.8(@types/node@22.9.0))': dependencies: '@babel/core': 7.25.2 '@prefresh/babel-plugin': 0.5.1 @@ -4658,7 +4658,7 @@ snapshots: '@prefresh/utils': 1.2.0 '@rollup/pluginutils': 4.2.1 preact: 10.24.1 - vite: 5.4.8(@types/node@20.16.10) + vite: 5.4.8(@types/node@22.9.0) transitivePeerDependencies: - supports-color @@ -4797,7 +4797,7 @@ snapshots: dependencies: '@types/unist': 3.0.3 - '@types/node@20.16.10': + '@types/node@22.9.0': dependencies: undici-types: 6.19.8 @@ -5081,7 +5081,7 @@ snapshots: - supports-color - typescript - astro@4.15.10(@types/node@20.16.10)(rollup@4.24.0)(typescript@5.5.4): + astro@4.15.10(@types/node@22.9.0)(rollup@4.24.0)(typescript@5.5.4): dependencies: '@astrojs/compiler': 2.10.3 '@astrojs/internal-helpers': 0.4.1 @@ -5140,8 +5140,8 @@ snapshots: tsconfck: 3.1.3(typescript@5.5.4) unist-util-visit: 5.0.0 vfile: 6.0.3 - vite: 5.4.8(@types/node@20.16.10) - vitefu: 1.0.2(vite@5.4.8(@types/node@20.16.10)) + vite: 5.4.8(@types/node@22.9.0) + vitefu: 1.0.2(vite@5.4.8(@types/node@22.9.0)) which-pm: 3.0.0 xxhash-wasm: 1.0.2 yargs-parser: 21.1.1 @@ -7983,18 +7983,18 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite@5.4.8(@types/node@20.16.10): + vite@5.4.8(@types/node@22.9.0): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.24.0 optionalDependencies: - '@types/node': 20.16.10 + '@types/node': 22.9.0 fsevents: 2.3.3 - vitefu@1.0.2(vite@5.4.8(@types/node@20.16.10)): + vitefu@1.0.2(vite@5.4.8(@types/node@22.9.0)): optionalDependencies: - vite: 5.4.8(@types/node@20.16.10) + vite: 5.4.8(@types/node@22.9.0) volar-service-css@0.0.61(@volar/language-service@2.4.5): dependencies: