Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

norwegian-national-id-validator

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

norwegian-national-id-validator - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

2

dist/index.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc