@turf/boolean-clockwise
Advanced tools
Comparing version 6.2.0-alpha.2 to 6.2.0-alpha.3
@@ -26,3 +26,3 @@ import { getCoords } from "@turf/invariant"; | ||
cur = ring[i]; | ||
sum += ((cur[0] - prev[0]) * (cur[1] + prev[1])); | ||
sum += (cur[0] - prev[0]) * (cur[1] + prev[1]); | ||
i++; | ||
@@ -29,0 +29,0 @@ } |
@@ -28,3 +28,3 @@ "use strict"; | ||
cur = ring[i]; | ||
sum += ((cur[0] - prev[0]) * (cur[1] + prev[1])); | ||
sum += (cur[0] - prev[0]) * (cur[1] + prev[1]); | ||
i++; | ||
@@ -31,0 +31,0 @@ } |
{ | ||
"name": "@turf/boolean-clockwise", | ||
"version": "6.2.0-alpha.2", | ||
"version": "6.2.0-alpha.3", | ||
"description": "turf boolean-clockwise module", | ||
@@ -31,2 +31,6 @@ "author": "Turf Authors", | ||
"module": "dist/es/index.js", | ||
"exports": { | ||
"import": "./dist/es/index.js", | ||
"require": "./dist/js/index.js" | ||
}, | ||
"types": "dist/js/index.d.ts", | ||
@@ -38,10 +42,9 @@ "sideEffects": false, | ||
"scripts": { | ||
"bench": "npm-run-all prepare bench:run", | ||
"bench:run": "node bench.js", | ||
"bench": "ts-node bench.js", | ||
"build": "npm-run-all build:*", | ||
"build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", | ||
"build:js": "tsc", | ||
"docs": "node ../../scripts/generate-readmes", | ||
"prepare": "npm-run-all prepare:*", | ||
"prepare:es": "tsc --outDir dist/es --module esnext --declaration false", | ||
"prepare:js": "tsc", | ||
"test": "npm-run-all prepare test:*", | ||
"test:tape": "node -r esm test.js" | ||
"test": "npm-run-all test:*", | ||
"test:tape": "ts-node -r esm test.js" | ||
}, | ||
@@ -55,2 +58,3 @@ "devDependencies": { | ||
"tape": "*", | ||
"ts-node": "*", | ||
"tslint": "*", | ||
@@ -60,6 +64,6 @@ "typescript": "*" | ||
"dependencies": { | ||
"@turf/helpers": "^6.2.0-alpha.2", | ||
"@turf/invariant": "^6.2.0-alpha.2" | ||
"@turf/helpers": "^6.2.0-alpha.3", | ||
"@turf/invariant": "^6.2.0-alpha.3" | ||
}, | ||
"gitHead": "23d5cb91d77e0c1e2e903a2252f525797f1d0d09" | ||
"gitHead": "dce9edfc705352e8cb9e0083c9330ba0e8d77409" | ||
} |
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
7038
7
9