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/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
@@ -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
@@ -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
@@ -28,7 +28,7 @@ var crypto = require('crypto');
28
28
  var fs = require('fs');
29
29
  var events = require('events');
30
30
 
31
- var version = "2.9.0";
31
+ var version = "2.9.1";
32
32
 
33
33
  function unwrapExports (x) {
34
34
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -7368,6 +7368,10 @@ class Variable {
7368
7368
  }
7369
7369
 
7370
7370
  class GlobalVariable extends Variable {
7371
+ constructor() {
7372
+ super(...arguments);
7373
+ this.isReassigned = true;
7374
+ }
7371
7375
  hasEffectsWhenAccessedAtPath(path) {
7372
7376
  return !isGlobalMember([this.name, ...path]);
7373
7377
  }
@@ -15129,9 +15133,7 @@ class Module {
15129
15133
  else if (variable instanceof ExportDefaultVariable) {
15130
15134
  variable = variable.getOriginalVariable();
15131
15135
  }
15132
- if (variable.module) {
15133
- relevantDependencies.add(variable.module);
15134
- }
15136
+ relevantDependencies.add(variable.module);
15135
15137
  }
15136
15138
  if (this.isEntryPoint ||
15137
15139
  this.includedDynamicImporters.length > 0 ||
@@ -15144,9 +15146,7 @@ class Module {
15144
15146
  else if (variable instanceof ExportDefaultVariable) {
15145
15147
  variable = variable.getOriginalVariable();
15146
15148
  }
15147
- if (variable.module) {
15148
- relevantDependencies.add(variable.module);
15149
- }
15149
+ relevantDependencies.add(variable.module);
15150
15150
  }
15151
15151
  }
15152
15152
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",