Huge News!Announcing our $40M Series B led by Abstract Ventures.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.1.0 to 3.1.1

2

bench.js
var lineSlice = require('./');
var Benchmark = require('benchmark');
var fs = require('fs');
var point = require('turf-helpers').point;
var point = require('@turf/helpers').point;

@@ -6,0 +6,0 @@ var route1 = JSON.parse(fs.readFileSync(__dirname + '/test/in/route1.geojson'));

@@ -1,3 +0,3 @@

var linestring = require('turf-helpers').lineString;
var pointOnLine = require('turf-point-on-line');
var linestring = require('@turf/helpers').lineString;
var pointOnLine = require('@turf/point-on-line');

@@ -4,0 +4,0 @@ /**

{
"name": "@turf/line-slice",
"version": "3.1.0",
"version": "3.1.1",
"description": "",

@@ -34,8 +34,8 @@ "main": "index.js",

"dependencies": {
"@turf/bearing": "^3.0.16",
"@turf/destination": "^3.0.16",
"@turf/distance": "^3.0.16",
"@turf/bearing": "^3.1.1",
"@turf/destination": "^3.1.1",
"@turf/distance": "^3.1.1",
"@turf/helpers": "^3.0.16",
"@turf/point-on-line": "^3.1.0"
"@turf/point-on-line": "^3.1.1"
}
}
var test = require('tape');
var fs = require('fs');
var lineSlice = require('./');
var point = require('turf-helpers').point;
var featurecollection = require('turf-helpers').featureCollection;
var linestring = require('turf-helpers').lineString;
var point = require('@turf/helpers').point;
var featurecollection = require('@turf/helpers').featureCollection;
var linestring = require('@turf/helpers').lineString;

@@ -8,0 +8,0 @@ var route1 = JSON.parse(fs.readFileSync(__dirname + '/test/in/route1.geojson'));

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