powerlines 0.41.15 → 0.41.17
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-DzI3jpUi.cjs → api-CMXgm3EV.cjs} +8 -10
- package/dist/{api-B5vgsOxc.mjs → api-XU29DzLJ.mjs} +9 -11
- package/dist/api-XU29DzLJ.mjs.map +1 -0
- package/dist/astro.cjs +1 -1
- package/dist/astro.mjs +1 -1
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.cts.map +1 -1
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/esbuild.cjs +1 -1
- package/dist/esbuild.mjs +1 -1
- package/dist/farm.cjs +1 -1
- package/dist/farm.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/next.cjs +1 -1
- package/dist/next.mjs +1 -1
- package/dist/nuxt.cjs +1 -1
- package/dist/nuxt.mjs +1 -1
- package/dist/rolldown.cjs +1 -1
- package/dist/rolldown.mjs +1 -1
- package/dist/rollup.cjs +1 -1
- package/dist/rollup.mjs +1 -1
- package/dist/rspack.cjs +1 -1
- package/dist/rspack.mjs +1 -1
- package/dist/tsdown.cjs +1 -1
- package/dist/tsdown.mjs +1 -1
- package/dist/tsup.cjs +1 -1
- package/dist/tsup.mjs +1 -1
- package/dist/unloader.cjs +1 -1
- package/dist/unloader.mjs +1 -1
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/webpack.cjs +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +19 -19
- package/dist/api-B5vgsOxc.mjs.map +0 -1
|
@@ -76,7 +76,7 @@ let unplugin = require("unplugin");
|
|
|
76
76
|
|
|
77
77
|
//#region package.json
|
|
78
78
|
var name = "powerlines";
|
|
79
|
-
var version = "0.41.
|
|
79
|
+
var version = "0.41.17";
|
|
80
80
|
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/_internal/helpers/generate-types.ts
|
|
@@ -1126,7 +1126,7 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
1126
1126
|
if (!this.#resolverCache) this.#resolverCache = (0, flat_cache.create)({
|
|
1127
1127
|
cacheId: "module-resolution",
|
|
1128
1128
|
cacheDir: this.#context.cachePath,
|
|
1129
|
-
ttl:
|
|
1129
|
+
ttl: 120 * 1e3,
|
|
1130
1130
|
lruSize: 5e3,
|
|
1131
1131
|
persistInterval: 100
|
|
1132
1132
|
});
|
|
@@ -2166,16 +2166,14 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2166
2166
|
}
|
|
2167
2167
|
if (this.fs.isVirtual(moduleId) || importer && this.fs.isVirtual(importer)) {
|
|
2168
2168
|
let resolvedImporter = importer;
|
|
2169
|
-
if (importer && this.fs.isVirtual(importer)) resolvedImporter = await this.fs.resolve(importer, void 0, {
|
|
2169
|
+
if (importer && this.fs.isVirtual(importer)) resolvedImporter = await this.fs.resolve(importer, void 0, (0, defu.default)({
|
|
2170
2170
|
conditions: this.config.resolve.conditions,
|
|
2171
|
-
extensions: this.config.resolve.extensions
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
const result = await this.fs.resolve(moduleId, resolvedImporter, {
|
|
2171
|
+
extensions: this.config.resolve.extensions
|
|
2172
|
+
}, options));
|
|
2173
|
+
const result = await this.fs.resolve(moduleId, resolvedImporter, (0, defu.default)({
|
|
2175
2174
|
conditions: this.config.resolve.conditions,
|
|
2176
|
-
extensions: this.config.resolve.extensions
|
|
2177
|
-
|
|
2178
|
-
});
|
|
2175
|
+
extensions: this.config.resolve.extensions
|
|
2176
|
+
}, options));
|
|
2179
2177
|
if (!result) return;
|
|
2180
2178
|
const external = !(0, bundle_require.match)(moduleId, this.config.resolve.noExternal) && ((0, bundle_require.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));
|
|
2181
2179
|
return {
|
|
@@ -72,7 +72,7 @@ import { setParseImpl } from "unplugin";
|
|
|
72
72
|
|
|
73
73
|
//#region package.json
|
|
74
74
|
var name = "powerlines";
|
|
75
|
-
var version = "0.41.
|
|
75
|
+
var version = "0.41.17";
|
|
76
76
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/_internal/helpers/generate-types.ts
|
|
@@ -1122,7 +1122,7 @@ var VirtualFileSystem = class VirtualFileSystem {
|
|
|
1122
1122
|
if (!this.#resolverCache) this.#resolverCache = create({
|
|
1123
1123
|
cacheId: "module-resolution",
|
|
1124
1124
|
cacheDir: this.#context.cachePath,
|
|
1125
|
-
ttl:
|
|
1125
|
+
ttl: 120 * 1e3,
|
|
1126
1126
|
lruSize: 5e3,
|
|
1127
1127
|
persistInterval: 100
|
|
1128
1128
|
});
|
|
@@ -2162,16 +2162,14 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2162
2162
|
}
|
|
2163
2163
|
if (this.fs.isVirtual(moduleId) || importer && this.fs.isVirtual(importer)) {
|
|
2164
2164
|
let resolvedImporter = importer;
|
|
2165
|
-
if (importer && this.fs.isVirtual(importer)) resolvedImporter = await this.fs.resolve(importer, void 0, {
|
|
2165
|
+
if (importer && this.fs.isVirtual(importer)) resolvedImporter = await this.fs.resolve(importer, void 0, defu$1({
|
|
2166
2166
|
conditions: this.config.resolve.conditions,
|
|
2167
|
-
extensions: this.config.resolve.extensions
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
const result = await this.fs.resolve(moduleId, resolvedImporter, {
|
|
2167
|
+
extensions: this.config.resolve.extensions
|
|
2168
|
+
}, options));
|
|
2169
|
+
const result = await this.fs.resolve(moduleId, resolvedImporter, defu$1({
|
|
2171
2170
|
conditions: this.config.resolve.conditions,
|
|
2172
|
-
extensions: this.config.resolve.extensions
|
|
2173
|
-
|
|
2174
|
-
});
|
|
2171
|
+
extensions: this.config.resolve.extensions
|
|
2172
|
+
}, options));
|
|
2175
2173
|
if (!result) return;
|
|
2176
2174
|
const 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));
|
|
2177
2175
|
return {
|
|
@@ -3711,4 +3709,4 @@ Note: Please ensure the plugin package's default export is a class that extends
|
|
|
3711
3709
|
|
|
3712
3710
|
//#endregion
|
|
3713
3711
|
export { createUnpluginFactory as a, FileMetadata as c, FileSystem as d, _capnpFileId as f, createPluginContext as i, FileMetadata_KeyValuePair as l, version as m, PowerlinesAPIContext as n, PowerlinesContext as o, name as p, PowerlinesEnvironmentContext as r, FileId as s, PowerlinesAPI as t, FileStorage as u };
|
|
3714
|
-
//# sourceMappingURL=api-
|
|
3712
|
+
//# sourceMappingURL=api-XU29DzLJ.mjs.map
|