mirror of
https://github.com/discordjs/discord.js.git
synced 2026-09-17 08:47:27 +00:00
chore: bump dependencies (#11539)
* chore(deps): update github-actions * actions/cache v4 -> v5 * actions/create-github-app-token v2 -> v3 * actions/download-artifact v6 -> v8 * actions/labeler v5 -> v6 * actions/upload-artifact v5 -> v7 * codecov/codecov-action v4 -> v6 * crazy-max/ghaction-github-labeler v5 -> v6 * dessant/lock-threads v5 -> v6 * docker/build-push-action v6 -> v7 * docker/login-action v3 -> v4 * docker/setup-buildx-action v3 -> v4 * pnpm/action-setup v4.1.0 -> v6.0.8 * chore(deps): minor/patch bumps and pnpm v11 * chore(deps): bump lint-staged to v17 * chore(deps): bump commitlint to v21 * chore(deps): bump vercel to v54 * chore(deps): bump vite to v8 * chore(deps): bump chromatic to v17 * chore(deps): bump validate-npm-package-name to v8 * chore(deps): bump uuid to v14 * chore(deps): bump cloudflare to v6 * chore(deps): bump meilisearch to v0.58 * chore(deps): bump fumadocs-mdx to v15 * chore(deps): lockfile * chore: fixes * fixup! chore(deps): minor/patch bumps and pnpm v11 * chore(deps): bump vercel to v56 * chore(deps): bump chromatic to v18 * chore: fix format/lint and change prettier range * chore(deps): bump vitest-websocket-mock to v0.7 * chore(deps): bump cloudflare to v7 * chore(deps): bump meilisearch to v0.59 * chore(deps): bump commander to v15 * chore(deps): bump sharp to v0.35 * chore(deps): bump undici to v8 * chore: lockfile * fixup! chore(deps): update github-actions * fix(rest): requested changes * chore: minor/patch * chore(deps): bump meilisearch to v0.60 * chore(deps): bump vercel to v57 * fixup! fixup! chore(deps): update github-actions * chore: revert prettier upgrade * chore: minor/patch * chore(deps): bump vercel to v58 * chore(deps): regen lockfile * chore(deps): undici 8.10.1 and pnpm 11.25 * chore(deps): minor/patch * fix: lockfile * chore: more
This commit is contained in:
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Cleanup caches
|
||||
run: |
|
||||
|
||||
@@ -14,10 +14,10 @@ jobs:
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Node.js v24
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
|
||||
@@ -37,10 +37,10 @@ jobs:
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Node.js v24
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
|
||||
@@ -37,12 +37,12 @@ jobs:
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ inputs.ref || '' }}
|
||||
|
||||
- name: Install Node.js v24
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
- name: Checkout main repository
|
||||
if: ${{ inputs.ref && inputs.ref != 'main' }}
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
path: 'main'
|
||||
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
COREPACK_ENABLE_STRICT: 0
|
||||
run: |
|
||||
cd main
|
||||
pnpm self-update 10
|
||||
pnpm self-update 11
|
||||
pnpm install --frozen-lockfile --prefer-offline --loglevel error
|
||||
pnpm run build
|
||||
cd ..
|
||||
@@ -212,10 +212,10 @@ jobs:
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Node.js v24
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
|
||||
@@ -15,9 +15,9 @@ jobs:
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Label sync
|
||||
uses: crazy-max/ghaction-github-labeler@v5
|
||||
uses: crazy-max/ghaction-github-labeler@v6
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Label pull request
|
||||
uses: actions/labeler@v5
|
||||
uses: actions/labeler@v7
|
||||
with:
|
||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
sync-labels: true
|
||||
|
||||
@@ -24,20 +24,20 @@ jobs:
|
||||
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and push by digest
|
||||
id: build
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
context: .
|
||||
file: apps/proxy-container/Dockerfile
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
touch "/tmp/digests/${digest#sha256:}"
|
||||
|
||||
- name: Upload digest
|
||||
uses: actions/upload-artifact@v5
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: digests-${{ env.PLATFORM_PAIR }}
|
||||
path: /tmp/digests/*
|
||||
@@ -64,17 +64,17 @@ jobs:
|
||||
needs: build
|
||||
steps:
|
||||
- name: Download digests
|
||||
uses: actions/download-artifact@v6
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
path: /tmp/digests
|
||||
pattern: digests-*
|
||||
merge-multiple: true
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
|
||||
@@ -27,21 +27,21 @@ jobs:
|
||||
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v2
|
||||
- uses: actions/create-github-app-token@v3
|
||||
id: app-token
|
||||
with:
|
||||
app-id: ${{ vars.DISCORDJS_APP_ID }}
|
||||
private-key: ${{ secrets.DISCORDJS_APP_KEY_RELEASE }}
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ steps.app-token.outputs.token }}
|
||||
ref: ${{ inputs.ref }}
|
||||
|
||||
- name: Install Node.js v24
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
- name: Checkout main repository (non-main ref)
|
||||
if: ${{ inputs.ref != 'main' }}
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
path: 'main'
|
||||
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
env:
|
||||
COREPACK_ENABLE_STRICT: 0
|
||||
run: |
|
||||
pnpm self-update 10
|
||||
pnpm self-update 11
|
||||
pnpm install --filter @discordjs/actions --frozen-lockfile --prefer-offline --loglevel error
|
||||
|
||||
- name: Publish packages (non-main ref)
|
||||
|
||||
@@ -22,20 +22,20 @@ jobs:
|
||||
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
|
||||
- name: Build and push by digest
|
||||
id: build
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
context: .
|
||||
file: apps/proxy-container/Dockerfile
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
touch "/tmp/digests/${digest#sha256:}"
|
||||
|
||||
- name: Upload digest
|
||||
uses: actions/upload-artifact@v5
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: digests-${{ env.PLATFORM_PAIR }}
|
||||
path: /tmp/digests/*
|
||||
@@ -62,14 +62,14 @@ jobs:
|
||||
needs: build
|
||||
steps:
|
||||
- name: Download digests
|
||||
uses: actions/download-artifact@v6
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
path: /tmp/digests
|
||||
pattern: digests-*
|
||||
merge-multiple: true
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Get Major Version
|
||||
id: version
|
||||
@@ -79,10 +79,10 @@ jobs:
|
||||
echo "major=$MAJOR" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- uses: actions/create-github-app-token@v2
|
||||
- uses: actions/create-github-app-token@v3
|
||||
id: app-token
|
||||
with:
|
||||
app-id: ${{ vars.DISCORDJS_APP_ID }}
|
||||
@@ -56,13 +56,13 @@ jobs:
|
||||
permission-contents: write
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
token: ${{ steps.app-token.outputs.token }}
|
||||
ref: ${{ inputs.ref || '' }}
|
||||
|
||||
- name: Install Node.js v24
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
|
||||
- name: Checkout main repository
|
||||
if: ${{ inputs.ref && inputs.ref != 'main' }}
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
path: 'main'
|
||||
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
env:
|
||||
COREPACK_ENABLE_STRICT: 0
|
||||
run: |
|
||||
pnpm self-update 10
|
||||
pnpm self-update 11
|
||||
pnpm install --filter @discordjs/actions --frozen-lockfile --prefer-offline --loglevel error
|
||||
|
||||
- name: Release packages (non-main ref)
|
||||
|
||||
@@ -35,10 +35,10 @@ jobs:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
@@ -15,12 +15,12 @@ jobs:
|
||||
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Node.js v24
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
|
||||
@@ -19,10 +19,10 @@ jobs:
|
||||
if: github.repository_owner == 'discordjs'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v6
|
||||
uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 24
|
||||
package-manager-cache: false
|
||||
|
||||
+32
-32
@@ -48,51 +48,51 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@opennextjs/cloudflare": "^1.18.0",
|
||||
"@opennextjs/cloudflare": "^1.20.6",
|
||||
"@vercel/analytics": "^2.0.1",
|
||||
"fumadocs-core": "^16.7.7",
|
||||
"fumadocs-mdx": "^14.2.11",
|
||||
"fumadocs-twoslash": "^3.1.14",
|
||||
"fumadocs-ui": "^16.7.7",
|
||||
"geist": "^1.7.0",
|
||||
"lucide-react": "^1.7.0",
|
||||
"mermaid": "^11.13.0",
|
||||
"next": "^16.2.1",
|
||||
"fumadocs-core": "^16.15.4",
|
||||
"fumadocs-mdx": "^15.4.0",
|
||||
"fumadocs-twoslash": "^3.3.0",
|
||||
"fumadocs-ui": "^16.15.4",
|
||||
"geist": "^1.7.2",
|
||||
"lucide-react": "^1.39.0",
|
||||
"mermaid": "^11.17.2",
|
||||
"next": "^16.3.4",
|
||||
"next-themes": "^0.4.6",
|
||||
"p-retry": "^8.0.0",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"sharp": "^0.34.5",
|
||||
"tailwind-merge": "^3.5.0",
|
||||
"p-retry": "^8.0.1",
|
||||
"react": "^19.2.8",
|
||||
"react-dom": "^19.2.8",
|
||||
"sharp": "^0.35.4",
|
||||
"tailwind-merge": "^3.6.0",
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"twoslash": "^0.3.6"
|
||||
"twoslash": "^0.3.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@shikijs/rehype": "^4.0.2",
|
||||
"@tailwindcss/postcss": "^4.2.2",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"autoprefixer": "^10.4.27",
|
||||
"@shikijs/rehype": "^4.4.3",
|
||||
"@tailwindcss/postcss": "^4.3.3",
|
||||
"@types/mdx": "^2.0.14",
|
||||
"@types/node": "^24.13.3",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.5",
|
||||
"autoprefixer": "^10.5.4",
|
||||
"babel-plugin-react-compiler": "^1.0.0",
|
||||
"cpy-cli": "^7.0.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"git-describe": "^4.1.1",
|
||||
"postcss": "^8.5.8",
|
||||
"prettier": "^3.8.1",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"postcss": "^8.5.26",
|
||||
"prettier": "~3.8.1",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"remark-rehype": "^11.1.2",
|
||||
"shiki": "^4.0.2",
|
||||
"tailwindcss": "^4.2.2",
|
||||
"turbo": "^2.8.21",
|
||||
"shiki": "^4.4.3",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vercel": "^50.37.3",
|
||||
"wrangler": "^4.78.0"
|
||||
"vercel": "^59.11.2",
|
||||
"wrangler": "^4.128.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -50,16 +50,16 @@
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/node": "^24.13.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
+36
-37
@@ -51,61 +51,60 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@opennextjs/cloudflare": "^1.18.0",
|
||||
"@radix-ui/react-collapsible": "^1.1.12",
|
||||
"@opennextjs/cloudflare": "^1.20.6",
|
||||
"@radix-ui/react-collapsible": "^1.1.20",
|
||||
"@react-icons/all-files": "^4.1.0",
|
||||
"@tanstack/react-query": "^5.95.2",
|
||||
"@tanstack/react-query": "^5.102.8",
|
||||
"@vercel/analytics": "^2.0.1",
|
||||
"@vercel/postgres": "^0.10.0",
|
||||
"cloudflare": "^5.2.0",
|
||||
"cloudflare": "^7.1.0",
|
||||
"cmdk": "^1.1.1",
|
||||
"cva": "1.0.0-beta.3",
|
||||
"geist": "^1.7.0",
|
||||
"jotai": "^2.19.0",
|
||||
"lucide-react": "^1.7.0",
|
||||
"meilisearch": "^0.56.0",
|
||||
"next": "^16.2.1",
|
||||
"geist": "^1.7.2",
|
||||
"jotai": "^2.20.3",
|
||||
"lucide-react": "^1.39.0",
|
||||
"meilisearch": "^0.60.0",
|
||||
"next": "^16.3.4",
|
||||
"next-themes": "^0.4.6",
|
||||
"nuqs": "^2.8.9",
|
||||
"overlayscrollbars": "^2.14.0",
|
||||
"nuqs": "^2.10.1",
|
||||
"overlayscrollbars": "^2.16.0",
|
||||
"overlayscrollbars-react": "^0.5.6",
|
||||
"react": "^19.2.4",
|
||||
"react-aria": "^3.47.0",
|
||||
"react-aria-components": "^1.16.0",
|
||||
"react-dom": "^19.2.4",
|
||||
"safe-mdx": "^1.3.9",
|
||||
"sharp": "^0.34.5",
|
||||
"tailwind-merge": "^3.5.0",
|
||||
"react": "^19.2.8",
|
||||
"react-aria": "^3.52.0",
|
||||
"react-aria-components": "^1.21.0",
|
||||
"react-dom": "^19.2.8",
|
||||
"safe-mdx": "^1.14.0",
|
||||
"sharp": "^0.35.4",
|
||||
"tailwind-merge": "^3.6.0",
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"usehooks-ts": "^3.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@shikijs/rehype": "^4.0.2",
|
||||
"@tailwindcss/postcss": "^4.2.2",
|
||||
"@tailwindcss/typography": "^0.5.19",
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"autoprefixer": "^10.4.27",
|
||||
"@shikijs/rehype": "^4.4.3",
|
||||
"@tailwindcss/postcss": "^4.3.3",
|
||||
"@tailwindcss/typography": "^0.5.20",
|
||||
"@types/node": "^24.13.3",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.5",
|
||||
"autoprefixer": "^10.5.4",
|
||||
"babel-plugin-react-compiler": "^1.0.0",
|
||||
"cpy-cli": "^7.0.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"git-describe": "^4.1.1",
|
||||
"postcss": "^8.5.8",
|
||||
"prettier": "^3.8.1",
|
||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||
"postcss": "^8.5.26",
|
||||
"prettier": "~3.8.1",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"remark-rehype": "^11.1.2",
|
||||
"shiki": "^4.0.2",
|
||||
"tailwindcss": "^4.2.2",
|
||||
"tailwindcss-react-aria-components": "^2.0.1",
|
||||
"turbo": "^2.8.21",
|
||||
"shiki": "^4.4.3",
|
||||
"tailwindcss": "^4.3.3",
|
||||
"tailwindcss-react-aria-components": "^2.2.0",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vercel": "^50.37.3",
|
||||
"wrangler": "^4.78.0"
|
||||
"vercel": "^59.11.2",
|
||||
"wrangler": "^4.128.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { Command } from 'cmdk';
|
||||
import { useAtom, useSetAtom } from 'jotai';
|
||||
import { ArrowRight } from 'lucide-react';
|
||||
import { MeiliSearch } from 'meilisearch';
|
||||
import { Meilisearch } from 'meilisearch';
|
||||
import dynamic from 'next/dynamic';
|
||||
import { usePathname, useRouter } from 'next/navigation';
|
||||
import { useEffect, useState } from 'react';
|
||||
@@ -14,7 +14,7 @@ import { isDrawerOpenAtom } from '@/stores/drawer';
|
||||
import { cx } from '@/styles/cva';
|
||||
import { resolveKind } from '@/util/resolveNodeKind';
|
||||
|
||||
const client = new MeiliSearch({
|
||||
const client = new Meilisearch({
|
||||
host: 'https://search.discordjs.dev',
|
||||
apiKey: 'f3482b8e976a8b1092394aafbfb91f391242f40b0a6f45a008a5a72b354fb07e',
|
||||
});
|
||||
|
||||
@@ -13,7 +13,7 @@ export function Dialog(props: ComponentProps<typeof RACDialog>) {
|
||||
<RACDialog
|
||||
{...props}
|
||||
className={cx(
|
||||
'peer/dialog group/dialog relative flex max-h-[inherit] flex-col overflow-hidden outline-hidden [scrollbar-width:thin]',
|
||||
'peer/dialog group/dialog relative flex max-h-[inherit] [scrollbar-width:thin] flex-col overflow-hidden outline-hidden',
|
||||
props.className,
|
||||
)}
|
||||
role={props.role!}
|
||||
@@ -59,7 +59,11 @@ export function DialogHeader({ hasBorder = false, ...props }: DialogHeaderProps)
|
||||
>
|
||||
{props.title && <DialogTitle>{props.title}</DialogTitle>}
|
||||
{props.description && <DialogDescription>{props.description}</DialogDescription>}
|
||||
{!props.title && typeof props.children === 'string' ? <DialogTitle {...props} /> : props.children}
|
||||
{!props.title && typeof props.children === 'string' ? (
|
||||
<DialogTitle>{props.children}</DialogTitle>
|
||||
) : (
|
||||
props.children
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ export function ListBox<Type extends object>(props: RACListBoxProps<Type>) {
|
||||
className={composeRenderProps(props.className, (className) =>
|
||||
cx(
|
||||
[
|
||||
'border-base-neutral-200 dark:border-base-neutral-600 shadow-base-sm flex max-h-96 w-full min-w-40 flex-col gap-x-1 overflow-y-auto rounded-sm border p-2 outline-hidden [scrollbar-width:thin]',
|
||||
'border-base-neutral-200 dark:border-base-neutral-600 shadow-base-sm flex max-h-96 w-full min-w-40 [scrollbar-width:thin] flex-col gap-x-1 overflow-y-auto rounded-sm border p-2 outline-hidden',
|
||||
"grid grid-cols-[1fr_auto] overflow-auto *:[[role='group']+[role=group]]:mt-4 *:[[role='group']+[role=separator]]:mt-1",
|
||||
],
|
||||
className,
|
||||
|
||||
@@ -43,7 +43,7 @@ export function PopoverFooter(props: DialogFooterProps) {
|
||||
}
|
||||
|
||||
const contentStyles = cva({
|
||||
base: 'peer/popover-content border-base-neutral-200 dark:border-base-neutral-600 shadow-base-sm bg-base-neutral-0 dark:bg-base-neutral-800 text-base-md max-w-xs rounded-sm border bg-clip-padding transition-transform [scrollbar-width:thin] sm:max-w-3xl dark:backdrop-saturate-200 forced-colors:bg-[Canvas]',
|
||||
base: 'peer/popover-content border-base-neutral-200 dark:border-base-neutral-600 shadow-base-sm bg-base-neutral-0 dark:bg-base-neutral-800 text-base-md max-w-xs [scrollbar-width:thin] rounded-sm border bg-clip-padding transition-transform sm:max-w-3xl dark:backdrop-saturate-200 forced-colors:bg-[Canvas]',
|
||||
variants: {
|
||||
isPicker: {
|
||||
true: 'max-h-72 min-w-(--trigger-width) overflow-y-auto',
|
||||
|
||||
+15
-15
@@ -51,33 +51,33 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^20.5.0",
|
||||
"@commitlint/config-angular": "^20.5.0",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@commitlint/cli": "^21.2.2",
|
||||
"@commitlint/config-angular": "^21.2.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@favware/npm-deprecate": "^2.0.0",
|
||||
"@types/lodash.merge": "^4.6.9",
|
||||
"@unocss/eslint-plugin": "^66.6.7",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@unocss/eslint-plugin": "^66.9.2",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"conventional-changelog-cli": "^5.0.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-import-resolver-typescript": "^4.4.4",
|
||||
"eslint-import-resolver-typescript": "^4.4.5",
|
||||
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
||||
"husky": "^9.1.7",
|
||||
"is-ci": "^4.1.0",
|
||||
"lint-staged": "^16.4.0",
|
||||
"lint-staged": "^17.4.1",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"prettier": "^3.8.1",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"typescript-eslint": "^8.57.2",
|
||||
"unocss": "^66.6.7",
|
||||
"vercel": "^50.37.3",
|
||||
"vitest": "^4.1.2"
|
||||
"typescript-eslint": "^8.69.0",
|
||||
"unocss": "^66.9.2",
|
||||
"vercel": "^59.11.2",
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.33.0"
|
||||
"packageManager": "pnpm@11.25.0"
|
||||
}
|
||||
|
||||
@@ -41,35 +41,35 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@actions/core": "^3.0.0",
|
||||
"@actions/github": "^9.0.0",
|
||||
"@actions/glob": "^0.6.1",
|
||||
"@aws-sdk/client-s3": "^3.1019.0",
|
||||
"@actions/core": "^3.0.1",
|
||||
"@actions/github": "^9.1.1",
|
||||
"@actions/glob": "^0.7.0",
|
||||
"@aws-sdk/client-s3": "^3.1124.0",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"cloudflare": "^5.2.0",
|
||||
"commander": "^14.0.3",
|
||||
"meilisearch": "^0.56.0",
|
||||
"p-limit": "^7.3.0",
|
||||
"p-queue": "^9.1.0",
|
||||
"cloudflare": "^7.1.0",
|
||||
"commander": "^15.0.0",
|
||||
"meilisearch": "^0.60.0",
|
||||
"p-limit": "^7.3.2",
|
||||
"p-queue": "^9.3.3",
|
||||
"tslib": "^2.8.1",
|
||||
"undici": "7.24.6"
|
||||
"undici": "^8.10.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@npm/types": "^2.1.0",
|
||||
"@types/bun": "^1.3.11",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@types/bun": "^1.4.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -9,7 +9,7 @@ runs:
|
||||
with:
|
||||
swap-size-gb: 10
|
||||
|
||||
- uses: pnpm/action-setup@v4.1.0
|
||||
- uses: pnpm/action-setup@v6.0.9
|
||||
name: Install pnpm
|
||||
with:
|
||||
run_install: false
|
||||
@@ -26,7 +26,7 @@ runs:
|
||||
run: |
|
||||
echo "YEAR_MONTH=$(/bin/date -u "+%Y%m")" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v6
|
||||
name: Setup pnpm cache
|
||||
with:
|
||||
path: ${{ steps.pnpm-config.outputs.STORE_PATH }}
|
||||
|
||||
@@ -9,7 +9,7 @@ runs:
|
||||
steps:
|
||||
- name: Upload Brokers Coverage
|
||||
if: ${{ hashFiles('packages/brokers/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/brokers/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -18,7 +18,7 @@ runs:
|
||||
|
||||
- name: Upload Builders Coverage
|
||||
if: ${{ hashFiles('packages/builders/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/builders/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -27,7 +27,7 @@ runs:
|
||||
|
||||
- name: Upload Collection Coverage
|
||||
if: ${{ hashFiles('packages/collection/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/collection/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -36,7 +36,7 @@ runs:
|
||||
|
||||
- name: Upload Core Coverage
|
||||
if: ${{ hashFiles('packages/core/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/core/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -45,7 +45,7 @@ runs:
|
||||
|
||||
- name: Upload Discord.js Coverage
|
||||
if: ${{ hashFiles('packages/discord.js/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/discord.js/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -54,7 +54,7 @@ runs:
|
||||
|
||||
- name: Upload Formatters Coverage
|
||||
if: ${{ hashFiles('packages/formatters/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/formatters/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -63,7 +63,7 @@ runs:
|
||||
|
||||
- name: Upload Next Coverage
|
||||
if: ${{ hashFiles('packages/next/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/next/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -72,7 +72,7 @@ runs:
|
||||
|
||||
- name: Upload Proxy Coverage
|
||||
if: ${{ hashFiles('packages/proxy/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/proxy/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -81,7 +81,7 @@ runs:
|
||||
|
||||
- name: Upload Rest Coverage
|
||||
if: ${{ hashFiles('packages/rest/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/rest/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -99,7 +99,7 @@ runs:
|
||||
|
||||
- name: Upload Structures Coverage
|
||||
if: ${{ hashFiles('packages/structures/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/structures/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -108,7 +108,7 @@ runs:
|
||||
|
||||
- name: Upload Util Coverage
|
||||
if: ${{ hashFiles('packages/util/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/util/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -117,7 +117,7 @@ runs:
|
||||
|
||||
- name: Upload Voice Coverage
|
||||
if: ${{ hashFiles('packages/voice/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/voice/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -126,7 +126,7 @@ runs:
|
||||
|
||||
- name: Upload WS Coverage
|
||||
if: ${{ hashFiles('packages/ws/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/ws/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
@@ -135,7 +135,7 @@ runs:
|
||||
|
||||
- name: Upload Utilities Coverage
|
||||
if: ${{ hashFiles('packages/actions/coverage/cobertura-coverage.xml') != '' }}
|
||||
uses: codecov/codecov-action@v4
|
||||
uses: codecov/codecov-action@v7
|
||||
with:
|
||||
files: ./packages/actions/coverage/cobertura-coverage.xml
|
||||
disable_search: true
|
||||
|
||||
@@ -2,7 +2,7 @@ import process from 'node:process';
|
||||
import { setFailed } from '@actions/core';
|
||||
import { generateAllIndices } from '@discordjs/scripts';
|
||||
import Cloudflare from 'cloudflare';
|
||||
import { type EnqueuedTask, MeiliSearch } from 'meilisearch';
|
||||
import { type EnqueuedTask, Meilisearch } from 'meilisearch';
|
||||
import pLimit from 'p-limit';
|
||||
import { fetch } from 'undici';
|
||||
|
||||
@@ -25,7 +25,7 @@ const cf = new Cloudflare({
|
||||
apiToken: process.env.CF_D1_DOCS_API_KEY,
|
||||
});
|
||||
|
||||
const client = new MeiliSearch({
|
||||
const client = new Meilisearch({
|
||||
host: process.env.SEARCH_API_URL,
|
||||
apiKey: process.env.SEARCH_API_KEY,
|
||||
});
|
||||
|
||||
@@ -21,7 +21,7 @@ runs:
|
||||
echo "NPM_GLOBAL_CACHE_FOLDER=$(npm config get cache)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Restore yarn cache
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v6
|
||||
id: yarn-download-cache
|
||||
with:
|
||||
path: ${{ steps.yarn-config.outputs.CACHE_FOLDER }}
|
||||
@@ -31,7 +31,7 @@ runs:
|
||||
|
||||
- name: Restore global npm cache folder
|
||||
id: npm-global-cache
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
path: ${{ steps.yarn-config.outputs.NPM_GLOBAL_CACHE_FOLDER }}
|
||||
key: npm-global-cache-default-${{ runner.os }}-${{ steps.yarn-config.outputs.CURRENT_NODE_VERSION }}-${{ hashFiles(yarn.lock, .yarnrc.yml) }}
|
||||
|
||||
@@ -36,16 +36,16 @@
|
||||
"@rushstack/node-core-library": "5.23.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/node": "^24.13.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,16 +50,16 @@
|
||||
"@microsoft/tsdoc": "~0.16.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/node": "^24.13.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -56,25 +56,25 @@
|
||||
"@rushstack/node-core-library": "5.23.1",
|
||||
"@rushstack/ts-command-line": "5.3.9",
|
||||
"colors": "~1.4.0",
|
||||
"diff": "~8.0.2",
|
||||
"resolve": "~1.22.11",
|
||||
"diff": "~8.0.4",
|
||||
"resolve": "~1.22.12",
|
||||
"semver": "~7.7.4",
|
||||
"source-map": "~0.6.1",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/node": "^24.13.3",
|
||||
"@types/resolve": "^1.20.6",
|
||||
"@types/semver": "^7.7.1",
|
||||
"@types/semver": "^7.8.0",
|
||||
"cpy-cli": "^7.0.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.2.9",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21"
|
||||
"turbo": "^2.10.12"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,25 +71,25 @@
|
||||
"@discordjs/ws": "workspace:^",
|
||||
"@msgpack/msgpack": "^3.1.3",
|
||||
"@vladfrangu/async_event_emitter": "^2.4.7",
|
||||
"ioredis": "^5.10.1"
|
||||
"ioredis": "^5.11.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -66,28 +66,28 @@
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@discordjs/util": "workspace:^",
|
||||
"discord-api-types": "^0.38.50",
|
||||
"discord-api-types": "^0.38.54",
|
||||
"ts-mixer": "^6.0.4",
|
||||
"tslib": "^2.8.1",
|
||||
"zod": "^4.3.6"
|
||||
"zod": "^4.5.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -63,20 +63,20 @@
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -70,25 +70,25 @@
|
||||
"@discordjs/ws": "workspace:^",
|
||||
"@sapphire/snowflake": "^3.5.5",
|
||||
"@vladfrangu/async_event_emitter": "^2.4.7",
|
||||
"discord-api-types": "^0.38.50"
|
||||
"discord-api-types": "^0.38.54"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -50,23 +50,23 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"commander": "^14.0.3",
|
||||
"commander": "^15.0.0",
|
||||
"prompts": "^2.4.2",
|
||||
"validate-npm-package-name": "^7.0.2"
|
||||
"validate-npm-package-name": "^8.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"@types/validate-npm-package-name": "^4.0.2",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
"start": "bun --env-file=.env src/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/core": "^2.4.0",
|
||||
"discord.js": "^14.25.1"
|
||||
"@discordjs/core": "^2.6.0",
|
||||
"discord.js": "^14.27.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"zod": "^4.3.6"
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"zod": "^4.5.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
"start": "bun --env-file=.env src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/core": "^2.4.0",
|
||||
"discord.js": "^14.25.1"
|
||||
"@discordjs/core": "^2.6.0",
|
||||
"discord.js": "^14.27.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sapphire/ts-config": "^5.0.3",
|
||||
"@types/bun": "^1.3.11",
|
||||
"eslint": "^9.39.4",
|
||||
"@types/bun": "^1.4.0",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"typescript": "~5.9.3",
|
||||
"zod": "^4.3.6"
|
||||
"zod": "^4.5.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,15 +11,15 @@
|
||||
"deploy": "node --env-file=.env src/util/deploy.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/core": "^2.4.0",
|
||||
"discord.js": "^14.25.1"
|
||||
"@discordjs/core": "^2.6.0",
|
||||
"discord.js": "^14.27.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"zod": "^4.3.6"
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"zod": "^4.5.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -12,18 +12,18 @@
|
||||
"start": "node --env-file=.env src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/core": "^2.4.0",
|
||||
"discord.js": "^14.25.1"
|
||||
"@discordjs/core": "^2.6.0",
|
||||
"discord.js": "^14.27.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sapphire/ts-config": "^5.0.3",
|
||||
"@types/node": "^24.13.2",
|
||||
"eslint": "^9.39.4",
|
||||
"@types/node": "^24.13.3",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"typescript": "~5.9.3",
|
||||
"zod": "^4.3.6"
|
||||
"zod": "^4.5.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -73,28 +73,28 @@
|
||||
"@discordjs/ws": "workspace:^",
|
||||
"@sapphire/snowflake": "3.5.5",
|
||||
"@vladfrangu/async_event_emitter": "^2.4.7",
|
||||
"discord-api-types": "^0.38.50",
|
||||
"discord-api-types": "^0.38.54",
|
||||
"fast-deep-equal": "3.1.3",
|
||||
"lodash.snakecase": "4.1.1",
|
||||
"magic-bytes.js": "^1.13.0",
|
||||
"magic-bytes.js": "^1.13.1",
|
||||
"tslib": "^2.8.1",
|
||||
"undici": "7.24.6"
|
||||
"undici": "^8.10.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/builders": "workspace:^",
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsd": "^0.33.0",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -383,7 +383,7 @@ client.on('interactionCreate', async interaction => {
|
||||
// @ts-expect-error double nested components array
|
||||
await interaction.reply({ content: 'Hi!', components: [[button]] });
|
||||
|
||||
void new ActionRowBuilder({});
|
||||
new ActionRowBuilder({});
|
||||
|
||||
// @ts-expect-error button as top-level component
|
||||
await interaction.reply({ content: 'Hi!', components: [button] });
|
||||
|
||||
@@ -61,23 +61,23 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"commander": "^14.0.3",
|
||||
"commander": "^15.0.0",
|
||||
"jsdoc-to-markdown": "^8.0.3",
|
||||
"tslib": "^2.8.1",
|
||||
"typedoc": "^0.25.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jsdoc-to-markdown": "^7.0.6",
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/node": "^24.13.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -55,25 +55,25 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"discord-api-types": "^0.38.50"
|
||||
"discord-api-types": "^0.38.54"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -72,25 +72,25 @@
|
||||
"@discordjs/rest": "workspace:^",
|
||||
"@discordjs/util": "workspace:^",
|
||||
"@discordjs/ws": "workspace:^",
|
||||
"discord-api-types": "^0.38.50"
|
||||
"discord-api-types": "^0.38.54"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
+10
-10
@@ -68,27 +68,27 @@
|
||||
"@discordjs/rest": "workspace:^",
|
||||
"@discordjs/util": "workspace:^",
|
||||
"tslib": "^2.8.1",
|
||||
"undici": "7.24.6"
|
||||
"undici": "^8.10.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/supertest": "^7.2.0",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@types/supertest": "^7.2.1",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"supertest": "^7.2.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import { Blob, Buffer } from 'node:buffer';
|
||||
import { sensitiveHeaders } from 'node:http2';
|
||||
import { MockAgent, setGlobalDispatcher, FormData as UndiciFormData } from 'undici';
|
||||
import type { IncomingHttpHeaders } from 'undici/types/header.js';
|
||||
import type { Interceptable, MockInterceptor } from 'undici/types/mock-interceptor.js';
|
||||
import { beforeEach, afterEach, test, expect, vitest } from 'vitest';
|
||||
import { REST } from '../src/index.js';
|
||||
import { makeRequest, resolveBody } from '../src/strategies/undiciRequest.js';
|
||||
import { buildHeaders, makeRequest, resolveBody } from '../src/strategies/undiciRequest.js';
|
||||
import { genPath } from './util.js';
|
||||
|
||||
const makeRequestMock = vitest.fn(makeRequest);
|
||||
@@ -102,6 +104,20 @@ test('resolveBody', async () => {
|
||||
await expect(resolveBody(true)).rejects.toThrow(TypeError);
|
||||
});
|
||||
|
||||
test('buildHeaders', () => {
|
||||
const raw: IncomingHttpHeaders = {
|
||||
'content-type': 'application/json',
|
||||
'x-array-header': ['a', 'b'],
|
||||
};
|
||||
(raw as Record<symbol, string[]>)[sensitiveHeaders] = ['authorization'];
|
||||
|
||||
const headers = buildHeaders(raw);
|
||||
|
||||
expect(headers.get('content-type')).toBe('application/json');
|
||||
expect(headers.get('x-array-header')).toStrictEqual('a, b');
|
||||
expect([...headers.keys()]).toStrictEqual(['content-type', 'x-array-header']);
|
||||
});
|
||||
|
||||
test('use passed undici request', async () => {
|
||||
mockPool
|
||||
.intercept({
|
||||
|
||||
+12
-12
@@ -88,29 +88,29 @@
|
||||
"@sapphire/async-queue": "^1.5.5",
|
||||
"@sapphire/snowflake": "^3.5.5",
|
||||
"@vladfrangu/async_event_emitter": "^2.4.7",
|
||||
"discord-api-types": "^0.38.50",
|
||||
"magic-bytes.js": "^1.13.0",
|
||||
"discord-api-types": "^0.38.54",
|
||||
"magic-bytes.js": "^1.13.1",
|
||||
"tslib": "^2.8.1",
|
||||
"undici": "7.24.6",
|
||||
"uuid": "^13.0.0"
|
||||
"undici": "^8.10.1",
|
||||
"uuid": "^14.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -383,8 +383,9 @@ export class REST extends AsyncEventEmitter<RestEvents> {
|
||||
}
|
||||
}
|
||||
|
||||
// Set the final body to the form data
|
||||
finalBody = formData;
|
||||
// Set the final body to the form data.
|
||||
// This cast is needed because of a mismatch between the version of undici-types provided by @types/node and undici
|
||||
finalBody = formData as unknown as BodyInit;
|
||||
|
||||
// eslint-disable-next-line no-eq-null, eqeqeq
|
||||
} else if (request.body != null) {
|
||||
|
||||
@@ -127,7 +127,7 @@ export async function makeNetworkRequest(
|
||||
data: requestData,
|
||||
retries,
|
||||
},
|
||||
res instanceof Response ? res.clone() : { ...res },
|
||||
res.clone?.() ?? { ...res },
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { Readable } from 'node:stream';
|
||||
import type { ReadableStream } from 'node:stream/web';
|
||||
import type { Collection } from '@discordjs/collection';
|
||||
import type { Awaitable, RawFile } from '@discordjs/util';
|
||||
import type { Agent, Dispatcher, RequestInit, BodyInit, Response } from 'undici';
|
||||
import type { Agent, Dispatcher, Headers, RequestInit, BodyInit, Response } from 'undici';
|
||||
import type { IHandler } from '../interfaces/Handler.js';
|
||||
|
||||
export interface RestEvents {
|
||||
@@ -264,9 +264,11 @@ export interface APIRequest {
|
||||
|
||||
export interface ResponseLike extends Pick<
|
||||
Response,
|
||||
'arrayBuffer' | 'bodyUsed' | 'headers' | 'json' | 'ok' | 'status' | 'statusText' | 'text'
|
||||
'arrayBuffer' | 'bodyUsed' | 'json' | 'ok' | 'status' | 'statusText' | 'text'
|
||||
> {
|
||||
body: Readable | ReadableStream | null;
|
||||
clone?(): ResponseLike;
|
||||
headers: Pick<Headers, typeof Symbol.iterator | 'get' | 'has'>;
|
||||
}
|
||||
|
||||
export interface InvalidRequestWarningData {
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Buffer } from 'node:buffer';
|
||||
import { STATUS_CODES } from 'node:http';
|
||||
import { types } from 'node:util';
|
||||
import { type RequestInit, request, Headers, FormData as UndiciFormData, Agent } from 'undici';
|
||||
import type { HeaderRecord } from 'undici/types/header.js';
|
||||
import type { IncomingHttpHeaders } from 'undici/types/header.js';
|
||||
import type { ResponseLike } from '../shared.js';
|
||||
|
||||
export type RequestOptions = Exclude<Parameters<typeof request>[1], undefined>;
|
||||
@@ -40,7 +40,7 @@ export async function makeRequest(url: string, init: RequestInit): Promise<Respo
|
||||
get bodyUsed() {
|
||||
return res.body.bodyUsed;
|
||||
},
|
||||
headers: new Headers(res.headers as HeaderRecord),
|
||||
headers: buildHeaders(res.headers),
|
||||
status: res.statusCode,
|
||||
statusText: STATUS_CODES[res.statusCode]!,
|
||||
ok: res.statusCode >= 200 && res.statusCode < 300,
|
||||
@@ -84,6 +84,28 @@ export async function resolveBody(body: RequestInit['body']): Promise<Exclude<Re
|
||||
throw new TypeError(`Unable to resolve body.`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @privateRemarks
|
||||
*
|
||||
* Under HTTP/2, Node.js attaches the symbol `sensitiveHeaders` to the headers object,
|
||||
* which the `Headers` constructor rejects. Hence the manual construction of the `Headers` object here.
|
||||
*/
|
||||
export function buildHeaders(headers: IncomingHttpHeaders): Headers {
|
||||
const result = new Headers();
|
||||
|
||||
for (const [name, value] of Object.entries(headers)) {
|
||||
if (Array.isArray(value)) {
|
||||
for (const entry of value) {
|
||||
result.append(name, `${entry}`);
|
||||
}
|
||||
} else {
|
||||
result.append(name, `${value}`);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
function globalToUndiciFormData(fd: globalThis.FormData): UndiciFormData {
|
||||
const clone = new UndiciFormData();
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
# Packages
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
|
||||
# Env
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/README.md
|
||||
!docs/examples/**/*
|
||||
|
||||
# Miscellaneous
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
+17
-16
@@ -4,13 +4,13 @@
|
||||
"version": "0.1.0",
|
||||
"description": "A simple RPC client for Discord",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "tsc --noEmit && tsup",
|
||||
"build:docs": "tsc -p tsconfig.docs.json",
|
||||
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src",
|
||||
"fmt": "pnpm run format",
|
||||
"docs": "pnpm run build:docs && api-extractor run --local --minify",
|
||||
"prepack": "pnpm run build && pnpm run lint",
|
||||
"docs": "pnpm run build:docs && api-extractor run --local --minify && generate-split-documentation",
|
||||
"prepack": "pnpm run lint && pnpm run build",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rpc/*'",
|
||||
"release": "cliff-jumper"
|
||||
},
|
||||
@@ -54,23 +54,24 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@vladfrangu/async_event_emitter": "^2.4.6",
|
||||
"discord-api-types": "^0.38.50"
|
||||
"@vladfrangu/async_event_emitter": "^2.4.7",
|
||||
"discord-api-types": "^0.38.54"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@favware/cliff-jumper": "^4.1.0",
|
||||
"@types/node": "^22.17.2",
|
||||
"cross-env": "^10.0.0",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.33.0",
|
||||
"eslint-config-neon": "^0.2.7",
|
||||
"eslint-formatter-compact": "^8.40.0",
|
||||
"eslint-formatter-pretty": "^6.0.1",
|
||||
"prettier": "^3.6.2",
|
||||
"tsup": "^8.5.0",
|
||||
"turbo": "^2.5.6",
|
||||
"typescript": "~5.9.2"
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -3,4 +3,5 @@ import { createTsupConfig } from '../../tsup.config.js';
|
||||
|
||||
export default createTsupConfig({
|
||||
esbuildPlugins: [esbuildPluginVersionInjector()],
|
||||
format: 'esm',
|
||||
});
|
||||
|
||||
@@ -60,30 +60,30 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@actions/glob": "^0.6.1",
|
||||
"@actions/glob": "^0.7.0",
|
||||
"@discordjs/api-extractor-model": "workspace:^",
|
||||
"@discordjs/api-extractor-utils": "workspace:^",
|
||||
"@microsoft/tsdoc": "~0.16.0",
|
||||
"@microsoft/tsdoc-config": "~0.18.1",
|
||||
"@vercel/blob": "^2.3.2",
|
||||
"@vercel/blob": "^2.8.0",
|
||||
"@vercel/postgres": "^0.10.0",
|
||||
"commander": "^14.0.3",
|
||||
"commander": "^15.0.0",
|
||||
"tslib": "^2.8.1",
|
||||
"undici": "7.24.6",
|
||||
"yaml": "^2.8.3"
|
||||
"undici": "^8.10.1",
|
||||
"yaml": "^2.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@turbo/gen": "^2.8.21",
|
||||
"@types/node": "^24.13.2",
|
||||
"@turbo/gen": "^2.10.12",
|
||||
"@types/node": "^24.13.3",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"terser": "^5.46.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"terser": "^5.51.2",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@@ -58,20 +58,20 @@
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -63,26 +63,26 @@
|
||||
"dependencies": {
|
||||
"@discordjs/formatters": "workspace:^",
|
||||
"@sapphire/snowflake": "^3.5.5",
|
||||
"discord-api-types": "^0.38.50"
|
||||
"discord-api-types": "^0.38.54"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cpy-cli": "^7.0.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
+25
-25
@@ -52,40 +52,40 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@ariakit/react": "^0.4.24",
|
||||
"@ariakit/react": "^0.4.39",
|
||||
"@react-icons/all-files": "^4.1.0",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4"
|
||||
"react": "^19.2.8",
|
||||
"react-dom": "^19.2.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@react-icons/all-files": "^4.1.0",
|
||||
"@storybook/addon-docs": "^10.3.3",
|
||||
"@storybook/addon-links": "^10.3.3",
|
||||
"@storybook/addon-themes": "^10.3.3",
|
||||
"@storybook/builder-vite": "^10.3.3",
|
||||
"@storybook/react": "^10.3.3",
|
||||
"@storybook/react-vite": "^10.3.3",
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@unocss/eslint-plugin": "^66.6.7",
|
||||
"@unocss/reset": "^66.6.7",
|
||||
"@vitejs/plugin-react": "^5.2.0",
|
||||
"chromatic": "^16.0.0",
|
||||
"@storybook/addon-docs": "^10.5.10",
|
||||
"@storybook/addon-links": "^10.5.10",
|
||||
"@storybook/addon-themes": "^10.5.10",
|
||||
"@storybook/builder-vite": "^10.5.10",
|
||||
"@storybook/react": "^10.5.10",
|
||||
"@storybook/react-vite": "^10.5.10",
|
||||
"@types/node": "^24.13.3",
|
||||
"@types/react": "^19.2.18",
|
||||
"@types/react-dom": "^19.2.5",
|
||||
"@unocss/eslint-plugin": "^66.9.2",
|
||||
"@unocss/reset": "^66.9.2",
|
||||
"@vitejs/plugin-react": "^6.1.1",
|
||||
"chromatic": "^18.7.2",
|
||||
"cross-env": "^10.1.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"prop-types": "^15.8.1",
|
||||
"storybook": "^10.3.3",
|
||||
"turbo": "^2.8.21",
|
||||
"storybook": "^10.5.10",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"unocss": "^66.6.7",
|
||||
"vite": "^7.3.1",
|
||||
"vite-plugin-dts": "^4.5.4"
|
||||
"unocss": "^66.9.2",
|
||||
"vite": "^8.2.2",
|
||||
"vite-plugin-dts": "^5.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
@@ -37,7 +37,7 @@ export default defineConfig({
|
||||
formats: ['es'],
|
||||
name: 'ui',
|
||||
},
|
||||
rollupOptions: {
|
||||
rolldownOptions: {
|
||||
external: [
|
||||
'react',
|
||||
'react-dom',
|
||||
|
||||
@@ -62,25 +62,25 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"discord-api-types": "^0.38.50"
|
||||
"discord-api-types": "^0.38.54"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2"
|
||||
"vitest": "^4.1.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
+13
-13
@@ -63,33 +63,33 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
||||
"dependencies": {
|
||||
"@snazzah/davey": "^0.1.11",
|
||||
"@snazzah/davey": "^0.1.12",
|
||||
"@types/ws": "^8.18.1",
|
||||
"discord-api-types": "^0.38.50",
|
||||
"discord-api-types": "^0.38.54",
|
||||
"prism-media": "^1.3.5",
|
||||
"tslib": "^2.8.1",
|
||||
"ws": "^8.20.0"
|
||||
"ws": "^8.21.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/opus": "^0.10.0",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@noble/ciphers": "^2.1.1",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@noble/ciphers": "^2.4.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.8.1",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2",
|
||||
"vitest-websocket-mock": "^0.5.0"
|
||||
"vitest": "^4.1.11",
|
||||
"vitest-websocket-mock": "^0.7.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=24.17.0"
|
||||
|
||||
+10
-10
@@ -78,28 +78,28 @@
|
||||
"@sapphire/async-queue": "^1.5.5",
|
||||
"@types/ws": "^8.18.1",
|
||||
"@vladfrangu/async_event_emitter": "^2.4.7",
|
||||
"discord-api-types": "^0.38.50",
|
||||
"discord-api-types": "^0.38.54",
|
||||
"tslib": "^2.8.1",
|
||||
"ws": "^8.20.0"
|
||||
"ws": "^8.21.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^24.13.2",
|
||||
"@vitest/coverage-v8": "^4.1.2",
|
||||
"@favware/cliff-jumper": "^6.1.0",
|
||||
"@types/node": "^24.13.3",
|
||||
"@vitest/coverage-v8": "^4.1.11",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-neon": "^0.3.2",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"eslint-formatter-pretty": "^7.1.0",
|
||||
"mock-socket": "^9.3.1",
|
||||
"prettier": "^3.8.1",
|
||||
"prettier": "~3.8.1",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.10.12",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^4.1.2",
|
||||
"vitest": "^4.1.11",
|
||||
"zlib-sync": "^0.1.10"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
Generated
+8653
-8947
File diff suppressed because it is too large
Load Diff
@@ -21,6 +21,8 @@ export default defineConfig({
|
||||
'**/index.{js,ts}',
|
||||
// All exports files that make subpackages available as submodules
|
||||
'**/exports/*.{js,ts}',
|
||||
// Actions
|
||||
'**/*.yml',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user