Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@turf/boolean-clockwise

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/boolean-clockwise - npm Package Compare versions

Comparing version 4.5.2 to 4.6.0

5

index.d.ts

@@ -9,3 +9,4 @@ /// <reference types="geojson" />

declare function clockwise(line: Line): boolean;
declare namespace clockwise { }
export = clockwise;
declare namespace clockwise {
}
export = clockwise;

4

index.js

@@ -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)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc