norwegian-national-id-validator
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -118,3 +118,3 @@ "use strict"; | ||
var fullYear = "" + centuryPrefix + YY; | ||
var isoStr = [fullYear, MM, DD].join('-'); | ||
var isoStr = [fullYear, MM, DD].join('-') + 'T00:00:00'; | ||
var birthDate = new Date(isoStr); | ||
@@ -121,0 +121,0 @@ if (!isValidDate(birthDate, fullYear, MM, DD)) { |
{ | ||
"name": "norwegian-national-id-validator", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Validate norwegian national identity numbers", | ||
@@ -35,2 +35,3 @@ "main": "dist/index.js", | ||
"mockdate": "^2.0.5", | ||
"timezone-mock": "^1.0.8", | ||
"ts-jest": "^24.1.0", | ||
@@ -37,0 +38,0 @@ "typescript": "^3.6.3" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12809
8