@rolldown/binding-wasm32-wasi 1.3.0 → 1.3.1

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.3.0",
3
+ "version": "1.3.1",
4
4
  "cpu": [
5
5
  "wasm32"
6
6
  ],
@@ -3211,21 +3211,24 @@ export interface JsOutputAsset {
3211
3211
  source: BindingAssetSource
3212
3212
  }
3213
3213
 
3214
+ /**
3215
+ * What a `generateBundle` or `writeBundle` hook changed in an output chunk. A field that is left
3216
+ * out is a property the plugin did not change, so the chunk keeps its value, which is never copied
3217
+ * through JavaScript. See `collectChunkChange` in
3218
+ * `packages/rolldown/src/utils/transform-to-rollup-output.ts`.
3219
+ */
3214
3220
  export interface JsOutputChunk {
3215
- name: string
3216
- isEntry: boolean
3217
- isDynamicEntry: boolean
3218
- facadeModuleId?: string
3219
- moduleIds: Array<string>
3220
- exports: Array<string>
3221
3221
  filename: string
3222
- modules: Record<string, BindingRenderedModule>
3223
- imports: Array<string>
3224
- dynamicImports: Array<string>
3225
- code: string
3226
- map?: BindingSourcemap
3227
- sourcemapFilename?: string
3228
- preliminaryFilename: string
3222
+ /**
3223
+ * Always sent. Besides its value, it tells a chunk apart from a `JsOutputAsset`, which has no
3224
+ * `isEntry`, when napi picks a side of `Either<JsOutputChunk, JsOutputAsset>`.
3225
+ */
3226
+ isEntry: boolean
3227
+ code?: string
3228
+ /** `null` removes the map. */
3229
+ map?: BindingSourcemap | null
3230
+ imports?: Array<string>
3231
+ dynamicImports?: Array<string>
3229
3232
  }
3230
3233
 
3231
3234
  /** Error emitted from native side, it only contains kind and message, no stack trace. */
Binary file