@nocobase/plugin-ai 2.1.0-beta.17 → 2.1.0-beta.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/ai/ai-employees/atlas/prompt.md +28 -22
  2. package/dist/ai/ai-employees/viz.js +14 -88
  3. package/dist/ai/skills/business-analysis-report/SKILLS.md +8 -3
  4. package/dist/ai/skills/business-analysis-report/tools/businessReportGenerator.js +49 -8
  5. package/dist/client/280.003b9e9788599244.js +10 -0
  6. package/dist/client/{646.51313bb0d85d6366.js → 646.cba98d80e9e6ea74.js} +1 -1
  7. package/dist/client/index.js +4 -4
  8. package/dist/common/recommended-models.js +1 -25
  9. package/dist/externalVersion.js +14 -14
  10. package/dist/locale/en-US.json +9 -0
  11. package/dist/locale/zh-CN.json +9 -0
  12. package/dist/node_modules/fast-glob/package.json +1 -1
  13. package/dist/node_modules/flexsearch/package.json +1 -1
  14. package/dist/node_modules/fs-extra/package.json +1 -1
  15. package/dist/node_modules/jsonrepair/bin/cli.js +179 -0
  16. package/dist/node_modules/jsonrepair/lib/cjs/index.js +1 -0
  17. package/dist/node_modules/jsonrepair/lib/cjs/package.json +3 -0
  18. package/dist/node_modules/jsonrepair/lib/cjs/regular/jsonrepair.js +746 -0
  19. package/dist/node_modules/jsonrepair/lib/cjs/stream.js +13 -0
  20. package/dist/node_modules/jsonrepair/lib/cjs/streaming/buffer/InputBuffer.js +75 -0
  21. package/dist/node_modules/jsonrepair/lib/cjs/streaming/buffer/OutputBuffer.js +117 -0
  22. package/dist/node_modules/jsonrepair/lib/cjs/streaming/core.js +824 -0
  23. package/dist/node_modules/jsonrepair/lib/cjs/streaming/stack.js +51 -0
  24. package/dist/node_modules/jsonrepair/lib/cjs/streaming/stream.js +37 -0
  25. package/dist/node_modules/jsonrepair/lib/cjs/utils/JSONRepairError.js +14 -0
  26. package/dist/node_modules/jsonrepair/lib/cjs/utils/stringUtils.js +174 -0
  27. package/dist/node_modules/jsonrepair/lib/esm/index.js +4 -0
  28. package/dist/node_modules/jsonrepair/lib/esm/regular/jsonrepair.js +740 -0
  29. package/dist/node_modules/jsonrepair/lib/esm/stream.js +3 -0
  30. package/dist/node_modules/jsonrepair/lib/esm/streaming/buffer/InputBuffer.js +69 -0
  31. package/dist/node_modules/jsonrepair/lib/esm/streaming/buffer/OutputBuffer.js +111 -0
  32. package/dist/node_modules/jsonrepair/lib/esm/streaming/core.js +818 -0
  33. package/dist/node_modules/jsonrepair/lib/esm/streaming/stack.js +44 -0
  34. package/dist/node_modules/jsonrepair/lib/esm/streaming/stream.js +31 -0
  35. package/dist/node_modules/jsonrepair/lib/esm/utils/JSONRepairError.js +7 -0
  36. package/dist/node_modules/jsonrepair/lib/esm/utils/stringUtils.js +147 -0
  37. package/dist/node_modules/jsonrepair/lib/types/index.d.ts +3 -0
  38. package/dist/node_modules/jsonrepair/lib/types/regular/jsonrepair.d.ts +18 -0
  39. package/dist/node_modules/jsonrepair/lib/types/stream.d.ts +2 -0
  40. package/dist/node_modules/jsonrepair/lib/types/streaming/buffer/InputBuffer.d.ts +14 -0
  41. package/dist/node_modules/jsonrepair/lib/types/streaming/buffer/OutputBuffer.d.ts +18 -0
  42. package/dist/node_modules/jsonrepair/lib/types/streaming/core.d.ts +11 -0
  43. package/dist/node_modules/jsonrepair/lib/types/streaming/stack.d.ts +20 -0
  44. package/dist/node_modules/jsonrepair/lib/types/streaming/stream.d.ts +7 -0
  45. package/dist/node_modules/jsonrepair/lib/types/utils/JSONRepairError.d.ts +5 -0
  46. package/dist/node_modules/jsonrepair/lib/types/utils/stringUtils.d.ts +65 -0
  47. package/dist/node_modules/jsonrepair/lib/umd/jsonrepair.js +903 -0
  48. package/dist/node_modules/jsonrepair/lib/umd/jsonrepair.min.js +3 -0
  49. package/dist/node_modules/jsonrepair/lib/umd/package.json +3 -0
  50. package/dist/node_modules/jsonrepair/package.json +1 -0
  51. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  52. package/dist/node_modules/openai/package.json +1 -1
  53. package/dist/node_modules/zod/package.json +1 -1
  54. package/dist/server/resource/aiEmployees.js +15 -1
  55. package/dist/server/resource/aiSkills.js +1 -1
  56. package/package.json +2 -2
  57. package/dist/client/280.029428b83d62155f.js +0 -10
@@ -31,31 +31,7 @@ __export(recommended_models_exports, {
31
31
  recommendedModels: () => recommendedModels
32
32
  });
33
33
  module.exports = __toCommonJS(recommended_models_exports);
