@turf/circle
Advanced tools
Comparing version 5.1.0 to 5.1.5
@@ -35,6 +35,6 @@ 'use strict'; | ||
// validation | ||
if (!center) { throw new Error('center is required'); } | ||
if (!radius) { throw new Error('radius is required'); } | ||
if (typeof options !== 'object') { throw new Error('options must be an object'); } | ||
if (typeof steps !== 'number') { throw new Error('steps must be a number'); } | ||
if (!center) throw new Error('center is required'); | ||
if (!radius) throw new Error('radius is required'); | ||
if (typeof options !== 'object') throw new Error('options must be an object'); | ||
if (typeof steps !== 'number') throw new Error('steps must be a number'); | ||
@@ -41,0 +41,0 @@ // default params |
{ | ||
"name": "@turf/circle", | ||
"version": "5.1.0", | ||
"version": "5.1.5", | ||
"description": "turf circle module", | ||
"main": "main.js", | ||
"module": "main.mjs", | ||
"module": "main.es.js", | ||
"types": "index.d.ts", | ||
@@ -12,3 +12,3 @@ "files": [ | ||
"main.js", | ||
"main.mjs" | ||
"main.es.js" | ||
], | ||
@@ -18,2 +18,3 @@ "scripts": { | ||
"test": "node -r @std/esm test.js", | ||
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js", | ||
"bench": "node -r @std/esm bench.js", | ||
@@ -43,7 +44,6 @@ "docs": "node ../../scripts/generate-readmes" | ||
"@std/esm": "*", | ||
"@turf/truncate": "^5.1.0", | ||
"@turf/truncate": "^5.1.5", | ||
"benchmark": "*", | ||
"load-json-file": "*", | ||
"rollup": "*", | ||
"rollup-plugin-buble": "*", | ||
"tape": "*", | ||
@@ -53,4 +53,4 @@ "write-json-file": "*" | ||
"dependencies": { | ||
"@turf/destination": "^5.1.0", | ||
"@turf/helpers": "^5.1.0" | ||
"@turf/destination": "^5.1.5", | ||
"@turf/helpers": "^5.1.5" | ||
}, | ||
@@ -57,0 +57,0 @@ "@std/esm": { |
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
10692
8
Updated@turf/destination@^5.1.5
Updated@turf/helpers@^5.1.5