@rspack/binding
Advanced tools
Comparing version 0.6.5-canary-0a5cf0d-20240508123903 to 0.6.5-canary-231c64e-20240515075232
@@ -166,2 +166,3 @@ /* auto-generated by NAPI-RS */ | ||
RuntimeChunkPlugin = 'RuntimeChunkPlugin', | ||
SizeLimitsPlugin = 'SizeLimitsPlugin', | ||
HttpExternalsRspackPlugin = 'HttpExternalsRspackPlugin', | ||
@@ -297,2 +298,14 @@ CopyRspackPlugin = 'CopyRspackPlugin', | ||
export interface JsContextModuleFactoryAfterResolveData { | ||
resource: string | ||
context: string | ||
request: string | ||
regExp?: string | ||
} | ||
export interface JsContextModuleFactoryBeforeResolveData { | ||
context: string | ||
request?: string | ||
} | ||
export interface JsCreateData { | ||
@@ -493,3 +506,2 @@ request: string | ||
message: string | ||
formatted: string | ||
moduleIdentifier?: string | ||
@@ -566,3 +578,2 @@ moduleName?: string | ||
message: string | ||
formatted: string | ||
moduleIdentifier?: string | ||
@@ -1234,2 +1245,5 @@ moduleName?: string | ||
exportsFields?: Array<string> | ||
descriptionFiles?: Array<string> | ||
enforceExtension?: boolean | ||
importsFields?: Array<string> | ||
extensionAlias?: Record<string, Array<string>> | ||
@@ -1274,2 +1288,9 @@ aliasFields?: Array<string> | ||
export interface RawSizeLimitsPluginOptions { | ||
assetFilter?: (assetFilename: string) => boolean | ||
hints?: "error" | "warning" | ||
maxAssetSize?: number | ||
maxEntrypointSize?: number | ||
} | ||
export interface RawSnapshotOptions { | ||
@@ -1413,4 +1434,4 @@ resolve: RawSnapshotStrategy | ||
registerNormalModuleFactoryCreateModuleTaps: (stages: Array<number>) => Array<{ function: ((arg: JsNormalModuleFactoryCreateModuleArgs) => Promise<void>); stage: number; }> | ||
registerContextModuleFactoryBeforeResolveTaps: (stages: Array<number>) => Array<{ function: ((arg: JsBeforeResolveArgs) => Promise<[boolean | undefined, JsBeforeResolveArgs]>); stage: number; }> | ||
registerContextModuleFactoryAfterResolveTaps: (stages: Array<number>) => Array<{ function: ((arg: JsAfterResolveData) => Promise<boolean | undefined>); stage: number; }> | ||
registerContextModuleFactoryBeforeResolveTaps: (stages: Array<number>) => Array<{ function: ((arg: false | JsContextModuleFactoryBeforeResolveData) => Promise<false | JsContextModuleFactoryBeforeResolveData>); stage: number; }> | ||
registerContextModuleFactoryAfterResolveTaps: (stages: Array<number>) => Array<{ function: ((arg: false | JsContextModuleFactoryAfterResolveData) => Promise<false | JsContextModuleFactoryAfterResolveData>); stage: number; }> | ||
} | ||
@@ -1422,8 +1443,8 @@ | ||
export interface ThreadsafeNodeFS { | ||
writeFile: (name: string, content: Buffer) => void | ||
removeFile: (name: string) => void | ||
mkdir: (name: string) => void | ||
mkdirp: (name: string) => string | void | ||
removeDirAll: (name: string) => string | void | ||
writeFile: (name: string, content: Buffer) => Promise<void> | void | ||
removeFile: (name: string) => Promise<void> | void | ||
mkdir: (name: string) => Promise<void> | void | ||
mkdirp: (name: string) => Promise<string | void> | string | void | ||
removeDirAll: (name: string) => Promise<string | void> | string | void | ||
} | ||
{ | ||
"name": "@rspack/binding", | ||
"version": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"version": "0.6.5-canary-231c64e-20240515075232", | ||
"license": "MIT", | ||
@@ -25,11 +25,11 @@ "description": "Node binding for rspack", | ||
"optionalDependencies": { | ||
"@rspack/binding-darwin-arm64": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-darwin-x64": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-linux-arm64-gnu": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-linux-x64-gnu": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-linux-arm64-musl": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-linux-x64-musl": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-win32-arm64-msvc": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-win32-ia32-msvc": "0.6.5-canary-0a5cf0d-20240508123903", | ||
"@rspack/binding-win32-x64-msvc": "0.6.5-canary-0a5cf0d-20240508123903" | ||
"@rspack/binding-darwin-x64": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-darwin-arm64": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-linux-arm64-musl": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-linux-arm64-gnu": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-linux-x64-gnu": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-win32-arm64-msvc": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-linux-x64-musl": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-win32-ia32-msvc": "0.6.5-canary-231c64e-20240515075232", | ||
"@rspack/binding-win32-x64-msvc": "0.6.5-canary-231c64e-20240515075232" | ||
}, | ||
@@ -36,0 +36,0 @@ "scripts": { |
53615
1491