New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@turf/line-slice

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/line-slice - npm Package Compare versions

Comparing version 3.5.2 to 3.5.3

4

index.js

@@ -12,4 +12,4 @@ var linestring = require('@turf/helpers').lineString;

* @name lineSlice
* @param {Feature<Point>} point1 starting point
* @param {Feature<Point>} point2 stopping point
* @param {Feature<Point>} startPt starting point
* @param {Feature<Point>} stopPt stopping point
* @param {Feature<LineString>|LineString} line line to slice

@@ -16,0 +16,0 @@ * @return {Feature<LineString>} sliced line

{
"name": "@turf/line-slice",
"version": "3.5.2",
"version": "3.5.3",
"description": "",

@@ -31,11 +31,11 @@ "main": "index.js",

"tape": "^3.5.0",
"@turf/helpers": "^3.5.2"
"@turf/helpers": "^3.5.3"
},
"dependencies": {
"@turf/bearing": "^3.5.2",
"@turf/destination": "^3.5.2",
"@turf/distance": "^3.5.2",
"@turf/helpers": "^3.5.2",
"@turf/point-on-line": "^3.5.2"
"@turf/destination": "^3.5.3",
"@turf/distance": "^3.5.3",
"@turf/helpers": "^3.5.3",
"@turf/point-on-line": "^3.5.3"
}
}

@@ -13,4 +13,4 @@ # @turf/line-slice

- `point1` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;[Point](http://geojson.org/geojson-spec.html#point)>** starting point
- `point2` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;[Point](http://geojson.org/geojson-spec.html#point)>** stopping point
- `startPt` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;[Point](http://geojson.org/geojson-spec.html#point)>** starting point
- `stopPt` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;[Point](http://geojson.org/geojson-spec.html#point)>** stopping point
- `line` **([Feature](http://geojson.org/geojson-spec.html#feature-objects)&lt;[LineString](http://geojson.org/geojson-spec.html#linestring)> | [LineString](http://geojson.org/geojson-spec.html#linestring))** line to slice

@@ -17,0 +17,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