@rspack/binding 1.7.0-beta.1 → 1.7.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/napi-binding.d.ts +11 -3
- package/package.json +11 -11
package/napi-binding.d.ts
CHANGED
|
@@ -326,7 +326,7 @@ export declare class JsCompilation {
|
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
export declare class JsCompiler {
|
|
329
|
-
constructor(compilerPath: string, options: RawOptions, builtinPlugins: Array<BuiltinPlugin>, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, intermediateFilesystem: ThreadsafeNodeFS | undefined | null, inputFilesystem: ThreadsafeNodeFS | undefined | null, resolverFactoryReference: JsResolverFactory, unsafeFastDrop: boolean)
|
|
329
|
+
constructor(compilerPath: string, options: RawOptions, builtinPlugins: Array<BuiltinPlugin>, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, intermediateFilesystem: ThreadsafeNodeFS | undefined | null, inputFilesystem: ThreadsafeNodeFS | undefined | null, resolverFactoryReference: JsResolverFactory, unsafeFastDrop: boolean, platform: RawCompilerPlatform)
|
|
330
330
|
setNonSkippableRegisters(kinds: Array<RegisterJsTapKind>): void
|
|
331
331
|
/** Build with the given option passed to the constructor */
|
|
332
332
|
build(callback: (err: null | Error) => void): void
|
|
@@ -556,7 +556,7 @@ export declare enum BuiltinPluginName {
|
|
|
556
556
|
RealContentHashPlugin = 'RealContentHashPlugin',
|
|
557
557
|
RemoveEmptyChunksPlugin = 'RemoveEmptyChunksPlugin',
|
|
558
558
|
EnsureChunkConditionsPlugin = 'EnsureChunkConditionsPlugin',
|
|
559
|
-
|
|
559
|
+
CaseSensitivePlugin = 'CaseSensitivePlugin',
|
|
560
560
|
DataUriPlugin = 'DataUriPlugin',
|
|
561
561
|
FileUriPlugin = 'FileUriPlugin',
|
|
562
562
|
RuntimePlugin = 'RuntimePlugin',
|
|
@@ -1829,7 +1829,6 @@ export interface RawCacheOptions {
|
|
|
1829
1829
|
|
|
1830
1830
|
export interface RawCircularDependencyRspackPluginOptions {
|
|
1831
1831
|
failOnError?: boolean
|
|
1832
|
-
allowAsyncCycles?: boolean
|
|
1833
1832
|
exclude?: RegExp
|
|
1834
1833
|
ignoredConnections?: Array<[string | RegExp, string | RegExp]>
|
|
1835
1834
|
onDetected?: (entrypoint: Module, modules: string[]) => void
|
|
@@ -1838,6 +1837,15 @@ export interface RawCircularDependencyRspackPluginOptions {
|
|
|
1838
1837
|
onEnd?: () => void
|
|
1839
1838
|
}
|
|
1840
1839
|
|
|
1840
|
+
export interface RawCompilerPlatform {
|
|
1841
|
+
web?: boolean | null
|
|
1842
|
+
browser?: boolean | null
|
|
1843
|
+
webworker?: boolean | null
|
|
1844
|
+
node?: boolean | null
|
|
1845
|
+
nwjs?: boolean | null
|
|
1846
|
+
electron?: boolean | null
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1841
1849
|
export interface RawConsumeOptions {
|
|
1842
1850
|
key: string
|
|
1843
1851
|
import?: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/binding",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Node binding for rspack",
|
|
6
6
|
"main": "binding.js",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@rspack/binding-darwin-arm64": "1.7.
|
|
55
|
-
"@rspack/binding-win32-arm64-msvc": "1.7.
|
|
56
|
-
"@rspack/binding-linux-arm64-gnu": "1.7.
|
|
57
|
-
"@rspack/binding-linux-arm64-musl": "1.7.
|
|
58
|
-
"@rspack/binding-
|
|
59
|
-
"@rspack/binding-
|
|
60
|
-
"@rspack/binding-wasm32-wasi": "1.7.
|
|
61
|
-
"@rspack/binding-win32-
|
|
62
|
-
"@rspack/binding-linux-x64-gnu": "1.7.
|
|
63
|
-
"@rspack/binding-linux-x64-musl": "1.7.
|
|
54
|
+
"@rspack/binding-darwin-arm64": "1.7.1",
|
|
55
|
+
"@rspack/binding-win32-arm64-msvc": "1.7.1",
|
|
56
|
+
"@rspack/binding-linux-arm64-gnu": "1.7.1",
|
|
57
|
+
"@rspack/binding-linux-arm64-musl": "1.7.1",
|
|
58
|
+
"@rspack/binding-win32-ia32-msvc": "1.7.1",
|
|
59
|
+
"@rspack/binding-darwin-x64": "1.7.1",
|
|
60
|
+
"@rspack/binding-wasm32-wasi": "1.7.1",
|
|
61
|
+
"@rspack/binding-win32-x64-msvc": "1.7.1",
|
|
62
|
+
"@rspack/binding-linux-x64-gnu": "1.7.1",
|
|
63
|
+
"@rspack/binding-linux-x64-musl": "1.7.1"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build:dev": "node scripts/build.js",
|