primer cambio

This commit is contained in:
beseira13
2026-01-19 12:12:38 -03:00
parent 5f59dba52d
commit 44990f015a
4759 changed files with 588702 additions and 0 deletions

9
node_modules/validator/es/lib/isBefore.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
import assertString from './util/assertString';
import toDate from './toDate';
export default function isBefore(str) {
var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date());
assertString(str);
var comparison = toDate(date);
var original = toDate(str);
return !!(original && comparison && original < comparison);
}