@mastra/fastembed 1.0.1 → 1.1.0-alpha.0

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 (50) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE-fastembed +21 -0
  3. package/README.md +26 -17
  4. package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +466 -1768
  5. package/dist/fastembed.d.ts +115 -0
  6. package/dist/fastembed.d.ts.map +1 -0
  7. package/dist/index.cjs +1801 -691
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.ts +3 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +1790 -690
  12. package/dist/index.js.map +1 -1
  13. package/package.json +22 -15
  14. package/LICENSE.md +0 -30
  15. package/dist/chunk-23EXJLET.cjs +0 -84
  16. package/dist/chunk-23EXJLET.cjs.map +0 -1
  17. package/dist/chunk-BSDWQEU3.js +0 -79
  18. package/dist/chunk-BSDWQEU3.js.map +0 -1
  19. package/dist/chunk-DGUM43GV.js +0 -10
  20. package/dist/chunk-DGUM43GV.js.map +0 -1
  21. package/dist/chunk-EQ4M72KU.js +0 -439
  22. package/dist/chunk-EQ4M72KU.js.map +0 -1
  23. package/dist/chunk-HJYHDIOC.js +0 -250
  24. package/dist/chunk-HJYHDIOC.js.map +0 -1
  25. package/dist/chunk-IDRQZVB4.cjs +0 -84
  26. package/dist/chunk-IDRQZVB4.cjs.map +0 -1
  27. package/dist/chunk-JEQ2X3Z6.cjs +0 -12
  28. package/dist/chunk-JEQ2X3Z6.cjs.map +0 -1
  29. package/dist/chunk-LIBOSOHM.cjs +0 -252
  30. package/dist/chunk-LIBOSOHM.cjs.map +0 -1
  31. package/dist/chunk-RC6RZVYE.js +0 -79
  32. package/dist/chunk-RC6RZVYE.js.map +0 -1
  33. package/dist/chunk-ZD3BKU5O.cjs +0 -441
  34. package/dist/chunk-ZD3BKU5O.cjs.map +0 -1
  35. package/dist/token-6GSAFR2W-ABXTQD64.js +0 -61
  36. package/dist/token-6GSAFR2W-ABXTQD64.js.map +0 -1
  37. package/dist/token-6GSAFR2W-TW2P7HCS.cjs +0 -63
  38. package/dist/token-6GSAFR2W-TW2P7HCS.cjs.map +0 -1
  39. package/dist/token-APYSY3BW-2DN6RAUY.js +0 -61
  40. package/dist/token-APYSY3BW-2DN6RAUY.js.map +0 -1
  41. package/dist/token-APYSY3BW-ZQ7TMBY7.cjs +0 -63
  42. package/dist/token-APYSY3BW-ZQ7TMBY7.cjs.map +0 -1
  43. package/dist/token-util-NEHG7TUY-GYFEVMWP.cjs +0 -10
  44. package/dist/token-util-NEHG7TUY-GYFEVMWP.cjs.map +0 -1
  45. package/dist/token-util-NEHG7TUY-XQP3QSPX.js +0 -8
  46. package/dist/token-util-NEHG7TUY-XQP3QSPX.js.map +0 -1
  47. package/dist/token-util-RMHT2CPJ-6TGPE335.cjs +0 -10
  48. package/dist/token-util-RMHT2CPJ-6TGPE335.cjs.map +0 -1
  49. package/dist/token-util-RMHT2CPJ-RJEA3FAN.js +0 -8
  50. package/dist/token-util-RMHT2CPJ-RJEA3FAN.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/fastembed",
3
- "version": "1.0.1",
3
+ "version": "1.1.0-alpha.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,8 @@
20
20
  },
21
21
  "files": [
22
22
  "dist",
23
- "CHANGELOG.md"
23
+ "CHANGELOG.md",
24
+ "LICENSE-fastembed"
24
25
  ],
25
26
  "homepage": "https://mastra.ai",
26
27
  "repository": {
@@ -32,25 +33,30 @@
32
33
  "url": "https://github.com/mastra-ai/mastra/issues"
33
34
  },
34
35
  "dependencies": {
35
- "fastembed": "^2.1.0"
36
+ "@anush008/tokenizers": "^0.6.0",
37
+ "@huggingface/hub": "^2.12.0",
38
+ "onnxruntime-node": "1.26.0",
39
+ "progress": "^2.0.3",
40
+ "tar": "^7.5.15"
36
41
  },
