Socket
Socket
Sign inDemoInstall

libphonenumber-js

Package Overview
Dependencies
Maintainers
1
Versions
392
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libphonenumber-js - npm Package Compare versions

Comparing version 0.4.16 to 0.4.17

2

package.json
{
"name": "libphonenumber-js",
"version": "0.4.16",
"version": "0.4.17",
"description": "A simpler (and smaller) rewrite of Google Android's popular libphonenumber library",

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

@@ -44,4 +44,9 @@ var child_process = require('child_process')

if (modified_files.length > 2)
var unexpected_modified_files = modified_files.filter(function(file)
{
return file !== 'PhoneNumberMetadata.xml' && !/^metadata\.[a-z]+\.json$/.test(file)
})
if (unexpected_modified_files.length > 0)
{
console.log()

@@ -52,5 +57,5 @@ console.log('========================================')

console.log()
console.log('Only `PhoneNumberMetadata.xml` and `metadata.min.json` should be modified.')
console.log('Only `PhoneNumberMetadata.xml` and `metadata.*.json` files should be modified. Unexpected modified files:')
console.log()
console.log(modified_files.join('\n'))
console.log(unexpected_modified_files.join('\n'))

@@ -85,3 +90,3 @@ process.exit(1)

console.log(exec('git add PhoneNumberMetadata.xml metadata.min.json'))
console.log(exec('git add .'))

@@ -88,0 +93,0 @@ console.log(exec('git commit -m "Phone number medatada update"'))

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