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/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.52.3
4
- Fri, 25 Jun 2021 13:12:43 GMT - commit 9c436a7c7c368f2ff840735a30119899513ff4bd
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.52.3
4
- Fri, 25 Jun 2021 13:12:43 GMT - commit 9c436a7c7c368f2ff840735a30119899513ff4bd
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.3";
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
- : (this.namespaceReexportsByName[name] = this.getVariableFromNamespaceReexports(name, importerForSideEffects, searchedNamesAndModules, skipExternalNamespaceReexports));
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 = new Set([true, skipExternalNamespaceReexports]);
10373
- for (const skipExternalNamespaces of skipExternalNamespaceValues) {
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) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.52.3
4
- Fri, 25 Jun 2021 13:12:43 GMT - commit 9c436a7c7c368f2ff840735a30119899513ff4bd
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.52.3
4
- Fri, 25 Jun 2021 13:12:43 GMT - commit 9c436a7c7c368f2ff840735a30119899513ff4bd
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