@jsenv/core 34.1.3 → 34.1.5

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/jsenv.js CHANGED
@@ -22330,7 +22330,10 @@ ${ANSI.color(buildUrl, ANSI.MAGENTA)}
22330
22330
  const buildSpecifierBeforeRedirect = findKey(buildUrls, buildUrlFormatted);
22331
22331
  mutations.push(() => {
22332
22332
  setHtmlNodeAttributes(node, {
22333
- href: buildSpecifierBeforeRedirect
22333
+ href: buildSpecifierBeforeRedirect,
22334
+ ...(buildUrlInfo.type === "js_classic" ? {
22335
+ crossorigin: undefined
22336
+ } : {})
22334
22337
  });
22335
22338
  });
22336
22339
  for (const dependencyUrl of buildUrlInfo.dependencies) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "34.1.3",
3
+ "version": "34.1.5",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -72,7 +72,7 @@
72
72
  "@jsenv/integrity": "0.0.1",
73
73
  "@jsenv/log": "3.3.4",
74
74
  "@jsenv/node-esm-resolution": "1.0.1",
75
- "@jsenv/plugin-bundling": "2.1.4",
75
+ "@jsenv/plugin-bundling": "2.1.5",
76
76
  "@jsenv/server": "15.0.2",
77
77
  "@jsenv/sourcemap": "1.0.10",
78
78
  "@jsenv/uneval": "1.6.0",
@@ -1429,6 +1429,9 @@ ${ANSI.color(buildUrl, ANSI.MAGENTA)}
1429
1429
  mutations.push(() => {
1430
1430
  setHtmlNodeAttributes(node, {
1431
1431
  href: buildSpecifierBeforeRedirect,
1432
+ ...(buildUrlInfo.type === "js_classic"
1433
+ ? { crossorigin: undefined }
1434
+ : {}),
1432
1435
  })
1433
1436
  })
1434
1437
  for (const dependencyUrl of buildUrlInfo.dependencies) {