@rspack/binding 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/binding.d.ts +153 -73
  2. package/package.json +11 -11
package/binding.d.ts CHANGED
@@ -13,20 +13,20 @@ export type RawLazyCompilationTest = RegExp | ((m: JsModule) => boolean);
13
13
 
14
14
  /* -- napi-rs generated below -- */
15
15
 
16
- export class ExternalObject<T> {
16
+ export declare class ExternalObject<T> {
17
17
  readonly '': {
18
18
  readonly '': unique symbol
19
19
  [K: symbol]: T
20
20
  }
21
21
  }
22
- export class EntryDataDto {
23
- get dependencies(): Array<JsDependency>
24
- get includeDependencies(): Array<JsDependency>
22
+ export declare class EntryDataDto {
23
+ get dependencies(): JsDependency[]
24
+ get includeDependencies(): JsDependency[]
25
25
  get options(): EntryOptionsDto
26
26
  }
27
27
  export type EntryDataDTO = EntryDataDto
28
28
 
29
- export class EntryOptionsDto {
29
+ export declare class EntryOptionsDto {
30
30
  get name(): string | undefined
31
31
  set name(name: string | undefined)
32
32
  get runtime(): false | string | undefined
@@ -46,7 +46,7 @@ export class EntryOptionsDto {
46
46
  }
47
47
  export type EntryOptionsDTO = EntryOptionsDto
48
48
 
49
- export class JsCompilation {
49
+ export declare class JsCompilation {
50
50
  updateAsset(filename: string, newSourceOrFunction: JsCompatSource | ((source: JsCompatSource) => JsCompatSource), assetInfoUpdateOrFunction?: JsAssetInfo | ((assetInfo: JsAssetInfo) => JsAssetInfo)): void
51
51
  getAssets(): Readonly<JsAsset>[]
52
52
  getAsset(name: string): JsAsset | null
@@ -86,13 +86,18 @@ export class JsCompilation {
86
86
  addContextDependencies(deps: Array<string>): void
87
87
  addMissingDependencies(deps: Array<string>): void
88
88
  addBuildDependencies(deps: Array<string>): void
89
- rebuildModule(moduleIdentifiers: Array<string>, f: (...args: any[]) => any): void
90
- importModule(request: string, layer: string | undefined | null, publicPath: JsFilename | undefined | null, baseUri: string | undefined | null, originalModule: string | undefined | null, originalModuleContext: string | undefined | null, callback: (...args: any[]) => any): void
89
+ /**
90
+ * This is a very unsafe function.
91
+ * Please don't use this at the moment.
92
+ * Using async and mutable reference to `Compilation` at the same time would likely to cause data races.
93
+ */
94
+ rebuildModule(moduleIdentifiers: Array<string>, f: any): void
95
+ importModule(request: string, layer: string | undefined | null, publicPath: JsFilename | undefined | null, baseUri: string | undefined | null, originalModule: string | undefined | null, originalModuleContext: string | undefined | null, callback: any): void
91
96
  get entries(): JsEntries
92
97
  addRuntimeModule(chunkUkey: number, runtimeModule: JsAddingRuntimeModule): void
93
98
  }
94
99
 
95
- export class JsContextModuleFactoryAfterResolveData {
100
+ export declare class JsContextModuleFactoryAfterResolveData {
96
101
  get resource(): string
97
102
  set resource(resource: string)
98
103
  get context(): string
@@ -103,10 +108,10 @@ export class JsContextModuleFactoryAfterResolveData {
103
108
  set regExp(rawRegExp: RegExp | undefined)
104
109
  get recursive(): boolean
105
110
  set recursive(recursive: boolean)
106
- get dependencies(): Array<JsDependencyMut>
111
+ get dependencies(): JsDependency[]
107
112
  }
108
113
 
109
- export class JsContextModuleFactoryBeforeResolveData {
114
+ export declare class JsContextModuleFactoryBeforeResolveData {
110
115
  get context(): string
111
116
  set context(context: string)
112
117
  get request(): string
@@ -117,7 +122,7 @@ export class JsContextModuleFactoryBeforeResolveData {
117
122
  set recursive(recursive: boolean)
118
123
  }
119
124
 
120
- export class JsDependencies {
125
+ export declare class JsDependencies {
121
126
  get fileDependencies(): Array<string>
122
127
  get addedFileDependencies(): Array<string>
123
128
  get removedFileDependencies(): Array<string>
@@ -132,19 +137,12 @@ export class JsDependencies {
132
137
  get removedBuildDependencies(): Array<string>
133
138
  }
134
139
 
135
- export class JsDependenciesBlock {
136
- get dependencies(): Array<JsDependency>
137
- get blocks(): Array<JsDependenciesBlock>
138
- }
139
-
140
- export class JsDependency {
141
- get type(): string
142
- get category(): string
143
- get request(): string | undefined
144
- get critical(): boolean
140
+ export declare class JsDependenciesBlock {
141
+ get dependencies(): JsDependency[]
142
+ get blocks(): JsDependenciesBlock[]
145
143
  }
146
144
 
147
- export class JsDependencyMut {
145
+ export declare class JsDependency {
148
146
  get type(): string
149
147
  get category(): string
150
148
  get request(): string | undefined
@@ -152,7 +150,7 @@ export class JsDependencyMut {
152
150
  set critical(val: boolean)
153
151
  }
154
152
 
155
- export class JsEntries {
153
+ export declare class JsEntries {
156
154
  clear(): void
157
155
  get size(): number
158
156
  has(key: string): boolean
@@ -163,7 +161,7 @@ export class JsEntries {
163
161
  values(): Array<EntryDataDto>
164
162
  }
165
163
 
166
- export class JsModule {
164
+ export declare class JsModule {
167
165
  get context(): string | undefined
168
166
  get originalSource(): JsCompatSource | undefined
169
167
  get resource(): string | undefined
@@ -176,31 +174,31 @@ export class JsModule {
176
174
  get factoryMeta(): JsFactoryMeta | undefined
177
175
  get type(): string
178
176
  get layer(): string | undefined
179
- get blocks(): Array<JsDependenciesBlock>
180
- get dependencies(): Array<JsDependency>
177
+ get blocks(): JsDependenciesBlock[]
178
+ get dependencies(): JsDependency[]
181
179
  size(ty?: string | undefined | null): number
182
180
  get modules(): JsModule[] | undefined
183
181
  get useSourceMap(): boolean
184
182
  }
185
183
 
186
- export class JsResolver {
184
+ export declare class JsResolver {
187
185
  resolveSync(path: string, request: string): string | false
188
- withOptions(raw?: RawResolveOptionsWithDependencyType | undefined | null): this
186
+ withOptions(raw?: RawResolveOptionsWithDependencyType | undefined | null): JsResolver
189
187
  }
190
188
 
191
- export class JsResolverFactory {
189
+ export declare class JsResolverFactory {
192
190
  constructor()
193
191
  get(type: string, options?: RawResolveOptionsWithDependencyType): JsResolver
194
192
  }
195
193
 
196
- export class JsStats {
194
+ export declare class JsStats {
197
195
  toJson(jsOptions: JsStatsOptions): JsStatsCompilation
198
196
  hasWarnings(): boolean
199
197
  hasErrors(): boolean
200
198
  getLogging(acceptedTypes: number): Array<JsStatsLogging>
201
199
  }
202
200
 
203
- export class Rspack {
201
+ export declare class Rspack {
204
202
  constructor(options: RawOptions, builtinPlugins: Array<BuiltinPlugin>, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, resolverFactoryReference: JsResolverFactory)
205
203
  setNonSkippableRegisters(kinds: Array<RegisterJsTapKind>): void
206
204
  /** Build with the given option passed to the constructor */
@@ -209,29 +207,29 @@ export class Rspack {
209
207
  rebuild(changed_files: string[], removed_files: string[], callback: (err: null | Error) => void): void
210
208
  }
211
209
 
212
- export function __chunk_graph_inner_get_chunk_entry_dependent_chunks_iterable(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
210
+ export declare function __chunk_graph_inner_get_chunk_entry_dependent_chunks_iterable(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
213
211
 
214
- export function __chunk_graph_inner_get_chunk_entry_modules(jsChunkUkey: number, jsCompilation: JsCompilation): JsModule[]
212
+ export declare function __chunk_graph_inner_get_chunk_entry_modules(jsChunkUkey: number, jsCompilation: JsCompilation): JsModule[]
215
213
 
216
- export function __chunk_graph_inner_get_chunk_modules(jsChunkUkey: number, jsCompilation: JsCompilation): JsModule[]
214
+ export declare function __chunk_graph_inner_get_chunk_modules(jsChunkUkey: number, jsCompilation: JsCompilation): JsModule[]
217
215
 
218
- export function __chunk_graph_inner_get_chunk_modules_iterable_by_source_type(jsChunkUkey: number, sourceType: string, jsCompilation: JsCompilation): JsModule[]
216
+ export declare function __chunk_graph_inner_get_chunk_modules_iterable_by_source_type(jsChunkUkey: number, sourceType: string, jsCompilation: JsCompilation): JsModule[]
219
217
 
220
- export function __chunk_group_inner_get_chunk_group(ukey: number, jsCompilation: JsCompilation): JsChunkGroup
218
+ export declare function __chunk_group_inner_get_chunk_group(ukey: number, jsCompilation: JsCompilation): JsChunkGroup
221
219
 
222
- export function __chunk_inner_can_be_initial(jsChunkUkey: number, jsCompilation: JsCompilation): boolean
220
+ export declare function __chunk_inner_can_be_initial(jsChunkUkey: number, jsCompilation: JsCompilation): boolean
223
221
 
224
- export function __chunk_inner_get_all_async_chunks(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
222
+ export declare function __chunk_inner_get_all_async_chunks(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
225
223
 
226
- export function __chunk_inner_get_all_initial_chunks(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
224
+ export declare function __chunk_inner_get_all_initial_chunks(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
227
225
 
228
- export function __chunk_inner_get_all_referenced_chunks(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
226
+ export declare function __chunk_inner_get_all_referenced_chunks(jsChunkUkey: number, jsCompilation: JsCompilation): Array<JsChunk>
229
227
 
230
- export function __chunk_inner_has_runtime(jsChunkUkey: number, jsCompilation: JsCompilation): boolean
228
+ export declare function __chunk_inner_has_runtime(jsChunkUkey: number, jsCompilation: JsCompilation): boolean
231
229
 
232
- export function __chunk_inner_is_only_initial(jsChunkUkey: number, jsCompilation: JsCompilation): boolean
230
+ export declare function __chunk_inner_is_only_initial(jsChunkUkey: number, jsCompilation: JsCompilation): boolean
233
231
 
234
- export function __entrypoint_inner_get_runtime_chunk(ukey: number, jsCompilation: JsCompilation): JsChunk
232
+ export declare function __entrypoint_inner_get_runtime_chunk(ukey: number, jsCompilation: JsCompilation): JsChunk
235
233
 
236
234
  export interface BuiltinPlugin {
237
235
  name: BuiltinPluginName
@@ -239,7 +237,7 @@ export interface BuiltinPlugin {
239
237
  canInherentFromParent?: boolean
240
238
  }
241
239
 
242
- export enum BuiltinPluginName {
240
+ export declare enum BuiltinPluginName {
243
241
  DefinePlugin = 'DefinePlugin',
244
242
  ProvidePlugin = 'ProvidePlugin',
245
243
  BannerPlugin = 'BannerPlugin',
@@ -303,6 +301,10 @@ export enum BuiltinPluginName {
303
301
  SizeLimitsPlugin = 'SizeLimitsPlugin',
304
302
  NoEmitOnErrorsPlugin = 'NoEmitOnErrorsPlugin',
305
303
  ContextReplacementPlugin = 'ContextReplacementPlugin',
304
+ DllEntryPlugin = 'DllEntryPlugin',
305
+ DllReferenceAgencyPlugin = 'DllReferenceAgencyPlugin',
306
+ LibManifestPlugin = 'LibManifestPlugin',
307
+ FlagAllModulesAsUsedPlugin = 'FlagAllModulesAsUsedPlugin',
306
308
  HttpExternalsRspackPlugin = 'HttpExternalsRspackPlugin',
307
309
  CopyRspackPlugin = 'CopyRspackPlugin',
308
310
  HtmlRspackPlugin = 'HtmlRspackPlugin',
@@ -314,13 +316,13 @@ export enum BuiltinPluginName {
314
316
  LazyCompilationPlugin = 'LazyCompilationPlugin'
315
317
  }
316
318
 
317
- export function cleanupGlobalTrace(): void
319
+ export declare function cleanupGlobalTrace(): void
318
320
 
319
321
  export interface ContextInfo {
320
322
  issuer: string
321
323
  }
322
324
 
323
- export function formatDiagnostic(diagnostic: JsDiagnostic): ExternalObject<'Diagnostic'>
325
+ export declare function formatDiagnostic(diagnostic: JsDiagnostic): ExternalObject<'Diagnostic'>
324
326
 
325
327
  export interface JsAddingRuntimeModule {
326
328
  name: string
@@ -446,6 +448,22 @@ export interface JsBeforeResolveArgs {
446
448
  issuer: string
447
449
  }
448
450
 
451
+ export interface JsBuildMeta {
452
+ strictEsmModule: boolean
453
+ hasTopLevelAwait: boolean
454
+ esm: boolean
455
+ exportsType: 'unset' | 'default' | 'namespace' | 'flagged' | 'dynamic'
456
+ defaultObject: 'false' | 'redirect' | JsBuildMetaDefaultObjectRedirectWarn
457
+ moduleArgument: 'module' | 'webpackModule'
458
+ exportsArgument: 'exports' | 'webpackExports'
459
+ sideEffectFree?: boolean
460
+ exportsFinalName?: Array<[string, string]> | undefined
461
+ }
462
+
463
+ export interface JsBuildMetaDefaultObjectRedirectWarn {
464
+ redirectWarn: JsDefaultObjectRedirectWarnObject
465
+ }
466
+
449
467
  export interface JsBuildTimeExecutionOption {
450
468
  publicPath?: string
451
469
  baseUri?: string
@@ -493,13 +511,6 @@ export interface JsChunkGroupOrigin {
493
511
  request?: string
494
512
  }
495
513
 
496
- export interface JsChunkPathData {
497
- id?: string
498
- name?: string
499
- hash?: string
500
- contentHash?: string | Record<string, string>
501
- }
502
-
503
514
  export interface JsCodegenerationResult {
504
515
  sources: Record<string, string>
505
516
  }
@@ -519,6 +530,10 @@ export interface JsCreateData {
519
530
  resource: string
520
531
  }
521
532
 
533
+ export interface JsDefaultObjectRedirectWarnObject {
534
+ ignore: boolean
535
+ }
536
+
522
537
  export interface JsDiagnostic {
523
538
  message: string
524
539
  help?: string
@@ -671,7 +686,7 @@ export interface JsLoaderItem {
671
686
  pitchExecuted: boolean
672
687
  }
673
688
 
674
- export enum JsLoaderState {
689
+ export declare enum JsLoaderState {
675
690
  Pitching = 'Pitching',
676
691
  Normal = 'Normal'
677
692
  }
@@ -703,8 +718,13 @@ export interface JsPathData {
703
718
  runtime?: string
704
719
  url?: string
705
720
  id?: string
706
- chunk?: JsChunkPathData
707
- contentHashType?: string
721
+ chunk?: JsPathDataChunkLike
722
+ }
723
+
724
+ export interface JsPathDataChunkLike {
725
+ name?: string
726
+ hash?: string
727
+ id?: string
708
728
  }
709
729
 
710
730
  export interface JsResolveArgs {
@@ -744,7 +764,7 @@ export interface JsRspackError {
744
764
  hideStack?: boolean
745
765
  }
746
766
 
747
- export enum JsRspackSeverity {
767
+ export declare enum JsRspackSeverity {
748
768
  Error = 'Error',
749
769
  Warn = 'Warn'
750
770
  }
@@ -1019,17 +1039,10 @@ export interface JsStatsWarning {
1019
1039
  }
1020
1040
 
1021
1041
  export interface JsTap {
1022
- function: (...args: any[]) => any
1042
+ function: any
1023
1043
  stage: number
1024
1044
  }
1025
1045
 
1026
- export interface NodeFS {
1027
- writeFile: (...args: any[]) => any
1028
- removeFile: (...args: any[]) => any
1029
- mkdir: (...args: any[]) => any
1030
- mkdirp: (...args: any[]) => any
1031
- }
1032
-
1033
1046
  export interface NodeFsStats {
1034
1047
  isFile: boolean
1035
1048
  isDirectory: boolean
@@ -1269,6 +1282,35 @@ export interface RawCssParserOptions {
1269
1282
  namedExports?: boolean
1270
1283
  }
1271
1284
 
1285
+ export interface RawDllEntryPluginOptions {
1286
+ context: string
1287
+ entries: Array<string>
1288
+ name: string
1289
+ }
1290
+
1291
+ export interface RawDllManifest {
1292
+ content: Record<string, RawDllManifestContentItem>
1293
+ name?: string
1294
+ type?: string
1295
+ }
1296
+
1297
+ export interface RawDllManifestContentItem {
1298
+ buildMeta?: JsBuildMeta
1299
+ exports?: string[] | true
1300
+ id?: string
1301
+ }
1302
+
1303
+ export interface RawDllReferenceAgencyPluginOptions {
1304
+ context?: string
1305
+ name?: string
1306
+ extensions: Array<string>
1307
+ scope?: string
1308
+ sourceType?: string
1309
+ type: string
1310
+ content?: Record<string, RawDllManifestContentItem>
1311
+ manifest?: RawDllManifest
1312
+ }
1313
+
1272
1314
  export interface RawDraft {
1273
1315
  customMedia: boolean
1274
1316
  }
@@ -1294,11 +1336,28 @@ export interface RawEvalDevToolModulePluginOptions {
1294
1336
  sourceUrlComment?: string
1295
1337
  }
1296
1338
 
1339
+ export interface RawExperimentCacheOptionsCommon {
1340
+ type: "disable"|"memory"
1341
+ }
1342
+
1343
+ export interface RawExperimentCacheOptionsPersistent {
1344
+ type: "persistent"
1345
+ snapshot: RawExperimentSnapshotOptions
1346
+ storage: Array<RawStorageOptions>
1347
+ }
1348
+
1297
1349
  export interface RawExperiments {
1298
1350
  layers: boolean
1299
1351
  topLevelAwait: boolean
1300
1352
  incremental?: RawIncremental
1301
1353
  rspackFuture: RawRspackFuture
1354
+ cache: RawExperimentCacheOptionsPersistent | RawExperimentCacheOptionsCommon
1355
+ }
1356
+
1357
+ export interface RawExperimentSnapshotOptions {
1358
+ immutablePaths: Array<string|RegExp>
1359
+ unmanagedPaths: Array<string|RegExp>
1360
+ managedPaths: Array<string|RegExp>
1302
1361
  }
1303
1362
 
1304
1363
  export interface RawExposeOptions {
@@ -1347,6 +1406,10 @@ export interface RawFallbackCacheGroupOptions {
1347
1406
  automaticNameDelimiter?: string
1348
1407
  }
1349
1408
 
1409
+ export interface RawFlagAllModulesAsUsedPluginOptions {
1410
+ explanation: string
1411
+ }
1412
+
1350
1413
  export interface RawFuncUseCtx {
1351
1414
  resource?: string
1352
1415
  realResource?: string
@@ -1408,14 +1471,17 @@ export interface RawIgnorePluginOptions {
1408
1471
 
1409
1472
  export interface RawIncremental {
1410
1473
  make: boolean
1411
- emitAssets: boolean
1412
1474
  inferAsyncModules: boolean
1413
1475
  providedExports: boolean
1414
1476
  dependenciesDiagnostics: boolean
1477
+ buildChunkGraph: boolean
1415
1478
  modulesHashes: boolean
1416
1479
  modulesCodegen: boolean
1417
1480
  modulesRuntimeRequirements: boolean
1418
- buildChunkGraph: boolean
1481
+ chunksRuntimeRequirements: boolean
1482
+ chunksHashes: boolean
1483
+ chunksRender: boolean
1484
+ emitAssets: boolean
1419
1485
  }
1420
1486
 
1421
1487
  export interface RawInfo {
@@ -1468,13 +1534,22 @@ export interface RawJavascriptParserOptions {
1468
1534
  }
1469
1535
 
1470
1536
  export interface RawLazyCompilationOption {
1471
- module: (err: Error | null, arg: RawModuleArg) => any
1537
+ module: ((err: Error | null, arg: RawModuleArg) => RawModuleInfo)
1472
1538
  test?: RawLazyCompilationTest
1473
1539
  entries: boolean
1474
1540
  imports: boolean
1475
1541
  cacheable: boolean
1476
1542
  }
1477
1543
 
1544
+ export interface RawLibManifestPluginOptions {
1545
+ context?: string
1546
+ entryOnly?: boolean
1547
+ name?: JsFilename
1548
+ path: JsFilename
1549
+ format?: boolean
1550
+ type?: string
1551
+ }
1552
+
1478
1553
  export interface RawLightningCssBrowsers {
1479
1554
  android?: number
1480
1555
  chrome?: number
@@ -1493,6 +1568,7 @@ export interface RawLightningCssMinimizerOptions {
1493
1568
  include?: number
1494
1569
  exclude?: number
1495
1570
  draft?: RawDraft
1571
+ drafts?: RawDraft
1496
1572
  nonStandard?: RawNonStandard
1497
1573
  pseudoClasses?: RawLightningCssPseudoClasses
1498
1574
  unusedSymbols: Array<string>
@@ -1804,7 +1880,7 @@ export interface RawRuleSetCondition {
1804
1880
  func?: (value: string) => boolean
1805
1881
  }
1806
1882
 
1807
- export enum RawRuleSetConditionType {
1883
+ export declare enum RawRuleSetConditionType {
1808
1884
  string = 'string',
1809
1885
  regexp = 'regexp',
1810
1886
  logical = 'logical',
@@ -1881,6 +1957,11 @@ export interface RawStatsOptions {
1881
1957
  colors: boolean
1882
1958
  }
1883
1959
 
1960
+ export interface RawStorageOptions {
1961
+ type: "filesystem"
1962
+ directory: string
1963
+ }
1964
+
1884
1965
  export interface RawSwcJsMinimizerOptions {
1885
1966
  compress: any
1886
1967
  mangle: any
@@ -1913,9 +1994,9 @@ export interface RawTrustedTypes {
1913
1994
  * Author Donny/강동윤
1914
1995
  * Copyright (c)
1915
1996
  */
1916
- export function registerGlobalTrace(filter: string, layer: "chrome" | "logger"| "console", output: string): void
1997
+ export declare function registerGlobalTrace(filter: string, layer: "chrome" | "logger"| "console", output: string): void
1917
1998
 
1918
- export enum RegisterJsTapKind {
1999
+ export declare enum RegisterJsTapKind {
1919
2000
  CompilerThisCompilation = 0,
1920
2001
  CompilerCompilation = 1,
1921
2002
  CompilerMake = 2,
@@ -2014,4 +2095,3 @@ export interface ThreadsafeNodeFS {
2014
2095
  stat: (name: string) => Promise<NodeFsStats | void> | NodeFsStats | void
2015
2096
  lstat: (name: string) => Promise<NodeFsStats | void> | NodeFsStats | void
2016
2097
  }
2017
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/binding",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "license": "MIT",
5
5
  "description": "Node binding for rspack",
6
6
  "main": "binding.js",
@@ -17,22 +17,22 @@
17
17
  "bugs": "https://github.com/web-infra-dev/rspack/issues",
18
18
  "repository": "web-infra-dev/rspack",
19
19
  "devDependencies": {
20
- "@napi-rs/cli": "3.0.0-alpha.45",
20
+ "@napi-rs/cli": "3.0.0-alpha.64",
21
21
  "typescript": "^5.6.3"
22
22
  },
23
23
  "napi": {
24
24
  "binaryName": "rspack"
25
25
  },
26
26
  "optionalDependencies": {
27
- "@rspack/binding-darwin-arm64": "1.1.0",
28
- "@rspack/binding-win32-arm64-msvc": "1.1.0",
29
- "@rspack/binding-linux-arm64-musl": "1.1.0",
30
- "@rspack/binding-linux-arm64-gnu": "1.1.0",
31
- "@rspack/binding-win32-ia32-msvc": "1.1.0",
32
- "@rspack/binding-darwin-x64": "1.1.0",
33
- "@rspack/binding-linux-x64-gnu": "1.1.0",
34
- "@rspack/binding-win32-x64-msvc": "1.1.0",
35
- "@rspack/binding-linux-x64-musl": "1.1.0"
27
+ "@rspack/binding-darwin-arm64": "1.1.2",
28
+ "@rspack/binding-linux-arm64-gnu": "1.1.2",
29
+ "@rspack/binding-win32-arm64-msvc": "1.1.2",
30
+ "@rspack/binding-linux-arm64-musl": "1.1.2",
31
+ "@rspack/binding-win32-ia32-msvc": "1.1.2",
32
+ "@rspack/binding-win32-x64-msvc": "1.1.2",
33
+ "@rspack/binding-linux-x64-gnu": "1.1.2",
34
+ "@rspack/binding-linux-x64-musl": "1.1.2",
35
+ "@rspack/binding-darwin-x64": "1.1.2"
36
36
  },
37
37
  "scripts": {
38
38
  "build:debug": "node scripts/build.js",