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

@turf/truncate

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/truncate - npm Package Compare versions

Comparing version 4.5.2 to 4.6.0

18

index.js

@@ -13,14 +13,8 @@ var coordEach = require('@turf/meta').coordEach;

* @example
* var point = {
* "type": "Feature",
* "properties": {}
* "geometry": {
* "type": "Point",
* "coordinates": [
* 70.46923055566859,
* 58.11088890802906,
* 1508
* ]
* }
* };
* var point = turf.point([
* 70.46923055566859,
* 58.11088890802906,
* 1508
* ]);
*
* var truncated = turf.truncate(point);

@@ -27,0 +21,0 @@ *

{
"name": "@turf/truncate",
"version": "4.5.2",
"version": "4.6.0",
"description": "turf truncate module",

@@ -35,3 +35,3 @@ "main": "index.js",

"devDependencies": {
"@turf/helpers": "^4.5.2",
"@turf/helpers": "^4.6.0",
"benchmark": "^2.1.4",

@@ -43,4 +43,4 @@ "load-json-file": "^2.0.0",

"dependencies": {
"@turf/meta": "^4.5.2"
"@turf/meta": "^4.6.0"
}
}

@@ -17,14 +17,8 @@ # @turf/truncate

```javascript
var point = {
"type": "Feature",
"properties": {}
"geometry": {
"type": "Point",
"coordinates": [
70.46923055566859,
58.11088890802906,
1508
]
}
};
var point = turf.point([
70.46923055566859,
58.11088890802906,
1508
]);
var truncated = turf.truncate(point);

@@ -31,0 +25,0 @@

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