powerlines 0.41.15 → 0.41.16

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.
@@ -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.15";
75
+ var version = "0.41.16";
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: 3600 * 1e3,
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
- ...options
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
- ...options
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-B5vgsOxc.mjs.map
3712
+ //# sourceMappingURL=api-C0NdOb3Y.mjs.map