@turf/line-slice-along
Advanced tools
Comparing version 6.3.0 to 6.4.0
@@ -82,5 +82,7 @@ import bearing from '@turf/bearing'; | ||
throw new Error("Start position is beyond line"); | ||
return lineString(coords[coords.length - 1]); | ||
var last = coords[coords.length - 1]; | ||
return lineString([last, last]); | ||
} | ||
export default lineSliceAlong; |
@@ -86,5 +86,7 @@ 'use strict'; | ||
throw new Error("Start position is beyond line"); | ||
return helpers.lineString(coords[coords.length - 1]); | ||
var last = coords[coords.length - 1]; | ||
return helpers.lineString([last, last]); | ||
} | ||
module.exports = lineSliceAlong; |
{ | ||
"name": "@turf/line-slice-along", | ||
"version": "6.3.0", | ||
"version": "6.4.0", | ||
"description": "turf line-slice-along module", | ||
@@ -46,3 +46,3 @@ "author": "Turf Authors", | ||
"devDependencies": { | ||
"@turf/along": "^6.3.0", | ||
"@turf/along": "^6.4.0", | ||
"benchmark": "*", | ||
@@ -55,8 +55,8 @@ "load-json-file": "*", | ||
"dependencies": { | ||
"@turf/bearing": "^6.3.0", | ||
"@turf/destination": "^6.3.0", | ||
"@turf/distance": "^6.3.0", | ||
"@turf/helpers": "^6.3.0" | ||
"@turf/bearing": "^6.4.0", | ||
"@turf/destination": "^6.4.0", | ||
"@turf/distance": "^6.4.0", | ||
"@turf/helpers": "^6.4.0" | ||
}, | ||
"gitHead": "57c8877e1e2d67effc2cdd23385c02b2a6615a49" | ||
"gitHead": "1e62773cfc88c627cca8effcb5c14cfb65a905ac" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11451
168
1
Updated@turf/bearing@^6.4.0
Updated@turf/destination@^6.4.0
Updated@turf/distance@^6.4.0
Updated@turf/helpers@^6.4.0