From e075643b50667b842a429a1853ce23fea850a837 Mon Sep 17 00:00:00 2001 From: Alex Yang <himself65@outlook.com> Date: Sun, 9 Mar 2025 01:33:33 -0800 Subject: [PATCH] chore: bump `bunchee` (#1725) --- package.json | 5 - packages/autotool/package.json | 2 +- packages/cloud/package.json | 2 +- packages/community/package.json | 2 +- packages/core/package.json | 2 +- packages/env/package.json | 2 +- packages/node-parser/package.json | 2 +- packages/providers/anthropic/package.json | 2 +- packages/providers/clip/package.json | 2 +- packages/providers/cohere/package.json | 2 +- packages/providers/deepinfra/package.json | 2 +- packages/providers/deepseek/package.json | 2 +- packages/providers/fireworks/package.json | 2 +- packages/providers/google/package.json | 2 +- packages/providers/groq/package.json | 2 +- packages/providers/huggingface/package.json | 2 +- packages/providers/jinaai/package.json | 2 +- packages/providers/mistral/package.json | 2 +- packages/providers/mixedbread/package.json | 2 +- packages/providers/ollama/package.json | 2 +- packages/providers/openai/package.json | 2 +- packages/providers/portkey-ai/package.json | 2 +- packages/providers/replicate/package.json | 2 +- packages/providers/storage/astra/package.json | 2 +- packages/providers/storage/azure/package.json | 2 +- .../providers/storage/chroma/package.json | 2 +- .../providers/storage/firestore/package.json | 2 +- .../providers/storage/milvus/package.json | 2 +- .../providers/storage/mongodb/package.json | 2 +- .../providers/storage/pinecone/package.json | 2 +- .../providers/storage/postgres/package.json | 2 +- .../providers/storage/qdrant/package.json | 2 +- .../providers/storage/upstash/package.json | 2 +- .../providers/storage/weaviate/package.json | 2 +- packages/providers/together/package.json | 2 +- packages/providers/vercel/package.json | 2 +- packages/providers/vllm/package.json | 2 +- packages/readers/package.json | 2 +- packages/workflow/package.json | 2 +- patches/bunchee@6.3.4.patch | 134 ------ pnpm-lock.yaml | 437 +++++++++++++----- 41 files changed, 371 insertions(+), 281 deletions(-) delete mode 100644 patches/bunchee@6.3.4.patch diff --git a/package.json b/package.json index b9bf8ea3f..aac556342 100644 --- a/package.json +++ b/package.json @@ -46,10 +46,5 @@ "*.{json,md,yml}": [ "prettier --write" ] - }, - "pnpm": { - "patchedDependencies": { - "bunchee@6.3.4": "patches/bunchee@6.3.4.patch" - } } } diff --git a/packages/autotool/package.json b/packages/autotool/package.json index b2c0052c9..73336b11c 100644 --- a/packages/autotool/package.json +++ b/packages/autotool/package.json @@ -75,7 +75,7 @@ "@swc/types": "^0.1.12", "@types/json-schema": "^7.0.15", "@types/node": "^22.9.0", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "llamaindex": "workspace:*", "next": "15.2.0", "rollup": "^4.28.1", diff --git a/packages/cloud/package.json b/packages/cloud/package.json index f0e2b2235..4d7be64be 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -59,7 +59,7 @@ "@hey-api/openapi-ts": "^0.61.0", "@llamaindex/core": "workspace:*", "@llamaindex/env": "workspace:*", - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "peerDependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/community/package.json b/packages/community/package.json index d6e9efd52..46441c6d5 100644 --- a/packages/community/package.json +++ b/packages/community/package.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@types/node": "^22.9.0", - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@aws-sdk/client-bedrock-agent-runtime": "^3.706.0", diff --git a/packages/core/package.json b/packages/core/package.json index 1aed6f7c7..79a0ecfce 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -316,7 +316,7 @@ "devDependencies": { "@edge-runtime/vm": "^4.0.4", "ajv": "^8.17.1", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "happy-dom": "^15.11.6", "natural": "^8.0.1" }, diff --git a/packages/env/package.json b/packages/env/package.json index 9ecf04b5e..0308e9c79 100644 --- a/packages/env/package.json +++ b/packages/env/package.json @@ -119,7 +119,7 @@ "@huggingface/transformers": "^3.0.2", "@types/node": "^22.9.0", "@types/readable-stream": "^4.0.15", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "vitest": "^2.1.5" }, "dependencies": { diff --git a/packages/node-parser/package.json b/packages/node-parser/package.json index 30f5732aa..9b4ef08b9 100644 --- a/packages/node-parser/package.json +++ b/packages/node-parser/package.json @@ -43,7 +43,7 @@ "@llamaindex/env": "workspace:*", "@types/html-to-text": "^9.0.4", "@types/node": "^22.9.0", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "tree-sitter": "^0.22.1", "web-tree-sitter": "^0.24.4" }, diff --git a/packages/providers/anthropic/package.json b/packages/providers/anthropic/package.json index 144c015b1..a3f7472f6 100644 --- a/packages/providers/anthropic/package.json +++ b/packages/providers/anthropic/package.json @@ -31,7 +31,7 @@ "test": "vitest run" }, "devDependencies": { - "bunchee": "6.3.4", + "bunchee": "6.4.0", "vitest": "^2.1.5" }, "dependencies": { diff --git a/packages/providers/clip/package.json b/packages/providers/clip/package.json index 9f06aba3f..132c0c81c 100644 --- a/packages/providers/clip/package.json +++ b/packages/providers/clip/package.json @@ -39,7 +39,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@huggingface/transformers": "^3.0.2", diff --git a/packages/providers/cohere/package.json b/packages/providers/cohere/package.json index bcd82ffa5..b212c6b57 100644 --- a/packages/providers/cohere/package.json +++ b/packages/providers/cohere/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/deepinfra/package.json b/packages/providers/deepinfra/package.json index 5ba3d414d..9b849fa12 100644 --- a/packages/providers/deepinfra/package.json +++ b/packages/providers/deepinfra/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/deepseek/package.json b/packages/providers/deepseek/package.json index dac8456e9..62a13465a 100644 --- a/packages/providers/deepseek/package.json +++ b/packages/providers/deepseek/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/env": "workspace:*", diff --git a/packages/providers/fireworks/package.json b/packages/providers/fireworks/package.json index 11756db75..707c5a36b 100644 --- a/packages/providers/fireworks/package.json +++ b/packages/providers/fireworks/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/env": "workspace:*", diff --git a/packages/providers/google/package.json b/packages/providers/google/package.json index 210bc8940..ebb5eed84 100644 --- a/packages/providers/google/package.json +++ b/packages/providers/google/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@google-cloud/vertexai": "1.9.0", diff --git a/packages/providers/groq/package.json b/packages/providers/groq/package.json index 3f422fc8f..950b44b2a 100644 --- a/packages/providers/groq/package.json +++ b/packages/providers/groq/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/env": "workspace:*", diff --git a/packages/providers/huggingface/package.json b/packages/providers/huggingface/package.json index 94186a963..945ddc883 100644 --- a/packages/providers/huggingface/package.json +++ b/packages/providers/huggingface/package.json @@ -39,7 +39,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@huggingface/inference": "^2.8.1", diff --git a/packages/providers/jinaai/package.json b/packages/providers/jinaai/package.json index 792451796..a24648a2a 100644 --- a/packages/providers/jinaai/package.json +++ b/packages/providers/jinaai/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/mistral/package.json b/packages/providers/mistral/package.json index a6c4af8ef..37e87923f 100644 --- a/packages/providers/mistral/package.json +++ b/packages/providers/mistral/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/mixedbread/package.json b/packages/providers/mixedbread/package.json index 5929997c1..22702a129 100644 --- a/packages/providers/mixedbread/package.json +++ b/packages/providers/mixedbread/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/ollama/package.json b/packages/providers/ollama/package.json index fd086eb31..4c9a4a45f 100644 --- a/packages/providers/ollama/package.json +++ b/packages/providers/ollama/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/openai/package.json b/packages/providers/openai/package.json index 92a13ed1d..47540dc6a 100644 --- a/packages/providers/openai/package.json +++ b/packages/providers/openai/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/portkey-ai/package.json b/packages/providers/portkey-ai/package.json index 7e679f4a5..76587ac3c 100644 --- a/packages/providers/portkey-ai/package.json +++ b/packages/providers/portkey-ai/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/replicate/package.json b/packages/providers/replicate/package.json index c5aa799b8..2b2059e9e 100644 --- a/packages/providers/replicate/package.json +++ b/packages/providers/replicate/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/storage/astra/package.json b/packages/providers/storage/astra/package.json index c56ba8b2e..8c719719c 100644 --- a/packages/providers/storage/astra/package.json +++ b/packages/providers/storage/astra/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@datastax/astra-db-ts": "^1.4.1", diff --git a/packages/providers/storage/azure/package.json b/packages/providers/storage/azure/package.json index a6fa67ae6..efabfdb1b 100644 --- a/packages/providers/storage/azure/package.json +++ b/packages/providers/storage/azure/package.json @@ -59,7 +59,7 @@ "devDependencies": { "@llamaindex/openai": "workspace:*", "@types/node": "^22.9.0", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "dotenv": "^16.4.7", "vitest": "^2.1.5" }, diff --git a/packages/providers/storage/chroma/package.json b/packages/providers/storage/chroma/package.json index a18d41641..02b8199ec 100644 --- a/packages/providers/storage/chroma/package.json +++ b/packages/providers/storage/chroma/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/storage/firestore/package.json b/packages/providers/storage/firestore/package.json index 7e5cf3e42..b8aa6d6a1 100644 --- a/packages/providers/storage/firestore/package.json +++ b/packages/providers/storage/firestore/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/storage/milvus/package.json b/packages/providers/storage/milvus/package.json index 885cab535..932611bc9 100644 --- a/packages/providers/storage/milvus/package.json +++ b/packages/providers/storage/milvus/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@llamaindex/openai": "workspace:*", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "vitest": "^2.1.5" }, "dependencies": { diff --git a/packages/providers/storage/mongodb/package.json b/packages/providers/storage/mongodb/package.json index 525a37e43..22d2e70c7 100644 --- a/packages/providers/storage/mongodb/package.json +++ b/packages/providers/storage/mongodb/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/storage/pinecone/package.json b/packages/providers/storage/pinecone/package.json index 18c06e758..34c8ab359 100644 --- a/packages/providers/storage/pinecone/package.json +++ b/packages/providers/storage/pinecone/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/storage/postgres/package.json b/packages/providers/storage/postgres/package.json index 372d39680..c6a6aa5a1 100644 --- a/packages/providers/storage/postgres/package.json +++ b/packages/providers/storage/postgres/package.json @@ -40,7 +40,7 @@ "devDependencies": { "@types/pg": "^8.11.8", "@vercel/postgres": "^0.10.0", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "pg": "^8.12.0", "pgvector": "0.2.0", "postgres": "^3.4.4" diff --git a/packages/providers/storage/qdrant/package.json b/packages/providers/storage/qdrant/package.json index b26216303..a575fe346 100644 --- a/packages/providers/storage/qdrant/package.json +++ b/packages/providers/storage/qdrant/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@llamaindex/openai": "workspace:*", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "vitest": "^2.1.5" }, "dependencies": { diff --git a/packages/providers/storage/upstash/package.json b/packages/providers/storage/upstash/package.json index df7d6ea8e..b64bd73dd 100644 --- a/packages/providers/storage/upstash/package.json +++ b/packages/providers/storage/upstash/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/storage/weaviate/package.json b/packages/providers/storage/weaviate/package.json index 93251e78e..435a82830 100644 --- a/packages/providers/storage/weaviate/package.json +++ b/packages/providers/storage/weaviate/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/together/package.json b/packages/providers/together/package.json index c82ce133c..a5f618bdf 100644 --- a/packages/providers/together/package.json +++ b/packages/providers/together/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/env": "workspace:*", diff --git a/packages/providers/vercel/package.json b/packages/providers/vercel/package.json index 4cb51bb85..f0f4ef7c8 100644 --- a/packages/providers/vercel/package.json +++ b/packages/providers/vercel/package.json @@ -38,7 +38,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/core": "workspace:*", diff --git a/packages/providers/vllm/package.json b/packages/providers/vllm/package.json index 1e4a6801b..f8dae4371 100644 --- a/packages/providers/vllm/package.json +++ b/packages/providers/vllm/package.json @@ -30,7 +30,7 @@ "dev": "bunchee --watch" }, "devDependencies": { - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "dependencies": { "@llamaindex/openai": "workspace:*" diff --git a/packages/readers/package.json b/packages/readers/package.json index 798bd1ccd..628480183 100644 --- a/packages/readers/package.json +++ b/packages/readers/package.json @@ -212,7 +212,7 @@ "@llamaindex/core": "workspace:*", "@llamaindex/env": "workspace:*", "@types/node": "^22.9.0", - "bunchee": "6.3.4", + "bunchee": "6.4.0", "p-limit": "^6.1.0", "string-strip-html": "^13.4.8" }, diff --git a/packages/workflow/package.json b/packages/workflow/package.json index 3425de5d1..0c7c32b91 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -85,7 +85,7 @@ "@llamaindex/env": "workspace:*", "@llamaindex/core": "workspace:*", "@types/node": "^22.9.0", - "bunchee": "6.3.4" + "bunchee": "6.4.0" }, "peerDependencies": { "@llamaindex/env": "workspace:*", diff --git a/patches/bunchee@6.3.4.patch b/patches/bunchee@6.3.4.patch deleted file mode 100644 index bb3b40059..000000000 --- a/patches/bunchee@6.3.4.patch +++ /dev/null @@ -1,134 +0,0 @@ -diff --git a/dist/bin/cli.js b/dist/bin/cli.js -old mode 100755 -new mode 100644 -index e74abd6fc8bd1853b82e9b84691d433a5152f6f5..d6c4f2a94346c29c0e65708e91cbfba1bb424998 ---- a/dist/bin/cli.js -+++ b/dist/bin/cli.js -@@ -1082,7 +1082,7 @@ Options: - --runtime <runtime> build runtime (nodejs, browser). default: browser - --env <env> inlined process env variables, separate by comma. default: NODE_ENV - --cwd <cwd> specify current working directory -- --sourcemap enable sourcemap generation, default: false -+ --sourcemap enable sourcemap generation - --no-dts do not generate types, default: undefined - --tsconfig path to tsconfig file, default: tsconfig.json - --dts-bundle bundle type declaration files, default: false -@@ -1141,7 +1141,7 @@ async function parseCliArgs(argv) { - description: 'js features target: swc target es versions' - }).option('sourcemap', { - type: 'boolean', -- default: false, -+ default: undefined, - description: 'enable sourcemap generation' - }).option('env', { - type: 'string', -@@ -1196,6 +1196,10 @@ async function parseCliArgs(argv) { - env: args['env'], - tsconfig: args['tsconfig'] - }; -+ // When minify is enabled, sourcemap should be enabled by default, unless explicitly opted out -+ if (parsedArgs.minify && typeof args['sourcemap'] === 'undefined') { -+ parsedArgs.sourcemap = true; -+ } - return parsedArgs; - } - async function run(args) { -diff --git a/dist/index.js b/dist/index.js -index 66c0eba9bbbb68ec7308e7a7fe528c6a764e09e7..c1301712afee9c637013756b151c1c07b0f066c1 100644 ---- a/dist/index.js -+++ b/dist/index.js -@@ -1308,7 +1308,7 @@ function hasNoSpecialCondition(conditionNames) { - ...conditionNames - ].every((name)=>!specialExportConventions.has(name)); - } --function findJsBundlePathCallback({ format, bundlePath, conditionNames }, specialCondition) { -+function findJsBundlePathCallback({ format, bundlePath, conditionNames }, specialCondition, defaultFormat) { - const hasBundle = bundlePath != null; - const formatCond = format === 'cjs' ? 'require' : 'import'; - const isTypesCondName = conditionNames.has('types'); -@@ -1317,8 +1317,9 @@ function findJsBundlePathCallback({ format, bundlePath, conditionNames }, specia - // if there's condition existed, check if the format condition is matched; - // if there's no condition, just return true, assuming format doesn't matter; - const isMatchedFormat = hasFormatCond ? conditionNames.has(formatCond) : true; -+ const isDefaultMatch = conditionNames.size === 1 && conditionNames.has('default') ? defaultFormat === format : true; - const isMatchedConditionWithFormat = conditionNames.has(specialCondition) || !conditionNames.has('default') && hasNoSpecialCondition(conditionNames); -- const match = isMatchedConditionWithFormat && !isTypesCondName && hasBundle && isMatchedFormat; -+ const match = isMatchedConditionWithFormat && !isTypesCondName && hasBundle && isMatchedFormat && isDefaultMatch; - if (!match) { - const fallback = runtimeExportConventionsFallback.get(specialCondition); - if (!fallback) { -@@ -1341,17 +1342,37 @@ function findTypesFileCallback({ format, bundlePath, conditionNames }) { - return isTypesCondName && hasCondition && (formatCond ? conditionNames.has(formatCond) : true); - } - // Alias entry key to dist bundle path --function aliasEntries({ entry: sourceFilePath, conditionNames, entries, format, dts, cwd }) { -+function aliasEntries({ entry: sourceFilePath, conditionNames, entries, defaultFormat, format, dts, cwd }) { - // <imported source file path>: <relative path to source's bundle> - const sourceToRelativeBundleMap = new Map(); - const specialCondition = getSpecialExportTypeFromConditionNames(conditionNames); - for (const [, exportCondition] of Object.entries(entries)){ - const exportDistMaps = exportCondition.export; -- const exportMapEntries = Object.entries(exportDistMaps).map(([composedKey, bundlePath])=>({ -- conditionNames: new Set(composedKey.split('.')), -+ const exportMapEntries = Object.entries(exportDistMaps).map(([composedKey, bundlePath])=>{ -+ const conditionNames = new Set(composedKey.split('.')); -+ return { -+ conditionNames, - bundlePath, -- format -- })); -+ format, -+ isFallback: conditionNames.size === 1 && conditionNames.has('default') -+ }; -+ }).sort((a, b)=>{ -+ // Always put special condition after the general condition (default, cjs, esm) -+ if (a.conditionNames.has(specialCondition)) { -+ return -1; -+ } else if (b.conditionNames.has(specialCondition)) { -+ return 1; -+ } -+ // Always put default condition at the end. -+ // In the case of cjs resolves default(esm) -+ if (a.isFallback) { -+ return 1; -+ } -+ if (b.isFallback) { -+ return -1; -+ } -+ return 0; -+ }); - let matchedBundlePath; - if (dts) { - var _exportMapEntries_find; -@@ -1369,19 +1390,10 @@ function aliasEntries({ entry: sourceFilePath, conditionNames, entries, format, - })) == null ? undefined : _exportMapEntries_find1.bundlePath; - } - } else { -- var _exportMapEntries_sort_find; -- matchedBundlePath = (_exportMapEntries_sort_find = exportMapEntries.sort(// always put special condition after the general condition (default, cjs, esm) -- (a, b)=>{ -- if (a.conditionNames.has(specialCondition)) { -- return -1; -- } -- if (b.conditionNames.has(specialCondition)) { -- return 1; -- } -- return 0; -- }).find((item)=>{ -- return findJsBundlePathCallback(item, specialCondition); -- })) == null ? undefined : _exportMapEntries_sort_find.bundlePath; -+ var _exportMapEntries_find2; -+ matchedBundlePath = (_exportMapEntries_find2 = exportMapEntries.find((item)=>{ -+ return findJsBundlePathCallback(item, specialCondition, defaultFormat); -+ })) == null ? undefined : _exportMapEntries_find2.bundlePath; - } - if (matchedBundlePath) { - if (!sourceToRelativeBundleMap.has(exportCondition.source)) sourceToRelativeBundleMap.set(exportCondition.source, matchedBundlePath); -@@ -1546,6 +1558,7 @@ async function buildInputConfig(entry, bundleConfig, exportCondition, buildConte - entry, - entries, - format: aliasFormat, -+ defaultFormat: isESModulePackage(pkg.type) ? 'esm' : 'cjs', - conditionNames: new Set(currentConditionNames.split('.')), - dts, - cwd diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2b309fa5b..557083c43 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,11 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -patchedDependencies: - bunchee@6.3.4: - hash: pavboztthlgni7m5gzw7643oru - path: patches/bunchee@6.3.4.patch - importers: .: @@ -804,8 +799,8 @@ importers: specifier: ^22.9.0 version: 22.9.0 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) llamaindex: specifier: workspace:* version: link:../llamaindex @@ -859,8 +854,8 @@ importers: specifier: workspace:* version: link:../env bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/community: dependencies: @@ -881,8 +876,8 @@ importers: specifier: ^22.9.0 version: 22.9.0 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/core: dependencies: @@ -909,8 +904,8 @@ importers: specifier: ^8.17.1 version: 8.17.1 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) happy-dom: specifier: ^15.11.6 version: 15.11.7 @@ -952,8 +947,8 @@ importers: specifier: ^4.0.15 version: 4.0.18 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) vitest: specifier: ^2.1.5 version: 2.1.5(@edge-runtime/vm@4.0.4)(@types/node@22.9.0)(happy-dom@15.11.7)(lightningcss@1.29.1)(msw@2.7.0(@types/node@22.9.0)(typescript@5.7.3))(terser@5.38.2) @@ -1072,8 +1067,8 @@ importers: specifier: ^22.9.0 version: 22.9.0 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) tree-sitter: specifier: ^0.22.1 version: 0.22.4 @@ -1097,8 +1092,8 @@ importers: version: 2.20.1 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) vitest: specifier: ^2.1.5 version: 2.1.5(@edge-runtime/vm@4.0.4)(@types/node@22.13.5)(happy-dom@15.11.7)(lightningcss@1.29.1)(msw@2.7.0(@types/node@22.13.5)(typescript@5.7.3))(terser@5.38.2) @@ -1119,8 +1114,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/cohere: dependencies: @@ -1135,8 +1130,8 @@ importers: version: 7.14.0 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/deepinfra: dependencies: @@ -1151,8 +1146,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/deepseek: dependencies: @@ -1164,8 +1159,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/fireworks: dependencies: @@ -1177,8 +1172,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/google: dependencies: @@ -1196,8 +1191,8 @@ importers: version: link:../../env devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/groq: dependencies: @@ -1212,8 +1207,8 @@ importers: version: 0.8.0 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/huggingface: dependencies: @@ -1234,8 +1229,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/jinaai: dependencies: @@ -1250,8 +1245,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/mistral: dependencies: @@ -1266,8 +1261,8 @@ importers: version: 1.5.0(zod@3.24.2) devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/mixedbread: dependencies: @@ -1282,8 +1277,8 @@ importers: version: 2.2.11 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/ollama: dependencies: @@ -1301,8 +1296,8 @@ importers: version: 2.20.1 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/openai: dependencies: @@ -1317,8 +1312,8 @@ importers: version: 4.86.0(ws@8.18.0(bufferutil@4.0.9))(zod@3.24.2) devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/portkey-ai: dependencies: @@ -1336,8 +1331,8 @@ importers: version: 2.20.1 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/replicate: dependencies: @@ -1352,8 +1347,8 @@ importers: version: 1.0.1 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/storage/astra: dependencies: @@ -1368,8 +1363,8 @@ importers: version: link:../../../env devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/storage/azure: dependencies: @@ -1399,8 +1394,8 @@ importers: specifier: ^22.9.0 version: 22.9.0 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) dotenv: specifier: ^16.4.7 version: 16.4.7 @@ -1424,8 +1419,8 @@ importers: version: 2.13.2 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/storage/firestore: dependencies: @@ -1440,8 +1435,8 @@ importers: version: link:../../../env devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/storage/milvus: dependencies: @@ -1462,8 +1457,8 @@ importers: specifier: workspace:* version: link:../../openai bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) vitest: specifier: ^2.1.5 version: 2.1.5(@edge-runtime/vm@4.0.4)(@types/node@22.13.5)(happy-dom@15.11.7)(lightningcss@1.29.1)(msw@2.7.0(@types/node@22.13.5)(typescript@5.7.3))(terser@5.38.2) @@ -1481,8 +1476,8 @@ importers: version: 6.7.0(@aws-sdk/credential-providers@3.744.0)(socks@2.8.4) devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/storage/pinecone: dependencies: @@ -1497,8 +1492,8 @@ importers: version: 4.1.0 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/storage/postgres: dependencies: @@ -1522,8 +1517,8 @@ importers: specifier: ^0.10.0 version: 0.10.0 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) pgvector: specifier: 0.2.0 version: 0.2.0 @@ -1547,8 +1542,8 @@ importers: specifier: workspace:* version: link:../../openai bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) vitest: specifier: ^2.1.5 version: 2.1.5(@edge-runtime/vm@4.0.4)(@types/node@22.13.5)(happy-dom@15.11.7)(lightningcss@1.29.1)(msw@2.7.0(@types/node@22.13.5)(typescript@5.7.3))(terser@5.38.2) @@ -1566,8 +1561,8 @@ importers: version: 1.2.0 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/storage/weaviate: dependencies: @@ -1582,8 +1577,8 @@ importers: version: 3.3.6 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/together: dependencies: @@ -1595,8 +1590,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/vercel: dependencies: @@ -1611,8 +1606,8 @@ importers: version: 3.24.2 devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/vllm: dependencies: @@ -1621,8 +1616,8 @@ importers: version: link:../openai devDependencies: bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) packages/providers/voyage-ai: dependencies: @@ -1686,8 +1681,8 @@ importers: specifier: ^22.9.0 version: 22.9.0 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) p-limit: specifier: ^6.1.0 version: 6.2.0 @@ -1733,8 +1728,8 @@ importers: specifier: ^22.9.0 version: 22.9.0 bunchee: - specifier: 6.3.4 - version: 6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3) + specifier: 6.4.0 + version: 6.4.0(typescript@5.7.3) unit: dependencies: @@ -4389,96 +4384,191 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.35.0': + resolution: {integrity: sha512-uYQ2WfPaqz5QtVgMxfN6NpLD+no0MYHDBywl7itPYd3K5TjjSghNKmX8ic9S8NU8w81NVhJv/XojcHptRly7qQ==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.34.6': resolution: {integrity: sha512-E8+2qCIjciYUnCa1AiVF1BkRgqIGW9KzJeesQqVfyRITGQN+dFuoivO0hnro1DjT74wXLRZ7QF8MIbz+luGaJA==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.35.0': + resolution: {integrity: sha512-FtKddj9XZudurLhdJnBl9fl6BwCJ3ky8riCXjEw3/UIbjmIY58ppWwPEvU3fNu+W7FUsAsB1CdH+7EQE6CXAPA==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.34.6': resolution: {integrity: sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.35.0': + resolution: {integrity: sha512-Uk+GjOJR6CY844/q6r5DR/6lkPFOw0hjfOIzVx22THJXMxktXG6CbejseJFznU8vHcEBLpiXKY3/6xc+cBm65Q==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.34.6': resolution: {integrity: sha512-PShKVY4u0FDAR7jskyFIYVyHEPCPnIQY8s5OcXkdU8mz3Y7eXDJPdyM/ZWjkYdR2m0izD9HHWA8sGcXn+Qrsyg==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.35.0': + resolution: {integrity: sha512-3IrHjfAS6Vkp+5bISNQnPogRAW5GAV1n+bNCrDwXmfMHbPl5EhTmWtfmwlJxFRUCBZ+tZ/OxDyU08aF6NI/N5Q==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-freebsd-arm64@4.34.6': resolution: {integrity: sha512-YSwyOqlDAdKqs0iKuqvRHLN4SrD2TiswfoLfvYXseKbL47ht1grQpq46MSiQAx6rQEN8o8URtpXARCpqabqxGQ==} cpu: [arm64] os: [freebsd] + '@rollup/rollup-freebsd-arm64@4.35.0': + resolution: {integrity: sha512-sxjoD/6F9cDLSELuLNnY0fOrM9WA0KrM0vWm57XhrIMf5FGiN8D0l7fn+bpUeBSU7dCgPV2oX4zHAsAXyHFGcQ==} + cpu: [arm64] + os: [freebsd] + '@rollup/rollup-freebsd-x64@4.34.6': resolution: {integrity: sha512-HEP4CgPAY1RxXwwL5sPFv6BBM3tVeLnshF03HMhJYCNc6kvSqBgTMmsEjb72RkZBAWIqiPUyF1JpEBv5XT9wKQ==} cpu: [x64] os: [freebsd] + '@rollup/rollup-freebsd-x64@4.35.0': + resolution: {integrity: sha512-2mpHCeRuD1u/2kruUiHSsnjWtHjqVbzhBkNVQ1aVD63CcexKVcQGwJ2g5VphOd84GvxfSvnnlEyBtQCE5hxVVw==} + cpu: [x64] + os: [freebsd] + '@rollup/rollup-linux-arm-gnueabihf@4.34.6': resolution: {integrity: sha512-88fSzjC5xeH9S2Vg3rPgXJULkHcLYMkh8faix8DX4h4TIAL65ekwuQMA/g2CXq8W+NJC43V6fUpYZNjaX3+IIg==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.35.0': + resolution: {integrity: sha512-mrA0v3QMy6ZSvEuLs0dMxcO2LnaCONs1Z73GUDBHWbY8tFFocM6yl7YyMu7rz4zS81NDSqhrUuolyZXGi8TEqg==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.34.6': resolution: {integrity: sha512-wM4ztnutBqYFyvNeR7Av+reWI/enK9tDOTKNF+6Kk2Q96k9bwhDDOlnCUNRPvromlVXo04riSliMBs/Z7RteEg==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.35.0': + resolution: {integrity: sha512-DnYhhzcvTAKNexIql8pFajr0PiDGrIsBYPRvCKlA5ixSS3uwo/CWNZxB09jhIapEIg945KOzcYEAGGSmTSpk7A==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.34.6': resolution: {integrity: sha512-9RyprECbRa9zEjXLtvvshhw4CMrRa3K+0wcp3KME0zmBe1ILmvcVHnypZ/aIDXpRyfhSYSuN4EPdCCj5Du8FIA==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.35.0': + resolution: {integrity: sha512-uagpnH2M2g2b5iLsCTZ35CL1FgyuzzJQ8L9VtlJ+FckBXroTwNOaD0z0/UF+k5K3aNQjbm8LIVpxykUOQt1m/A==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.34.6': resolution: {integrity: sha512-qTmklhCTyaJSB05S+iSovfo++EwnIEZxHkzv5dep4qoszUMX5Ca4WM4zAVUMbfdviLgCSQOu5oU8YoGk1s6M9Q==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.35.0': + resolution: {integrity: sha512-XQxVOCd6VJeHQA/7YcqyV0/88N6ysSVzRjJ9I9UA/xXpEsjvAgDTgH3wQYz5bmr7SPtVK2TsP2fQ2N9L4ukoUg==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-loongarch64-gnu@4.34.6': resolution: {integrity: sha512-4Qmkaps9yqmpjY5pvpkfOerYgKNUGzQpFxV6rnS7c/JfYbDSU0y6WpbbredB5cCpLFGJEqYX40WUmxMkwhWCjw==} cpu: [loong64] os: [linux] + '@rollup/rollup-linux-loongarch64-gnu@4.35.0': + resolution: {integrity: sha512-5pMT5PzfgwcXEwOaSrqVsz/LvjDZt+vQ8RT/70yhPU06PTuq8WaHhfT1LW+cdD7mW6i/J5/XIkX/1tCAkh1W6g==} + cpu: [loong64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.34.6': resolution: {integrity: sha512-Zsrtux3PuaxuBTX/zHdLaFmcofWGzaWW1scwLU3ZbW/X+hSsFbz9wDIp6XvnT7pzYRl9MezWqEqKy7ssmDEnuQ==} cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.35.0': + resolution: {integrity: sha512-c+zkcvbhbXF98f4CtEIP1EBA/lCic5xB0lToneZYvMeKu5Kamq3O8gqrxiYYLzlZH6E3Aq+TSW86E4ay8iD8EA==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.34.6': resolution: {integrity: sha512-aK+Zp+CRM55iPrlyKiU3/zyhgzWBxLVrw2mwiQSYJRobCURb781+XstzvA8Gkjg/hbdQFuDw44aUOxVQFycrAg==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.35.0': + resolution: {integrity: sha512-s91fuAHdOwH/Tad2tzTtPX7UZyytHIRR6V4+2IGlV0Cej5rkG0R61SX4l4y9sh0JBibMiploZx3oHKPnQBKe4g==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.34.6': resolution: {integrity: sha512-WoKLVrY9ogmaYPXwTH326+ErlCIgMmsoRSx6bO+l68YgJnlOXhygDYSZe/qbUJCSiCiZAQ+tKm88NcWuUXqOzw==} cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.35.0': + resolution: {integrity: sha512-hQRkPQPLYJZYGP+Hj4fR9dDBMIM7zrzJDWFEMPdTnTy95Ljnv0/4w/ixFw3pTBMEuuEuoqtBINYND4M7ujcuQw==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.34.6': resolution: {integrity: sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.35.0': + resolution: {integrity: sha512-Pim1T8rXOri+0HmV4CdKSGrqcBWX0d1HoPnQ0uw0bdp1aP5SdQVNBy8LjYncvnLgu3fnnCt17xjWGd4cqh8/hA==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.34.6': resolution: {integrity: sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.35.0': + resolution: {integrity: sha512-QysqXzYiDvQWfUiTm8XmJNO2zm9yC9P/2Gkrwg2dH9cxotQzunBHYr6jk4SujCTqnfGxduOmQcI7c2ryuW8XVg==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.34.6': resolution: {integrity: sha512-3/q1qUsO/tLqGBaD4uXsB6coVGB3usxw3qyeVb59aArCgedSF66MPdgRStUd7vbZOsko/CgVaY5fo2vkvPLWiA==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.35.0': + resolution: {integrity: sha512-OUOlGqPkVJCdJETKOCEf1mw848ZyJ5w50/rZ/3IBQVdLfR5jk/6Sr5m3iO2tdPgwo0x7VcncYuOvMhBWZq8ayg==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.34.6': resolution: {integrity: sha512-oLHxuyywc6efdKVTxvc0135zPrRdtYVjtVD5GUm55I3ODxhU/PwkQFD97z16Xzxa1Fz0AEe4W/2hzRtd+IfpOA==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.35.0': + resolution: {integrity: sha512-2/lsgejMrtwQe44glq7AFFHLfJBPafpsTa6JvP2NGef/ifOa4KBoglVf7AKN7EV9o32evBPRqfg96fEHzWo5kw==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.34.6': resolution: {integrity: sha512-0PVwmgzZ8+TZ9oGBmdZoQVXflbvuwzN/HRclujpl4N/q3i+y0lqLw8n1bXA8ru3sApDjlmONaNAuYr38y1Kr9w==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.35.0': + resolution: {integrity: sha512-PIQeY5XDkrOysbQblSW7v3l1MDZzkTEzAfTPkj5VAu3FW8fS4ynyLg2sINp0fp3SjZ8xkRYpLqoKcYqAkhU1dw==} + cpu: [x64] + os: [win32] + '@rtsao/scc@1.1.0': resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -6098,8 +6188,8 @@ packages: typescript: optional: true - bunchee@6.3.4: - resolution: {integrity: sha512-bMy2/+tdMPXOqBAX+9BI0HTNjOXOZ2TXjgFpp5Prt0ztP15xQQUcsECnU7wuBPpLH+4id3rXakH9icdbBRZHZQ==} + bunchee@6.4.0: + resolution: {integrity: sha512-GjYCzFBgq/kaotXa6Ssxu6msyxKKus5flqREp3++RpGJdvjYrM4jb0gDVIjniVu0V3zkYvBVErc1dYTWT1fjTA==} engines: {node: '>= 18.0.0'} hasBin: true peerDependencies: @@ -10469,6 +10559,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.35.0: + resolution: {integrity: sha512-kg6oI4g+vc41vePJyO6dHt/yl0Rz3Thv0kJeVQ3D1kS3E5XSuKbPc29G4IpT/Kv1KQwgHVcN+HtyS+HYLNSvQg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + rsc-html-stream@0.0.4: resolution: {integrity: sha512-1isiXIrlTI/vRLTvS3O4fMrO9qIHje1FSphufrIV5QfzHUgBDCZFwP9b8+rH63nbhxtcKTqfyziwM+2khfX0Uw==} @@ -14957,12 +15052,30 @@ snapshots: optionalDependencies: rollup: 4.34.6 + '@rollup/plugin-commonjs@28.0.2(rollup@4.35.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.35.0) + commondir: 1.0.1 + estree-walker: 2.0.2 + fdir: 6.4.3(picomatch@4.0.2) + is-reference: 1.2.1 + magic-string: 0.30.17 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.35.0 + '@rollup/plugin-json@6.1.0(rollup@4.34.6)': dependencies: '@rollup/pluginutils': 5.1.4(rollup@4.34.6) optionalDependencies: rollup: 4.34.6 + '@rollup/plugin-json@6.1.0(rollup@4.35.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.35.0) + optionalDependencies: + rollup: 4.35.0 + '@rollup/plugin-node-resolve@15.3.1(rollup@4.34.6)': dependencies: '@rollup/pluginutils': 5.1.4(rollup@4.34.6) @@ -14973,15 +15086,15 @@ snapshots: optionalDependencies: rollup: 4.34.6 - '@rollup/plugin-node-resolve@16.0.0(rollup@4.34.6)': + '@rollup/plugin-node-resolve@16.0.0(rollup@4.35.0)': dependencies: - '@rollup/pluginutils': 5.1.4(rollup@4.34.6) + '@rollup/pluginutils': 5.1.4(rollup@4.35.0) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 resolve: 1.22.10 optionalDependencies: - rollup: 4.34.6 + rollup: 4.35.0 '@rollup/plugin-replace@6.0.2(rollup@4.34.6)': dependencies: @@ -14990,12 +15103,25 @@ snapshots: optionalDependencies: rollup: 4.34.6 + '@rollup/plugin-replace@6.0.2(rollup@4.35.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.35.0) + magic-string: 0.30.17 + optionalDependencies: + rollup: 4.35.0 + '@rollup/plugin-wasm@6.2.2(rollup@4.34.6)': dependencies: '@rollup/pluginutils': 5.1.4(rollup@4.34.6) optionalDependencies: rollup: 4.34.6 + '@rollup/plugin-wasm@6.2.2(rollup@4.35.0)': + dependencies: + '@rollup/pluginutils': 5.1.4(rollup@4.35.0) + optionalDependencies: + rollup: 4.35.0 + '@rollup/pluginutils@5.1.4(rollup@4.34.6)': dependencies: '@types/estree': 1.0.6 @@ -15004,63 +15130,128 @@ snapshots: optionalDependencies: rollup: 4.34.6 + '@rollup/pluginutils@5.1.4(rollup@4.35.0)': + dependencies: + '@types/estree': 1.0.6 + estree-walker: 2.0.2 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.35.0 + '@rollup/rollup-android-arm-eabi@4.34.6': optional: true + '@rollup/rollup-android-arm-eabi@4.35.0': + optional: true + '@rollup/rollup-android-arm64@4.34.6': optional: true + '@rollup/rollup-android-arm64@4.35.0': + optional: true + '@rollup/rollup-darwin-arm64@4.34.6': optional: true + '@rollup/rollup-darwin-arm64@4.35.0': + optional: true + '@rollup/rollup-darwin-x64@4.34.6': optional: true + '@rollup/rollup-darwin-x64@4.35.0': + optional: true + '@rollup/rollup-freebsd-arm64@4.34.6': optional: true + '@rollup/rollup-freebsd-arm64@4.35.0': + optional: true + '@rollup/rollup-freebsd-x64@4.34.6': optional: true + '@rollup/rollup-freebsd-x64@4.35.0': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.34.6': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.35.0': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.34.6': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.35.0': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.34.6': optional: true + '@rollup/rollup-linux-arm64-gnu@4.35.0': + optional: true + '@rollup/rollup-linux-arm64-musl@4.34.6': optional: true + '@rollup/rollup-linux-arm64-musl@4.35.0': + optional: true + '@rollup/rollup-linux-loongarch64-gnu@4.34.6': optional: true + '@rollup/rollup-linux-loongarch64-gnu@4.35.0': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.34.6': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.35.0': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.34.6': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.35.0': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.34.6': optional: true + '@rollup/rollup-linux-s390x-gnu@4.35.0': + optional: true + '@rollup/rollup-linux-x64-gnu@4.34.6': optional: true + '@rollup/rollup-linux-x64-gnu@4.35.0': + optional: true + '@rollup/rollup-linux-x64-musl@4.34.6': optional: true + '@rollup/rollup-linux-x64-musl@4.35.0': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.34.6': optional: true + '@rollup/rollup-win32-arm64-msvc@4.35.0': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.34.6': optional: true + '@rollup/rollup-win32-ia32-msvc@4.35.0': + optional: true + '@rollup/rollup-win32-x64-msvc@4.34.6': optional: true + '@rollup/rollup-win32-x64-msvc@4.35.0': + optional: true + '@rtsao/scc@1.1.0': {} '@rushstack/eslint-patch@1.10.5': {} @@ -17192,15 +17383,15 @@ snapshots: optionalDependencies: typescript: 5.7.3 - bunchee@6.3.4(patch_hash=pavboztthlgni7m5gzw7643oru)(typescript@5.7.3): + bunchee@6.4.0(typescript@5.7.3): dependencies: - '@rollup/plugin-commonjs': 28.0.2(rollup@4.34.6) - '@rollup/plugin-json': 6.1.0(rollup@4.34.6) - '@rollup/plugin-node-resolve': 16.0.0(rollup@4.34.6) - '@rollup/plugin-replace': 6.0.2(rollup@4.34.6) - '@rollup/plugin-wasm': 6.2.2(rollup@4.34.6) - '@rollup/pluginutils': 5.1.4(rollup@4.34.6) - '@swc/core': 1.10.15(@swc/helpers@0.5.15) + '@rollup/plugin-commonjs': 28.0.2(rollup@4.35.0) + '@rollup/plugin-json': 6.1.0(rollup@4.35.0) + '@rollup/plugin-node-resolve': 16.0.0(rollup@4.35.0) + '@rollup/plugin-replace': 6.0.2(rollup@4.35.0) + '@rollup/plugin-wasm': 6.2.2(rollup@4.35.0) + '@rollup/pluginutils': 5.1.4(rollup@4.35.0) + '@swc/core': 1.10.16(@swc/helpers@0.5.15) '@swc/helpers': 0.5.15 clean-css: 5.3.3 fast-glob: 3.3.3 @@ -17208,10 +17399,10 @@ snapshots: ora: 8.2.0 picomatch: 4.0.2 pretty-bytes: 5.6.0 - rollup: 4.34.6 - rollup-plugin-dts: 6.1.1(rollup@4.34.6)(typescript@5.7.3) - rollup-plugin-swc3: 0.11.2(@swc/core@1.10.15(@swc/helpers@0.5.15))(rollup@4.34.6) - rollup-preserve-directives: 1.1.3(rollup@4.34.6) + rollup: 4.35.0 + rollup-plugin-dts: 6.1.1(rollup@4.35.0)(typescript@5.7.3) + rollup-plugin-swc3: 0.11.2(@swc/core@1.10.16(@swc/helpers@0.5.15))(rollup@4.35.0) + rollup-preserve-directives: 1.1.3(rollup@4.35.0) tslib: 2.8.1 yargs: 17.7.2 optionalDependencies: @@ -22955,6 +23146,14 @@ snapshots: optionalDependencies: '@babel/code-frame': 7.26.2 + rollup-plugin-dts@6.1.1(rollup@4.35.0)(typescript@5.7.3): + dependencies: + magic-string: 0.30.17 + rollup: 4.35.0 + typescript: 5.7.3 + optionalDependencies: + '@babel/code-frame': 7.26.2 + rollup-plugin-inject@3.0.2: dependencies: estree-walker: 0.6.1 @@ -22965,23 +23164,23 @@ snapshots: dependencies: rollup-plugin-inject: 3.0.2 - rollup-plugin-swc3@0.11.2(@swc/core@1.10.15(@swc/helpers@0.5.15))(rollup@4.34.6): + rollup-plugin-swc3@0.11.2(@swc/core@1.10.16(@swc/helpers@0.5.15))(rollup@4.34.6): dependencies: '@fastify/deepmerge': 1.3.0 '@rollup/pluginutils': 5.1.4(rollup@4.34.6) - '@swc/core': 1.10.15(@swc/helpers@0.5.15) + '@swc/core': 1.10.16(@swc/helpers@0.5.15) get-tsconfig: 4.10.0 rollup: 4.34.6 rollup-preserve-directives: 1.1.3(rollup@4.34.6) - rollup-plugin-swc3@0.11.2(@swc/core@1.10.16(@swc/helpers@0.5.15))(rollup@4.34.6): + rollup-plugin-swc3@0.11.2(@swc/core@1.10.16(@swc/helpers@0.5.15))(rollup@4.35.0): dependencies: '@fastify/deepmerge': 1.3.0 - '@rollup/pluginutils': 5.1.4(rollup@4.34.6) + '@rollup/pluginutils': 5.1.4(rollup@4.35.0) '@swc/core': 1.10.16(@swc/helpers@0.5.15) get-tsconfig: 4.10.0 - rollup: 4.34.6 - rollup-preserve-directives: 1.1.3(rollup@4.34.6) + rollup: 4.35.0 + rollup-preserve-directives: 1.1.3(rollup@4.35.0) rollup-pluginutils@2.8.2: dependencies: @@ -22992,6 +23191,11 @@ snapshots: magic-string: 0.30.17 rollup: 4.34.6 + rollup-preserve-directives@1.1.3(rollup@4.35.0): + dependencies: + magic-string: 0.30.17 + rollup: 4.35.0 + rollup@4.34.6: dependencies: '@types/estree': 1.0.6 @@ -23017,6 +23221,31 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.34.6 fsevents: 2.3.3 + rollup@4.35.0: + dependencies: + '@types/estree': 1.0.6 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.35.0 + '@rollup/rollup-android-arm64': 4.35.0 + '@rollup/rollup-darwin-arm64': 4.35.0 + '@rollup/rollup-darwin-x64': 4.35.0 + '@rollup/rollup-freebsd-arm64': 4.35.0 + '@rollup/rollup-freebsd-x64': 4.35.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.35.0 + '@rollup/rollup-linux-arm-musleabihf': 4.35.0 + '@rollup/rollup-linux-arm64-gnu': 4.35.0 + '@rollup/rollup-linux-arm64-musl': 4.35.0 + '@rollup/rollup-linux-loongarch64-gnu': 4.35.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.35.0 + '@rollup/rollup-linux-riscv64-gnu': 4.35.0 + '@rollup/rollup-linux-s390x-gnu': 4.35.0 + '@rollup/rollup-linux-x64-gnu': 4.35.0 + '@rollup/rollup-linux-x64-musl': 4.35.0 + '@rollup/rollup-win32-arm64-msvc': 4.35.0 + '@rollup/rollup-win32-ia32-msvc': 4.35.0 + '@rollup/rollup-win32-x64-msvc': 4.35.0 + fsevents: 2.3.3 + rsc-html-stream@0.0.4: {} run-parallel@1.2.0: -- GitLab