@turf/midpoint
Advanced tools
Comparing version 5.1.5 to 6.2.0-alpha.0
{ | ||
"name": "@turf/midpoint", | ||
"version": "5.1.5", | ||
"version": "6.2.0-alpha.0", | ||
"description": "turf midpoint module", | ||
"main": "main.js", | ||
"module": "main.es.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"index.js", | ||
"index.d.ts", | ||
"main.js", | ||
"main.es.js" | ||
], | ||
"scripts": { | ||
"pretest": "rollup -c ../../rollup.config.js", | ||
"test": "node -r @std/esm test.js", | ||
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js", | ||
"bench": "node -r @std/esm bench.js", | ||
"docs": "node ../../scripts/generate-readmes" | ||
"author": "Turf Authors", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"repository": { | ||
@@ -32,10 +22,20 @@ "type": "git", | ||
], | ||
"author": "Turf Authors", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
"main": "dist/js/index.js", | ||
"module": "dist/es/index.js", | ||
"types": "index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
"index.d.ts" | ||
], | ||
"scripts": { | ||
"bench": "npm-run-all prepare bench:run", | ||
"bench:run": "node bench.js", | ||
"docs": "node ../../scripts/generate-readmes", | ||
"posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", | ||
"prepare": "rollup -c ../../rollup.config.js", | ||
"test": "npm-run-all prepare test:*", | ||
"test:tape": "node -r esm test.js" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"devDependencies": { | ||
"@std/esm": "*", | ||
"benchmark": "*", | ||
@@ -46,11 +46,8 @@ "rollup": "*", | ||
"dependencies": { | ||
"@turf/bearing": "^5.1.5", | ||
"@turf/destination": "^5.1.5", | ||
"@turf/distance": "^5.1.5", | ||
"@turf/helpers": "^5.1.5" | ||
"@turf/bearing": "^6.2.0-alpha.0", | ||
"@turf/destination": "^6.2.0-alpha.0", | ||
"@turf/distance": "^6.2.0-alpha.0", | ||
"@turf/helpers": "^6.2.0-alpha.0" | ||
}, | ||
"@std/esm": { | ||
"esm": "js", | ||
"cjs": true | ||
} | ||
"gitHead": "23b651deaa1ca6a0960d0142aea620b7cc6a076d" | ||
} |
@@ -7,3 +7,3 @@ # @turf/midpoint | ||
Takes two [points](https://tools.ietf.org/html/rfc7946#section-3.1.2) and returns a point midway between them. | ||
Takes two [points][1] and returns a point midway between them. | ||
The midpoint is calculated geodesically, meaning the curvature of the earth is taken into account. | ||
@@ -13,4 +13,4 @@ | ||
- `point1` **[Coord](https://tools.ietf.org/html/rfc7946#section-3.1.1)** first point | ||
- `point2` **[Coord](https://tools.ietf.org/html/rfc7946#section-3.1.1)** second point | ||
- `point1` **[Coord][2]** first point | ||
- `point2` **[Coord][2]** second point | ||
@@ -30,4 +30,12 @@ **Examples** | ||
Returns **[Feature](https://tools.ietf.org/html/rfc7946#section-3.2)<[Point](https://tools.ietf.org/html/rfc7946#section-3.1.2)>** a point midway between `pt1` and `pt2` | ||
Returns **[Feature][3]<[Point][4]>** a point midway between `pt1` and `pt2` | ||
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 | ||
[2]: https://tools.ietf.org/html/rfc7946#section-3.1.1 | ||
[3]: https://tools.ietf.org/html/rfc7946#section-3.2 | ||
[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
@@ -34,0 +42,0 @@ if you find an error, edit the source file (likely index.js), and re-run |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
7342
3
62
1
2
+ Added@turf/bearing@6.5.0(transitive)
+ Added@turf/destination@6.5.0(transitive)
+ Added@turf/distance@6.5.0(transitive)
+ Added@turf/helpers@6.5.0(transitive)
+ Added@turf/invariant@6.5.0(transitive)
- Removed@turf/bearing@5.1.5(transitive)
- Removed@turf/destination@5.1.5(transitive)
- Removed@turf/distance@5.1.5(transitive)
- Removed@turf/helpers@5.1.5(transitive)
- Removed@turf/invariant@5.2.0(transitive)
Updated@turf/bearing@^6.2.0-alpha.0
Updated@turf/helpers@^6.2.0-alpha.0