rollup 2.42.2 → 2.42.3

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.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -32,7 +32,7 @@ function _interopNamespaceDefaultOnly(e) {
32
32
 
33
33
  var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
34
34
 
35
- var version$1 = "2.42.2";
35
+ var version$1 = "2.42.3";
36
36
 
37
37
  function ensureArray(items) {
38
38
  if (Array.isArray(items)) {
@@ -1587,6 +1587,7 @@ function relative(from, to) {
1587
1587
  const ArrowFunctionExpression$1 = 'ArrowFunctionExpression';
1588
1588
  const BlockStatement$1 = 'BlockStatement';
1589
1589
  const CallExpression$1 = 'CallExpression';
1590
+ const ChainExpression$1 = 'ChainExpression';
1590
1591
  const ExpressionStatement$1 = 'ExpressionStatement';
1591
1592
  const Identifier$1 = 'Identifier';
1592
1593
  const ImportDefaultSpecifier$1 = 'ImportDefaultSpecifier';
@@ -19123,7 +19124,7 @@ function markPureNode(node, comment) {
19123
19124
  else {
19124
19125
  node._rollupAnnotations = [{ comment }];
19125
19126
  }
19126
- if (node.type === ExpressionStatement$1) {
19127
+ while (node.type === ExpressionStatement$1 || node.type === ChainExpression$1) {
19127
19128
  node = node.expression;
19128
19129
  }
19129
19130
  if (node.type === CallExpression$1 || node.type === NewExpression$1) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
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.42.2",
3
+ "version": "2.42.3",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",