rollup 4.44.1 → 4.45.0

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/LICENSE.md CHANGED
@@ -18,12 +18,10 @@ MIT, ISC, 0BSD
18
18
  # Bundled dependencies:
19
19
  ## @jridgewell/sourcemap-codec
20
20
  License: MIT
21
- By: Rich Harris
22
- Repository: git+https://github.com/jridgewell/sourcemap-codec.git
21
+ By: Justin Ridgewell
22
+ Repository: git+https://github.com/jridgewell/sourcemaps.git
23
23
 
24
- > The MIT License
25
- >
26
- > Copyright (c) 2015 Rich Harris
24
+ > Copyright 2024 Justin Ridgewell <justin@ridgewell.name>
27
25
  >
28
26
  > Permission is hereby granted, free of charge, to any person obtaining a copy
29
27
  > of this software and associated documentation files (the "Software"), to deal
@@ -40,8 +38,8 @@ Repository: git+https://github.com/jridgewell/sourcemap-codec.git
40
38
  > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41
39
  > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42
40
  > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
44
- > THE SOFTWARE.
41
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42
+ > SOFTWARE.
45
43
 
46
44
  ---------------------------------------
47
45
 
package/dist/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.44.1
5
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
4
+ Rollup.js v4.45.0
5
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
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.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -27,191 +27,178 @@ function _mergeNamespaces(n, m) {
27
27
  return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
28
28
  }
29
29
 
30
- var version = "4.44.1";
30
+ var version = "4.45.0";
31
31
 
32
- const comma = ','.charCodeAt(0);
33
- const semicolon = ';'.charCodeAt(0);
34
- const chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
35
- const intToChar = new Uint8Array(64); // 64 possible chars.
36
- const charToInt = new Uint8Array(128); // z is 122 in ASCII
32
+ // src/vlq.ts
33
+ var comma = ",".charCodeAt(0);
34
+ var semicolon = ";".charCodeAt(0);
35
+ var chars$1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
36
+ var intToChar = new Uint8Array(64);
37
+ var charToInt = new Uint8Array(128);
37
38
  for (let i = 0; i < chars$1.length; i++) {
38
- const c = chars$1.charCodeAt(i);
39
- intToChar[i] = c;
40
- charToInt[c] = i;
39
+ const c = chars$1.charCodeAt(i);
40
+ intToChar[i] = c;
41
+ charToInt[c] = i;
41
42
  }
42
43
  function decodeInteger(reader, relative) {
43
- let value = 0;
44
- let shift = 0;
45
- let integer = 0;
46
- do {
47
- const c = reader.next();
48
- integer = charToInt[c];
49
- value |= (integer & 31) << shift;
50
- shift += 5;
51
- } while (integer & 32);
52
- const shouldNegate = value & 1;
53
- value >>>= 1;
54
- if (shouldNegate) {
55
- value = -2147483648 | -value;
56
- }
57
- return relative + value;
44
+ let value = 0;
45
+ let shift = 0;
46
+ let integer = 0;
47
+ do {
48
+ const c = reader.next();
49
+ integer = charToInt[c];
50
+ value |= (integer & 31) << shift;
51
+ shift += 5;
52
+ } while (integer & 32);
53
+ const shouldNegate = value & 1;
54
+ value >>>= 1;
55
+ if (shouldNegate) {
56
+ value = -2147483648 | -value;
57
+ }
58
+ return relative + value;
58
59
  }
59
60
  function encodeInteger(builder, num, relative) {
60
- let delta = num - relative;
61
- delta = delta < 0 ? (-delta << 1) | 1 : delta << 1;
62
- do {
63
- let clamped = delta & 0b011111;
64
- delta >>>= 5;
65
- if (delta > 0)
66
- clamped |= 0b100000;
67
- builder.write(intToChar[clamped]);
68
- } while (delta > 0);
69
- return num;
61
+ let delta = num - relative;
62
+ delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
63
+ do {
64
+ let clamped = delta & 31;
65
+ delta >>>= 5;
66
+ if (delta > 0) clamped |= 32;
67
+ builder.write(intToChar[clamped]);
68
+ } while (delta > 0);
69
+ return num;
70
70
  }
71
71
  function hasMoreVlq(reader, max) {
72
- if (reader.pos >= max)
73
- return false;
74
- return reader.peek() !== comma;
72
+ if (reader.pos >= max) return false;
73
+ return reader.peek() !== comma;
75
74
  }
76
75
 
