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

@turf/along

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/along - npm Package Compare versions

Comparing version 3.3.3 to 3.5.2-alpha.d2c36ee7

2

index.js

@@ -12,3 +12,3 @@ var measureDistance = require('@turf/distance');

* @param {number} distance distance along the line
* @param {String} [units=miles] can be degrees, radians, miles, or kilometers
* @param {String} [units=kilometers] can be degrees, radians, miles, or kilometers
* @return {Feature<Point>} Point `distance` `units` along the line

@@ -15,0 +15,0 @@ * @example

{
"name": "@turf/along",
"version": "3.3.3",
"version": "3.5.2-alpha.d2c36ee7",
"description": "",

@@ -29,10 +29,10 @@ "main": "index.js",

"tape": "^3.5.0",
"@turf/helpers": "^3.3.3"
"@turf/helpers": "^3.5.2-alpha.d2c36ee7"
},
"dependencies": {
"@turf/bearing": "^3.3.3",
"@turf/destination": "^3.3.3",
"@turf/distance": "^3.3.3",
"@turf/helpers": "^3.3.3"
"@turf/bearing": "^3.5.2-alpha.d2c36ee7",
"@turf/destination": "^3.5.2-alpha.d2c36ee7",
"@turf/distance": "^3.5.2-alpha.d2c36ee7",
"@turf/helpers": "^3.5.2-alpha.d2c36ee7"
}
}

@@ -11,3 +11,3 @@ # @turf/along

- `distance` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** distance along the line
- `units` **\[[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** can be degrees, radians, miles, or kilometers (optional, default `miles`)
- `units` **\[[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** can be degrees, radians, miles, or kilometers (optional, default `kilometers`)

@@ -45,2 +45,6 @@ **Examples**

<!-- This file is automatically generated. Please don't edit it directly:
if you find an error, edit the source file (likely index.js), and re-run
./scripts/generate-readmes in the turf project. -->
---

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