rregex 1.10.0 → 1.10.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.
package/lib/browser.d.ts CHANGED
@@ -694,7 +694,7 @@ export class RRegex {
694
694
  *
695
695
  * @see https://docs.rs/regex/latest/regex/struct.Regex.html#method.capture_names
696
696
  */
697
- captureNames(): string[];
697
+ captureNames(): (string | null)[];
698
698
  /**
699
699
  * Returns the capture groups corresponding to the leftmost-first
700
700
  * match in `text`. Capture group `0` always corresponds to the entire
package/lib/commonjs.d.ts CHANGED
@@ -694,7 +694,7 @@ export class RRegex {
694
694
  *
695
695
  * @see https://docs.rs/regex/latest/regex/struct.Regex.html#method.capture_names
696
696
  */
697
- captureNames(): string[];
697
+ captureNames(): (string | null)[];
698
698
  /**
699
699
  * Returns the capture groups corresponding to the leftmost-first
700
700
  * match in `text`. Capture group `0` always corresponds to the entire
package/lib/module.d.ts CHANGED
@@ -694,7 +694,7 @@ export class RRegex {
694
694
  *
695
695
  * @see https://docs.rs/regex/latest/regex/struct.Regex.html#method.capture_names
696
696
  */
697
- captureNames(): string[];
697
+ captureNames(): (string | null)[];
698
698
  /**
699
699
  * Returns the capture groups corresponding to the leftmost-first
700
700
  * match in `text`. Capture group `0` always corresponds to the entire
package/lib/rregex.wasm CHANGED
Binary file
package/lib/types.d.ts CHANGED
@@ -694,7 +694,7 @@ export class RRegex {
694
694
  *
695
695
  * @see https://docs.rs/regex/latest/regex/struct.Regex.html#method.capture_names
696
696
  */
697
- captureNames(): string[];
697
+ captureNames(): (string | null)[];
698
698
  /**
699
699
  * Returns the capture groups corresponding to the leftmost-first
700
700
  * match in `text`. Capture group `0` always corresponds to the entire
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rregex",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Rust Regex binding for Javascript",
5
5
  "private": false,
6
6
  "main": "./lib/commonjs.js",