rollup 2.36.0 → 2.36.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.36.0
4
- Tue, 05 Jan 2021 13:34:51 GMT - commit 966bfa51915ae2bfa456d6f7f65dc23f18ea64e2
3
+ Rollup.js v2.36.1
4
+ Wed, 06 Jan 2021 14:06:54 GMT - commit d6600638c61b5eb7f389681d5fa4af9a1b95823e
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.36.0
4
- Tue, 05 Jan 2021 13:34:51 GMT - commit 966bfa51915ae2bfa456d6f7f65dc23f18ea64e2
3
+ Rollup.js v2.36.1
4
+ Wed, 06 Jan 2021 14:06:54 GMT - commit d6600638c61b5eb7f389681d5fa4af9a1b95823e
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.36.0";
16
+ var version = "2.36.1";
17
17
 
18
18
  var charToInteger = {};
19
19
  var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
@@ -6156,12 +6156,15 @@ class AssignmentExpression extends NodeBase {
6156
6156
  }
6157
6157
  this.right.include(context, includeChildrenRecursively);
6158
6158
  }
6159
- render(code, options) {
6160
- this.right.render(code, options);
6159
+ render(code, options, { renderedParentType } = BLANK) {
6161
6160
  if (this.left.included) {
6162
6161
  this.left.render(code, options);
6162
+ this.right.render(code, options);
6163
6163
  }
6164
6164
  else {
6165
+ this.right.render(code, options, {
6166
+ renderedParentType: renderedParentType || this.parent.type
6167
+ });
6165
6168
  code.remove(this.start, this.right.start);
6166
6169
  }
6167
6170
  if (options.format === 'system') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.36.0
4
- Tue, 05 Jan 2021 13:34:51 GMT - commit 966bfa51915ae2bfa456d6f7f65dc23f18ea64e2
3
+ Rollup.js v2.36.1
4
+ Wed, 06 Jan 2021 14:06:54 GMT - commit d6600638c61b5eb7f389681d5fa4af9a1b95823e
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.36.0
4
- Tue, 05 Jan 2021 13:34:51 GMT - commit 966bfa51915ae2bfa456d6f7f65dc23f18ea64e2
3
+ Rollup.js v2.36.1
4
+ Wed, 06 Jan 2021 14:06:54 GMT - commit d6600638c61b5eb7f389681d5fa4af9a1b95823e
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup