@jsenv/core 39.3.8 → 39.3.10
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_core.js
CHANGED
|
@@ -17111,7 +17111,10 @@ const jsenvPluginInlineContentFetcher = () => {
|
|
|
17111
17111
|
let originalContent = urlInfo.originalContent;
|
|
17112
17112
|
for (const reference of urlInfo.referenceFromOthersSet) {
|
|
17113
17113
|
if (reference.isInline) {
|
|
17114
|
-
if (
|
|
17114
|
+
if (
|
|
17115
|
+
urlInfo.originalContent === undefined &&
|
|
17116
|
+
originalContent === undefined
|
|
17117
|
+
) {
|
|
17115
17118
|
originalContent = reference.content;
|
|
17116
17119
|
}
|
|
17117
17120
|
lastInlineReference = reference;
|
|
@@ -17126,6 +17129,11 @@ const jsenvPluginInlineContentFetcher = () => {
|
|
|
17126
17129
|
originalContent = originalUrlInfo.originalContent;
|
|
17127
17130
|
lastInlineReference.content = originalUrlInfo.content;
|
|
17128
17131
|
lastInlineReference.contentType = originalUrlInfo.contentType;
|
|
17132
|
+
return {
|
|
17133
|
+
originalContent: originalUrlInfo.originalContent,
|
|
17134
|
+
content: originalUrlInfo.content,
|
|
17135
|
+
contentType: originalUrlInfo.contentType,
|
|
17136
|
+
};
|
|
17129
17137
|
}
|
|
17130
17138
|
}
|
|
17131
17139
|
return {
|
package/package.json
CHANGED
|
@@ -48,7 +48,10 @@ const jsenvPluginInlineContentFetcher = () => {
|
|
|
48
48
|
let originalContent = urlInfo.originalContent;
|
|
49
49
|
for (const reference of urlInfo.referenceFromOthersSet) {
|
|
50
50
|
if (reference.isInline) {
|
|
51
|
-
if (
|
|
51
|
+
if (
|
|
52
|
+
urlInfo.originalContent === undefined &&
|
|
53
|
+
originalContent === undefined
|
|
54
|
+
) {
|
|
52
55
|
originalContent = reference.content;
|
|
53
56
|
}
|
|
54
57
|
lastInlineReference = reference;
|
|
@@ -63,6 +66,11 @@ const jsenvPluginInlineContentFetcher = () => {
|
|
|
63
66
|
originalContent = originalUrlInfo.originalContent;
|
|
64
67
|
lastInlineReference.content = originalUrlInfo.content;
|
|
65
68
|
lastInlineReference.contentType = originalUrlInfo.contentType;
|
|
69
|
+
return {
|
|
70
|
+
originalContent: originalUrlInfo.originalContent,
|
|
71
|
+
content: originalUrlInfo.content,
|
|
72
|
+
contentType: originalUrlInfo.contentType,
|
|
73
|
+
};
|
|
66
74
|
}
|
|
67
75
|
}
|
|
68
76
|
return {
|