37
42
  "peerDependencies": {
38
43
  "zod": "^3.25.0 || ^4.0.0"
39
44
  },
40
45
  "devDependencies": {
41
- "@types/node": "22.19.7",
42
- "@vitest/coverage-v8": "4.0.18",
43
- "@vitest/ui": "4.0.18",
46
+ "@types/node": "22.19.15",
47
+ "@types/progress": "^2.0.7",
48
+ "@vitest/coverage-v8": "4.1.5",
49
+ "@vitest/ui": "4.1.5",
44
50
  "ai-v4": "npm:ai@4.3.19",
45
51
  "tsup": "^8.5.1",
46
- "typescript": "^5.9.3",
47
- "vitest": "4.0.18",
48
- "zod": "^3.25.76",
49
- "@internal/ai-sdk-v5": "0.0.13",
50
- "@internal/lint": "0.0.66",
51
- "@internal/ai-sdk-v4": "0.0.13",
52
- "@internal/ai-v6": "0.0.13",
53
- "@internal/types-builder": "0.0.41"
52
+ "typescript": "^6.0.3",
53
+ "vitest": "4.1.5",
54
+ "zod": "^4.3.6",
55
+ "@internal/ai-sdk-v4": "0.0.43",
56
+ "@internal/ai-sdk-v5": "0.0.43",
57
+ "@internal/lint": "0.0.96",
58
+ "@internal/ai-v6": "0.0.43",
59
+ "@internal/types-builder": "0.0.71"
54
60
  },
55
61
  "engines": {
56
62
  "node": ">=22.13.0"
@@ -58,6 +64,7 @@
58
64
  "scripts": {
59
65
  "build": "tsup --silent --config tsup.config.ts",
60
66
  "build:watch": "tsup --watch --silent --config tsup.config.ts",
61
- "test": "vitest run"
67
+ "test": "vitest run --project 'unit:packages/fastembed' --passWithNoTests",
68
+ "test:models": "vitest run --project 'models:packages/fastembed'"
62
69
  }
63
70
  }
