Comparing version 2021.11.1 to 2021.11.2
@@ -1,2 +0,2 @@ | ||
interface ZIPGeolocation { | ||
export interface Geolocation { | ||
latitude: number | ||
@@ -6,37 +6,7 @@ longitude: number | ||
type ZIPCode = string | ||
export type ZIPCode = string | ||
type ZIPCodeList = (ZIPGeolocation & { zipCode: ZIPCode })[] | ||
type ZIPKeyValueList = [ZIPCode, ZIPGeolocation][] | ||
type ZIPMap = Map<ZIPCode, ZIPGeolocation> | ||
type ZIPObject = Record<ZIPCode, ZIPGeolocation> | ||
declare module 'us-zips/array' { | ||
const defaultExport: ZIPCodeList | ||
export default defaultExport | ||
} | ||
declare module 'us-zips/key-value' { | ||
const defaultExport: ZIPKeyValueList | ||
export default defaultExport | ||
} | ||
declare module 'us-zips/map' { | ||
const defaultExport: ZIPMap | ||
export default defaultExport | ||
} | ||
declare module 'us-zips/object' { | ||
const defaultExport: ZIPObject | ||
export default defaultExport | ||
} | ||
declare module 'us-zips' { | ||
const defaultExport: ZIPObject | ||
const defaultExport: import('./object').ZIPCodeList | ||
export default defaultExport | ||
} | ||
declare module 'us-zips/zipCount' { | ||
const zipCount: number | ||
export default zipCount | ||
} |
{ | ||
"name": "us-zips", | ||
"version": "2021.11.1", | ||
"version": "2021.11.2", | ||
"description": "A list of US ZIP codes and their geolocations", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6259278
25
101534