@rolldown/binding-wasm32-wasi 1.2.9 → 1.2.10

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.
@@ -1583,8 +1583,9 @@ export declare class BindingDevEngine {
1583
1583
  */
1584
1584
  registerClient(clientId: string): Promise<void>
1585
1585
  /**
1586
- * Delivery notification from the serving middleware: the response for
1587
- * `filename` completed, so record its modules as shipped to that client.
1586
+ * Delivery notification for the payload `filename`: the client reported that it
1587
+ * ran the payload, so record its modules as shipped to that client. See
1588
+ * `DevEngine::notify_payload_delivered`.
1588
1589
  */
1589
1590
  notifyPayloadDelivered(filename: string): Promise<void>
1590
1591
  removeClient(clientId: string): Promise<void>
@@ -1973,6 +1974,8 @@ export interface BindingChecksOptions {
1973
1974
  configurationFieldConflict?: boolean
1974
1975
  preferBuiltinFeature?: boolean
1975
1976
  couldNotCleanDirectory?: boolean
1977
+ bundlerTimings?: boolean
1978
+ /** Deprecated alias for `bundlerTimings`. Rolldown uses `bundlerTimings` if both options have values. */
1976
1979
  pluginTimings?: boolean
1977
1980
  duplicateShebang?: boolean
1978
1981
  unsupportedTsconfigOption?: boolean
@@ -2625,9 +2628,13 @@ export interface BindingOutputOptions {
2625
2628
  sourcemap?: 'file' | 'inline' | 'hidden'
2626
2629
  sourcemapFileNames?: string | ((chunk: PreRenderedChunk) => string)
2627
2630
  sourcemapBaseUrl?: string
2628
- sourcemapIgnoreList?: boolean | string | RegExp | ((source: string, sourcemapPath: string) => boolean)
2631
+ sourcemapIgnoreList?: boolean | string | RegExp | ((sources: Array<string>, sourcemapPath: string) => Uint8Array)
2629
2632
  sourcemapDebugIds?: boolean
2630
- sourcemapPathTransform?: (source: string, sourcemapPath: string) => string
2633
+ /**
2634
+ * Batched like `sourcemapIgnoreList` above. One call rewrites every source of a sourcemap,
2635
+ * and the returned array matches the source array by index.
2636
+ */
2637
+ sourcemapPathTransform?: (sources: Array<string>, sourcemapPath: string) => Array<string>
2631
2638
  sourcemapExcludeSources?: boolean
2632
2639
  strict?: boolean | 'auto'
2633
2640
  minify?: boolean | 'dce-only' | MinifyOptions
Binary file