@turf/ellipse
Advanced tools
Comparing version 7.0.0-alpha.2 to 7.0.0-alpha.110
{ | ||
"name": "@turf/ellipse", | ||
"version": "7.0.0-alpha.2", | ||
"version": "7.0.0-alpha.110+1411d63a7", | ||
"description": "turf ellipse module", | ||
@@ -26,47 +26,56 @@ "author": "Turf Authors", | ||
], | ||
"main": "dist/js/index.js", | ||
"module": "dist/es/index.js", | ||
"type": "commonjs", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.mjs", | ||
"types": "dist/cjs/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./index.d.ts", | ||
"import": "./dist/es/index.js", | ||
"require": "./dist/js/index.js" | ||
"import": { | ||
"types": "./dist/esm/index.d.mts", | ||
"default": "./dist/esm/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index.cjs" | ||
} | ||
} | ||
}, | ||
"types": "index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
"index.d.ts" | ||
"dist" | ||
], | ||
"scripts": { | ||
"bench": "tsx bench.js", | ||
"build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", | ||
"docs": "tsx ../../scripts/generate-readmes", | ||
"test": "npm-run-all test:*", | ||
"test:tape": "tsx test.js" | ||
"bench": "tsx bench.ts", | ||
"build": "tsup --config ../../tsup.config.ts", | ||
"docs": "tsx ../../scripts/generate-readmes.ts", | ||
"test": "npm-run-all --npm-path npm test:*", | ||
"test:tape": "tsx test.ts" | ||
}, | ||
"devDependencies": { | ||
"@mapbox/geojsonhint": "*", | ||
"@turf/bbox-polygon": "^7.0.0-alpha.2", | ||
"@turf/circle": "^7.0.0-alpha.2", | ||
"@turf/destination": "^7.0.0-alpha.2", | ||
"@turf/truncate": "^7.0.0-alpha.2", | ||
"benchmark": "*", | ||
"glob": "*", | ||
"load-json-file": "*", | ||
"npm-run-all": "*", | ||
"rollup": "*", | ||
"tape": "*", | ||
"tsx": "*", | ||
"write-json-file": "*" | ||
"@mapbox/geojsonhint": "^3.2.0", | ||
"@turf/bbox-polygon": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/circle": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/destination": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/truncate": "^7.0.0-alpha.110+1411d63a7", | ||
"@types/benchmark": "^2.1.5", | ||
"@types/tape": "^4.2.32", | ||
"benchmark": "^2.1.4", | ||
"glob": "^10.3.10", | ||
"load-json-file": "^7.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"tape": "^5.7.2", | ||
"tsup": "^8.0.1", | ||
"tsx": "^4.6.2", | ||
"typescript": "^5.2.2", | ||
"write-json-file": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@turf/helpers": "^7.0.0-alpha.2", | ||
"@turf/invariant": "^7.0.0-alpha.2", | ||
"@turf/rhumb-destination": "^7.0.0-alpha.2", | ||
"@turf/transform-rotate": "^7.0.0-alpha.2" | ||
"@turf/helpers": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/invariant": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/rhumb-destination": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/transform-rotate": "^7.0.0-alpha.110+1411d63a7", | ||
"tslib": "^2.6.2" | ||
}, | ||
"gitHead": "dd35b52725945b4fa29a98d9a550733e06cc222e" | ||
"gitHead": "1411d63a74c275c9216fe48e9d3cb2d48a359068" | ||
} |
@@ -17,3 +17,3 @@ # @turf/ellipse | ||
* `options.angle` **[number][3]** angle of rotation in decimal degrees, positive clockwise (optional, default `0`) | ||
* `options.pivot` **[Coord][2]** point around which the rotation will be performed (optional, default `'origin'`) | ||
* `options.pivot` **[Coord][2]** point around which any rotation will be performed (optional, default `center`) | ||
* `options.steps` **[number][3]** number of steps (optional, default `64`) | ||
@@ -51,16 +51,11 @@ * `options.units` **[string][5]** unit of measurement for axes (optional, default `'kilometers'`) | ||
<!-- 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. --> | ||
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. --> | ||
--- | ||
This module is part of the [Turfjs project](http://turfjs.org/), an open source | ||
module collection dedicated to geographic algorithms. It is maintained in the | ||
[Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create | ||
PRs and issues. | ||
This module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues. | ||
### Installation | ||
Install this module individually: | ||
Install this single module individually: | ||
@@ -71,3 +66,3 @@ ```sh | ||
Or install the Turf module that includes it as a function: | ||
Or install the all-encompassing @turf/turf module that includes all modules as functions: | ||
@@ -74,0 +69,0 @@ ```sh |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the 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
26482
9
5
16
184
69
2