@mixedbread/sdk 0.4.0 → 0.5.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 (252) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +2 -2
  3. package/api-promise.js +2 -15
  4. package/api-promise.js.map +1 -1
  5. package/bin/cli +52 -0
  6. package/bin/migration-config.json +73 -0
  7. package/client.d.mts +27 -2
  8. package/client.d.mts.map +1 -1
  9. package/client.d.ts +27 -2
  10. package/client.d.ts.map +1 -1
  11. package/client.js +58 -50
  12. package/client.js.map +1 -1
  13. package/client.mjs +50 -19
  14. package/client.mjs.map +1 -1
  15. package/core/api-promise.d.mts +0 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts +0 -1
  18. package/core/api-promise.d.ts.map +1 -1
  19. package/core/api-promise.js +4 -14
  20. package/core/api-promise.js.map +1 -1
  21. package/core/api-promise.mjs +1 -11
  22. package/core/api-promise.mjs.map +1 -1
  23. package/core/error.d.mts +0 -1
  24. package/core/error.d.mts.map +1 -1
  25. package/core/error.d.ts +0 -1
  26. package/core/error.d.ts.map +1 -1
  27. package/core/error.js.map +1 -1
  28. package/core/error.mjs.map +1 -1
  29. package/core/pagination.d.mts +0 -1
  30. package/core/pagination.d.mts.map +1 -1
  31. package/core/pagination.d.ts +0 -1
  32. package/core/pagination.d.ts.map +1 -1
  33. package/core/pagination.js +3 -13
  34. package/core/pagination.js.map +1 -1
  35. package/core/pagination.mjs +1 -11
  36. package/core/pagination.mjs.map +1 -1
  37. package/error.js +2 -15
  38. package/error.js.map +1 -1
  39. package/internal/builtin-types.d.mts +0 -2
  40. package/internal/builtin-types.d.mts.map +1 -1
  41. package/internal/builtin-types.d.ts +0 -2
  42. package/internal/builtin-types.d.ts.map +1 -1
  43. package/internal/detect-platform.js.map +1 -1
  44. package/internal/detect-platform.mjs.map +1 -1
  45. package/internal/errors.d.mts.map +1 -1
  46. package/internal/errors.d.ts.map +1 -1
  47. package/internal/errors.js +2 -2
  48. package/internal/errors.js.map +1 -1
  49. package/internal/errors.mjs.map +1 -1
  50. package/internal/headers.d.mts +1 -2
  51. package/internal/headers.d.mts.map +1 -1
  52. package/internal/headers.d.ts +1 -2
  53. package/internal/headers.d.ts.map +1 -1
  54. package/internal/headers.js +2 -0
  55. package/internal/headers.js.map +1 -1
  56. package/internal/headers.mjs +2 -0
  57. package/internal/headers.mjs.map +1 -1
  58. package/internal/parse.d.mts +0 -1
  59. package/internal/parse.d.mts.map +1 -1
  60. package/internal/parse.d.ts +0 -1
  61. package/internal/parse.d.ts.map +1 -1
  62. package/internal/parse.js +1 -2
  63. package/internal/parse.js.map +1 -1
  64. package/internal/parse.mjs.map +1 -1
  65. package/internal/request-options.d.mts +0 -1
  66. package/internal/request-options.d.mts.map +1 -1
  67. package/internal/request-options.d.ts +0 -1
  68. package/internal/request-options.d.ts.map +1 -1
  69. package/internal/shims.js +5 -6
  70. package/internal/shims.js.map +1 -1
  71. package/internal/shims.mjs.map +1 -1
  72. package/internal/to-file.d.mts +0 -1
  73. package/internal/to-file.d.mts.map +1 -1
  74. package/internal/to-file.d.ts +0 -1
  75. package/internal/to-file.d.ts.map +1 -1
  76. package/internal/to-file.js +4 -4
  77. package/internal/to-file.js.map +1 -1
  78. package/internal/to-file.mjs +3 -2
  79. package/internal/to-file.mjs.map +1 -1
  80. package/internal/tslib.js +81 -0
  81. package/internal/tslib.mjs +17 -0
  82. package/internal/types.d.mts +0 -1
  83. package/internal/types.d.mts.map +1 -1
  84. package/internal/types.d.ts +0 -1
  85. package/internal/types.d.ts.map +1 -1
  86. package/internal/uploads.d.mts +1 -3
  87. package/internal/uploads.d.mts.map +1 -1
  88. package/internal/uploads.d.ts +1 -3
  89. package/internal/uploads.d.ts.map +1 -1
  90. package/internal/uploads.js +16 -6
  91. package/internal/uploads.js.map +1 -1
  92. package/internal/uploads.mjs +12 -3
  93. package/internal/uploads.mjs.map +1 -1
  94. package/internal/utils/base64.d.mts.map +1 -1
  95. package/internal/utils/base64.d.ts.map +1 -1
  96. package/internal/utils/base64.js +12 -7
  97. package/internal/utils/base64.js.map +1 -1
  98. package/internal/utils/base64.mjs +12 -7
  99. package/internal/utils/base64.mjs.map +1 -1
  100. package/internal/utils/bytes.d.mts +4 -0
  101. package/internal/utils/bytes.d.mts.map +1 -0
  102. package/internal/utils/bytes.d.ts +4 -0
  103. package/internal/utils/bytes.d.ts.map +1 -0
  104. package/internal/utils/bytes.js +31 -0
  105. package/internal/utils/bytes.js.map +1 -0
  106. package/internal/utils/bytes.mjs +26 -0
  107. package/internal/utils/bytes.mjs.map +1 -0
  108. package/internal/utils/env.d.mts.map +1 -1
  109. package/internal/utils/env.d.ts.map +1 -1
  110. package/internal/utils/env.js.map +1 -1
  111. package/internal/utils/env.mjs.map +1 -1
  112. package/internal/utils/log.d.mts +0 -1
  113. package/internal/utils/log.d.mts.map +1 -1
  114. package/internal/utils/log.d.ts +0 -1
  115. package/internal/utils/log.d.ts.map +1 -1
  116. package/internal/utils/log.js +2 -2
  117. package/internal/utils/log.js.map +1 -1
  118. package/internal/utils/log.mjs.map +1 -1
  119. package/internal/utils/path.d.mts.map +1 -1
  120. package/internal/utils/path.d.ts.map +1 -1
  121. package/internal/utils/path.js +2 -2
  122. package/internal/utils/path.js.map +1 -1
  123. package/internal/utils/path.mjs.map +1 -1
  124. package/internal/utils/sleep.d.mts.map +1 -1
  125. package/internal/utils/sleep.d.ts.map +1 -1
  126. package/internal/utils/uuid.d.mts +1 -1
  127. package/internal/utils/uuid.d.mts.map +1 -1
  128. package/internal/utils/uuid.d.ts +1 -1
  129. package/internal/utils/uuid.d.ts.map +1 -1
  130. package/internal/utils/uuid.js +1 -2
  131. package/internal/utils/uuid.js.map +1 -1
  132. package/internal/utils/uuid.mjs +1 -2
  133. package/internal/utils/uuid.mjs.map +1 -1
  134. package/internal/utils/values.d.mts.map +1 -1
  135. package/internal/utils/values.d.ts.map +1 -1
  136. package/internal/utils/values.js +5 -5
  137. package/internal/utils/values.js.map +1 -1
  138. package/internal/utils/values.mjs.map +1 -1
  139. package/internal/utils.js +7 -20
  140. package/internal/utils.js.map +1 -1
  141. package/lib/polling.js +1 -2
  142. package/lib/polling.js.map +1 -1
  143. package/lib/polling.mjs.map +1 -1
  144. package/package.json +8 -6
  145. package/pagination.js +2 -15
  146. package/pagination.js.map +1 -1
  147. package/resource.js +2 -15
  148. package/resource.js.map +1 -1
  149. package/resources/embeddings.d.mts +9 -0
  150. package/resources/embeddings.d.mts.map +1 -1
  151. package/resources/embeddings.d.ts +9 -0
  152. package/resources/embeddings.d.ts.map +1 -1
  153. package/resources/embeddings.js +9 -0
  154. package/resources/embeddings.js.map +1 -1
  155. package/resources/embeddings.mjs +9 -0
  156. package/resources/embeddings.mjs.map +1 -1
  157. package/resources/extractions/content.d.mts +47 -1
  158. package/resources/extractions/content.d.mts.map +1 -1
  159. package/resources/extractions/content.d.ts +47 -1
  160. package/resources/extractions/content.d.ts.map +1 -1
  161. package/resources/extractions/extractions.js +4 -26
  162. package/resources/extractions/extractions.js.map +1 -1
  163. package/resources/extractions.js +2 -15
  164. package/resources/extractions.js.map +1 -1
  165. package/resources/files.d.mts +0 -1
  166. package/resources/files.d.mts.map +1 -1
  167. package/resources/files.d.ts +0 -1
  168. package/resources/files.d.ts.map +1 -1
  169. package/resources/index.js +2 -15
  170. package/resources/index.js.map +1 -1
  171. package/resources/parsing/jobs.d.mts +5 -1
  172. package/resources/parsing/jobs.d.mts.map +1 -1
  173. package/resources/parsing/jobs.d.ts +5 -1
  174. package/resources/parsing/jobs.d.ts.map +1 -1
  175. package/resources/parsing/jobs.js +2 -24
  176. package/resources/parsing/jobs.js.map +1 -1
  177. package/resources/parsing/parsing.js +2 -24
  178. package/resources/parsing/parsing.js.map +1 -1
  179. package/resources/parsing.js +2 -15
  180. package/resources/parsing.js.map +1 -1
  181. package/resources/top-level.d.mts +6 -2
  182. package/resources/top-level.d.mts.map +1 -1
  183. package/resources/top-level.d.ts +6 -2
  184. package/resources/top-level.d.ts.map +1 -1
  185. package/resources/vector-stores/files.js +2 -24
  186. package/resources/vector-stores/files.js.map +1 -1
  187. package/resources/vector-stores/vector-stores.d.mts +17 -5
  188. package/resources/vector-stores/vector-stores.d.mts.map +1 -1
  189. package/resources/vector-stores/vector-stores.d.ts +17 -5
  190. package/resources/vector-stores/vector-stores.d.ts.map +1 -1
  191. package/resources/vector-stores/vector-stores.js +2 -24
  192. package/resources/vector-stores/vector-stores.js.map +1 -1
  193. package/resources/vector-stores/vector-stores.mjs.map +1 -1
  194. package/resources/vector-stores.js +2 -15
  195. package/resources/vector-stores.js.map +1 -1
  196. package/resources.js +2 -15
  197. package/resources.js.map +1 -1
  198. package/src/client.ts +48 -8
  199. package/src/internal/headers.ts +3 -2
  200. package/src/internal/to-file.ts +4 -2
  201. package/src/internal/uploads.ts +16 -4
  202. package/src/internal/utils/base64.ts +13 -10
  203. package/src/internal/utils/bytes.ts +32 -0
  204. package/src/internal/utils/uuid.ts +1 -3
  205. package/src/resources/embeddings.ts +9 -0
  206. package/src/resources/extractions/content.ts +53 -1
  207. package/src/resources/parsing/jobs.ts +6 -1
  208. package/src/resources/top-level.ts +13 -4
  209. package/src/resources/vector-stores/vector-stores.ts +21 -5
  210. package/src/version.ts +1 -1
  211. package/uploads.js +2 -15
  212. package/uploads.js.map +1 -1
  213. package/version.d.mts +1 -1
  214. package/version.d.ts +1 -1
  215. package/version.js +1 -1
  216. package/version.mjs +1 -1
  217. package/internal/shims/crypto.d.mts +0 -13
  218. package/internal/shims/crypto.d.mts.map +0 -1
  219. package/internal/shims/crypto.d.ts +0 -13
  220. package/internal/shims/crypto.d.ts.map +0 -1
  221. package/internal/shims/crypto.js +0 -13
  222. package/internal/shims/crypto.js.map +0 -1
  223. package/internal/shims/crypto.mjs +0 -9
  224. package/internal/shims/crypto.mjs.map +0 -1
  225. package/internal/shims/file.d.mts +0 -23
  226. package/internal/shims/file.d.mts.map +0 -1
  227. package/internal/shims/file.d.ts +0 -23
  228. package/internal/shims/file.d.ts.map +0 -1
  229. package/internal/shims/file.js +0 -16
  230. package/internal/shims/file.js.map +0 -1
  231. package/internal/shims/file.mjs +0 -12
  232. package/internal/shims/file.mjs.map +0 -1
  233. package/internal/shims/getBuiltinModule.d.mts +0 -11
  234. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  235. package/internal/shims/getBuiltinModule.d.ts +0 -11
  236. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  237. package/internal/shims/getBuiltinModule.js +0 -68
  238. package/internal/shims/getBuiltinModule.js.map +0 -1
  239. package/internal/shims/getBuiltinModule.mjs +0 -64
  240. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  241. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  242. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  243. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  244. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  245. package/internal/shims/nullGetBuiltinModule.js +0 -5
  246. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  247. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  248. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  249. package/src/internal/shims/crypto.ts +0 -18
  250. package/src/internal/shims/file.ts +0 -32
  251. package/src/internal/shims/getBuiltinModule.ts +0 -64
  252. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
