validatorjs
validatorjs copied to clipboard
NPM Version 3.13.3
I am trying to pull down the latest NPM (3.13.3) due to the bug in the rules.js for Month (date not valid for value: 2017-10-31).
When I pull this down, I'm expecting to get the latest version, with the fix. https://github.com/skaterdav85/validatorjs/commit/96796f5bb0248bb7d180e3f761f9a097cafeb082
However, the code does not include the latest fix? I have also noticed that there is no tag or version for 3.13.3.
NOTE: I have tried to test this on the NPM RunKit and get the same issue.
var validation = new validatorjs({
dateofbirth: '2017-10-31'
}, {
dateofbirth: 'required|date'
});
validation.passes();
validation.errors.get('dateofbirth');
Array (1 item) 0: "The dateofbirth is not a valid date format" length: 1
@gpltaylor This is a known issue and will be addressed soon (will be addressing this and other issues over the weekend)
Thank you