@jsenv/js-module-fallback 1.4.1 → 1.4.3

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.
@@ -3932,10 +3932,7 @@ function default_1({ types, traverse, transformFromAst, version, }) {
3932
3932
  };
3933
3933
  }
3934
3934
 
3935
- const systemJsClientFileUrlDefault = new URL(
3936
- "./js/s.js",
3937
- import.meta.url,
3938
- ).href;
3935
+ const systemJsClientFileUrlDefault = new URL("./client/s.js", import.meta.url).href;
3939
3936
 
3940
3937
  const require = createRequire(import.meta.url);
3941
3938
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/js-module-fallback",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,14 +29,14 @@
29
29
  "./src/cient/s.js"
30
30
  ],
31
31
  "dependencies": {
32
- "@babel/parser": "7.26.5",
32
+ "@babel/parser": "7.26.10",
33
33
  "@babel/plugin-transform-dynamic-import": "7.25.9",
34
34
  "@babel/plugin-transform-modules-umd": "7.25.9",
35
35
  "@babel/plugin-transform-modules-systemjs": "7.25.9",
36
36
  "babel-plugin-transform-async-to-promises": "0.8.18",
37
- "@jsenv/ast": "6.6.1",
38
- "@jsenv/sourcemap": "1.3.1",
39
- "@jsenv/urls": "2.6.2"
37
+ "@jsenv/ast": "6.6.5",
38
+ "@jsenv/sourcemap": "1.3.2",
39
+ "@jsenv/urls": "2.6.3"
40
40
  },
41
41
  "scripts": {
42
42
  "eslint": "npx eslint . --ext=.js,.mjs,.cjs,.html",
@@ -8,10 +8,9 @@ import { babelPluginTransformImportMetaUrl } from "./internal/babel_plugin_trans
8
8
  // because of https://github.com/rpetrich/babel-plugin-transform-async-to-promises/issues/84
9
9
  import customAsyncToPromises from "./internal/async-to-promises.js";
10
10
 
11
- export const systemJsClientFileUrlDefault = new URL(
12
- "./client/s.js",
13
- import.meta.url,
14
- ).href;
11
+ export const systemJsClientFileUrlDefault = import.meta.resolve(
12
+ "./client/s.js?as_js_classic",
13
+ );
15
14
 
16
15
  const require = createRequire(import.meta.url);
17
16
 
File without changes
File without changes