@hirarijs/loader 1.0.12 → 1.0.13

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/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-7FOXDJEC.js";
3
+ } from "./chunk-HIXSUEUX.js";
4
4
  import {
5
5
  IMPORT_META_URL_VARIABLE,
6
6
  createRuntime,
7
7
  loadHirariConfig,
8
8
  resolvePlugins
9
- } from "./chunk-BFYLVEVR.js";
9
+ } from "./chunk-KAQUSKWG.js";
10
10
  export {
11
11
  IMPORT_META_URL_VARIABLE,
12
12
  createRuntime,
package/dist/loader.cjs CHANGED
@@ -235,7 +235,7 @@ async function loaderResolve(specifier, context, next, runtime2) {
235
235
  if (runtime2.loaderConfig.debug) {
236
236
  console.log(`[hirari-loader] resolve ${note} ${specifier} -> ${url}`);
237
237
  }
238
- return { url };
238
+ return { url, shortCircuit: true };
239
239
  }
240
240
  const indexCandidate = import_path3.default.join(basePath, "index" + ext2);
241
241
  if (import_fs3.default.existsSync(indexCandidate) && import_fs3.default.statSync(indexCandidate).isFile()) {
@@ -243,7 +243,7 @@ async function loaderResolve(specifier, context, next, runtime2) {
243
243
  if (runtime2.loaderConfig.debug) {
244
244
  console.log(`[hirari-loader] resolve ${note} ${specifier} -> ${url}`);
245
245
  }
246
- return { url };
246
+ return { url, shortCircuit: true };
247
247
  }
248
248
  }
249
249
  return null;
@@ -261,7 +261,7 @@ async function loaderResolve(specifier, context, next, runtime2) {
261
261
  if (res) return res;
262
262
  }
263
263
  if (next) return next(specifier, context);
264
- return { url: specifier };
264
+ return { url: specifier, shortCircuit: true };
265
265
  }
266
266
  async function loaderLoad(url, context, next, runtime2) {
267
267
  const { format: expectedFormat } = runtime2;
package/dist/loader.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  createRuntime,
3
3
  loaderLoad,
4
4
  loaderResolve
5
- } from "./chunk-BFYLVEVR.js";
5
+ } from "./chunk-KAQUSKWG.js";
6
6
 
7
7
  // src/loader.ts
8
8
  var runtime = createRuntime();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-7FOXDJEC.js";
4
- import "./chunk-BFYLVEVR.js";
3
+ } from "./chunk-HIXSUEUX.js";
4
+ import "./chunk-KAQUSKWG.js";
5
5
 
6
6
  // src/register-auto.ts
7
7
  register();
package/dist/register.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  register
3
- } from "./chunk-7FOXDJEC.js";
4
- import "./chunk-BFYLVEVR.js";
3
+ } from "./chunk-HIXSUEUX.js";
4
+ import "./chunk-KAQUSKWG.js";
5
5
  export {
6
6
  register
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hirarijs/loader",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Runtime loader for HirariJS that wires loader plugins and config",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",