@adguard/agtree 2.1.0 → 2.1.2

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/dist/agtree.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * AGTree v2.1.0 (build date: Wed, 18 Sep 2024 16:01:40 GMT)
2
+ * AGTree v2.1.2 (build date: Thu, 19 Sep 2024 15:44:40 GMT)
3
3
  * (c) 2024 Adguard Software Ltd.
4
4
  * Released under the MIT license
5
5
  * https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/agtree#readme
@@ -3415,9 +3415,12 @@ declare const SPECIAL_REGEX_SYMBOLS: Set<string>;
3415
3415
  */
3416
3416
  declare class RegExpUtils {
3417
3417
  /**
3418
- * Checks whether a string is a RegExp pattern.
3418
+ * Checks whether a string possibly is a RegExp pattern.
3419
3419
  * Flags are not supported.
3420
3420
  *
3421
+ * Note: it does not perform a full validation of the pattern,
3422
+ * it just checks if the string starts and ends with a slash.
3423
+ *
3421
3424
  * @param pattern - Pattern to check
3422
3425
  * @returns `true` if the string is a RegExp pattern, `false` otherwise
3423
3426
  */