rollup 2.9.0 → 2.9.1

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.9.0
4
- Sun, 10 May 2020 10:44:19 GMT - commit 67ebd531f09103adc93a35ec48b3beae27861e13
3
+ Rollup.js v2.9.1
4
+ Mon, 11 May 2020 05:23:48 GMT - commit 1436473192ef975ee515ede6ab90dbf832cdfab1
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.9.0
4
- Sun, 10 May 2020 10:44:19 GMT - commit 67ebd531f09103adc93a35ec48b3beae27861e13
3
+ Rollup.js v2.9.1
4
+ Mon, 11 May 2020 05:23:48 GMT - commit 1436473192ef975ee515ede6ab90dbf832cdfab1
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -13,7 +13,7 @@ import { createHash as createHash$1 } from 'crypto';
13
13
  import { writeFile as writeFile$1, readdirSync, mkdirSync, readFile as readFile$1, lstatSync, realpathSync } from 'fs';
14
14
  import { EventEmitter } from 'events';
15
15
 
16
- var version = "2.9.0";
16
+ var version = "2.9.1";
17
17
 
18
18
  // Reserved word lists for various dialects of the language
19
19
 
@@ -6830,6 +6830,10 @@ class Variable {
6830
6830
  }
6831
6831
 
6832
6832
  class GlobalVariable extends Variable {
6833
+ constructor() {
6834
+ super(...arguments);
6835
+ this.isReassigned = true;
6836
+ }
6833
6837
  hasEffectsWhenAccessedAtPath(path) {
6834
6838
  return !isGlobalMember([this.name, ...path]);
6835
6839
  }
@@ -14918,9 +14922,7 @@ class Module {
14918
14922
  else if (variable instanceof ExportDefaultVariable) {
14919
14923
  variable = variable.getOriginalVariable();
14920
14924
  }
14921
- if (variable.module) {
14922
- relevantDependencies.add(variable.module);
14923
- }
14925
+ relevantDependencies.add(variable.module);
14924
14926
  }
14925
14927
  if (this.isEntryPoint ||
14926
14928
  this.includedDynamicImporters.length > 0 ||
@@ -14933,9 +14935,7 @@ class Module {
14933
14935
  else if (variable instanceof ExportDefaultVariable) {
14934
14936
  variable = variable.getOriginalVariable();
14935
14937
  }
14936
- if (variable.module) {
14937
- relevantDependencies.add(variable.module);
14938
- }
14938
+ relevantDependencies.add(variable.module);
14939
14939
  }
14940
14940
  }
14941
14941
  if (this.graph.treeshakingOptions) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.9.0
4
- Sun, 10 May 2020 10:44:19 GMT - commit 67ebd531f09103adc93a35ec48b3beae27861e13
3
+ Rollup.js v2.9.1
4
+ Mon, 11 May 2020 05:23:48 GMT - commit 1436473192ef975ee515ede6ab90dbf832cdfab1
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.9.0
4
- Sun, 10 May 2020 10:44:19 GMT - commit 67ebd531f09103adc93a35ec48b3beae27861e13
3
+ Rollup.js v2.9.1
4
+ Mon, 11 May 2020 05:23:48 GMT - commit 1436473192ef975ee515ede6ab90dbf832cdfab1
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup