literate-regex 0.6.1 → 0.6.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/README.md +0 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/types/regex.d.ts +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|

|
|
4
4
|

|
|
5
5
|

|
|
6
|
-

|
|
7
6
|
|
|
8
7
|
# literate-regex
|
|
9
8
|
|
package/dist/cjs/index.js
CHANGED
package/dist/esm/index.mjs
CHANGED
package/dist/types/regex.d.ts
CHANGED
|
@@ -60,6 +60,14 @@ export type TypedRegExp<P extends string, F extends string = ""> = RegExp & {
|
|
|
60
60
|
readonly flags: F;
|
|
61
61
|
} & TypedRegExpBrand & {
|
|
62
62
|
types: TypedRegExpTypes<TypedRegExp<P, F>>;
|
|
63
|
+
global: HasStrictRegExpFlag<F, "g">;
|
|
64
|
+
dotAll: HasStrictRegExpFlag<F, "s">;
|
|
65
|
+
hasIndices: HasStrictRegExpFlag<F, "d">;
|
|
66
|
+
ignoreCase: HasStrictRegExpFlag<F, "i">;
|
|
67
|
+
multiline: HasStrictRegExpFlag<F, "m">;
|
|
68
|
+
sticky: HasStrictRegExpFlag<F, "y">;
|
|
69
|
+
unicode: HasStrictRegExpFlag<F, "u">;
|
|
70
|
+
unicodeSets: HasStrictRegExpFlag<F, "v">;
|
|
63
71
|
};
|
|
64
72
|
/**
|
|
65
73
|
* Extracts the literal type from the source property of a RegExp.
|
package/package.json
CHANGED