@@ -2,7 +2,7 @@ Index: /rollup/dist/es/shared/node-entry.js
2
2
===================================================================
3
3
--- /rollup/dist/es/shared/node-entry.js
4
4
+++ /rollup/dist/es/shared/node-entry.js
5
- @@ -5001 ,9 +5001 ,9 @@
5
+ @@ -5007 ,9 +5007 ,9 @@
6
6
: [...path1, ...path2];
7
7
};
8
8
@@ -13,7 +13,7 @@ Index: /rollup/dist/es/shared/node-entry.js
13
13
initPath, context, kind) {
14
14
super(name);
15
15
this.init = init;
16
- @@ -6449 ,9 +6449 ,9 @@
16
+ @@ -6458 ,9 +6458 ,9 @@
17
17
super.initialise();
18
18
if (this.directive &&
19
19
this.directive !== 'use strict' &&
@@ -24,7 +24,7 @@ Index: /rollup/dist/es/shared/node-entry.js
24
24
logModuleLevelDirective(this.directive, this.scope.context.module.id), this.start);
25
25
}
26
26
}
27
- @@ -7751 ,20 +7751 ,20 @@
27
+ @@ -7759 ,20 +7759 ,20 @@
28
28
this.scope.addAccessedGlobals(accessedGlobals, accessedGlobalsByScope);
29
29
}
30
30
}
@@ -48,7 +48,7 @@ Index: /rollup/dist/es/shared/node-entry.js
48
48
iife: ['document', 'URL'],
49
49
system: ['module', 'URL'],
50
50
umd: ['document', 'require', 'URL']
51
- @@ -7778 ,9 +7778 ,9 @@
51
+ @@ -7786 ,9 +7786 ,9 @@
52
52
: property === 'url'
53
53
? urlMechanism
54
54
: 'undefined';
@@ -59,7 +59,7 @@ Index: /rollup/dist/es/shared/node-entry.js
59
59
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(${DOCUMENT_CURRENT_SCRIPT} && ${DOCUMENT_CURRENT_SCRIPT}.tagName.toUpperCase() === 'SCRIPT' && ${DOCUMENT_CURRENT_SCRIPT}.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
60
60
const relativeUrlMechanisms = {
61
61
amd: relativePath => {
62
- @@ -7795 ,9 +7795 ,9 @@
62
+ @@ -7803 ,9 +7803 ,9 @@
63
63
umd: relativePath => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromRelativePath(relativePath)} : ${getRelativeUrlFromDocument(relativePath, true)})`
64
64
};
65
65
const importMetaMechanisms = {
@@ -70,7 +70,7 @@ Index: /rollup/dist/es/shared/node-entry.js
70
70
system: (property, { snippets: { getPropertyAccess } }) => property === null ? `module.meta` : `module.meta${getPropertyAccess(property)}`,
71
71
umd: getGenericImportMetaMechanism(chunkId => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromFullPath('__filename')} : ${getUrlFromDocument(chunkId, true)})`)
72
72
};
73
- @@ -9337 ,9 +9337 ,9 @@
73
+ @@ -9345 ,9 +9345 ,9 @@
74
74
return segs[segs.length - 2];
75
75
}
76
76
@@ -81,7 +81,7 @@ Index: /rollup/dist/es/shared/node-entry.js
81
81
return utils;
82
82
}
83
83
84
- @@ -17541 ,9 +17541 ,9 @@
84
+ @@ -17586 ,9 +17586 ,9 @@
85
85
// Synthetic namespaces should not hide "regular" exports of the same name
86
86
if (module.info.syntheticNamedExports === name) {
87
87
continue;
@@ -92,7 +92,7 @@ Index: /rollup/dist/es/shared/node-entry.js
92
92
// imported through different namespace reexports gracefully
93
93
copyNameToModulesMap(searchedNamesAndModules));
94
94
if (module instanceof ExternalModule || options?.indirectExternal) {
95
- @@ -18276 ,9 +18276 ,9 @@
95
+ @@ -18321 ,9 +18321 ,9 @@
96
96
this.facadeChunkByModule.set(module, this);
97
97
continue;
98
98
}
@@ -103,7 +103,7 @@ Index: /rollup/dist/es/shared/node-entry.js
103
103
name => ({
104
104
name
105
105
}));
106
- @@ -19752 ,9 +19752 ,9 @@
106
+ @@ -19802 ,9 +19802 ,9 @@
107
107
}
108
108
function mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom) {
109
109
const { small } = chunkPartition;
@@ -114,7 +114,7 @@ Index: /rollup/dist/es/shared/node-entry.js
114
114
minChunkSize <= 1 ? 1 : Infinity);
115
115
if (bestTargetChunk) {
116
116
const { containedAtoms, correlatedAtoms, modules, pure, size } = mergedChunk;
117
- @@ -19808 ,9 +19808 ,9 @@
117
+ @@ -19858 ,9 +19858 ,9 @@
118
118
* is returned.
119
119
* Merging will not produce cycles if none of the direct non-merged
120
120
* dependencies of a chunk have the other chunk as a transitive dependency.
@@ -140,7 +140,7 @@ Index: /rollup/dist/shared/rollup.js
140
140
return utils;
141
141
}
142
142
143
- @@ -8789 ,9 +8789 ,9 @@
143
+ @@ -8795 ,9 +8795 ,9 @@
144
144
: [...path1, ...path2];
145
145
};
146
146
@@ -151,7 +151,7 @@ Index: /rollup/dist/shared/rollup.js
151
151
initPath, context, kind) {
152
152
super(name);
153
153
this.init = init;
154
- @@ -10225 ,9 +10225 ,9 @@
154
+ @@ -10234 ,9 +10234 ,9 @@
155
155
super.initialise();
156
156
if (this.directive &&
157
157
this.directive !== 'use strict' &&
@@ -162,7 +162,7 @@ Index: /rollup/dist/shared/rollup.js
162
162
parseAst_js.logModuleLevelDirective(this.directive, this.scope.context.module.id), this.start);
163
163
}
164
164
}
165
- @@ -11527 ,20 +11527 ,20 @@
165
+ @@ -11535 ,20 +11535 ,20 @@
166
166
this.scope.addAccessedGlobals(accessedGlobals, accessedGlobalsByScope);
167
167
}
168
168
}
@@ -186,7 +186,7 @@ Index: /rollup/dist/shared/rollup.js
186
186
iife: ['document', 'URL'],
187
187
system: ['module', 'URL'],
188
188
umd: ['document', 'require', 'URL']
189
- @@ -11554 ,9 +11554 ,9 @@
189
+ @@ -11562 ,9 +11562 ,9 @@
190
190
: property === 'url'
191
191
? urlMechanism
192
192
: 'undefined';
@@ -197,7 +197,7 @@ Index: /rollup/dist/shared/rollup.js
197
197
const getUrlFromDocument = (chunkId, umd = false) => `${umd ? `typeof document === 'undefined' ? location.href : ` : ''}(${DOCUMENT_CURRENT_SCRIPT} && ${DOCUMENT_CURRENT_SCRIPT}.tagName.toUpperCase() === 'SCRIPT' && ${DOCUMENT_CURRENT_SCRIPT}.src || new URL('${escapeId(chunkId)}', document.baseURI).href)`;
198
198
const relativeUrlMechanisms = {
199
199
amd: relativePath => {
200
- @@ -11571 ,9 +11571 ,9 @@
200
+ @@ -11579 ,9 +11579 ,9 @@
201
201
umd: relativePath => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromRelativePath(relativePath)} : ${getRelativeUrlFromDocument(relativePath, true)})`
202
202
};
203
203
const importMetaMechanisms = {
@@ -208,7 +208,7 @@ Index: /rollup/dist/shared/rollup.js
208
208
system: (property, { snippets: { getPropertyAccess } }) => property === null ? `module.meta` : `module.meta${getPropertyAccess(property)}`,
209
209
umd: getGenericImportMetaMechanism(chunkId => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromFullPath('__filename')} : ${getUrlFromDocument(chunkId, true)})`)
210
210
};
211
- @@ -19143 ,9 +19143 ,9 @@
211
+ @@ -19188 ,9 +19188 ,9 @@
212
212
// Synthetic namespaces should not hide "regular" exports of the same name
213
213
if (module.info.syntheticNamedExports === name) {
214
214
continue;
@@ -219,7 +219,7 @@ Index: /rollup/dist/shared/rollup.js
219
219
// imported through different namespace reexports gracefully
220
220
copyNameToModulesMap(searchedNamesAndModules));
221
221
if (module instanceof ExternalModule || options?.indirectExternal) {
222
- @@ -19769 ,9 +19769 ,9 @@
222
+ @@ -19814 ,9 +19814 ,9 @@
223
223
this.facadeChunkByModule.set(module, this);
224
224
continue;
225
225
}
@@ -230,7 +230,7 @@ Index: /rollup/dist/shared/rollup.js
230
230
name => ({
231
231
name
232
232
}));
233
- @@ -21245 ,9 +21245 ,9 @@
233
+ @@ -21295 ,9 +21295 ,9 @@
234
234
}
235
235
function mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom) {
236
236
const { small } = chunkPartition;
@@ -241,7 +241,7 @@ Index: /rollup/dist/shared/rollup.js
241
241
minChunkSize <= 1 ? 1 : Infinity);
242
242
if (bestTargetChunk) {
243
243
const { containedAtoms, correlatedAtoms, modules, pure, size } = mergedChunk;
244
- @@ -21301 ,9 +21301 ,9 @@
244
+ @@ -21351 ,9 +21351 ,9 @@
245
245
* is returned.
246
246
* Merging will not produce cycles if none of the direct non-merged
247
247
* dependencies of a chunk have the other chunk as a transitive dependency.
0 commit comments