@rollup/wasm-node 4.63.0 → 4.63.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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1198,9 +1198,33 @@ function requireParse$2 () {
1198
1198
  };
1199
1199
 
1200
1200
  const extglobClose = token => {
1201
- input.slice(token.startIndex, state.index + 1);
1201
+ const literal = input.slice(token.startIndex, state.index + 1);
1202
1202
  const body = input.slice(token.startIndex + 2, state.index);
1203
- analyzeRepeatedExtglob(body, opts);
1203
+ const analysis = analyzeRepeatedExtglob(body, opts);
1204
+
1205
+ if ((token.type === 'plus' || token.type === 'star') && analysis.risky) {
1206
+ const safeOutput = analysis.safeOutput
1207
+ ? (token.output ? '' : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput)
1208
+ : undefined;
1209
+ const open = tokens[token.tokensIndex];
1210
+
1211
+ open.type = 'text';
1212
+ open.value = literal;
1213
+ open.output = safeOutput || utils.escapeRegex(literal);
1214
+
1215
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
1216
+ tokens[i].value = '';
1217
+ tokens[i].output = '';
1218
+ delete tokens[i].suffix;
1219
+ }
1220
+
1221
+ state.output = token.output + open.output;
1222
+ state.backtrack = true;
1223
+
1224
+ push({ type: 'paren', extglob: true, value, output: '' });
1225
+ decrement('parens');
1226
+ return;
1227
+ }
1204
1228
 
1205
1229
  let output = token.close + (opts.capture ? ')' : '');
1206
1230
  let rest;
@@ -3891,9 +3915,33 @@ function requireParse$1 () {
3891
3915
  };
3892
3916
 
3893
3917
  const extglobClose = token => {
3894
- input.slice(token.startIndex, state.index + 1);
3918
+ const literal = input.slice(token.startIndex, state.index + 1);
3895
3919
  const body = input.slice(token.startIndex + 2, state.index);
3896
- analyzeRepeatedExtglob(body, opts);
3920
+ const analysis = analyzeRepeatedExtglob(body, opts);
3921
+
3922
+ if ((token.type === 'plus' || token.type === 'star') && analysis.risky) {
3923
+ const safeOutput = analysis.safeOutput
3924
+ ? (token.output ? '' : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput)
3925
+ : undefined;
3926
+ const open = tokens[token.tokensIndex];
3927
+
3928
+ open.type = 'text';
3929
+ open.value = literal;
3930
+ open.output = safeOutput || utils.escapeRegex(literal);
3931
+
3932
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
3933
+ tokens[i].value = '';
3934
+ tokens[i].output = '';
3935
+ delete tokens[i].suffix;
3936
+ }
3937
+
3938
+ state.output = token.output + open.output;
3939
+ state.backtrack = true;
3940
+
3941
+ push({ type: 'paren', extglob: true, value, output: '' });
3942
+ decrement('parens');
3943
+ return;
3944
+ }
3897
3945
 
3898
3946
  let output = token.close + (opts.capture ? ')' : '');
3899
3947
  let rest;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
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.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
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.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1194,9 +1194,33 @@ function requireParse$2 () {
1194
1194
  };
1195
1195
 
1196
1196
  const extglobClose = token => {
1197
- input.slice(token.startIndex, state.index + 1);
1197
+ const literal = input.slice(token.startIndex, state.index + 1);
1198
1198
  const body = input.slice(token.startIndex + 2, state.index);
1199
- analyzeRepeatedExtglob(body, opts);
1199
+ const analysis = analyzeRepeatedExtglob(body, opts);
1200
+
1201
+ if ((token.type === 'plus' || token.type === 'star') && analysis.risky) {
1202
+ const safeOutput = analysis.safeOutput
1203
+ ? (token.output ? '' : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput)
1204
+ : undefined;
1205
+ const open = tokens[token.tokensIndex];
1206
+
1207
+ open.type = 'text';
1208
+ open.value = literal;
1209
+ open.output = safeOutput || utils.escapeRegex(literal);
1210
+
1211
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
1212
+ tokens[i].value = '';
1213
+ tokens[i].output = '';
1214
+ delete tokens[i].suffix;
1215
+ }
1216
+
1217
+ state.output = token.output + open.output;
1218
+ state.backtrack = true;
1219
+
1220
+ push({ type: 'paren', extglob: true, value, output: '' });
1221
+ decrement('parens');
1222
+ return;
1223
+ }
1200
1224
 
1201
1225
  let output = token.close + (opts.capture ? ')' : '');
1202
1226
  let rest;
@@ -3887,9 +3911,33 @@ function requireParse$1 () {
3887
3911
  };
3888
3912
 
3889
3913
  const extglobClose = token => {
3890
- input.slice(token.startIndex, state.index + 1);
3914
+ const literal = input.slice(token.startIndex, state.index + 1);
3891
3915
  const body = input.slice(token.startIndex + 2, state.index);
3892
- analyzeRepeatedExtglob(body, opts);
3916
+ const analysis = analyzeRepeatedExtglob(body, opts);
3917
+
3918
+ if ((token.type === 'plus' || token.type === 'star') && analysis.risky) {
3919
+ const safeOutput = analysis.safeOutput
3920
+ ? (token.output ? '' : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput)
3921
+ : undefined;
3922
+ const open = tokens[token.tokensIndex];
3923
+
3924
+ open.type = 'text';
3925
+ open.value = literal;
3926
+ open.output = safeOutput || utils.escapeRegex(literal);
3927
+
3928
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++) {
3929
+ tokens[i].value = '';
3930
+ tokens[i].output = '';
3931
+ delete tokens[i].suffix;
3932
+ }
3933
+
3934
+ state.output = token.output + open.output;
3935
+ state.backtrack = true;
3936
+
3937
+ push({ type: 'paren', extglob: true, value, output: '' });
3938
+ decrement('parens');
3939
+ return;
3940
+ }
3893
3941
 
3894
3942
  let output = token.close + (opts.capture ? ')' : '');
3895
3943
  let rest;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.63.0
4
- Tue, 25 Aug 2026 13:03:35 GMT - commit 34b8b924c815ec9413d7821f6fd54cc615584a51
3
+ Rollup.js v4.63.1
4
+ Fri, 28 Aug 2026 05:58:50 GMT - commit 78bfef0cb94479566f81012fafa372c84b90bd34
5
5
 
6
6
  https://github.com/rollup/rollup
7
7