@rspack/binding
Advanced tools
Comparing version 0.6.5 to 0.7.0-beta.0
@@ -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 | ||
@@ -768,2 +779,3 @@ moduleName?: string | ||
localIdentName?: string | ||
esModule?: boolean | ||
} | ||
@@ -789,2 +801,3 @@ | ||
exportsOnly?: boolean | ||
esModule?: boolean | ||
} | ||
@@ -796,2 +809,3 @@ | ||
localIdentName?: string | ||
esModule?: boolean | ||
} | ||
@@ -842,3 +856,2 @@ | ||
export interface RawExperiments { | ||
newSplitChunks: boolean | ||
topLevelAwait: boolean | ||
@@ -1238,2 +1251,5 @@ rspackFuture: RawRspackFuture | ||
exportsFields?: Array<string> | ||
descriptionFiles?: Array<string> | ||
enforceExtension?: boolean | ||
importsFields?: Array<string> | ||
extensionAlias?: Record<string, Array<string>> | ||
@@ -1278,2 +1294,9 @@ aliasFields?: Array<string> | ||
export interface RawSizeLimitsPluginOptions { | ||
assetFilter?: (assetFilename: string) => boolean | ||
hints?: "error" | "warning" | ||
maxAssetSize?: number | ||
maxEntrypointSize?: number | ||
} | ||
export interface RawSnapshotOptions { | ||
@@ -1417,4 +1440,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; }> | ||
} | ||
@@ -1426,8 +1449,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", | ||
"version": "0.7.0-beta.0", | ||
"license": "MIT", | ||
@@ -25,11 +25,11 @@ "description": "Node binding for rspack", | ||
"optionalDependencies": { | ||
"@rspack/binding-darwin-arm64": "0.6.5", | ||
"@rspack/binding-win32-arm64-msvc": "0.6.5", | ||
"@rspack/binding-linux-arm64-gnu": "0.6.5", | ||
"@rspack/binding-linux-arm64-musl": "0.6.5", | ||
"@rspack/binding-win32-ia32-msvc": "0.6.5", | ||
"@rspack/binding-darwin-x64": "0.6.5", | ||
"@rspack/binding-linux-x64-gnu": "0.6.5", | ||
"@rspack/binding-win32-x64-msvc": "0.6.5", | ||
"@rspack/binding-linux-x64-musl": "0.6.5" | ||
"@rspack/binding-linux-arm64-gnu": "0.7.0-beta.0", | ||
"@rspack/binding-darwin-arm64": "0.7.0-beta.0", | ||
"@rspack/binding-win32-arm64-msvc": "0.7.0-beta.0", | ||
"@rspack/binding-linux-arm64-musl": "0.7.0-beta.0", | ||
"@rspack/binding-win32-ia32-msvc": "0.7.0-beta.0", | ||
"@rspack/binding-win32-x64-msvc": "0.7.0-beta.0", | ||
"@rspack/binding-darwin-x64": "0.7.0-beta.0", | ||
"@rspack/binding-linux-x64-gnu": "0.7.0-beta.0", | ||
"@rspack/binding-linux-x64-musl": "0.7.0-beta.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "scripts": { |
53422
1493