Comparing version 2.1.0 to 2.1.1
@@ -118,3 +118,3 @@ import { CompilationContext, JsPlugin } from '@farmfe/core'; | ||
loader?: Loader | ((code: string, id: string) => Loader); | ||
setup?: (build: EsbuildPluginBuild) => void | Promise<void>; | ||
setup?: (build: PluginBuild) => void | Promise<void>; | ||
config?: (options: BuildOptions) => void; | ||
@@ -121,0 +121,0 @@ }; |
@@ -569,3 +569,3 @@ import { parse } from "./context-CyqyI0ug.js"; | ||
//#endregion | ||
//#region node_modules/.pnpm/@jridgewell+gen-mapping@0.3.5/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs | ||
//#region node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs | ||
const COLUMN = 0; | ||
@@ -1061,4 +1061,4 @@ const SOURCES_INDEX = 1; | ||
return (plugin) => { | ||
return (_build) => { | ||
const build$1 = _build; | ||
return (rawBuild) => { | ||
const build$1 = rawBuild; | ||
const context = createBuildContext$2(build$1); | ||
@@ -1156,3 +1156,3 @@ const { onStart, onEnd, onResolve, onLoad, onTransform, initialOptions } = build$1; | ||
}); | ||
if (plugin.esbuild?.setup) return plugin.esbuild.setup(build$1); | ||
if (plugin.esbuild?.setup) return plugin.esbuild.setup(rawBuild); | ||
}; | ||
@@ -1507,3 +1507,3 @@ }; | ||
//#endregion | ||
//#region node_modules/.pnpm/tsdown@0.5.0_@babel+runtime@7.26.0_typescript@5.6.3/node_modules/tsdown/esm-shims.js | ||
//#region node_modules/.pnpm/tsdown@0.5.2_@babel+runtime@7.26.0_typescript@5.6.3/node_modules/tsdown/esm-shims.js | ||
const getFilename = () => fileURLToPath(import.meta.url); | ||
@@ -1510,0 +1510,0 @@ const getDirname = () => path.dirname(getFilename()); |
{ | ||
"name": "unplugin", | ||
"type": "module", | ||
"version": "2.1.0", | ||
"packageManager": "pnpm@9.14.4", | ||
"version": "2.1.1", | ||
"packageManager": "pnpm@9.15.1", | ||
"description": "Unified plugin system for build tools", | ||
@@ -50,34 +50,34 @@ "license": "MIT", | ||
"@ampproject/remapping": "^2.3.0", | ||
"@antfu/eslint-config": "^3.11.2", | ||
"@antfu/ni": "^0.23.1", | ||
"@antfu/eslint-config": "^3.12.1", | ||
"@antfu/ni": "^0.23.2", | ||
"@farmfe/cli": "^1.0.4", | ||
"@farmfe/core": "^1.4.7", | ||
"@rspack/cli": "^1.1.4", | ||
"@rspack/core": "^1.1.4", | ||
"@farmfe/core": "^1.5.0", | ||
"@rspack/cli": "^1.1.6", | ||
"@rspack/core": "^1.1.6", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/node": "^22.10.1", | ||
"bumpp": "^9.8.1", | ||
"esbuild": "^0.24.0", | ||
"@types/node": "^22.10.2", | ||
"bumpp": "^9.9.2", | ||
"esbuild": "^0.24.2", | ||
"esbuild-plugin-copy": "^2.1.1", | ||
"eslint": "^9.16.0", | ||
"eslint": "^9.17.0", | ||
"fast-glob": "^3.3.2", | ||
"fs-extra": "^11.2.0", | ||
"jiti": "^2.4.1", | ||
"lint-staged": "^15.2.10", | ||
"magic-string": "^0.30.14", | ||
"jiti": "^2.4.2", | ||
"lint-staged": "^15.2.11", | ||
"magic-string": "^0.30.17", | ||
"picocolors": "^1.1.1", | ||
"rolldown": "^0.15.0", | ||
"rollup": "^4.28.0", | ||
"rolldown": "^0.15.1", | ||
"rollup": "^4.29.1", | ||
"simple-git-hooks": "^2.11.1", | ||
"tsdown": "^0.5.0", | ||
"typescript": "~5.7.2", | ||
"tsdown": "^0.5.2", | ||
"typescript": "~5.6.3", | ||
"unplugin": "workspace:*", | ||
"vite": "^6.0.3", | ||
"vite": "^6.0.5", | ||
"vitest": "^2.1.8", | ||
"webpack": "^5.96.1", | ||
"webpack-cli": "^5.1.4" | ||
"webpack": "^5.97.1", | ||
"webpack-cli": "^6.0.1" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"typescript@*": "~5.6.3" | ||
"typescript": "~5.6.3" | ||
} | ||
@@ -84,0 +84,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
165957
4