libphonenumber-js 1.12.3 → 1.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.cts +0 -15
  2. package/index.d.ts +0 -15
  3. package/package.json +1 -1
package/index.d.cts CHANGED
@@ -153,21 +153,6 @@ export function parse(text: string, options?: CountryCode | ParseNumberOptions):
153
153
  */
154
154
  export function parseNumber(text: string, options?: CountryCode | ParseNumberOptions): ParsedNumber | {};
155
155
 
156
- /**
157
- * @deprecated
158
- */
159
- type FormatExtension = (number: string, extension: string, metadata: MetadataJson) => string
160
-
161
- /**
162
- * @deprecated
163
- */
164
- export type FormatNumberOptions = {
165
- v2?: boolean;
166
- fromCountry?: CountryCode;
167
- humanReadable?: boolean;
168
- formatExtension?: FormatExtension;
169
- };
170
-
171
156
  /**
172
157
  * @deprecated
173
158
  */
package/index.d.ts CHANGED
@@ -153,21 +153,6 @@ export function parse(text: string, options?: CountryCode | ParseNumberOptions):
153
153
  */
154
154
  export function parseNumber(text: string, options?: CountryCode | ParseNumberOptions): ParsedNumber | {};
155
155
 
156
- /**
157
- * @deprecated
158
- */
159
- type FormatExtension = (number: string, extension: string, metadata: MetadataJson) => string
160
-
161
- /**
162
- * @deprecated
163
- */
164
- export type FormatNumberOptions = {
165
- v2?: boolean;
166
- fromCountry?: CountryCode;
167
- humanReadable?: boolean;
168
- formatExtension?: FormatExtension;
169
- };
170
-
171
156
  /**
172
157
  * @deprecated
173
158
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libphonenumber-js",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",
5
5
  "main": "index.cjs",
6
6
  "module": "index.js",