rollup 2.52.3 → 2.52.4
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/CHANGELOG.md +9 -0
- package/dist/bin/rollup +2 -2
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +19 -6
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +19 -6
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -1
package/dist/es/rollup.js
CHANGED
package/dist/es/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.52.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.52.4
|
|
4
|
+
Wed, 30 Jun 2021 04:06:36 GMT - commit c3ad218caeeafa8a1b6ff8d4dde0db2556a3309a
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -14,7 +14,7 @@ import * as fs from 'fs';
|
|
|
14
14
|
import { lstatSync, realpathSync, readdirSync } from 'fs';
|
|
15
15
|
import { EventEmitter } from 'events';
|
|
16
16
|
|
|
17
|
-
var version$1 = "2.52.
|
|
17
|
+
var version$1 = "2.52.4";
|
|
18
18
|
|
|
19
19
|
var charToInteger = {};
|
|
20
20
|
var chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
|
@@ -9977,7 +9977,10 @@ class Module {
|
|
|
9977
9977
|
if (name !== 'default') {
|
|
9978
9978
|
const foundNamespaceReexport = name in this.namespaceReexportsByName
|
|
9979
9979
|
? this.namespaceReexportsByName[name]
|
|
9980
|
-
:
|
|
9980
|
+
: this.getVariableFromNamespaceReexports(name, importerForSideEffects, searchedNamesAndModules, skipExternalNamespaceReexports);
|
|
9981
|
+
if (!skipExternalNamespaceReexports) {
|
|
9982
|
+
this.namespaceReexportsByName[name] = foundNamespaceReexport;
|
|
9983
|
+
}
|
|
9981
9984
|
if (foundNamespaceReexport) {
|
|
9982
9985
|
return foundNamespaceReexport;
|
|
9983
9986
|
}
|
|
@@ -10369,8 +10372,18 @@ class Module {
|
|
|
10369
10372
|
}
|
|
10370
10373
|
getVariableFromNamespaceReexports(name, importerForSideEffects, searchedNamesAndModules, skipExternalNamespaceReexports = false) {
|
|
10371
10374
|
let foundSyntheticDeclaration = null;
|
|
10372
|
-
const skipExternalNamespaceValues =
|
|
10373
|
-
|
|
10375
|
+
const skipExternalNamespaceValues = [{ searchedNamesAndModules, skipExternalNamespaces: true }];
|
|
10376
|
+
if (!skipExternalNamespaceReexports) {
|
|
10377
|
+
const clonedSearchedNamesAndModules = new Map();
|
|
10378
|
+
for (const [name, modules] of searchedNamesAndModules || []) {
|
|
10379
|
+
clonedSearchedNamesAndModules.set(name, new Set(modules));
|
|
10380
|
+
}
|
|
10381
|
+
skipExternalNamespaceValues.push({
|
|
10382
|
+
searchedNamesAndModules: clonedSearchedNamesAndModules,
|
|
10383
|
+
skipExternalNamespaces: false
|
|
10384
|
+
});
|
|
10385
|
+
}
|
|
10386
|
+
for (const { skipExternalNamespaces, searchedNamesAndModules } of skipExternalNamespaceValues) {
|
|
10374
10387
|
const foundDeclarations = new Set();
|
|
10375
10388
|
for (const module of this.exportAllModules) {
|
|
10376
10389
|
if (module instanceof Module || !skipExternalNamespaces) {
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED