diff --git a/README.md b/README.md index e08c64777b..df8310bbdc 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ - - - -[Turf](https://turfjs.org) is a [JavaScript library](https://en.wikipedia.org/wiki/JavaScript_library) for [spatial analysis](http://en.wikipedia.org/wiki/Spatial_analysis). It includes traditional spatial operations, helper functions for creating [GeoJSON](http://geojson.org) data, and data classification and statistics tools. Turf can be added to your website as a client-side plugin, or you can [run Turf server-side](https://www.npmjs.com/package/turf) with [Node.js](http://nodejs.org/) (see below). +[Turf](https://turfjs.org) is a [JavaScript library](https://en.wikipedia.org/wiki/JavaScript_library) for [spatial analysis](http://en.wikipedia.org/wiki/Spatial_analysis). It includes traditional spatial operations, helper functions for creating [GeoJSON](http://geojson.org) data, and data classification and statistics tools. Turf can be added to your website as a client-side plugin, or you can [run Turf server-side](https://www.npmjs.com/package/@turf/turf) with [Node.js](http://nodejs.org/) (see below). ## Installation diff --git a/examples/create-react-app/package.json b/examples/create-react-app/package.json index 397be24eee..2dd512c270 100644 --- a/examples/create-react-app/package.json +++ b/examples/create-react-app/package.json @@ -1,14 +1,16 @@ { "private": true, "name": "create-react-app", - "main": "src/index.js", "scripts": { - "test": "react-scripts build" - }, - "devDependencies": { - "react-scripts": "*" + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test", + "eject": "react-scripts eject" }, "dependencies": { + "react": "*", + "react-dom": "*", + "react-scripts": "*", "@turf/turf": "*" } } diff --git a/package.json b/package.json index 6d5237b1a4..6332e2cecc 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "documentation": "*", "eslint": "*", "eslint-config-mourner": "*", + "esm": "^3.2.25", "fs-extra": "*", "lerna": "2.8.0", "load-json-file": "*", diff --git a/packages/turf-buffer/package.json b/packages/turf-buffer/package.json index 3873d72b48..2670002dbe 100644 --- a/packages/turf-buffer/package.json +++ b/packages/turf-buffer/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -43,7 +43,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "*", "benchmark": "*", "load-json-file": "*", @@ -59,9 +58,5 @@ "@turf/projection": "6.x", "d3-geo": "1.7.1", "turf-jsts": "*" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-dissolve/package.json b/packages/turf-dissolve/package.json index db23737ee5..5cbc122ca9 100644 --- a/packages/turf-dissolve/package.json +++ b/packages/turf-dissolve/package.json @@ -14,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -37,7 +37,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -54,9 +53,5 @@ "@turf/union": "^5.1.5", "geojson-rbush": "3.x", "get-closest": "*" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-distance/index.ts b/packages/turf-distance/index.ts index 2f4b84bf82..efaeacc072 100644 --- a/packages/turf-distance/index.ts +++ b/packages/turf-distance/index.ts @@ -1,6 +1,6 @@ import { getCoord } from '@turf/invariant'; import { - radiansToLength, isObject, degreesToRadians, + radiansToLength, degreesToRadians, Coord, Units } from '@turf/helpers'; diff --git a/packages/turf-ellipse/package.json b/packages/turf-ellipse/package.json index 97735faace..f3b4d4b7d6 100644 --- a/packages/turf-ellipse/package.json +++ b/packages/turf-ellipse/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -37,7 +37,6 @@ "homepage": "https://github.com/Turfjs/turf", "devDependencies": { "@mapbox/geojsonhint": "*", - "@std/esm": "*", "@turf/bbox-polygon": "6.x", "@turf/circle": "6.x", "@turf/destination": "6.x", @@ -54,9 +53,5 @@ "@turf/invariant": "6.x", "@turf/rhumb-destination": "6.x", "@turf/transform-rotate": "^5.1.5" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-envelope/package.json b/packages/turf-envelope/package.json index 327ee11214..6897a2e021 100644 --- a/packages/turf-envelope/package.json +++ b/packages/turf-envelope/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -36,7 +36,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -46,9 +45,5 @@ "@turf/bbox": "6.x", "@turf/bbox-polygon": "6.x", "@turf/helpers": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-explode/package.json b/packages/turf-explode/package.json index 490befdbf0..ab0fee5f3b 100644 --- a/packages/turf-explode/package.json +++ b/packages/turf-explode/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -35,7 +35,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "geojson-fixtures": "*", "load-json-file": "*", @@ -46,9 +45,5 @@ "dependencies": { "@turf/helpers": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-flatten/package.json b/packages/turf-flatten/package.json index 835527fb86..3ad8e2a781 100644 --- a/packages/turf-flatten/package.json +++ b/packages/turf-flatten/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -40,7 +40,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -50,9 +49,5 @@ "dependencies": { "@turf/helpers": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-flip/package.json b/packages/turf-flip/package.json index b0714bf152..4ae09f0dec 100644 --- a/packages/turf-flip/package.json +++ b/packages/turf-flip/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -35,7 +35,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -46,9 +45,5 @@ "@turf/clone": "6.x", "@turf/helpers": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-great-circle/package.json b/packages/turf-great-circle/package.json index 9d02028001..5acd547efd 100644 --- a/packages/turf-great-circle/package.json +++ b/packages/turf-great-circle/package.json @@ -14,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -42,7 +42,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -53,9 +52,5 @@ "dependencies": { "@turf/helpers": "6.x", "@turf/invariant": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-interpolate/package.json b/packages/turf-interpolate/package.json index a71ccbc48b..874d59535b 100644 --- a/packages/turf-interpolate/package.json +++ b/packages/turf-interpolate/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -37,7 +37,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "chromatism": "*", @@ -58,9 +57,5 @@ "@turf/point-grid": "6.x", "@turf/square-grid": "^5.1.5", "@turf/triangle-grid": "^5.1.5" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-isobands/package.json b/packages/turf-isobands/package.json index 739b3f0bcf..ebe1c4b648 100644 --- a/packages/turf-isobands/package.json +++ b/packages/turf-isobands/package.json @@ -14,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -42,7 +42,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/envelope": "^5.1.5", "@turf/point-grid": "6.x", "@turf/random": "6.x", @@ -65,9 +64,5 @@ "@turf/invariant": "6.x", "@turf/meta": "6.x", "object-assign": "*" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-isolines/package.json b/packages/turf-isolines/package.json index 2abdabb0a4..3e7c49e4be 100644 --- a/packages/turf-isolines/package.json +++ b/packages/turf-isolines/package.json @@ -14,8 +14,8 @@ ], "scripts": { "pretest": "rollup -c ../../rollup.config.js", - "test": "node -r @std/esm test.js", - "bench": "node -r @std/esm bench.js", + "test": "node -r esm test.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -40,7 +40,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "0.21.x", "@turf/envelope": "^5.1.5", "@turf/point-grid": "6.x", "@turf/random": "6.x", @@ -59,9 +58,5 @@ "@turf/invariant": "6.x", "@turf/meta": "6.x", "object-assign": "*" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-line-chunk/package.json b/packages/turf-line-chunk/package.json index 9194ccae21..722a715ade 100644 --- a/packages/turf-line-chunk/package.json +++ b/packages/turf-line-chunk/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -42,7 +42,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -55,9 +54,5 @@ "@turf/length": "6.x", "@turf/line-slice-along": "^5.1.5", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-line-offset/package.json b/packages/turf-line-offset/package.json index b5dc8b8a7d..18060fe99f 100644 --- a/packages/turf-line-offset/package.json +++ b/packages/turf-line-offset/package.json @@ -1,4 +1,3 @@ - { "name": "@turf/line-offset", "version": "5.1.5", @@ -15,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -42,7 +41,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -54,9 +52,5 @@ "@turf/helpers": "6.x", "@turf/invariant": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-line-slice-along/package.json b/packages/turf-line-slice-along/package.json index 7a39dcfbc8..e37dd2ffa5 100644 --- a/packages/turf-line-slice-along/package.json +++ b/packages/turf-line-slice-along/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -34,7 +34,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/along": "*", "benchmark": "*", "load-json-file": "*", @@ -46,9 +45,5 @@ "@turf/destination": "6.x", "@turf/distance": "6.x", "@turf/helpers": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-line-slice/package.json b/packages/turf-line-slice/package.json index 2d277a8924..bc666612cd 100644 --- a/packages/turf-line-slice/package.json +++ b/packages/turf-line-slice/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -38,7 +38,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -50,9 +49,5 @@ "@turf/helpers": "6.x", "@turf/invariant": "6.x", "@turf/nearest-point-on-line": "^5.1.5" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-line-split/package.json b/packages/turf-line-split/package.json index 313c474bc7..e1b94eed83 100644 --- a/packages/turf-line-split/package.json +++ b/packages/turf-line-split/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -39,7 +39,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -57,9 +56,5 @@ "@turf/square": "^5.1.5", "@turf/truncate": "6.x", "geojson-rbush": "3.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-mask/package.json b/packages/turf-mask/package.json index 2597d99b69..e67f335d9e 100644 --- a/packages/turf-mask/package.json +++ b/packages/turf-mask/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -34,7 +34,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "mkdirp": "*", @@ -48,9 +47,5 @@ "@turf/meta": "6.x", "@turf/union": "^5.1.5", "rbush": "^2.0.1" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-meta/index.mjs b/packages/turf-meta/index.mjs index 8700d99c69..69573ba7c1 100644 --- a/packages/turf-meta/index.mjs +++ b/packages/turf-meta/index.mjs @@ -786,7 +786,7 @@ export function segmentEach(geojson, callback) { * //= featureIndex * //= multiFeatureIndex * //= geometryIndex - * //= segmentInex + * //= segmentIndex * return currentSegment * }); * diff --git a/packages/turf-midpoint/package.json b/packages/turf-midpoint/package.json index e73cd0985e..6472dc4eae 100644 --- a/packages/turf-midpoint/package.json +++ b/packages/turf-midpoint/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -36,7 +36,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "rollup": "*", "tape": "*" @@ -46,9 +45,5 @@ "@turf/destination": "6.x", "@turf/distance": "6.x", "@turf/helpers": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-planepoint/package.json b/packages/turf-planepoint/package.json index f130aee17c..846ee6e4fb 100644 --- a/packages/turf-planepoint/package.json +++ b/packages/turf-planepoint/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -36,7 +36,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "rollup": "*", "tape": "*" @@ -44,9 +43,5 @@ "dependencies": { "@turf/helpers": "6.x", "@turf/invariant": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-point-on-feature/package.json b/packages/turf-point-on-feature/package.json index 47e9681f61..42a24dcfcc 100644 --- a/packages/turf-point-on-feature/package.json +++ b/packages/turf-point-on-feature/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -37,7 +37,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/meta": "6.x", "@turf/truncate": "6.x", "benchmark": "*", @@ -50,9 +49,5 @@ "@turf/explode": "^5.1.5", "@turf/helpers": "6.x", "@turf/nearest-point": "^5.1.5" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-points-within-polygon/index.d.ts b/packages/turf-points-within-polygon/index.d.ts index 7729ec19ec..efc6083a02 100644 --- a/packages/turf-points-within-polygon/index.d.ts +++ b/packages/turf-points-within-polygon/index.d.ts @@ -1,9 +1,9 @@ -import { Feature, FeatureCollection, Polygon, MultiPolygon, Point } from '@turf/helpers' +import { Feature, FeatureCollection, Polygon, MultiPolygon, Point, Properties } from '@turf/helpers' /** * http://turfjs.org/docs/#pointswithinpolygon */ -export default function pointsWithinPolygon( - points: Feature | FeatureCollection, +export default function pointsWithinPolygon( + points: Feature | FeatureCollection, polygons: Feature | FeatureCollection | G -): FeatureCollection; +): FeatureCollection; diff --git a/packages/turf-points-within-polygon/package.json b/packages/turf-points-within-polygon/package.json index c1776a6375..37f8513074 100644 --- a/packages/turf-points-within-polygon/package.json +++ b/packages/turf-points-within-polygon/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -36,7 +36,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "rollup": "*", "tape": "*" @@ -45,9 +44,5 @@ "@turf/boolean-point-in-polygon": "6.x", "@turf/helpers": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-polygon-smooth/package.json b/packages/turf-polygon-smooth/package.json index b3c2829174..ccb3648976 100644 --- a/packages/turf-polygon-smooth/package.json +++ b/packages/turf-polygon-smooth/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -37,7 +37,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "glob": "*", "load-json-file": "*", @@ -48,9 +47,5 @@ "dependencies": { "@turf/helpers": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-polygon-tangents/package.json b/packages/turf-polygon-tangents/package.json index 82ed925b53..fc82675289 100644 --- a/packages/turf-polygon-tangents/package.json +++ b/packages/turf-polygon-tangents/package.json @@ -1,4 +1,3 @@ - { "name": "@turf/polygon-tangents", "version": "5.1.5", @@ -14,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -41,7 +40,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -55,9 +53,5 @@ "@turf/helpers": "6.x", "@turf/invariant": "6.x", "@turf/nearest-point": "^5.1.5" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-polygonize/package.json b/packages/turf-polygonize/package.json index 5c9bc9ea26..efc47a4b42 100644 --- a/packages/turf-polygonize/package.json +++ b/packages/turf-polygonize/package.json @@ -14,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -40,7 +40,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -53,9 +52,5 @@ "@turf/helpers": "6.x", "@turf/invariant": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-rectangle-grid/package.json b/packages/turf-rectangle-grid/package.json index 3bb8fac4d0..ac474ca8da 100644 --- a/packages/turf-rectangle-grid/package.json +++ b/packages/turf-rectangle-grid/package.json @@ -38,7 +38,6 @@ "devDependencies": { "@turf/bbox-polygon": "*", "@turf/truncate": "*", - "@std/esm": "*", "benchmark": "*", "rollup": "*", "write-json-file": "*", diff --git a/packages/turf-rewind/index.d.ts b/packages/turf-rewind/index.d.ts index d81fe8829a..4f7e72b60e 100644 --- a/packages/turf-rewind/index.d.ts +++ b/packages/turf-rewind/index.d.ts @@ -6,7 +6,7 @@ import { AllGeoJSON } from '@turf/helpers'; export default function rewind( geojson: T, options?: { - reversed?: boolean, + reverse?: boolean, mutate?: boolean } ): T; diff --git a/packages/turf-rewind/package.json b/packages/turf-rewind/package.json index 0060f8bab4..34719a8c40 100644 --- a/packages/turf-rewind/package.json +++ b/packages/turf-rewind/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -41,7 +41,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -54,9 +53,5 @@ "@turf/helpers": "6.x", "@turf/invariant": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-rewind/types.ts b/packages/turf-rewind/types.ts index 92ca655614..3386ea07cc 100644 --- a/packages/turf-rewind/types.ts +++ b/packages/turf-rewind/types.ts @@ -12,4 +12,4 @@ rewind(poly) rewind(multiPoly) rewind(multiLine) rewind(poly, {mutate: true}) -rewind(poly, {mutate: true, reversed: true}) +rewind(poly, {mutate: true, reverse: true}) diff --git a/packages/turf-sample/package.json b/packages/turf-sample/package.json index 9eb8c0b966..61f55bd6b4 100644 --- a/packages/turf-sample/package.json +++ b/packages/turf-sample/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -35,16 +35,11 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "rollup": "*", "tape": "*" }, "dependencies": { "@turf/helpers": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-sector/package.json b/packages/turf-sector/package.json index a3dd76d95b..0c5cc0ca5c 100644 --- a/packages/turf-sector/package.json +++ b/packages/turf-sector/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -33,7 +33,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -47,9 +46,5 @@ "@turf/invariant": "6.x", "@turf/line-arc": "^5.1.5", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-shortest-path/package.json b/packages/turf-shortest-path/package.json index 820dff39f0..6cbe6ab8a9 100644 --- a/packages/turf-shortest-path/package.json +++ b/packages/turf-shortest-path/package.json @@ -14,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -39,7 +39,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -57,9 +56,5 @@ "@turf/invariant": "6.x", "@turf/meta": "6.x", "@turf/transform-scale": "^5.1.5" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-simplify/package.json b/packages/turf-simplify/package.json index dc71f58ee0..8d320d8a93 100644 --- a/packages/turf-simplify/package.json +++ b/packages/turf-simplify/package.json @@ -14,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -42,7 +42,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -55,9 +54,5 @@ "@turf/clone": "6.x", "@turf/helpers": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-square/package.json b/packages/turf-square/package.json index 2008586c09..639356853c 100644 --- a/packages/turf-square/package.json +++ b/packages/turf-square/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -35,7 +35,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "rollup": "*", "tape": "*" @@ -43,9 +42,5 @@ "dependencies": { "@turf/distance": "6.x", "@turf/helpers": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-standard-deviational-ellipse/package.json b/packages/turf-standard-deviational-ellipse/package.json index a9bad1dbfb..0493d72c08 100644 --- a/packages/turf-standard-deviational-ellipse/package.json +++ b/packages/turf-standard-deviational-ellipse/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -38,7 +38,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/random": "6.x", "@turf/truncate": "6.x", "benchmark": "*", @@ -54,9 +53,5 @@ "@turf/invariant": "6.x", "@turf/meta": "6.x", "@turf/points-within-polygon": "^5.1.5" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-tag/package.json b/packages/turf-tag/package.json index d0e678614d..cf3d1825ea 100644 --- a/packages/turf-tag/package.json +++ b/packages/turf-tag/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -39,7 +39,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "load-json-file": "*", "rollup": "*", @@ -50,9 +49,5 @@ "@turf/clone": "6.x", "@turf/helpers": "6.x", "@turf/meta": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-tesselate/package.json b/packages/turf-tesselate/package.json index 2c216e2054..6457a2b973 100644 --- a/packages/turf-tesselate/package.json +++ b/packages/turf-tesselate/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -43,7 +43,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "rollup": "*", "tape": "*" @@ -51,9 +50,5 @@ "dependencies": { "@turf/helpers": "6.x", "earcut": "^2.0.0" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-transform-rotate/package.json b/packages/turf-transform-rotate/package.json index 14c32b7e05..5d46924480 100644 --- a/packages/turf-transform-rotate/package.json +++ b/packages/turf-transform-rotate/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -39,7 +39,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -56,9 +55,5 @@ "@turf/rhumb-bearing": "6.x", "@turf/rhumb-destination": "6.x", "@turf/rhumb-distance": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-transform-scale/package.json b/packages/turf-transform-scale/package.json index d8242e6de8..5f94651f1e 100644 --- a/packages/turf-transform-scale/package.json +++ b/packages/turf-transform-scale/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -43,7 +43,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/bbox-polygon": "6.x", "@turf/hex-grid": "^5.1.5", "@turf/truncate": "6.x", @@ -64,9 +63,5 @@ "@turf/rhumb-bearing": "6.x", "@turf/rhumb-destination": "6.x", "@turf/rhumb-distance": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-transform-translate/package.json b/packages/turf-transform-translate/package.json index c0632e85c6..5750d5d7f6 100644 --- a/packages/turf-transform-translate/package.json +++ b/packages/turf-transform-translate/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -41,7 +41,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/truncate": "6.x", "benchmark": "*", "load-json-file": "*", @@ -55,9 +54,5 @@ "@turf/invariant": "6.x", "@turf/meta": "6.x", "@turf/rhumb-destination": "6.x" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-unkink-polygon/package.json b/packages/turf-unkink-polygon/package.json index 57d7005779..26bd46ee49 100644 --- a/packages/turf-unkink-polygon/package.json +++ b/packages/turf-unkink-polygon/package.json @@ -14,9 +14,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -37,7 +37,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "@turf/kinks": "^5.1.5", "benchmark": "*", "load-json-file": "*", @@ -51,9 +50,5 @@ "@turf/helpers": "6.x", "@turf/meta": "6.x", "rbush": "^2.0.1" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/packages/turf-voronoi/index.d.ts b/packages/turf-voronoi/index.d.ts index ed756838d2..f33c2b6b0f 100644 --- a/packages/turf-voronoi/index.d.ts +++ b/packages/turf-voronoi/index.d.ts @@ -5,5 +5,5 @@ import { FeatureCollection, BBox, Point, Polygon } from '@turf/helpers'; */ export default function voronoi( points: FeatureCollection, - bbox: BBox + options: {bbox: BBox} ): FeatureCollection; diff --git a/packages/turf-voronoi/package.json b/packages/turf-voronoi/package.json index 9a1c6a452e..7b704fb73d 100644 --- a/packages/turf-voronoi/package.json +++ b/packages/turf-voronoi/package.json @@ -13,9 +13,9 @@ ], "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", + "test": "node -r esm test.js", + "posttest": "node -r esm ../../scripts/validate-es5-dependencies.js", + "bench": "node -r esm bench.js", "docs": "node ../../scripts/generate-readmes" }, "repository": { @@ -42,7 +42,6 @@ }, "homepage": "https://github.com/Turfjs/turf", "devDependencies": { - "@std/esm": "*", "benchmark": "*", "glob": "*", "load-json-file": "*", @@ -54,9 +53,5 @@ "@turf/helpers": "6.x", "@turf/invariant": "6.x", "d3-voronoi": "1.1.2" - }, - "@std/esm": { - "esm": "js", - "cjs": true } } diff --git a/yarn.lock b/yarn.lock index 3edf25b690..f2d090323a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,10 +12,6 @@ vfile "2.0.0" vfile-reporter "3.0.0" -"@std/esm@*", "@std/esm@0.21.x": - version "0.21.7" - resolved "https://registry.yarnpkg.com/@std/esm/-/esm-0.21.7.tgz#492d7931aed03e91a133deac4d9062fbfce5fd6b" - "@turf/area@^5.1.5": version "5.1.5" resolved "https://registry.yarnpkg.com/@turf/area/-/area-5.1.5.tgz#efd899bfd260cdbd1541b2a3c155f8a5d2eefa1d" @@ -159,6 +155,13 @@ dependencies: "@turf/helpers" "^5.1.5" +"@turf/kinks@5.1.x", "@turf/kinks@^5.1.5": + version "5.1.5" + resolved "https://registry.yarnpkg.com/@turf/kinks/-/kinks-5.1.5.tgz#8abb6961d9bb0107213baddf2c2c2640d0256980" + integrity sha1-irtpYdm7AQchO63fLCwmQNAlaYA= + dependencies: + "@turf/helpers" "^5.1.5" + "@turf/line-arc@5.1.x", "@turf/line-arc@^5.1.5": version "5.1.5" resolved "https://registry.yarnpkg.com/@turf/line-arc/-/line-arc-5.1.5.tgz#0078a7447835a12ae414a211f9a64d1186150e15" @@ -2317,6 +2320,11 @@ eslint@*: table "^4.0.1" text-table "~0.2.0" +esm@^3.2.25: + version "3.2.25" + resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" + integrity sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA== + espree@^3.5.2: version "3.5.3" resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.3.tgz#931e0af64e7fbbed26b050a29daad1fc64799fa6" @@ -3812,9 +3820,10 @@ markdown-table@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.1.tgz#4b3dd3a133d1518b8ef0dbc709bf2a1b4824bc8c" -martinez-polygon-clipping@*: +martinez-polygon-clipping@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/martinez-polygon-clipping/-/martinez-polygon-clipping-0.4.3.tgz#a3971ddf1da147104b5d0fbbf68f728bb62885c1" + integrity sha512-3ZNS0ksKhWTLsmCUkNf+/UimndZ5U2cVOS0I+IjiwF+M23E77TmeOZSmbRJbfCoQUog/vcQ42s3DXrhgOhgPqw== dependencies: splaytree "^0.1.4" tinyqueue "^1.2.0"