@rolldown/binding-wasm32-wasi 1.2.14 → 1.2.16
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolldown/binding-wasm32-wasi",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"main": "rolldown-binding.wasi.cjs",
|
|
5
5
|
"files": [
|
|
6
6
|
"rolldown-binding.wasm32-wasi.wasm",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"browser": "rolldown-binding.wasi-browser.js",
|
|
41
41
|
"type": "module",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@napi-rs/wasm-runtime": "
|
|
44
|
-
"@emnapi/core": "2.0.0-
|
|
45
|
-
"@emnapi/runtime": "2.0.0-
|
|
43
|
+
"@napi-rs/wasm-runtime": "1.2.6",
|
|
44
|
+
"@emnapi/core": "2.0.0-beta.2",
|
|
45
|
+
"@emnapi/runtime": "2.0.0-beta.2"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1169,8 +1169,8 @@ export interface ModuleRunnerTransformResult {
|
|
|
1169
1169
|
* This will be set if {@link TransformOptions#sourcemap} is `true`.
|
|
1170
1170
|
*/
|
|
1171
1171
|
map?: SourceMap
|
|
1172
|
-
deps:
|
|
1173
|
-
dynamicDeps:
|
|
1172
|
+
deps: string[]
|
|
1173
|
+
dynamicDeps: string[]
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Parse and transformation errors.
|
|
1176
1176
|
*
|
|
@@ -1809,6 +1809,12 @@ export declare class BindingOutputChunk {
|
|
|
1809
1809
|
getImports(): Array<string>
|
|
1810
1810
|
getDynamicImports(): Array<string>
|
|
1811
1811
|
getCode(): string
|
|
1812
|
+
/**
|
|
1813
|
+
* Identity of the shared chunk data behind this object. Two `BindingOutputChunk` objects with the same
|
|
1814
|
+
* identity share the same data, so a JavaScript string made from `getCode()` of one is valid for the other.
|
|
1815
|
+
* The identity is the address of that data. It stays unique while a `BindingOutputChunk` keeps the data alive.
|
|
1816
|
+
*/
|
|
1817
|
+
getCodeIdentity(): number
|
|
1812
1818
|
getMap(): string | null
|
|
1813
1819
|
getSourcemapFileName(): string | null
|
|
1814
1820
|
getPreliminaryFileName(): string
|
|
@@ -1846,6 +1852,8 @@ export declare class BindingRenderedChunkMeta {
|
|
|
1846
1852
|
|
|
1847
1853
|
export declare class BindingRenderedModule {
|
|
1848
1854
|
get code(): string | null
|
|
1855
|
+
/** `code.length` without materializing `code`. */
|
|
1856
|
+
get renderedLength(): number
|
|
1849
1857
|
get renderedExports(): Array<string>
|
|
1850
1858
|
}
|
|
1851
1859
|
|
|
@@ -2081,6 +2089,12 @@ export interface BindingDevOptions {
|
|
|
2081
2089
|
|
|
2082
2090
|
export interface BindingDevtoolsOptions {
|
|
2083
2091
|
sessionId?: string
|
|
2092
|
+
/**
|
|
2093
|
+
* `"full"` (default): write JSON-lines devtools logs. `"report"`: aggregate the same
|
|
2094
|
+
* event stream in-memory and emit an agent-readable report (`metrics.json` + markdown)
|
|
2095
|
+
* under `node_modules/.rolldown/report/<output dir>` instead.
|
|
2096
|
+
*/
|
|
2097
|
+
mode?: 'full' | 'report'
|
|
2084
2098
|
}
|
|
2085
2099
|
|
|
2086
2100
|
export interface BindingDevWatchOptions {
|
|
@@ -3050,6 +3064,7 @@ export interface BindingViteResolvePluginConfig {
|
|
|
3050
3064
|
tsconfig?: string
|
|
3051
3065
|
environmentConsumer: string
|
|
3052
3066
|
environmentName: string
|
|
3067
|
+
convertExternalRequire?: boolean
|
|
3053
3068
|
builtins: Array<BindingStringOrRegex>
|
|
3054
3069
|
external: true | string[]
|
|
3055
3070
|
noExternal: true | Array<string | RegExp>
|
|
@@ -3066,6 +3081,8 @@ export interface BindingViteResolvePluginConfig {
|
|
|
3066
3081
|
|
|
3067
3082
|
export interface BindingViteResolvePluginResolveOptions {
|
|
3068
3083
|
isBuild: boolean
|
|
3084
|
+
/** Defaults to `isBuild`. */
|
|
3085
|
+
isBundled?: boolean
|
|
3069
3086
|
isProduction: boolean
|
|
3070
3087
|
asSrc: boolean
|
|
3071
3088
|
preferRelative: boolean
|
|
Binary file
|