@jsenv/plugin-transpilation 1.5.69 → 1.5.71

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-transpilation",
3
- "version": "1.5.69",
3
+ "version": "1.5.71",
4
4
  "description": "TODO",
5
5
  "repository": {
6
6
  "type": "git",
@@ -50,14 +50,14 @@
50
50
  "@babel/plugin-transform-typeof-symbol": "7.27.1",
51
51
  "@babel/plugin-transform-unicode-property-regex": "7.28.6",
52
52
  "@babel/plugin-transform-unicode-regex": "7.27.1",
53
- "@jsenv/ast": "6.7.20",
54
- "@jsenv/js-module-fallback": "1.4.28",
55
- "@jsenv/sourcemap": "1.3.16",
56
- "@jsenv/urls": "2.9.7",
53
+ "@jsenv/ast": "6.7.21",
54
+ "@jsenv/js-module-fallback": "1.4.29",
55
+ "@jsenv/sourcemap": "1.3.17",
56
+ "@jsenv/urls": "2.9.8",
57
57
  "@jsenv/utils": "2.3.1",
58
58
  "babel-plugin-transform-async-to-promises": "0.8.18",
59
59
  "construct-style-sheets-polyfill": "3.1.0",
60
- "lightningcss": "1.31.1"
60
+ "lightningcss": "1.32.0"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=16.13.0"
@@ -96,6 +96,9 @@ export const jsenvPluginJsModuleFallbackInsideHtml = ({
96
96
  break;
97
97
  }
98
98
  }
99
+ if (!linkHintReference) {
100
+ return;
101
+ }
99
102
  if (rel === "modulepreload") {
100
103
  if (linkHintReference.expectedType === "js_classic") {
101
104
  mutations.push(() => {
@@ -143,6 +146,9 @@ export const jsenvPluginJsModuleFallbackInsideHtml = ({
143
146
  }
144
147
  }
145
148
  }
149
+ if (!scriptReference) {
150
+ return;
151
+ }
146
152
  if (!wasConvertedFromJsModule(scriptReference)) {
147
153
  return;
148
154
  }