Releases: unjs/magic-regexp
Releases · unjs/magic-regexp
v0.4.0
0.4.0 (2022-07-25)
🎉 Massive thanks to @didavid61202 for lots of great contributions in this release! 🎉
⚠ BREAKING CHANGES
- do not create wrap single chars in parentheses (#27)
word
has been renamed to wordChar
Features
- add
wordBoundary
helper input (#20) (040c940)
- add chained input
and.referenceToGroup
(#21) (a18fccb)
- do not create wrap single chars in parentheses (#27) (a02645b)
- types: respect global flag for .match and .matchAll types (#29) (2211a83)
- update
IfSingle
and wrap
to not wrap wrapped input (#33) (cd233ab)
Bug Fixes
- order of generic types for param of
createInput
(#31) (545d725)
- rename
word
to wordChar
and add semantic word
helper (#23) (033ee5c)
- types: include flags in generated RegExp type (c78c4e1)
- types: infer group names from param with
Input
type (#32) (6131ac6)
v0.3.0
0.3.0 (2022-07-20)
Features
- support string/Set as flags from
createRegExp
(231dfa1)
Bug Fixes
- transform: add cjs stub for compatibility (07a6ff7), closes #11
v0.2.3
0.2.3 (2022-07-18)
Features
- types: add
MagicRegExpMatchArray
utility type (#12) (97cb27a)
v0.2.2
0.2.2 (2022-07-18)
Features
- expose flags as literal types (0c7bec7)
Bug Fixes
- types: escape generated types for
anyOf
(0be9fb3)
v0.2.1
0.2.1 (2022-07-17)
Bug Fixes
- correctly merge group generics for
.and
and .or
(b2b7876)
v0.2.0
0.2.0 (2022-07-17)
Features
- display built regexp in TS tooltip (#6) (051e219)
v0.1.0
0.1.0 (2022-07-17)
Features
- add
optionally
, oneOrMore
and times.any
and times.atLeast
(0484b31)
- add strong typing for
String.matchAll
(5a652b8)
v0.0.4
0.0.4 (2022-07-17)
Bug Fixes
- add type stub for transform plugin (edfe945)
v0.0.3
0.0.3 (2022-07-16)
Bug Fixes
- transform: don't parse vue template blocks (095ed0a)
v0.0.2
0.0.2 (2022-07-16)
Bug Fixes
- transform: use
mlly
to respect how users import lib (199da7e)