ericcornelissen / depreman

Manage npm deprecations
https://www.npmjs.com/package/depreman
GNU Affero General Public License v3.0
0 stars 0 forks source link

Don't allow prefixes and suffixes on `"#expiry"` dates #49

Closed ericcornelissen closed 2 weeks ago

ericcornelissen commented 2 weeks ago

Without this change depreman would consider dates such as foo2024-01-01 or 2024-01-01bar as valid. This was because the regular expression for matching dates did not use start and end anchors.