77
- const bufLength = 1024 * 16;
78
- // Provide a fallback for older environments.
79
- const td = typeof TextDecoder !== 'undefined'
80
- ? /* #__PURE__ */ new TextDecoder()
81
- : typeof Buffer !== 'undefined'
82
- ? {
83
- decode(buf) {
84
- const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
85
- return out.toString();
86
- },
87
- }
88
- : {
89
- decode(buf) {
90
- let out = '';
91
- for (let i = 0; i < buf.length; i++) {
92
- out += String.fromCharCode(buf[i]);
93
- }
94
- return out;
95
- },
96
- };
97
- class StringWriter {
98
- constructor() {
99
- this.pos = 0;
100
- this.out = '';
101
- this.buffer = new Uint8Array(bufLength);
102
- }
103
- write(v) {
104
- const { buffer } = this;
105
- buffer[this.pos++] = v;
106
- if (this.pos === bufLength) {
107
- this.out += td.decode(buffer);
108
- this.pos = 0;
109
- }
110
- }
111
- flush() {
112
- const { buffer, out, pos } = this;
113
- return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
114
- }
115
- }
116
- class StringReader {
117
- constructor(buffer) {
118
- this.pos = 0;
119
- this.buffer = buffer;
120
- }
121
- next() {
122
- return this.buffer.charCodeAt(this.pos++);
123
- }
124
- peek() {
125
- return this.buffer.charCodeAt(this.pos);
76
+ // src/strings.ts
77
+ var bufLength = 1024 * 16;
78
+ var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
79
+ decode(buf) {
80
+ const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
81
+ return out.toString();
82
+ }
83
+ } : {
84
+ decode(buf) {
85
+ let out = "";
86
+ for (let i = 0; i < buf.length; i++) {
87
+ out += String.fromCharCode(buf[i]);
126
88
  }
127
- indexOf(char) {
128
- const { buffer, pos } = this;
129
- const idx = buffer.indexOf(char, pos);
130
- return idx === -1 ? buffer.length : idx;
89
+ return out;
90
+ }
91
+ };
92
+ var StringWriter = class {
93
+ constructor() {
94
+ this.pos = 0;
95
+ this.out = "";
96
+ this.buffer = new Uint8Array(bufLength);
97
+ }
98
+ write(v) {
99
+ const { buffer } = this;
100
+ buffer[this.pos++] = v;
101
+ if (this.pos === bufLength) {
102
+ this.out += td.decode(buffer);
103
+ this.pos = 0;
131
104
  }
132
- }
105
+ }
106
+ flush() {
107
+ const { buffer, out, pos } = this;
108
+ return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
109
+ }
110
+ };
111
+ var StringReader = class {
112
+ constructor(buffer) {
113
+ this.pos = 0;
114
+ this.buffer = buffer;
115
+ }
116
+ next() {
117
+ return this.buffer.charCodeAt(this.pos++);
118
+ }
119
+ peek() {
120
+ return this.buffer.charCodeAt(this.pos);
121
+ }
122
+ indexOf(char) {
123
+ const { buffer, pos } = this;
124
+ const idx = buffer.indexOf(char, pos);
125
+ return idx === -1 ? buffer.length : idx;
126
+ }
127
+ };
133
128
 
129
+ // src/sourcemap-codec.ts
134
130
  function decode(mappings) {
135
- const { length } = mappings;
136
- const reader = new StringReader(mappings);
137
- const decoded = [];
138
- let genColumn = 0;
139
- let sourcesIndex = 0;
140
- let sourceLine = 0;
141
- let sourceColumn = 0;
142
- let namesIndex = 0;
143
- do {
144
- const semi = reader.indexOf(';');
145
- const line = [];
146
- let sorted = true;
147
- let lastCol = 0;
148
- genColumn = 0;
149
- while (reader.pos < semi) {
150
- let seg;
151
- genColumn = decodeInteger(reader, genColumn);
152
- if (genColumn < lastCol)
153
- sorted = false;
154
- lastCol = genColumn;
155
- if (hasMoreVlq(reader, semi)) {
156
- sourcesIndex = decodeInteger(reader, sourcesIndex);
157
- sourceLine = decodeInteger(reader, sourceLine);
158
- sourceColumn = decodeInteger(reader, sourceColumn);
159
- if (hasMoreVlq(reader, semi)) {
160
- namesIndex = decodeInteger(reader, namesIndex);
161
- seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
162
- }
163
- else {
164
- seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
165
- }
166
- }
167
- else {
168
- seg = [genColumn];
169
- }
170
- line.push(seg);
171
- reader.pos++;
172
- }
173
- if (!sorted)
174
- sort(line);
175
- decoded.push(line);
176
- reader.pos = semi + 1;
177
- } while (reader.pos <= length);
178
- return decoded;
131
+ const { length } = mappings;
132
+ const reader = new StringReader(mappings);
133
+ const decoded = [];
134
+ let genColumn = 0;
135
+ let sourcesIndex = 0;
136
+ let sourceLine = 0;
137
+ let sourceColumn = 0;
138
+ let namesIndex = 0;
139
+ do {
140
+ const semi = reader.indexOf(";");
141
+ const line = [];
142
+ let sorted = true;
143
+ let lastCol = 0;
144
+ genColumn = 0;
145
+ while (reader.pos < semi) {
146
+ let seg;
147
+ genColumn = decodeInteger(reader, genColumn);
148
+ if (genColumn < lastCol) sorted = false;
149
+ lastCol = genColumn;
150
+ if (hasMoreVlq(reader, semi)) {
151
+ sourcesIndex = decodeInteger(reader, sourcesIndex);
152
+ sourceLine = decodeInteger(reader, sourceLine);
153
+ sourceColumn = decodeInteger(reader, sourceColumn);
154
+ if (hasMoreVlq(reader, semi)) {
155
+ namesIndex = decodeInteger(reader, namesIndex);
156
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
157
+ } else {
158
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
159
+ }
160
+ } else {
161
+ seg = [genColumn];
162
+ }
163
+ line.push(seg);
164
+ reader.pos++;
165
+ }
166
+ if (!sorted) sort(line);
167
+ decoded.push(line);
168
+ reader.pos = semi + 1;
169
+ } while (reader.pos <= length);
170
+ return decoded;
179
171
  }
180
172
  function sort(line) {
181
- line.sort(sortComparator);
173
+ line.sort(sortComparator);
182
174
  }
183
175
  function sortComparator(a, b) {
184
- return a[0] - b[0];
176
+ return a[0] - b[0];
185
177
  }
186
178
  function encode(decoded) {
187
- const writer = new StringWriter();
188
- let sourcesIndex = 0;
189
- let sourceLine = 0;
190
- let sourceColumn = 0;
191
- let namesIndex = 0;
192
- for (let i = 0; i < decoded.length; i++) {
193
- const line = decoded[i];
194
- if (i > 0)
195
- writer.write(semicolon);
196
- if (line.length === 0)
197
- continue;
198
- let genColumn = 0;
199
- for (let j = 0; j < line.length; j++) {
200
- const segment = line[j];
201
- if (j > 0)
202
- writer.write(comma);
203
- genColumn = encodeInteger(writer, segment[0], genColumn);
204
- if (segment.length === 1)
205
- continue;
206
- sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
207
- sourceLine = encodeInteger(writer, segment[2], sourceLine);
208
- sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
209
- if (segment.length === 4)
210
- continue;
211
- namesIndex = encodeInteger(writer, segment[4], namesIndex);
212
- }
179
+ const writer = new StringWriter();
180
+ let sourcesIndex = 0;
181
+ let sourceLine = 0;
182
+ let sourceColumn = 0;
183
+ let namesIndex = 0;
184
+ for (let i = 0; i < decoded.length; i++) {
185
+ const line = decoded[i];
186
+ if (i > 0) writer.write(semicolon);
187
+ if (line.length === 0) continue;
188
+ let genColumn = 0;
189
+ for (let j = 0; j < line.length; j++) {
190
+ const segment = line[j];
191
+ if (j > 0) writer.write(comma);
192
+ genColumn = encodeInteger(writer, segment[0], genColumn);
193
+ if (segment.length === 1) continue;
194
+ sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
195
+ sourceLine = encodeInteger(writer, segment[2], sourceLine);
196
+ sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
197
+ if (segment.length === 4) continue;
198
+ namesIndex = encodeInteger(writer, segment[4], namesIndex);
213
199
  }
214
- return writer.flush();
200
+ }
201
+ return writer.flush();
215
202
  }
216
203
 
217
204
  class BitSet {
@@ -6535,6 +6522,7 @@ class BlockStatement extends NodeBase {
6535
6522
  }
6536
6523
  initialise() {
6537
6524
  super.initialise();
6525
+ this.scope.context.magicString.addSourcemapLocation(this.end - 1);
6538
6526
  const firstBodyStatement = this.body[0];
6539
6527
  this.deoptimizeBody =
6540
6528
  firstBodyStatement instanceof ExpressionStatement &&
@@ -12270,8 +12258,20 @@ class ConditionalExpression extends NodeBase {
12270
12258
  }
12271
12259
  getLiteralValueAtPath(path, recursionTracker, origin) {
12272
12260
  const usedBranch = this.getUsedBranch();
12273
- if (!usedBranch)
12274
- return UnknownValue;
12261
+ if (!usedBranch) {
12262
+ const consequentValue = this.consequent.getLiteralValueAtPath(path, recursionTracker, origin);
12263
+ const castedConsequentValue = tryCastLiteralValueToBoolean(consequentValue);
12264
+ if (castedConsequentValue === UnknownValue)
12265
+ return UnknownValue;
12266
+ const alternateValue = this.alternate.getLiteralValueAtPath(path, recursionTracker, origin);
12267
+ const castedAlternateValue = tryCastLiteralValueToBoolean(alternateValue);
12268
+ if (castedConsequentValue !== castedAlternateValue)
12269
+ return UnknownValue;
12270
+ this.expressionsToBeDeoptimized.push(origin);
12271
+ if (consequentValue !== alternateValue)
12272
+ return castedConsequentValue ? UnknownTruthyValue : UnknownFalsyValue;
12273
+ return consequentValue;
12274
+ }
12275
12275
  this.expressionsToBeDeoptimized.push(origin);
12276
12276
  return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
12277
12277
  }
@@ -15734,7 +15734,10 @@ const bufferParsers = [
15734
15734
  const body = (node.body = new Array(length));
15735
15735
  for (let index = 0; index < length; index++) {
15736
15736
  const nodePosition = buffer[bodyPosition + 1 + index];
15737
- body[index] = convertNode(node, (buffer[nodePosition + 3] & 1) === 0 ? scope.instanceScope : scope, nodePosition, buffer);
15737
+ body[index] = convertNode(node, buffer[nodePosition] !== 79 &&
15738
+ (buffer[nodePosition + 3] & /* the static flag is always first */ 1) === 0
15739
+ ? scope.instanceScope
15740
+ : scope, nodePosition, buffer);
15738
15741
  }
15739
15742
  }
15740
15743
  else {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
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.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
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.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
42
42
 
43
43
  const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
44
44
 
45
- var version = "4.44.1";
45
+ var version = "4.45.0";
46
46
 
47
47
  function ensureArray$1(items) {
48
48
  if (Array.isArray(items)) {
@@ -3834,189 +3834,176 @@ function handleError(error, recover = false) {
3834
3834
  process$1.exit(1);
3835
3835
  }
3836
3836
 
3837
- const comma = ','.charCodeAt(0);
3838
- const semicolon = ';'.charCodeAt(0);
3839
- const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
3840
- const intToChar = new Uint8Array(64); // 64 possible chars.
3841
- const charToInt = new Uint8Array(128); // z is 122 in ASCII
3837
+ // src/vlq.ts
3838
+ var comma = ",".charCodeAt(0);
3839
+ var semicolon = ";".charCodeAt(0);
3840
+ var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
3841
+ var intToChar = new Uint8Array(64);
3842
+ var charToInt = new Uint8Array(128);
3842
3843
  for (let i = 0; i < chars.length; i++) {
3843
- const c = chars.charCodeAt(i);
3844
- intToChar[i] = c;
3845
- charToInt[c] = i;
3844
+ const c = chars.charCodeAt(i);
3845
+ intToChar[i] = c;
3846
+ charToInt[c] = i;
3846
3847
  }
3847
3848
  function decodeInteger(reader, relative) {
3848
- let value = 0;
3849
- let shift = 0;
3850
- let integer = 0;
3851
- do {
3852
- const c = reader.next();
3853
- integer = charToInt[c];
3854
- value |= (integer & 31) << shift;
3855
- shift += 5;
3856
- } while (integer & 32);
3857
- const shouldNegate = value & 1;
3858
- value >>>= 1;
3859
- if (shouldNegate) {
3860
- value = -2147483648 | -value;
3861
- }
3862
- return relative + value;
3849
+ let value = 0;
3850
+ let shift = 0;
3851
+ let integer = 0;
3852
+ do {
3853
+ const c = reader.next();
3854
+ integer = charToInt[c];
3855
+ value |= (integer & 31) << shift;
3856
+ shift += 5;
3857
+ } while (integer & 32);
3858
+ const shouldNegate = value & 1;
3859
+ value >>>= 1;
3860
+ if (shouldNegate) {
3861
+ value = -2147483648 | -value;
3862
+ }
3863
+ return relative + value;
3863
3864
  }
3864
3865
  function encodeInteger(builder, num, relative) {
3865
- let delta = num - relative;
3866
- delta = delta < 0 ? (-delta << 1) | 1 : delta << 1;
3867
- do {
3868
- let clamped = delta & 0b011111;
3869
- delta >>>= 5;
3870
- if (delta > 0)
3871
- clamped |= 0b100000;
3872
- builder.write(intToChar[clamped]);
3873
- } while (delta > 0);
3874
- return num;
3866
+ let delta = num - relative;
3867
+ delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
3868
+ do {
3869
+ let clamped = delta & 31;
3870
+ delta >>>= 5;
3871
+ if (delta > 0) clamped |= 32;
3872
+ builder.write(intToChar[clamped]);
3873
+ } while (delta > 0);
3874
+ return num;
3875
3875
  }
3876
3876
  function hasMoreVlq(reader, max) {
3877
- if (reader.pos >= max)
3878
- return false;
3879
- return reader.peek() !== comma;
3877
+ if (reader.pos >= max) return false;
3878
+ return reader.peek() !== comma;
3880
3879
  }
3881
3880
 
3882
- const bufLength = 1024 * 16;
3883
- // Provide a fallback for older environments.
3884
- const td = typeof TextDecoder !== 'undefined'
3885
- ? /* #__PURE__ */ new TextDecoder()
3886
- : typeof Buffer !== 'undefined'
3887
- ? {
3888
- decode(buf) {
3889
- const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
3890
- return out.toString();
3891
- },
3892
- }
3893
- : {
3894
- decode(buf) {
3895
- let out = '';
3896
- for (let i = 0; i < buf.length; i++) {
3897
- out += String.fromCharCode(buf[i]);
3898
- }
3899
- return out;
3900
- },
3901
- };
3902
- class StringWriter {
3903
- constructor() {
3904
- this.pos = 0;
3905
- this.out = '';
3906
- this.buffer = new Uint8Array(bufLength);
3907
- }
3908
- write(v) {
3909
- const { buffer } = this;
3910
- buffer[this.pos++] = v;
3911
- if (this.pos === bufLength) {
3912
- this.out += td.decode(buffer);
3913
- this.pos = 0;
3914
- }
3915
- }
3916
- flush() {
3917
- const { buffer, out, pos } = this;
3918
- return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
3919
- }
3920
- }
3921
- class StringReader {
3922
- constructor(buffer) {
3923
- this.pos = 0;
3924
- this.buffer = buffer;
3925
- }
3926
- next() {
3927
- return this.buffer.charCodeAt(this.pos++);
3928
- }
3929
- peek() {
3930
- return this.buffer.charCodeAt(this.pos);
3881
+ // src/strings.ts
3882
+ var bufLength = 1024 * 16;
3883
+ var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
3884
+ decode(buf) {
3885
+ const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
3886
+ return out.toString();
3887
+ }
3888
+ } : {
3889
+ decode(buf) {
3890
+ let out = "";
3891
+ for (let i = 0; i < buf.length; i++) {
3892
+ out += String.fromCharCode(buf[i]);
3931
3893
  }
3932
- indexOf(char) {
3933
- const { buffer, pos } = this;
3934
- const idx = buffer.indexOf(char, pos);
3935
- return idx === -1 ? buffer.length : idx;
3894
+ return out;
3895
+ }
3896
+ };
3897
+ var StringWriter = class {
3898
+ constructor() {
3899
+ this.pos = 0;
3900
+ this.out = "";
3901
+ this.buffer = new Uint8Array(bufLength);
3902
+ }
3903
+ write(v) {
3904
+ const { buffer } = this;
3905
+ buffer[this.pos++] = v;
3906
+ if (this.pos === bufLength) {
3907
+ this.out += td.decode(buffer);
3908
+ this.pos = 0;
3936
3909
  }
3937
- }
3910
+ }
3911
+ flush() {
3912
+ const { buffer, out, pos } = this;
3913
+ return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
3914
+ }
3915
+ };
3916
+ var StringReader = class {
3917
+ constructor(buffer) {
3918
+ this.pos = 0;
3919
+ this.buffer = buffer;
3920
+ }
3921
+ next() {
3922
+ return this.buffer.charCodeAt(this.pos++);
3923
+ }
3924
+ peek() {
3925
+ return this.buffer.charCodeAt(this.pos);
3926
+ }
3927
+ indexOf(char) {
3928
+ const { buffer, pos } = this;
3929
+ const idx = buffer.indexOf(char, pos);
3930
+ return idx === -1 ? buffer.length : idx;
3931
+ }
3932
+ };
3938
3933
 
3934
+ // src/sourcemap-codec.ts
3939
3935
  function decode(mappings) {
3940
- const { length } = mappings;
3941
- const reader = new StringReader(mappings);
3942
- const decoded = [];
3943
- let genColumn = 0;
3944
- let sourcesIndex = 0;
3945
- let sourceLine = 0;
3946
- let sourceColumn = 0;
3947
- let namesIndex = 0;
3948
- do {
3949
- const semi = reader.indexOf(';');
3950
- const line = [];
3951
- let sorted = true;
3952
- let lastCol = 0;
3953
- genColumn = 0;
3954
- while (reader.pos < semi) {
3955
- let seg;
3956
- genColumn = decodeInteger(reader, genColumn);
3957
- if (genColumn < lastCol)
3958
- sorted = false;
3959
- lastCol = genColumn;
3960
- if (hasMoreVlq(reader, semi)) {
3961
- sourcesIndex = decodeInteger(reader, sourcesIndex);
3962
- sourceLine = decodeInteger(reader, sourceLine);
3963
- sourceColumn = decodeInteger(reader, sourceColumn);
3964
- if (hasMoreVlq(reader, semi)) {
3965
- namesIndex = decodeInteger(reader, namesIndex);
3966
- seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
3967
- }
3968
- else {
3969
- seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
3970
- }
3971
- }
3972
- else {
3973
- seg = [genColumn];
3974
- }
3975
- line.push(seg);
3976
- reader.pos++;
3977
- }
3978
- if (!sorted)
3979
- sort(line);
3980
- decoded.push(line);
3981
- reader.pos = semi + 1;
3982
- } while (reader.pos <= length);
3983
- return decoded;
3936
+ const { length } = mappings;
3937
+ const reader = new StringReader(mappings);
3938
+ const decoded = [];
3939
+ let genColumn = 0;
3940
+ let sourcesIndex = 0;
3941
+ let sourceLine = 0;
3942
+ let sourceColumn = 0;
3943
+ let namesIndex = 0;
3944
+ do {
3945
+ const semi = reader.indexOf(";");
3946
+ const line = [];
3947
+ let sorted = true;
3948
+ let lastCol = 0;
3949
+ genColumn = 0;
3950
+ while (reader.pos < semi) {
3951
+ let seg;
3952
+ genColumn = decodeInteger(reader, genColumn);
3953
+ if (genColumn < lastCol) sorted = false;
3954
+ lastCol = genColumn;
3955
+ if (hasMoreVlq(reader, semi)) {
3956
+ sourcesIndex = decodeInteger(reader, sourcesIndex);
3957
+ sourceLine = decodeInteger(reader, sourceLine);
3958
+ sourceColumn = decodeInteger(reader, sourceColumn);
3959
+ if (hasMoreVlq(reader, semi)) {
3960
+ namesIndex = decodeInteger(reader, namesIndex);
3961
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
3962
+ } else {
3963
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
3964
+ }
3965
+ } else {
3966
+ seg = [genColumn];
3967
+ }
3968
+ line.push(seg);
3969
+ reader.pos++;
3970
+ }
3971
+ if (!sorted) sort(line);
3972
+ decoded.push(line);
3973
+ reader.pos = semi + 1;
3974
+ } while (reader.pos <= length);
3975
+ return decoded;
3984
3976
  }
3985
3977
  function sort(line) {
3986
- line.sort(sortComparator);
3978
+ line.sort(sortComparator);
3987
3979
  }
3988
3980
  function sortComparator(a, b) {
3989
- return a[0] - b[0];
3981
+ return a[0] - b[0];
3990
3982
  }
3991
3983
  function encode(decoded) {
3992
- const writer = new StringWriter();
3993
- let sourcesIndex = 0;
3994
- let sourceLine = 0;
3995
- let sourceColumn = 0;
3996
- let namesIndex = 0;
3997
- for (let i = 0; i < decoded.length; i++) {
3998
- const line = decoded[i];
3999
- if (i > 0)
4000
- writer.write(semicolon);
4001
- if (line.length === 0)
4002
- continue;
4003
- let genColumn = 0;
4004
- for (let j = 0; j < line.length; j++) {
4005
- const segment = line[j];
4006
- if (j > 0)
4007
- writer.write(comma);
4008
- genColumn = encodeInteger(writer, segment[0], genColumn);
4009
- if (segment.length === 1)
4010
- continue;
4011
- sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
4012
- sourceLine = encodeInteger(writer, segment[2], sourceLine);
4013
- sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
4014
- if (segment.length === 4)
4015
- continue;
4016
- namesIndex = encodeInteger(writer, segment[4], namesIndex);
4017
- }
3984
+ const writer = new StringWriter();
3985
+ let sourcesIndex = 0;
3986
+ let sourceLine = 0;
3987
+ let sourceColumn = 0;
3988
+ let namesIndex = 0;
3989
+ for (let i = 0; i < decoded.length; i++) {
3990
+ const line = decoded[i];
3991
+ if (i > 0) writer.write(semicolon);
3992
+ if (line.length === 0) continue;
3993
+ let genColumn = 0;
3994
+ for (let j = 0; j < line.length; j++) {
3995
+ const segment = line[j];
3996
+ if (j > 0) writer.write(comma);
3997
+ genColumn = encodeInteger(writer, segment[0], genColumn);
3998
+ if (segment.length === 1) continue;
3999
+ sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
4000
+ sourceLine = encodeInteger(writer, segment[2], sourceLine);
4001
+ sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
4002
+ if (segment.length === 4) continue;
4003
+ namesIndex = encodeInteger(writer, segment[4], namesIndex);
4018
4004
  }
4019
- return writer.flush();
4005
+ }
4006
+ return writer.flush();
4020
4007
  }
4021
4008
 
4022
4009
  class BitSet {
@@ -10310,6 +10297,7 @@ class BlockStatement extends NodeBase {
10310
10297
  }
10311
10298
  initialise() {
10312
10299
  super.initialise();
10300
+ this.scope.context.magicString.addSourcemapLocation(this.end - 1);
10313
10301
  const firstBodyStatement = this.body[0];
10314
10302
  this.deoptimizeBody =
10315
10303
  firstBodyStatement instanceof ExpressionStatement &&
@@ -13879,8 +13867,20 @@ class ConditionalExpression extends NodeBase {
13879
13867
  }
13880
13868
  getLiteralValueAtPath(path, recursionTracker, origin) {
13881
13869
  const usedBranch = this.getUsedBranch();
13882
- if (!usedBranch)
13883
- return UnknownValue;
13870
+ if (!usedBranch) {
13871
+ const consequentValue = this.consequent.getLiteralValueAtPath(path, recursionTracker, origin);
13872
+ const castedConsequentValue = tryCastLiteralValueToBoolean(consequentValue);
13873
+ if (castedConsequentValue === UnknownValue)
13874
+ return UnknownValue;
13875
+ const alternateValue = this.alternate.getLiteralValueAtPath(path, recursionTracker, origin);
13876
+ const castedAlternateValue = tryCastLiteralValueToBoolean(alternateValue);
13877
+ if (castedConsequentValue !== castedAlternateValue)
13878
+ return UnknownValue;
13879
+ this.expressionsToBeDeoptimized.push(origin);
13880
+ if (consequentValue !== alternateValue)
13881
+ return castedConsequentValue ? UnknownTruthyValue : UnknownFalsyValue;
13882
+ return consequentValue;
13883
+ }
13884
13884
  this.expressionsToBeDeoptimized.push(origin);
13885
13885
  return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
13886
13886
  }
@@ -17343,7 +17343,10 @@ const bufferParsers = [
17343
17343
  const body = (node.body = new Array(length));
17344
17344
  for (let index = 0; index < length; index++) {
17345
17345
  const nodePosition = buffer[bodyPosition + 1 + index];
17346
- body[index] = convertNode(node, (buffer[nodePosition + 3] & 1) === 0 ? scope.instanceScope : scope, nodePosition, buffer);
17346
+ body[index] = convertNode(node, buffer[nodePosition] !== 79 &&
17347
+ (buffer[nodePosition + 3] & /* the static flag is always first */ 1) === 0
17348
+ ? scope.instanceScope
17349
+ : scope, nodePosition, buffer);
17347
17350
  }
17348
17351
  }
17349
17352
  else {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.44.1
4
- Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
3
+ Rollup.js v4.45.0
4
+ Sat, 12 Jul 2025 05:53:06 GMT - commit b7c7c1159f70ebe8ad6f94c942ebab2fa59c7982
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.44.1",
3
+ "version": "4.45.0",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -109,26 +109,26 @@
109
109
  "homepage": "https://rollupjs.org/",
110
110
  "optionalDependencies": {
111
111
  "fsevents": "~2.3.2",
112
- "@rollup/rollup-darwin-arm64": "4.44.1",
113
- "@rollup/rollup-android-arm64": "4.44.1",
114
- "@rollup/rollup-win32-arm64-msvc": "4.44.1",
115
- "@rollup/rollup-freebsd-arm64": "4.44.1",
116
- "@rollup/rollup-linux-arm64-gnu": "4.44.1",
117
- "@rollup/rollup-linux-arm64-musl": "4.44.1",
118
- "@rollup/rollup-android-arm-eabi": "4.44.1",
119
- "@rollup/rollup-linux-arm-gnueabihf": "4.44.1",
120
- "@rollup/rollup-linux-arm-musleabihf": "4.44.1",
121
- "@rollup/rollup-win32-ia32-msvc": "4.44.1",
122
- "@rollup/rollup-linux-loongarch64-gnu": "4.44.1",
123
- "@rollup/rollup-linux-riscv64-gnu": "4.44.1",
124
- "@rollup/rollup-linux-riscv64-musl": "4.44.1",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.44.1",
126
- "@rollup/rollup-linux-s390x-gnu": "4.44.1",
127
- "@rollup/rollup-darwin-x64": "4.44.1",
128
- "@rollup/rollup-win32-x64-msvc": "4.44.1",
129
- "@rollup/rollup-freebsd-x64": "4.44.1",
130
- "@rollup/rollup-linux-x64-gnu": "4.44.1",
131
- "@rollup/rollup-linux-x64-musl": "4.44.1"
112
+ "@rollup/rollup-darwin-arm64": "4.45.0",
113
+ "@rollup/rollup-android-arm64": "4.45.0",
114
+ "@rollup/rollup-win32-arm64-msvc": "4.45.0",
115
+ "@rollup/rollup-freebsd-arm64": "4.45.0",
116
+ "@rollup/rollup-linux-arm64-gnu": "4.45.0",
117
+ "@rollup/rollup-linux-arm64-musl": "4.45.0",
118
+ "@rollup/rollup-android-arm-eabi": "4.45.0",
119
+ "@rollup/rollup-linux-arm-gnueabihf": "4.45.0",
120
+ "@rollup/rollup-linux-arm-musleabihf": "4.45.0",
121
+ "@rollup/rollup-win32-ia32-msvc": "4.45.0",
122
+ "@rollup/rollup-linux-loongarch64-gnu": "4.45.0",
123
+ "@rollup/rollup-linux-riscv64-gnu": "4.45.0",
124
+ "@rollup/rollup-linux-riscv64-musl": "4.45.0",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.45.0",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.45.0",
127
+ "@rollup/rollup-darwin-x64": "4.45.0",
128
+ "@rollup/rollup-win32-x64-msvc": "4.45.0",
129
+ "@rollup/rollup-freebsd-x64": "4.45.0",
130
+ "@rollup/rollup-linux-x64-gnu": "4.45.0",
131
+ "@rollup/rollup-linux-x64-musl": "4.45.0"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.8"
@@ -139,27 +139,27 @@
139
139
  "devDependencies": {
140
140
  "@codemirror/commands": "^6.8.1",
141
141
  "@codemirror/lang-javascript": "^6.2.4",
142
- "@codemirror/language": "^6.11.1",
142
+ "@codemirror/language": "^6.11.2",
143
143
  "@codemirror/search": "^6.5.11",
144
144
  "@codemirror/state": "^6.5.2",
145
- "@codemirror/view": "^6.37.2",
146
- "@eslint/js": "^9.29.0",
145
+ "@codemirror/view": "^6.38.0",
146
+ "@eslint/js": "^9.30.0",
147
147
  "@inquirer/prompts": "^7.5.3",
148
- "@jridgewell/sourcemap-codec": "^1.5.0",
149
- "@mermaid-js/mermaid-cli": "^11.4.3",
148
+ "@jridgewell/sourcemap-codec": "^1.5.3",
149
+ "@mermaid-js/mermaid-cli": "^11.6.0",
150
150
  "@napi-rs/cli": "^2.18.4",
151
151
  "@rollup/plugin-alias": "^5.1.1",
152
152
  "@rollup/plugin-buble": "^1.0.3",
153
- "@rollup/plugin-commonjs": "^28.0.5",
153
+ "@rollup/plugin-commonjs": "^28.0.6",
154
154
  "@rollup/plugin-json": "^6.1.0",
155
155
  "@rollup/plugin-node-resolve": "^16.0.1",
156
156
  "@rollup/plugin-replace": "^6.0.2",
157
157
  "@rollup/plugin-terser": "^0.4.4",
158
- "@rollup/plugin-typescript": "^12.1.2",
159
- "@rollup/pluginutils": "^5.1.4",
160
- "@shikijs/vitepress-twoslash": "^3.6.0",
158
+ "@rollup/plugin-typescript": "^12.1.4",
159
+ "@rollup/pluginutils": "^5.2.0",
160
+ "@shikijs/vitepress-twoslash": "^3.7.0",
161
161
  "@types/mocha": "^10.0.10",
162
- "@types/node": "^18.19.112",
162
+ "@types/node": "^20.19.0",
163
163
  "@types/picomatch": "^4.0.0",
164
164
  "@types/semver": "^7.7.0",
165
165
  "@types/yargs-parser": "^21.0.3",
@@ -170,15 +170,15 @@
170
170
  "buble": "^0.20.0",
171
171
  "builtin-modules": "^5.0.0",
172
172
  "chokidar": "^3.6.0",
173
- "concurrently": "^9.1.2",
173
+ "concurrently": "^9.2.0",
174
174
  "core-js": "3.38.1",
175
175
  "cross-env": "^7.0.3",
176
176
  "date-time": "^4.0.0",
177
177
  "es5-shim": "^4.6.7",
178
178
  "es6-shim": "^0.35.8",
179
- "eslint": "^9.29.0",
179
+ "eslint": "^9.30.0",
180
180
  "eslint-config-prettier": "^10.1.5",
181
- "eslint-plugin-prettier": "^5.4.1",
181
+ "eslint-plugin-prettier": "^5.5.1",
182
182
  "eslint-plugin-unicorn": "^59.0.1",
183
183
  "eslint-plugin-vue": "^10.2.0",
184
184
  "fixturify": "^3.0.0",
@@ -192,18 +192,18 @@
192
192
  "locate-character": "^3.0.0",
193
193
  "magic-string": "^0.30.17",
194
194
  "memfs": "^4.17.2",
195
- "mocha": "^11.6.0",
195
+ "mocha": "^11.7.1",
196
196
  "nodemon": "^3.1.10",
197
197
  "nyc": "^17.1.0",
198
198
  "picocolors": "^1.1.1",
199
199
  "picomatch": "^4.0.2",
200
200
  "pinia": "^3.0.3",
201
- "prettier": "^3.5.3",
201
+ "prettier": "^3.6.2",
202
202
  "prettier-plugin-organize-imports": "^4.1.0",
203
203
  "pretty-bytes": "^7.0.0",
204
204
  "pretty-ms": "^9.2.0",
205
205
  "requirejs": "^2.3.7",
206
- "rollup": "^4.43.0",
206
+ "rollup": "^4.44.1",
207
207
  "rollup-plugin-license": "^3.6.0",
208
208
  "rollup-plugin-string": "^3.0.0",
209
209
  "semver": "^7.7.2",
@@ -212,13 +212,14 @@
212
212
  "source-map": "^0.7.4",
213
213
  "source-map-support": "^0.5.21",
214
214
  "systemjs": "^6.15.1",
215
- "terser": "^5.42.0",
215
+ "terser": "^5.43.1",
216
216
  "tslib": "^2.8.1",
217
217
  "typescript": "^5.8.3",
218
- "typescript-eslint": "^8.34.1",
219
- "vite": "^6.3.5",
218
+ "typescript-eslint": "^8.35.1",
219
+ "vite": "^7.0.0",
220
220
  "vitepress": "^1.6.3",
221
- "vue": "^3.5.16",
221
+ "vue": "^3.5.17",
222
+ "vue-eslint-parser": "^10.2.0",
222
223
  "vue-tsc": "^2.2.10",
223
224
  "wasm-pack": "^0.13.1",
224
225
  "yargs-parser": "^21.1.1"
@@ -246,8 +247,8 @@
246
247
  "exports": {
247
248
  ".": {
248
249
  "types": "./dist/rollup.d.ts",
249
- "require": "./dist/rollup.js",
250
- "import": "./dist/es/rollup.js"
250
+ "import": "./dist/es/rollup.js",
251
+ "require": "./dist/rollup.js"
251
252
  },
252
253
  "./loadConfigFile": {
253
254
  "types": "./dist/loadConfigFile.d.ts",
@@ -256,13 +257,13 @@
256
257
  },
257
258
  "./getLogFilter": {
258
259
  "types": "./dist/getLogFilter.d.ts",
259
- "require": "./dist/getLogFilter.js",
260
- "import": "./dist/es/getLogFilter.js"
260
+ "import": "./dist/es/getLogFilter.js",
261
+ "require": "./dist/getLogFilter.js"
261
262
  },
262
263
  "./parseAst": {
263
264
  "types": "./dist/parseAst.d.ts",
264
- "require": "./dist/parseAst.js",
265
- "import": "./dist/es/parseAst.js"
265
+ "import": "./dist/es/parseAst.js",
266
+ "require": "./dist/parseAst.js"
266
267
  },
267
268
  "./dist/*": "./dist/*",
268
269
  "./package.json": "./package.json"