@@ -30,12 +30,64 @@ export interface ContentCreateParams {
30
30
  /**
31
31
  * The content to extract from
32
32
  */
33
- content: string;
33
+ content: string | Array<string> | Array<ContentCreateParams.TextInput | ContentCreateParams.ImageURLInput>;
34
34
 
35
35
  /**
36
36
  * The JSON schema to use for extraction
37
37
  */
38
38
  json_schema: Record<string, unknown>;
39
+
40
+ /**
41
+ * Additional instructions for the extraction
42
+ */
43
+ instructions?: string | null;
44
+ }
45
+
46
+ export namespace ContentCreateParams {
47
+ /**
48
+ * Model for text input validation.
49
+ *
50
+ * Attributes: type: Input type identifier, always "text" text: The actual text
51
+ * content, with length and whitespace constraints
52
+ */
53
+ export interface TextInput {
54
+ /**
55
+ * Input type identifier
56
+ */
57
+ type?: 'text';
58
+
59
+ /**
60
+ * Text content to process
61
+ */
62
+ text: string;
63
+ }
64
+
65
+ /**
66
+ * Model for image input validation.
67
+ */
68
+ export interface ImageURLInput {
69
+ /**
70
+ * Input type identifier
71
+ */
72
+ type?: 'image_url';
73
+
74
+ /**
75
+ * The image input specification.
76
+ */
77
+ image_url: ImageURLInput.ImageURL;
78
+ }
79
+
80
+ export namespace ImageURLInput {
81
+ /**
82
+ * The image input specification.
83
+ */
84
+ export interface ImageURL {
85
+ /**
86
+ * The image URL. Can be either a URL or a Data URI.
87
+ */
88
+ url: string;
89
+ }
90
+ }
39
91
  }
40
92
 
41
93
  export declare namespace Content {
@@ -271,7 +271,7 @@ export namespace ParsingJob {
271
271
  content: string;
272
272
 
273
273
  /**
274
- * The content to be used for embedding
274
+ * The content of the chunk to embed
275
275
  */
276
276
  content_to_embed: string;
277
277
 
@@ -428,6 +428,11 @@ export interface JobCreateParams {
428
428
  * The format of the returned content
429
429
  */
430
430
  return_format?: 'html' | 'markdown' | 'plain';
431
+
432
+ /**
433
+ * The strategy to use for OCR
434
+ */
435
+ mode?: 'fast' | 'high_quality';
431
436
  }
432
437
 
433
438
  export interface JobListParams extends LimitOffsetParams {}
@@ -41,14 +41,16 @@ export interface EmbeddingCreateResponse {
41
41
  object?:
42
42
  | 'list'
43
43
  | 'parsing_job'
44
- | 'job'
44
+ | 'extraction_job'
45
45
  | 'embedding'
46
46
  | 'embedding_dict'
47
47
  | 'rank_result'
48
48
  | 'file'
49
49
  | 'vector_store'
50
50
  | 'vector_store.file'
51
- | 'api_key';
51
+ | 'api_key'
52
+ | 'data_source'
53
+ | 'data_source.connector';
52
54
 
53
55
  /**
54
56
  * Whether the embeddings are normalized.
@@ -143,14 +145,16 @@ export interface RerankResponse {
143
145
  object?:
144
146
  | 'list'
145
147
  | 'parsing_job'
146
- | 'job'
148
+ | 'extraction_job'
147
149
  | 'embedding'
148
150
  | 'embedding_dict'
149
151
  | 'rank_result'
150
152
  | 'file'
151
153
  | 'vector_store'
152
154
  | 'vector_store.file'
153
- | 'api_key';
155
+ | 'api_key'
156
+ | 'data_source'
157
+ | 'data_source.connector';
154
158
 
155
159
  /**
156
160
  * The number of documents to return.
@@ -258,6 +262,11 @@ export interface RerankParams {
258
262
  * Whether to return the documents.
259
263
  */
260
264
  return_input?: boolean;
265
+
266
+ /**
267
+ * Wether or not to rewrite the query before passing it to the reranking model
268
+ */
269
+ rewrite_query?: boolean;
261
270
  }
262
271
 
263
272
  export declare namespace TopLevel {
@@ -92,7 +92,10 @@ export class VectorStores extends APIResource {
92
92
  /**
93
93
  * Question answering
94
94
  */
95
- questionAnswering(body: VectorStoreQuestionAnsweringParams, options?: RequestOptions): APIPromise<unknown> {
95
+ questionAnswering(
96
+ body: VectorStoreQuestionAnsweringParams,
97
+ options?: RequestOptions,
98
+ ): APIPromise<VectorStoreQuestionAnsweringResponse> {
96
99
  return this._client.post('/v1/vector_stores/question-answering', { body, ...options });
97
100
  }
98
101
 
@@ -225,14 +228,14 @@ export namespace ScoredVectorStoreChunk {
225
228
  /**
226
229
  * The image input specification.
227
230
  */
228
- image: ImageURLInput.Image;
231
+ image_url: ImageURLInput.ImageURL;
229
232
  }
230
233
 
231
234
  export namespace ImageURLInput {
232
235
  /**
233
236
  * The image input specification.
234
237
  */
235
- export interface Image {
238
+ export interface ImageURL {
236
239
  /**
237
240
  * The image URL. Can be either a URL or a Data URI.
238
241
  */
@@ -399,7 +402,20 @@ export interface VectorStoreDeleteResponse {
399
402
  object?: 'vector_store';
400
403
  }
401
404
 
402
- export type VectorStoreQuestionAnsweringResponse = unknown;
405
+ /**
406
+ * Results from a question answering operation.
407
+ */
408
+ export interface VectorStoreQuestionAnsweringResponse {
409
+ /**
410
+ * The answer generated by the LLM
411
+ */
412
+ answer: string;
413
+
414
+ /**
415
+ * Source documents used to generate the answer
416
+ */
417
+ sources?: Array<ScoredVectorStoreChunk>;
418
+ }
403
419
 
404
420
  export interface VectorStoreSearchResponse {
405
421
  /**
@@ -493,7 +509,7 @@ export interface VectorStoreQuestionAnsweringParams {
493
509
  /**
494
510
  * Search configuration options
495
511
  */
496
- search_options?: VectorStoreFileSearchOptions;
512
+ search_options?: VectorStoreChunkSearchOptions;
497
513
 
498
514
  /**
499
515
  * Whether to stream the answer
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.4.0'; // x-release-please-version
1
+ export const VERSION = '0.5.0'; // x-release-please-version
package/uploads.js CHANGED
@@ -1,19 +1,6 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("./internal/tslib.js");
17
4
  /** @deprecated Import from ./core/uploads instead */
18
- __exportStar(require("./core/uploads.js"), exports);
5
+ tslib_1.__exportStar(require("./core/uploads.js"), exports);
19
6
  //# sourceMappingURL=uploads.js.map
package/uploads.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.js","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,oDAA+B"}
1
+ {"version":3,"file":"uploads.js","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,4DAA+B"}
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.4.0";
1
+ export declare const VERSION = "0.5.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.4.0";
1
+ export declare const VERSION = "0.5.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.4.0'; // x-release-please-version
4
+ exports.VERSION = '0.5.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.4.0'; // x-release-please-version
1
+ export const VERSION = '0.5.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,13 +0,0 @@
1
- type Crypto = {
2
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
3
- getRandomValues<T extends ArrayBufferView | null>(array: T): T;
4
- /**
5
- * Available only in secure contexts.
6
- *
7
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/randomUUID)
8
- */
9
- randomUUID?: () => string;
10
- };
11
- export declare let getCrypto: () => Crypto | undefined;
12
- export {};
13
- //# sourceMappingURL=crypto.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.d.mts","sourceRoot":"","sources":["../../src/internal/shims/crypto.ts"],"names":[],"mappings":"AAEA,KAAK,MAAM,GAAG;IACZ,yFAAyF;IACzF,eAAe,CAAC,CAAC,SAAS,eAAe,GAAG,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;IAC/D;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,MAAM,CAAC;CAC3B,CAAC;AACF,eAAO,IAAI,SAAS,EAAE,MAAM,MAAM,GAAG,SAKpC,CAAC"}
@@ -1,13 +0,0 @@
1
- type Crypto = {
2
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
3
- getRandomValues<T extends ArrayBufferView | null>(array: T): T;
4
- /**
5
- * Available only in secure contexts.
6
- *
7
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/randomUUID)
8
- */
9
- randomUUID?: () => string;
10
- };
11
- export declare let getCrypto: () => Crypto | undefined;
12
- export {};
13
- //# sourceMappingURL=crypto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../src/internal/shims/crypto.ts"],"names":[],"mappings":"AAEA,KAAK,MAAM,GAAG;IACZ,yFAAyF;IACzF,eAAe,CAAC,CAAC,SAAS,eAAe,GAAG,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;IAC/D;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,MAAM,CAAC;CAC3B,CAAC;AACF,eAAO,IAAI,SAAS,EAAE,MAAM,MAAM,GAAG,SAKpC,CAAC"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCrypto = void 0;
4
- const getBuiltinModule_1 = require("./getBuiltinModule.js");
5
- let getCrypto = function lazyGetCrypto() {
6
- if (exports.getCrypto !== lazyGetCrypto)
7
- return (0, exports.getCrypto)();
8
- const crypto = globalThis.crypto || (0, getBuiltinModule_1.getBuiltinModule)?.('node:crypto')?.webcrypto;
9
- exports.getCrypto = () => crypto;
10
- return crypto;
11
- };
12
- exports.getCrypto = getCrypto;
13
- //# sourceMappingURL=crypto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.js","sourceRoot":"","sources":["../../src/internal/shims/crypto.ts"],"names":[],"mappings":";;;AAAA,4DAAsD;AAY/C,IAAI,SAAS,GAA6B,SAAS,aAAa;IACrE,IAAI,iBAAS,KAAK,aAAa;QAAE,OAAO,IAAA,iBAAS,GAAE,CAAC;IACpD,MAAM,MAAM,GAAY,UAAkB,CAAC,MAAM,IAAK,IAAA,mCAAgB,CAAA,EAAE,CAAC,aAAa,CAAS,EAAE,SAAS,CAAC;IAC3G,iBAAS,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC;IACzB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AALS,QAAA,SAAS,aAKlB"}
@@ -1,9 +0,0 @@
1
- import { getBuiltinModule } from "./getBuiltinModule.mjs";
2
- export let getCrypto = function lazyGetCrypto() {
3
- if (getCrypto !== lazyGetCrypto)
4
- return getCrypto();
5
- const crypto = globalThis.crypto || getBuiltinModule?.('node:crypto')?.webcrypto;
6
- getCrypto = () => crypto;
7
- return crypto;
8
- };
9
- //# sourceMappingURL=crypto.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto.mjs","sourceRoot":"","sources":["../../src/internal/shims/crypto.ts"],"names":[],"mappings":"OAAO,EAAE,gBAAgB,EAAE;AAY3B,MAAM,CAAC,IAAI,SAAS,GAA6B,SAAS,aAAa;IACrE,IAAI,SAAS,KAAK,aAAa;QAAE,OAAO,SAAS,EAAE,CAAC;IACpD,MAAM,MAAM,GAAY,UAAkB,CAAC,MAAM,IAAK,gBAAgB,EAAE,CAAC,aAAa,CAAS,EAAE,SAAS,CAAC;IAC3G,SAAS,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC;IACzB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -1,23 +0,0 @@
1
-
2
- export declare let getFile: () => FileConstructor;
3
- type FileConstructor = typeof globalThis extends {
4
- File: infer fileConstructor;
5
- } ? fileConstructor : typeof FallbackFile;
6
- export type File = InstanceType<FileConstructor>;
7
- type FallbackBlobSource = ConstructorParameters<typeof Blob>[0] extends infer T ? T : never;
8
- /**
9
- * A [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) provides information about files.
10
- */
11
- declare class FallbackFile extends Blob {
12
- constructor(sources: FallbackBlobSource, fileName: string, options?: any);
13
- /**
14
- * The name of the `File`.
15
- */
16
- readonly name: string;
17
- /**
18
- * The last modified date of the `File`.
19
- */
20
- readonly lastModified: number;
21
- }
22
- export {};
23
- //# sourceMappingURL=file.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.d.mts","sourceRoot":"","sources":["../../src/internal/shims/file.ts"],"names":[],"mappings":";AAEA,eAAO,IAAI,OAAO,QAA2B,eAO5C,CAAC;AAEF,KAAK,eAAe,GAClB,OAAO,UAAU,SAAS;IAAE,IAAI,EAAE,MAAM,eAAe,CAAA;CAAE,GAAG,eAAe,GAAG,OAAO,YAAY,CAAC;AACpG,MAAM,MAAM,IAAI,GAAG,YAAY,CAAC,eAAe,CAAC,CAAC;AAIjD,KAAK,kBAAkB,GAAG,qBAAqB,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAC5F;;GAEG;AACH,OAAO,OAAO,YAAa,SAAQ,IAAI;gBACzB,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG;IACxE;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B"}
@@ -1,23 +0,0 @@
1
-
2
- export declare let getFile: () => FileConstructor;
3
- type FileConstructor = typeof globalThis extends {
4
- File: infer fileConstructor;
5
- } ? fileConstructor : typeof FallbackFile;
6
- export type File = InstanceType<FileConstructor>;
7
- type FallbackBlobSource = ConstructorParameters<typeof Blob>[0] extends infer T ? T : never;
8
- /**
9
- * A [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) provides information about files.
10
- */
11
- declare class FallbackFile extends Blob {
12
- constructor(sources: FallbackBlobSource, fileName: string, options?: any);
13
- /**
14
- * The name of the `File`.
15
- */
16
- readonly name: string;
17
- /**
18
- * The last modified date of the `File`.
19
- */
20
- readonly lastModified: number;
21
- }
22
- export {};
23
- //# sourceMappingURL=file.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/internal/shims/file.ts"],"names":[],"mappings":";AAEA,eAAO,IAAI,OAAO,QAA2B,eAO5C,CAAC;AAEF,KAAK,eAAe,GAClB,OAAO,UAAU,SAAS;IAAE,IAAI,EAAE,MAAM,eAAe,CAAA;CAAE,GAAG,eAAe,GAAG,OAAO,YAAY,CAAC;AACpG,MAAM,MAAM,IAAI,GAAG,YAAY,CAAC,eAAe,CAAC,CAAC;AAIjD,KAAK,kBAAkB,GAAG,qBAAqB,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAC5F;;GAEG;AACH,OAAO,OAAO,YAAa,SAAQ,IAAI;gBACzB,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG;IACxE;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getFile = void 0;
4
- const getBuiltinModule_1 = require("./getBuiltinModule.js");
5
- let getFile = function lazyGetFile() {
6
- if (exports.getFile !== lazyGetFile)
7
- return (0, exports.getFile)();
8
- // We can drop getBuiltinModule once we no longer support Node < 20.0.0
9
- const File = globalThis.File ?? (0, getBuiltinModule_1.getBuiltinModule)?.('node:buffer')?.File;
10
- if (!File)
11
- throw new Error('`File` is not defined as a global, which is required for file uploads.');
12
- exports.getFile = () => File;
13
- return File;
14
- };
15
- exports.getFile = getFile;
16
- //# sourceMappingURL=file.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/internal/shims/file.ts"],"names":[],"mappings":";;;AAAA,4DAAsD;AAE/C,IAAI,OAAO,GAAG,SAAS,WAAW;IACvC,IAAI,eAAO,KAAK,WAAW;QAAE,OAAO,IAAA,eAAO,GAAE,CAAC;IAC9C,uEAAuE;IACvE,MAAM,IAAI,GAAI,UAAkB,CAAC,IAAI,IAAK,IAAA,mCAAgB,CAAA,EAAE,CAAC,aAAa,CAAS,EAAE,IAAI,CAAC;IAC1F,IAAI,CAAC,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,wEAAwE,CAAC,CAAC;IACrG,eAAO,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC;IACrB,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAPS,QAAA,OAAO,WAOhB"}
@@ -1,12 +0,0 @@
1
- import { getBuiltinModule } from "./getBuiltinModule.mjs";
2
- export let getFile = function lazyGetFile() {
3
- if (getFile !== lazyGetFile)
4
- return getFile();
5
- // We can drop getBuiltinModule once we no longer support Node < 20.0.0
6
- const File = globalThis.File ?? getBuiltinModule?.('node:buffer')?.File;
7
- if (!File)
8
- throw new Error('`File` is not defined as a global, which is required for file uploads.');
9
- getFile = () => File;
10
- return File;
11
- };
12
- //# sourceMappingURL=file.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.mjs","sourceRoot":"","sources":["../../src/internal/shims/file.ts"],"names":[],"mappings":"OAAO,EAAE,gBAAgB,EAAE;AAE3B,MAAM,CAAC,IAAI,OAAO,GAAG,SAAS,WAAW;IACvC,IAAI,OAAO,KAAK,WAAW;QAAE,OAAO,OAAO,EAAE,CAAC;IAC9C,uEAAuE;IACvE,MAAM,IAAI,GAAI,UAAkB,CAAC,IAAI,IAAK,gBAAgB,EAAE,CAAC,aAAa,CAAS,EAAE,IAAI,CAAC;IAC1F,IAAI,CAAC,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,wEAAwE,CAAC,CAAC;IACrG,OAAO,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC;IACrB,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Load a Node built-in module. ID may or may not be prefixed by `node:` and
3
- * will be normalized. If we used static imports then our bundle size would be bloated by
4
- * injected polyfills, and if we used dynamic require then in addition to bundlers logging warnings,
5
- * our code would not work when bundled to ESM and run in Node 18.
6
- * @param {string} id ID of the built-in to be loaded.
7
- * @returns {object|undefined} exports of the built-in. Undefined if the built-in
8
- * does not exist.
9
- */
10
- export declare let getBuiltinModule: null | ((id: string) => object | undefined);
11
- //# sourceMappingURL=getBuiltinModule.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBuiltinModule.d.mts","sourceRoot":"","sources":["../../src/internal/shims/getBuiltinModule.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,IAAI,gBAAgB,EAAE,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAsDtE,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Load a Node built-in module. ID may or may not be prefixed by `node:` and
3
- * will be normalized. If we used static imports then our bundle size would be bloated by
4
- * injected polyfills, and if we used dynamic require then in addition to bundlers logging warnings,
5
- * our code would not work when bundled to ESM and run in Node 18.
6
- * @param {string} id ID of the built-in to be loaded.
7
- * @returns {object|undefined} exports of the built-in. Undefined if the built-in
8
- * does not exist.
9
- */
10
- export declare let getBuiltinModule: null | ((id: string) => object | undefined);
11
- //# sourceMappingURL=getBuiltinModule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBuiltinModule.d.ts","sourceRoot":"","sources":["../../src/internal/shims/getBuiltinModule.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,IAAI,gBAAgB,EAAE,IAAI,GAAG,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAsDtE,CAAC"}
@@ -1,68 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBuiltinModule = void 0;
4
- /**
5
- * Load a Node built-in module. ID may or may not be prefixed by `node:` and
6
- * will be normalized. If we used static imports then our bundle size would be bloated by
7
- * injected polyfills, and if we used dynamic require then in addition to bundlers logging warnings,
8
- * our code would not work when bundled to ESM and run in Node 18.
9
- * @param {string} id ID of the built-in to be loaded.
10
- * @returns {object|undefined} exports of the built-in. Undefined if the built-in
11
- * does not exist.
12
- */
13
- let getBuiltinModule = function getBuiltinModuleLazy(id) {
14
- try {
15
- if (exports.getBuiltinModule !== getBuiltinModuleLazy)
16
- return exports.getBuiltinModule(id);
17
- if (process.getBuiltinModule) {
18
- exports.getBuiltinModule = process.getBuiltinModule;
19
- }
20
- else {
21
- /* Fallback implementation for Node 18 */
22
- function createFallbackGetBuiltinModule(BuiltinModule) {
23
- return function getBuiltinModule(id) {
24
- id = BuiltinModule.normalizeRequirableId(String(id));
25
- if (!BuiltinModule.canBeRequiredByUsers(id)) {
26
- return;
27
- }
28
- const mod = BuiltinModule.map.get(id);
29
- mod.compileForPublicLoader();
30
- return mod.exports;
31
- };
32
- }
33
- const magicKey = Math.random() + '';
34
- let module;
35
- try {
36
- const kClone = Object.getOwnPropertySymbols(Blob.prototype).find((e) => e.description?.includes('clone'));
37
- Object.defineProperty(Object.prototype, magicKey, {
38
- get() {
39
- module = this;
40
- throw null;
41
- },
42
- configurable: true,
43
- });
44
- structuredClone(new (class extends Blob {
45
- [kClone]() {
46
- return {
47
- deserializeInfo: 'internal/bootstrap/realm:' + magicKey,
48
- };
49
- }
50
- })([]));
51
- }
52
- catch { }
53
- delete Object.prototype[magicKey];
54
- if (module) {
55
- exports.getBuiltinModule = createFallbackGetBuiltinModule(module.BuiltinModule);
56
- }
57
- else {
58
- exports.getBuiltinModule = () => undefined;
59
- }
60
- }
61
- return exports.getBuiltinModule(id);
62
- }
63
- catch {
64
- return undefined;
65
- }
66
- };
67
- exports.getBuiltinModule = getBuiltinModule;
68
- //# sourceMappingURL=getBuiltinModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBuiltinModule.js","sourceRoot":"","sources":["../../src/internal/shims/getBuiltinModule.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACI,IAAI,gBAAgB,GAAgD,SAAS,oBAAoB,CACtG,EAAU;IAEV,IAAI;QACF,IAAI,wBAAgB,KAAK,oBAAoB;YAAE,OAAO,wBAAiB,CAAC,EAAE,CAAC,CAAC;QAC5E,IAAK,OAAe,CAAC,gBAAgB,EAAE;YACrC,wBAAgB,GAAI,OAAe,CAAC,gBAAgB,CAAC;SACtD;aAAM;YACL,yCAAyC;YACzC,SAAS,8BAA8B,CAAC,aAAkB;gBACxD,OAAO,SAAS,gBAAgB,CAAC,EAAU;oBACzC,EAAE,GAAG,aAAa,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;oBACrD,IAAI,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,CAAC,EAAE;wBAC3C,OAAO;qBACR;oBACD,MAAM,GAAG,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;oBACtC,GAAG,CAAC,sBAAsB,EAAE,CAAC;oBAC7B,OAAO,GAAG,CAAC,OAAO,CAAC;gBACrB,CAAC,CAAC;YACJ,CAAC;YACD,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC;YACpC,IAAI,MAA0C,CAAC;YAC/C,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAC9D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,QAAQ,CAAC,OAAO,CAAC,CACvC,CAAC;gBACH,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE;oBAChD,GAAG;wBACD,MAAM,GAAG,IAAI,CAAC;wBACd,MAAM,IAAI,CAAC;oBACb,CAAC;oBACD,YAAY,EAAE,IAAI;iBACnB,CAAC,CAAC;gBACH,eAAe,CACb,IAAI,CAAC,KAAM,SAAQ,IAAI;oBACrB,CAAC,MAAM,CAAC;wBACN,OAAO;4BACL,eAAe,EAAE,2BAA2B,GAAG,QAAQ;yBACxD,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC,EAAE,CAAC,CACP,CAAC;aACH;YAAC,MAAM,GAAE;YACV,OAAQ,MAAM,CAAC,SAAiB,CAAC,QAAQ,CAAC,CAAC;YAC3C,IAAI,MAAM,EAAE;gBACV,wBAAgB,GAAG,8BAA8B,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;aACzE;iBAAM;gBACL,wBAAgB,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC;aACpC;SACF;QACD,OAAO,wBAAiB,CAAC,EAAE,CAAC,CAAC;KAC9B;IAAC,MAAM;QACN,OAAO,SAAS,CAAC;KAClB;AACH,CAAC,CAAC;AAtDS,QAAA,gBAAgB,oBAsDzB"}
@@ -1,64 +0,0 @@
1
- /**
2
- * Load a Node built-in module. ID may or may not be prefixed by `node:` and
3
- * will be normalized. If we used static imports then our bundle size would be bloated by
4
- * injected polyfills, and if we used dynamic require then in addition to bundlers logging warnings,
5
- * our code would not work when bundled to ESM and run in Node 18.
6
- * @param {string} id ID of the built-in to be loaded.
7
- * @returns {object|undefined} exports of the built-in. Undefined if the built-in
8
- * does not exist.
9
- */
10
- export let getBuiltinModule = function getBuiltinModuleLazy(id) {
11
- try {
12
- if (getBuiltinModule !== getBuiltinModuleLazy)
13
- return getBuiltinModule(id);
14
- if (process.getBuiltinModule) {
15
- getBuiltinModule = process.getBuiltinModule;
16
- }
17
- else {
18
- /* Fallback implementation for Node 18 */
19
- function createFallbackGetBuiltinModule(BuiltinModule) {
20
- return function getBuiltinModule(id) {
21
- id = BuiltinModule.normalizeRequirableId(String(id));
22
- if (!BuiltinModule.canBeRequiredByUsers(id)) {
23
- return;
24
- }
25
- const mod = BuiltinModule.map.get(id);
26
- mod.compileForPublicLoader();
27
- return mod.exports;
28
- };
29
- }
30
- const magicKey = Math.random() + '';
31
- let module;
32
- try {
33
- const kClone = Object.getOwnPropertySymbols(Blob.prototype).find((e) => e.description?.includes('clone'));
34
- Object.defineProperty(Object.prototype, magicKey, {
35
- get() {
36
- module = this;
37
- throw null;
38
- },
39
- configurable: true,
40
- });
41
- structuredClone(new (class extends Blob {
42
- [kClone]() {
43
- return {
44
- deserializeInfo: 'internal/bootstrap/realm:' + magicKey,
45
- };
46
- }
47
- })([]));
48
- }
49
- catch { }
50
- delete Object.prototype[magicKey];
51
- if (module) {
52
- getBuiltinModule = createFallbackGetBuiltinModule(module.BuiltinModule);
53
- }
54
- else {
55
- getBuiltinModule = () => undefined;
56
- }
57
- }
58
- return getBuiltinModule(id);
59
- }
60
- catch {
61
- return undefined;
62
- }
63
- };
64
- //# sourceMappingURL=getBuiltinModule.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBuiltinModule.mjs","sourceRoot":"","sources":["../../src/internal/shims/getBuiltinModule.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,IAAI,gBAAgB,GAAgD,SAAS,oBAAoB,CACtG,EAAU;IAEV,IAAI;QACF,IAAI,gBAAgB,KAAK,oBAAoB;YAAE,OAAO,gBAAiB,CAAC,EAAE,CAAC,CAAC;QAC5E,IAAK,OAAe,CAAC,gBAAgB,EAAE;YACrC,gBAAgB,GAAI,OAAe,CAAC,gBAAgB,CAAC;SACtD;aAAM;YACL,yCAAyC;YACzC,SAAS,8BAA8B,CAAC,aAAkB;gBACxD,OAAO,SAAS,gBAAgB,CAAC,EAAU;oBACzC,EAAE,GAAG,aAAa,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;oBACrD,IAAI,CAAC,aAAa,CAAC,oBAAoB,CAAC,EAAE,CAAC,EAAE;wBAC3C,OAAO;qBACR;oBACD,MAAM,GAAG,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;oBACtC,GAAG,CAAC,sBAAsB,EAAE,CAAC;oBAC7B,OAAO,GAAG,CAAC,OAAO,CAAC;gBACrB,CAAC,CAAC;YACJ,CAAC;YACD,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC;YACpC,IAAI,MAA0C,CAAC;YAC/C,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAC9D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,QAAQ,CAAC,OAAO,CAAC,CACvC,CAAC;gBACH,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE;oBAChD,GAAG;wBACD,MAAM,GAAG,IAAI,CAAC;wBACd,MAAM,IAAI,CAAC;oBACb,CAAC;oBACD,YAAY,EAAE,IAAI;iBACnB,CAAC,CAAC;gBACH,eAAe,CACb,IAAI,CAAC,KAAM,SAAQ,IAAI;oBACrB,CAAC,MAAM,CAAC;wBACN,OAAO;4BACL,eAAe,EAAE,2BAA2B,GAAG,QAAQ;yBACxD,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC,EAAE,CAAC,CACP,CAAC;aACH;YAAC,MAAM,GAAE;YACV,OAAQ,MAAM,CAAC,SAAiB,CAAC,QAAQ,CAAC,CAAC;YAC3C,IAAI,MAAM,EAAE;gBACV,gBAAgB,GAAG,8BAA8B,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;aACzE;iBAAM;gBACL,gBAAgB,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC;aACpC;SACF;QACD,OAAO,gBAAiB,CAAC,EAAE,CAAC,CAAC;KAC9B;IAAC,MAAM;QACN,OAAO,SAAS,CAAC;KAClB;AACH,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const getBuiltinModule: null;
2
- //# sourceMappingURL=nullGetBuiltinModule.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.d.mts","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,MAAO,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const getBuiltinModule: null;
2
- //# sourceMappingURL=nullGetBuiltinModule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.d.ts","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,MAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBuiltinModule = void 0;
4
- exports.getBuiltinModule = null;
5
- //# sourceMappingURL=nullGetBuiltinModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.js","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,IAAI,CAAC"}
@@ -1,2 +0,0 @@
1
- export const getBuiltinModule = null;
2
- //# sourceMappingURL=nullGetBuiltinModule.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.mjs","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC"}