34
- const recommendedModels = {
35
- "google-genai": [
36
- { label: "Gemini 3 Pro Preview", value: "models/gemini-3-pro-preview" },
37
- { label: "Gemini 3 Flash Preview", value: "models/gemini-3-flash-preview" }
38
- ],
39
- openai: [
40
- { label: "GPT-5.3-Codex", value: "gpt-5.3-codex" },
41
- { label: "GPT-5.2", value: "gpt-5.2" }
42
- ],
43
- anthropic: [
44
- { label: "Claude Opus 4.6", value: "claude-opus-4-6" },
45
- { label: "Claude Sonnet 4.5", value: "claude-sonnet-4-5" }
46
- ],
47
- dashscope: [{ label: "Qwen3 Max", value: "qwen3-max-2026-01-23" }],
48
- deepseek: [
49
- { label: "DeepSeek Chat", value: "deepseek-chat" },
50
- { label: "DeepSeek Reasoner", value: "deepseek-reasoner" }
51
- ],
52
- kimi: [
53
- { label: "Kimi K2.5", value: "kimi-k2.5" },
54
- { label: "Kimi K2", value: "kimi-k2-0905-Preview" },
55
- { label: "Kimi K2 Turbo", value: "kimi-k2-turbo-preview" }
56
- ],
57
- ollama: []
58
- };
34
+ const recommendedModels = {};
59
35
  const isRecommendedModel = (provider, modelId) => {
60
36
  const models = recommendedModels[provider] || [];
61
37
  return models.some((m) => modelId.toLowerCase() === m.value.toLowerCase());
@@ -8,21 +8,21 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/plugin-acl": "2.1.0-beta.17",
12
- "@nocobase/plugin-workflow": "2.1.0-beta.17",
13
- "@nocobase/client": "2.1.0-beta.17",
14
- "@nocobase/utils": "2.1.0-beta.17",
15
- "@nocobase/database": "2.1.0-beta.17",
16
- "@nocobase/server": "2.1.0-beta.17",
17
- "@nocobase/plugin-file-manager": "2.1.0-beta.17",
18
- "@nocobase/actions": "2.1.0-beta.17",
19
- "@nocobase/ai": "2.1.0-beta.17",
11
+ "@nocobase/plugin-acl": "2.1.0-beta.19",
12
+ "@nocobase/plugin-workflow": "2.1.0-beta.19",
13
+ "@nocobase/client": "2.1.0-beta.19",
14
+ "@nocobase/utils": "2.1.0-beta.19",
15
+ "@nocobase/database": "2.1.0-beta.19",
16
+ "@nocobase/server": "2.1.0-beta.19",
17
+ "@nocobase/plugin-file-manager": "2.1.0-beta.19",
18
+ "@nocobase/actions": "2.1.0-beta.19",
19
+ "@nocobase/ai": "2.1.0-beta.19",
20
20
  "langchain": "1.2.24",
21
21
  "react": "18.2.0",
22
22
  "antd": "5.24.2",
23
23
  "@formily/core": "2.3.7",
24
24
  "@formily/react": "2.3.7",
25
- "@nocobase/flow-engine": "2.1.0-beta.17",
25
+ "@nocobase/flow-engine": "2.1.0-beta.19",
26
26
  "@ant-design/icons": "5.6.1",
27
27
  "@formily/antd-v5": "1.2.3",
28
28
  "react-router-dom": "6.30.1",
@@ -37,14 +37,14 @@ module.exports = {
37
37
  "@langchain/deepseek": "1.0.11",
38
38
  "@langchain/google-genai": "2.1.18",
39
39
  "@langchain/ollama": "1.2.2",
40
- "@nocobase/acl": "2.1.0-beta.17",
41
- "@nocobase/resourcer": "2.1.0-beta.17",
40
+ "@nocobase/acl": "2.1.0-beta.19",
41
+ "@nocobase/resourcer": "2.1.0-beta.19",
42
42
  "@emotion/css": "11.13.0",
43
43
  "dayjs": "1.11.13",
44
44
  "react-i18next": "11.18.6",
45
- "@nocobase/plugin-data-source-manager": "2.1.0-beta.17",
45
+ "@nocobase/plugin-data-source-manager": "2.1.0-beta.19",
46
46
  "ahooks": "3.7.8",
47
47
  "@langchain/langgraph-checkpoint": "1.0.0",
48
- "@nocobase/data-source-manager": "2.1.0-beta.17",
48
+ "@nocobase/data-source-manager": "2.1.0-beta.19",
49
49
  "react-dom": "18.2.0"
50
50
  };
@@ -6,9 +6,18 @@
6
6
  "AI integration": "AI integration",
7
7
  "AI is searching": "{{ nickname }} is searching...",
8
8
  "AI is thinking": "{{ nickname }} is thinking...",
9
+ "Preset": "Preset",
9
10
  "Use all AI employee skills": "Use all AI employee skills",
11
+ "Leave empty to disable skills.": "Leave empty to disable skills.",
12
+ "Configure the skills available to this node": "Configure the skills available to this node",
13
+ "Use the AI employee's default skills for this node.": "Use the AI employee's default skills for this node.",
14
+ "Select the specific skills this node is allowed to use.": "Select the specific skills this node is allowed to use.",
10
15
  "Restrict task skills": "Restrict task skills",
11
16
  "Use all AI employee tools": "Use all AI employee tools",
17
+ "Leave empty to disable tools.": "Leave empty to disable tools.",
18
+ "Configure the tools available to this node": "Configure the tools available to this node",
19
+ "Use the AI employee's default tools for this node.": "Use the AI employee's default tools for this node.",
20
+ "Select the specific tools this node is allowed to use.": "Select the specific tools this node is allowed to use.",
12
21
  "Restrict task tools": "Restrict task tools",
13
22
  "Use default model": "Use default model",
14
23
  "Search disables tools": "The current model does not support tool calls when web search is enabled, which may affect task results",
@@ -6,9 +6,18 @@
6
6
  "AI integration": "AI 集成",
7
7
  "AI is searching": "{{ nickname }}正在搜索...",
8
8
  "AI is thinking": "{{ nickname }}正在思考...",
9
+ "Preset": "预设",
9
10
  "Use all AI employee skills": "使用 AI 员工全部技能",
11
+ "Leave empty to disable skills.": "留空则不使用技能。",
12
+ "Configure the skills available to this node": "配置当前节点可使用的技能",
13
+ "Use the AI employee's default skills for this node.": "使用该 AI 员工默认配置的技能。",
14
+ "Select the specific skills this node is allowed to use.": "自行选择当前节点允许使用的技能。",
10
15
  "Restrict task skills": "限定任务技能",
11
16
  "Use all AI employee tools": "使用 AI 员工全部工具",
17
+ "Leave empty to disable tools.": "留空则不使用工具。",
18
+ "Configure the tools available to this node": "配置当前节点可使用的工具",
19
+ "Use the AI employee's default tools for this node.": "使用该 AI 员工默认配置的工具。",
20
+ "Select the specific tools this node is allowed to use.": "自行选择当前节点允许使用的工具。",
12
21
  "Restrict task tools": "限定任务工具",
13
22
  "Use default model": "使用默认模型",
14
23
  "Search disables tools": "当前模型在启用联网搜索时不支持工具调用,可能影响任务结果",
@@ -1 +1 @@
1
- {"name":"fast-glob","version":"3.3.2","description":"It's a very fast and efficient glob library for Node.js","license":"MIT","repository":"mrmlnc/fast-glob","author":{"name":"Denis Malinochkin","url":"https://mrmlnc.com"},"engines":{"node":">=8.6.0"},"main":"out/index.js","typings":"out/index.d.ts","files":["out","!out/{benchmark,tests}","!out/**/*.map","!out/**/*.spec.*"],"keywords":["glob","patterns","fast","implementation"],"devDependencies":{"@nodelib/fs.macchiato":"^1.0.1","@types/glob-parent":"^5.1.0","@types/merge2":"^1.1.4","@types/micromatch":"^4.0.0","@types/mocha":"^5.2.7","@types/node":"^14.18.53","@types/picomatch":"^2.3.0","@types/sinon":"^7.5.0","bencho":"^0.1.1","eslint":"^6.5.1","eslint-config-mrmlnc":"^1.1.0","execa":"^7.1.1","fast-glob":"^3.0.4","fdir":"^6.0.1","glob":"^10.0.0","hereby":"^1.8.1","mocha":"^6.2.1","rimraf":"^5.0.0","sinon":"^7.5.0","snap-shot-it":"^7.9.10","typescript":"^4.9.5"},"dependencies":{"@nodelib/fs.stat":"^2.0.2","@nodelib/fs.walk":"^1.2.3","glob-parent":"^5.1.2","merge2":"^1.3.0","micromatch":"^4.0.4"},"scripts":{"clean":"rimraf out","lint":"eslint \"src/**/*.ts\" --cache","compile":"tsc","test":"mocha \"out/**/*.spec.js\" -s 0","test:e2e":"mocha \"out/**/*.e2e.js\" -s 0","test:e2e:sync":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(sync\\)\"","test:e2e:async":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(async\\)\"","test:e2e:stream":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(stream\\)\"","build":"npm run clean && npm run compile && npm run lint && npm test","watch":"npm run clean && npm run compile -- --sourceMap --watch","bench:async":"npm run bench:product:async && npm run bench:regression:async","bench:stream":"npm run bench:product:stream && npm run bench:regression:stream","bench:sync":"npm run bench:product:sync && npm run bench:regression:sync","bench:product":"npm run bench:product:async && npm run bench:product:sync && npm run bench:product:stream","bench:product:async":"hereby bench:product:async","bench:product:sync":"hereby bench:product:sync","bench:product:stream":"hereby bench:product:stream","bench:regression":"npm run bench:regression:async && npm run bench:regression:sync && npm run bench:regression:stream","bench:regression:async":"hereby bench:regression:async","bench:regression:sync":"hereby bench:regression:sync","bench:regression:stream":"hereby bench:regression:stream"},"_lastModified":"2026-04-24T15:28:08.051Z"}
1
+ {"name":"fast-glob","version":"3.3.2","description":"It's a very fast and efficient glob library for Node.js","license":"MIT","repository":"mrmlnc/fast-glob","author":{"name":"Denis Malinochkin","url":"https://mrmlnc.com"},"engines":{"node":">=8.6.0"},"main":"out/index.js","typings":"out/index.d.ts","files":["out","!out/{benchmark,tests}","!out/**/*.map","!out/**/*.spec.*"],"keywords":["glob","patterns","fast","implementation"],"devDependencies":{"@nodelib/fs.macchiato":"^1.0.1","@types/glob-parent":"^5.1.0","@types/merge2":"^1.1.4","@types/micromatch":"^4.0.0","@types/mocha":"^5.2.7","@types/node":"^14.18.53","@types/picomatch":"^2.3.0","@types/sinon":"^7.5.0","bencho":"^0.1.1","eslint":"^6.5.1","eslint-config-mrmlnc":"^1.1.0","execa":"^7.1.1","fast-glob":"^3.0.4","fdir":"^6.0.1","glob":"^10.0.0","hereby":"^1.8.1","mocha":"^6.2.1","rimraf":"^5.0.0","sinon":"^7.5.0","snap-shot-it":"^7.9.10","typescript":"^4.9.5"},"dependencies":{"@nodelib/fs.stat":"^2.0.2","@nodelib/fs.walk":"^1.2.3","glob-parent":"^5.1.2","merge2":"^1.3.0","micromatch":"^4.0.4"},"scripts":{"clean":"rimraf out","lint":"eslint \"src/**/*.ts\" --cache","compile":"tsc","test":"mocha \"out/**/*.spec.js\" -s 0","test:e2e":"mocha \"out/**/*.e2e.js\" -s 0","test:e2e:sync":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(sync\\)\"","test:e2e:async":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(async\\)\"","test:e2e:stream":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(stream\\)\"","build":"npm run clean && npm run compile && npm run lint && npm test","watch":"npm run clean && npm run compile -- --sourceMap --watch","bench:async":"npm run bench:product:async && npm run bench:regression:async","bench:stream":"npm run bench:product:stream && npm run bench:regression:stream","bench:sync":"npm run bench:product:sync && npm run bench:regression:sync","bench:product":"npm run bench:product:async && npm run bench:product:sync && npm run bench:product:stream","bench:product:async":"hereby bench:product:async","bench:product:sync":"hereby bench:product:sync","bench:product:stream":"hereby bench:product:stream","bench:regression":"npm run bench:regression:async && npm run bench:regression:sync && npm run bench:regression:stream","bench:regression:async":"hereby bench:regression:async","bench:regression:sync":"hereby bench:regression:sync","bench:regression:stream":"hereby bench:regression:stream"},"_lastModified":"2026-04-26T10:50:09.631Z"}
@@ -1 +1 @@
1
- {"public":true,"preferGlobal":false,"name":"flexsearch","version":"0.8.212","description":"Next-Generation full-text search library for Browser and Node.js","homepage":"https://github.com/nextapps-de/flexsearch/","author":"Thomas Wilkerling","copyright":"Nextapps GmbH","license":"Apache-2.0","readme":"README.md","keywords":["fulltext search","elastic search","fastest search","contextual search","document search","fuzzy search","fuzzy match","search engine"],"repository":{"type":"git","url":"https://github.com/nextapps-de/flexsearch.git"},"bugs":{"url":"https://github.com/nextapps-de/flexsearch/issues","email":"info@nextapps.de"},"main":"dist/flexsearch.bundle.min.js","module":"dist/flexsearch.bundle.module.min.mjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dist/flexsearch.bundle.module.min.mjs","require":"./dist/flexsearch.bundle.min.js"},"./lang/*":{"import":"./dist/module/lang/*.js","require":"./dist/lang/*.min.js"},"./db/*":{"import":"./dist/module/db/*/index.js","require":"./dist/db/*/index.cjs"},"./debug":{"import":"./dist/flexsearch.bundle.module.debug.mjs","require":"./dist/flexsearch.bundle.debug.js"}},"browser":{"flexsearch":"./dist/flexsearch.bundle.module.min.mjs","flexsearch/debug":"./dist/flexsearch.bundle.module.debug.mjs","dist/flexsearch.bundle.min.js":"./dist/flexsearch.bundle.min.js","dist/flexsearch.bundle.module.min.js":"./dist/flexsearch.bundle.module.min.mjs","dist/flexsearch.bundle.module.min.mjs":"./dist/flexsearch.bundle.module.min.mjs","worker_threads":false,"path":false,"clickhouse":false,"mongodb":false,"pg-promise":false,"redis":false,"sqlite3":false},"scripts":{"build":"npm run build:bundle && npm run build:bundle:debug && exit 0","build:bundle":"node task/build RELEASE=bundle DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:bundle:debug":"node task/build RELEASE=bundle DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:compact":"node task/build RELEASE=compact DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:compact:debug":"node task/build RELEASE=compact DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:light":"node task/build RELEASE=light DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:light:debug":"node task/build RELEASE=light DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:es5":"node task/build RELEASE=es5 DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:es5:debug":"node task/build RELEASE=es5 DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:lang":"node task/build RELEASE=lang","build:db":"npx rollup tmp/db/indexeddb/index.js --file dist/db/indexeddb/index.cjs --format cjs && npx rollup tmp/db/postgres/index.js --file dist/db/postgres/index.cjs --format cjs && npx rollup tmp/db/sqlite/index.js --file dist/db/sqlite/index.cjs --format cjs && npx rollup tmp/db/mongodb/index.js --file dist/db/mongodb/index.cjs --format cjs && npx rollup tmp/db/redis/index.js --file dist/db/redis/index.cjs --format cjs && npx rollup tmp/db/clickhouse/index.js --file dist/db/clickhouse/index.cjs --format cjs","build:module":"node task/babel && exit 0","build:module:debug":"node task/babel DEBUG=true && exit 0","build:module:min":"node task/babel RELEASE=min && exit 0","build:module:bundle":"node task/build RELEASE=bundle.module DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:module:bundle:debug":"node task/build RELEASE=bundle.module DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:compact":"node task/build RELEASE=compact.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:compact:debug":"node task/build RELEASE=compact.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:light":"node task/build RELEASE=light.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:light:debug":"node task/build RELEASE=light.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:all":"npm run build:bundle && npm run build:bundle:debug && npm run build:light && npm run build:light:debug && npm run build:compact && npm run build:compact:debug && npm run build:module:bundle && npm run build:module:bundle:debug && npm run build:module:light && npm run build:module:light:debug && npm run build:module:compact && npm run build:module:compact:debug && npm run build:es5 && npm run build:es5:debug && npm run build:lang && npm run build:module && npm run build:module:debug && npm run build:module:min && npm run build:db","build:custom":"node task/build RELEASE=custom","test":"mocha test/*.js --exit","test:coverage":"c8 -c test/.c8rc.json mocha test/*.js --exit","test:keystore":"set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c test/.c8rc.json mocha test/keystore.js --exit","test:db":"c8 -c test/.c8rc.json mocha test/persistent.*.js --exit","test:all":"npx mocha test/*.js --exit module/bundle && npx mocha test/*.js --exit module-debug/bundle && npx mocha test/*.js --exit module-min/bundle && npx mocha test/*.js --exit flexsearch.bundle.debug && npx mocha test/*.js --exit flexsearch.bundle.min && npx mocha test/*.js --exit flexsearch.bundle.module.debug && npx mocha test/*.js --exit flexsearch.bundle.module.min && npx mocha test/*.js --exit flexsearch.compact.debug && npx mocha test/*.js --exit flexsearch.compact.min && npx mocha test/*.js --exit flexsearch.compact.module.debug && npx mocha test/*.js --exit flexsearch.compact.module.min && npx mocha test/*.js --exit flexsearch.es5.debug && npx mocha test/*.js --exit flexsearch.es5.min && npx mocha test/*.js --exit flexsearch.light.debug && npx mocha test/*.js --exit flexsearch.light.min && npx mocha test/*.js --exit flexsearch.light.module.debug && npx mocha test/*.js --exit flexsearch.light.module.min","release":"npm version --no-git-tag-version patch && npm run build:all && npm run test:all"},"files":["dist/**","src/**","task/**","index.d.ts","README.md","CHANGELOG.md","LICENSE"],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-conditional-compile":"^0.0.5","babel-plugin-minify-constant-folding":"^0.5.0","babel-plugin-minify-dead-code-elimination":"^0.5.2","babel-plugin-minify-flip-comparisons":"^0.4.3","babel-plugin-minify-guarded-expressions":"^0.4.4","babel-plugin-minify-infinity":"^0.4.3","babel-plugin-minify-mangle-names":"^0.5.1","babel-plugin-minify-replace":"^0.5.0","babel-plugin-minify-simplify":"^0.5.1","babel-plugin-minify-type-constructors":"^0.4.3","babel-plugin-transform-member-expression-literals":"^6.9.4","babel-plugin-transform-merge-sibling-variables":"^6.9.5","babel-plugin-transform-minify-booleans":"^6.9.4","babel-plugin-transform-property-literals":"^6.9.4","babel-plugin-transform-simplify-comparison-operators":"^6.9.4","babel-plugin-transform-undefined-to-void":"^6.9.4","c8":"^10.1.3","chai":"^5.2.0","clickhouse":"^2.6.0","google-closure-compiler":"^20250520.0.0","mocha":"^11.1.0","mongodb":"^6.13.0","pg-promise":"^11.13.0","redis":"^5.1.0","rollup":"^4.35.0","sqlite3":"^5.1.7"},"funding":[{"type":"github","url":"https://github.com/ts-thomas"},{"type":"paypal","url":"https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW"},{"type":"opencollective","url":"https://opencollective.com/flexsearch"},{"type":"patreon","url":"https://patreon.com/user?u=96245532"},{"type":"liberapay","url":"https://liberapay.com/ts-thomas"}],"_lastModified":"2026-04-24T15:28:08.440Z"}
1
+ {"public":true,"preferGlobal":false,"name":"flexsearch","version":"0.8.212","description":"Next-Generation full-text search library for Browser and Node.js","homepage":"https://github.com/nextapps-de/flexsearch/","author":"Thomas Wilkerling","copyright":"Nextapps GmbH","license":"Apache-2.0","readme":"README.md","keywords":["fulltext search","elastic search","fastest search","contextual search","document search","fuzzy search","fuzzy match","search engine"],"repository":{"type":"git","url":"https://github.com/nextapps-de/flexsearch.git"},"bugs":{"url":"https://github.com/nextapps-de/flexsearch/issues","email":"info@nextapps.de"},"main":"dist/flexsearch.bundle.min.js","module":"dist/flexsearch.bundle.module.min.mjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dist/flexsearch.bundle.module.min.mjs","require":"./dist/flexsearch.bundle.min.js"},"./lang/*":{"import":"./dist/module/lang/*.js","require":"./dist/lang/*.min.js"},"./db/*":{"import":"./dist/module/db/*/index.js","require":"./dist/db/*/index.cjs"},"./debug":{"import":"./dist/flexsearch.bundle.module.debug.mjs","require":"./dist/flexsearch.bundle.debug.js"}},"browser":{"flexsearch":"./dist/flexsearch.bundle.module.min.mjs","flexsearch/debug":"./dist/flexsearch.bundle.module.debug.mjs","dist/flexsearch.bundle.min.js":"./dist/flexsearch.bundle.min.js","dist/flexsearch.bundle.module.min.js":"./dist/flexsearch.bundle.module.min.mjs","dist/flexsearch.bundle.module.min.mjs":"./dist/flexsearch.bundle.module.min.mjs","worker_threads":false,"path":false,"clickhouse":false,"mongodb":false,"pg-promise":false,"redis":false,"sqlite3":false},"scripts":{"build":"npm run build:bundle && npm run build:bundle:debug && exit 0","build:bundle":"node task/build RELEASE=bundle DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:bundle:debug":"node task/build RELEASE=bundle DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:compact":"node task/build RELEASE=compact DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:compact:debug":"node task/build RELEASE=compact DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:light":"node task/build RELEASE=light DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:light:debug":"node task/build RELEASE=light DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:es5":"node task/build RELEASE=es5 DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:es5:debug":"node task/build RELEASE=es5 DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:lang":"node task/build RELEASE=lang","build:db":"npx rollup tmp/db/indexeddb/index.js --file dist/db/indexeddb/index.cjs --format cjs && npx rollup tmp/db/postgres/index.js --file dist/db/postgres/index.cjs --format cjs && npx rollup tmp/db/sqlite/index.js --file dist/db/sqlite/index.cjs --format cjs && npx rollup tmp/db/mongodb/index.js --file dist/db/mongodb/index.cjs --format cjs && npx rollup tmp/db/redis/index.js --file dist/db/redis/index.cjs --format cjs && npx rollup tmp/db/clickhouse/index.js --file dist/db/clickhouse/index.cjs --format cjs","build:module":"node task/babel && exit 0","build:module:debug":"node task/babel DEBUG=true && exit 0","build:module:min":"node task/babel RELEASE=min && exit 0","build:module:bundle":"node task/build RELEASE=bundle.module DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:module:bundle:debug":"node task/build RELEASE=bundle.module DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:compact":"node task/build RELEASE=compact.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:compact:debug":"node task/build RELEASE=compact.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:light":"node task/build RELEASE=light.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:light:debug":"node task/build RELEASE=light.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:all":"npm run build:bundle && npm run build:bundle:debug && npm run build:light && npm run build:light:debug && npm run build:compact && npm run build:compact:debug && npm run build:module:bundle && npm run build:module:bundle:debug && npm run build:module:light && npm run build:module:light:debug && npm run build:module:compact && npm run build:module:compact:debug && npm run build:es5 && npm run build:es5:debug && npm run build:lang && npm run build:module && npm run build:module:debug && npm run build:module:min && npm run build:db","build:custom":"node task/build RELEASE=custom","test":"mocha test/*.js --exit","test:coverage":"c8 -c test/.c8rc.json mocha test/*.js --exit","test:keystore":"set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c test/.c8rc.json mocha test/keystore.js --exit","test:db":"c8 -c test/.c8rc.json mocha test/persistent.*.js --exit","test:all":"npx mocha test/*.js --exit module/bundle && npx mocha test/*.js --exit module-debug/bundle && npx mocha test/*.js --exit module-min/bundle && npx mocha test/*.js --exit flexsearch.bundle.debug && npx mocha test/*.js --exit flexsearch.bundle.min && npx mocha test/*.js --exit flexsearch.bundle.module.debug && npx mocha test/*.js --exit flexsearch.bundle.module.min && npx mocha test/*.js --exit flexsearch.compact.debug && npx mocha test/*.js --exit flexsearch.compact.min && npx mocha test/*.js --exit flexsearch.compact.module.debug && npx mocha test/*.js --exit flexsearch.compact.module.min && npx mocha test/*.js --exit flexsearch.es5.debug && npx mocha test/*.js --exit flexsearch.es5.min && npx mocha test/*.js --exit flexsearch.light.debug && npx mocha test/*.js --exit flexsearch.light.min && npx mocha test/*.js --exit flexsearch.light.module.debug && npx mocha test/*.js --exit flexsearch.light.module.min","release":"npm version --no-git-tag-version patch && npm run build:all && npm run test:all"},"files":["dist/**","src/**","task/**","index.d.ts","README.md","CHANGELOG.md","LICENSE"],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-conditional-compile":"^0.0.5","babel-plugin-minify-constant-folding":"^0.5.0","babel-plugin-minify-dead-code-elimination":"^0.5.2","babel-plugin-minify-flip-comparisons":"^0.4.3","babel-plugin-minify-guarded-expressions":"^0.4.4","babel-plugin-minify-infinity":"^0.4.3","babel-plugin-minify-mangle-names":"^0.5.1","babel-plugin-minify-replace":"^0.5.0","babel-plugin-minify-simplify":"^0.5.1","babel-plugin-minify-type-constructors":"^0.4.3","babel-plugin-transform-member-expression-literals":"^6.9.4","babel-plugin-transform-merge-sibling-variables":"^6.9.5","babel-plugin-transform-minify-booleans":"^6.9.4","babel-plugin-transform-property-literals":"^6.9.4","babel-plugin-transform-simplify-comparison-operators":"^6.9.4","babel-plugin-transform-undefined-to-void":"^6.9.4","c8":"^10.1.3","chai":"^5.2.0","clickhouse":"^2.6.0","google-closure-compiler":"^20250520.0.0","mocha":"^11.1.0","mongodb":"^6.13.0","pg-promise":"^11.13.0","redis":"^5.1.0","rollup":"^4.35.0","sqlite3":"^5.1.7"},"funding":[{"type":"github","url":"https://github.com/ts-thomas"},{"type":"paypal","url":"https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW"},{"type":"opencollective","url":"https://opencollective.com/flexsearch"},{"type":"patreon","url":"https://patreon.com/user?u=96245532"},{"type":"liberapay","url":"https://liberapay.com/ts-thomas"}],"_lastModified":"2026-04-26T10:50:10.025Z"}
@@ -1 +1 @@
1
- {"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-04-24T15:28:07.530Z"}
1
+ {"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-04-26T10:50:09.127Z"}
@@ -0,0 +1,179 @@
1
+ #!/usr/bin/env node
2
+ import { createReadStream, createWriteStream, readFileSync, renameSync } from 'node:fs'
3
+ import { dirname, join } from 'node:path'
4
+ import { pipeline as pipelineCallback } from 'node:stream'
5
+ import { fileURLToPath } from 'node:url'
6
+ import { promisify } from 'node:util'
7
+ import { jsonrepairTransform } from '../lib/esm/stream.js'
8
+
9
+ const pipeline = promisify(pipelineCallback)
10
+ const __filename = fileURLToPath(import.meta.url)
11
+ const __dirname = dirname(__filename)
12
+
13
+ function processArgs(args) {
14
+ const options = {
15
+ version: false,
16
+ help: false,
17
+ overwrite: false,
18
+ bufferSize: undefined,
19
+ inputFile: null,
20
+ outputFile: null
21
+ }
22
+
23
+ // we skip the first two args, since they contain node and the script path
24
+ let i = 2
25
+ while (i < args.length) {
26
+ const arg = args[i]
27
+
28
+ switch (arg) {
29
+ case '-v':
30
+ case '--version':
31
+ options.version = true
32
+ break
33
+
34
+ case '-h':
35
+ case '--help':
36
+ options.help = true
37
+ break
38
+
39
+ case '--overwrite':
40
+ options.overwrite = true
41
+ break
42
+
43
+ case '--buffer':
44
+ i++
45
+ options.bufferSize = parseSize(args[i])
46
+ break
47
+
48
+ case '-o':
49
+ case '--output':
50
+ i++
51
+ options.outputFile = args[i]
52
+ break
53
+
54
+ default:
55
+ if (options.inputFile == null) {
56
+ options.inputFile = arg
57
+ } else {
58
+ throw new Error(`Unexpected argument "${arg}"`)
59
+ }
60
+ }
61
+
62
+ i++
63
+ }
64
+
65
+ return options
66
+ }
67
+
68
+ async function run(options) {
69
+ if (options.version) {
70
+ outputVersion()
71
+ return
72
+ }
73
+
74
+ if (options.help) {
75
+ outputHelp()
76
+ return
77
+ }
78
+
79
+ if (options.overwrite) {
80
+ if (!options.inputFile) {
81
+ console.error('Error: cannot use --overwrite: no input file provided')
82
+ process.exit(1)
83
+ }
84
+ if (options.outputFile) {
85
+ console.error('Error: cannot use --overwrite: there is also an --output provided')
86
+ process.exit(1)
87
+ }
88
+
89
+ const dateStr = new Date().toISOString().replace(/\W/g, '-')
90
+ const tempFileSuffix = `.repair-${dateStr}.json`
91
+ const tempFile = options.inputFile + tempFileSuffix
92
+
93
+ try {
94
+ const readStream = createReadStream(options.inputFile)
95
+ const writeStream = createWriteStream(tempFile)
96
+ await pipeline(
97
+ readStream,
98
+ jsonrepairTransform({ bufferSize: options.bufferSize }),
99
+ writeStream
100
+ )
101
+ renameSync(tempFile, options.inputFile)
102
+ } catch (err) {
103
+ process.stderr.write(err.toString())
104
+ process.exit(1)
105
+ }
106
+
107
+ return
108
+ }
109
+
110
+ try {
111
+ const readStream = options.inputFile ? createReadStream(options.inputFile) : process.stdin
112
+ const writeStream = options.outputFile ? createWriteStream(options.outputFile) : process.stdout
113
+ await pipeline(readStream, jsonrepairTransform({ bufferSize: options.bufferSize }), writeStream)
114
+ } catch (err) {
115
+ process.stderr.write(err.toString())
116
+ process.exit(1)
117
+ }
118
+ }
119
+
120
+ function outputVersion() {
121
+ const file = join(__dirname, '../package.json')
122
+ const pkg = JSON.parse(String(readFileSync(file, 'utf-8')))
123
+
124
+ console.log(pkg.version)
125
+ }
126
+
127
+ function parseSize(size) {
128
+ // match
129
+ const match = size.match(/^(\d+)([KMG]?)$/)
130
+ if (!match) {
131
+ throw new Error(`Buffer size "${size}" not recognized. Examples: 65536, 512K, 2M`)
132
+ }
133
+
134
+ const num = Number.parseInt(match[1], 10)
135
+ const suffix = match[2] // K, M, or G
136
+
137
+ switch (suffix) {
138
+ case 'K':
139
+ return num * 1024
140
+ case 'M':
141
+ return num * 1024 * 1024
142
+ case 'G':
143
+ return num * 1024 * 1024 * 1024
144
+ default:
145
+ return num
146
+ }
147
+ }
148
+
149
+ const help = `
150
+ jsonrepair
151
+ https://github.com/josdejong/jsonrepair
152
+
153
+ Repair invalid JSON documents. When a document could not be repaired, the output will be left unchanged.
154
+
155
+ Usage:
156
+ jsonrepair [filename] {OPTIONS}
157
+
158
+ Options:
159
+ --version, -v Show application version
160
+ --help, -h Show this message
161
+ --output, -o Output file
162
+ --overwrite Overwrite the input file
163
+ --buffer Buffer size in bytes, for example 64K (default) or 1M
164
+
165
+ Example usage:
166
+ jsonrepair broken.json # Repair a file, output to console
167
+ jsonrepair broken.json > repaired.json # Repair a file, output to file
168
+ jsonrepair broken.json --output repaired.json # Repair a file, output to file
169
+ jsonrepair broken.json --overwrite # Repair a file, replace the file itself
170
+ cat broken.json | jsonrepair # Repair data from an input stream
171
+ cat broken.json | jsonrepair > repaired.json # Repair data from an input stream, output to file
172
+ `
173
+
174
+ function outputHelp() {
175
+ console.log(help)
176
+ }
177
+
178
+ const options = processArgs(process.argv)
179
+ await run(options)
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e={259:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.jsonrepair=jsonrepair;var i=r(67);var n=r(309);const s={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const a={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function jsonrepair(e){let t=0;let r="";parseMarkdownCodeBlock(["```","[```","{```"]);const o=parseValue();if(!o){throwUnexpectedEnd()}parseMarkdownCodeBlock(["```","```]","```}"]);const u=parseCharacter(",");if(u){parseWhitespaceAndSkipComments()}if((0,n.isStartOfValue)(e[t])&&(0,n.endsWithCommaOrNewline)(r)){if(!u){r=(0,n.insertBeforeLastWhitespace)(r,",")}parseNewlineDelimitedJSON()}else if(u){r=(0,n.stripLastOccurrence)(r,",")}while(e[t]==="}"||e[t]==="]"){t++;parseWhitespaceAndSkipComments()}if(t>=e.length){return r}throwUnexpectedCharacter();function parseValue(){parseWhitespaceAndSkipComments();const e=parseObject()||parseArray()||parseString()||parseNumber()||parseKeywords()||parseUnquotedString(false)||parseRegex();parseWhitespaceAndSkipComments();return e}function parseWhitespaceAndSkipComments(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:true;const r=t;let i=parseWhitespace(e);do{i=parseComment();if(i){i=parseWhitespace(e)}}while(i);return t>r}function parseWhitespace(i){const s=i?n.isWhitespace:n.isWhitespaceExceptNewline;let a="";while(true){if(s(e,t)){a+=e[t];t++}else if((0,n.isSpecialWhitespace)(e,t)){a+=" ";t++}else{break}}if(a.length>0){r+=a;return true}return false}function parseComment(){if(e[t]==="/"&&e[t+1]==="*"){while(t<e.length&&!atEndOfBlockComment(e,t)){t++}t+=2;return true}if(e[t]==="/"&&e[t+1]==="/"){while(t<e.length&&e[t]!=="\n"){t++}return true}return false}function parseMarkdownCodeBlock(r){if(skipMarkdownCodeBlock(r)){if((0,n.isFunctionNameCharStart)(e[t])){while(t<e.length&&(0,n.isFunctionNameChar)(e[t])){t++}}parseWhitespaceAndSkipComments();return true}return false}function skipMarkdownCodeBlock(r){parseWhitespace(true);for(const i of r){const r=t+i.length;if(e.slice(t,r)===i){t=r;return true}}return false}function parseCharacter(i){if(e[t]===i){r+=e[t];t++;return true}return false}function skipCharacter(r){if(e[t]===r){t++;return true}return false}function skipEscapeCharacter(){return skipCharacter("\\")}function skipEllipsis(){parseWhitespaceAndSkipComments();if(e[t]==="."&&e[t+1]==="."&&e[t+2]==="."){t+=3;parseWhitespaceAndSkipComments();skipCharacter(",");return true}return false}function parseObject(){if(e[t]==="{"){r+="{";t++;parseWhitespaceAndSkipComments();if(skipCharacter(",")){parseWhitespaceAndSkipComments()}let i=true;while(t<e.length&&e[t]!=="}"){let s;if(!i){s=parseCharacter(",");if(!s){r=(0,n.insertBeforeLastWhitespace)(r,",")}parseWhitespaceAndSkipComments()}else{s=true;i=false}skipEllipsis();const a=parseString()||parseUnquotedString(true);if(!a){if(e[t]==="}"||e[t]==="{"||e[t]==="]"||e[t]==="["||e[t]===undefined){r=(0,n.stripLastOccurrence)(r,",")}else{throwObjectKeyExpected()}break}parseWhitespaceAndSkipComments();const o=parseCharacter(":");const u=t>=e.length;if(!o){if((0,n.isStartOfValue)(e[t])||u){r=(0,n.insertBeforeLastWhitespace)(r,":")}else{throwColonExpected()}}const c=parseValue();if(!c){if(o||u){r+="null"}else{throwColonExpected()}}}if(e[t]==="}"){r+="}";t++}else{r=(0,n.insertBeforeLastWhitespace)(r,"}")}return true}return false}function parseArray(){if(e[t]==="["){r+="[";t++;parseWhitespaceAndSkipComments();if(skipCharacter(",")){parseWhitespaceAndSkipComments()}let i=true;while(t<e.length&&e[t]!=="]"){if(!i){const e=parseCharacter(",");if(!e){r=(0,n.insertBeforeLastWhitespace)(r,",")}}else{i=false}skipEllipsis();const e=parseValue();if(!e){r=(0,n.stripLastOccurrence)(r,",");break}}if(e[t]==="]"){r+="]";t++}else{r=(0,n.insertBeforeLastWhitespace)(r,"]")}return true}return false}function parseNewlineDelimitedJSON(){let e=true;let t=true;while(t){if(!e){const e=parseCharacter(",");if(!e){r=(0,n.insertBeforeLastWhitespace)(r,",")}}else{e=false}t=parseValue()}if(!t){r=(0,n.stripLastOccurrence)(r,",")}r=`[\n${r}\n]`}function parseString(){let i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;let o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:-1;let u=e[t]==="\\";if(u){t++;u=true}if((0,n.isQuote)(e[t])){const c=(0,n.isDoubleQuote)(e[t])?n.isDoubleQuote:(0,n.isSingleQuote)(e[t])?n.isSingleQuote:(0,n.isSingleQuoteLike)(e[t])?n.isSingleQuoteLike:n.isDoubleQuoteLike;const l=t;const p=r.length;let f='"';t++;while(true){if(t>=e.length){const s=prevNonWhitespaceIndex(t-1);if(!i&&(0,n.isDelimiter)(e.charAt(s))){t=l;r=r.substring(0,p);return parseString(true)}f=(0,n.insertBeforeLastWhitespace)(f,'"');r+=f;return true}if(t===o){f=(0,n.insertBeforeLastWhitespace)(f,'"');r+=f;return true}if(c(e[t])){const s=t;const a=f.length;f+='"';t++;r+=f;parseWhitespaceAndSkipComments(false);if(i||t>=e.length||(0,n.isDelimiter)(e[t])||(0,n.isQuote)(e[t])||(0,n.isDigit)(e[t])){parseConcatenatedString();return true}const o=prevNonWhitespaceIndex(s-1);const u=e.charAt(o);if(u===","){t=l;r=r.substring(0,p);return parseString(false,o)}if((0,n.isDelimiter)(u)){t=l;r=r.substring(0,p);return parseString(true)}r=r.substring(0,p);t=s+1;f=`${f.substring(0,a)}\\${f.substring(a)}`}else if(i&&(0,n.isUnquotedStringDelimiter)(e[t])){if(e[t-1]===":"&&n.regexUrlStart.test(e.substring(l+1,t+2))){while(t<e.length&&n.regexUrlChar.test(e[t])){f+=e[t];t++}}f=(0,n.insertBeforeLastWhitespace)(f,'"');r+=f;parseConcatenatedString();return true}else if(e[t]==="\\"){const r=e.charAt(t+1);const i=a[r];if(i!==undefined){f+=e.slice(t,t+2);t+=2}else if(r==="u"){let r=2;while(r<6&&(0,n.isHex)(e[t+r])){r++}if(r===6){f+=e.slice(t,t+6);t+=6}else if(t+r>=e.length){t=e.length}else{throwInvalidUnicodeCharacter()}}else{f+=r;t+=2}}else{const r=e.charAt(t);if(r==='"'&&e[t-1]!=="\\"){f+=`\\${r}`;t++}else if((0,n.isControlCharacter)(r)){f+=s[r];t++}else{if(!(0,n.isValidStringCharacter)(r)){throwInvalidCharacter(r)}f+=r;t++}}if(u){skipEscapeCharacter()}}}return false}function parseConcatenatedString(){let i=false;parseWhitespaceAndSkipComments();while(e[t]==="+"){i=true;t++;parseWhitespaceAndSkipComments();r=(0,n.stripLastOccurrence)(r,'"',true);const e=r.length;const s=parseString();if(s){r=(0,n.removeAtIndex)(r,e,1)}else{r=(0,n.insertBeforeLastWhitespace)(r,'"')}}return i}function parseNumber(){const i=t;if(e[t]==="-"){t++;if(atEndOfNumber()){repairNumberEndingWithNumericSymbol(i);return true}if(!(0,n.isDigit)(e[t])){t=i;return false}}while((0,n.isDigit)(e[t])){t++}if(e[t]==="."){t++;if(atEndOfNumber()){repairNumberEndingWithNumericSymbol(i);return true}if(!(0,n.isDigit)(e[t])){t=i;return false}while((0,n.isDigit)(e[t])){t++}}if(e[t]==="e"||e[t]==="E"){t++;if(e[t]==="-"||e[t]==="+"){t++}if(atEndOfNumber()){repairNumberEndingWithNumericSymbol(i);return true}if(!(0,n.isDigit)(e[t])){t=i;return false}while((0,n.isDigit)(e[t])){t++}}if(!atEndOfNumber()){t=i;return false}if(t>i){const n=e.slice(i,t);const s=/^0\d/.test(n);r+=s?`"${n}"`:n;return true}return false}function parseKeywords(){return parseKeyword("true","true")||parseKeyword("false","false")||parseKeyword("null","null")||parseKeyword("True","true")||parseKeyword("False","false")||parseKeyword("None","null")}function parseKeyword(i,n){if(e.slice(t,t+i.length)===i){r+=n;t+=i.length;return true}return false}function parseUnquotedString(i){const s=t;if((0,n.isFunctionNameCharStart)(e[t])){while(t<e.length&&(0,n.isFunctionNameChar)(e[t])){t++}let r=t;while((0,n.isWhitespace)(e,r)){r++}if(e[r]==="("){t=r+1;parseValue();if(e[t]===")"){t++;if(e[t]===";"){t++}}return true}}while(t<e.length&&!(0,n.isUnquotedStringDelimiter)(e[t])&&!(0,n.isQuote)(e[t])&&(!i||e[t]!==":")){t++}if(e[t-1]===":"&&n.regexUrlStart.test(e.substring(s,t+2))){while(t<e.length&&n.regexUrlChar.test(e[t])){t++}}if(t>s){while((0,n.isWhitespace)(e,t-1)&&t>0){t--}const i=e.slice(s,t);r+=i==="undefined"?"null":JSON.stringify(i);if(e[t]==='"'){t++}return true}}function parseRegex(){if(e[t]==="/"){const i=t;t++;while(t<e.length&&(e[t]!=="/"||e[t-1]==="\\")){t++}t++;r+=`"${e.substring(i,t)}"`;return true}}function prevNonWhitespaceIndex(t){let r=t;while(r>0&&(0,n.isWhitespace)(e,r)){r--}return r}function atEndOfNumber(){return t>=e.length||(0,n.isDelimiter)(e[t])||(0,n.isWhitespace)(e,t)}function repairNumberEndingWithNumericSymbol(i){r+=`${e.slice(i,t)}0`}function throwInvalidCharacter(e){throw new i.JSONRepairError(`Invalid character ${JSON.stringify(e)}`,t)}function throwUnexpectedCharacter(){throw new i.JSONRepairError(`Unexpected character ${JSON.stringify(e[t])}`,t)}function throwUnexpectedEnd(){throw new i.JSONRepairError("Unexpected end of json string",e.length)}function throwObjectKeyExpected(){throw new i.JSONRepairError("Object key expected",t)}function throwColonExpected(){throw new i.JSONRepairError("Colon expected",t)}function throwInvalidUnicodeCharacter(){const r=e.slice(t,t+6);throw new i.JSONRepairError(`Invalid unicode character "${r}"`,t)}}function atEndOfBlockComment(e,t){return e[t]==="*"&&e[t+1]==="/"}},67:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.JSONRepairError=void 0;class JSONRepairError extends Error{constructor(e,t){super(`${e} at position ${t}`);this.position=t}}t.JSONRepairError=JSONRepairError},309:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.endsWithCommaOrNewline=endsWithCommaOrNewline;t.insertBeforeLastWhitespace=insertBeforeLastWhitespace;t.isControlCharacter=isControlCharacter;t.isDelimiter=isDelimiter;t.isDigit=isDigit;t.isDoubleQuote=isDoubleQuote;t.isDoubleQuoteLike=isDoubleQuoteLike;t.isFunctionNameChar=isFunctionNameChar;t.isFunctionNameCharStart=isFunctionNameCharStart;t.isHex=isHex;t.isQuote=isQuote;t.isSingleQuote=isSingleQuote;t.isSingleQuoteLike=isSingleQuoteLike;t.isSpecialWhitespace=isSpecialWhitespace;t.isStartOfValue=isStartOfValue;t.isUnquotedStringDelimiter=isUnquotedStringDelimiter;t.isValidStringCharacter=isValidStringCharacter;t.isWhitespace=isWhitespace;t.isWhitespaceExceptNewline=isWhitespaceExceptNewline;t.regexUrlStart=t.regexUrlChar=void 0;t.removeAtIndex=removeAtIndex;t.stripLastOccurrence=stripLastOccurrence;const r=32;const i=10;const n=9;const s=13;const a=160;const o=8192;const u=8202;const c=8239;const l=8287;const p=12288;function isHex(e){return/^[0-9A-Fa-f]$/.test(e)}function isDigit(e){return e>="0"&&e<="9"}function isValidStringCharacter(e){return e>=" "}function isDelimiter(e){return",:[]/{}()\n+".includes(e)}function isFunctionNameCharStart(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="_"||e==="$"}function isFunctionNameChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="_"||e==="$"||e>="0"&&e<="9"}const f=t.regexUrlStart=/^(http|https|ftp|mailto|file|data|irc):\/\/$/;const h=t.regexUrlChar=/^[A-Za-z0-9-._~:/?#@!$&'()*+;=]$/;function isUnquotedStringDelimiter(e){return",[]/{}\n+".includes(e)}function isStartOfValue(e){return isQuote(e)||d.test(e)}const d=/^[[{\w-]$/;function isControlCharacter(e){return e==="\n"||e==="\r"||e==="\t"||e==="\b"||e==="\f"}function isWhitespace(e,t){const a=e.charCodeAt(t);return a===r||a===i||a===n||a===s}function isWhitespaceExceptNewline(e,t){const i=e.charCodeAt(t);return i===r||i===n||i===s}function isSpecialWhitespace(e,t){const r=e.charCodeAt(t);return r===a||r>=o&&r<=u||r===c||r===l||r===p}function isQuote(e){return isDoubleQuoteLike(e)||isSingleQuoteLike(e)}function isDoubleQuoteLike(e){return e==='"'||e==="“"||e==="”"}function isDoubleQuote(e){return e==='"'}function isSingleQuoteLike(e){return e==="'"||e==="‘"||e==="’"||e==="`"||e==="´"}function isSingleQuote(e){return e==="'"}function stripLastOccurrence(e,t){let r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;const i=e.lastIndexOf(t);return i!==-1?e.substring(0,i)+(r?"":e.substring(i+1)):e}function insertBeforeLastWhitespace(e,t){let r=e.length;if(!isWhitespace(e,r-1)){return e+t}while(isWhitespace(e,r-1)){r--}return e.substring(0,r)+t+e.substring(r)}function removeAtIndex(e,t,r){return e.substring(0,t)+e.substring(t+r)}function endsWithCommaOrNewline(e){return/[,\n][ \t\r]*$/.test(e)}}};var t={};function __nccwpck_require__(r){var i=t[r];if(i!==undefined){return i.exports}var n=t[r]={exports:{}};var s=true;try{e[r](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:true});Object.defineProperty(e,"JSONRepairError",{enumerable:true,get:function(){return i.JSONRepairError}});Object.defineProperty(e,"jsonrepair",{enumerable:true,get:function(){return t.jsonrepair}});var t=__nccwpck_require__(259);var i=__nccwpck_require__(67)})();module.exports=r})();
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }