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 1.10.62 to 1.10.63

5

CHANGELOG.md

@@ -70,2 +70,7 @@ <!-- (breaking change) `parsePhoneNumberFromString()`: `extract: false` is now the default mode: non-phone-number characters aren't now trimmed on the left and on the right sides of a phone number. For example, `(213) 373-4253` is parsed as a valid phone number, but `Call: (213) 373-4253` is not, because `Call: ` doesn't automatically get trimmed now. For the old behavior, pass `extract: true` option. -->

1.11.00 / 06.05.2024
====================
* (TypeScript) Fixed Tagged type to be more strict, as suggested in an [issue](https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/144) by Islam Sharabash.
1.10.17 / 08.01.2023

@@ -72,0 +77,0 @@ ==================

2

package.json
{
"name": "libphonenumber-js",
"version": "1.10.62",
"version": "1.10.63",
"description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",

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

@@ -89,3 +89,3 @@ // The rationale for having a separate `CountryCode` type instead of just a `string`:

//
type Tagged<A, T> = A & { __tag?: T };
type Tagged<A, T> = A & { __tag: T };

@@ -92,0 +92,0 @@ export type E164Number = Tagged<string, "E164Number">;

Sorry, the diff of this file is not supported yet

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