@ronaldarndt/nationalid
Advanced tools
Comparing version 1.2.4 to 1.2.8
@@ -19,3 +19,3 @@ // src/countries/brazil/cpf.ts | ||
var cpf = { | ||
code: "CPF", | ||
code: "cpf", | ||
digits: 11, | ||
@@ -59,3 +59,3 @@ mask, | ||
var ssn = { | ||
code: "SSN", | ||
code: "ssn", | ||
digits: 9, | ||
@@ -98,6 +98,6 @@ mask: [/\d/, /\d/, /\d/, "-", /\d/, /\d/, "-", /\d/, /\d/, /\d/], | ||
var brazil = { | ||
code: "BR", | ||
code: "br", | ||
name: "Brazil", | ||
documents: { | ||
CPF: cpf_default | ||
cpf: cpf_default | ||
} | ||
@@ -109,6 +109,6 @@ }; | ||
var us = { | ||
code: "US", | ||
code: "us", | ||
name: "United States", | ||
documents: { | ||
SSN: ssn_default | ||
ssn: ssn_default | ||
} | ||
@@ -115,0 +115,0 @@ }; |
@@ -5,6 +5,6 @@ { | ||
"type": "module", | ||
"version": "1.2.4", | ||
"version": "1.2.8", | ||
"description": "Format and validate national identification numbers", | ||
"scripts": { | ||
"build": "npm version patch --no-git-tag-version && bun build --target=node ./src/index.ts --outfile=dist/index.js && bun run build:declaration", | ||
"build": "bun build --target=node ./src/index.ts --outfile=dist/index.js && bun run build:declaration", | ||
"build:declaration": "tspc --emitDeclarationOnly --project tsconfig.types.json", | ||
@@ -11,0 +11,0 @@ "postbuild": "rimraf tsconfig.types.tsbuildinfo" |
# nationalid | ||
Format and validate national identification numbers | ||
To install dependencies: | ||
@@ -4,0 +6,0 @@ |
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
5180
18