Skip to content

Commit eca4068

Browse files
committed
Update rollup patch
1 parent 0409931 commit eca4068

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

patches/rollup#4.46.2.patch renamed to patches/rollup#4.50.1.patch

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Index: /rollup/dist/es/shared/node-entry.js
22
===================================================================
33
--- /rollup/dist/es/shared/node-entry.js
44
+++ /rollup/dist/es/shared/node-entry.js
5-
@@ -5001,9 +5001,9 @@
5+
@@ -5007,9 +5007,9 @@
66
: [...path1, ...path2];
77
};
88

@@ -13,7 +13,7 @@ Index: /rollup/dist/es/shared/node-entry.js
1313
initPath, context, kind) {
1414
super(name);
1515
this.init = init;
16-
@@ -6449,9 +6449,9 @@
16+
@@ -6458,9 +6458,9 @@
1717
super.initialise();
1818
if (this.directive &&
1919
this.directive !== 'use strict' &&
@@ -24,7 +24,7 @@ Index: /rollup/dist/es/shared/node-entry.js
2424
logModuleLevelDirective(this.directive, this.scope.context.module.id), this.start);
2525
}
2626
}
27-
@@ -7751,20 +7751,20 @@
27+
@@ -7759,20 +7759,20 @@
2828
this.scope.addAccessedGlobals(accessedGlobals, accessedGlobalsByScope);
2929
}
3030
}
@@ -48,7 +48,7 @@ Index: /rollup/dist/es/shared/node-entry.js
4848
iife: ['document', 'URL'],
4949
system: ['module', 'URL'],
5050
umd: ['document', 'require', 'URL']
51-
@@ -7778,9 +7778,9 @@
51+
@@ -7786,9 +7786,9 @@
5252
: property === 'url'
5353
? urlMechanism
5454
: 'undefined';
@@ -59,7 +59,7 @@ Index: /rollup/dist/es/shared/node-entry.js
5959
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)`;
6060
const relativeUrlMechanisms = {
6161
amd: relativePath => {
62-
@@ -7795,9 +7795,9 @@
62+
@@ -7803,9 +7803,9 @@
6363
umd: relativePath => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromRelativePath(relativePath)} : ${getRelativeUrlFromDocument(relativePath, true)})`
6464
};
6565
const importMetaMechanisms = {
@@ -70,7 +70,7 @@ Index: /rollup/dist/es/shared/node-entry.js
7070
system: (property, { snippets: { getPropertyAccess } }) => property === null ? `module.meta` : `module.meta${getPropertyAccess(property)}`,
7171
umd: getGenericImportMetaMechanism(chunkId => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromFullPath('__filename')} : ${getUrlFromDocument(chunkId, true)})`)
7272
};
73-
@@ -9337,9 +9337,9 @@
73+
@@ -9345,9 +9345,9 @@
7474
return segs[segs.length - 2];
7575
}
7676

@@ -81,7 +81,7 @@ Index: /rollup/dist/es/shared/node-entry.js
8181
return utils;
8282
}
8383

84-
@@ -17541,9 +17541,9 @@
84+
@@ -17586,9 +17586,9 @@
8585
// Synthetic namespaces should not hide "regular" exports of the same name
8686
if (module.info.syntheticNamedExports === name) {
8787
continue;
@@ -92,7 +92,7 @@ Index: /rollup/dist/es/shared/node-entry.js
9292
// imported through different namespace reexports gracefully
9393
copyNameToModulesMap(searchedNamesAndModules));
9494
if (module instanceof ExternalModule || options?.indirectExternal) {
95-
@@ -18276,9 +18276,9 @@
95+
@@ -18321,9 +18321,9 @@
9696
this.facadeChunkByModule.set(module, this);
9797
continue;
9898
}
@@ -103,7 +103,7 @@ Index: /rollup/dist/es/shared/node-entry.js
103103
name => ({
104104
name
105105
}));
106-
@@ -19752,9 +19752,9 @@
106+
@@ -19802,9 +19802,9 @@
107107
}
108108
function mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom) {
109109
const { small } = chunkPartition;
@@ -114,7 +114,7 @@ Index: /rollup/dist/es/shared/node-entry.js
114114
minChunkSize <= 1 ? 1 : Infinity);
115115
if (bestTargetChunk) {
116116
const { containedAtoms, correlatedAtoms, modules, pure, size } = mergedChunk;
117-
@@ -19808,9 +19808,9 @@
117+
@@ -19858,9 +19858,9 @@
118118
* is returned.
119119
* Merging will not produce cycles if none of the direct non-merged
120120
* dependencies of a chunk have the other chunk as a transitive dependency.
@@ -140,7 +140,7 @@ Index: /rollup/dist/shared/rollup.js
140140
return utils;
141141
}
142142

143-
@@ -8789,9 +8789,9 @@
143+
@@ -8795,9 +8795,9 @@
144144
: [...path1, ...path2];
145145
};
146146

@@ -151,7 +151,7 @@ Index: /rollup/dist/shared/rollup.js
151151
initPath, context, kind) {
152152
super(name);
153153
this.init = init;
154-
@@ -10225,9 +10225,9 @@
154+
@@ -10234,9 +10234,9 @@
155155
super.initialise();
156156
if (this.directive &&
157157
this.directive !== 'use strict' &&
@@ -162,7 +162,7 @@ Index: /rollup/dist/shared/rollup.js
162162
parseAst_js.logModuleLevelDirective(this.directive, this.scope.context.module.id), this.start);
163163
}
164164
}
165-
@@ -11527,20 +11527,20 @@
165+
@@ -11535,20 +11535,20 @@
166166
this.scope.addAccessedGlobals(accessedGlobals, accessedGlobalsByScope);
167167
}
168168
}
@@ -186,7 +186,7 @@ Index: /rollup/dist/shared/rollup.js
186186
iife: ['document', 'URL'],
187187
system: ['module', 'URL'],
188188
umd: ['document', 'require', 'URL']
189-
@@ -11554,9 +11554,9 @@
189+
@@ -11562,9 +11562,9 @@
190190
: property === 'url'
191191
? urlMechanism
192192
: 'undefined';
@@ -197,7 +197,7 @@ Index: /rollup/dist/shared/rollup.js
197197
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)`;
198198
const relativeUrlMechanisms = {
199199
amd: relativePath => {
200-
@@ -11571,9 +11571,9 @@
200+
@@ -11579,9 +11579,9 @@
201201
umd: relativePath => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromRelativePath(relativePath)} : ${getRelativeUrlFromDocument(relativePath, true)})`
202202
};
203203
const importMetaMechanisms = {
@@ -208,7 +208,7 @@ Index: /rollup/dist/shared/rollup.js
208208
system: (property, { snippets: { getPropertyAccess } }) => property === null ? `module.meta` : `module.meta${getPropertyAccess(property)}`,
209209
umd: getGenericImportMetaMechanism(chunkId => `(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromFullPath('__filename')} : ${getUrlFromDocument(chunkId, true)})`)
210210
};
211-
@@ -19143,9 +19143,9 @@
211+
@@ -19188,9 +19188,9 @@
212212
// Synthetic namespaces should not hide "regular" exports of the same name
213213
if (module.info.syntheticNamedExports === name) {
214214
continue;
@@ -219,7 +219,7 @@ Index: /rollup/dist/shared/rollup.js
219219
// imported through different namespace reexports gracefully
220220
copyNameToModulesMap(searchedNamesAndModules));
221221
if (module instanceof ExternalModule || options?.indirectExternal) {
222-
@@ -19769,9 +19769,9 @@
222+
@@ -19814,9 +19814,9 @@
223223
this.facadeChunkByModule.set(module, this);
224224
continue;
225225
}
@@ -230,7 +230,7 @@ Index: /rollup/dist/shared/rollup.js
230230
name => ({
231231
name
232232
}));
233-
@@ -21245,9 +21245,9 @@
233+
@@ -21295,9 +21295,9 @@
234234
}
235235
function mergeChunks(chunkPartition, minChunkSize, sideEffectAtoms, sizeByAtom) {
236236
const { small } = chunkPartition;
@@ -241,7 +241,7 @@ Index: /rollup/dist/shared/rollup.js
241241
minChunkSize <= 1 ? 1 : Infinity);
242242
if (bestTargetChunk) {
243243
const { containedAtoms, correlatedAtoms, modules, pure, size } = mergedChunk;
244-
@@ -21301,9 +21301,9 @@
244+
@@ -21351,9 +21351,9 @@
245245
* is returned.
246246
* Merging will not produce cycles if none of the direct non-merged
247247
* dependencies of a chunk have the other chunk as a transitive dependency.

0 commit comments

Comments
 (0)