@rspack/binding
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -293,2 +293,6 @@ /* auto-generated by NAPI-RS */ | ||
export interface JsAfterEmitData { | ||
outputName: string | ||
} | ||
export interface JsAfterResolveData { | ||
@@ -304,2 +308,22 @@ request: string | ||
export interface JsAfterTemplateExecutionData { | ||
html: string | ||
headTags: Array<JsHtmlPluginTag> | ||
bodyTags: Array<JsHtmlPluginTag> | ||
outputName: string | ||
} | ||
export interface JsAlterAssetTagGroupsData { | ||
headTags: Array<JsHtmlPluginTag> | ||
bodyTags: Array<JsHtmlPluginTag> | ||
publicPath: string | ||
outputName: string | ||
} | ||
export interface JsAlterAssetTagsData { | ||
assetTags: JsHtmlPluginAssetTags | ||
outputName: string | ||
publicPath: string | ||
} | ||
export interface JsAsset { | ||
@@ -359,2 +383,12 @@ name: string | ||
export interface JsBeforeAssetTagGenerationData { | ||
assets: JsHtmlPluginAssets | ||
outputName: string | ||
} | ||
export interface JsBeforeEmitData { | ||
html: string | ||
outputName: string | ||
} | ||
export interface JsBeforeResolveArgs { | ||
@@ -506,2 +540,23 @@ request: string | ||
export interface JsHtmlPluginAssets { | ||
publicPath: string | ||
js: Array<string> | ||
css: Array<string> | ||
favicon?: string | ||
} | ||
export interface JsHtmlPluginAssetTags { | ||
scripts: Array<JsHtmlPluginTag> | ||
styles: Array<JsHtmlPluginTag> | ||
meta: Array<JsHtmlPluginTag> | ||
} | ||
export interface JsHtmlPluginTag { | ||
tagName: string | ||
attributes: Record<string, string | boolean | undefined | null> | ||
voidTag: boolean | ||
innerHTML?: string | ||
asset?: string | ||
} | ||
export interface JsLibraryAuxiliaryComment { | ||
@@ -1246,4 +1301,5 @@ root?: string | ||
template?: string | ||
templateFn?: (data: string) => Promise<string> | ||
templateContent?: string | ||
templateParameters?: Record<string, string> | ||
templateParameters?: boolean | Record<string, any> | ((params: string) => Promise<string>) | ||
/** "head", "body" or "false" */ | ||
@@ -1791,3 +1847,9 @@ inject: "head" | "body" | "false" | ||
ContextModuleFactoryAfterResolve = 32, | ||
JavascriptModulesChunkHash = 33 | ||
JavascriptModulesChunkHash = 33, | ||
HtmlPluginBeforeAssetTagGeneration = 34, | ||
HtmlPluginAlterAssetTags = 35, | ||
HtmlPluginAlterAssetTagGroups = 36, | ||
HtmlPluginAfterTemplateExecution = 37, | ||
HtmlPluginBeforeEmit = 38, | ||
HtmlPluginAfterEmit = 39 | ||
} | ||
@@ -1830,2 +1892,8 @@ | ||
registerJavascriptModulesChunkHashTaps: (stages: Array<number>) => Array<{ function: ((arg: JsChunk) => Buffer); stage: number; }> | ||
registerHtmlPluginBeforeAssetTagGenerationTaps: (stages: Array<number>) => Array<{ function: ((arg: JsBeforeAssetTagGenerationData) => JsBeforeAssetTagGenerationData); stage: number; }> | ||
registerHtmlPluginAlterAssetTagsTaps: (stages: Array<number>) => Array<{ function: ((arg: JsAlterAssetTagsData) => JsAlterAssetTagsData); stage: number; }> | ||
registerHtmlPluginAlterAssetTagGroupsTaps: (stages: Array<number>) => Array<{ function: ((arg: JsAlterAssetTagGroupsData) => JsAlterAssetTagGroupsData); stage: number; }> | ||
registerHtmlPluginAfterTemplateExecutionTaps: (stages: Array<number>) => Array<{ function: ((arg: JsAfterTemplateExecutionData) => JsAfterTemplateExecutionData); stage: number; }> | ||
registerHtmlPluginBeforeEmitTaps: (stages: Array<number>) => Array<{ function: ((arg: JsBeforeEmitData) => JsBeforeEmitData); stage: number; }> | ||
registerHtmlPluginAfterEmitTaps: (stages: Array<number>) => Array<{ function: ((arg: JsAfterEmitData) => JsAfterEmitData); stage: number; }> | ||
} | ||
@@ -1832,0 +1900,0 @@ |
{ | ||
"name": "@rspack/binding", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -27,11 +27,11 @@ "description": "Node binding for rspack", | ||
"optionalDependencies": { | ||
"@rspack/binding-win32-arm64-msvc": "1.0.0", | ||
"@rspack/binding-darwin-arm64": "1.0.0", | ||
"@rspack/binding-linux-arm64-gnu": "1.0.0", | ||
"@rspack/binding-win32-ia32-msvc": "1.0.0", | ||
"@rspack/binding-linux-arm64-musl": "1.0.0", | ||
"@rspack/binding-darwin-x64": "1.0.0", | ||
"@rspack/binding-linux-x64-gnu": "1.0.0", | ||
"@rspack/binding-linux-x64-musl": "1.0.0", | ||
"@rspack/binding-win32-x64-msvc": "1.0.0" | ||
"@rspack/binding-darwin-arm64": "1.0.1", | ||
"@rspack/binding-win32-arm64-msvc": "1.0.1", | ||
"@rspack/binding-linux-arm64-gnu": "1.0.1", | ||
"@rspack/binding-linux-arm64-musl": "1.0.1", | ||
"@rspack/binding-win32-ia32-msvc": "1.0.1", | ||
"@rspack/binding-darwin-x64": "1.0.1", | ||
"@rspack/binding-win32-x64-msvc": "1.0.1", | ||
"@rspack/binding-linux-x64-gnu": "1.0.1", | ||
"@rspack/binding-linux-x64-musl": "1.0.1" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67727
1900