@turf/transform-rotate
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -11,8 +11,7 @@ import centroid from '@turf/centroid'; | ||
/** | ||
* Rotates any geojson Feature or Geometry of a specified angle, around its `centroid` or a given `pivot` point; | ||
* all rotations follow the right-hand rule: https://en.wikipedia.org/wiki/Right-hand_rule | ||
* Rotates any geojson Feature or Geometry of a specified angle, around its `centroid` or a given `pivot` point. | ||
* | ||
* @name transformRotate | ||
* @param {GeoJSON} geojson object to be rotated | ||
* @param {number} angle of rotation (along the vertical axis), from North in decimal degrees, negative clockwise | ||
* @param {number} angle of rotation in decimal degrees, positive clockwise | ||
* @param {Object} [options={}] Optional parameters | ||
@@ -19,0 +18,0 @@ * @param {Coord} [options.pivot='centroid'] point around which the rotation will be performed |
@@ -15,8 +15,7 @@ 'use strict'; | ||
/** | ||
* Rotates any geojson Feature or Geometry of a specified angle, around its `centroid` or a given `pivot` point; | ||
* all rotations follow the right-hand rule: https://en.wikipedia.org/wiki/Right-hand_rule | ||
* Rotates any geojson Feature or Geometry of a specified angle, around its `centroid` or a given `pivot` point. | ||
* | ||
* @name transformRotate | ||
* @param {GeoJSON} geojson object to be rotated | ||
* @param {number} angle of rotation (along the vertical axis), from North in decimal degrees, negative clockwise | ||
* @param {number} angle of rotation in decimal degrees, positive clockwise | ||
* @param {Object} [options={}] Optional parameters | ||
@@ -23,0 +22,0 @@ * @param {Coord} [options.pivot='centroid'] point around which the rotation will be performed |
{ | ||
"name": "@turf/transform-rotate", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "turf transform-rotate module", | ||
@@ -52,3 +52,3 @@ "author": "Turf Authors", | ||
"devDependencies": { | ||
"@turf/truncate": "^6.3.0", | ||
"@turf/truncate": "^6.4.0", | ||
"benchmark": "*", | ||
@@ -62,12 +62,12 @@ "load-json-file": "*", | ||
"dependencies": { | ||
"@turf/centroid": "^6.3.0", | ||
"@turf/clone": "^6.3.0", | ||
"@turf/helpers": "^6.3.0", | ||
"@turf/invariant": "^6.3.0", | ||
"@turf/meta": "^6.3.0", | ||
"@turf/rhumb-bearing": "^6.3.0", | ||
"@turf/rhumb-destination": "^6.3.0", | ||
"@turf/rhumb-distance": "^6.3.0" | ||
"@turf/centroid": "^6.4.0", | ||
"@turf/clone": "^6.4.0", | ||
"@turf/helpers": "^6.4.0", | ||
"@turf/invariant": "^6.4.0", | ||
"@turf/meta": "^6.4.0", | ||
"@turf/rhumb-bearing": "^6.4.0", | ||
"@turf/rhumb-destination": "^6.4.0", | ||
"@turf/rhumb-distance": "^6.4.0" | ||
}, | ||
"gitHead": "57c8877e1e2d67effc2cdd23385c02b2a6615a49" | ||
"gitHead": "1e62773cfc88c627cca8effcb5c14cfb65a905ac" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10427
124
1
Updated@turf/centroid@^6.4.0
Updated@turf/clone@^6.4.0
Updated@turf/helpers@^6.4.0
Updated@turf/invariant@^6.4.0
Updated@turf/meta@^6.4.0
Updated@turf/rhumb-bearing@^6.4.0
Updated@turf/rhumb-distance@^6.4.0