rollup 4.19.1 → 4.19.2

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/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.19.1
5
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
4
+ Rollup.js v4.19.2
5
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version = "4.19.1";
19
+ var version = "4.19.2";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -8891,6 +8891,12 @@ class MemberExpression extends NodeBase {
8891
8891
  return UnknownValue;
8892
8892
  }
8893
8893
  getLiteralValueAtPathAsChainElement(path, recursionTracker, origin) {
8894
+ if (this.variable) {
8895
+ return this.variable.getLiteralValueAtPath(path, recursionTracker, origin);
8896
+ }
8897
+ if (this.isUndefined) {
8898
+ return undefined;
8899
+ }
8894
8900
  return getChainElementLiteralValueAtPath(this, this.object, path, recursionTracker, origin);
8895
8901
  }
8896
8902
  getReturnExpressionWhenCalledAtPath(path, interaction, recursionTracker, origin) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.19.1";
34
+ var version = "4.19.2";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -10333,6 +10333,12 @@ class MemberExpression extends NodeBase {
10333
10333
  return UnknownValue;
10334
10334
  }
10335
10335
  getLiteralValueAtPathAsChainElement(path, recursionTracker, origin) {
10336
+ if (this.variable) {
10337
+ return this.variable.getLiteralValueAtPath(path, recursionTracker, origin);
10338
+ }
10339
+ if (this.isUndefined) {
10340
+ return undefined;
10341
+ }
10336
10342
  return getChainElementLiteralValueAtPath(this, this.object, path, recursionTracker, origin);
10337
10343
  }
10338
10344
  getReturnExpressionWhenCalledAtPath(path, interaction, recursionTracker, origin) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.19.1
4
- Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
3
+ Rollup.js v4.19.2
4
+ Thu, 01 Aug 2024 08:32:23 GMT - commit 39955e55dbc12ec379a21efcf8fc21e55ec6ce3a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "4.19.1",
3
+ "version": "4.19.2",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -107,22 +107,22 @@
107
107
  "homepage": "https://rollupjs.org/",
108
108
  "optionalDependencies": {
109
109
  "fsevents": "~2.3.2",
110
- "@rollup/rollup-darwin-arm64": "4.19.1",
111
- "@rollup/rollup-android-arm64": "4.19.1",
112
- "@rollup/rollup-win32-arm64-msvc": "4.19.1",
113
- "@rollup/rollup-linux-arm64-gnu": "4.19.1",
114
- "@rollup/rollup-linux-arm64-musl": "4.19.1",
115
- "@rollup/rollup-android-arm-eabi": "4.19.1",
116
- "@rollup/rollup-linux-arm-gnueabihf": "4.19.1",
117
- "@rollup/rollup-linux-arm-musleabihf": "4.19.1",
118
- "@rollup/rollup-win32-ia32-msvc": "4.19.1",
119
- "@rollup/rollup-linux-riscv64-gnu": "4.19.1",
120
- "@rollup/rollup-linux-powerpc64le-gnu": "4.19.1",
121
- "@rollup/rollup-linux-s390x-gnu": "4.19.1",
122
- "@rollup/rollup-darwin-x64": "4.19.1",
123
- "@rollup/rollup-win32-x64-msvc": "4.19.1",
124
- "@rollup/rollup-linux-x64-gnu": "4.19.1",
125
- "@rollup/rollup-linux-x64-musl": "4.19.1"
110
+ "@rollup/rollup-darwin-arm64": "4.19.2",
111
+ "@rollup/rollup-android-arm64": "4.19.2",
112
+ "@rollup/rollup-win32-arm64-msvc": "4.19.2",
113
+ "@rollup/rollup-linux-arm64-gnu": "4.19.2",
114
+ "@rollup/rollup-linux-arm64-musl": "4.19.2",
115
+ "@rollup/rollup-android-arm-eabi": "4.19.2",
116
+ "@rollup/rollup-linux-arm-gnueabihf": "4.19.2",
117
+ "@rollup/rollup-linux-arm-musleabihf": "4.19.2",
118
+ "@rollup/rollup-win32-ia32-msvc": "4.19.2",
119
+ "@rollup/rollup-linux-riscv64-gnu": "4.19.2",
120
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.19.2",
121
+ "@rollup/rollup-linux-s390x-gnu": "4.19.2",
122
+ "@rollup/rollup-darwin-x64": "4.19.2",
123
+ "@rollup/rollup-win32-x64-msvc": "4.19.2",
124
+ "@rollup/rollup-linux-x64-gnu": "4.19.2",
125
+ "@rollup/rollup-linux-x64-musl": "4.19.2"
126
126
  },
127
127
  "dependencies": {
128
128
  "@types/estree": "1.0.5"