nox-validation 1.5.8 → 1.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/validate.js +3 -1
  2. package/package.json +1 -1
package/lib/validate.js CHANGED
@@ -652,7 +652,9 @@ const validateOperatorRule = (
652
652
 
653
653
  const isNumber = field.type === constants.types.NUMBER;
654
654
  const isDate = field.type === constants.types.DATE || field.type === "date";
655
- const isDateTime = field.type === constants.types.DATE_TIME;
655
+ const isDateTime =
656
+ field.type === constants.types.DATE_TIME ||
657
+ field.type === constants.types.TIMESTAMP;
656
658
  const isTime = field.type === constants.types.TIME;
657
659
  const isArray = field.type === constants.types.ARRAY;
658
660
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nox-validation",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "validate dynamic schema",
5
5
  "main": "index.js",
6
6
  "scripts": {