re2js 2.3.0 → 2.3.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.
@@ -2,7 +2,7 @@
2
2
  * re2js
3
3
  * RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
4
4
  *
5
- * @version v2.3.0
5
+ * @version v2.3.1
6
6
  * @author Oleksii Vasyliev
7
7
  * @homepage https://github.com/le0pard/re2js#readme
8
8
  * @repository github:le0pard/re2js
@@ -1336,10 +1336,6 @@
1336
1336
  * @author rsc@google.com (Russ Cox)
1337
1337
  */
1338
1338
 
1339
- /**
1340
- * @typedef {import('./index').RE2JS} RE2JS_Pattern
1341
- */
1342
-
1343
1339
  class Matcher {
1344
1340
  /**
1345
1341
  * Quotes '\' and '$' in {@code s}, so that the returned string could be used in
@@ -1377,8 +1373,8 @@
1377
1373
  }
1378
1374
  /**
1379
1375
  *
1380
- * @param {RE2JS_Pattern} pattern
1381
- * @param {Uint8Array|number[]|string} input
1376
+ * @param {RE2JS} pattern
1377
+ * @param {string|number[]|Uint8Array} input
1382
1378
  */
1383
1379
  constructor(pattern, input) {
1384
1380
  if (pattern === null) {
@@ -1386,7 +1382,7 @@
1386
1382
  }
1387
1383
  /**
1388
1384
  * The pattern being matched.
1389
- * @type {RE2JS_Pattern}
1385
+ * @type {RE2JS}
1390
1386
  */
1391
1387
  this.patternInput = pattern;
1392
1388
  const re2 = this.patternInput.re2();
@@ -1411,7 +1407,7 @@
1411
1407
 
1412
1408
  /**
1413
1409
  * Returns the {@code RE2JS} associated with this {@code Matcher}.
1414
- * @returns {RE2JS_Pattern}
1410
+ * @returns {RE2JS}
1415
1411
  */
1416
1412
  pattern() {
1417
1413
  return this.patternInput;
@@ -1441,7 +1437,7 @@
1441
1437
 
1442
1438
  /**
1443
1439
  * Resets the {@code Matcher} and changes the input.
1444
- * @param {import('./MatcherInput').MatcherInputBase} input
1440
+ * @param {MatcherInputBase} input
1445
1441
  * @returns {Matcher} the {@code Matcher} itself, for chained method calls
1446
1442
  */
1447
1443
  resetMatcherInput(input) {