New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

id-parser

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

id-parser - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

index.js

@@ -19,3 +19,3 @@ var moment = require('moment');

return {
hometown,
hometown: hometown,
birthday: date.isValid() ? date : moment(),

@@ -22,0 +22,0 @@ sex: id.substring(16,17)%2 === 0 ? '女' : '男'

{
"name": "id-parser",
"version": "0.0.3",
"version": "0.0.4",
"description": "中国身份证号码解析器,传入身份证号,返回 【户籍地】【出生年月】【性别】",

@@ -5,0 +5,0 @@ "main": "index.js",

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