rollup 4.17.0 → 4.17.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/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.17.0
5
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
4
+ Rollup.js v4.17.1
5
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
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.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
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.17.0";
19
+ var version = "4.17.1";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -11186,21 +11186,17 @@ const importMetaMechanisms = {
11186
11186
 
11187
11187
  class NewExpression extends NodeBase {
11188
11188
  hasEffects(context) {
11189
- try {
11190
- for (const argument of this.arguments) {
11191
- if (argument.hasEffects(context))
11192
- return true;
11193
- }
11194
- if (this.annotationPure) {
11195
- return false;
11196
- }
11197
- return (this.callee.hasEffects(context) ||
11198
- this.callee.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
11189
+ if (!this.deoptimized)
11190
+ this.applyDeoptimizations();
11191
+ for (const argument of this.arguments) {
11192
+ if (argument.hasEffects(context))
11193
+ return true;
11199
11194
  }
11200
- finally {
11201
- if (!this.deoptimized)
11202
- this.applyDeoptimizations();
11195
+ if (this.annotationPure) {
11196
+ return false;
11203
11197
  }
11198
+ return (this.callee.hasEffects(context) ||
11199
+ this.callee.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
11204
11200
  }
11205
11201
  hasEffectsOnInteractionAtPath(path, { type }) {
11206
11202
  return path.length > 0 || type !== INTERACTION_ACCESSED;
@@ -11757,18 +11753,14 @@ class TaggedTemplateExpression extends CallExpressionBase {
11757
11753
  }
11758
11754
  }
11759
11755
  hasEffects(context) {
11760
- try {
11761
- for (const argument of this.quasi.expressions) {
11762
- if (argument.hasEffects(context))
11763
- return true;
11764
- }
11765
- return (this.tag.hasEffects(context) ||
11766
- this.tag.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
11767
- }
11768
- finally {
11769
- if (!this.deoptimized)
11770
- this.applyDeoptimizations();
11756
+ if (!this.deoptimized)
11757
+ this.applyDeoptimizations();
11758
+ for (const argument of this.quasi.expressions) {
11759
+ if (argument.hasEffects(context))
11760
+ return true;
11771
11761
  }
11762
+ return (this.tag.hasEffects(context) ||
11763
+ this.tag.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
11772
11764
  }
11773
11765
  include(context, includeChildrenRecursively) {
11774
11766
  if (!this.deoptimized)
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
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.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
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.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
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.17.0";
34
+ var version = "4.17.1";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -12628,21 +12628,17 @@ const importMetaMechanisms = {
12628
12628
 
12629
12629
  class NewExpression extends NodeBase {
12630
12630
  hasEffects(context) {
12631
- try {
12632
- for (const argument of this.arguments) {
12633
- if (argument.hasEffects(context))
12634
- return true;
12635
- }
12636
- if (this.annotationPure) {
12637
- return false;
12638
- }
12639
- return (this.callee.hasEffects(context) ||
12640
- this.callee.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
12631
+ if (!this.deoptimized)
12632
+ this.applyDeoptimizations();
12633
+ for (const argument of this.arguments) {
12634
+ if (argument.hasEffects(context))
12635
+ return true;
12641
12636
  }
12642
- finally {
12643
- if (!this.deoptimized)
12644
- this.applyDeoptimizations();
12637
+ if (this.annotationPure) {
12638
+ return false;
12645
12639
  }
12640
+ return (this.callee.hasEffects(context) ||
12641
+ this.callee.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
12646
12642
  }
12647
12643
  hasEffectsOnInteractionAtPath(path, { type }) {
12648
12644
  return path.length > 0 || type !== INTERACTION_ACCESSED;
@@ -13199,18 +13195,14 @@ class TaggedTemplateExpression extends CallExpressionBase {
13199
13195
  }
13200
13196
  }
13201
13197
  hasEffects(context) {
13202
- try {
13203
- for (const argument of this.quasi.expressions) {
13204
- if (argument.hasEffects(context))
13205
- return true;
13206
- }
13207
- return (this.tag.hasEffects(context) ||
13208
- this.tag.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
13209
- }
13210
- finally {
13211
- if (!this.deoptimized)
13212
- this.applyDeoptimizations();
13198
+ if (!this.deoptimized)
13199
+ this.applyDeoptimizations();
13200
+ for (const argument of this.quasi.expressions) {
13201
+ if (argument.hasEffects(context))
13202
+ return true;
13213
13203
  }
13204
+ return (this.tag.hasEffects(context) ||
13205
+ this.tag.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
13214
13206
  }
13215
13207
  include(context, includeChildrenRecursively) {
13216
13208
  if (!this.deoptimized)
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.17.0
4
- Sat, 27 Apr 2024 11:29:22 GMT - commit 91352494fc722bcd5e8e922cd1497b34aec57a67
3
+ Rollup.js v4.17.1
4
+ Mon, 29 Apr 2024 04:57:19 GMT - commit dbf0a2e5d3c3eae09ac4d502646d0ecab63f40fd
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.17.0",
3
+ "version": "4.17.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -104,22 +104,22 @@
104
104
  "homepage": "https://rollupjs.org/",
105
105
  "optionalDependencies": {
106
106
  "fsevents": "~2.3.2",
107
- "@rollup/rollup-darwin-arm64": "4.17.0",
108
- "@rollup/rollup-android-arm64": "4.17.0",
109
- "@rollup/rollup-win32-arm64-msvc": "4.17.0",
110
- "@rollup/rollup-linux-arm64-gnu": "4.17.0",
111
- "@rollup/rollup-linux-arm64-musl": "4.17.0",
112
- "@rollup/rollup-android-arm-eabi": "4.17.0",
113
- "@rollup/rollup-linux-arm-gnueabihf": "4.17.0",
114
- "@rollup/rollup-linux-arm-musleabihf": "4.17.0",
115
- "@rollup/rollup-win32-ia32-msvc": "4.17.0",
116
- "@rollup/rollup-linux-riscv64-gnu": "4.17.0",
117
- "@rollup/rollup-linux-powerpc64le-gnu": "4.17.0",
118
- "@rollup/rollup-linux-s390x-gnu": "4.17.0",
119
- "@rollup/rollup-darwin-x64": "4.17.0",
120
- "@rollup/rollup-win32-x64-msvc": "4.17.0",
121
- "@rollup/rollup-linux-x64-gnu": "4.17.0",
122
- "@rollup/rollup-linux-x64-musl": "4.17.0"
107
+ "@rollup/rollup-darwin-arm64": "4.17.1",
108
+ "@rollup/rollup-android-arm64": "4.17.1",
109
+ "@rollup/rollup-win32-arm64-msvc": "4.17.1",
110
+ "@rollup/rollup-linux-arm64-gnu": "4.17.1",
111
+ "@rollup/rollup-linux-arm64-musl": "4.17.1",
112
+ "@rollup/rollup-android-arm-eabi": "4.17.1",
113
+ "@rollup/rollup-linux-arm-gnueabihf": "4.17.1",
114
+ "@rollup/rollup-linux-arm-musleabihf": "4.17.1",
115
+ "@rollup/rollup-win32-ia32-msvc": "4.17.1",
116
+ "@rollup/rollup-linux-riscv64-gnu": "4.17.1",
117
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.17.1",
118
+ "@rollup/rollup-linux-s390x-gnu": "4.17.1",
119
+ "@rollup/rollup-darwin-x64": "4.17.1",
120
+ "@rollup/rollup-win32-x64-msvc": "4.17.1",
121
+ "@rollup/rollup-linux-x64-gnu": "4.17.1",
122
+ "@rollup/rollup-linux-x64-musl": "4.17.1"
123
123
  },
124
124
  "dependencies": {
125
125
  "@types/estree": "1.0.5"