@oxc-minify/binding-wasm32-wasi 0.150.0 → 0.152.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.
- package/minify.wasi-browser.js +831 -27
- package/minify.wasi.cjs +850 -28
- package/minify.wasi.d.cts +37 -1
- package/minify.wasm32-wasi.wasm +0 -0
- package/package.json +1 -1
package/minify.wasi.d.cts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* auto-generated by NAPI-RS */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
|
|
4
|
+
/** The WASI flavor this loader instantiates. */
|
|
5
|
+
export declare const __napiBindingTarget: 'wasm32-wasi'
|
|
6
|
+
|
|
4
7
|
export interface CodegenOptions {
|
|
5
8
|
/**
|
|
6
9
|
* Remove whitespace.
|
|
@@ -338,6 +341,39 @@ export declare const enum Severity {
|
|
|
338
341
|
Advice = 'Advice',
|
|
339
342
|
}
|
|
340
343
|
|
|
344
|
+
/** See <https://tc39.es/ecma426/#sec-source-map-format>. */
|
|
345
|
+
export interface JSONSourceMap {
|
|
346
|
+
/** The version field, must be 3. */
|
|
347
|
+
version: number
|
|
348
|
+
/** An optional name of the generated code that this source map is associated with. */
|
|
349
|
+
file?: string
|
|
350
|
+
/** A string with the encoded mapping data. */
|
|
351
|
+
mappings: string
|
|
352
|
+
/**
|
|
353
|
+
* An optional source root, useful for relocating source files on a server or removing repeated values in the "sources" entry.
|
|
354
|
+
* This value is prepended to the individual entries in the "source" field.
|
|
355
|
+
*/
|
|
356
|
+
sourceRoot?: string
|
|
357
|
+
/** A list of original sources used by the "mappings" entry. */
|
|
358
|
+
sources: Array<string>
|
|
359
|
+
/**
|
|
360
|
+
* An optional list of source content, useful when the "source" can't be hosted.
|
|
361
|
+
* The contents are listed in the same order as the sources in line 5. "null" may be used if some original sources should be retrieved by name.
|
|
362
|
+
*/
|
|
363
|
+
sourcesContent?: Array<string | undefined | null>
|
|
364
|
+
/** A list of symbol names used by the "mappings" entry. */
|
|
365
|
+
names: Array<string>
|
|
366
|
+
/** An optional field containing the debugId for this sourcemap. */
|
|
367
|
+
debugId?: string
|
|
368
|
+
/**
|
|
369
|
+
* Identifies third-party sources (such as framework code or bundler-generated code), allowing developers to avoid code that they don't want to see or step through, without having to configure this beforehand.
|
|
370
|
+
* The `ignoreList` field refers to the `sources` array, and lists the indices of all the known third-party sources in that source map.
|
|
371
|
+
* When parsing the source map, developer tools can use this to determine sections of the code that the browser loads and runs that could be automatically ignore-listed.
|
|
372
|
+
* JSON input falls back to the deprecated `x_google_ignoreList` when `ignoreList` is missing or null.
|
|
373
|
+
*/
|
|
374
|
+
ignoreList?: Array<number>
|
|
375
|
+
}
|
|
376
|
+
|
|
341
377
|
export interface SourceMap {
|
|
342
378
|
file?: string
|
|
343
379
|
mappings: string
|
|
@@ -346,5 +382,5 @@ export interface SourceMap {
|
|
|
346
382
|
sources: Array<string>
|
|
347
383
|
sourcesContent?: Array<string>
|
|
348
384
|
version: number
|
|
349
|
-
|
|
385
|
+
ignoreList?: Array<number>
|
|
350
386
|
}
|
package/minify.wasm32-wasi.wasm
CHANGED
|
Binary file
|