@rolldown/binding-wasm32-wasi 1.2.15 → 1.2.18
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.18",
|
|
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
|
}
|
|
@@ -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 {
|
|
Binary file
|