ericcornelissen / depreman

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

Validate expiry dates are valid dates #47

Open ericcornelissen opened 2 weeks ago

ericcornelissen commented 2 weeks ago

Relates to 1bdd3fddae2395c3b0ef9c580dae35e618af571f

Make sure that "#expire" dates in the configuration are valid. Currently you can write something nonsensical like 2025-13-32 and it won't complain.

One place to make sure of this is in the constructor of the DepremanDate class.