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

@ronaldarndt/nationalid

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ronaldarndt/nationalid - npm Package Compare versions

Comparing version 1.2.4 to 1.2.8

12

dist/index.js

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

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