@rolldown/binding-wasm32-wasi 1.2.11 → 1.2.12

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.11",
3
+ "version": "1.2.12",
4
4
  "main": "rolldown-binding.wasi.cjs",
5
5
  "files": [
6
6
  "rolldown-binding.wasm32-wasi.wasm",
@@ -1474,7 +1474,6 @@ export const BindingWatcherEvent = __napiModule.exports.BindingWatcherEvent
1474
1474
  export const ParallelJsPluginRegistry = __napiModule.exports.ParallelJsPluginRegistry
1475
1475
  export const TraceSubscriberGuard = __napiModule.exports.TraceSubscriberGuard
1476
1476
  export const TsconfigCache = __napiModule.exports.TsconfigCache
1477
- export const __internalForcePanic = __napiModule.exports.__internalForcePanic
1478
1477
  export const BindingAttachDebugInfo = __napiModule.exports.BindingAttachDebugInfo
1479
1478
  export const BindingBuiltinPluginName = __napiModule.exports.BindingBuiltinPluginName
1480
1479
  export const BindingChunkModuleOrderBy = __napiModule.exports.BindingChunkModuleOrderBy
@@ -1,4 +1,4 @@
1
- // napi-rs-artifact-metadata:{"version":2,"rootEntry":"binding.cjs","exports":["LegalCommentsMode","minify","minifySync","Severity","ParseResult","ExportExportNameKind","ExportImportNameKind","ExportLocalNameKind","ImportNameKind","parse","parseSync","rawTransferSupported","ResolverFactory","EnforceExtension","ModuleType","sync","HelperMode","isolatedDeclaration","isolatedDeclarationSync","moduleRunnerTransform","moduleRunnerTransformSync","transform","transformSync","BindingBundleEndEventData","BindingBundleErrorEventData","BindingBundler","BindingCallableBuiltinPlugin","BindingChunkingContext","BindingDecodedMap","BindingDevEngine","BindingLoadPluginContext","BindingMagicString","BindingModuleInfo","BindingNormalizedOptions","BindingOutputAsset","BindingOutputChunk","BindingPluginContext","BindingRenderedChunk","BindingRenderedChunkMeta","BindingRenderedModule","BindingSourceMap","BindingTransformPluginContext","BindingWatcher","BindingWatcherBundler","BindingWatcherChangeData","BindingWatcherEvent","ParallelJsPluginRegistry","TraceSubscriberGuard","TsconfigCache","__internalForcePanic","BindingAttachDebugInfo","BindingBuiltinPluginName","BindingChunkModuleOrderBy","BindingErrorStage","BindingLogLevel","BindingPluginOrder","BindingPropertyReadSideEffects","BindingPropertyWriteSideEffects","BindingRebuildStrategy","collapseSourcemaps","enhancedTransform","enhancedTransformSync","FilterTokenKind","getNativeMemoryStats","initTraceSubscriber","registerPlugins","resetNativeMemoryStats","resolveTsconfig","shutdownAsyncRuntime","startAsyncRuntime"],"managedRootEntries":["browser.js","binding.cjs","rolldown-binding.wasm","rolldown-binding.debug.wasm"]}
1
+ // napi-rs-artifact-metadata:{"version":2,"rootEntry":"binding.cjs","exports":["LegalCommentsMode","minify","minifySync","Severity","ParseResult","ExportExportNameKind","ExportImportNameKind","ExportLocalNameKind","ImportNameKind","parse","parseSync","rawTransferSupported","ResolverFactory","EnforceExtension","ModuleType","sync","HelperMode","isolatedDeclaration","isolatedDeclarationSync","moduleRunnerTransform","moduleRunnerTransformSync","transform","transformSync","BindingBundleEndEventData","BindingBundleErrorEventData","BindingBundler","BindingCallableBuiltinPlugin","BindingChunkingContext","BindingDecodedMap","BindingDevEngine","BindingLoadPluginContext","BindingMagicString","BindingModuleInfo","BindingNormalizedOptions","BindingOutputAsset","BindingOutputChunk","BindingPluginContext","BindingRenderedChunk","BindingRenderedChunkMeta","BindingRenderedModule","BindingSourceMap","BindingTransformPluginContext","BindingWatcher","BindingWatcherBundler","BindingWatcherChangeData","BindingWatcherEvent","ParallelJsPluginRegistry","TraceSubscriberGuard","TsconfigCache","BindingAttachDebugInfo","BindingBuiltinPluginName","BindingChunkModuleOrderBy","BindingErrorStage","BindingLogLevel","BindingPluginOrder","BindingPropertyReadSideEffects","BindingPropertyWriteSideEffects","BindingRebuildStrategy","collapseSourcemaps","enhancedTransform","enhancedTransformSync","FilterTokenKind","getNativeMemoryStats","initTraceSubscriber","registerPlugins","resetNativeMemoryStats","resolveTsconfig","shutdownAsyncRuntime","startAsyncRuntime"],"managedRootEntries":["browser.js","binding.cjs","rolldown-binding.wasm","rolldown-binding.debug.wasm"]}
2
2
  /* eslint-disable */
3
3
  /* auto-generated by NAPI-RS */
4
4
 
@@ -1795,7 +1795,6 @@ module.exports.BindingWatcherEvent = __napiModule.exports.BindingWatcherEvent
1795
1795
  module.exports.ParallelJsPluginRegistry = __napiModule.exports.ParallelJsPluginRegistry
1796
1796
  module.exports.TraceSubscriberGuard = __napiModule.exports.TraceSubscriberGuard
1797
1797
  module.exports.TsconfigCache = __napiModule.exports.TsconfigCache
1798
- module.exports.__internalForcePanic = __napiModule.exports.__internalForcePanic
1799
1798
  module.exports.BindingAttachDebugInfo = __napiModule.exports.BindingAttachDebugInfo
1800
1799
  module.exports.BindingBuiltinPluginName = __napiModule.exports.BindingBuiltinPluginName
1801
1800
  module.exports.BindingChunkModuleOrderBy = __napiModule.exports.BindingChunkModuleOrderBy
@@ -874,6 +874,39 @@ export interface TsconfigOptions {
874
874
  references?: 'auto'
875
875
  }
876
876
 
877
+ /** See <https://tc39.es/ecma426/#sec-source-map-format>. */
878
+ export interface JSONSourceMap {
879
+ /** The version field, must be 3. */
880
+ version: number
881
+ /** An optional name of the generated code that this source map is associated with. */
882
+ file?: string
883
+ /** A string with the encoded mapping data. */
884
+ mappings: string
885
+ /**
886
+ * An optional source root, useful for relocating source files on a server or removing repeated values in the "sources" entry.
887
+ * This value is prepended to the individual entries in the "source" field.
888
+ */
889
+ sourceRoot?: string
890
+ /** A list of original sources used by the "mappings" entry. */
891
+ sources: Array<string>
892
+ /**
893
+ * An optional list of source content, useful when the "source" can't be hosted.
894
+ * The contents are listed in the same order as the sources in line 5. "null" may be used if some original sources should be retrieved by name.
895
+ */
896
+ sourcesContent?: Array<string | undefined | null>
897
+ /** A list of symbol names used by the "mappings" entry. */
898
+ names: Array<string>
899
+ /** An optional field containing the debugId for this sourcemap. */
900
+ debugId?: string
901
+ /**
902
+ * Identifies third-party sources (such as framework code or bundler-generated code), allowing developers to avoid code that they don't want to see or step through, without having to configure this beforehand.
903
+ * The `ignoreList` field refers to the `sources` array, and lists the indices of all the known third-party sources in that source map.
904
+ * When parsing the source map, developer tools can use this to determine sections of the code that the browser loads and runs that could be automatically ignore-listed.
905
+ * JSON input falls back to the deprecated `x_google_ignoreList` when `ignoreList` is missing or null.
906
+ */
907
+ ignoreList?: Array<number>
908
+ }
909
+
877
910
  export interface SourceMap {
878
911
  file?: string
879
912
  mappings: string
@@ -882,7 +915,7 @@ export interface SourceMap {
882
915
  sources: Array<string>
883
916
  sourcesContent?: Array<string>
884
917
  version: number
885
- x_google_ignoreList?: Array<number>
918
+ ignoreList?: Array<number>
886
919
  }
887
920
 
888
921
  export interface ArrowFunctionsOptions {
@@ -1899,13 +1932,6 @@ export declare class TsconfigCache {
1899
1932
  size(): number
1900
1933
  }
1901
1934
 
1902
- /**
1903
- * Panics on purpose. CI calls this to check that a published binding can produce a
1904
- * symbolicated backtrace from its separately published debug info.
1905
- * See `scripts/misc/verify-debuginfo.mjs` and internal-docs/panic-symbolication/implementation.md
1906
- */
1907
- export declare function __internalForcePanic(): void
1908
-
1909
1935
  export interface AliasItem {
1910
1936
  find: string
1911
1937
  replacements: Array<string | undefined | null>
@@ -2423,6 +2449,15 @@ export interface BindingInjectImportNamespace {
2423
2449
  from: string
2424
2450
  }
2425
2451
 
2452
+ /**
2453
+ * `output.codeSplitting.experimentalInlineCommonChunks`. `exclude` entries use the same shape
2454
+ * as `BindingMatchGroup.test`, including the batched function shim.
2455
+ */
2456
+ export interface BindingInlineCommonChunksOptions {
2457
+ maxSize?: number
2458
+ exclude?: Array<string | RegExp | ((ids: Array<string>) => Uint8Array)>
2459
+ }
2460
+
2426
2461
  export interface BindingInlineConstConfig {
2427
2462
  mode?: string
2428
2463
  pass?: number
@@ -2478,6 +2513,7 @@ export interface BindingJsonSourcemap {
2478
2513
  sourcesContent?: Array<string | undefined | null>
2479
2514
  names?: Array<string>
2480
2515
  debugId?: string
2516
+ ignoreList?: Array<number>
2481
2517
  x_google_ignoreList?: Array<number>
2482
2518
  }
2483
2519
 
@@ -2549,6 +2585,7 @@ export interface BindingManualCodeSplittingOptions {
2549
2585
  maxSize?: number
2550
2586
  minModuleSize?: number
2551
2587
  maxModuleSize?: number
2588
+ experimentalInlineCommonChunks?: BindingInlineCommonChunksOptions
2552
2589
  internalInvalidateModuleInfoCache?: () => void
2553
2590
  }
2554
2591
 
Binary file