package/LICENSE.md DELETED
@@ -1,30 +0,0 @@
1
- Portions of this software are licensed as follows:
2
-
3
- - All content that resides under any directory named "ee/" within this
4
- repository, including but not limited to:
5
- - `packages/core/src/auth/ee/`
6
- - `packages/server/src/server/auth/ee/`
7
- is licensed under the license defined in `ee/LICENSE`.
8
-
9
- - All third-party components incorporated into the Mastra Software are
10
- licensed under the original license provided by the owner of the
11
- applicable component.
12
-
13
- - Content outside of the above-mentioned directories or restrictions is
14
- available under the "Apache License 2.0" as defined below.
15
-
16
- # Apache License 2.0
17
-
18
- Copyright (c) 2025 Kepler Software, Inc.
19
-
20
- Licensed under the Apache License, Version 2.0 (the "License");
21
- you may not use this file except in compliance with the License.
22
- You may obtain a copy of the License at
23
-
24
- http://www.apache.org/licenses/LICENSE-2.0
25
-
26
- Unless required by applicable law or agreed to in writing, software
27
- distributed under the License is distributed on an "AS IS" BASIS,
28
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
- See the License for the specific language governing permissions and
30
- limitations under the License.
@@ -1,84 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkJEQ2X3Z6_cjs = require('./chunk-JEQ2X3Z6.cjs');
4
-
5
- // ../_vendored/ai_v5/dist/chunk-7D4SUZUM.js
6
- var __create = Object.create;
7
- var __defProp = Object.defineProperty;
8
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
- var __getOwnPropNames = Object.getOwnPropertyNames;
10
- var __getProtoOf = Object.getPrototypeOf;
11
- var __hasOwnProp = Object.prototype.hasOwnProperty;
12
- var __require2 = /* @__PURE__ */ ((x) => typeof chunkJEQ2X3Z6_cjs.__require !== "undefined" ? chunkJEQ2X3Z6_cjs.__require : typeof Proxy !== "undefined" ? new Proxy(x, {
13
- get: (a, b) => (typeof chunkJEQ2X3Z6_cjs.__require !== "undefined" ? chunkJEQ2X3Z6_cjs.__require : a)[b]
14
- }) : x)(function(x) {
15
- if (typeof chunkJEQ2X3Z6_cjs.__require !== "undefined") return chunkJEQ2X3Z6_cjs.__require.apply(this, arguments);
16
- throw Error('Dynamic require of "' + x + '" is not supported');
17
- });
18
- var __commonJS = (cb, mod) => function __require22() {
19
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
20
- };
21
- var __copyProps = (to, from, except, desc) => {
22
- if (from && typeof from === "object" || typeof from === "function") {
23
- for (let key of __getOwnPropNames(from))
24
- if (!__hasOwnProp.call(to, key) && key !== except)
25
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
26
- }
27
- return to;
28
- };
29
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
30
- // If the importer is in node compatibility mode or this is not an ESM
31
- // file that has been converted to a CommonJS file using a Babel-
32
- // compatible transform (i.e. "__esModule" has not been set), then set
33
- // "default" to the CommonJS "module.exports" for node compatibility.
34
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
35
- mod
36
- ));
37
-
38
- // ../_vendored/ai_v5/dist/chunk-TLQKI65U.js
39
- var require_token_error = __commonJS({
40
- "../../../node_modules/.pnpm/@vercel+oidc@3.0.5/node_modules/@vercel/oidc/dist/token-error.js"(exports$1, module) {
41
- var __defProp2 = Object.defineProperty;
42
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
43
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
44
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
45
- var __export = (target, all) => {
46
- for (var name in all)
47
- __defProp2(target, name, { get: all[name], enumerable: true });
48
- };
49
- var __copyProps2 = (to, from, except, desc) => {
50
- if (from && typeof from === "object" || typeof from === "function") {
51
- for (let key of __getOwnPropNames2(from))
52
- if (!__hasOwnProp2.call(to, key) && key !== except)
53
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
54
- }
55
- return to;
56
- };
57
- var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
58
- var token_error_exports = {};
59
- __export(token_error_exports, {
60
- VercelOidcTokenError: () => VercelOidcTokenError
61
- });
62
- module.exports = __toCommonJS(token_error_exports);
63
- var VercelOidcTokenError = class extends Error {
64
- constructor(message, cause) {
65
- super(message);
66
- this.name = "VercelOidcTokenError";
67
- this.cause = cause;
68
- }
69
- toString() {
70
- if (this.cause) {
71
- return `${this.name}: ${this.message}: ${this.cause}`;
72
- }
73
- return `${this.name}: ${this.message}`;
74
- }
75
- };
76
- }
77
- });
78
-
79
- exports.__commonJS = __commonJS;
80
- exports.__require = __require2;
81
- exports.__toESM = __toESM;
82
- exports.require_token_error = require_token_error;
83
- //# sourceMappingURL=chunk-23EXJLET.cjs.map
84
- //# sourceMappingURL=chunk-23EXJLET.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../_vendored/ai_v5/dist/chunk-7D4SUZUM.js","../../../node_modules/.pnpm/@vercel+oidc@3.0.5/node_modules/@vercel/oidc/dist/token-error.js"],"names":["__require","__require2","exports","__defProp","__getOwnPropDesc","__getOwnPropNames","__hasOwnProp","__copyProps"],"mappings":";;;;;AAAA,IAAI,WAAW,MAAA,CAAO,MAAA;AACtB,IAAI,YAAY,MAAA,CAAO,cAAA;AACvB,IAAI,mBAAmB,MAAA,CAAO,wBAAA;AAC9B,IAAI,oBAAoB,MAAA,CAAO,mBAAA;AAC/B,IAAI,eAAe,MAAA,CAAO,cAAA;AAC1B,IAAI,YAAA,GAAe,OAAO,SAAA,CAAU,cAAA;AACpC,IAAIA,UAAAA,mBAA6B,CAAA,CAAC,CAAA,KAAM,OAAOA,2BAAA,KAAY,WAAA,GAAcA,2BAAA,GAAU,OAAO,KAAA,KAAU,WAAA,GAAc,IAAI,KAAA,CAAM,CAAA,EAAG;AAAA,EAC7H,GAAA,EAAK,CAAC,CAAA,EAAG,CAAA,KAAA,CAAO,OAAOA,2BAAA,KAAY,WAAA,GAAcA,2BAAA,GAAU,CAAA,EAAG,CAAC;AACjE,CAAC,CAAA,GAAI,CAAA,EAAG,SAAS,CAAA,EAAG;AAClB,EAAA,IAAI,OAAOA,2BAAA,KAAY,WAAA,SAAoBA,2BAAA,CAAQ,KAAA,CAAM,MAAM,SAAS,CAAA;AACxE,EAAA,MAAM,KAAA,CAAM,sBAAA,GAAyB,C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AAA;AAC1B,IAAA,QAAA,CAAS,mBAAA,EAAqB;AAC5B,MAAA,oBAAA,EAAsB,MAAM;KAC7B,CAAA;AACD,IAAA,MAAA,CAAO,OAAA,GAAU,aAAa,mBAAmB,CAAA;AACjD,IAAA,IAAM,oBAAA,GAAN,cAAmC,KAAA,CAAM;AACvC,MAAA,WAAA,CAAY,SAAS,KAAA,EAAO;AAC1B,QAAA,KAAA,CAAM,OAAO,CAAA;AACb,QAAA,IAAA,CAAK,IAAA,GAAO,sBAAA;AACZ,QAAA,IAAA,CAAK,KAAA,GAAQ,KAAA;AACf,MAAA;MACA,QAAA,GAAW;AACT,QAAA,IAAI,KAAK,KAAA,EAAO;AACd,UAAA,OAAO,CAAA,EAAG,KAAK,IAAI,CAAA,EAAA,EAAK,KAAK,OAAO,CAAA,EAAA,EAAK,KAAK,KAAK,CAAA,CAAA;AACrD,QAAA;AACA,QAAA,OAAO,CAAA,EAAG,IAAA,CAAK,IAAI,CAAA,EAAA,EAAK,KAAK,OAAO,CAAA,CAAA;AACtC,MAAA;AAAA,KAAA;AACF,EAAA;AAAA,CAAA","file":"chunk-23EXJLET.cjs","sourcesContent":["var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __require = /* @__PURE__ */ ((x) => typeof require !== \"undefined\" ? require : typeof Proxy !== \"undefined\" ? new Proxy(x, {\n get: (a, b) => (typeof require !== \"undefined\" ? require : a)[b]\n}) : x)(function(x) {\n if (typeof require !== \"undefined\") return require.apply(this, arguments);\n throw Error('Dynamic require of \"' + x + '\" is not supported');\n});\nvar __commonJS = (cb, mod) => function __require2() {\n return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\n\nexport { __commonJS, __require, __toESM };\n//# sourceMappingURL=chunk-7D4SUZUM.js.map\n//# sourceMappingURL=chunk-7D4SUZUM.js.map","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_error_exports = {};\n__export(token_error_exports, {\n VercelOidcTokenError: () => VercelOidcTokenError\n});\nmodule.exports = __toCommonJS(token_error_exports);\nclass VercelOidcTokenError extends Error {\n constructor(message, cause) {\n super(message);\n this.name = \"VercelOidcTokenError\";\n this.cause = cause;\n }\n toString() {\n if (this.cause) {\n return `${this.name}: ${this.message}: ${this.cause}`;\n }\n return `${this.name}: ${this.message}`;\n }\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n VercelOidcTokenError\n});\n"]}
@@ -1,79 +0,0 @@
1
- import { __require } from './chunk-DGUM43GV.js';
2
-
3
- // ../_vendored/ai_v5/dist/chunk-7D4SUZUM.js
4
- var __create = Object.create;
5
- var __defProp = Object.defineProperty;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
- var __getOwnPropNames = Object.getOwnPropertyNames;
8
- var __getProtoOf = Object.getPrototypeOf;
9
- var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __require2 = /* @__PURE__ */ ((x) => typeof __require !== "undefined" ? __require : typeof Proxy !== "undefined" ? new Proxy(x, {
11
- get: (a, b) => (typeof __require !== "undefined" ? __require : a)[b]
12
- }) : x)(function(x) {
13
- if (typeof __require !== "undefined") return __require.apply(this, arguments);
14
- throw Error('Dynamic require of "' + x + '" is not supported');
15
- });
16
- var __commonJS = (cb, mod) => function __require22() {
17
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
18
- };
19
- var __copyProps = (to, from, except, desc) => {
20
- if (from && typeof from === "object" || typeof from === "function") {
21
- for (let key of __getOwnPropNames(from))
22
- if (!__hasOwnProp.call(to, key) && key !== except)
23
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
24
- }
25
- return to;
26
- };
27
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
28
- // If the importer is in node compatibility mode or this is not an ESM
29
- // file that has been converted to a CommonJS file using a Babel-
30
- // compatible transform (i.e. "__esModule" has not been set), then set
31
- // "default" to the CommonJS "module.exports" for node compatibility.
32
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
33
- mod
34
- ));
35
-
36
- // ../_vendored/ai_v5/dist/chunk-TLQKI65U.js
37
- var require_token_error = __commonJS({
38
- "../../../node_modules/.pnpm/@vercel+oidc@3.0.5/node_modules/@vercel/oidc/dist/token-error.js"(exports$1, module) {
39
- var __defProp2 = Object.defineProperty;
40
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
41
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
42
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
43
- var __export = (target, all) => {
44
- for (var name in all)
45
- __defProp2(target, name, { get: all[name], enumerable: true });
46
- };
47
- var __copyProps2 = (to, from, except, desc) => {
48
- if (from && typeof from === "object" || typeof from === "function") {
49
- for (let key of __getOwnPropNames2(from))
50
- if (!__hasOwnProp2.call(to, key) && key !== except)
51
- __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
52
- }
53
- return to;
54
- };
55
- var __toCommonJS = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
56
- var token_error_exports = {};
57
- __export(token_error_exports, {
58
- VercelOidcTokenError: () => VercelOidcTokenError
59
- });
60
- module.exports = __toCommonJS(token_error_exports);
61
- var VercelOidcTokenError = class extends Error {
62
- constructor(message, cause) {
63
- super(message);
64
- this.name = "VercelOidcTokenError";
65
- this.cause = cause;
66
- }
67
- toString() {
68
- if (this.cause) {
69
- return `${this.name}: ${this.message}: ${this.cause}`;
70
- }
71
- return `${this.name}: ${this.message}`;
72
- }
73
- };
74
- }
75
- });
76
-
77
- export { __commonJS, __require2 as __require, __toESM, require_token_error };
78
- //# sourceMappingURL=chunk-BSDWQEU3.js.map
79
- //# sourceMappingURL=chunk-BSDWQEU3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../_vendored/ai_v5/dist/chunk-7D4SUZUM.js","../../../node_modules/.pnpm/@vercel+oidc@3.0.5/node_modules/@vercel/oidc/dist/token-error.js"],"names":["__require","__require2","exports","__defProp","__getOwnPropDesc","__getOwnPropNames","__hasOwnProp","__copyProps"],"mappings":";;;AAAA,IAAI,WAAW,MAAA,CAAO,MAAA;AACtB,IAAI,YAAY,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,IAAA,CAAK,IAAI,CAAA,EAAA,EAAK,KAAK,OAAO,CAAA,CAAA;AACtC,MAAA;AAAA,KAAA;AACF,EAAA;AAAA,CAAA","file":"chunk-BSDWQEU3.js","sourcesContent":["var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __require = /* @__PURE__ */ ((x) => typeof require !== \"undefined\" ? require : typeof Proxy !== \"undefined\" ? new Proxy(x, {\n get: (a, b) => (typeof require !== \"undefined\" ? require : a)[b]\n}) : x)(function(x) {\n if (typeof require !== \"undefined\") return require.apply(this, arguments);\n throw Error('Dynamic require of \"' + x + '\" is not supported');\n});\nvar __commonJS = (cb, mod) => function __require2() {\n return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\n\nexport { __commonJS, __require, __toESM };\n//# sourceMappingURL=chunk-7D4SUZUM.js.map\n//# sourceMappingURL=chunk-7D4SUZUM.js.map","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_error_exports = {};\n__export(token_error_exports, {\n VercelOidcTokenError: () => VercelOidcTokenError\n});\nmodule.exports = __toCommonJS(token_error_exports);\nclass VercelOidcTokenError extends Error {\n constructor(message, cause) {\n super(message);\n this.name = \"VercelOidcTokenError\";\n this.cause = cause;\n }\n toString() {\n if (this.cause) {\n return `${this.name}: ${this.message}: ${this.cause}`;\n }\n return `${this.name}: ${this.message}`;\n }\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n VercelOidcTokenError\n});\n"]}
@@ -1,10 +0,0 @@
1
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
- }) : x)(function(x) {
4
- if (typeof require !== "undefined") return require.apply(this, arguments);
5
- throw Error('Dynamic require of "' + x + '" is not supported');
6
- });
7
-
8
- export { __require };
9
- //# sourceMappingURL=chunk-DGUM43GV.js.map
10
- //# sourceMappingURL=chunk-DGUM43GV.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-DGUM43GV.js"}