Comparing version 8.0.0 to 8.0.1
{ | ||
"name": "geo-tz", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "A node.js module to find the timezone at specific gps coordinates", | ||
@@ -43,2 +43,20 @@ "keywords": [ | ||
"types": "./dist/find-now.d.ts" | ||
}, | ||
"./dist/find-1970": { | ||
"main": "./dist/find-1970.js", | ||
"import": "./dist/find-1970.js", | ||
"require": "./dist/find-1970.js", | ||
"types": "./dist/find-1970.d.ts" | ||
}, | ||
"./dist/find-all": { | ||
"main": "./dist/find-all.js", | ||
"import": "./dist/find-all.js", | ||
"require": "./dist/find-all.js", | ||
"types": "./dist/find-all.d.ts" | ||
}, | ||
"./dist/find-now": { | ||
"main": "./dist/find-now.js", | ||
"import": "./dist/find-now.js", | ||
"require": "./dist/find-now.js", | ||
"types": "./dist/find-now.d.ts" | ||
} | ||
@@ -45,0 +63,0 @@ }, |
@@ -27,3 +27,3 @@ # node-geo-tz | ||
As of version 8, node-geo-tz offers the ability to choose from the three different timezone boundary products that the [timezone-boudary-builder](https://github.com/evansiroky/timezone-boundary-builder) project produces. | ||
As of version 8, node-geo-tz offers the ability to choose from the three different timezone boundary products that the [timezone-boudary-builder](https://github.com/evansiroky/timezone-boundary-builder) project produces. If using TypeScript, it may be necessary to use the `dist` entry points (see [issue #165](https://github.com/evansiroky/node-geo-tz/issues/165)). | ||
@@ -36,2 +36,3 @@ ### Alike Since 1970 (default) | ||
const { find } = require('geo-tz') | ||
// const { find } = require('geo-tz/dist/find-1970') // TypeScript-compatible import | ||
@@ -49,2 +50,3 @@ find(12.826174, 45.036933) // ['Asia/Riyadh'] | ||
const { find } = require('geo-tz/all') | ||
// const { find } = require('geo-tz/dist/find-all') // TypeScript-compatible import | ||
@@ -62,2 +64,3 @@ find(12.826174, 45.036933) // ['Asia/Aden'] | ||
const { find } = require('geo-tz/now') | ||
// const { find } = require('geo-tz/dist/find-now') // TypeScript-compatible import | ||
@@ -64,0 +67,0 @@ find(12.826174, 45.036933) // ['Europe/Moscow'] |
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
68776667
118