meriyah 4.2.1 → 4.3.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.
@@ -4,7 +4,7 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.meriyah = {}));
5
5
  })(this, (function (exports) { 'use strict';
6
6
 
7
- /*! *****************************************************************************
7
+ /******************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
9
9
 
10
10
  Permission to use, copy, modify, and/or distribute this software for any
@@ -35,10 +35,14 @@
35
35
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
36
36
  }
37
37
 
38
- function __spreadArray(to, from) {
39
- for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
40
- to[j] = from[i];
41
- return to;
38
+ function __spreadArray(to, from, pack) {
39
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
40
+ if (ar || !(i in from)) {
41
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
42
+ ar[i] = from[i];
43
+ }
44
+ }
45
+ return to.concat(ar || Array.prototype.slice.call(from));
42
46
  }
43
47
 
44
48
  var _a;
@@ -234,7 +238,7 @@
234
238
  for (var _i = 2; _i < arguments.length; _i++) {
235
239
  params[_i - 2] = arguments[_i];
236
240
  }
237
- throw new (ParseError.bind.apply(ParseError, __spreadArray([void 0, parser.index, parser.line, parser.column, type], params)))();
241
+ throw new (ParseError.bind.apply(ParseError, __spreadArray([void 0, parser.index, parser.line, parser.column, type], params, false)))();
238
242
  }
239
243
  function reportScopeError(scope) {
240
244
  throw new ParseError(scope.index, scope.line, scope.column, scope.type, scope.params);
@@ -244,7 +248,7 @@
244
248
  for (var _i = 4; _i < arguments.length; _i++) {
245
249
  params[_i - 4] = arguments[_i];
246
250
  }
247
- throw new (ParseError.bind.apply(ParseError, __spreadArray([void 0, index, line, column, type], params)))();
251
+ throw new (ParseError.bind.apply(ParseError, __spreadArray([void 0, index, line, column, type], params, false)))();
248
252
  }
249
253
  function reportScannerError(index, line, column, type) {
250
254
  throw new ParseError(index, line, column, type);
@@ -923,7 +927,7 @@
923
927
  break;
924
928
  case 117:
925
929
  if (mask & 16)
926
- report(parser, 34, 'g');
930
+ report(parser, 34, 'u');
927
931
  mask |= 16;
928
932
  break;
929
933
  case 121:
@@ -936,6 +940,11 @@
936
940
  report(parser, 34, 's');
937
941
  mask |= 32;
938
942
  break;
943
+ case 100:
944
+ if (mask & 64)
945
+ report(parser, 34, 'd');
946
+ mask |= 64;
947
+ break;
939
948
  default:
940
949
  report(parser, 33);
941
950
  }
@@ -954,7 +963,13 @@
954
963
  return new RegExp(pattern, flags);
955
964
  }
956
965
  catch (e) {
957
- report(parser, 32);
966
+ try {
967
+ new RegExp(pattern, flags.replace('d', ''));
968
+ return null;
969
+ }
970
+ catch (e) {
971
+ report(parser, 32);
972
+ }
958
973
  }
959
974
  }
960
975
 
@@ -1265,8 +1280,8 @@
1265
1280
  digits++;
1266
1281
  char = advanceChar(parser);
1267
1282
  }
1268
- if (digits < 1 || !allowSeparator) {
1269
- report(parser, digits < 1 ? 19 : 147);
1283
+ if (digits === 0 || !allowSeparator) {
1284
+ report(parser, digits === 0 ? 19 : 147);
1270
1285
  }
1271
1286
  }
1272
1287
  else if ((char | 32) === 111) {
@@ -1286,8 +1301,8 @@
1286
1301
  digits++;
1287
1302
  char = advanceChar(parser);
1288
1303
  }
1289
- if (digits < 1 || !allowSeparator) {
1290
- report(parser, digits < 1 ? 0 : 147);
1304
+ if (digits === 0 || !allowSeparator) {
1305
+ report(parser, digits === 0 ? 0 : 147);
1291
1306
  }
1292
1307
  }
1293
1308
  else if ((char | 32) === 98) {
@@ -1307,8 +1322,8 @@
1307
1322
  digits++;
1308
1323
  char = advanceChar(parser);
1309
1324
  }
1310
- if (digits < 1 || !allowSeparator) {
1311
- report(parser, digits < 1 ? 0 : 147);
1325
+ if (digits === 0 || !allowSeparator) {
1326
+ report(parser, digits === 0 ? 0 : 147);
1312
1327
  }
1313
1328
  }
1314
1329
  else if (CharTypes[char] & 32) {
@@ -1384,7 +1399,7 @@
1384
1399
  if (CharTypes[char] & 256)
1385
1400
  char = advanceChar(parser);
1386
1401
  var index = parser.index;
1387
- if ((CharTypes[char] & 16) < 1)
1402
+ if ((CharTypes[char] & 16) === 0)
1388
1403
  report(parser, 10);
1389
1404
  value += parser.source.substring(end, index) + scanDecimalDigitsOrSeparator(parser, char);
1390
1405
  char = parser.currentChar;
@@ -1865,7 +1880,7 @@
1865
1880
  return 8456258;
1866
1881
  }
1867
1882
  if (ch === 47) {
1868
- if ((context & 16) < 1)
1883
+ if ((context & 16) === 0)
1869
1884
  return 8456258;
1870
1885
  var index = parser.index + 1;
1871
1886
  if (index < parser.end) {
@@ -4975,7 +4990,7 @@
4975
4990
  case 86106:
4976
4991
  report(parser, context & 1024
4977
4992
  ? 73
4978
- : (context & 256) < 1
4993
+ : (context & 256) === 0
4979
4994
  ? 75
4980
4995
  : 74);
4981
4996
  case 86096:
@@ -5021,7 +5036,7 @@
5021
5036
  });
5022
5037
  }
5023
5038
  function parseReturnStatement(parser, context, start, line, column) {
5024
- if ((context & 32) < 1 && context & 8192)
5039
+ if ((context & 32) === 0 && context & 8192)
5025
5040
  report(parser, 89);
5026
5041
  nextToken(parser, context | 32768);
5027
5042
  var argument = parser.flags & 1 || parser.token & 1048576
@@ -5045,7 +5060,7 @@
5045
5060
  validateAndDeclareLabel(parser, labels, value);
5046
5061
  nextToken(parser, context | 32768);
5047
5062
  var body = allowFuncDecl &&
5048
- (context & 1024) < 1 &&
5063
+ (context & 1024) === 0 &&
5049
5064
  context & 256 &&
5050
5065
  parser.token === 86106
5051
5066
  ? parseFunctionDeclaration(parser, context, addChildScope(scope, 2), origin, 0, 0, 0, parser.tokenPos, parser.linePos, parser.colPos)
@@ -5154,7 +5169,7 @@
5154
5169
  }
5155
5170
  function parseConsequentOrAlternative(parser, context, scope, labels, start, line, column) {
5156
5171
  return context & 1024 ||
5157
- (context & 256) < 1 ||
5172
+ (context & 256) === 0 ||
5158
5173
  parser.token !== 86106
5159
5174
  ? parseStatement(parser, context, scope, 0, { $: labels }, 0, parser.tokenPos, parser.linePos, parser.colPos)
5160
5175
  : parseFunctionDeclaration(parser, context, addChildScope(scope, 2), 0, 0, 0, 0, start, line, column);
@@ -5219,11 +5234,11 @@
5219
5234
  return parseStatement(parser, ((context | 134217728) ^ 134217728) | 131072, scope, 0, { loop: 1, $: labels }, 0, parser.tokenPos, parser.linePos, parser.colPos);
5220
5235
  }
5221
5236
  function parseContinueStatement(parser, context, labels, start, line, column) {
5222
- if ((context & 131072) < 1)
5237
+ if ((context & 131072) === 0)
5223
5238
  report(parser, 65);
5224
5239
  nextToken(parser, context);
5225
5240
  var label = null;
5226
- if ((parser.flags & 1) < 1 && parser.token & 143360) {
5241
+ if ((parser.flags & 1) === 0 && parser.token & 143360) {
5227
5242
  var tokenValue = parser.tokenValue;
5228
5243
  label = parseIdentifier(parser, context | 32768, 0);
5229
5244
  if (!isValidLabel(parser, labels, tokenValue, 1))
@@ -5238,13 +5253,13 @@
5238
5253
  function parseBreakStatement(parser, context, labels, start, line, column) {
5239
5254
  nextToken(parser, context | 32768);
5240
5255
  var label = null;
5241
- if ((parser.flags & 1) < 1 && parser.token & 143360) {
5256
+ if ((parser.flags & 1) === 0 && parser.token & 143360) {
5242
5257
  var tokenValue = parser.tokenValue;
5243
5258
  label = parseIdentifier(parser, context | 32768, 0);
5244
5259
  if (!isValidLabel(parser, labels, tokenValue, 0))
5245
5260
  report(parser, 134, tokenValue);
5246
5261
  }
5247
- else if ((context & (4096 | 131072)) < 1) {
5262
+ else if ((context & (4096 | 131072)) === 0) {
5248
5263
  report(parser, 66);
5249
5264
  }
5250
5265
  matchOrInsertSemicolon(parser, context | 32768);
@@ -5324,6 +5339,17 @@
5324
5339
  body: body
5325
5340
  });
5326
5341
  }
5342
+ function parseStaticBlock(parser, context, scope, start, line, column) {
5343
+ if (scope)
5344
+ scope = addChildScope(scope, 2);
5345
+ var ctorContext = 16384 | 524288;
5346
+ context = ((context | ctorContext) ^ ctorContext) | 262144;
5347
+ var body = parseBlock(parser, context, scope, {}, start, line, column).body;
5348
+ return finishNode(parser, context, start, line, column, {
5349
+ type: 'StaticBlock',
5350
+ body: body
5351
+ });
5352
+ }
5327
5353
  function parseDoWhileStatement(parser, context, scope, labels, start, line, column) {
5328
5354
  nextToken(parser, context | 32768);
5329
5355
  var body = parseIterationStatementBody(parser, context, scope, labels);
@@ -5411,10 +5437,10 @@
5411
5437
  if (parser.token === 1077936157) {
5412
5438
  nextToken(parser, context | 32768);
5413
5439
  init = parseExpression(parser, context, 1, 0, 0, parser.tokenPos, parser.linePos, parser.colPos);
5414
- if (origin & 32 || (token & 2097152) < 1) {
5440
+ if (origin & 32 || (token & 2097152) === 0) {
5415
5441
  if (parser.token === 274549 ||
5416
5442
  (parser.token === 8738868 &&
5417
- (token & 2097152 || (kind & 4) < 1 || context & 1024))) {
5443
+ (token & 2097152 || (kind & 4) === 0 || context & 1024))) {
5418
5444
  reportMessageAt(tokenPos, parser.line, parser.index - 3, 57, parser.token === 274549 ? 'of' : 'in');
5419
5445
  }
5420
5446
  }
@@ -5431,7 +5457,8 @@
5431
5457
  }
5432
5458
  function parseForStatement(parser, context, scope, labels, start, line, column) {
5433
5459
  nextToken(parser, context);
5434
- var forAwait = (context & 4194304) > 0 && consumeOpt(parser, context, 209008);
5460
+ var forAwait = ((context & 4194304) > 0 || ((context & 2048) > 0 && (context & 8192) > 0)) &&
5461
+ consumeOpt(parser, context, 209008);
5435
5462
  consume(parser, context | 32768, 67174411);
5436
5463
  if (scope)
5437
5464
  scope = addChildScope(scope, 1);
@@ -5720,7 +5747,7 @@
5720
5747
  var tokenPos = parser.tokenPos, linePos = parser.linePos, colPos = parser.colPos;
5721
5748
  declaration = parseIdentifier(parser, context, 0);
5722
5749
  var flags = parser.flags;
5723
- if ((flags & 1) < 1) {
5750
+ if ((flags & 1) === 0) {
5724
5751
  if (parser.token === 86106) {
5725
5752
  declaration = parseFunctionDeclaration(parser, context, scope, 4, 1, 1, 1, tokenPos, linePos, colPos);
5726
5753
  }
@@ -5844,7 +5871,7 @@
5844
5871
  case 209007:
5845
5872
  var tokenPos = parser.tokenPos, linePos = parser.linePos, colPos = parser.colPos;
5846
5873
  nextToken(parser, context);
5847
- if ((parser.flags & 1) < 1 && parser.token === 86106) {
5874
+ if ((parser.flags & 1) === 0 && parser.token === 86106) {
5848
5875
  declaration = parseFunctionDeclaration(parser, context, scope, 4, 1, 2, 1, tokenPos, linePos, colPos);
5849
5876
  if (scope) {
5850
5877
  key = declaration.id ? declaration.id.name : '';
@@ -6001,7 +6028,7 @@
6001
6028
  var token = parser.token;
6002
6029
  var expr = parseIdentifier(parser, context, isPattern);
6003
6030
  var flags = parser.flags;
6004
- if ((flags & 1) < 1) {
6031
+ if ((flags & 1) === 0) {
6005
6032
  if (parser.token === 86106) {
6006
6033
  return parseFunctionExpression(parser, context, 1, inGroup, start, line, column);
6007
6034
  }
@@ -6035,7 +6062,7 @@
6035
6062
  report(parser, 120);
6036
6063
  var argument = null;
6037
6064
  var delegate = false;
6038
- if ((parser.flags & 1) < 1) {
6065
+ if ((parser.flags & 1) === 0) {
6039
6066
  delegate = consumeOpt(parser, context | 32768, 8457014);
6040
6067
  if (parser.token & (12288 | 65536) || delegate) {
6041
6068
  argument = parseExpression(parser, context, 1, 0, 0, parser.tokenPos, parser.linePos, parser.colPos);
@@ -6112,8 +6139,8 @@
6112
6139
  if (context & 64 &&
6113
6140
  scope &&
6114
6141
  scopeError !== void 0 &&
6115
- (prevContext & 1024) < 1 &&
6116
- (context & 8192) < 1) {
6142
+ (prevContext & 1024) === 0 &&
6143
+ (context & 8192) === 0) {
6117
6144
  reportScopeError(scopeError);
6118
6145
  }
6119
6146
  }
@@ -6139,7 +6166,7 @@
6139
6166
  case 67108991:
6140
6167
  report(parser, 161);
6141
6168
  case 67174411: {
6142
- if ((context & 524288) < 1)
6169
+ if ((context & 524288) === 0)
6143
6170
  report(parser, 26);
6144
6171
  if (context & 16384)
6145
6172
  report(parser, 27);
@@ -6148,7 +6175,7 @@
6148
6175
  }
6149
6176
  case 69271571:
6150
6177
  case 67108877: {
6151
- if ((context & 262144) < 1)
6178
+ if ((context & 262144) === 0)
6152
6179
  report(parser, 27);
6153
6180
  if (context & 16384)
6154
6181
  report(parser, 27);
@@ -6178,7 +6205,7 @@
6178
6205
  });
6179
6206
  }
6180
6207
  function parseMemberOrUpdateExpression(parser, context, expr, inGroup, inChain, start, line, column) {
6181
- if ((parser.token & 33619968) === 33619968 && (parser.flags & 1) < 1) {
6208
+ if ((parser.token & 33619968) === 33619968 && (parser.flags & 1) === 0) {
6182
6209
  expr = parseUpdateExpression(parser, context, expr, start, line, column);
6183
6210
  }
6184
6211
  else if ((parser.token & 67108864) === 67108864) {
@@ -6305,7 +6332,7 @@
6305
6332
  });
6306
6333
  }
6307
6334
  else {
6308
- if ((parser.token & (143360 | 4096)) < 1)
6335
+ if ((parser.token & (143360 | 4096)) === 0)
6309
6336
  report(parser, 154);
6310
6337
  var property = parseIdentifier(parser, context, 0);
6311
6338
  parser.assignable = 2;
@@ -6323,7 +6350,7 @@
6323
6350
  return node;
6324
6351
  }
6325
6352
  function parsePropertyOrPrivatePropertyName(parser, context) {
6326
- if ((parser.token & (143360 | 4096)) < 1 && parser.token !== 131) {
6353
+ if ((parser.token & (143360 | 4096)) === 0 && parser.token !== 131) {
6327
6354
  report(parser, 154);
6328
6355
  }
6329
6356
  return context & 1 && parser.token === 131
@@ -6648,11 +6675,11 @@
6648
6675
  var firstRestricted;
6649
6676
  var functionScope = scope ? createScope() : void 0;
6650
6677
  if (parser.token === 67174411) {
6651
- if ((flags & 1) < 1)
6678
+ if ((flags & 1) === 0)
6652
6679
  report(parser, 37, 'Function');
6653
6680
  }
6654
6681
  else {
6655
- var kind = origin & 4 && ((context & 8192) < 1 || (context & 2048) < 1)
6682
+ var kind = origin & 4 && ((context & 8192) === 0 || (context & 2048) === 0)
6656
6683
  ? 4
6657
6684
  : 64;
6658
6685
  validateFunctionName(parser, context | ((context & 3072) << 11), parser.token);
@@ -6798,7 +6825,7 @@
6798
6825
  destructible |=
6799
6826
  kind & 1
6800
6827
  ? 32
6801
- : (kind & 2) < 1
6828
+ : (kind & 2) === 0
6802
6829
  ? 16
6803
6830
  : 0;
6804
6831
  left = parseMemberOrUpdateExpression(parser, context, left, inGroup, 0, tokenPos, linePos, colPos);
@@ -6857,7 +6884,7 @@
6857
6884
  left = parseLeftHandSideExpression(parser, context, 1, 0, 1, tokenPos, linePos, colPos);
6858
6885
  if (parser.token !== 18 && parser.token !== 20) {
6859
6886
  left = parseAssignmentExpression(parser, context, inGroup, isPattern, tokenPos, linePos, colPos, left);
6860
- if ((kind & (2 | 1)) < 1 && token === 67174411)
6887
+ if ((kind & (2 | 1)) === 0 && token === 67174411)
6861
6888
  destructible |= 16;
6862
6889
  }
6863
6890
  else if (parser.assignable & 2) {
@@ -7046,7 +7073,7 @@
7046
7073
  });
7047
7074
  }
7048
7075
  function parseMethodDefinition(parser, context, kind, inGroup, start, line, column) {
7049
- var modifierFlags = (kind & 64) < 1 ? 31981568 : 14680064;
7076
+ var modifierFlags = (kind & 64) === 0 ? 31981568 : 14680064;
7050
7077
  context =
7051
7078
  ((context | modifierFlags) ^ modifierFlags) |
7052
7079
  ((kind & 88) << 18) |
@@ -7614,7 +7641,7 @@
7614
7641
  var left = null;
7615
7642
  var tokenPos = parser.tokenPos, linePos = parser.linePos, colPos = parser.colPos;
7616
7643
  if (parser.token & 143360) {
7617
- if ((context & 1024) < 1) {
7644
+ if ((context & 1024) === 0) {
7618
7645
  if ((parser.token & 36864) === 36864) {
7619
7646
  parser.flags |= 256;
7620
7647
  }
@@ -7875,7 +7902,7 @@
7875
7902
  (134221824 | 8192 | 16384), scope, 16, void 0, void 0);
7876
7903
  switch (parser.token) {
7877
7904
  case 69271571:
7878
- if ((parser.flags & 1) < 1) {
7905
+ if ((parser.flags & 1) === 0) {
7879
7906
  report(parser, 112);
7880
7907
  }
7881
7908
  break;
@@ -7884,13 +7911,13 @@
7884
7911
  case 22:
7885
7912
  report(parser, 113);
7886
7913
  case 67174411:
7887
- if ((parser.flags & 1) < 1) {
7914
+ if ((parser.flags & 1) === 0) {
7888
7915
  report(parser, 112);
7889
7916
  }
7890
7917
  parser.flags |= 1024;
7891
7918
  break;
7892
7919
  }
7893
- if ((parser.token & 8454144) === 8454144 && (parser.flags & 1) < 1)
7920
+ if ((parser.token & 8454144) === 8454144 && (parser.flags & 1) === 0)
7894
7921
  report(parser, 28, KeywordDescTable[parser.token & 255]);
7895
7922
  if ((parser.token & 33619968) === 33619968)
7896
7923
  report(parser, 121);
@@ -7916,7 +7943,7 @@
7916
7943
  var left = void 0;
7917
7944
  var tokenPos = parser.tokenPos, linePos = parser.linePos, colPos = parser.colPos;
7918
7945
  if (parser.token & 143360) {
7919
- if ((context & 1024) < 1) {
7946
+ if ((context & 1024) === 0) {
7920
7947
  if ((parser.token & 36864) === 36864) {
7921
7948
  parser.flags |= 256;
7922
7949
  }
@@ -8237,7 +8264,7 @@
8237
8264
  id = parseIdentifier(parser, context, 0);
8238
8265
  }
8239
8266
  else {
8240
- if ((flags & 1) < 1)
8267
+ if ((flags & 1) === 0)
8241
8268
  report(parser, 37, 'Class');
8242
8269
  }
8243
8270
  var inheritedContext = context;
@@ -8368,7 +8395,7 @@
8368
8395
  }
8369
8396
  break;
8370
8397
  case 209007:
8371
- if (parser.token !== 67174411 && (parser.flags & 1) < 1) {
8398
+ if (parser.token !== 67174411 && (parser.flags & 1) === 0) {
8372
8399
  if (context & 1 && (parser.token & 1073741824) === 1073741824) {
8373
8400
  return parsePropertyDefinition(parser, context, key, kind, decorators, tokenPos, linePos, colPos);
8374
8401
  }
@@ -8411,6 +8438,9 @@
8411
8438
  else if (context & 1 && (parser.token & 1073741824) === 1073741824) {
8412
8439
  kind |= 128;
8413
8440
  }
8441
+ else if (isStatic && token === 2162700) {
8442
+ return parseStaticBlock(parser, context, scope, tokenPos, linePos, colPos);
8443
+ }
8414
8444
  else if (token === 122) {
8415
8445
  key = parseIdentifier(parser, context, 0);
8416
8446
  if (parser.token !== 67174411)
@@ -8440,16 +8470,16 @@
8440
8470
  else
8441
8471
  report(parser, 131);
8442
8472
  }
8443
- if ((kind & 2) < 1) {
8473
+ if ((kind & 2) === 0) {
8444
8474
  if (parser.tokenValue === 'constructor') {
8445
8475
  if ((parser.token & 1073741824) === 1073741824) {
8446
8476
  report(parser, 125);
8447
8477
  }
8448
- else if ((kind & 32) < 1 && parser.token === 67174411) {
8478
+ else if ((kind & 32) === 0 && parser.token === 67174411) {
8449
8479
  if (kind & (768 | 16 | 128 | 8)) {
8450
8480
  report(parser, 50, 'accessor');
8451
8481
  }
8452
- else if ((context & 524288) < 1) {
8482
+ else if ((context & 524288) === 0) {
8453
8483
  if (parser.flags & 32)
8454
8484
  report(parser, 51);
8455
8485
  else
@@ -8458,7 +8488,7 @@
8458
8488
  }
8459
8489
  kind |= 64;
8460
8490
  }
8461
- else if ((kind & 4096) < 1 &&
8491
+ else if ((kind & 4096) === 0 &&
8462
8492
  kind & (32 | 768 | 8 | 16) &&
8463
8493
  parser.tokenValue === 'prototype') {
8464
8494
  report(parser, 49);
@@ -8471,7 +8501,7 @@
8471
8501
  return finishNode(parser, context, start, line, column, context & 1
8472
8502
  ? {
8473
8503
  type: 'MethodDefinition',
8474
- kind: (kind & 32) < 1 && kind & 64
8504
+ kind: (kind & 32) === 0 && kind & 64
8475
8505
  ? 'constructor'
8476
8506
  : kind & 256
8477
8507
  ? 'get'
@@ -8486,7 +8516,7 @@
8486
8516
  }
8487
8517
  : {
8488
8518
  type: 'MethodDefinition',
8489
- kind: (kind & 32) < 1 && kind & 64
8519
+ kind: (kind & 32) === 0 && kind & 64
8490
8520
  ? 'constructor'
8491
8521
  : kind & 256
8492
8522
  ? 'get'
@@ -8829,7 +8859,7 @@
8829
8859
  __proto__: null
8830
8860
  });
8831
8861
 
8832
- var version$1 = "4.2.1";
8862
+ var version$1 = "4.3.0";
8833
8863
 
8834
8864
  var version = version$1;
8835
8865
  function parseScript(source, options) {