@turf/boolean-clockwise
Advanced tools
Comparing version 4.5.2 to 4.6.0
@@ -9,3 +9,4 @@ /// <reference types="geojson" /> | ||
declare function clockwise(line: Line): boolean; | ||
declare namespace clockwise { } | ||
export = clockwise; | ||
declare namespace clockwise { | ||
} | ||
export = clockwise; |
@@ -11,4 +11,4 @@ var invariant = require('@turf/invariant'); | ||
* @example | ||
* var clockwiseRing = [[0,0],[1,1],[1,0],[0,0]] | ||
* var counterClockwiseRing = [[0,0],[1,0],[1,1],[0,0]] | ||
* var clockwiseRing = turf.lineString([[0,0],[1,1],[1,0],[0,0]]); | ||
* var counterClockwiseRing = turf.lineString([[0,0],[1,0],[1,1],[0,0]]); | ||
* | ||
@@ -15,0 +15,0 @@ * turf.booleanClockwise(clockwiseRing) |
{ | ||
"name": "@turf/boolean-clockwise", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "turf boolean-clockwise module", | ||
@@ -37,3 +37,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@turf/helpers": "^4.5.2", | ||
"@turf/helpers": "^4.6.0", | ||
"benchmark": "^2.1.4", | ||
@@ -45,4 +45,4 @@ "glob": "^7.1.1", | ||
"dependencies": { | ||
"@turf/invariant": "^4.5.2" | ||
"@turf/invariant": "^4.6.0" | ||
} | ||
} |
@@ -14,4 +14,4 @@ # @turf/boolean-clockwise | ||
```javascript | ||
var clockwiseRing = [[0,0],[1,1],[1,0],[0,0]] | ||
var counterClockwiseRing = [[0,0],[1,0],[1,1],[0,0]] | ||
var clockwiseRing = turf.lineString([[0,0],[1,1],[1,0],[0,0]]); | ||
var counterClockwiseRing = turf.lineString([[0,0],[1,0],[1,1],[0,0]]); | ||
@@ -18,0 +18,0 @@ turf.booleanClockwise(clockwiseRing) |
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
5229
Updated@turf/invariant@^4.6.0