@rollup/wasm-node 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 +5 -7
- package/dist/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +172 -169
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +172 -169
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +28 -27
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:
|
|
22
|
-
Repository: git+https://github.com/jridgewell/
|
|
21
|
+
By: Justin Ridgewell
|
|
22
|
+
Repository: git+https://github.com/jridgewell/sourcemaps.git
|
|
23
23
|
|
|
24
|
-
>
|
|
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
|
-
>
|
|
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.
|
|
5
|
-
|
|
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
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
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.
|
|
30
|
+
var version = "4.45.0";
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
const c = chars$1.charCodeAt(i);
|
|
40
|
+
intToChar[i] = c;
|
|
41
|
+
charToInt[c] = i;
|
|
41
42
|
}
|
|
42
43
|
function decodeInteger(reader, relative) {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
-
|
|
73
|
-
|
|
74
|
-
return reader.peek() !== comma;
|
|
72
|
+
if (reader.pos >= max) return false;
|
|
73
|
+
return reader.peek() !== comma;
|
|
75
74
|
}
|
|
76
75
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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
|
-
|
|
173
|
+
line.sort(sortComparator);
|
|
182
174
|
}
|
|
183
175
|
function sortComparator(a, b) {
|
|
184
|
-
|
|
176
|
+
return a[0] - b[0];
|
|
185
177
|
}
|
|
186
178
|
function encode(decoded) {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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 {
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
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.
|
|
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
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
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
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3844
|
+
const c = chars.charCodeAt(i);
|
|
3845
|
+
intToChar[i] = c;
|
|
3846
|
+
charToInt[c] = i;
|
|
3846
3847
|
}
|
|
3847
3848
|
function decodeInteger(reader, relative) {
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
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
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
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
|
-
|
|
3878
|
-
|
|
3879
|
-
return reader.peek() !== comma;
|
|
3877
|
+
if (reader.pos >= max) return false;
|
|
3878
|
+
return reader.peek() !== comma;
|
|
3880
3879
|
}
|
|
3881
3880
|
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
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
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
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
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
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
|
-
|
|
3978
|
+
line.sort(sortComparator);
|
|
3987
3979
|
}
|
|
3988
3980
|
function sortComparator(a, b) {
|
|
3989
|
-
|
|
3981
|
+
return a[0] - b[0];
|
|
3990
3982
|
}
|
|
3991
3983
|
function encode(decoded) {
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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 {
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.45.0",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -34,27 +34,27 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@codemirror/commands": "^6.8.1",
|
|
36
36
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
37
|
-
"@codemirror/language": "^6.11.
|
|
37
|
+
"@codemirror/language": "^6.11.2",
|
|
38
38
|
"@codemirror/search": "^6.5.11",
|
|
39
39
|
"@codemirror/state": "^6.5.2",
|
|
40
|
-
"@codemirror/view": "^6.
|
|
41
|
-
"@eslint/js": "^9.
|
|
40
|
+
"@codemirror/view": "^6.38.0",
|
|
41
|
+
"@eslint/js": "^9.30.0",
|
|
42
42
|
"@inquirer/prompts": "^7.5.3",
|
|
43
|
-
"@jridgewell/sourcemap-codec": "^1.5.
|
|
44
|
-
"@mermaid-js/mermaid-cli": "^11.
|
|
43
|
+
"@jridgewell/sourcemap-codec": "^1.5.3",
|
|
44
|
+
"@mermaid-js/mermaid-cli": "^11.6.0",
|
|
45
45
|
"@napi-rs/cli": "^2.18.4",
|
|
46
46
|
"@rollup/plugin-alias": "^5.1.1",
|
|
47
47
|
"@rollup/plugin-buble": "^1.0.3",
|
|
48
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
48
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
49
49
|
"@rollup/plugin-json": "^6.1.0",
|
|
50
50
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
51
51
|
"@rollup/plugin-replace": "^6.0.2",
|
|
52
52
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
54
|
-
"@rollup/pluginutils": "^5.
|
|
55
|
-
"@shikijs/vitepress-twoslash": "^3.
|
|
53
|
+
"@rollup/plugin-typescript": "^12.1.4",
|
|
54
|
+
"@rollup/pluginutils": "^5.2.0",
|
|
55
|
+
"@shikijs/vitepress-twoslash": "^3.7.0",
|
|
56
56
|
"@types/mocha": "^10.0.10",
|
|
57
|
-
"@types/node": "^
|
|
57
|
+
"@types/node": "^20.19.0",
|
|
58
58
|
"@types/picomatch": "^4.0.0",
|
|
59
59
|
"@types/semver": "^7.7.0",
|
|
60
60
|
"@types/yargs-parser": "^21.0.3",
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
"buble": "^0.20.0",
|
|
66
66
|
"builtin-modules": "^5.0.0",
|
|
67
67
|
"chokidar": "^3.6.0",
|
|
68
|
-
"concurrently": "^9.
|
|
68
|
+
"concurrently": "^9.2.0",
|
|
69
69
|
"core-js": "3.38.1",
|
|
70
70
|
"cross-env": "^7.0.3",
|
|
71
71
|
"date-time": "^4.0.0",
|
|
72
72
|
"es5-shim": "^4.6.7",
|
|
73
73
|
"es6-shim": "^0.35.8",
|
|
74
|
-
"eslint": "^9.
|
|
74
|
+
"eslint": "^9.30.0",
|
|
75
75
|
"eslint-config-prettier": "^10.1.5",
|
|
76
|
-
"eslint-plugin-prettier": "^5.
|
|
76
|
+
"eslint-plugin-prettier": "^5.5.1",
|
|
77
77
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
78
78
|
"eslint-plugin-vue": "^10.2.0",
|
|
79
79
|
"fixturify": "^3.0.0",
|
|
@@ -87,18 +87,18 @@
|
|
|
87
87
|
"locate-character": "^3.0.0",
|
|
88
88
|
"magic-string": "^0.30.17",
|
|
89
89
|
"memfs": "^4.17.2",
|
|
90
|
-
"mocha": "^11.
|
|
90
|
+
"mocha": "^11.7.1",
|
|
91
91
|
"nodemon": "^3.1.10",
|
|
92
92
|
"nyc": "^17.1.0",
|
|
93
93
|
"picocolors": "^1.1.1",
|
|
94
94
|
"picomatch": "^4.0.2",
|
|
95
95
|
"pinia": "^3.0.3",
|
|
96
|
-
"prettier": "^3.
|
|
96
|
+
"prettier": "^3.6.2",
|
|
97
97
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
98
98
|
"pretty-bytes": "^7.0.0",
|
|
99
99
|
"pretty-ms": "^9.2.0",
|
|
100
100
|
"requirejs": "^2.3.7",
|
|
101
|
-
"rollup": "^4.
|
|
101
|
+
"rollup": "^4.44.1",
|
|
102
102
|
"rollup-plugin-license": "^3.6.0",
|
|
103
103
|
"rollup-plugin-string": "^3.0.0",
|
|
104
104
|
"semver": "^7.7.2",
|
|
@@ -107,13 +107,14 @@
|
|
|
107
107
|
"source-map": "^0.7.4",
|
|
108
108
|
"source-map-support": "^0.5.21",
|
|
109
109
|
"systemjs": "^6.15.1",
|
|
110
|
-
"terser": "^5.
|
|
110
|
+
"terser": "^5.43.1",
|
|
111
111
|
"tslib": "^2.8.1",
|
|
112
112
|
"typescript": "^5.8.3",
|
|
113
|
-
"typescript-eslint": "^8.
|
|
114
|
-
"vite": "^
|
|
113
|
+
"typescript-eslint": "^8.35.1",
|
|
114
|
+
"vite": "^7.0.0",
|
|
115
115
|
"vitepress": "^1.6.3",
|
|
116
|
-
"vue": "^3.5.
|
|
116
|
+
"vue": "^3.5.17",
|
|
117
|
+
"vue-eslint-parser": "^10.2.0",
|
|
117
118
|
"vue-tsc": "^2.2.10",
|
|
118
119
|
"wasm-pack": "^0.13.1",
|
|
119
120
|
"yargs-parser": "^21.1.1"
|
|
@@ -142,8 +143,8 @@
|
|
|
142
143
|
"exports": {
|
|
143
144
|
".": {
|
|
144
145
|
"types": "./dist/rollup.d.ts",
|
|
145
|
-
"
|
|
146
|
-
"
|
|
146
|
+
"import": "./dist/es/rollup.js",
|
|
147
|
+
"require": "./dist/rollup.js"
|
|
147
148
|
},
|
|
148
149
|
"./loadConfigFile": {
|
|
149
150
|
"types": "./dist/loadConfigFile.d.ts",
|
|
@@ -152,13 +153,13 @@
|
|
|
152
153
|
},
|
|
153
154
|
"./getLogFilter": {
|
|
154
155
|
"types": "./dist/getLogFilter.d.ts",
|
|
155
|
-
"
|
|
156
|
-
"
|
|
156
|
+
"import": "./dist/es/getLogFilter.js",
|
|
157
|
+
"require": "./dist/getLogFilter.js"
|
|
157
158
|
},
|
|
158
159
|
"./parseAst": {
|
|
159
160
|
"types": "./dist/parseAst.d.ts",
|
|
160
|
-
"
|
|
161
|
-
"
|
|
161
|
+
"import": "./dist/es/parseAst.js",
|
|
162
|
+
"require": "./dist/parseAst.js"
|
|
162
163
|
},
|
|
163
164
|
"./dist/*": "./dist/*",
|
|
164
165
|
"./package.json": "./package.json"
|