@jsenv/core 39.1.0 → 39.1.1

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.
@@ -16110,7 +16110,13 @@ const jsenvPluginHtmlReferenceAnalysis = ({
16110
16110
  });
16111
16111
 
16112
16112
  actions.push(async () => {
16113
- await inlineReference.urlInfo.cook();
16113
+ try {
16114
+ await inlineReference.urlInfo.cook();
16115
+ } catch (e) {
16116
+ if (!e || e.code !== "PARSE_ERROR") {
16117
+ throw e;
16118
+ }
16119
+ }
16114
16120
  mutations.push(() => {
16115
16121
  if (hotAccept) {
16116
16122
  removeHtmlNodeText(node);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "39.1.0",
3
+ "version": "39.1.1",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -75,7 +75,7 @@
75
75
  "@jsenv/node-esm-resolution": "1.0.2",
76
76
  "@jsenv/plugin-bundling": "2.6.15",
77
77
  "@jsenv/plugin-minification": "1.5.4",
78
- "@jsenv/plugin-supervisor": "1.5.0",
78
+ "@jsenv/plugin-supervisor": "1.5.1",
79
79
  "@jsenv/plugin-transpilation": "1.4.5",
80
80
  "@jsenv/runtime-compat": "1.3.0",
81
81
  "@jsenv/server": "15.2.12",
@@ -277,7 +277,13 @@ export const jsenvPluginHtmlReferenceAnalysis = ({
277
277
  });
278
278
 
279
279
  actions.push(async () => {
280
- await inlineReference.urlInfo.cook();
280
+ try {
281
+ await inlineReference.urlInfo.cook();
282
+ } catch (e) {
283
+ if (!e || e.code !== "PARSE_ERROR") {
284
+ throw e;
285
+ }
286
+ }
281
287
  mutations.push(() => {
282
288
  if (hotAccept) {
283
289
  removeHtmlNodeText(node);