@rolldown/binding-wasm32-wasi 1.3.1 → 1.3.2

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.1",
3
+ "version": "1.3.2",
4
4
  "cpu": [
5
5
  "wasm32"
6
6
  ],
@@ -1599,8 +1599,11 @@ export declare class BindingDecodedMap {
1599
1599
  * Each line is an array of segments, where each segment is [generatedColumn, sourceIndex, originalLine, originalColumn, nameIndex?].
1600
1600
  */
1601
1601
  get mappings(): Array<Array<Array<number>>>
1602
- /** The list of source indices that should be excluded from debugging. */
1603
- get x_google_ignoreList(): Array<number> | null
1602
+ /**
1603
+ * The list of source indices that should be excluded from debugging, or `undefined` when
1604
+ * the map has none. `magic-string` leaves the field out in that case.
1605
+ */
1606
+ get x_google_ignoreList(): Array<number> | undefined
1604
1607
  }
1605
1608
 
1606
1609
  export declare class BindingDevEngine {
@@ -1655,6 +1658,8 @@ export declare class BindingMagicString {
1655
1658
  get filename(): string | null
1656
1659
  get indentExclusionRanges(): Array<Array<number>> | Array<number> | null
1657
1660
  get ignoreList(): boolean
1661
+ /** The `hires` option of this instance, or `null` when it is not set. */
1662
+ get hires(): boolean | 'boundary' | null
1658
1663
  get offset(): number
1659
1664
  set offset(offset: number)
1660
1665
  replace(from: string, to: string): this
@@ -1876,8 +1881,11 @@ export declare class BindingSourceMap {
1876
1881
  get names(): Array<string>
1877
1882
  /** The VLQ-encoded mappings string. */
1878
1883
  get mappings(): string
1879
- /** The list of source indices that should be excluded from debugging. */
1880
- get x_google_ignoreList(): Array<number> | null
1884
+ /**
1885
+ * The list of source indices that should be excluded from debugging, or `undefined` when
1886
+ * the map has none. `magic-string` leaves the field out in that case.
1887
+ */
1888
+ get x_google_ignoreList(): Array<number> | undefined
1881
1889
  /** Returns the source map as a JSON string. */
1882
1890
  toString(): string
1883
1891
  /** Returns the source map as a base64-encoded data URL. */
@@ -2626,6 +2634,13 @@ export interface BindingMagicStringOptions {
2626
2634
  offset?: number
2627
2635
  indentExclusionRanges?: Array<Array<number>> | Array<number>
2628
2636
  ignoreList?: boolean
2637
+ /**
2638
+ * The resolution of the sourcemaps generated from this instance: `true`, `false` or
2639
+ * `"boundary"`. It applies to the map that Rolldown generates when a hook returns this
2640
+ * instance without a `map`, and to `generateMap()` without `hires`. When it is not set,
2641
+ * Rolldown uses `"boundary"` and `generateMap()` uses `false`.
2642
+ */
2643
+ hires?: boolean | 'boundary'
2629
2644
  }
2630
2645
 
2631
2646
  export type BindingMakeAbsoluteExternalsRelative =
Binary file