@jsenv/core 39.3.7 → 39.3.8

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.
@@ -17111,7 +17111,7 @@ const jsenvPluginInlineContentFetcher = () => {
17111
17111
  let originalContent = urlInfo.originalContent;
17112
17112
  for (const reference of urlInfo.referenceFromOthersSet) {
17113
17113
  if (reference.isInline) {
17114
- if (originalContent === undefined) {
17114
+ if (urlInfo.originalContent === undefined) {
17115
17115
  originalContent = reference.content;
17116
17116
  }
17117
17117
  lastInlineReference = reference;
@@ -17123,6 +17123,7 @@ const jsenvPluginInlineContentFetcher = () => {
17123
17123
  if (lastInlineReference.content === undefined) {
17124
17124
  const originalUrlInfo = prev.urlInfo;
17125
17125
  await originalUrlInfo.cook();
17126
+ originalContent = originalUrlInfo.originalContent;
17126
17127
  lastInlineReference.content = originalUrlInfo.content;
17127
17128
  lastInlineReference.contentType = originalUrlInfo.contentType;
17128
17129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "39.3.7",
3
+ "version": "39.3.8",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -69,7 +69,7 @@
69
69
  "@financial-times/polyfill-useragent-normaliser": "1.10.2",
70
70
  "@jsenv/abort": "4.3.0",
71
71
  "@jsenv/ast": "6.2.16",
72
- "@jsenv/filesystem": "4.10.0",
72
+ "@jsenv/filesystem": "4.10.1",
73
73
  "@jsenv/humanize": "1.2.8",
74
74
  "@jsenv/importmap": "1.2.1",
75
75
  "@jsenv/integrity": "0.0.2",
@@ -48,7 +48,7 @@ const jsenvPluginInlineContentFetcher = () => {
48
48
  let originalContent = urlInfo.originalContent;
49
49
  for (const reference of urlInfo.referenceFromOthersSet) {
50
50
  if (reference.isInline) {
51
- if (originalContent === undefined) {
51
+ if (urlInfo.originalContent === undefined) {
52
52
  originalContent = reference.content;
53
53
  }
54
54
  lastInlineReference = reference;
@@ -60,6 +60,7 @@ const jsenvPluginInlineContentFetcher = () => {
60
60
  if (lastInlineReference.content === undefined) {
61
61
  const originalUrlInfo = prev.urlInfo;
62
62
  await originalUrlInfo.cook();
63
+ originalContent = originalUrlInfo.originalContent;
63
64
  lastInlineReference.content = originalUrlInfo.content;
64
65
  lastInlineReference.contentType = originalUrlInfo.contentType;
65
66
  }