powerlines 0.40.17 → 0.40.19
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/dist/{api-D8EkYWeB.mjs → api-D-RIxwbi.mjs} +7 -7
- package/dist/api-D-RIxwbi.mjs.map +1 -0
- package/dist/{api-De67o5Wp.cjs → api-Dspa27jK.cjs} +6 -6
- package/dist/astro.cjs +2 -2
- package/dist/astro.d.mts +1 -1
- package/dist/astro.mjs +2 -2
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.mts +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/{esbuild-C-Qrob48.cjs → esbuild-BblRTl0L.cjs} +1 -1
- package/dist/{esbuild-wLgizTEZ.mjs → esbuild-xbqsWwqN.mjs} +2 -2
- package/dist/{esbuild-wLgizTEZ.mjs.map → esbuild-xbqsWwqN.mjs.map} +1 -1
- package/dist/esbuild.cjs +2 -2
- package/dist/esbuild.d.mts +1 -1
- package/dist/esbuild.mjs +2 -2
- package/dist/farm.cjs +1 -1
- package/dist/farm.d.mts +1 -1
- package/dist/farm.mjs +1 -1
- package/dist/{index-C1wDpmrr.d.mts → index-2JXW-b2-.d.mts} +2 -2
- package/dist/{index-C1wDpmrr.d.mts.map → index-2JXW-b2-.d.mts.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/next.cjs +2 -2
- package/dist/next.mjs +2 -2
- package/dist/nuxt.cjs +3 -3
- package/dist/nuxt.d.mts +1 -1
- package/dist/nuxt.mjs +3 -3
- package/dist/{plugin-Ba95Lv5d.d.cts → plugin-B9TQt-p0.d.cts} +2 -2
- package/dist/{plugin-Ba95Lv5d.d.cts.map → plugin-B9TQt-p0.d.cts.map} +1 -1
- package/dist/plugin-utils.d.mts +1 -1
- package/dist/{rolldown-DetVs69D.cjs → rolldown-CJwfgimU.cjs} +1 -1
- package/dist/{rolldown-BuiFOCX0.mjs → rolldown-DM-vGV3t.mjs} +2 -2
- package/dist/{rolldown-BuiFOCX0.mjs.map → rolldown-DM-vGV3t.mjs.map} +1 -1
- package/dist/rolldown.cjs +2 -2
- package/dist/rolldown.d.mts +1 -1
- package/dist/rolldown.mjs +2 -2
- package/dist/rollup.cjs +1 -1
- package/dist/rollup.d.mts +1 -1
- package/dist/rollup.mjs +1 -1
- package/dist/rspack.cjs +1 -1
- package/dist/rspack.d.mts +1 -1
- package/dist/rspack.mjs +1 -1
- package/dist/storage/index.d.cts.map +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/tsdown.cjs +3 -3
- package/dist/tsdown.d.mts +1 -1
- package/dist/tsdown.mjs +3 -3
- package/dist/tsdown.mjs.map +1 -1
- package/dist/tsup.cjs +2 -2
- package/dist/tsup.d.mts +1 -1
- package/dist/tsup.mjs +2 -2
- package/dist/typescript/index.d.mts +1 -1
- package/dist/unloader.cjs +1 -1
- package/dist/unloader.d.mts +1 -1
- package/dist/unloader.mjs +1 -1
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.d.cts +1 -1
- package/dist/unplugin.d.mts +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/{vite-DElcDWdA.mjs → vite-5WSLwM5t.mjs} +2 -2
- package/dist/{vite-DElcDWdA.mjs.map → vite-5WSLwM5t.mjs.map} +1 -1
- package/dist/{vite-CTUrhxhK.cjs → vite-D-f0L5Sn.cjs} +1 -1
- package/dist/vite.cjs +2 -2
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/dist/{webpack-BFHEZeP1.cjs → webpack-CKrlgWVq.cjs} +1 -1
- package/dist/{webpack-DQvC_rkD.mjs → webpack-z0CSoK50.mjs} +2 -2
- package/dist/{webpack-DQvC_rkD.mjs.map → webpack-z0CSoK50.mjs.map} +1 -1
- package/dist/webpack.cjs +2 -2
- package/dist/webpack.d.mts +1 -1
- package/dist/webpack.mjs +2 -2
- package/package.json +28 -28
- package/dist/api-D8EkYWeB.mjs.map +0 -1
|
@@ -70,7 +70,7 @@ import { setParseImpl } from "unplugin";
|
|
|
70
70
|
|
|
71
71
|
//#region package.json
|
|
72
72
|
var name = "powerlines";
|
|
73
|
-
var version = "0.40.
|
|
73
|
+
var version = "0.40.19";
|
|
74
74
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/_internal/helpers/generate-types.ts
|
|
@@ -2124,7 +2124,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2124
2124
|
return {
|
|
2125
2125
|
id: result,
|
|
2126
2126
|
external: !match(moduleId, this.config.resolve.noExternal) && (match(moduleId, this.config.resolve.external) || moduleId.startsWith("node:") || this.fs.isVirtual(moduleId) && this.config.projectType !== "application" || this.config.resolve.skipNodeModulesBundle && !/^[A-Z]:[/\\]|^\.{0,2}\/|^\.{1,2}$/.test(moduleId)),
|
|
2127
|
-
virtual:
|
|
2127
|
+
virtual: true
|
|
2128
2128
|
};
|
|
2129
2129
|
}
|
|
2130
2130
|
if (this.config.resolve.skipNodeModulesBundle) {
|
|
@@ -2624,8 +2624,8 @@ function isUnpluginBuilderVariant(str) {
|
|
|
2624
2624
|
|
|
2625
2625
|
//#endregion
|
|
2626
2626
|
//#region ../core/src/lib/unplugin/module-resolution.ts
|
|
2627
|
-
const VIRTUAL_MODULE_PREFIX = "
|
|
2628
|
-
const VIRTUAL_MODULE_PREFIX_REGEX = /^
|
|
2627
|
+
const VIRTUAL_MODULE_PREFIX = "__powerlines-virtual:";
|
|
2628
|
+
const VIRTUAL_MODULE_PREFIX_REGEX = /^__powerlines-virtual:/;
|
|
2629
2629
|
/**
|
|
2630
2630
|
* Creates the module resolution hook functions for a Powerlines unplugin plugin instance.
|
|
2631
2631
|
*
|
|
@@ -2684,9 +2684,9 @@ function createUnpluginModuleResolutionFunctions(context, options = {}) {
|
|
|
2684
2684
|
return null;
|
|
2685
2685
|
},
|
|
2686
2686
|
load: {
|
|
2687
|
-
filter: options.prefix
|
|
2687
|
+
filter: options.prefix ? { id: { include: VIRTUAL_MODULE_PREFIX_REGEX } } : void 0,
|
|
2688
2688
|
async handler(id) {
|
|
2689
|
-
const moduleId =
|
|
2689
|
+
const moduleId = id.replace(VIRTUAL_MODULE_PREFIX_REGEX, "");
|
|
2690
2690
|
let result = await ctx.$$internal.callHook("load", {
|
|
2691
2691
|
sequential: true,
|
|
2692
2692
|
result: "first",
|
|
@@ -3848,4 +3848,4 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
3848
3848
|
|
|
3849
3849
|
//#endregion
|
|
3850
3850
|
export { _capnpFileId as _, createUnpluginFactory as a, createUnpluginModuleResolutionFunctions as c, PowerlinesContext as d, FileId as f, FileSystem as g, FileStorage as h, createPluginContext as i, combineContexts as l, FileMetadata_KeyValuePair as m, PowerlinesAPIContext as n, createUnplugin as o, FileMetadata as p, PowerlinesEnvironmentContext as r, createUnpluginResolver as s, PowerlinesAPI as t, isUnpluginBuilderVariant as u, name as v, version as y };
|
|
3851
|
-
//# sourceMappingURL=api-
|
|
3851
|
+
//# sourceMappingURL=api-D-RIxwbi.mjs.map
|