diff --git a/.github/workflows/community-content.yaml b/.github/workflows/community-content.yaml index 08c57f3..b6773f0 100644 --- a/.github/workflows/community-content.yaml +++ b/.github/workflows/community-content.yaml @@ -15,16 +15,16 @@ jobs: if: github.repository_owner == 'astrolicious' runs-on: ubuntu-latest steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: ref: ${{ github.event.pull_request.head.ref }} - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 - - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 with: node-version-file: ".nvmrc" cache: "pnpm" - run: pnpm i --frozen-lockfile - - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: generator with: github-token: ${{secrets.GITHUB_TOKEN}} @@ -36,7 +36,7 @@ jobs: with: app-id: ${{ vars.BOT_APPID }} private-key: ${{ secrets.BOT_SECRET }} - - uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6 + - uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7 with: commit_user_email: 168325803+astrolicious[bot]@users.noreply.github.com commit_user_name: astrolicious[bot] diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 4132894..8f10ccf 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -21,7 +21,7 @@ jobs: app-id: ${{ vars.BOT_APPID }} private-key: ${{ secrets.BOT_SECRET }} - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 with: token: ${{ steps.app-token.outputs.token }} ref: ${{ github.head_ref }} @@ -30,7 +30,7 @@ jobs: uses: pnpm/action-setup@v3 - name: Setup Node - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 with: node-version-file: ".nvmrc" cache: "pnpm" @@ -42,7 +42,7 @@ jobs: run: pnpm run format - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6 + uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7 with: commit_message: "[ci] lint" branch: ${{ github.head_ref }} diff --git a/.nvmrc b/.nvmrc index 5b54067..0a49261 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22.16.0 +24.11.0 diff --git a/package.json b/package.json index 75bae35..b768406 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@biomejs/biome": "2.0.6", "@types/mdast": "4.0.4", - "@types/node": "22.16.0", + "@types/node": "24.10.0", "@types/semver": "7.7.0", "mdast-util-mdx": "3.0.0", "mdast-util-to-markdown": "2.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c208d88..01e345b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,13 +13,13 @@ importers: version: 0.9.4(prettier-plugin-astro@0.14.1)(prettier@3.6.2)(typescript@5.8.3) '@astrojs/cloudflare': specifier: 12.6.0 - version: 12.6.0(@types/node@22.16.0)(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))(yaml@2.8.1) + version: 12.6.0(@types/node@24.10.0)(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))(yaml@2.8.1) '@astrojs/starlight': specifier: 0.34.8 - version: 0.34.8(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) + version: 0.34.8(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) astro: specifier: 5.11.1 - version: 5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) + version: 5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) semver: specifier: 7.7.2 version: 7.7.2 @@ -28,7 +28,7 @@ importers: version: 0.34.2 starlight-package-managers: specifier: 0.11.0 - version: 0.11.0(@astrojs/starlight@0.34.8(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))) + version: 0.11.0(@astrojs/starlight@0.34.8(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))) typescript: specifier: 5.8.3 version: 5.8.3 @@ -40,8 +40,8 @@ importers: specifier: 4.0.4 version: 4.0.4 '@types/node': - specifier: 22.16.0 - version: 22.16.0 + specifier: 24.10.0 + version: 24.10.0 '@types/semver': specifier: 7.7.0 version: 7.7.0 @@ -1049,8 +1049,8 @@ packages: '@types/node@17.0.45': resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} - '@types/node@22.16.0': - resolution: {integrity: sha512-B2egV9wALML1JCpv3VQoQ+yesQKAmNMBIAY7OteVrikcOcAkWm+dGL6qpeCktPjAv6N1JLnhbNiqS35UpFyBsQ==} + '@types/node@24.10.0': + resolution: {integrity: sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A==} '@types/sax@1.2.7': resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} @@ -2177,6 +2177,7 @@ packages: sitemap@8.0.0: resolution: {integrity: sha512-+AbdxhM9kJsHtruUF39bwS/B0Fytw6Fr1o4ZAIAEqA6cke2xcoO2GleBw9Zw7nRzILVEgz7zBM5GiTJjie1G9A==} engines: {node: '>=14.0.0', npm: '>=6.0.0'} + deprecated: 'SECURITY: Multiple vulnerabilities fixed in 8.0.1 (XML injection, path traversal, command injection, protocol injection). Upgrade immediately: npm install sitemap@8.0.1' hasBin: true smol-toml@1.4.2: @@ -2302,8 +2303,8 @@ packages: uncrypto@0.1.3: resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==} - undici-types@6.21.0: - resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + undici-types@7.16.0: + resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} undici@5.29.0: resolution: {integrity: sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==} @@ -2707,14 +2708,14 @@ snapshots: - prettier - prettier-plugin-astro - '@astrojs/cloudflare@12.6.0(@types/node@22.16.0)(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))(yaml@2.8.1)': + '@astrojs/cloudflare@12.6.0(@types/node@24.10.0)(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))(yaml@2.8.1)': dependencies: '@astrojs/internal-helpers': 0.6.1 '@astrojs/underscore-redirects': 1.0.0 '@cloudflare/workers-types': 4.20250810.0 - astro: 5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) + astro: 5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) tinyglobby: 0.2.14 - vite: 6.3.5(@types/node@22.16.0)(yaml@2.8.1) + vite: 6.3.5(@types/node@24.10.0)(yaml@2.8.1) wrangler: 4.23.0(@cloudflare/workers-types@4.20250810.0) transitivePeerDependencies: - '@types/node' @@ -2815,12 +2816,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/mdx@4.3.3(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))': + '@astrojs/mdx@4.3.3(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))': dependencies: '@astrojs/markdown-remark': 6.3.5 '@mdx-js/mdx': 3.1.0(acorn@8.15.0) acorn: 8.15.0 - astro: 5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) + astro: 5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) es-module-lexer: 1.7.0 estree-util-visit: 2.0.0 hast-util-to-html: 9.0.5 @@ -2844,17 +2845,17 @@ snapshots: stream-replace-string: 2.0.0 zod: 3.25.76 - '@astrojs/starlight@0.34.8(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))': + '@astrojs/starlight@0.34.8(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))': dependencies: '@astrojs/markdown-remark': 6.3.5 - '@astrojs/mdx': 4.3.3(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) + '@astrojs/mdx': 4.3.3(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) '@astrojs/sitemap': 3.4.2 '@pagefind/default-ui': 1.3.0 '@types/hast': 3.0.4 '@types/js-yaml': 4.0.9 '@types/mdast': 4.0.4 - astro: 5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) - astro-expressive-code: 0.41.3(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) + astro: 5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) + astro-expressive-code: 0.41.3(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) bcp-47: 2.1.0 hast-util-from-html: 2.0.3 hast-util-select: 6.0.4 @@ -3537,7 +3538,7 @@ snapshots: '@types/fontkit@2.0.8': dependencies: - '@types/node': 22.16.0 + '@types/node': 24.10.0 '@types/hast@3.0.4': dependencies: @@ -3559,13 +3560,13 @@ snapshots: '@types/node@17.0.45': {} - '@types/node@22.16.0': + '@types/node@24.10.0': dependencies: - undici-types: 6.21.0 + undici-types: 7.16.0 '@types/sax@1.2.7': dependencies: - '@types/node': 22.16.0 + '@types/node': 24.10.0 '@types/semver@7.7.0': {} @@ -3675,12 +3676,12 @@ snapshots: astring@1.9.0: {} - astro-expressive-code@0.41.3(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)): + astro-expressive-code@0.41.3(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)): dependencies: - astro: 5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) + astro: 5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1) rehype-expressive-code: 0.41.3 - astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1): + astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1): dependencies: '@astrojs/compiler': 2.12.2 '@astrojs/internal-helpers': 0.6.1 @@ -3735,8 +3736,8 @@ snapshots: unist-util-visit: 5.0.0 unstorage: 1.16.1 vfile: 6.0.3 - vite: 6.3.5(@types/node@22.16.0)(yaml@2.8.1) - vitefu: 1.1.1(vite@6.3.5(@types/node@22.16.0)(yaml@2.8.1)) + vite: 6.3.5(@types/node@24.10.0)(yaml@2.8.1) + vitefu: 1.1.1(vite@6.3.5(@types/node@24.10.0)(yaml@2.8.1)) xxhash-wasm: 1.1.0 yargs-parser: 21.1.1 yocto-spinner: 0.2.3 @@ -5373,9 +5374,9 @@ snapshots: as-table: 1.0.55 get-source: 2.0.12 - starlight-package-managers@0.11.0(@astrojs/starlight@0.34.8(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))): + starlight-package-managers@0.11.0(@astrojs/starlight@0.34.8(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1))): dependencies: - '@astrojs/starlight': 0.34.8(astro@5.11.1(@types/node@22.16.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) + '@astrojs/starlight': 0.34.8(astro@5.11.1(@types/node@24.10.0)(rollup@4.46.2)(typescript@5.8.3)(yaml@2.8.1)) stoppable@1.1.0: {} @@ -5459,7 +5460,7 @@ snapshots: uncrypto@0.1.3: {} - undici-types@6.21.0: {} + undici-types@7.16.0: {} undici@5.29.0: dependencies: @@ -5573,7 +5574,7 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite@6.3.5(@types/node@22.16.0)(yaml@2.8.1): + vite@6.3.5(@types/node@24.10.0)(yaml@2.8.1): dependencies: esbuild: 0.25.8 fdir: 6.4.6(picomatch@4.0.3) @@ -5582,13 +5583,13 @@ snapshots: rollup: 4.46.2 tinyglobby: 0.2.14 optionalDependencies: - '@types/node': 22.16.0 + '@types/node': 24.10.0 fsevents: 2.3.3 yaml: 2.8.1 - vitefu@1.1.1(vite@6.3.5(@types/node@22.16.0)(yaml@2.8.1)): + vitefu@1.1.1(vite@6.3.5(@types/node@24.10.0)(yaml@2.8.1)): optionalDependencies: - vite: 6.3.5(@types/node@22.16.0)(yaml@2.8.1) + vite: 6.3.5(@types/node@24.10.0)(yaml@2.8.1) volar-service-css@0.0.62(@volar/language-service@2.4.23): dependencies: