cdk-comprehend-s3olap 2.0.301 → 2.0.302

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.
@@ -1,660 +0,0 @@
1
- export type Platform = 'browser' | 'node' | 'neutral'
2
- export type Format = 'iife' | 'cjs' | 'esm'
3
- export type Loader = 'base64' | 'binary' | 'copy' | 'css' | 'dataurl' | 'default' | 'empty' | 'file' | 'js' | 'json' | 'jsx' | 'local-css' | 'text' | 'ts' | 'tsx'
4
- export type LogLevel = 'verbose' | 'debug' | 'info' | 'warning' | 'error' | 'silent'
5
- export type Charset = 'ascii' | 'utf8'
6
- export type Drop = 'console' | 'debugger'
7
-
8
- interface CommonOptions {
9
- /** Documentation: https://esbuild.github.io/api/#sourcemap */
10
- sourcemap?: boolean | 'linked' | 'inline' | 'external' | 'both'
11
- /** Documentation: https://esbuild.github.io/api/#legal-comments */
12
- legalComments?: 'none' | 'inline' | 'eof' | 'linked' | 'external'
13
- /** Documentation: https://esbuild.github.io/api/#source-root */
14
- sourceRoot?: string
15
- /** Documentation: https://esbuild.github.io/api/#sources-content */
16
- sourcesContent?: boolean
17
-
18
- /** Documentation: https://esbuild.github.io/api/#format */
19
- format?: Format
20
- /** Documentation: https://esbuild.github.io/api/#global-name */
21
- globalName?: string
22
- /** Documentation: https://esbuild.github.io/api/#target */
23
- target?: string | string[]
24
- /** Documentation: https://esbuild.github.io/api/#supported */
25
- supported?: Record<string, boolean>
26
- /** Documentation: https://esbuild.github.io/api/#platform */
27
- platform?: Platform
28
-
29
- /** Documentation: https://esbuild.github.io/api/#mangle-props */
30
- mangleProps?: RegExp
31
- /** Documentation: https://esbuild.github.io/api/#mangle-props */
32
- reserveProps?: RegExp
33
- /** Documentation: https://esbuild.github.io/api/#mangle-props */
34
- mangleQuoted?: boolean
35
- /** Documentation: https://esbuild.github.io/api/#mangle-props */
36
- mangleCache?: Record<string, string | false>
37
- /** Documentation: https://esbuild.github.io/api/#drop */
38
- drop?: Drop[]
39
- /** Documentation: https://esbuild.github.io/api/#drop-labels */
40
- dropLabels?: string[]
41
- /** Documentation: https://esbuild.github.io/api/#minify */
42
- minify?: boolean
43
- /** Documentation: https://esbuild.github.io/api/#minify */
44
- minifyWhitespace?: boolean
45
- /** Documentation: https://esbuild.github.io/api/#minify */
46
- minifyIdentifiers?: boolean
47
- /** Documentation: https://esbuild.github.io/api/#minify */
48
- minifySyntax?: boolean
49
- /** Documentation: https://esbuild.github.io/api/#line-limit */
50
- lineLimit?: number
51
- /** Documentation: https://esbuild.github.io/api/#charset */
52
- charset?: Charset
53
- /** Documentation: https://esbuild.github.io/api/#tree-shaking */
54
- treeShaking?: boolean
55
- /** Documentation: https://esbuild.github.io/api/#ignore-annotations */
56
- ignoreAnnotations?: boolean
57
-
58
- /** Documentation: https://esbuild.github.io/api/#jsx */
59
- jsx?: 'transform' | 'preserve' | 'automatic'
60
- /** Documentation: https://esbuild.github.io/api/#jsx-factory */
61
- jsxFactory?: string
62
- /** Documentation: https://esbuild.github.io/api/#jsx-fragment */
63
- jsxFragment?: string
64
- /** Documentation: https://esbuild.github.io/api/#jsx-import-source */
65
- jsxImportSource?: string
66
- /** Documentation: https://esbuild.github.io/api/#jsx-development */
67
- jsxDev?: boolean
68
- /** Documentation: https://esbuild.github.io/api/#jsx-side-effects */
69
- jsxSideEffects?: boolean
70
-
71
- /** Documentation: https://esbuild.github.io/api/#define */
72
- define?: { [key: string]: string }
73
- /** Documentation: https://esbuild.github.io/api/#pure */
74
- pure?: string[]
75
- /** Documentation: https://esbuild.github.io/api/#keep-names */
76
- keepNames?: boolean
77
-
78
- /** Documentation: https://esbuild.github.io/api/#color */
79
- color?: boolean
80
- /** Documentation: https://esbuild.github.io/api/#log-level */
81
- logLevel?: LogLevel
82
- /** Documentation: https://esbuild.github.io/api/#log-limit */
83
- logLimit?: number
84
- /** Documentation: https://esbuild.github.io/api/#log-override */
85
- logOverride?: Record<string, LogLevel>
86
-
87
- /** Documentation: https://esbuild.github.io/api/#tsconfig-raw */
88
- tsconfigRaw?: string | TsconfigRaw
89
- }
90
-
91
- export interface TsconfigRaw {
92
- compilerOptions?: {
93
- alwaysStrict?: boolean
94
- baseUrl?: string
95
- experimentalDecorators?: boolean
96
- importsNotUsedAsValues?: 'remove' | 'preserve' | 'error'
97
- jsx?: 'preserve' | 'react-native' | 'react' | 'react-jsx' | 'react-jsxdev'
98
- jsxFactory?: string
99
- jsxFragmentFactory?: string
100
- jsxImportSource?: string
101
- paths?: Record<string, string[]>
102
- preserveValueImports?: boolean
103
- strict?: boolean
104
- target?: string
105
- useDefineForClassFields?: boolean
106
- verbatimModuleSyntax?: boolean
107
- }
108
- }
109
-
110
- export interface BuildOptions extends CommonOptions {
111
- /** Documentation: https://esbuild.github.io/api/#bundle */
112
- bundle?: boolean
113
- /** Documentation: https://esbuild.github.io/api/#splitting */
114
- splitting?: boolean
115
- /** Documentation: https://esbuild.github.io/api/#preserve-symlinks */
116
- preserveSymlinks?: boolean
117
- /** Documentation: https://esbuild.github.io/api/#outfile */
118
- outfile?: string
119
- /** Documentation: https://esbuild.github.io/api/#metafile */
120
- metafile?: boolean
121
- /** Documentation: https://esbuild.github.io/api/#outdir */
122
- outdir?: string
123
- /** Documentation: https://esbuild.github.io/api/#outbase */
124
- outbase?: string
125
- /** Documentation: https://esbuild.github.io/api/#external */
126
- external?: string[]
127
- /** Documentation: https://esbuild.github.io/api/#packages */
128
- packages?: 'external'
129
- /** Documentation: https://esbuild.github.io/api/#alias */
130
- alias?: Record<string, string>
131
- /** Documentation: https://esbuild.github.io/api/#loader */
132
- loader?: { [ext: string]: Loader }
133
- /** Documentation: https://esbuild.github.io/api/#resolve-extensions */
134
- resolveExtensions?: string[]
135
- /** Documentation: https://esbuild.github.io/api/#main-fields */
136
- mainFields?: string[]
137
- /** Documentation: https://esbuild.github.io/api/#conditions */
138
- conditions?: string[]
139
- /** Documentation: https://esbuild.github.io/api/#write */
140
- write?: boolean
141
- /** Documentation: https://esbuild.github.io/api/#allow-overwrite */
142
- allowOverwrite?: boolean
143
- /** Documentation: https://esbuild.github.io/api/#tsconfig */
144
- tsconfig?: string
145
- /** Documentation: https://esbuild.github.io/api/#out-extension */
146
- outExtension?: { [ext: string]: string }
147
- /** Documentation: https://esbuild.github.io/api/#public-path */
148
- publicPath?: string
149
- /** Documentation: https://esbuild.github.io/api/#entry-names */
150
- entryNames?: string
151
- /** Documentation: https://esbuild.github.io/api/#chunk-names */
152
- chunkNames?: string
153
- /** Documentation: https://esbuild.github.io/api/#asset-names */
154
- assetNames?: string
155
- /** Documentation: https://esbuild.github.io/api/#inject */
156
- inject?: string[]
157
- /** Documentation: https://esbuild.github.io/api/#banner */
158
- banner?: { [type: string]: string }
159
- /** Documentation: https://esbuild.github.io/api/#footer */
160
- footer?: { [type: string]: string }
161
- /** Documentation: https://esbuild.github.io/api/#entry-points */
162
- entryPoints?: string[] | Record<string, string> | { in: string, out: string }[]
163
- /** Documentation: https://esbuild.github.io/api/#stdin */
164
- stdin?: StdinOptions
165
- /** Documentation: https://esbuild.github.io/plugins/ */
166
- plugins?: Plugin[]
167
- /** Documentation: https://esbuild.github.io/api/#working-directory */
168
- absWorkingDir?: string
169
- /** Documentation: https://esbuild.github.io/api/#node-paths */
170
- nodePaths?: string[]; // The "NODE_PATH" variable from Node.js
171
- }
172
-
173
- export interface StdinOptions {
174
- contents: string | Uint8Array
175
- resolveDir?: string
176
- sourcefile?: string
177
- loader?: Loader
178
- }
179
-
180
- export interface Message {
181
- id: string
182
- pluginName: string
183
- text: string
184
- location: Location | null
185
- notes: Note[]
186
-
187
- /**
188
- * Optional user-specified data that is passed through unmodified. You can
189
- * use this to stash the original error, for example.
190
- */
191
- detail: any
192
- }
193
-
194
- export interface Note {
195
- text: string
196
- location: Location | null
197
- }
198
-
199
- export interface Location {
200
- file: string
201
- namespace: string
202
- /** 1-based */
203
- line: number
204
- /** 0-based, in bytes */
205
- column: number
206
- /** in bytes */
207
- length: number
208
- lineText: string
209
- suggestion: string
210
- }
211
-
212
- export interface OutputFile {
213
- path: string
214
- contents: Uint8Array
215
- hash: string
216
- /** "contents" as text (changes automatically with "contents") */
217
- readonly text: string
218
- }
219
-
220
- export interface BuildResult<ProvidedOptions extends BuildOptions = BuildOptions> {
221
- errors: Message[]
222
- warnings: Message[]
223
- /** Only when "write: false" */
224
- outputFiles: OutputFile[] | (ProvidedOptions['write'] extends false ? never : undefined)
225
- /** Only when "metafile: true" */
226
- metafile: Metafile | (ProvidedOptions['metafile'] extends true ? never : undefined)
227
- /** Only when "mangleCache" is present */
228
- mangleCache: Record<string, string | false> | (ProvidedOptions['mangleCache'] extends Object ? never : undefined)
229
- }
230
-
231
- export interface BuildFailure extends Error {
232
- errors: Message[]
233
- warnings: Message[]
234
- }
235
-
236
- /** Documentation: https://esbuild.github.io/api/#serve-arguments */
237
- export interface ServeOptions {
238
- port?: number
239
- host?: string
240
- servedir?: string
241
- keyfile?: string
242
- certfile?: string
243
- fallback?: string
244
- onRequest?: (args: ServeOnRequestArgs) => void
245
- }
246
-
247
- export interface ServeOnRequestArgs {
248
- remoteAddress: string
249
- method: string
250
- path: string
251
- status: number
252
- /** The time to generate the response, not to send it */
253
- timeInMS: number
254
- }
255
-
256
- /** Documentation: https://esbuild.github.io/api/#serve-return-values */
257
- export interface ServeResult {
258
- port: number
259
- host: string
260
- }
261
-
262
- export interface TransformOptions extends CommonOptions {
263
- /** Documentation: https://esbuild.github.io/api/#sourcefile */
264
- sourcefile?: string
265
- /** Documentation: https://esbuild.github.io/api/#loader */
266
- loader?: Loader
267
- /** Documentation: https://esbuild.github.io/api/#banner */
268
- banner?: string
269
- /** Documentation: https://esbuild.github.io/api/#footer */
270
- footer?: string
271
- }
272
-
273
- export interface TransformResult<ProvidedOptions extends TransformOptions = TransformOptions> {
274
- code: string
275
- map: string
276
- warnings: Message[]
277
- /** Only when "mangleCache" is present */
278
- mangleCache: Record<string, string | false> | (ProvidedOptions['mangleCache'] extends Object ? never : undefined)
279
- /** Only when "legalComments" is "external" */
280
- legalComments: string | (ProvidedOptions['legalComments'] extends 'external' ? never : undefined)
281
- }
282
-
283
- export interface TransformFailure extends Error {
284
- errors: Message[]
285
- warnings: Message[]
286
- }
287
-
288
- export interface Plugin {
289
- name: string
290
- setup: (build: PluginBuild) => (void | Promise<void>)
291
- }
292
-
293
- export interface PluginBuild {
294
- /** Documentation: https://esbuild.github.io/plugins/#build-options */
295
- initialOptions: BuildOptions
296
-
297
- /** Documentation: https://esbuild.github.io/plugins/#resolve */
298
- resolve(path: string, options?: ResolveOptions): Promise<ResolveResult>
299
-
300
- /** Documentation: https://esbuild.github.io/plugins/#on-start */
301
- onStart(callback: () =>
302
- (OnStartResult | null | void | Promise<OnStartResult | null | void>)): void
303
-
304
- /** Documentation: https://esbuild.github.io/plugins/#on-end */
305
- onEnd(callback: (result: BuildResult) =>
306
- (OnEndResult | null | void | Promise<OnEndResult | null | void>)): void
307
-
308
- /** Documentation: https://esbuild.github.io/plugins/#on-resolve */
309
- onResolve(options: OnResolveOptions, callback: (args: OnResolveArgs) =>
310
- (OnResolveResult | null | undefined | Promise<OnResolveResult | null | undefined>)): void
311
-
312
- /** Documentation: https://esbuild.github.io/plugins/#on-load */
313
- onLoad(options: OnLoadOptions, callback: (args: OnLoadArgs) =>
314
- (OnLoadResult | null | undefined | Promise<OnLoadResult | null | undefined>)): void
315
-
316
- /** Documentation: https://esbuild.github.io/plugins/#on-dispose */
317
- onDispose(callback: () => void): void
318
-
319
- // This is a full copy of the esbuild library in case you need it
320
- esbuild: {
321
- context: typeof context,
322
- build: typeof build,
323
- buildSync: typeof buildSync,
324
- transform: typeof transform,
325
- transformSync: typeof transformSync,
326
- formatMessages: typeof formatMessages,
327
- formatMessagesSync: typeof formatMessagesSync,
328
- analyzeMetafile: typeof analyzeMetafile,
329
- analyzeMetafileSync: typeof analyzeMetafileSync,
330
- initialize: typeof initialize,
331
- version: typeof version,
332
- }
333
- }
334
-
335
- /** Documentation: https://esbuild.github.io/plugins/#resolve-options */
336
- export interface ResolveOptions {
337
- pluginName?: string
338
- importer?: string
339
- namespace?: string
340
- resolveDir?: string
341
- kind?: ImportKind
342
- pluginData?: any
343
- }
344
-
345
- /** Documentation: https://esbuild.github.io/plugins/#resolve-results */
346
- export interface ResolveResult {
347
- errors: Message[]
348
- warnings: Message[]
349
-
350
- path: string
351
- external: boolean
352
- sideEffects: boolean
353
- namespace: string
354
- suffix: string
355
- pluginData: any
356
- }
357
-
358
- export interface OnStartResult {
359
- errors?: PartialMessage[]
360
- warnings?: PartialMessage[]
361
- }
362
-
363
- export interface OnEndResult {
364
- errors?: PartialMessage[]
365
- warnings?: PartialMessage[]
366
- }
367
-
368
- /** Documentation: https://esbuild.github.io/plugins/#on-resolve-options */
369
- export interface OnResolveOptions {
370
- filter: RegExp
371
- namespace?: string
372
- }
373
-
374
- /** Documentation: https://esbuild.github.io/plugins/#on-resolve-arguments */
375
- export interface OnResolveArgs {
376
- path: string
377
- importer: string
378
- namespace: string
379
- resolveDir: string
380
- kind: ImportKind
381
- pluginData: any
382
- }
383
-
384
- export type ImportKind =
385
- | 'entry-point'
386
-
387
- // JS
388
- | 'import-statement'
389
- | 'require-call'
390
- | 'dynamic-import'
391
- | 'require-resolve'
392
-
393
- // CSS
394
- | 'import-rule'
395
- | 'composes-from'
396
- | 'url-token'
397
-
398
- /** Documentation: https://esbuild.github.io/plugins/#on-resolve-results */
399
- export interface OnResolveResult {
400
- pluginName?: string
401
-
402
- errors?: PartialMessage[]
403
- warnings?: PartialMessage[]
404
-
405
- path?: string
406
- external?: boolean
407
- sideEffects?: boolean
408
- namespace?: string
409
- suffix?: string
410
- pluginData?: any
411
-
412
- watchFiles?: string[]
413
- watchDirs?: string[]
414
- }
415
-
416
- /** Documentation: https://esbuild.github.io/plugins/#on-load-options */
417
- export interface OnLoadOptions {
418
- filter: RegExp
419
- namespace?: string
420
- }
421
-
422
- /** Documentation: https://esbuild.github.io/plugins/#on-load-arguments */
423
- export interface OnLoadArgs {
424
- path: string
425
- namespace: string
426
- suffix: string
427
- pluginData: any
428
- }
429
-
430
- /** Documentation: https://esbuild.github.io/plugins/#on-load-results */
431
- export interface OnLoadResult {
432
- pluginName?: string
433
-
434
- errors?: PartialMessage[]
435
- warnings?: PartialMessage[]
436
-
437
- contents?: string | Uint8Array
438
- resolveDir?: string
439
- loader?: Loader
440
- pluginData?: any
441
-
442
- watchFiles?: string[]
443
- watchDirs?: string[]
444
- }
445
-
446
- export interface PartialMessage {
447
- id?: string
448
- pluginName?: string
449
- text?: string
450
- location?: Partial<Location> | null
451
- notes?: PartialNote[]
452
- detail?: any
453
- }
454
-
455
- export interface PartialNote {
456
- text?: string
457
- location?: Partial<Location> | null
458
- }
459
-
460
- /** Documentation: https://esbuild.github.io/api/#metafile */
461
- export interface Metafile {
462
- inputs: {
463
- [path: string]: {
464
- bytes: number
465
- imports: {
466
- path: string
467
- kind: ImportKind
468
- external?: boolean
469
- original?: string
470
- }[]
471
- format?: 'cjs' | 'esm'
472
- }
473
- }
474
- outputs: {
475
- [path: string]: {
476
- bytes: number
477
- inputs: {
478
- [path: string]: {
479
- bytesInOutput: number
480
- }
481
- }
482
- imports: {
483
- path: string
484
- kind: ImportKind | 'file-loader'
485
- external?: boolean
486
- }[]
487
- exports: string[]
488
- entryPoint?: string
489
- cssBundle?: string
490
- }
491
- }
492
- }
493
-
494
- export interface FormatMessagesOptions {
495
- kind: 'error' | 'warning'
496
- color?: boolean
497
- terminalWidth?: number
498
- }
499
-
500
- export interface AnalyzeMetafileOptions {
501
- color?: boolean
502
- verbose?: boolean
503
- }
504
-
505
- export interface WatchOptions {
506
- }
507
-
508
- export interface BuildContext<ProvidedOptions extends BuildOptions = BuildOptions> {
509
- /** Documentation: https://esbuild.github.io/api/#rebuild */
510
- rebuild(): Promise<BuildResult<ProvidedOptions>>
511
-
512
- /** Documentation: https://esbuild.github.io/api/#watch */
513
- watch(options?: WatchOptions): Promise<void>
514
-
515
- /** Documentation: https://esbuild.github.io/api/#serve */
516
- serve(options?: ServeOptions): Promise<ServeResult>
517
-
518
- cancel(): Promise<void>
519
- dispose(): Promise<void>
520
- }
521
-
522
- // This is a TypeScript type-level function which replaces any keys in "In"
523
- // that aren't in "Out" with "never". We use this to reject properties with
524
- // typos in object literals. See: https://stackoverflow.com/questions/49580725
525
- type SameShape<Out, In extends Out> = In & { [Key in Exclude<keyof In, keyof Out>]: never }
526
-
527
- /**
528
- * This function invokes the "esbuild" command-line tool for you. It returns a
529
- * promise that either resolves with a "BuildResult" object or rejects with a
530
- * "BuildFailure" object.
531
- *
532
- * - Works in node: yes
533
- * - Works in browser: yes
534
- *
535
- * Documentation: https://esbuild.github.io/api/#build
536
- */
537
- export declare function build<T extends BuildOptions>(options: SameShape<BuildOptions, T>): Promise<BuildResult<T>>
538
-
539
- /**
540
- * This is the advanced long-running form of "build" that supports additional
541
- * features such as watch mode and a local development server.
542
- *
543
- * - Works in node: yes
544
- * - Works in browser: no
545
- *
546
- * Documentation: https://esbuild.github.io/api/#build
547
- */
548
- export declare function context<T extends BuildOptions>(options: SameShape<BuildOptions, T>): Promise<BuildContext<T>>
549
-
550
- /**
551
- * This function transforms a single JavaScript file. It can be used to minify
552
- * JavaScript, convert TypeScript/JSX to JavaScript, or convert newer JavaScript
553
- * to older JavaScript. It returns a promise that is either resolved with a
554
- * "TransformResult" object or rejected with a "TransformFailure" object.
555
- *
556
- * - Works in node: yes
557
- * - Works in browser: yes
558
- *
559
- * Documentation: https://esbuild.github.io/api/#transform
560
- */
561
- export declare function transform<T extends TransformOptions>(input: string | Uint8Array, options?: SameShape<TransformOptions, T>): Promise<TransformResult<T>>
562
-
563
- /**
564
- * Converts log messages to formatted message strings suitable for printing in
565
- * the terminal. This allows you to reuse the built-in behavior of esbuild's
566
- * log message formatter. This is a batch-oriented API for efficiency.
567
- *
568
- * - Works in node: yes
569
- * - Works in browser: yes
570
- */
571
- export declare function formatMessages(messages: PartialMessage[], options: FormatMessagesOptions): Promise<string[]>
572
-
573
- /**
574
- * Pretty-prints an analysis of the metafile JSON to a string. This is just for
575
- * convenience to be able to match esbuild's pretty-printing exactly. If you want
576
- * to customize it, you can just inspect the data in the metafile yourself.
577
- *
578
- * - Works in node: yes
579
- * - Works in browser: yes
580
- *
581
- * Documentation: https://esbuild.github.io/api/#analyze
582
- */
583
- export declare function analyzeMetafile(metafile: Metafile | string, options?: AnalyzeMetafileOptions): Promise<string>
584
-
585
- /**
586
- * A synchronous version of "build".
587
- *
588
- * - Works in node: yes
589
- * - Works in browser: no
590
- *
591
- * Documentation: https://esbuild.github.io/api/#build
592
- */
593
- export declare function buildSync<T extends BuildOptions>(options: SameShape<BuildOptions, T>): BuildResult<T>
594
-
595
- /**
596
- * A synchronous version of "transform".
597
- *
598
- * - Works in node: yes
599
- * - Works in browser: no
600
- *
601
- * Documentation: https://esbuild.github.io/api/#transform
602
- */
603
- export declare function transformSync<T extends TransformOptions>(input: string | Uint8Array, options?: SameShape<TransformOptions, T>): TransformResult<T>
604
-
605
- /**
606
- * A synchronous version of "formatMessages".
607
- *
608
- * - Works in node: yes
609
- * - Works in browser: no
610
- */
611
- export declare function formatMessagesSync(messages: PartialMessage[], options: FormatMessagesOptions): string[]
612
-
613
- /**
614
- * A synchronous version of "analyzeMetafile".
615
- *
616
- * - Works in node: yes
617
- * - Works in browser: no
618
- *
619
- * Documentation: https://esbuild.github.io/api/#analyze
620
- */
621
- export declare function analyzeMetafileSync(metafile: Metafile | string, options?: AnalyzeMetafileOptions): string
622
-
623
- /**
624
- * This configures the browser-based version of esbuild. It is necessary to
625
- * call this first and wait for the returned promise to be resolved before
626
- * making other API calls when using esbuild in the browser.
627
- *
628
- * - Works in node: yes
629
- * - Works in browser: yes ("options" is required)
630
- *
631
- * Documentation: https://esbuild.github.io/api/#browser
632
- */
633
- export declare function initialize(options: InitializeOptions): Promise<void>
634
-
635
- export interface InitializeOptions {
636
- /**
637
- * The URL of the "esbuild.wasm" file. This must be provided when running
638
- * esbuild in the browser.
639
- */
640
- wasmURL?: string | URL
641
-
642
- /**
643
- * The result of calling "new WebAssembly.Module(buffer)" where "buffer"
644
- * is a typed array or ArrayBuffer containing the binary code of the
645
- * "esbuild.wasm" file.
646
- *
647
- * You can use this as an alternative to "wasmURL" for environments where it's
648
- * not possible to download the WebAssembly module.
649
- */
650
- wasmModule?: WebAssembly.Module
651
-
652
- /**
653
- * By default esbuild runs the WebAssembly-based browser API in a web worker
654
- * to avoid blocking the UI thread. This can be disabled by setting "worker"
655
- * to false.
656
- */
657
- worker?: boolean
658
- }
659
-
660
- export let version: string