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/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
@@ -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
@@ -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
@@ -19,7 +19,7 @@ function _interopNamespaceDefaultOnly(e) {
19
19
  return {__proto__: null, 'default': e};
20
20
  }
21
21
 
22
- var version = "2.36.0";
22
+ var version = "2.36.1";
23
23
 
24
24
  function ensureArray(items) {
25
25
  if (Array.isArray(items)) {
@@ -6212,12 +6212,15 @@ class AssignmentExpression extends NodeBase {
6212
6212
  }
6213
6213
  this.right.include(context, includeChildrenRecursively);
6214
6214
  }
6215
- render(code, options) {
6216
- this.right.render(code, options);
6215
+ render(code, options, { renderedParentType } = BLANK) {
6217
6216
  if (this.left.included) {
6218
6217
  this.left.render(code, options);
6218
+ this.right.render(code, options);
6219
6219
  }
6220
6220
  else {
6221
+ this.right.render(code, options, {
6222
+ renderedParentType: renderedParentType || this.parent.type
6223
+ });
6221
6224
  code.remove(this.start, this.right.start);
6222
6225
  }
6223
6226
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "2.36.0",
3
+ "version": "2.36.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",