diff --git a/.eslintrc.js b/.eslintrc.js index 7392ad7998..6c853c6c1a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -14,18 +14,18 @@ const rules = { module.exports = { root: true, ignorePatterns: ["**/dist/**"], + parser: "@typescript-eslint/parser", plugins: ["@typescript-eslint"], extends: [ "eslint:recommended", "plugin:@typescript-eslint/recommended", - "prettier", - "prettier/@typescript-eslint", + "plugin:prettier/recommended", ], parserOptions: { ecmaVersion: 6, sourceType: "module", }, - env: { es6: true }, + env: { es6: true, node: true }, rules, overrides: [ diff --git a/.github/workflows/turf.yml b/.github/workflows/turf.yml index 931af86204..05ecb6c2b6 100644 --- a/.github/workflows/turf.yml +++ b/.github/workflows/turf.yml @@ -15,28 +15,15 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [16.x, 18.x, 20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - # figure out the yarn cache directory - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - # cache the yarn data to speed up builds - - uses: actions/cache@v2 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- + cache: "yarn" - run: yarn --frozen-lockfile - run: git diff --exit-code diff --git a/.monorepolint.config.ts b/.monorepolint.config.ts index 7946c85562..0e7984ad59 100644 --- a/.monorepolint.config.ts +++ b/.monorepolint.config.ts @@ -113,14 +113,6 @@ module.exports = { publishConfig: { access: "public", }, - exports: { - "./package.json": "./package.json", - ".": { - types: "./index.d.ts", - import: "./dist/es/index.js", - require: "./dist/js/index.js", - }, - }, }, }, includePackages: [...TS_PACKAGES, ...JS_PACKAGES], @@ -130,6 +122,14 @@ module.exports = { entries: { types: "dist/js/index.d.ts", files: ["dist"], + exports: { + "./package.json": "./package.json", + ".": { + types: "./dist/js/index.d.ts", + import: "./dist/es/index.js", + require: "./dist/js/index.js", + }, + }, }, }, includePackages: TS_PACKAGES, @@ -139,6 +139,14 @@ module.exports = { entries: { types: "index.d.ts", files: ["dist", "index.d.ts"], + exports: { + "./package.json": "./package.json", + ".": { + types: "./index.d.ts", + import: "./dist/es/index.js", + require: "./dist/js/index.js", + }, + }, }, }, includePackages: JS_PACKAGES, @@ -156,8 +164,8 @@ module.exports = { { options: { scripts: { - docs: "node ../../scripts/generate-readmes", - test: "npm-run-all test:*", + docs: "tsx ../../scripts/generate-readmes.ts", + test: "npm-run-all --npm-path npm test:*", }, }, excludePackages: [MAIN_PACKAGE], @@ -165,7 +173,7 @@ module.exports = { { options: { scripts: { - build: "npm-run-all build:*", + build: "npm-run-all --npm-path npm build:*", "build:js": "tsc", "build:es": 'tsc --outDir dist/es --module esnext --declaration false && echo \'{"type":"module"}\' > dist/es/package.json', @@ -194,7 +202,7 @@ module.exports = { { options: { scripts: { - "test:tape": "node -r esm test.js", + "test:tape": "tsx test.js", }, }, includePackages: JS_TAPE_PACKAGES, @@ -202,7 +210,7 @@ module.exports = { { options: { scripts: { - "test:tape": "ts-node -r esm test.js", + "test:tape": "tsx test.js", }, }, includePackages: TS_TAPE_PACKAGES, @@ -210,7 +218,7 @@ module.exports = { { options: { scripts: { - bench: "node -r esm bench.js", + bench: "tsx bench.js", }, }, includePackages: JS_TAPE_PACKAGES, @@ -218,7 +226,7 @@ module.exports = { { options: { scripts: { - bench: "ts-node bench.js", + bench: "tsx bench.js", }, }, includePackages: TS_TAPE_PACKAGES, @@ -252,7 +260,7 @@ module.exports = { tslib: "^2.3.0", }, devDependencies: { - "ts-node": "*", + tsx: "*", typescript: "*", }, }, @@ -262,6 +270,7 @@ module.exports = { options: { devDependencies: { rollup: "*", + tsx: "*", }, }, includePackages: JS_PACKAGES, diff --git a/.prettierignore b/.prettierignore index 150f3a1ca9..d61eb9d6e9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -10,3 +10,10 @@ packages/turf-directional-mean/test/in/bus_route_utm.json # is actually output packages/turf/turf.min.js + +# Ignore test fixture json in case intentional line breaks help with coord +# readability. +packages/turf-*/test/in/** +packages/turf-*/test/out/** +packages/turf-*/test/true/** +packages/turf-*/test/false/** diff --git a/.prettierrc.json b/.prettierrc.json index 0967ef424b..757fd64caa 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1 +1,3 @@ -{} +{ + "trailingComma": "es5" +} diff --git a/CHANGELOG.md b/CHANGELOG.md index f4f4ce292d..f96cbe32d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you - Move distribution JS to target ES2017 (#2237) - [`@turf/helpers`](helpers) Correct the conversion factor for degrees (#2177) - [`@turf/helpers`](helpers) polygon() will now throw if the first and last coordinates are not the same (#2173) +- [`@turf/helpers`](helpers) Separate AreaUnits into its own type (#2393) - [`@turf/area`](area) Fix earth radius to use WGS84 median earth radius (#2166) - [`@turf/turf`](turf) Remove re-exports for turf 4.x compatability (#2183) - [`@turf/rectangle-grid`](rectangle-grid) Fix correctness for large areas (#2106) @@ -22,6 +23,7 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you - [`@turf/boolean-point-in-polygon`](boolean-point-in-polygon) Move to point-in-polygon-hao library for performance and correctness (#1893) - [`@turf/line-intersect`][line-intersect] Move to sweepline-intersections library for performance (#2033) - [`@turf/boolean-contains`](boolean-contains) Add multipolygon support (#2338) +- [`@turf/nearest-point`](nearest-point) Add unit option (#2415) ## 🐛 Bug Fixes - [`@turf/polygon-smooth`](polygon-smooth) Options argument is now actually optional (#2149) @@ -42,6 +44,9 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you - [`@turf/boolean-within`](boolean-within) Fix multipoint checks (#2216) - [`@turf/points-within-polygon`](points-within-polygon) Fix dropped properties on MultiPoint results (#2227) - [`@turf/random`](random) Throws error on invalid bbox inputs (#2172) +- [`@turf/boolean-parallel`](boolean-parallel) Lines with 180 degree angle between them are also considered parallel (#2475) +- [`@turf/unkink-polygon`](unkink-polygon) Fix a maximum call stack size exceeded error with very large polygons (#2504) +- [`@turf/line-arc`](line-arc) Number of arc segments generated wasn't related to steps value passed in (#2524) ## 📖 Documentation - [`@turf/bbox`][bbox] Improve documentation (#2153) @@ -52,6 +57,9 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you - [`@turf/buffer`](buffer) Clean up Typescript types (#2188) - [`@turf/polygon-smooth`](polygon-smooth) Clean up a typo (#2293) - [`@turf/nearest-point-on-line`](nearest-point-on-line) Clean up typescript types (#2296) +- [`@turf/boolean-touches`](boolean-touches) Add boolean-touches to docs (#2431) +- [`@turf/boolean-equals`](boolean-equals) Improve docs (#2412) + - Remove Bower references (#2146) - Fix typo in README (#2313) - Lots of cleanup for CONTRIBUTING, README, and RELEASING (#2186) @@ -63,6 +71,7 @@ We intend to keep making breaking changes before 7.0.0 is fully released. If you - [`@turf/turf](turf) Add booleanTouches export (#2170) - [`@turf/turf](turf) Add booleanConcave export (#2265) - [`@turf/helpers](helpers) Make isObject a little more accurate (#2176) +- Add custom types entry point to exports, required by Typescript for node16, nodenext and bundler module resolution strategies (#2400, #2452) - types.ts tests are now run in strict mode (#2363) - Uses tslib now for smaller bundles (#2165) - Remove object-assign dependency from all packages (#2241) diff --git a/README.md b/README.md index 12661026da..330bcfa651 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,11 @@ ***A modular geospatial engine written in JavaScript*** -[turfjs.org](http://turfjs.org/) +[turfjs.org](https://turfjs.org/) - - - -[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). +[Turf](https://turfjs.org) is a [JavaScript library](https://en.wikipedia.org/wiki/JavaScript_library) for [spatial analysis](https://en.wikipedia.org/wiki/Spatial_analysis). It includes traditional spatial operations, helper functions for creating [GeoJSON](https://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](https://nodejs.org/) (see below). ## Installation @@ -66,7 +66,7 @@ Ports of Turf.js are available in: ## Data in Turf -Turf uses GeoJSON for all geographic data. Turf expects the data to be standard WGS84 longitude, latitude coordinates. Check out geojson.io for a tool to easily create this data. +Turf uses GeoJSON for all geographic data. Turf expects the data to be standard WGS84 longitude, latitude coordinates. Check out geojson.io for a tool to easily create this data. > **NOTE:** Turf expects data in (longitude, latitude) order per the GeoJSON standard. diff --git a/documentation.yml b/documentation.yml index b5efb85ae5..671d6b5722 100644 --- a/documentation.yml +++ b/documentation.yml @@ -143,6 +143,7 @@ toc: - booleanParallel - booleanPointInPolygon - booleanPointOnLine + - booleanTouches - booleanWithin - name: Unit Conversion - bearingToAzimuth diff --git a/examples/browser/index.html b/examples/browser/index.html index abdf1f4753..aaf1f88a15 100644 --- a/examples/browser/index.html +++ b/examples/browser/index.html @@ -1,4 +1,4 @@ - + diff --git a/examples/create-react-app/public/index.html b/examples/create-react-app/public/index.html index 1eb1fdc1a7..78d21bbbda 100644 --- a/examples/create-react-app/public/index.html +++ b/examples/create-react-app/public/index.html @@ -1,4 +1,4 @@ - + diff --git a/examples/es-modules-single-module/index.html b/examples/es-modules-single-module/index.html index b0f200d5d4..3c26e25b17 100644 --- a/examples/es-modules-single-module/index.html +++ b/examples/es-modules-single-module/index.html @@ -1,4 +1,4 @@ - + diff --git a/examples/es-modules/index.html b/examples/es-modules/index.html index 94e0a7f25e..a651864742 100644 --- a/examples/es-modules/index.html +++ b/examples/es-modules/index.html @@ -1,4 +1,4 @@ - + diff --git a/lerna.json b/lerna.json index f35cb1c8e9..7e50b10106 100644 --- a/lerna.json +++ b/lerna.json @@ -1,16 +1,9 @@ { - "packages": [ - "packages/*" - ], + "npmClient": "yarn", + "version": "7.0.0-alpha.2", "command": { - "bootstrap": { - "useWorkspaces": true, - "ignoreScripts": true - }, "publish": { "registry": "https://registry.npmjs.org" } - }, - "npmClient": "yarn", - "version": "7.0.0-alpha.0" + } } diff --git a/nx.json b/nx.json new file mode 100644 index 0000000000..904e9c1bcf --- /dev/null +++ b/nx.json @@ -0,0 +1,22 @@ +{ + "tasksRunnerOptions": { + "default": { + "runner": "nx/tasks-runners/default", + "options": { + "cacheableOperations": ["build", "test", "last-checks"] + } + } + }, + "targetDefaults": { + "build": { + "dependsOn": ["^build"], + "outputs": ["{projectRoot}/dist"] + }, + "test": { + "dependsOn": ["^test"] + }, + "last-checks": { + "dependsOn": ["^last-checks"] + } + } +} diff --git a/package.json b/package.json index 9eba042c3a..7f32a5237e 100644 --- a/package.json +++ b/package.json @@ -13,11 +13,11 @@ "lint:escheck-esm": "es-check --module es8 packages/*/dist/es/index.js", "lint:escheck-es5": "es-check es5 packages/turf/turf.min.js", "postlint": "documentation lint packages/turf-*/index.js", - "prepare": "lerna bootstrap && lerna run build && node ./scripts/add-import-extensions.js", + "prepare": "lerna run build && node ./scripts/add-import-extensions.js", "pretest": "npm run lint", "test": "lerna run test", "posttest": "lerna run --scope @turf/turf last-checks", - "docs": "node ./scripts/generate-readmes" + "docs": "tsx ./scripts/generate-readmes.ts" }, "husky": { "hooks": { @@ -39,33 +39,35 @@ }, "devDependencies": { "@types/geojson": "7946.0.8", - "@types/node": "^17.0.2", - "@typescript-eslint/eslint-plugin": "^4.8.0", - "@typescript-eslint/parser": "^4.8.0", + "@types/node": "18.11.9", + "@typescript-eslint/eslint-plugin": "^6.8.0", + "@typescript-eslint/parser": "^6.8.0", "acorn": "^7.4.1", "camelcase": "*", "d3-queue": "*", "decamelize": "*", "dependency-tree": "^8.1.2", - "documentation": "^13.2.5", - "es-check": "^5.1.4", - "eslint": "~7.13.0", - "eslint-config-prettier": "^6.15.0", + "documentation": "^14.0.2", + "es-check": "^7.1.1", + "eslint": "^8.51.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-prettier": "^5.0.1", "esm": "^3.2.25", "fs-extra": "*", "husky": "^4.2.3", - "lerna": "^4.0.0", + "lerna": "^7.3.0", "lint-staged": "^10.0.8", "load-json-file": "*", "meow": "*", "monorepolint": "^0.5.0-alpha.20", "npm-run-all": "^4.1.5", - "prettier": "^2.1.2", + "prettier": "^3.0.3", "progress": "*", "rollup": "^2.34.2", - "tape": "*", + "tape": "^5.7.0", "ts-node": "^9.0.0", - "typescript": "^3.8.3", + "tsx": "^3.12.8", + "typescript": "^5.2.2", "yamljs": "*" } } diff --git a/packages/turf-along/README.md b/packages/turf-along/README.md index 932e62a521..e172218e84 100644 --- a/packages/turf-along/README.md +++ b/packages/turf-along/README.md @@ -8,11 +8,11 @@ Takes a [LineString][1] and returns a [Point][2] at a specified distance along t ### Parameters -* `line` **[Feature][3]<[LineString][4]>** input line -* `distance` **[number][5]** distance along the line -* `options` **[Object][6]?** Optional parameters +* `line` **[Feature][3]<[LineString][1]>** input line +* `distance` **[number][4]** distance along the line +* `options` **[Object][5]?** Optional parameters - * `options.units` **[string][7]** can be degrees, radians, miles, or kilometers (optional, default `"kilometers"`) + * `options.units` **[string][6]** can be degrees, radians, miles, or kilometers (optional, default `"kilometers"`) ### Examples @@ -26,7 +26,7 @@ var along = turf.along(line, 200, options); var addToMap = [along, line] ``` -Returns **[Feature][3]<[Point][8]>** Point `distance` `units` along the line +Returns **[Feature][3]<[Point][2]>** Point `distance` `units` along the line [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -34,36 +34,27 @@ Returns **[Feature][3]<[Point][8]>** Point `distance` `units` along the line [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/along ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-along/package.json b/packages/turf-along/package.json index e4903e4f3e..8f810b750a 100644 --- a/packages/turf-along/package.json +++ b/packages/turf-along/package.json @@ -1,6 +1,6 @@ { "name": "@turf/along", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf along module", "author": "Turf Authors", "license": "MIT", @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,13 +39,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -53,16 +53,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-angle/README.md b/packages/turf-angle/README.md index dbdab3407f..90d49f5904 100644 --- a/packages/turf-angle/README.md +++ b/packages/turf-angle/README.md @@ -34,26 +34,21 @@ Returns **[number][4]** Angle between the provided points, or its explementary. [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - + --- -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: ```sh $ npm install @turf/angle ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-angle/package.json b/packages/turf-angle/package.json index 9aaf9bb05a..d16839bf1e 100644 --- a/packages/turf-angle/package.json +++ b/packages/turf-angle/package.json @@ -1,6 +1,6 @@ { "name": "@turf/angle", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf angle module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,34 +39,33 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/distance": "^7.0.0-alpha.0", - "@turf/sector": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/sector": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "glob": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/rhumb-bearing": "^7.0.0-alpha.0", + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/rhumb-bearing": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-angle/test/out/90-degrees.json b/packages/turf-angle/test/out/90-degrees.json index 7d04e7cbbd..4265337bb9 100644 --- a/packages/turf-angle/test/out/90-degrees.json +++ b/packages/turf-angle/test/out/90-degrees.json @@ -17,22 +17,69 @@ [ [124, -22], [124, -20.333333], - [124.174203, -20.341268], - [124.346782, -20.364998], - [124.51613, -20.404302], - [124.680665, -20.458813], - [124.838844, -20.528022], - [124.989183, -20.611283], - [125.130261, -20.707815], - [125.260739, -20.816714], - [125.379367, -20.936957], - [125.485003, -21.067412], - [125.576614, -21.206849], - [125.653297, -21.353949], - [125.714277, -21.507317], - [125.758928, -21.665495], - [125.786768, -21.826973], - [125.797475, -21.990207], + [124.04425, -20.333844], + [124.088474, -20.335376], + [124.132644, -20.337929], + [124.176735, -20.341501], + [124.22072, -20.346089], + [124.264573, -20.351692], + [124.308266, -20.358305], + [124.351775, -20.365925], + [124.395073, -20.374547], + [124.438134, -20.384166], + [124.480932, -20.394777], + [124.523441, -20.406372], + [124.565636, -20.418945], + [124.607491, -20.432488], + [124.648981, -20.446993], + [124.690081, -20.462452], + [124.730767, -20.478855], + [124.771013, -20.496192], + [124.810795, -20.514453], + [124.850089, -20.533627], + [124.888872, -20.553702], + [124.92712, -20.574667], + [124.964809, -20.596508], + [125.001917, -20.619212], + [125.038421, -20.642766], + [125.074299, -20.667156], + [125.109529, -20.692366], + [125.144089, -20.718382], + [125.177958, -20.745187], + [125.211115, -20.772767], + [125.24354, -20.801103], + [125.275212, -20.830179], + [125.306113, -20.859977], + [125.336223, -20.89048], + [125.365524, -20.921668], + [125.393996, -20.953523], + [125.421623, -20.986025], + [125.448387, -21.019156], + [125.474271, -21.052893], + [125.499259, -21.087218], + [125.523336, -21.122109], + [125.546485, -21.157546], + [125.568692, -21.193505], + [125.589943, -21.229966], + [125.610224, -21.266907], + [125.629523, -21.304304], + [125.647826, -21.342135], + [125.665122, -21.380377], + [125.681399, -21.419006], + [125.696646, -21.457999], + [125.710855, -21.497332], + [125.724014, -21.536981], + [125.736115, -21.576922], + [125.74715, -21.617129], + [125.757111, -21.657579], + [125.76599, -21.698246], + [125.773783, -21.739105], + [125.780482, -21.780132], + [125.786084, -21.8213], + [125.790582, -21.862586], + [125.793975, -21.903962], + [125.796258, -21.945403], + [125.797429, -21.986885], [125.797488, -22.028381], [124, -22] ] @@ -55,53 +102,69 @@ [ [124, -22], [126.696439, -22.035218], - [126.682054, -22.280117], - [126.641725, -22.522527], - [126.57571, -22.760099], - [126.484516, -22.990519], - [126.368908, -23.211528], - [126.229905, -23.420951], - [126.068769, -23.616713], - [125.887005, -23.796867], - [125.686343, -23.95961], - [125.468726, -24.10331], - [125.236289, -24.226515], - [124.991339, -24.327981], - [124.73633, -24.406676], - [124.473834, -24.4618], - [124.206514, -24.49279], - [123.937089, -24.499332], - [123.668306, -24.481357], - [123.402902, -24.439049], - [123.143573, -24.372841], - [122.892945, -24.283405], - [122.653537, -24.171653], - [122.427739, -24.038715], - [122.21778, -23.885936], - [122.025708, -23.714854], - [121.853369, -23.527183], - [121.702389, -23.324795], - [121.574161, -23.1097], - [121.469836, -22.884023], - [121.390312, -22.64998], - [121.336236, -22.40986], - [121.307999, -22.165995], - [121.305736, -21.920743], - [121.329335, -21.676463], - [121.378441, -21.435492], - [121.452461, -21.200124], - [121.550581, -20.972591], - [121.671769, -20.755038], - [121.814793, -20.549511], - [121.978233, -20.357933], - [122.160497, -20.182091], - [122.359832, -20.023623], - [122.574347, -19.883997], - [122.802024, -19.764507], - [123.040738, -19.666255], - [123.288275, -19.590147], - [123.54235, -19.536886], - [123.800626, -19.50696], + [126.688162, -22.218141], + [126.665416, -22.400012], + [126.628265, -22.579849], + [126.576855, -22.75668], + [126.511409, -22.929545], + [126.43223, -23.097499], + [126.339701, -23.259623], + [126.234279, -23.415026], + [126.116502, -23.56285], + [125.986979, -23.702275], + [125.846392, -23.832527], + [125.695492, -23.952877], + [125.535093, -24.062653], + [125.366071, -24.161238], + [125.189356, -24.248076], + [125.005929, -24.322678], + [124.816814, -24.384621], + [124.623073, -24.433554], + [124.4258, -24.4692], + [124.22611, -24.491355], + [124.025137, -24.499893], + [123.82402, -24.494767], + [123.623903, -24.476005], + [123.425921, -24.443714], + [123.231195, -24.398077], + [123.040823, -24.339354], + [122.855878, -24.267878], + [122.677392, -24.184053], + [122.506359, -24.088353], + [122.343722, -23.981317], + [122.19037, -23.863547], + [122.047134, -23.735703], + [121.91478, -23.598499], + [121.794008, -23.452698], + [121.685447, -23.29911], + [121.589651, -23.138582], + [121.507098, -22.971999], + [121.43819, -22.800274], + [121.383249, -22.624344], + [121.34252, -22.445167], + [121.316165, -22.263713], + [121.304272, -22.080961], + [121.306846, -21.897892], + [121.323819, -21.715488], + [121.355046, -21.53472], + [121.400308, -21.356549], + [121.459317, -21.181918], + [121.531712, -21.011749], + [121.617071, -20.846936], + [121.714905, -20.688343], + [121.824667, -20.5368], + [121.94575, -20.393097], + [122.077498, -20.25798], + [122.2192, -20.132151], + [122.370104, -20.016261], + [122.529412, -19.910908], + [122.696289, -19.816638], + [122.869865, -19.733934], + [123.049239, -19.663222], + [123.233486, -19.604865], + [123.421658, -19.559163], + [123.612788, -19.526351], + [123.805898, -19.506596], [124, -19.5], [124, -22] ] diff --git a/packages/turf-angle/test/out/acute-inverse.json b/packages/turf-angle/test/out/acute-inverse.json index 1552672d8c..e92c2c4b96 100644 --- a/packages/turf-angle/test/out/acute-inverse.json +++ b/packages/turf-angle/test/out/acute-inverse.json @@ -17,15 +17,69 @@ [ [51.5, 12], [50.487833, 9.836074], - [50.277234, 9.943461], - [50.078172, 10.070529], - [49.892538, 10.216077], - [49.722103, 10.378729], - [49.5685, 10.556944], - [49.433213, 10.749034], - [49.317557, 10.953174], - [49.22267, 11.167425], - [49.1495, 11.389745], + [50.455818, 9.850776], + [50.424022, 9.865934], + [50.392451, 9.881546], + [50.361111, 9.897607], + [50.33001, 9.914115], + [50.299154, 9.931065], + [50.268549, 9.948455], + [50.238202, 9.966281], + [50.20812, 9.984538], + [50.178308, 10.003224], + [50.148772, 10.022334], + [50.11952, 10.041864], + [50.090557, 10.06181], + [50.06189, 10.082168], + [50.033523, 10.102934], + [50.005465, 10.124103], + [49.977719, 10.145671], + [49.950293, 10.167633], + [49.923192, 10.189986], + [49.896422, 10.212723], + [49.869988, 10.23584], + [49.843896, 10.259333], + [49.818152, 10.283196], + [49.792761, 10.307425], + [49.767728, 10.332014], + [49.743059, 10.356958], + [49.718759, 10.382253], + [49.694834, 10.407892], + [49.671288, 10.43387], + [49.648126, 10.460182], + [49.625353, 10.486822], + [49.602975, 10.513785], + [49.580996, 10.541065], + [49.559421, 10.568656], + [49.538254, 10.596553], + [49.5175, 10.624749], + [49.497163, 10.653239], + [49.477248, 10.682016], + [49.45776, 10.711075], + [49.438701, 10.740409], + [49.420077, 10.770013], + [49.401892, 10.79988], + [49.384149, 10.830003], + [49.366852, 10.860377], + [49.350005, 10.890995], + [49.333613, 10.92185], + [49.317677, 10.952936], + [49.302203, 10.984247], + [49.287192, 11.015775], + [49.27265, 11.047515], + [49.258578, 11.079459], + [49.24498, 11.1116], + [49.231858, 11.143933], + [49.219217, 11.17645], + [49.207059, 11.209144], + [49.195385, 11.242008], + [49.1842, 11.275035], + [49.173506, 11.308219], + [49.163304, 11.341552], + [49.153598, 11.375027], + [49.144389, 11.408638], + [49.13568, 11.442376], + [49.127473, 11.476235], [49.119769, 11.510208], [51.5, 12] ] @@ -48,60 +102,69 @@ [ [51.5, 12], [47.932822, 11.25803], - [47.873567, 11.603477], - [47.848992, 11.952945], - [47.859463, 12.303091], - [47.905017, 12.650551], - [47.985359, 12.991975], - [48.099856, 13.324054], - [48.247537, 13.643558], - [48.4271, 13.947363], - [48.636914, 14.232484], - [48.875029, 14.496108], - [49.139195, 14.735622], - [49.426877, 14.948639], - [49.735278, 15.133032], - [50.06137, 15.286948], - [50.401919, 15.40884], - [50.753526, 15.497476], - [51.112662, 15.551961], - [51.475707, 15.571742], - [51.838997, 15.556618], - [52.198865, 15.506745], - [52.551684, 15.422625], - [52.893911, 15.305111], - [53.222124, 15.155389], - [53.533069, 14.974966], - [53.823685, 14.765654], - [54.091144, 14.529547], - [54.332875, 14.268996], - [54.546588, 13.986587], - [54.730293, 13.685109], - [54.882315, 13.367523], - [55.001308, 13.036939], - [55.086255, 12.696573], - [55.13648, 12.349726], - [55.151641, 11.999745], - [55.131733, 11.649992], - [55.077077, 11.303816], - [54.988318, 10.964519], - [54.866411, 10.635327], - [54.712609, 10.319362], - [54.528451, 10.019612], - [54.315747, 9.738906], - [54.076559, 9.479888], - [53.813179, 9.244997], - [53.528116, 9.036438], - [53.224067, 8.85617], - [52.903896, 8.705883], - [52.570607, 8.586988], - [52.227323, 8.500597], - [51.87725, 8.447521], - [51.523657, 8.428256], - [51.169844, 8.442984], - [50.819111, 8.491566], - [50.474732, 8.573548], - [50.139926, 8.68816], + [47.880206, 11.551701], + [47.852657, 11.848643], + [47.850444, 12.1468], + [47.873667, 12.4441], + [47.922251, 12.738471], + [47.995945, 13.027852], + [48.094321, 13.310212], + [48.216776, 13.583558], + [48.362528, 13.845956], + [48.530626, 14.095541], + [48.719947, 14.330532], + [48.929209, 14.549244], + [49.156971, 14.750105], + [49.401646, 14.931665], + [49.661512, 15.092608], + [49.934722, 15.231766], + [50.21932, 15.348124], + [50.513252, 15.440832], + [50.814387, 15.509212], + [51.120533, 15.552762], + [51.429455, 15.571163], + [51.738892, 15.564279], + [52.046582, 15.532161], + [52.350276, 15.475046], + [52.647759, 15.393351], + [52.93687, 15.287676], + [53.215519, 15.158792], + [53.481702, 15.007641], + [53.733522, 14.835322], + [53.969197, 14.643085], + [54.187077, 14.43232], + [54.385654, 14.204546], + [54.563573, 13.961397], + [54.719638, 13.704611], + [54.852817, 13.436018], + [54.962251, 13.157522], + [55.047257, 12.871091], + [55.107326, 12.57874], + [55.142126, 12.282518], + [55.151503, 11.984494], + [55.135477, 11.686742], + [55.094241, 11.391327], + [55.028156, 11.100292], + [54.93775, 10.815644], + [54.823708, 10.539341], + [54.68687, 10.27328], + [54.528225, 10.019281], + [54.3489, 9.779083], + [54.150154, 9.554324], + [53.933373, 9.346538], + [53.700055, 9.157138], + [53.451804, 8.987415], + [53.190318, 8.838522], + [52.917382, 8.71147], + [52.634852, 8.607124], + [52.344643, 8.526191], + [52.048723, 8.46922], + [51.749093, 8.4366], + [51.447779, 8.42855], + [51.146818, 8.445126], + [50.848244, 8.486215], + [50.554078, 8.551539], + [50.266308, 8.640653], [49.986887, 8.752953], [51.5, 12] ] diff --git a/packages/turf-angle/test/out/acute.json b/packages/turf-angle/test/out/acute.json index ee6a8a5660..a71ae6582f 100644 --- a/packages/turf-angle/test/out/acute.json +++ b/packages/turf-angle/test/out/acute.json @@ -17,60 +17,69 @@ [ [51.5, 12], [49.15854, 11.518357], - [49.120638, 11.745143], - [49.10556, 11.974473], - [49.113507, 12.204146], - [49.144464, 12.431952], - [49.19819, 12.655692], - [49.274228, 12.873202], - [49.371897, 13.082371], - [49.490303, 13.281165], - [49.628345, 13.467643], - [49.784718, 13.639982], - [49.957931, 13.79649], - [50.146315, 13.935628], - [50.348045, 14.056025], - [50.561151, 14.156492], - [50.783542, 14.236033], - [51.013027, 14.293862], - [51.247338, 14.329405], - [51.484154, 14.342308], - [51.721127, 14.332443], - [51.955908, 14.299909], - [52.18617, 14.245028], - [52.409637, 14.168345], - [52.624106, 14.07062], - [52.827472, 13.95282], - [53.017749, 13.81611], - [53.193088, 13.661836], - [53.3518, 13.491517], - [53.49237, 13.306824], - [53.613467, 13.109566], - [53.713962, 12.901666], - [53.792933, 12.685149], - [53.849671, 12.462117], - [53.883687, 12.234728], - [53.894713, 12.005176], - [53.882703, 11.775673], - [53.84783, 11.548421], - [53.790482, 11.325597], - [53.711258, 11.10933], - [53.610958, 10.901685], - [53.490579, 10.704637], - [53.351299, 10.520059], - [53.194469, 10.349702], - [53.0216, 10.195182], - [52.834345, 10.057961], - [52.634489, 9.939336], - [52.423929, 9.84043], - [52.204659, 9.762175], - [51.978749, 9.70531], - [51.74833, 9.670372], - [51.515573, 9.657691], - [51.282669, 9.667386], - [51.051812, 9.699366], - [50.825175, 9.753328], - [50.604897, 9.828765], + [49.124843, 11.711158], + [49.107647, 11.906037], + [49.107107, 12.101642], + [49.123262, 12.296609], + [49.156037, 12.489577], + [49.205239, 12.679197], + [49.27056, 12.864137], + [49.351579, 13.043099], + [49.447757, 13.214821], + [49.55845, 13.37809], + [49.682904, 13.531749], + [49.820264, 13.674709], + [49.969578, 13.805952], + [50.129802, 13.924543], + [50.299812, 14.029634], + [50.478406, 14.120476], + [50.664316, 14.196415], + [50.856218, 14.256907], + [51.052739, 14.301518], + [51.252473, 14.329928], + [51.453985, 14.34193], + [51.655827, 14.33744], + [51.85655, 14.31649], + [52.054711, 14.279229], + [52.248891, 14.225927], + [52.437699, 14.156966], + [52.619788, 14.072842], + [52.793863, 13.974157], + [52.958691, 13.861619], + [53.113112, 13.736031], + [53.256043, 13.598289], + [53.38649, 13.449375], + [53.503554, 13.290346], + [53.606434, 13.122329], + [53.694435, 12.946513], + [53.766969, 12.764138], + [53.823562, 12.576487], + [53.863854, 12.384879], + [53.887599, 12.190654], + [53.894669, 11.995171], + [53.885052, 11.799792], + [53.858849, 11.605877], + [53.816276, 11.414772], + [53.757661, 11.227801], + [53.683439, 11.046258], + [53.594149, 10.871395], + [53.490431, 10.704419], + [53.373021, 10.54648], + [53.242743, 10.398663], + [53.100509, 10.261983], + [52.947306, 10.137378], + [52.784194, 10.025703], + [52.612299, 9.927722], + [52.4328, 9.844107], + [52.246931, 9.775428], + [52.055961, 9.722157], + [51.861198, 9.684656], + [51.66397, 9.663183], + [51.465624, 9.657885], + [51.267512, 9.668796], + [51.070987, 9.695843], + [50.877388, 9.738842], + [50.688039, 9.797497], [50.504234, 9.871408], [51.5, 12] ] @@ -93,15 +102,69 @@ [ [51.5, 12], [50.011338, 8.805989], - [49.701359, 8.963929], - [49.408212, 9.150836], - [49.134662, 9.364957], - [48.883305, 9.60428], - [48.656539, 9.866554], - [48.456547, 10.14931], - [48.285274, 10.449882], - [48.144412, 10.76543], - [48.035382, 11.092966], + [49.964224, 8.827611], + [49.917429, 8.849905], + [49.870962, 8.872865], + [49.824834, 8.896487], + [49.779053, 8.920766], + [49.733629, 8.945697], + [49.688572, 8.971274], + [49.643892, 8.997493], + [49.599597, 9.024348], + [49.555696, 9.051832], + [49.5122, 9.079942], + [49.469117, 9.10867], + [49.426456, 9.138011], + [49.384226, 9.167958], + [49.342435, 9.198506], + [49.301094, 9.229647], + [49.26021, 9.261376], + [49.219792, 9.293686], + [49.179848, 9.32657], + [49.140388, 9.360022], + [49.101419, 9.394034], + [49.062949, 9.428599], + [49.024986, 9.46371], + [48.98754, 9.499359], + [48.950617, 9.53554], + [48.914225, 9.572245], + [48.878372, 9.609465], + [48.843067, 9.647194], + [48.808315, 9.685423], + [48.774125, 9.724145], + [48.740504, 9.763351], + [48.707459, 9.803033], + [48.674998, 9.843183], + [48.643126, 9.883792], + [48.611852, 9.924852], + [48.581181, 9.966355], + [48.551121, 10.008291], + [48.521677, 10.050652], + [48.492857, 10.093429], + [48.464666, 10.136613], + [48.437111, 10.180196], + [48.410197, 10.224167], + [48.38393, 10.268518], + [48.358317, 10.313239], + [48.333362, 10.358321], + [48.309072, 10.403755], + [48.285451, 10.449531], + [48.262506, 10.495639], + [48.24024, 10.54207], + [48.218658, 10.588814], + [48.197767, 10.635862], + [48.17757, 10.683202], + [48.158072, 10.730826], + [48.139277, 10.778723], + [48.121189, 10.826884], + [48.103814, 10.875298], + [48.087154, 10.923954], + [48.071213, 10.972843], + [48.055996, 11.021955], + [48.041505, 11.071279], + [48.027744, 11.120804], + [48.014717, 11.17052], + [48.002426, 11.220418], [47.990875, 11.270485], [51.5, 12] ] diff --git a/packages/turf-angle/test/out/obtuse-bigger.json b/packages/turf-angle/test/out/obtuse-bigger.json index bc0960f07e..63f0216685 100644 --- a/packages/turf-angle/test/out/obtuse-bigger.json +++ b/packages/turf-angle/test/out/obtuse-bigger.json @@ -17,27 +17,69 @@ [ [51.5, 12], [50.487833, 9.836074], - [50.277234, 9.943461], - [50.078172, 10.070529], - [49.892538, 10.216077], - [49.722103, 10.378729], - [49.5685, 10.556944], - [49.433213, 10.749034], - [49.317557, 10.953174], - [49.22267, 11.167425], - [49.1495, 11.389745], - [49.098792, 11.618014], - [49.071086, 11.850048], - [49.066705, 12.083622], - [49.08575, 12.316494], - [49.128101, 12.546418], - [49.193411, 12.771173], - [49.281108, 12.988582], - [49.390402, 13.196533], - [49.520282, 13.392999], - [49.669531, 13.57606], - [49.836735, 13.743922], - [50.020291, 13.894936], + [50.415688, 9.870001], + [50.344705, 9.906244], + [50.274961, 9.944764], + [50.20653, 9.985519], + [50.139487, 10.028467], + [50.073904, 10.07356], + [50.009852, 10.120751], + [49.9474, 10.169988], + [49.886617, 10.221219], + [49.827567, 10.274389], + [49.770315, 10.32944], + [49.714924, 10.386313], + [49.661454, 10.444947], + [49.609964, 10.505278], + [49.56051, 10.567243], + [49.513147, 10.630774], + [49.467926, 10.695802], + [49.424898, 10.762257], + [49.384111, 10.830068], + [49.34561, 10.899161], + [49.309438, 10.969462], + [49.275636, 11.040894], + [49.244242, 11.113381], + [49.215292, 11.186844], + [49.188819, 11.261202], + [49.164853, 11.336377], + [49.143422, 11.412286], + [49.124552, 11.488846], + [49.108264, 11.565975], + [49.09458, 11.643588], + [49.083515, 11.721602], + [49.075084, 11.79993], + [49.069299, 11.878489], + [49.066168, 11.957192], + [49.065696, 12.035953], + [49.067887, 12.114687], + [49.072741, 12.193306], + [49.080254, 12.271725], + [49.090421, 12.349859], + [49.103233, 12.427621], + [49.118679, 12.504926], + [49.136743, 12.58169], + [49.157408, 12.657827], + [49.180655, 12.733254], + [49.206459, 12.807888], + [49.234795, 12.881646], + [49.265633, 12.954447], + [49.298942, 13.026211], + [49.334688, 13.096859], + [49.372832, 13.166311], + [49.413335, 13.234492], + [49.456154, 13.301325], + [49.501244, 13.366736], + [49.548555, 13.430652], + [49.598038, 13.493003], + [49.64964, 13.553719], + [49.703304, 13.612733], + [49.758972, 13.669977], + [49.816583, 13.72539], + [49.876076, 13.778908], + [49.937384, 13.830471], + [50.000441, 13.880023], + [50.065177, 13.927507], [50.131521, 13.972871], [51.5, 12] ] @@ -60,48 +102,69 @@ [ [51.5, 12], [49.438664, 14.956465], - [49.747822, 15.139689], - [50.074546, 15.29237], - [50.415597, 15.412972], - [50.767569, 15.500276], - [51.126927, 15.5534], - [51.490051, 15.571806], - [51.853276, 15.555308], - [52.212935, 15.504072], - [52.565402, 15.418617], - [52.90714, 15.299808], - [53.234733, 15.148845], - [53.544933, 14.967247], - [53.834688, 14.756837], - [54.101179, 14.51972], - [54.341847, 14.258257], - [54.554412, 13.975042], - [54.736897, 13.672871], - [54.887641, 13.354713], - [55.005307, 13.023681], - [55.088896, 12.682997], - [55.137743, 12.335963], - [55.151519, 11.985927], - [55.130232, 11.636252], - [55.074218, 11.290285], - [54.984132, 10.951326], - [54.860941, 10.622597], - [54.705911, 10.307216], - [54.520592, 10.008164], - [54.306803, 9.728265], - [54.066616, 9.470154], - [53.802332, 9.236261], - [53.516469, 9.028782], - [53.211729, 8.849666], - [52.890982, 8.700592], - [52.55724, 8.582959], - [52.213626, 8.497869], - [51.863352, 8.446119], - [51.509688, 8.428193], - [51.155934, 8.444261], - [50.80539, 8.494171], - [50.461328, 8.577455], - [50.126964, 8.693334], + [49.641509, 15.081264], + [49.85254, 15.192891], + [50.07084, 15.290851], + [50.295457, 15.374712], + [50.525406, 15.4441], + [50.759673, 15.498708], + [50.997223, 15.538293], + [51.237005, 15.562678], + [51.477954, 15.571755], + [51.719002, 15.565483], + [51.959077, 15.543891], + [52.197114, 15.507073], + [52.432059, 15.455195], + [52.662874, 15.388488], + [52.88854, 15.307247], + [53.108067, 15.211834], + [53.320497, 15.10267], + [53.524905, 14.98024], + [53.720408, 14.845083], + [53.906169, 14.697794], + [54.081395, 14.539021], + [54.245349, 14.369457], + [54.397344, 14.189844], + [54.536752, 14.000964], + [54.663004, 13.803636], + [54.775592, 13.598714], + [54.874069, 13.387083], + [54.958053, 13.169651], + [55.027225, 12.947351], + [55.081334, 12.721134], + [55.12019, 12.491961], + [55.143671, 12.260809], + [55.15172, 12.028654], + [55.144342, 11.796478], + [55.121608, 11.565259], + [55.083651, 11.33597], + [55.030665, 11.10957], + [54.962907, 10.887009], + [54.880689, 10.669215], + [54.784382, 10.457096], + [54.674414, 10.251534], + [54.551265, 10.053385], + [54.415465, 9.86347], + [54.267596, 9.682576], + [54.108285, 9.511453], + [53.938204, 9.350808], + [53.758066, 9.201305], + [53.568623, 9.063562], + [53.370664, 8.938146], + [53.165008, 8.825577], + [52.952508, 8.726317], + [52.73404, 8.640776], + [52.510503, 8.569307], + [52.282818, 8.512204], + [52.051921, 8.469703], + [51.818759, 8.441978], + [51.584289, 8.429144], + [51.349473, 8.431253], + [51.115275, 8.448297], + [50.882655, 8.480206], + [50.652569, 8.526848], + [50.42596, 8.588031], + [50.203762, 8.663503], [49.986887, 8.752953], [51.5, 12] ] diff --git a/packages/turf-angle/test/out/obtuse.json b/packages/turf-angle/test/out/obtuse.json index 99ef8ce227..5c2a544c57 100644 --- a/packages/turf-angle/test/out/obtuse.json +++ b/packages/turf-angle/test/out/obtuse.json @@ -17,44 +17,69 @@ [ [51.5, 12], [50.487833, 9.836074], - [50.277234, 9.943461], - [50.078172, 10.070529], - [49.892538, 10.216077], - [49.722103, 10.378729], - [49.5685, 10.556944], - [49.433213, 10.749034], - [49.317557, 10.953174], - [49.22267, 11.167425], - [49.1495, 11.389745], - [49.098792, 11.618014], - [49.071086, 11.850048], - [49.066705, 12.083622], - [49.08575, 12.316494], - [49.128101, 12.546418], - [49.193411, 12.771173], - [49.281108, 12.988582], - [49.390402, 13.196533], - [49.520282, 13.392999], - [49.669531, 13.57606], - [49.836735, 13.743922], - [50.020291, 13.894936], - [50.218425, 14.027614], - [50.429209, 14.140647], - [50.650581, 14.232917], - [50.880362, 14.30351], - [51.116285, 14.351725], - [51.356013, 14.377083], - [51.59717, 14.379333], - [51.837362, 14.358452], - [52.074209, 14.314647], - [52.305363, 14.248355], - [52.528542, 14.160231], - [52.741549, 14.051151], - [52.942296, 13.922192], - [53.128828, 13.77463], - [53.29934, 13.609917], - [53.452195, 13.429673], - [53.58594, 13.235665], + [50.358618, 9.898909], + [50.233379, 9.969168], + [50.112553, 10.046605], + [49.996566, 10.130951], + [49.885824, 10.22191], + [49.780719, 10.319164], + [49.681622, 10.422375], + [49.588884, 10.53118], + [49.502838, 10.6452], + [49.42379, 10.764034], + [49.352026, 10.887265], + [49.287806, 11.014462], + [49.231365, 11.145177], + [49.18291, 11.278951], + [49.142624, 11.415312], + [49.11066, 11.553779], + [49.087142, 11.693864], + [49.072167, 11.835071], + [49.0658, 11.976901], + [49.068078, 12.11885], + [49.079005, 12.260414], + [49.098557, 12.401089], + [49.126679, 12.540375], + [49.163284, 12.677773], + [49.208255, 12.812793], + [49.261445, 12.944952], + [49.322676, 13.073774], + [49.391742, 13.198797], + [49.468406, 13.31957], + [49.552404, 13.435659], + [49.643443, 13.546643], + [49.741204, 13.65212], + [49.845343, 13.751709], + [49.95549, 13.845048], + [50.071254, 13.931797], + [50.192218, 14.011641], + [50.317949, 14.084288], + [50.447992, 14.149474], + [50.581878, 14.206959], + [50.719119, 14.256534], + [50.859217, 14.298017], + [51.001659, 14.331256], + [51.145927, 14.356129], + [51.291492, 14.372545], + [51.43782, 14.380443], + [51.584377, 14.379796], + [51.730624, 14.370604], + [51.876026, 14.352902], + [52.020051, 14.326755], + [52.162172, 14.292258], + [52.301869, 14.249539], + [52.438634, 14.198753], + [52.571968, 14.140087], + [52.701388, 14.073756], + [52.826426, 14], + [52.94663, 13.919091], + [53.061568, 13.831323], + [53.17083, 13.737014], + [53.274026, 13.636509], + [53.37079, 13.530172], + [53.460782, 13.418389], + [53.543687, 13.301563], + [53.619216, 13.180118], [53.68711, 13.05449], [51.5, 12] ] @@ -77,31 +102,69 @@ [ [51.5, 12], [54.787546, 13.574894], - [54.928068, 13.252368], - [55.035164, 12.917965], - [55.107937, 12.574936], - [55.145829, 12.226602], - [55.148618, 11.876317], - [55.116414, 11.527444], - [55.049653, 11.183318], - [54.94909, 10.847218], - [54.815787, 10.522337], - [54.6511, 10.211751], - [54.456665, 9.918397], - [54.234382, 9.645041], - [53.986397, 9.394258], - [53.715082, 9.168405], - [53.423013, 8.969603], - [53.112949, 8.79972], - [52.787806, 8.660347], - [52.450635, 8.552793], - [52.104588, 8.478063], - [51.7529, 8.436859], - [51.398853, 8.429567], - [51.045749, 8.456255], - [50.696883, 8.516673], - [50.355514, 8.610255], - [50.024832, 8.736124], + [54.846609, 13.449936], + [54.900628, 13.32285], + [54.949533, 13.193828], + [54.993256, 13.063064], + [55.031743, 12.930753], + [55.064944, 12.797093], + [55.092818, 12.662285], + [55.115333, 12.526529], + [55.132464, 12.390028], + [55.144195, 12.252984], + [55.150515, 12.1156], + [55.151426, 11.97808], + [55.146932, 11.840628], + [55.13705, 11.703446], + [55.121802, 11.566736], + [55.101218, 11.430701], + [55.075335, 11.29554], + [55.044199, 11.161451], + [55.007863, 11.028631], + [54.966386, 10.897275], + [54.919835, 10.767575], + [54.868285, 10.639721], + [54.811817, 10.513899], + [54.750517, 10.390292], + [54.684482, 10.269082], + [54.61381, 10.150444], + [54.538611, 10.034551], + [54.458997, 9.921571], + [54.375087, 9.81167], + [54.287007, 9.705005], + [54.194889, 9.601733], + [54.098867, 9.502002], + [53.999084, 9.405957], + [53.895687, 9.313739], + [53.788828, 9.225479], + [53.678662, 9.141306], + [53.565351, 9.061341], + [53.449059, 8.985701], + [53.329956, 8.914495], + [53.208215, 8.847825], + [53.084012, 8.785788], + [52.957528, 8.728474], + [52.828944, 8.675965], + [52.698447, 8.628338], + [52.566224, 8.585661], + [52.432468, 8.547995], + [52.29737, 8.515396], + [52.161125, 8.48791], + [52.023929, 8.465577], + [51.88598, 8.448429], + [51.747475, 8.436491], + [51.608615, 8.42978], + [51.469598, 8.428306], + [51.330626, 8.432071], + [51.191897, 8.441069], + [51.05361, 8.455288], + [50.915966, 8.474707], + [50.779162, 8.499299], + [50.643394, 8.529026], + [50.508859, 8.563847], + [50.37575, 8.603712], + [50.244259, 8.648562], + [50.114576, 8.698333], [49.986887, 8.752953], [51.5, 12] ] diff --git a/packages/turf-area/README.md b/packages/turf-area/README.md index 1fd5318182..aeba55da93 100644 --- a/packages/turf-area/README.md +++ b/packages/turf-area/README.md @@ -28,26 +28,21 @@ Returns **[number][2]** area in square meters [2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - + --- -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: ```sh $ npm install @turf/area ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-area/package.json b/packages/turf-area/package.json index a5ecd52f27..83b1674beb 100644 --- a/packages/turf-area/package.json +++ b/packages/turf-area/package.json @@ -1,6 +1,6 @@ { "name": "@turf/area", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf area module", "author": "Turf Authors", "license": "MIT", @@ -27,7 +27,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -38,13 +38,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -52,14 +52,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-bbox-clip/README.md b/packages/turf-bbox-clip/README.md index 612dba7e96..e9031ca2c0 100644 --- a/packages/turf-bbox-clip/README.md +++ b/packages/turf-bbox-clip/README.md @@ -10,8 +10,8 @@ May result in degenerate edges when clipping Polygons. ### Parameters -* `feature` **[Feature][3]<([LineString][4] | [MultiLineString][5] | [Polygon][6] | [MultiPolygon][7])>** feature to clip to the bbox -* `bbox` **[BBox][8]** extent in \[minX, minY, maxX, maxY] order +* `feature` **[Feature][1]<([LineString][3] | [MultiLineString][4] | [Polygon][5] | [MultiPolygon][6])>** feature to clip to the bbox +* `bbox` **[BBox][7]** extent in \[minX, minY, maxX, maxY] order ### Examples @@ -25,44 +25,37 @@ var clipped = turf.bboxClip(poly, bbox); var addToMap = [bbox, poly, clipped] ``` -Returns **[Feature][3]<([LineString][4] | [MultiLineString][5] | [Polygon][6] | [MultiPolygon][7])>** clipped Feature +Returns **[Feature][1]<([LineString][3] | [MultiLineString][4] | [Polygon][5] | [MultiPolygon][6])>** clipped Feature [1]: https://tools.ietf.org/html/rfc7946#section-3.2 [2]: https://github.com/mapbox/lineclip -[3]: https://tools.ietf.org/html/rfc7946#section-3.2 +[3]: https://tools.ietf.org/html/rfc7946#section-3.1.4 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[4]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.5 +[5]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[6]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[7]: https://tools.ietf.org/html/rfc7946#section-5 -[8]: https://tools.ietf.org/html/rfc7946#section-5 - - + --- -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: ```sh $ npm install @turf/bbox-clip ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-bbox-clip/index.ts b/packages/turf-bbox-clip/index.ts index f3f4a4e629..78607dd66b 100644 --- a/packages/turf-bbox-clip/index.ts +++ b/packages/turf-bbox-clip/index.ts @@ -37,7 +37,7 @@ import { lineclip, polygonclip } from "./lib/lineclip"; */ export default function bboxClip< G extends Polygon | MultiPolygon | LineString | MultiLineString, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >(feature: Feature | G, bbox: BBox) { const geom = getGeom(feature); const type = geom.type; diff --git a/packages/turf-bbox-clip/package.json b/packages/turf-bbox-clip/package.json index 951e198bfe..2bde6d9a7b 100644 --- a/packages/turf-bbox-clip/package.json +++ b/packages/turf-bbox-clip/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bbox-clip", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf bbox-clip module", "author": "Turf Authors", "contributors": [ @@ -33,7 +33,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -44,29 +44,28 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/bbox": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-bbox-polygon/README.md b/packages/turf-bbox-polygon/README.md index ab76e842b7..f0368d0432 100644 --- a/packages/turf-bbox-polygon/README.md +++ b/packages/turf-bbox-polygon/README.md @@ -25,7 +25,7 @@ var poly = turf.bboxPolygon(bbox); var addToMap = [poly] ``` -Returns **[Feature][6]<[Polygon][7]>** a Polygon representation of the bounding box +Returns **[Feature][6]<[Polygon][1]>** a Polygon representation of the bounding box [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -39,28 +39,21 @@ Returns **[Feature][6]<[Polygon][7]>** a Polygon representation of the bounding [6]: https://tools.ietf.org/html/rfc7946#section-3.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - - + --- -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: ```sh $ npm install @turf/bbox-polygon ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-bbox-polygon/index.ts b/packages/turf-bbox-polygon/index.ts index 8d1e1ae914..0dabe181cc 100644 --- a/packages/turf-bbox-polygon/index.ts +++ b/packages/turf-bbox-polygon/index.ts @@ -18,7 +18,9 @@ import { polygon, Id } from "@turf/helpers"; * //addToMap * var addToMap = [poly] */ -export default function bboxPolygon

( +export default function bboxPolygon< + P extends GeoJsonProperties = GeoJsonProperties, +>( bbox: BBox, options: { properties?: P; diff --git a/packages/turf-bbox-polygon/package.json b/packages/turf-bbox-polygon/package.json index 4db0691fd2..cdf5becdd8 100644 --- a/packages/turf-bbox-polygon/package.json +++ b/packages/turf-bbox-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bbox-polygon", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf bbox-polygon module", "author": "Turf Authors", "license": "MIT", @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,25 +39,24 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-bbox/README.md b/packages/turf-bbox/README.md index 3db27b65a1..807ed34aa1 100644 --- a/packages/turf-bbox/README.md +++ b/packages/turf-bbox/README.md @@ -35,26 +35,21 @@ Returns **[BBox][4]** bbox extent in \[minX, minY, maxX, maxY] order [4]: https://tools.ietf.org/html/rfc7946#section-5 - + --- -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: ```sh $ npm install @turf/bbox ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-bbox/package.json b/packages/turf-bbox/package.json index 162c4cd636..6736af2f3e 100644 --- a/packages/turf-bbox/package.json +++ b/packages/turf-bbox/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bbox", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf bbox module", "author": "Turf Authors", "license": "MIT", @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,26 +40,25 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-bearing/README.md b/packages/turf-bearing/README.md index 52e870b63e..3be05a6590 100644 --- a/packages/turf-bearing/README.md +++ b/packages/turf-bearing/README.md @@ -42,26 +42,21 @@ Returns **[number][5]** bearing in decimal degrees, between -180 and 180 degrees [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - + --- -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: ```sh $ npm install @turf/bearing ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-bearing/package.json b/packages/turf-bearing/package.json index 0d95867642..feb7b055e0 100644 --- a/packages/turf-bearing/package.json +++ b/packages/turf-bearing/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bearing", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf bearing module", "author": "Turf Authors", "license": "MIT", @@ -25,7 +25,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -36,28 +36,27 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/destination": "^7.0.0-alpha.0", + "@turf/destination": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-bezier-spline/README.md b/packages/turf-bezier-spline/README.md index 7e8b24c3e0..58a7e82c00 100644 --- a/packages/turf-bezier-spline/README.md +++ b/packages/turf-bezier-spline/README.md @@ -12,12 +12,12 @@ The bezier spline implementation is by [Leszek Rybicki][3]. ### Parameters -* `line` **[Feature][4]<[LineString][5]>** input LineString -* `options` **[Object][6]** Optional parameters (optional, default `{}`) +* `line` **[Feature][4]<[LineString][1]>** input LineString +* `options` **[Object][5]** Optional parameters (optional, default `{}`) - * `options.properties` **[Object][6]** Translate properties to output (optional, default `{}`) - * `options.resolution` **[number][7]** time in milliseconds between points (optional, default `10000`) - * `options.sharpness` **[number][7]** a measure of how curvy the path should be between splines (optional, default `0.85`) + * `options.properties` **[Object][5]** Translate properties to output (optional, default `{}`) + * `options.resolution` **[number][6]** time in milliseconds between points (optional, default `10000`) + * `options.sharpness` **[number][6]** a measure of how curvy the path should be between splines (optional, default `0.85`) ### Examples @@ -38,7 +38,7 @@ var addToMap = [line, curved] curved.properties = { stroke: '#0F0' }; ``` -Returns **[Feature][4]<[LineString][5]>** curved line +Returns **[Feature][4]<[LineString][1]>** curved line [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -48,32 +48,25 @@ Returns **[Feature][4]<[LineString][5]>** curved line [4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - - + --- -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: ```sh $ npm install @turf/bezier-spline ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-bezier-spline/index.ts b/packages/turf-bezier-spline/index.ts index a23c8bd7f1..86d0f4fbe8 100644 --- a/packages/turf-bezier-spline/index.ts +++ b/packages/turf-bezier-spline/index.ts @@ -33,7 +33,7 @@ import Spline from "./lib/spline"; * var addToMap = [line, curved] * curved.properties = { stroke: '#0F0' }; */ -function bezier

( +function bezier

( line: Feature | LineString, options: { properties?: P; diff --git a/packages/turf-bezier-spline/package.json b/packages/turf-bezier-spline/package.json index 658de70266..c8b113822a 100644 --- a/packages/turf-bezier-spline/package.json +++ b/packages/turf-bezier-spline/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bezier-spline", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf bezier-spline module", "author": "Turf Authors", "license": "MIT", @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,13 +39,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -53,14 +53,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-clockwise/README.md b/packages/turf-boolean-clockwise/README.md index 03be0903f4..8bbecfd8be 100755 --- a/packages/turf-boolean-clockwise/README.md +++ b/packages/turf-boolean-clockwise/README.md @@ -34,26 +34,21 @@ Returns **[boolean][5]** true/false [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-clockwise ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-clockwise/package.json b/packages/turf-boolean-clockwise/package.json index 410f43f455..93e701997d 100755 --- a/packages/turf-boolean-clockwise/package.json +++ b/packages/turf-boolean-clockwise/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-clockwise", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-clockwise module", "author": "Turf Authors", "contributors": [ @@ -32,7 +32,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -43,13 +43,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -58,13 +58,12 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-concave/README.md b/packages/turf-boolean-concave/README.md index 1cfdc46f17..b2a41f40ae 100644 --- a/packages/turf-boolean-concave/README.md +++ b/packages/turf-boolean-concave/README.md @@ -27,26 +27,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-concave ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-concave/package.json b/packages/turf-boolean-concave/package.json index 25f0437494..31c41c798e 100644 --- a/packages/turf-boolean-concave/package.json +++ b/packages/turf-boolean-concave/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-concave", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-concave module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -57,13 +57,12 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-contains/README.md b/packages/turf-boolean-contains/README.md index e0cc33bf71..cffaf92905 100644 --- a/packages/turf-boolean-contains/README.md +++ b/packages/turf-boolean-contains/README.md @@ -32,26 +32,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-contains ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-contains/package.json b/packages/turf-boolean-contains/package.json index fa4b87a431..48cc1c76aa 100644 --- a/packages/turf-boolean-contains/package.json +++ b/packages/turf-boolean-contains/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-contains", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-contains module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -59,16 +59,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/boolean-point-on-line": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/boolean-point-on-line": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-crosses/README.md b/packages/turf-boolean-crosses/README.md index 09ba9f361e..f7350b6944 100644 --- a/packages/turf-boolean-crosses/README.md +++ b/packages/turf-boolean-crosses/README.md @@ -34,26 +34,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-crosses ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-crosses/package.json b/packages/turf-boolean-crosses/package.json index bef056fc1c..e3acc11b46 100644 --- a/packages/turf-boolean-crosses/package.json +++ b/packages/turf-boolean-crosses/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-crosses", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-crosses module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -58,16 +58,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/line-intersect": "^7.0.0-alpha.0", - "@turf/polygon-to-line": "^7.0.0-alpha.0", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/line-intersect": "^7.0.0-alpha.2", + "@turf/polygon-to-line": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-disjoint/README.md b/packages/turf-boolean-disjoint/README.md index 99dab9d9d0..6247dba534 100644 --- a/packages/turf-boolean-disjoint/README.md +++ b/packages/turf-boolean-disjoint/README.md @@ -29,26 +29,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-disjoint ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-disjoint/package.json b/packages/turf-boolean-disjoint/package.json index 5d6135f82e..7a41542a2d 100644 --- a/packages/turf-boolean-disjoint/package.json +++ b/packages/turf-boolean-disjoint/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-disjoint", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-disjoint module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -57,16 +57,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/line-intersect": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/polygon-to-line": "^7.0.0-alpha.0", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/line-intersect": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/polygon-to-line": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-equal/README.md b/packages/turf-boolean-equal/README.md index cc599dc9f6..912a42388c 100644 --- a/packages/turf-boolean-equal/README.md +++ b/packages/turf-boolean-equal/README.md @@ -5,7 +5,7 @@ ## booleanEqual Determine whether two geometries of the same type have identical X,Y coordinate values. -See [http://edndoc.esri.com/arcsde/9.0/general_topics/understand_spatial_relations.htm][1] +See [http://edndoc.esri.com/arcsde/9.0/general\_topics/understand\_spatial\_relations.htm][1] ### Parameters @@ -42,26 +42,21 @@ Returns **[boolean][6]** true if the objects are equal, false otherwise [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-equal ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-equal/package.json b/packages/turf-boolean-equal/package.json index 7cba2e9333..c82aa4a1c2 100644 --- a/packages/turf-boolean-equal/package.json +++ b/packages/turf-boolean-equal/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-equal", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-equal module", "author": "Turf Authors", "contributors": [ @@ -34,7 +34,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -45,13 +45,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/geojson-equality": "^0.2.0", @@ -62,14 +62,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/clean-coords": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/clean-coords": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "geojson-equality": "0.1.6", "tslib": "^2.3.0" } diff --git a/packages/turf-boolean-equal/test.js b/packages/turf-boolean-equal/test.js index 3565587ee2..e685e9fca1 100644 --- a/packages/turf-boolean-equal/test.js +++ b/packages/turf-boolean-equal/test.js @@ -55,24 +55,30 @@ const line2 = lineString([ [8, 50], [9, 50], ]); -const poly1 = polygon([ +const poly1 = polygon( [ - [8.5, 50], - [9.5, 50], - [9.5, 49], - [8.5, 49], - [8.5, 50], + [ + [8.5, 50], + [9.5, 50], + [9.5, 49], + [8.5, 49], + [8.5, 50], + ], ], -]); -const poly2 = polygon([ + { prop: "A" } +); +const poly2 = polygon( [ - [8.5, 50], - [9.5, 50], - [9.5, 49], - [8.5, 49], - [8.5, 50], + [ + [8.5, 50], + [9.5, 50], + [9.5, 49], + [8.5, 49], + [8.5, 50], + ], ], -]); + { prop: "B" } +); const poly3 = polygon([ [ [10, 50], @@ -82,12 +88,26 @@ const poly3 = polygon([ [10, 50], ], ]); +const poly4 = polygon( + [ + [ + [8.5, 50], + [9.5, 50], + [9.5, 49], + [8.5, 49], + [8.5, 50], + ], + ], + { prop: "A" } +); test("turf-boolean-equal -- geometries", (t) => { t.true(equal(line1.geometry, line2.geometry), "[true] LineString geometry"); t.true(equal(poly1.geometry, poly2.geometry), "[true] Polygon geometry"); + t.true(equal(poly1, poly4), "[true] Polygon feature"); t.false(equal(poly1.geometry, poly3.geometry), "[false] Polygon geometry"); t.false(equal(pt, line1), "[false] different types"); + t.false(equal(poly1, poly2), "[false] different properties"); t.end(); }); diff --git a/packages/turf-boolean-intersects/README.md b/packages/turf-boolean-intersects/README.md index 26985afd97..b6f0c74fd1 100644 --- a/packages/turf-boolean-intersects/README.md +++ b/packages/turf-boolean-intersects/README.md @@ -14,7 +14,7 @@ Boolean-intersects returns (TRUE) two geometries intersect. ### Examples ```javascript -var point = turf.point([1, 2]); +var point = turf.point([2, 2]); var line = turf.lineString([[1, 1], [1, 2], [1, 3], [1, 4]]); turf.booleanIntersects(line, point); @@ -29,26 +29,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-intersects ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-intersects/package.json b/packages/turf-boolean-intersects/package.json index 30d6719753..974ccd2e9a 100644 --- a/packages/turf-boolean-intersects/package.json +++ b/packages/turf-boolean-intersects/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-intersects", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-intersects module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -57,14 +57,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/boolean-disjoint": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/boolean-disjoint": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-overlap/README.md b/packages/turf-boolean-overlap/README.md index 02d476b61e..21ee8a5a5c 100755 --- a/packages/turf-boolean-overlap/README.md +++ b/packages/turf-boolean-overlap/README.md @@ -44,26 +44,21 @@ Returns **[boolean][7]** true/false [7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-overlap ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-overlap/package.json b/packages/turf-boolean-overlap/package.json index e714c60879..27cffedab2 100755 --- a/packages/turf-boolean-overlap/package.json +++ b/packages/turf-boolean-overlap/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-overlap", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-overlap module", "author": "Turf Authors", "contributors": [ @@ -33,7 +33,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -44,13 +44,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/geojson-equality": "^0.2.0", @@ -61,16 +61,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/line-intersect": "^7.0.0-alpha.0", - "@turf/line-overlap": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/line-intersect": "^7.0.0-alpha.2", + "@turf/line-overlap": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "geojson-equality": "0.1.6", "tslib": "^2.3.0" } diff --git a/packages/turf-boolean-parallel/README.md b/packages/turf-boolean-parallel/README.md index 51d6fa5861..595ef33f79 100644 --- a/packages/turf-boolean-parallel/README.md +++ b/packages/turf-boolean-parallel/README.md @@ -31,26 +31,21 @@ Returns **[boolean][4]** true/false if the lines are parallel [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-parallel ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-parallel/index.ts b/packages/turf-boolean-parallel/index.ts index 1c18d58305..5b055138dd 100644 --- a/packages/turf-boolean-parallel/index.ts +++ b/packages/turf-boolean-parallel/index.ts @@ -53,7 +53,7 @@ function booleanParallel( function isParallel(segment1: Position[], segment2: Position[]) { var slope1 = bearingToAzimuth(rhumbBearing(segment1[0], segment1[1])); var slope2 = bearingToAzimuth(rhumbBearing(segment2[0], segment2[1])); - return slope1 === slope2; + return slope1 === slope2 || (slope2 - slope1) % 180 === 0; } /** diff --git a/packages/turf-boolean-parallel/package.json b/packages/turf-boolean-parallel/package.json index 4b255131f4..2bc4161ee2 100644 --- a/packages/turf-boolean-parallel/package.json +++ b/packages/turf-boolean-parallel/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-parallel", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-parallel module", "author": "Turf Authors", "contributors": [ @@ -30,7 +30,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -41,13 +41,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -55,16 +55,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clean-coords": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/line-segment": "^7.0.0-alpha.0", - "@turf/rhumb-bearing": "^7.0.0-alpha.0", + "@turf/clean-coords": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/line-segment": "^7.0.0-alpha.2", + "@turf/rhumb-bearing": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-parallel/test/true/opposites.geojson b/packages/turf-boolean-parallel/test/true/opposites.geojson new file mode 100644 index 0000000000..7911a6359e --- /dev/null +++ b/packages/turf-boolean-parallel/test/true/opposites.geojson @@ -0,0 +1,27 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [0, 0], + [1, 0] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [1, 0], + [0, 0] + ] + } + } + ] +} diff --git a/packages/turf-boolean-parallel/test/true/verticals.geojson b/packages/turf-boolean-parallel/test/true/verticals.geojson new file mode 100644 index 0000000000..074b854941 --- /dev/null +++ b/packages/turf-boolean-parallel/test/true/verticals.geojson @@ -0,0 +1,27 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [0, 0], + [0, 1] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [1, 0], + [1, 1] + ] + } + } + ] +} diff --git a/packages/turf-boolean-parallel/test/true/verticals3d.geojson b/packages/turf-boolean-parallel/test/true/verticals3d.geojson new file mode 100644 index 0000000000..a6ab7a2819 --- /dev/null +++ b/packages/turf-boolean-parallel/test/true/verticals3d.geojson @@ -0,0 +1,27 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [-10, 20, 0], + [-10, 10, 0] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [-20, 20, 0], + [-20, 10, 0] + ] + } + } + ] +} diff --git a/packages/turf-boolean-point-in-polygon/README.md b/packages/turf-boolean-point-in-polygon/README.md index cee211fc84..b4e929eb17 100644 --- a/packages/turf-boolean-point-in-polygon/README.md +++ b/packages/turf-boolean-point-in-polygon/README.md @@ -10,10 +10,10 @@ resides inside the polygon. The polygon can be convex or concave. The function a ### Parameters * `point` **[Coord][4]** input point -* `polygon` **[Feature][5]<([Polygon][6] | [MultiPolygon][7])>** input polygon or multipolygon -* `options` **[Object][8]** Optional parameters (optional, default `{}`) +* `polygon` **[Feature][5]<([Polygon][2] | [MultiPolygon][3])>** input polygon or multipolygon +* `options` **[Object][6]** Optional parameters (optional, default `{}`) - * `options.ignoreBoundary` **[boolean][9]** True if polygon boundary should be ignored when determining if + * `options.ignoreBoundary` **[boolean][7]** True if polygon boundary should be ignored when determining if the point is inside the polygon otherwise false. (optional, default `false`) ### Examples @@ -32,7 +32,7 @@ turf.booleanPointInPolygon(pt, poly); //= true ``` -Returns **[boolean][9]** `true` if the Point is inside the Polygon; `false` if the Point is not inside the Polygon +Returns **[boolean][7]** `true` if the Point is inside the Polygon; `false` if the Point is not inside the Polygon [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -44,34 +44,25 @@ Returns **[boolean][9]** `true` if the Point is inside the Polygon; `false` if t [5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - -[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - - + --- -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: ```sh $ npm install @turf/boolean-point-in-polygon ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-point-in-polygon/index.ts b/packages/turf-boolean-point-in-polygon/index.ts index 4bac934d7f..f511689836 100644 --- a/packages/turf-boolean-point-in-polygon/index.ts +++ b/packages/turf-boolean-point-in-polygon/index.ts @@ -38,7 +38,7 @@ import { getCoord, getGeom } from "@turf/invariant"; */ export default function booleanPointInPolygon< G extends Polygon | MultiPolygon, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( point: Coord, polygon: Feature | G, diff --git a/packages/turf-boolean-point-in-polygon/package.json b/packages/turf-boolean-point-in-polygon/package.json index 5c8def30cb..6c87bcff06 100644 --- a/packages/turf-boolean-point-in-polygon/package.json +++ b/packages/turf-boolean-point-in-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-point-in-polygon", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-point-in-polygon module", "author": "Turf Authors", "license": "MIT", @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,26 +40,25 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "point-in-polygon-hao": "^1.1.0", "tslib": "^2.3.0" } diff --git a/packages/turf-boolean-point-on-line/README.md b/packages/turf-boolean-point-on-line/README.md index 7a36556630..7269c566a5 100644 --- a/packages/turf-boolean-point-on-line/README.md +++ b/packages/turf-boolean-point-on-line/README.md @@ -39,26 +39,21 @@ Returns **[boolean][5]** true/false [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - + --- -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: ```sh $ npm install @turf/boolean-point-on-line ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-point-on-line/package.json b/packages/turf-boolean-point-on-line/package.json index 082e7a6194..1605087259 100644 --- a/packages/turf-boolean-point-on-line/package.json +++ b/packages/turf-boolean-point-on-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-point-on-line", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-point-on-line module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,13 +39,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -54,14 +54,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-touches/README.md b/packages/turf-boolean-touches/README.md index 7d765d0be2..f6c9c5e326 100644 --- a/packages/turf-boolean-touches/README.md +++ b/packages/turf-boolean-touches/README.md @@ -30,26 +30,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-touches ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-touches/package.json b/packages/turf-boolean-touches/package.json index ae66d6f556..84335cb4eb 100644 --- a/packages/turf-boolean-touches/package.json +++ b/packages/turf-boolean-touches/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-touches", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-touches module", "author": "Turf Authors", "contributors": [ @@ -32,7 +32,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -43,13 +43,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -61,15 +61,14 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/boolean-point-on-line": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/boolean-point-on-line": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-boolean-valid/README.md b/packages/turf-boolean-valid/README.md index 73b052c3ac..211d58d803 100644 --- a/packages/turf-boolean-valid/README.md +++ b/packages/turf-boolean-valid/README.md @@ -27,26 +27,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-valid ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-valid/package.json b/packages/turf-boolean-valid/package.json index 3075901433..8a7856cf66 100644 --- a/packages/turf-boolean-valid/package.json +++ b/packages/turf-boolean-valid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-valid", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-valid module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -59,20 +59,19 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/boolean-crosses": "^7.0.0-alpha.0", - "@turf/boolean-disjoint": "^7.0.0-alpha.0", - "@turf/boolean-overlap": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/boolean-point-on-line": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/line-intersect": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/boolean-crosses": "^7.0.0-alpha.2", + "@turf/boolean-disjoint": "^7.0.0-alpha.2", + "@turf/boolean-overlap": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/boolean-point-on-line": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/line-intersect": "^7.0.0-alpha.2", "geojson-polygon-self-intersections": "1.2.x", "tslib": "^2.3.0" } diff --git a/packages/turf-boolean-within/README.md b/packages/turf-boolean-within/README.md index c7f933cdbf..be7f813401 100644 --- a/packages/turf-boolean-within/README.md +++ b/packages/turf-boolean-within/README.md @@ -32,26 +32,21 @@ Returns **[boolean][3]** true/false [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/boolean-within ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-boolean-within/package.json b/packages/turf-boolean-within/package.json index 8b5f624d22..ea81f1496c 100644 --- a/packages/turf-boolean-within/package.json +++ b/packages/turf-boolean-within/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-within", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf boolean-within module", "author": "Turf Authors", "contributors": [ @@ -32,7 +32,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -43,13 +43,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -61,16 +61,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/boolean-point-on-line": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/boolean-point-on-line": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-buffer/README.md b/packages/turf-buffer/README.md index 64469fb907..664fbd028f 100644 --- a/packages/turf-buffer/README.md +++ b/packages/turf-buffer/README.md @@ -51,26 +51,21 @@ Returns **([FeatureCollection][1] | [Feature][3]<([Polygon][7] | [MultiPolygon][ [9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined - + --- -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: ```sh $ npm install @turf/buffer ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-buffer/index.js b/packages/turf-buffer/index.js index 60a367b7f9..8c51ff419a 100644 --- a/packages/turf-buffer/index.js +++ b/packages/turf-buffer/index.js @@ -1,5 +1,5 @@ import center from "@turf/center"; -import { BufferOp, GeoJSONReader, GeoJSONWriter } from "@turf/jsts"; +import jsts from "@turf/jsts"; import { geomEach, featureEach } from "@turf/meta"; import { geoAzimuthalEquidistant } from "d3-geo"; import { @@ -10,6 +10,8 @@ import { earthRadius, } from "@turf/helpers"; +const { BufferOp, GeoJSONReader, GeoJSONWriter } = jsts; + /** * Calculates a buffer for input features for a given radius. Units supported are miles, kilometers, and degrees. * diff --git a/packages/turf-buffer/package.json b/packages/turf-buffer/package.json index 04f7e6955d..9e163b1185 100644 --- a/packages/turf-buffer/package.json +++ b/packages/turf-buffer/package.json @@ -1,6 +1,6 @@ { "name": "@turf/buffer", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf buffer module", "author": "Turf Authors", "contributors": [ @@ -47,29 +47,30 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/center": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/center": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", "@turf/jsts": "^2.7.1", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/projection": "^7.0.0-alpha.0", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/projection": "^7.0.0-alpha.2", "d3-geo": "1.7.1" } } diff --git a/packages/turf-center-mean/README.md b/packages/turf-center-mean/README.md index 04b5498ccb..1efa4de049 100644 --- a/packages/turf-center-mean/README.md +++ b/packages/turf-center-mean/README.md @@ -34,7 +34,7 @@ mean.properties['marker-size'] = 'large'; mean.properties['marker-color'] = '#000'; ``` -Returns **[Feature][6]<[Point][7]>** a Point feature at the mean center point of all input features +Returns **[Feature][1]<[Point][6]>** a Point feature at the mean center point of all input features [1]: https://tools.ietf.org/html/rfc7946#section-3.2 @@ -46,30 +46,23 @@ Returns **[Feature][6]<[Point][7]>** a Point feature at the mean center point of [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[6]: https://tools.ietf.org/html/rfc7946#section-3.2 +[6]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/center-mean ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-center-mean/index.ts b/packages/turf-center-mean/index.ts index 5dd5cd7511..17cea0f784 100644 --- a/packages/turf-center-mean/index.ts +++ b/packages/turf-center-mean/index.ts @@ -28,7 +28,7 @@ import { isNumber, point, Id } from "@turf/helpers"; * mean.properties['marker-size'] = 'large'; * mean.properties['marker-color'] = '#000'; */ -function centerMean

( +function centerMean

( geojson: any, // To-Do include Typescript AllGeoJSON options: { properties?: P; bbox?: BBox; id?: Id; weight?: string } = {} ): Feature { diff --git a/packages/turf-center-mean/package.json b/packages/turf-center-mean/package.json index 58e6fc1f63..9975ff9070 100644 --- a/packages/turf-center-mean/package.json +++ b/packages/turf-center-mean/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center-mean", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf center-mean module", "author": "Turf Authors", "contributors": [ @@ -33,7 +33,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -44,33 +44,32 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/center": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/center": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "glob": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-center-median/README.md b/packages/turf-center-median/README.md index 10ecdf3665..bc634bc78b 100644 --- a/packages/turf-center-median/README.md +++ b/packages/turf-center-median/README.md @@ -43,12 +43,12 @@ Press, 2009, 150–151. ### Parameters -* `features` **[FeatureCollection][3]\** Any GeoJSON Feature Collection -* `options` **[Object][4]** Optional parameters (optional, default `{}`) +* `features` **[FeatureCollection][1]\** Any GeoJSON Feature Collection +* `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.weight` **[string][5]?** the property name used to weight the center - * `options.tolerance` **[number][6]** the difference in distance between candidate medians at which point the algorighim stops iterating. (optional, default `0.001`) - * `options.counter` **[number][6]** how many attempts to find the median, should the tolerance be insufficient. (optional, default `10`) + * `options.weight` **[string][4]?** the property name used to weight the center + * `options.tolerance` **[number][5]** the difference in distance between candidate medians at which point the algorighim stops iterating. (optional, default `0.001`) + * `options.counter` **[number][5]** how many attempts to find the median, should the tolerance be insufficient. (optional, default `10`) ### Examples @@ -60,44 +60,37 @@ var medianCenter = turf.centerMedian(points); var addToMap = [points, medianCenter] ``` -Returns **[Feature][7]<[Point][8]>** The median center of the collection +Returns **[Feature][6]<[Point][7]>** The median center of the collection [1]: https://tools.ietf.org/html/rfc7946#section-3.3 [2]: https://doi.org/10.1111/j.1467-9787.1962.tb00902.x} -[3]: https://tools.ietf.org/html/rfc7946#section-3.3 +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[6]: https://tools.ietf.org/html/rfc7946#section-3.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.2 +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/center-median ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-center-median/package.json b/packages/turf-center-median/package.json index b4528ff050..87055f1612 100644 --- a/packages/turf-center-median/package.json +++ b/packages/turf-center-median/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center-median", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf center-median module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,35 +39,34 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/center": "^7.0.0-alpha.0", - "@turf/center-of-mass": "^7.0.0-alpha.0", - "@turf/random": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/center": "^7.0.0-alpha.2", + "@turf/center-of-mass": "^7.0.0-alpha.2", + "@turf/random": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/center-mean": "^7.0.0-alpha.0", - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/center-mean": "^7.0.0-alpha.2", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-center-of-mass/README.md b/packages/turf-center-of-mass/README.md index 4f11dfb4a4..7d35fd2fcd 100644 --- a/packages/turf-center-of-mass/README.md +++ b/packages/turf-center-of-mass/README.md @@ -24,7 +24,7 @@ var center = turf.centerOfMass(polygon); var addToMap = [polygon, center] ``` -Returns **[Feature][7]<[Point][8]>** the center of mass +Returns **[Feature][1]<[Point][7]>** the center of mass [1]: https://tools.ietf.org/html/rfc7946#section-3.2 @@ -38,30 +38,23 @@ Returns **[Feature][7]<[Point][8]>** the center of mass [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[7]: https://tools.ietf.org/html/rfc7946#section-3.2 +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/center-of-mass ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-center-of-mass/index.ts b/packages/turf-center-of-mass/index.ts index 9cb8c4b5a5..f010aa5adb 100644 --- a/packages/turf-center-of-mass/index.ts +++ b/packages/turf-center-of-mass/index.ts @@ -21,7 +21,7 @@ import { coordEach } from "@turf/meta"; * //addToMap * var addToMap = [polygon, center] */ -function centerOfMass

( +function centerOfMass

( geojson: any, options: { properties?: P; diff --git a/packages/turf-center-of-mass/package.json b/packages/turf-center-of-mass/package.json index 9c2a210694..2d533102be 100644 --- a/packages/turf-center-of-mass/package.json +++ b/packages/turf-center-of-mass/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center-of-mass", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf center-of-mass module", "author": "Turf Authors", "license": "MIT", @@ -25,7 +25,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -36,13 +36,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -52,17 +52,16 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/convex": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/convex": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-center/README.md b/packages/turf-center/README.md index 1f520a480d..1f138a456a 100644 --- a/packages/turf-center/README.md +++ b/packages/turf-center/README.md @@ -32,7 +32,7 @@ center.properties['marker-size'] = 'large'; center.properties['marker-color'] = '#000'; ``` -Returns **[Feature][5]<[Point][6]>** a Point feature at the absolute center point of all input features +Returns **[Feature][1]<[Point][5]>** a Point feature at the absolute center point of all input features [1]: https://tools.ietf.org/html/rfc7946#section-3.2 @@ -42,30 +42,23 @@ Returns **[Feature][5]<[Point][6]>** a Point feature at the absolute center poin [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[5]: https://tools.ietf.org/html/rfc7946#section-3.2 +[5]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/center ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-center/index.ts b/packages/turf-center/index.ts index d5f25390c8..268513c5f4 100644 --- a/packages/turf-center/index.ts +++ b/packages/turf-center/index.ts @@ -26,7 +26,7 @@ import { point, Id, AllGeoJSON } from "@turf/helpers"; * center.properties['marker-size'] = 'large'; * center.properties['marker-color'] = '#000'; */ -function center

( +function center

( geojson: AllGeoJSON, options: { properties?: P; bbox?: BBox; id?: Id } = {} ): Feature { diff --git a/packages/turf-center/package.json b/packages/turf-center/package.json index ebf21fe27b..c6655079ef 100644 --- a/packages/turf-center/package.json +++ b/packages/turf-center/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf center module", "author": "Turf Authors", "license": "MIT", @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,32 +40,31 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "glob": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-centroid/README.md b/packages/turf-centroid/README.md index 574c7a52bc..3e95e40643 100644 --- a/packages/turf-centroid/README.md +++ b/packages/turf-centroid/README.md @@ -24,7 +24,7 @@ var centroid = turf.centroid(polygon); var addToMap = [polygon, centroid] ``` -Returns **[Feature][4]<[Point][5]>** the centroid of the input object +Returns **[Feature][3]<[Point][4]>** the centroid of the input object [1]: https://tools.ietf.org/html/rfc7946#section-3 @@ -32,30 +32,23 @@ Returns **[Feature][4]<[Point][5]>** the centroid of the input object [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.2 +[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/centroid ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-centroid/index.ts b/packages/turf-centroid/index.ts index 4f13b13ea9..7f30d53e77 100644 --- a/packages/turf-centroid/index.ts +++ b/packages/turf-centroid/index.ts @@ -18,7 +18,7 @@ import { coordEach } from "@turf/meta"; * //addToMap * var addToMap = [polygon, centroid] */ -function centroid

( +function centroid

( geojson: AllGeoJSON, options: { properties?: P; diff --git a/packages/turf-centroid/package.json b/packages/turf-centroid/package.json index 8480e0e893..1e8dd7b90e 100644 --- a/packages/turf-centroid/package.json +++ b/packages/turf-centroid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/centroid", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf centroid module", "author": "Turf Authors", "license": "MIT", @@ -27,7 +27,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -38,13 +38,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -55,14 +55,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-circle/README.md b/packages/turf-circle/README.md index 25cbd3ce0d..89fdaa522c 100644 --- a/packages/turf-circle/README.md +++ b/packages/turf-circle/README.md @@ -8,13 +8,13 @@ Takes a [Point][1] and calculates the circle polygon given a radius in degrees, ### Parameters -* `center` **([Feature][2]<[Point][3]> | [Array][4]<[number][5]>)** center point -* `radius` **[number][5]** radius of the circle -* `options` **[Object][6]** Optional parameters (optional, default `{}`) +* `center` **([Feature][2]<[Point][1]> | [Array][3]<[number][4]>)** center point +* `radius` **[number][4]** radius of the circle +* `options` **[Object][5]** Optional parameters (optional, default `{}`) - * `options.steps` **[number][5]** number of steps (optional, default `64`) - * `options.units` **[string][7]** miles, kilometers, degrees, or radians (optional, default `'kilometers'`) - * `options.properties` **[Object][6]** properties (optional, default `{}`) + * `options.steps` **[number][4]** number of steps (optional, default `64`) + * `options.units` **[string][6]** miles, kilometers, degrees, or radians (optional, default `'kilometers'`) + * `options.properties` **[Object][5]** properties (optional, default `{}`) ### Examples @@ -28,44 +28,37 @@ var circle = turf.circle(center, radius, options); var addToMap = [turf.point(center), circle] ``` -Returns **[Feature][2]<[Polygon][8]>** circle polygon +Returns **[Feature][2]<[Polygon][7]>** circle polygon [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 [2]: https://tools.ietf.org/html/rfc7946#section-3.2 -[3]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - - + --- -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: ```sh $ npm install @turf/circle ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-circle/index.ts b/packages/turf-circle/index.ts index abfbfe8966..a386728964 100644 --- a/packages/turf-circle/index.ts +++ b/packages/turf-circle/index.ts @@ -22,7 +22,7 @@ import { polygon, Units } from "@turf/helpers"; * //addToMap * var addToMap = [turf.point(center), circle] */ -function circle

( +function circle

( center: number[] | Point | Feature, radius: number, options: { diff --git a/packages/turf-circle/package.json b/packages/turf-circle/package.json index c37946b782..83651a7176 100644 --- a/packages/turf-circle/package.json +++ b/packages/turf-circle/package.json @@ -1,6 +1,6 @@ { "name": "@turf/circle", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf circle module", "author": "Turf Authors", "license": "MIT", @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,31 +40,30 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { "@mapbox/geojsonhint": "*", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/destination": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-clean-coords/README.md b/packages/turf-clean-coords/README.md index 25cf1295bb..4552217d6d 100644 --- a/packages/turf-clean-coords/README.md +++ b/packages/turf-clean-coords/README.md @@ -36,26 +36,21 @@ Returns **([Geometry][1] | [Feature][2])** the cleaned input Feature/Geometry [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/clean-coords ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-clean-coords/index.ts b/packages/turf-clean-coords/index.ts index 465ead1014..6fb27e100c 100644 --- a/packages/turf-clean-coords/index.ts +++ b/packages/turf-clean-coords/index.ts @@ -142,6 +142,10 @@ function cleanLine(line: Position[], type: string) { throw new Error("invalid polygon"); } + if (type === "LineString" && newPointsLength < 3) { + return newPoints; + } + if ( isPointOnLineSegment( newPoints[newPointsLength - 3], diff --git a/packages/turf-clean-coords/package.json b/packages/turf-clean-coords/package.json index 42b77df09a..6de5464fe4 100644 --- a/packages/turf-clean-coords/package.json +++ b/packages/turf-clean-coords/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clean-coords", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf clean-coords module", "author": "Turf Authors", "contributors": [ @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,30 +40,29 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-clean-coords/test/in/line-3-coords.geojson b/packages/turf-clean-coords/test/in/line-3-coords.geojson new file mode 100644 index 0000000000..0e04423f9b --- /dev/null +++ b/packages/turf-clean-coords/test/in/line-3-coords.geojson @@ -0,0 +1,12 @@ +{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [0, 0], + [0, 0], + [0, 2] + ] + } +} diff --git a/packages/turf-clean-coords/test/out/line-3-coords.geojson b/packages/turf-clean-coords/test/out/line-3-coords.geojson new file mode 100644 index 0000000000..4c0e863fb1 --- /dev/null +++ b/packages/turf-clean-coords/test/out/line-3-coords.geojson @@ -0,0 +1,11 @@ +{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [0, 0], + [0, 2] + ] + } +} diff --git a/packages/turf-clone/README.md b/packages/turf-clone/README.md index c650346c29..37185c482a 100644 --- a/packages/turf-clone/README.md +++ b/packages/turf-clone/README.md @@ -23,26 +23,21 @@ Returns **[GeoJSON][1]** cloned GeoJSON Object [1]: https://tools.ietf.org/html/rfc7946#section-3 - + --- -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: ```sh $ npm install @turf/clone ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-clone/package.json b/packages/turf-clone/package.json index f391b6b336..47d3ee817f 100644 --- a/packages/turf-clone/package.json +++ b/packages/turf-clone/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clone", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf clone module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,27 +39,26 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/meta": "^7.0.0-alpha.0", + "@turf/meta": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-clusters-dbscan/README.md b/packages/turf-clusters-dbscan/README.md index 88949c1569..974d6af7ca 100644 --- a/packages/turf-clusters-dbscan/README.md +++ b/packages/turf-clusters-dbscan/README.md @@ -8,13 +8,13 @@ Takes a set of [points][1] and partition them into clusters according to [https: ### Parameters -* `points` **[FeatureCollection][3]<[Point][4]>** to be clustered -* `maxDistance` **[number][5]** Maximum Distance between any point of the cluster to generate the clusters (kilometers only) -* `options` **[Object][6]** Optional parameters (optional, default `{}`) +* `points` **[FeatureCollection][3]<[Point][1]>** to be clustered +* `maxDistance` **[number][4]** Maximum Distance between any point of the cluster to generate the clusters (kilometers only) +* `options` **[Object][5]** Optional parameters (optional, default `{}`) - * `options.units` **[string][7]** in which `maxDistance` is expressed, can be degrees, radians, miles, or kilometers (optional, default `"kilometers"`) - * `options.mutate` **[boolean][8]** Allows GeoJSON input to be mutated (optional, default `false`) - * `options.minPoints` **[number][5]** Minimum number of points to generate a single cluster, + * `options.units` **[string][6]** in which `maxDistance` is expressed, can be degrees, radians, miles, or kilometers (optional, default `"kilometers"`) + * `options.mutate` **[boolean][7]** Allows GeoJSON input to be mutated (optional, default `false`) + * `options.minPoints` **[number][4]** Minimum number of points to generate a single cluster, points which do not meet this requirement will be classified as an 'edge' or 'noise'. (optional, default `3`) ### Examples @@ -29,7 +29,7 @@ var clustered = turf.clustersDbscan(points, maxDistance); var addToMap = [clustered]; ``` -Returns **[FeatureCollection][3]<[Point][4]>** Clustered Points with an additional two properties associated to each Feature:* {number} cluster - the associated clusterId +Returns **[FeatureCollection][3]<[Point][1]>** Clustered Points with an additional two properties associated to each Feature:* {number} cluster - the associated clusterId * {string} dbscan - type of point it has been classified as ('core'|'edge'|'noise') [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -38,36 +38,29 @@ Returns **[FeatureCollection][3]<[Point][4]>** Clustered Points with an addition [3]: https://tools.ietf.org/html/rfc7946#section-3.3 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - - + --- -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: ```sh $ npm install @turf/clusters-dbscan ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-clusters-dbscan/package.json b/packages/turf-clusters-dbscan/package.json index 1b1b5ab68c..e654ec507c 100644 --- a/packages/turf-clusters-dbscan/package.json +++ b/packages/turf-clusters-dbscan/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clusters-dbscan", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf clusters-dbscan module", "author": "Turf Authors", "contributors": [ @@ -35,7 +35,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -46,18 +46,18 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/clusters": "^7.0.0-alpha.0", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/clusters": "^7.0.0-alpha.2", "@types/density-clustering": "^1.3.0", "@types/tape": "*", "benchmark": "*", @@ -66,16 +66,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clone": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "density-clustering": "1.3.0", "tslib": "^2.3.0" } diff --git a/packages/turf-clusters-kmeans/README.md b/packages/turf-clusters-kmeans/README.md index 391de1b5c5..fe77503c88 100644 --- a/packages/turf-clusters-kmeans/README.md +++ b/packages/turf-clusters-kmeans/README.md @@ -9,11 +9,11 @@ It uses the [k-means algorithm][2] ### Parameters -* `points` **[FeatureCollection][3]<[Point][4]>** to be clustered -* `options` **[Object][5]** Optional parameters (optional, default `{}`) +* `points` **[FeatureCollection][3]<[Point][1]>** to be clustered +* `options` **[Object][4]** Optional parameters (optional, default `{}`) - * `options.numberOfClusters` **[number][6]** numberOfClusters that will be generated (optional, default `Math.sqrt(numberOfPoints/2)`) - * `options.mutate` **[boolean][7]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) + * `options.numberOfClusters` **[number][5]** numberOfClusters that will be generated (optional, default `Math.sqrt(numberOfPoints/2)`) + * `options.mutate` **[boolean][6]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) ### Examples @@ -27,7 +27,7 @@ var clustered = turf.clustersKmeans(points, options); var addToMap = [clustered]; ``` -Returns **[FeatureCollection][3]<[Point][4]>** Clustered Points with an additional two properties associated to each Feature:* {number} cluster - the associated clusterId +Returns **[FeatureCollection][3]<[Point][1]>** Clustered Points with an additional two properties associated to each Feature:* {number} cluster - the associated clusterId * {\[number, number]} centroid - Centroid of the cluster \[Longitude, Latitude] [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -36,34 +36,27 @@ Returns **[FeatureCollection][3]<[Point][4]>** Clustered Points with an addition [3]: https://tools.ietf.org/html/rfc7946#section-3.3 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - - + --- -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: ```sh $ npm install @turf/clusters-kmeans ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-clusters-kmeans/package.json b/packages/turf-clusters-kmeans/package.json index 8373a4e1fa..72041967f5 100644 --- a/packages/turf-clusters-kmeans/package.json +++ b/packages/turf-clusters-kmeans/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clusters-kmeans", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf clusters-kmeans module", "author": "Turf Authors", "contributors": [ @@ -34,7 +34,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -45,19 +45,19 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/clusters": "^7.0.0-alpha.0", - "@turf/random": "^7.0.0-alpha.0", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/clusters": "^7.0.0-alpha.2", + "@turf/random": "^7.0.0-alpha.2", "@types/skmeans": "^0.11.2", "@types/tape": "*", "benchmark": "*", @@ -67,16 +67,15 @@ "matrix-to-grid": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "skmeans": "0.9.7", "tslib": "^2.3.0" } diff --git a/packages/turf-clusters/README.md b/packages/turf-clusters/README.md index e41d2a90ff..51531ab0fe 100644 --- a/packages/turf-clusters/README.md +++ b/packages/turf-clusters/README.md @@ -50,7 +50,7 @@ Type: [Function][2] * `clusterValue` **any?** Value used to create cluster being processed. * `currentIndex` **[number][3]?** The index of the current element being processed in the array.Starts at index 0 -Returns **void** +Returns **void** ## clusterEach @@ -96,7 +96,7 @@ turf.clusterEach(clustered, 'cluster', function (cluster, clusterValue) { }); ``` -Returns **void** +Returns **void** ## clusterReduceCallback @@ -182,26 +182,21 @@ Returns **any** The value that results from the reduction. [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - + --- -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: ```sh $ npm install @turf/clusters ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-clusters/index.ts b/packages/turf-clusters/index.ts index 5b1c997cb0..78ecc56497 100644 --- a/packages/turf-clusters/index.ts +++ b/packages/turf-clusters/index.ts @@ -1,4 +1,9 @@ -import { Feature, FeatureCollection, GeometryObject } from "geojson"; +import { + Feature, + FeatureCollection, + GeoJsonProperties, + GeometryObject, +} from "geojson"; import { featureEach } from "@turf/meta"; import { featureCollection } from "@turf/helpers"; @@ -31,10 +36,10 @@ import { featureCollection } from "@turf/helpers"; * turf.getCluster(clustered, {'marker-symbol': 'square'}).length; * //= 1 */ -export function getCluster( - geojson: FeatureCollection, - filter: any -): FeatureCollection { +export function getCluster< + G extends GeometryObject, + P extends GeoJsonProperties = GeoJsonProperties, +>(geojson: FeatureCollection, filter: any): FeatureCollection { // Validation if (!geojson) throw new Error("geojson is required"); if (geojson.type !== "FeatureCollection") @@ -99,7 +104,10 @@ export function getCluster( * values.push(clusterValue); * }); */ -export function clusterEach( +export function clusterEach< + G extends GeometryObject, + P extends GeoJsonProperties = GeoJsonProperties, +>( geojson: FeatureCollection, property: number | string, callback: ( @@ -193,7 +201,10 @@ export function clusterEach( * return previousValue.concat(clusterValue); * }, []); */ -export function clusterReduce( +export function clusterReduce< + G extends GeometryObject, + P extends GeoJsonProperties = GeoJsonProperties, +>( geojson: FeatureCollection, property: number | string, callback: ( diff --git a/packages/turf-clusters/package.json b/packages/turf-clusters/package.json index 73c82a3e75..bdde80682d 100644 --- a/packages/turf-clusters/package.json +++ b/packages/turf-clusters/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clusters", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf clusters module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -56,13 +56,12 @@ "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-collect/README.md b/packages/turf-collect/README.md index 9e17a367b7..79e277a92d 100644 --- a/packages/turf-collect/README.md +++ b/packages/turf-collect/README.md @@ -47,26 +47,21 @@ Returns **[FeatureCollection][1]<[Polygon][2]>** polygons with properties listed [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - + --- -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: ```sh $ npm install @turf/collect ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-collect/package.json b/packages/turf-collect/package.json index 45734a42c7..a5ed8effb3 100644 --- a/packages/turf-collect/package.json +++ b/packages/turf-collect/package.json @@ -1,6 +1,6 @@ { "name": "@turf/collect", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf collect module", "author": "Turf Authors", "contributors": [ @@ -32,7 +32,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -43,13 +43,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/rbush": "^3.0.0", @@ -57,14 +57,13 @@ "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", "rbush": "^3.0.1", "tslib": "^2.3.0" } diff --git a/packages/turf-combine/README.md b/packages/turf-combine/README.md index a302661746..1c530e47de 100644 --- a/packages/turf-combine/README.md +++ b/packages/turf-combine/README.md @@ -9,7 +9,7 @@ into [MultiPoint][5], [MultiLineString][6], or [MultiPolygon][7] features. ### Parameters -* `fc` **[FeatureCollection][8]<([Point][9] | [LineString][10] | [Polygon][11])>** a FeatureCollection of any type +* `fc` **[FeatureCollection][1]<([Point][2] | [LineString][3] | [Polygon][4])>** a FeatureCollection of any type ### Examples @@ -25,7 +25,7 @@ var combined = turf.combine(fc); var addToMap = [combined] ``` -Returns **[FeatureCollection][8]<([MultiPoint][12] | [MultiLineString][13] | [MultiPolygon][14])>** a FeatureCollection of corresponding type to input +Returns **[FeatureCollection][1]<([MultiPoint][5] | [MultiLineString][6] | [MultiPolygon][7])>** a FeatureCollection of corresponding type to input [1]: https://tools.ietf.org/html/rfc7946#section-3.3 @@ -41,40 +41,21 @@ Returns **[FeatureCollection][8]<([MultiPoint][12] | [MultiLineString][13] | [Mu [7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[8]: https://tools.ietf.org/html/rfc7946#section-3.3 - -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - -[11]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - -[12]: https://tools.ietf.org/html/rfc7946#section-3.1.3 - -[13]: https://tools.ietf.org/html/rfc7946#section-3.1.5 - -[14]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - - + --- -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: ```sh $ npm install @turf/combine ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-combine/package.json b/packages/turf-combine/package.json index 655706512c..40e908920e 100644 --- a/packages/turf-combine/package.json +++ b/packages/turf-combine/package.json @@ -1,6 +1,6 @@ { "name": "@turf/combine", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf combine module", "author": "Turf Authors", "license": "MIT", @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,26 +39,25 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-concave/README.md b/packages/turf-concave/README.md index f4f7485d97..eb903ad4cc 100644 --- a/packages/turf-concave/README.md +++ b/packages/turf-concave/README.md @@ -9,12 +9,12 @@ Internally, this uses [turf-tin][2] to generate geometries. ### Parameters -* `points` **[FeatureCollection][3]<[Point][4]>** input points -* `options` **[Object][5]** Optional parameters (optional, default `{}`) +* `points` **[FeatureCollection][3]<[Point][1]>** input points +* `options` **[Object][4]** Optional parameters (optional, default `{}`) - * `options.maxEdge` **[number][6]** the length (in 'units') of an edge necessary for part of the + * `options.maxEdge` **[number][5]** the length (in 'units') of an edge necessary for part of the hull to become concave. (optional, default `Infinity`) - * `options.units` **[string][7]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) + * `options.units` **[string][6]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) ### Examples @@ -35,7 +35,7 @@ var hull = turf.concave(points, options); var addToMap = [points, hull] ``` -Returns **([Feature][8]<([Polygon][9] | [MultiPolygon][10])> | null)** a concave hull (null value is returned if unable to compute hull) +Returns **([Feature][7]<([Polygon][8] | [MultiPolygon][9])> | null)** a concave hull (null value is returned if unable to compute hull) [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -43,40 +43,33 @@ Returns **([Feature][8]<([Polygon][9] | [MultiPolygon][10])> | null)** a concave [3]: https://tools.ietf.org/html/rfc7946#section-3.3 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[7]: https://tools.ietf.org/html/rfc7946#section-3.2 -[8]: https://tools.ietf.org/html/rfc7946#section-3.2 +[8]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[9]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - - + --- -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: ```sh $ npm install @turf/concave ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-concave/package.json b/packages/turf-concave/package.json index 6c93db6fe5..cde29c317a 100644 --- a/packages/turf-concave/package.json +++ b/packages/turf-concave/package.json @@ -1,6 +1,6 @@ { "name": "@turf/concave", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf concave module", "author": "Turf Authors", "contributors": [ @@ -38,7 +38,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -49,34 +49,33 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", - "@types/topojson-client": "^3.0.0", - "@types/topojson-server": "^3.0.0", + "@types/topojson-client": "3.1.3", + "@types/topojson-server": "3.0.3", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clone": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/tin": "^7.0.0-alpha.0", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/tin": "^7.0.0-alpha.2", "topojson-client": "3.x", "topojson-server": "3.x", "tslib": "^2.3.0" diff --git a/packages/turf-convex/README.md b/packages/turf-convex/README.md index 4376e19e9b..bf8763bf79 100644 --- a/packages/turf-convex/README.md +++ b/packages/turf-convex/README.md @@ -36,7 +36,7 @@ var hull = turf.convex(points); var addToMap = [points, hull] ``` -Returns **[Feature][9]<[Polygon][10]>** a convex hull +Returns **[Feature][1]<[Polygon][3]>** a convex hull [1]: https://tools.ietf.org/html/rfc7946#section-3.2 @@ -54,30 +54,21 @@ Returns **[Feature][9]<[Polygon][10]>** a convex hull [8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[9]: https://tools.ietf.org/html/rfc7946#section-3.2 - -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - - + --- -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: ```sh $ npm install @turf/convex ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-convex/index.ts b/packages/turf-convex/index.ts index 49c2a01c2c..18663bd643 100644 --- a/packages/turf-convex/index.ts +++ b/packages/turf-convex/index.ts @@ -31,7 +31,7 @@ import concaveman from "concaveman"; * //addToMap * var addToMap = [points, hull] */ -export default function convex

( +export default function convex

( geojson: AllGeoJSON, options: { concavity?: number; diff --git a/packages/turf-convex/package.json b/packages/turf-convex/package.json index 2429bf5b09..d190123efe 100644 --- a/packages/turf-convex/package.json +++ b/packages/turf-convex/package.json @@ -1,6 +1,6 @@ { "name": "@turf/convex", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf convex module", "author": "Turf Authors", "license": "MIT", @@ -25,7 +25,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -36,13 +36,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/concaveman": "^1.1.3", @@ -52,14 +52,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "concaveman": "^1.2.1", "tslib": "^2.3.0" } diff --git a/packages/turf-destination/README.md b/packages/turf-destination/README.md index e8a5b074f4..c2f0f5880d 100644 --- a/packages/turf-destination/README.md +++ b/packages/turf-destination/README.md @@ -34,7 +34,7 @@ destination.properties['marker-color'] = '#f00'; point.properties['marker-color'] = '#0f0'; ``` -Returns **[Feature][7]<[Point][8]>** destination point +Returns **[Feature][7]<[Point][1]>** destination point [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -50,28 +50,21 @@ Returns **[Feature][7]<[Point][8]>** destination point [7]: https://tools.ietf.org/html/rfc7946#section-3.2 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/destination ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-destination/index.ts b/packages/turf-destination/index.ts index 91733dd619..72f0123737 100644 --- a/packages/turf-destination/index.ts +++ b/packages/turf-destination/index.ts @@ -37,7 +37,9 @@ import { getCoord } from "@turf/invariant"; * destination.properties['marker-color'] = '#f00'; * point.properties['marker-color'] = '#0f0'; */ -export default function destination

( +export default function destination< + P extends GeoJsonProperties = GeoJsonProperties, +>( origin: Coord, distance: number, bearing: number, diff --git a/packages/turf-destination/package.json b/packages/turf-destination/package.json index 5e4b4f1b7e..8f78cbcc87 100644 --- a/packages/turf-destination/package.json +++ b/packages/turf-destination/package.json @@ -1,6 +1,6 @@ { "name": "@turf/destination", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf destination module", "author": "Turf Authors", "license": "MIT", @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,30 +40,29 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "glob": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-difference/README.md b/packages/turf-difference/README.md index 71d8fbdb3b..4659b157fc 100644 --- a/packages/turf-difference/README.md +++ b/packages/turf-difference/README.md @@ -8,7 +8,7 @@ Finds the difference between multiple [polygons][1] by clipping the subsequent p ### Parameters -* `features` **[FeatureCollection][2]<([Polygon][3] | [MultiPolygon][4])>** input Polygon features +* `features` **[FeatureCollection][2]<([Polygon][1] | [MultiPolygon][3])>** input Polygon features ### Examples @@ -40,38 +40,31 @@ var difference = turf.difference(turf.featureCollection([polygon1, polygon2])); var addToMap = [polygon1, polygon2, difference]; ``` -Returns **([Feature][5]<([Polygon][3] | [MultiPolygon][4])> | null)** a Polygon or MultiPolygon feature showing the area of `polygon1` excluding the area of `polygon2` (if empty returns `null`) +Returns **([Feature][4]<([Polygon][1] | [MultiPolygon][3])> | null)** a Polygon or MultiPolygon feature showing the area of `polygon1` excluding the area of `polygon2` (if empty returns `null`) [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 [2]: https://tools.ietf.org/html/rfc7946#section-3.3 -[3]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[3]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.2 - - + --- -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: ```sh $ npm install @turf/difference ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-difference/package.json b/packages/turf-difference/package.json index 28785f516e..50d76cb3e2 100644 --- a/packages/turf-difference/package.json +++ b/packages/turf-difference/package.json @@ -1,6 +1,6 @@ { "name": "@turf/difference", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf difference module", "author": "Turf Authors", "license": "MIT", @@ -37,11 +37,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", @@ -50,11 +50,12 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "polygon-clipping": "^0.15.3" } } diff --git a/packages/turf-directional-mean/README.md b/packages/turf-directional-mean/README.md index a3f0e13df5..f509e3d3eb 100644 --- a/packages/turf-directional-mean/README.md +++ b/packages/turf-directional-mean/README.md @@ -25,7 +25,7 @@ It can handle segments of line or the whole line. ### Parameters -* `lines` **[FeatureCollection][3]<[LineString][4]>** +* `lines` **[FeatureCollection][3]<[LineString][4]>** * `options` **[object][1]** (optional, default `{}`) * `options.planar` **[boolean][5]** whether the spatial reference system is projected or geographical. (optional, default `true`) @@ -56,26 +56,21 @@ Returns **[DirectionalMeanLine][6]** Directional Mean Line [6]: #directionalmeanline - + --- -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: ```sh $ npm install @turf/directional-mean ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-directional-mean/package.json b/packages/turf-directional-mean/package.json index c68a86b17d..22455f63dc 100644 --- a/packages/turf-directional-mean/package.json +++ b/packages/turf-directional-mean/package.json @@ -1,6 +1,6 @@ { "name": "@turf/directional-mean", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf directional-mean module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,13 +39,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -53,19 +53,18 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/length": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/length": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-dissolve/README.md b/packages/turf-dissolve/README.md index 3a6ab50783..803ecf10d0 100644 --- a/packages/turf-dissolve/README.md +++ b/packages/turf-dissolve/README.md @@ -43,26 +43,21 @@ Returns **[FeatureCollection][3]<[Polygon][4]>** a FeatureCollection containing [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - + --- -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: ```sh $ npm install @turf/dissolve ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-dissolve/package.json b/packages/turf-dissolve/package.json index 2318373a51..572cd4fbe3 100644 --- a/packages/turf-dissolve/package.json +++ b/packages/turf-dissolve/package.json @@ -1,6 +1,6 @@ { "name": "@turf/dissolve", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf dissolve module", "author": "Turf Authors", "license": "MIT", @@ -40,11 +40,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", @@ -52,13 +52,14 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/flatten": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/flatten": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "polygon-clipping": "^0.15.3" } } diff --git a/packages/turf-distance-weight/README.md b/packages/turf-distance-weight/README.md index a8f7b872e6..10325b385c 100644 --- a/packages/turf-distance-weight/README.md +++ b/packages/turf-distance-weight/README.md @@ -12,7 +12,7 @@ calcualte the Minkowski p-norm distance between two features. * `feature2` **[Feature][1]<[Point][2]>** point feature * `p` p-norm 1=\>** distance weight matrix. [7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array - + --- -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: ```sh $ npm install @turf/distance-weight ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-distance-weight/package.json b/packages/turf-distance-weight/package.json index c91e20e449..6e8d90e82b 100644 --- a/packages/turf-distance-weight/package.json +++ b/packages/turf-distance-weight/package.json @@ -1,6 +1,6 @@ { "name": "@turf/distance-weight", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf distance-weight module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,13 +39,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -53,16 +53,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-distance/README.md b/packages/turf-distance/README.md index 1c3c3b8d13..68c6e14472 100644 --- a/packages/turf-distance/README.md +++ b/packages/turf-distance/README.md @@ -9,11 +9,11 @@ This uses the [Haversine formula][2] to account for global curvature. ### Parameters -* `from` **([Coord][3] | [Point][4])** origin point or coordinate -* `to` **([Coord][3] | [Point][4])** destination point or coordinate -* `options` **[Object][5]** Optional parameters (optional, default `{}`) +* `from` **([Coord][3] | [Point][1])** origin point or coordinate +* `to` **([Coord][3] | [Point][1])** destination point or coordinate +* `options` **[Object][4]** Optional parameters (optional, default `{}`) - * `options.units` **[string][6]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) + * `options.units` **[string][5]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) ### Examples @@ -30,7 +30,7 @@ from.properties.distance = distance; to.properties.distance = distance; ``` -Returns **[number][7]** distance between the two points +Returns **[number][6]** distance between the two points [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -38,34 +38,27 @@ Returns **[number][7]** distance between the two points [3]: https://tools.ietf.org/html/rfc7946#section-3.1.1 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - - + --- -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: ```sh $ npm install @turf/distance ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-distance/package.json b/packages/turf-distance/package.json index 37d7d57984..32bdc114b5 100644 --- a/packages/turf-distance/package.json +++ b/packages/turf-distance/package.json @@ -1,6 +1,6 @@ { "name": "@turf/distance", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf distance module", "author": "Turf Authors", "license": "MIT", @@ -27,7 +27,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -38,13 +38,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -52,14 +52,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-ellipse/README.md b/packages/turf-ellipse/README.md index 3a45a8b512..7a013993f0 100644 --- a/packages/turf-ellipse/README.md +++ b/packages/turf-ellipse/README.md @@ -47,26 +47,21 @@ Returns **[Feature][6]<[Polygon][7]>** ellipse polygon [7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - + --- -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: ```sh $ npm install @turf/ellipse ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-ellipse/package.json b/packages/turf-ellipse/package.json index 3107598bcf..a428e22a77 100644 --- a/packages/turf-ellipse/package.json +++ b/packages/turf-ellipse/package.json @@ -1,6 +1,6 @@ { "name": "@turf/ellipse", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf ellipse module", "author": "Turf Authors", "contributors": [ @@ -40,30 +40,31 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@mapbox/geojsonhint": "*", - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/circle": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@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": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/rhumb-destination": "^7.0.0-alpha.0", - "@turf/transform-rotate": "^7.0.0-alpha.0" + "@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" } } diff --git a/packages/turf-envelope/README.md b/packages/turf-envelope/README.md index c44c730dc6..26e0628ead 100644 --- a/packages/turf-envelope/README.md +++ b/packages/turf-envelope/README.md @@ -25,7 +25,7 @@ var enveloped = turf.envelope(features); var addToMap = [features, enveloped]; ``` -Returns **[Feature][3]<[Polygon][4]>** a rectangular Polygon feature that encompasses all vertices +Returns **[Feature][3]<[Polygon][1]>** a rectangular Polygon feature that encompasses all vertices [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -33,28 +33,21 @@ Returns **[Feature][3]<[Polygon][4]>** a rectangular Polygon feature that encomp [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - - + --- -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: ```sh $ npm install @turf/envelope ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-envelope/package.json b/packages/turf-envelope/package.json index 9d301ecebb..ceb0b8f91d 100644 --- a/packages/turf-envelope/package.json +++ b/packages/turf-envelope/package.json @@ -1,6 +1,6 @@ { "name": "@turf/envelope", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf envelope module", "author": "Turf Authors", "license": "MIT", @@ -40,22 +40,23 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0" + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2" } } diff --git a/packages/turf-explode/README.md b/packages/turf-explode/README.md index 2951996ba0..029b8ab177 100644 --- a/packages/turf-explode/README.md +++ b/packages/turf-explode/README.md @@ -33,26 +33,21 @@ Returns **[FeatureCollection][4]\** points representing the exploded inpu [4]: https://tools.ietf.org/html/rfc7946#section-3.3 - + --- -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: ```sh $ npm install @turf/explode ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-explode/package.json b/packages/turf-explode/package.json index a1ebf9d8fe..cb2d52d842 100644 --- a/packages/turf-explode/package.json +++ b/packages/turf-explode/package.json @@ -1,6 +1,6 @@ { "name": "@turf/explode", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf explode module", "author": "Turf Authors", "license": "MIT", @@ -39,11 +39,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", @@ -52,10 +52,11 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-flatten/README.md b/packages/turf-flatten/README.md index 900e62d519..9f7195ff1c 100644 --- a/packages/turf-flatten/README.md +++ b/packages/turf-flatten/README.md @@ -8,7 +8,7 @@ Flattens any [GeoJSON][1] to a [FeatureCollection][2] inspired by [geojson-flatt ### Parameters -* `geojson` **[GeoJSON][4]** any valid GeoJSON Object +* `geojson` **[GeoJSON][1]** any valid GeoJSON Object ### Examples @@ -25,7 +25,7 @@ var flatten = turf.flatten(multiGeometry); var addToMap = [flatten] ``` -Returns **[FeatureCollection][5]\** all Multi-Geometries are flattened into single Features +Returns **[FeatureCollection][2]\** all Multi-Geometries are flattened into single Features [1]: https://tools.ietf.org/html/rfc7946#section-3 @@ -33,30 +33,21 @@ Returns **[FeatureCollection][5]\** all Multi-Geometries are flattened into [3]: https://github.com/tmcw/geojson-flatten -[4]: https://tools.ietf.org/html/rfc7946#section-3 - -[5]: https://tools.ietf.org/html/rfc7946#section-3.3 - - + --- -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: ```sh $ npm install @turf/flatten ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-flatten/package.json b/packages/turf-flatten/package.json index a347254f2e..e8950dff74 100644 --- a/packages/turf-flatten/package.json +++ b/packages/turf-flatten/package.json @@ -1,6 +1,6 @@ { "name": "@turf/flatten", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf flatten module", "author": "Turf Authors", "contributors": [ @@ -44,11 +44,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -57,10 +57,11 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-flip/README.md b/packages/turf-flip/README.md index fed1b79d1f..5cf9d9b7ff 100644 --- a/packages/turf-flip/README.md +++ b/packages/turf-flip/README.md @@ -32,26 +32,21 @@ Returns **[GeoJSON][1]** a feature or set of features of the same type as `input [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/flip ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-flip/package.json b/packages/turf-flip/package.json index 88d32b34a6..cbb99b4445 100644 --- a/packages/turf-flip/package.json +++ b/packages/turf-flip/package.json @@ -1,6 +1,6 @@ { "name": "@turf/flip", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf flip module", "author": "Turf Authors", "license": "MIT", @@ -39,11 +39,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -52,11 +52,12 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-geojson-rbush/LICENSE b/packages/turf-geojson-rbush/LICENSE new file mode 100644 index 0000000000..96ce51b76f --- /dev/null +++ b/packages/turf-geojson-rbush/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2017 TurfJS + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/turf-geojson-rbush/README.md b/packages/turf-geojson-rbush/README.md new file mode 100644 index 0000000000..2c843d9289 --- /dev/null +++ b/packages/turf-geojson-rbush/README.md @@ -0,0 +1,211 @@ +# GeoJSON RBush used in TurfJS + +[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/DenisCarriere/geojson-rbush/master/LICENSE) + +GeoJSON implementation of [RBush](https://github.com/mourner/rbush) — a high-performance JavaScript R-tree-based 2D spatial index for points and rectangles. + +## Install + +**npm** + +```bash +$ npm install --save geojson-rbush +``` + +## API + + + +#### Table of Contents + +- [rbush](#rbush) +- [insert](#insert) +- [load](#load) +- [remove](#remove) +- [clear](#clear) +- [search](#search) +- [collides](#collides) +- [all](#all) +- [toJSON](#tojson) +- [fromJSON](#fromjson) + +### rbush + +GeoJSON implementation of [RBush](https://github.com/mourner/rbush#rbush) spatial index. + +**Parameters** + +- `maxEntries` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** defines the maximum number of entries in a tree node. 9 (used by default) is a + reasonable choice for most applications. Higher value means faster insertion and slower search, and vice versa. (optional, default `9`) + +**Examples** + +```javascript +var geojsonRbush = require('geojson-rbush').default; +var tree = geojsonRbush(); +``` + +Returns **RBush** GeoJSON RBush + +### insert + +[insert](https://github.com/mourner/rbush#data-format) + +**Parameters** + +- `feature` **Feature** insert single GeoJSON Feature + +**Examples** + +```javascript +var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); +tree.insert(poly) +``` + +Returns **RBush** GeoJSON RBush + +### load + +[load](https://github.com/mourner/rbush#bulk-inserting-data) + +**Parameters** + +- `features` **(FeatureCollection | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<Feature>)** load entire GeoJSON FeatureCollection + +**Examples** + +```javascript +var polys = turf.polygons([ + [[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]], + [[[-93, 32], [-83, 32], [-83, 39], [-93, 39], [-93, 32]]] +]); +tree.load(polys); +``` + +Returns **RBush** GeoJSON RBush + +### remove + +[remove](https://github.com/mourner/rbush#removing-data) + +**Parameters** + +- `feature` **Feature** remove single GeoJSON Feature +- `equals` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** Pass a custom equals function to compare by value for removal. + +**Examples** + +```javascript +var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); + +tree.remove(poly); +``` + +Returns **RBush** GeoJSON RBush + +### clear + +[clear](https://github.com/mourner/rbush#removing-data) + +**Examples** + +```javascript +tree.clear() +``` + +Returns **RBush** GeoJSON Rbush + +### search + +[search](https://github.com/mourner/rbush#search) + +**Parameters** + +- `geojson` **(BBox | FeatureCollection | Feature)** search with GeoJSON + +**Examples** + +```javascript +var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); + +tree.search(poly); +``` + +Returns **FeatureCollection** all features that intersects with the given GeoJSON. + +### collides + +[collides](https://github.com/mourner/rbush#collisions) + +**Parameters** + +- `geojson` **(BBox | FeatureCollection | Feature)** collides with GeoJSON + +**Examples** + +```javascript +var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); + +tree.collides(poly); +``` + +Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if there are any items intersecting the given GeoJSON, otherwise false. + +### all + +[all](https://github.com/mourner/rbush#search) + +**Examples** + +```javascript +tree.all() +``` + +Returns **FeatureCollection** all the features in RBush + +### toJSON + +[toJSON](https://github.com/mourner/rbush#export-and-import) + +**Examples** + +```javascript +var exported = tree.toJSON() +``` + +Returns **any** export data as JSON object + +### fromJSON + +[fromJSON](https://github.com/mourner/rbush#export-and-import) + +**Parameters** + +- `json` **any** import previously exported data + +**Examples** + +```javascript +var exported = { + "children": [ + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [110, 50] + }, + "properties": {}, + "bbox": [110, 50, 110, 50] + } + ], + "height": 1, + "leaf": true, + "minX": 110, + "minY": 50, + "maxX": 110, + "maxY": 50 +} +tree.fromJSON(exported) +``` + +Returns **RBush** GeoJSON RBush diff --git a/packages/turf-geojson-rbush/bench.js b/packages/turf-geojson-rbush/bench.js new file mode 100644 index 0000000000..51d932f1a6 --- /dev/null +++ b/packages/turf-geojson-rbush/bench.js @@ -0,0 +1,38 @@ +const Benchmark = require("benchmark"); +const { randomPoint, randomPolygon } = require("@turf/random"); +const geojsonRbush = require("./").default; + +// Fixtures +const points = randomPoint(3); +const point = points.features[0]; +const polygons = randomPolygon(3); +const polygon = polygons.features[0]; + +// Load trees before (used to benchmark search) +const pointsTree = geojsonRbush(); +pointsTree.load(points); +const polygonsTree = geojsonRbush(); +polygonsTree.load(polygons); + +/** + * Benchmark Results + * + * rbush.points x 313,979 ops/sec ±10.60% (67 runs sampled) + * rbush.polygons x 428,333 ops/sec ±1.69% (70 runs sampled) + * search.points x 5,986,675 ops/sec ±7.95% (77 runs sampled) + * search.polygons x 6,481,248 ops/sec ±0.93% (90 runs sampled) + */ +new Benchmark.Suite("geojson-rbush") + .add("rbush.points", () => { + const tree = geojsonRbush(); + tree.load(points); + }) + .add("rbush.polygons", () => { + const tree = geojsonRbush(); + tree.load(polygons); + }) + .add("search.points", () => pointsTree.search(point)) + .add("search.polygons", () => polygonsTree.search(polygon)) + .on("cycle", (e) => console.log(String(e.target))) + .on("complete", () => {}) + .run(); diff --git a/packages/turf-geojson-rbush/index.d.ts b/packages/turf-geojson-rbush/index.d.ts new file mode 100644 index 0000000000..42fc43a075 --- /dev/null +++ b/packages/turf-geojson-rbush/index.d.ts @@ -0,0 +1,30 @@ +import { + BBox, + Feature, + FeatureCollection, + Geometry, + GeoJsonProperties, +} from "geojson"; + +declare class RBush { + insert(feature: Feature): RBush; + load(features: FeatureCollection | Feature[]): RBush; + remove( + feature: Feature, + equals?: (a: Feature, b: Feature) => boolean + ): RBush; + clear(): RBush; + search(geojson: Feature | FeatureCollection | BBox): FeatureCollection; + all(): FeatureCollection; + collides(geosjon: Feature | FeatureCollection | BBox): boolean; + toJSON(): any; + fromJSON(data: any): RBush; +} + +/** + * https://github.com/mourner/rbush + */ +export default function rbush< + G extends Geometry = Geometry, + P extends GeoJsonProperties = GeoJsonProperties, +>(maxEntries?: number): RBush; diff --git a/packages/turf-geojson-rbush/index.js b/packages/turf-geojson-rbush/index.js new file mode 100644 index 0000000000..359f397b67 --- /dev/null +++ b/packages/turf-geojson-rbush/index.js @@ -0,0 +1,219 @@ +import rbush from "rbush"; +import { featureCollection } from "@turf/helpers"; +import { featureEach } from "@turf/meta"; +import turfBBox from "@turf/bbox"; + +/** + * @module rbush + */ + +/** + * GeoJSON implementation of [RBush](https://github.com/mourner/rbush#rbush) spatial index. + * + * @name rbush + * @param {number} [maxEntries=9] defines the maximum number of entries in a tree node. 9 (used by default) is a + * reasonable choice for most applications. Higher value means faster insertion and slower search, and vice versa. + * @returns {RBush} GeoJSON RBush + * @example + * var geojsonRbush = require('geojson-rbush').default; + * var tree = geojsonRbush(); + */ +function geojsonRbush(maxEntries) { + var tree = new rbush(maxEntries); + + /** + * [insert](https://github.com/mourner/rbush#data-format) + * + * @memberof rbush + * @param {Feature} feature insert single GeoJSON Feature + * @returns {RBush} GeoJSON RBush + * @example + * var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); + * tree.insert(poly) + */ + tree.insert = function (feature) { + if (feature.type !== "Feature") throw new Error("invalid feature"); + feature.bbox = feature.bbox ? feature.bbox : turfBBox(feature); + return rbush.prototype.insert.call(this, feature); + }; + + /** + * [load](https://github.com/mourner/rbush#bulk-inserting-data) + * + * @memberof rbush + * @param {FeatureCollection|Array} features load entire GeoJSON FeatureCollection + * @returns {RBush} GeoJSON RBush + * @example + * var polys = turf.polygons([ + * [[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]], + * [[[-93, 32], [-83, 32], [-83, 39], [-93, 39], [-93, 32]]] + * ]); + * tree.load(polys); + */ + tree.load = function (features) { + var load = []; + // Load an Array of Features + if (Array.isArray(features)) { + features.forEach(function (feature) { + if (feature.type !== "Feature") throw new Error("invalid features"); + feature.bbox = feature.bbox ? feature.bbox : turfBBox(feature); + load.push(feature); + }); + } else { + // Load a FeatureCollection + featureEach(features, function (feature) { + if (feature.type !== "Feature") throw new Error("invalid features"); + feature.bbox = feature.bbox ? feature.bbox : turfBBox(feature); + load.push(feature); + }); + } + return rbush.prototype.load.call(this, load); + }; + + /** + * [remove](https://github.com/mourner/rbush#removing-data) + * + * @memberof rbush + * @param {Feature} feature remove single GeoJSON Feature + * @param {Function} equals Pass a custom equals function to compare by value for removal. + * @returns {RBush} GeoJSON RBush + * @example + * var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); + * + * tree.remove(poly); + */ + tree.remove = function (feature, equals) { + if (feature.type !== "Feature") throw new Error("invalid feature"); + feature.bbox = feature.bbox ? feature.bbox : turfBBox(feature); + return rbush.prototype.remove.call(this, feature, equals); + }; + + /** + * [clear](https://github.com/mourner/rbush#removing-data) + * + * @memberof rbush + * @returns {RBush} GeoJSON Rbush + * @example + * tree.clear() + */ + tree.clear = function () { + return rbush.prototype.clear.call(this); + }; + + /** + * [search](https://github.com/mourner/rbush#search) + * + * @memberof rbush + * @param {BBox|FeatureCollection|Feature} geojson search with GeoJSON + * @returns {FeatureCollection} all features that intersects with the given GeoJSON. + * @example + * var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); + * + * tree.search(poly); + */ + tree.search = function (geojson) { + var features = rbush.prototype.search.call(this, this.toBBox(geojson)); + return featureCollection(features); + }; + + /** + * [collides](https://github.com/mourner/rbush#collisions) + * + * @memberof rbush + * @param {BBox|FeatureCollection|Feature} geojson collides with GeoJSON + * @returns {boolean} true if there are any items intersecting the given GeoJSON, otherwise false. + * @example + * var poly = turf.polygon([[[-78, 41], [-67, 41], [-67, 48], [-78, 48], [-78, 41]]]); + * + * tree.collides(poly); + */ + tree.collides = function (geojson) { + return rbush.prototype.collides.call(this, this.toBBox(geojson)); + }; + + /** + * [all](https://github.com/mourner/rbush#search) + * + * @memberof rbush + * @returns {FeatureCollection} all the features in RBush + * @example + * tree.all() + */ + tree.all = function () { + var features = rbush.prototype.all.call(this); + return featureCollection(features); + }; + + /** + * [toJSON](https://github.com/mourner/rbush#export-and-import) + * + * @memberof rbush + * @returns {any} export data as JSON object + * @example + * var exported = tree.toJSON() + */ + tree.toJSON = function () { + return rbush.prototype.toJSON.call(this); + }; + + /** + * [fromJSON](https://github.com/mourner/rbush#export-and-import) + * + * @memberof rbush + * @param {any} json import previously exported data + * @returns {RBush} GeoJSON RBush + * @example + * var exported = { + * "children": [ + * { + * "type": "Feature", + * "geometry": { + * "type": "Point", + * "coordinates": [110, 50] + * }, + * "properties": {}, + * "bbox": [110, 50, 110, 50] + * } + * ], + * "height": 1, + * "leaf": true, + * "minX": 110, + * "minY": 50, + * "maxX": 110, + * "maxY": 50 + * } + * tree.fromJSON(exported) + */ + tree.fromJSON = function (json) { + return rbush.prototype.fromJSON.call(this, json); + }; + + /** + * Converts GeoJSON to {minX, minY, maxX, maxY} schema + * + * @memberof rbush + * @private + * @param {BBox|FeatureCollection|Feature} geojson feature(s) to retrieve BBox from + * @returns {Object} converted to {minX, minY, maxX, maxY} + */ + tree.toBBox = function (geojson) { + var bbox; + if (geojson.bbox) bbox = geojson.bbox; + else if (Array.isArray(geojson) && geojson.length === 4) bbox = geojson; + else if (Array.isArray(geojson) && geojson.length === 6) + bbox = [geojson[0], geojson[1], geojson[3], geojson[4]]; + else if (geojson.type === "Feature") bbox = turfBBox(geojson); + else if (geojson.type === "FeatureCollection") bbox = turfBBox(geojson); + else throw new Error("invalid geojson"); + + return { + minX: bbox[0], + minY: bbox[1], + maxX: bbox[2], + maxY: bbox[3], + }; + }; + return tree; +} + +export default geojsonRbush; diff --git a/packages/turf-geojson-rbush/package.json b/packages/turf-geojson-rbush/package.json new file mode 100644 index 0000000000..6f9ba9264e --- /dev/null +++ b/packages/turf-geojson-rbush/package.json @@ -0,0 +1,74 @@ +{ + "name": "@turf/geojson-rbush", + "version": "7.0.0-alpha.2", + "description": "GeoJSON implementation of RBush", + "author": "Turf Authors", + "contributors": [ + "Vladimir Agafonkin <@mourner>", + "Denis Carriere <@DenisCarriere>", + "Jordan Rousseau <@jvrousseau>" + ], + "license": "MIT", + "bugs": { + "url": "https://github.com/Turfjs/turf/issues" + }, + "homepage": "https://github.com/Turfjs/turf", + "repository": { + "type": "git", + "url": "git://github.com/Turfjs/turf.git" + }, + "funding": "https://opencollective.com/turf", + "publishConfig": { + "access": "public" + }, + "keywords": [ + "geojson", + "index", + "tree", + "spatial", + "rbush" + ], + "main": "dist/js/index.js", + "module": "dist/es/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "types": "./index.d.ts", + "import": "./dist/es/index.js", + "require": "./dist/js/index.js" + } + }, + "types": "index.d.ts", + "sideEffects": false, + "files": [ + "dist", + "index.d.ts" + ], + "scripts": { + "bench": "tsx bench.js", + "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", + "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" + }, + "devDependencies": { + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/random": "^7.0.0-alpha.2", + "benchmark": "*", + "load-json-file": "*", + "npm-run-all": "*", + "rollup": "*", + "tape": "*", + "tsx": "*", + "typescript": "*", + "write-json-file": "*" + }, + "dependencies": { + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@types/geojson": "7946.0.8", + "rbush": "^3.0.1" + } +} diff --git a/packages/turf-geojson-rbush/test.js b/packages/turf-geojson-rbush/test.js new file mode 100644 index 0000000000..83da5f0bc8 --- /dev/null +++ b/packages/turf-geojson-rbush/test.js @@ -0,0 +1,119 @@ +const fs = require("fs"); +const test = require("tape"); +const path = require("path"); +const load = require("load-json-file"); +const write = require("write-json-file"); +const bboxPolygon = require("@turf/bbox-polygon").default; +const { featureCollection, polygons } = require("@turf/helpers"); +const geojsonRbush = require("./").default; + +const directories = { + in: path.join(__dirname, "test", "in") + path.sep, + out: path.join(__dirname, "test", "out") + path.sep, +}; + +const fixtures = fs.readdirSync(directories.in).map((filename) => { + return { + filename, + name: path.parse(filename).name, + geojson: load.sync(directories.in + filename), + }; +}); + +test("geojson-rbush", (t) => { + for (const fixture of fixtures) { + const name = fixture.name; + const filename = fixture.filename; + const geojson = fixture.geojson; + const tree = geojsonRbush(); + tree.load(geojson); + + // Retrive all features inside the RBush index + const all = tree.all(); + + // Search using the first item in the FeatureCollection + const search = tree.search(geojson.features[0]); + + if (process.env.REGEN) { + write.sync(directories.out + "all." + filename, all); + write.sync(directories.out + "search." + filename, search); + } + + t.deepEqual( + all, + load.sync(directories.out + "all." + filename), + "all." + name + ); + t.deepEqual( + search, + load.sync(directories.out + "search." + filename), + "search." + name + ); + } + t.end(); +}); + +test("geojson-rbush -- bbox", (t) => { + const tree = geojsonRbush(); + tree.insert(bboxPolygon([-150, -60, 150, 60])); + + t.equal(tree.collides([-140, -50, 140, 50]), true); + t.equal(tree.search([-140, -50, 140, 50]).features.length, 1); + t.equal(tree.search(bboxPolygon([-150, -60, 150, 60])).features.length, 1); + t.equal( + tree.search(featureCollection([bboxPolygon([-150, -60, 150, 60])])).features + .length, + 1 + ); + t.equal(tree.collides([-180, -80, -170, -60]), false); + + // Errors + t.throws(() => tree.search("foo")); + t.end(); +}); + +test("geojson-rbush -- fromJSON", (t) => { + const tree = geojsonRbush(); + const poly = bboxPolygon([-150, -60, 150, 60]); + tree.insert(poly); + + const newTree = geojsonRbush(); + newTree.fromJSON(tree.toJSON()); + t.equal(newTree.all().features.length, 1); + newTree.remove(poly); + t.equal(newTree.all().features.length, 0); + t.end(); +}); + +test("geojson-rbush -- Array of Features -- Issue #5", (t) => { + // https://github.com/DenisCarriere/geojson-rbush/issues/5 + const tree = geojsonRbush(); + const polys = polygons([ + [ + [ + [-78, 41], + [-67, 41], + [-67, 48], + [-78, 48], + [-78, 41], + ], + ], + [ + [ + [-93, 32], + [-83, 32], + [-83, 39], + [-93, 39], + [-93, 32], + ], + ], + ]); + // Load Feature Collection + tree.load(polys); + t.equal(tree.all().features.length, 2); + + // Load Array of Features + tree.load(polys.features); + t.equal(tree.all().features.length, 4); + t.end(); +}); diff --git a/packages/turf-geojson-rbush/test/in/linestrings.geojson b/packages/turf-geojson-rbush/test/in/linestrings.geojson new file mode 100644 index 0000000000..2f2a0a9e5d --- /dev/null +++ b/packages/turf-geojson-rbush/test/in/linestrings.geojson @@ -0,0 +1,89 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -121.9921875, + 41.77131167976407 + ], + [ + -112.1484375, + 49.15296965617042 + ], + [ + -95.2734375, + 49.15296965617042 + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -101.953125, + 34.016241889667015 + ], + [ + -88.9453125, + 40.17887331434696 + ], + [ + -78.046875, + 50.064191736659104 + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -108.6328125, + 42.032974332441405 + ], + [ + -102.65625, + 39.36827914916014 + ], + [ + -95.97656249999999, + 39.36827914916014 + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -71.71875, + 39.842286020743394 + ], + [ + -69.169921875, + 35.96022296929667 + ], + [ + -66.796875, + 31.952162238024975 + ] + ] + } + } + ] +} \ No newline at end of file diff --git a/packages/turf-geojson-rbush/test/in/points.geojson b/packages/turf-geojson-rbush/test/in/points.geojson new file mode 100644 index 0000000000..55a2882a8f --- /dev/null +++ b/packages/turf-geojson-rbush/test/in/points.geojson @@ -0,0 +1,38 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + -86.8359375, + 42.8115217450979 + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + -67.5, + 48.69096039092549 + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + -106.171875, + 46.800059446787316 + ] + } + } + ] +} \ No newline at end of file diff --git a/packages/turf-geojson-rbush/test/in/polygons.geojson b/packages/turf-geojson-rbush/test/in/polygons.geojson new file mode 100644 index 0000000000..451fd16d21 --- /dev/null +++ b/packages/turf-geojson-rbush/test/in/polygons.geojson @@ -0,0 +1,129 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78, + 41 + ], + [ + -67, + 41 + ], + [ + -67, + 48 + ], + [ + -78, + 48 + ], + [ + -78, + 41 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -93, + 32 + ], + [ + -83, + 32 + ], + [ + -83, + 39 + ], + [ + -93, + 39 + ], + [ + -93, + 32 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -97.646484375, + 43.197167282501276 + ], + [ + -88.681640625, + 43.197167282501276 + ], + [ + -88.681640625, + 48.28319289548349 + ], + [ + -97.646484375, + 48.28319289548349 + ], + [ + -97.646484375, + 43.197167282501276 + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -93.8671875, + 36.87962060502676 + ], + [ + -75.89355468749999, + 36.87962060502676 + ], + [ + -75.89355468749999, + 45.1510532655634 + ], + [ + -93.8671875, + 45.1510532655634 + ], + [ + -93.8671875, + 36.87962060502676 + ] + ] + ] + } + } + ] +} \ No newline at end of file diff --git a/packages/turf-geojson-rbush/test/out/all.linestrings.geojson b/packages/turf-geojson-rbush/test/out/all.linestrings.geojson new file mode 100644 index 0000000000..4a75698a4b --- /dev/null +++ b/packages/turf-geojson-rbush/test/out/all.linestrings.geojson @@ -0,0 +1,113 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -121.9921875, + 41.77131167976407 + ], + [ + -112.1484375, + 49.15296965617042 + ], + [ + -95.2734375, + 49.15296965617042 + ] + ] + }, + "bbox": [ + -121.9921875, + 41.77131167976407, + -95.2734375, + 49.15296965617042 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -101.953125, + 34.016241889667015 + ], + [ + -88.9453125, + 40.17887331434696 + ], + [ + -78.046875, + 50.064191736659104 + ] + ] + }, + "bbox": [ + -101.953125, + 34.016241889667015, + -78.046875, + 50.064191736659104 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -108.6328125, + 42.032974332441405 + ], + [ + -102.65625, + 39.36827914916014 + ], + [ + -95.97656249999999, + 39.36827914916014 + ] + ] + }, + "bbox": [ + -108.6328125, + 39.36827914916014, + -95.97656249999999, + 42.032974332441405 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -71.71875, + 39.842286020743394 + ], + [ + -69.169921875, + 35.96022296929667 + ], + [ + -66.796875, + 31.952162238024975 + ] + ] + }, + "bbox": [ + -71.71875, + 31.952162238024975, + -66.796875, + 39.842286020743394 + ] + } + ] +} diff --git a/packages/turf-geojson-rbush/test/out/all.points.geojson b/packages/turf-geojson-rbush/test/out/all.points.geojson new file mode 100644 index 0000000000..24165ef6bb --- /dev/null +++ b/packages/turf-geojson-rbush/test/out/all.points.geojson @@ -0,0 +1,56 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + -86.8359375, + 42.8115217450979 + ] + }, + "bbox": [ + -86.8359375, + 42.8115217450979, + -86.8359375, + 42.8115217450979 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + -67.5, + 48.69096039092549 + ] + }, + "bbox": [ + -67.5, + 48.69096039092549, + -67.5, + 48.69096039092549 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + -106.171875, + 46.800059446787316 + ] + }, + "bbox": [ + -106.171875, + 46.800059446787316, + -106.171875, + 46.800059446787316 + ] + } + ] +} diff --git a/packages/turf-geojson-rbush/test/out/all.polygons.geojson b/packages/turf-geojson-rbush/test/out/all.polygons.geojson new file mode 100644 index 0000000000..a25063017d --- /dev/null +++ b/packages/turf-geojson-rbush/test/out/all.polygons.geojson @@ -0,0 +1,153 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78, + 41 + ], + [ + -67, + 41 + ], + [ + -67, + 48 + ], + [ + -78, + 48 + ], + [ + -78, + 41 + ] + ] + ] + }, + "bbox": [ + -78, + 41, + -67, + 48 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -93, + 32 + ], + [ + -83, + 32 + ], + [ + -83, + 39 + ], + [ + -93, + 39 + ], + [ + -93, + 32 + ] + ] + ] + }, + "bbox": [ + -93, + 32, + -83, + 39 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -97.646484375, + 43.197167282501276 + ], + [ + -88.681640625, + 43.197167282501276 + ], + [ + -88.681640625, + 48.28319289548349 + ], + [ + -97.646484375, + 48.28319289548349 + ], + [ + -97.646484375, + 43.197167282501276 + ] + ] + ] + }, + "bbox": [ + -97.646484375, + 43.197167282501276, + -88.681640625, + 48.28319289548349 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -93.8671875, + 36.87962060502676 + ], + [ + -75.89355468749999, + 36.87962060502676 + ], + [ + -75.89355468749999, + 45.1510532655634 + ], + [ + -93.8671875, + 45.1510532655634 + ], + [ + -93.8671875, + 36.87962060502676 + ] + ] + ] + }, + "bbox": [ + -93.8671875, + 36.87962060502676, + -75.89355468749999, + 45.1510532655634 + ] + } + ] +} diff --git a/packages/turf-geojson-rbush/test/out/search.linestrings.geojson b/packages/turf-geojson-rbush/test/out/search.linestrings.geojson new file mode 100644 index 0000000000..619566bd0f --- /dev/null +++ b/packages/turf-geojson-rbush/test/out/search.linestrings.geojson @@ -0,0 +1,86 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -121.9921875, + 41.77131167976407 + ], + [ + -112.1484375, + 49.15296965617042 + ], + [ + -95.2734375, + 49.15296965617042 + ] + ] + }, + "bbox": [ + -121.9921875, + 41.77131167976407, + -95.2734375, + 49.15296965617042 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -101.953125, + 34.016241889667015 + ], + [ + -88.9453125, + 40.17887331434696 + ], + [ + -78.046875, + 50.064191736659104 + ] + ] + }, + "bbox": [ + -101.953125, + 34.016241889667015, + -78.046875, + 50.064191736659104 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [ + -108.6328125, + 42.032974332441405 + ], + [ + -102.65625, + 39.36827914916014 + ], + [ + -95.97656249999999, + 39.36827914916014 + ] + ] + }, + "bbox": [ + -108.6328125, + 39.36827914916014, + -95.97656249999999, + 42.032974332441405 + ] + } + ] +} diff --git a/packages/turf-geojson-rbush/test/out/search.points.geojson b/packages/turf-geojson-rbush/test/out/search.points.geojson new file mode 100644 index 0000000000..2c8bcde2cb --- /dev/null +++ b/packages/turf-geojson-rbush/test/out/search.points.geojson @@ -0,0 +1,22 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [ + -86.8359375, + 42.8115217450979 + ] + }, + "bbox": [ + -86.8359375, + 42.8115217450979, + -86.8359375, + 42.8115217450979 + ] + } + ] +} diff --git a/packages/turf-geojson-rbush/test/out/search.polygons.geojson b/packages/turf-geojson-rbush/test/out/search.polygons.geojson new file mode 100644 index 0000000000..acffede86a --- /dev/null +++ b/packages/turf-geojson-rbush/test/out/search.polygons.geojson @@ -0,0 +1,79 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -78, + 41 + ], + [ + -67, + 41 + ], + [ + -67, + 48 + ], + [ + -78, + 48 + ], + [ + -78, + 41 + ] + ] + ] + }, + "bbox": [ + -78, + 41, + -67, + 48 + ] + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + -93.8671875, + 36.87962060502676 + ], + [ + -75.89355468749999, + 36.87962060502676 + ], + [ + -75.89355468749999, + 45.1510532655634 + ], + [ + -93.8671875, + 45.1510532655634 + ], + [ + -93.8671875, + 36.87962060502676 + ] + ] + ] + }, + "bbox": [ + -93.8671875, + 36.87962060502676, + -75.89355468749999, + 45.1510532655634 + ] + } + ] +} diff --git a/packages/turf-geojson-rbush/types.ts b/packages/turf-geojson-rbush/types.ts new file mode 100644 index 0000000000..adf299ec05 --- /dev/null +++ b/packages/turf-geojson-rbush/types.ts @@ -0,0 +1,45 @@ +import { point, polygon, featureCollection } from "@turf/helpers"; +import { BBox, Point, Polygon } from "geojson"; +import rbush from "./"; + +// Fixtures +const bbox: BBox = [-180, -90, 180, 90]; +const pt = point([0, 0]); +const points = featureCollection([pt, pt]); +const poly = polygon([ + [ + [0, 0], + [1, 1], + [1, 1], + [0, 0], + ], +]); +const polygons = featureCollection([poly, poly]); + +// Initialize GeoJSON RBush Tree +const tree = rbush(); + +// Load Tree with a FeatureCollection +tree.load(points); +tree.load(polygons); + +// Insert by Feature +tree.insert(pt); +tree.insert(poly); + +// Find All (returns FeatureCollection) +const all = tree.all(); + +// Search by Feature (returns FeatureCollection) +const search = tree.search(poly); + +// Collides by Feature (returns FeatureCollection) +const collides = tree.collides(poly); + +// Remove by Feature +tree.remove(pt); +tree.remove(poly); + +// BBox support +tree.search(bbox); +tree.collides(bbox); diff --git a/packages/turf-great-circle/README.md b/packages/turf-great-circle/README.md index ca1d8dee4d..8703e2577b 100644 --- a/packages/turf-great-circle/README.md +++ b/packages/turf-great-circle/README.md @@ -31,7 +31,7 @@ var greatCircle = turf.greatCircle(start, end, {properties: {name: 'Seattle to D var addToMap = [start, end, greatCircle] ``` -Returns **[Feature][6]<([LineString][7] | [MultiLineString][8])>** great circle line feature +Returns **[Feature][6]<([LineString][1] | [MultiLineString][2])>** great circle line feature [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -45,30 +45,21 @@ Returns **[Feature][6]<([LineString][7] | [MultiLineString][8])>** great circle [6]: https://tools.ietf.org/html/rfc7946#section-3.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.5 - - + --- -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: ```sh $ npm install @turf/great-circle ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-great-circle/package.json b/packages/turf-great-circle/package.json index 89ac79ef8c..a192e6b0df 100644 --- a/packages/turf-great-circle/package.json +++ b/packages/turf-great-circle/package.json @@ -1,6 +1,6 @@ { "name": "@turf/great-circle", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf great-circle module", "author": "Turf Authors", "contributors": [ @@ -45,24 +45,25 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2" } } diff --git a/packages/turf-helpers/README.md b/packages/turf-helpers/README.md index 0e1b956ff6..abd0a5d82b 100644 --- a/packages/turf-helpers/README.md +++ b/packages/turf-helpers/README.md @@ -30,12 +30,12 @@ Wraps a GeoJSON [Geometry][3] in a GeoJSON [Feature][4]. ### Parameters -* `geometry` **[Geometry][5]** input geometry +* `geometry` **[Geometry][3]** input geometry * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -50,7 +50,7 @@ var feature = turf.feature(geometry); //=feature ``` -Returns **[Feature][8]** a GeoJSON Feature +Returns **[Feature][4]** a GeoJSON Feature ## geometry @@ -59,8 +59,8 @@ For GeometryCollection type use `helpers.geometryCollection` ### Parameters -* `type` **[string][7]** Geometry Type -* `coordinates` **[Array][6]\** Coordinates +* `type` **[string][6]** Geometry Type +* `coordinates` **[Array][5]\** Coordinates * `options` **[Object][2]** Optional Parameters (optional, default `{}`) ### Examples @@ -72,20 +72,20 @@ var geometry = turf.geometry(type, coordinates); // => geometry ``` -Returns **[Geometry][5]** a GeoJSON Geometry +Returns **[Geometry][3]** a GeoJSON Geometry ## point -Creates a [Point][9] [Feature][4] from a Position. +Creates a [Point][7] [Feature][4] from a Position. ### Parameters -* `coordinates` **[Array][6]<[number][1]>** longitude, latitude position (each in decimal degrees) +* `coordinates` **[Array][5]<[number][1]>** longitude, latitude position (each in decimal degrees) * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -95,21 +95,21 @@ var point = turf.point([-75.343, 39.984]); //=point ``` -Returns **[Feature][8]<[Point][10]>** a Point feature +Returns **[Feature][4]<[Point][7]>** a Point feature ## points -Creates a [Point][9] [FeatureCollection][11] from an Array of Point coordinates. +Creates a [Point][7] [FeatureCollection][8] from an Array of Point coordinates. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[number][1]>>** an array of Points +* `coordinates` **[Array][5]<[Array][5]<[number][1]>>** an array of Points * `properties` **[Object][2]** Translate these properties to each Feature (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the FeatureCollection - * `options.id` **([string][7] | [number][1])?** Identifier associated with the FeatureCollection + * `options.id` **([string][6] | [number][1])?** Identifier associated with the FeatureCollection ### Examples @@ -123,20 +123,20 @@ var points = turf.points([ //=points ``` -Returns **[FeatureCollection][12]<[Point][10]>** Point Feature +Returns **[FeatureCollection][8]<[Point][7]>** Point Feature ## polygon -Creates a [Polygon][13] [Feature][4] from an Array of LinearRings. +Creates a [Polygon][9] [Feature][4] from an Array of LinearRings. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[Array][6]<[number][1]>>>** an array of LinearRings +* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[number][1]>>>** an array of LinearRings * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -146,20 +146,20 @@ var polygon = turf.polygon([[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]], //=polygon ``` -Returns **[Feature][8]<[Polygon][14]>** Polygon Feature +Returns **[Feature][4]<[Polygon][9]>** Polygon Feature ## polygons -Creates a [Polygon][13] [FeatureCollection][11] from an Array of Polygon coordinates. +Creates a [Polygon][9] [FeatureCollection][8] from an Array of Polygon coordinates. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[Array][6]<[Array][6]<[number][1]>>>>** an array of Polygon coordinates +* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[Array][5]<[number][1]>>>>** an array of Polygon coordinates * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the FeatureCollection + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the FeatureCollection ### Examples @@ -172,20 +172,20 @@ var polygons = turf.polygons([ //=polygons ``` -Returns **[FeatureCollection][12]<[Polygon][14]>** Polygon FeatureCollection +Returns **[FeatureCollection][8]<[Polygon][9]>** Polygon FeatureCollection ## lineString -Creates a [LineString][15] [Feature][4] from an Array of Positions. +Creates a [LineString][10] [Feature][4] from an Array of Positions. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[number][1]>>** an array of Positions +* `coordinates` **[Array][5]<[Array][5]<[number][1]>>** an array of Positions * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -197,21 +197,21 @@ var linestring2 = turf.lineString([[-14, 43], [-13, 40], [-15, 45], [-10, 49]], //=linestring2 ``` -Returns **[Feature][8]<[LineString][16]>** LineString Feature +Returns **[Feature][4]<[LineString][10]>** LineString Feature ## lineStrings -Creates a [LineString][15] [FeatureCollection][11] from an Array of LineString coordinates. +Creates a [LineString][10] [FeatureCollection][8] from an Array of LineString coordinates. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[Array][6]<[number][1]>>>** an array of LinearRings +* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[number][1]>>>** an array of LinearRings * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the FeatureCollection - * `options.id` **([string][7] | [number][1])?** Identifier associated with the FeatureCollection + * `options.id` **([string][6] | [number][1])?** Identifier associated with the FeatureCollection ### Examples @@ -224,19 +224,19 @@ var linestrings = turf.lineStrings([ //=linestrings ``` -Returns **[FeatureCollection][12]<[LineString][16]>** LineString FeatureCollection +Returns **[FeatureCollection][8]<[LineString][10]>** LineString FeatureCollection ## featureCollection -Takes one or more [Features][4] and creates a [FeatureCollection][11]. +Takes one or more [Features][4] and creates a [FeatureCollection][8]. ### Parameters -* `features` **[Array][6]<[Feature][8]>** input features +* `features` **[Array][5]<[Feature][4]>** input features * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -254,21 +254,21 @@ var collection = turf.featureCollection([ //=collection ``` -Returns **[FeatureCollection][12]** FeatureCollection of Features +Returns **[FeatureCollection][8]** FeatureCollection of Features ## multiLineString -Creates a [Feature\][17] based on a +Creates a [Feature\][11] based on a coordinate array. Properties can be added optionally. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[Array][6]<[number][1]>>>** an array of LineStrings +* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[number][1]>>>** an array of LineStrings * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -278,23 +278,23 @@ var multiLine = turf.multiLineString([[[0,0],[10,10]]]); //=multiLine ``` -* Throws **[Error][18]** if no coordinates are passed +* Throws **[Error][12]** if no coordinates are passed -Returns **[Feature][8]<[MultiLineString][19]>** a MultiLineString feature +Returns **[Feature][4]<[MultiLineString][13]>** a MultiLineString feature ## multiPoint -Creates a [Feature\][20] based on a +Creates a [Feature\][14] based on a coordinate array. Properties can be added optionally. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[number][1]>>** an array of Positions +* `coordinates` **[Array][5]<[Array][5]<[number][1]>>** an array of Positions * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -304,23 +304,23 @@ var multiPt = turf.multiPoint([[0,0],[10,10]]); //=multiPt ``` -* Throws **[Error][18]** if no coordinates are passed +* Throws **[Error][12]** if no coordinates are passed -Returns **[Feature][8]<[MultiPoint][21]>** a MultiPoint feature +Returns **[Feature][4]<[MultiPoint][15]>** a MultiPoint feature ## multiPolygon -Creates a [Feature\][22] based on a +Creates a [Feature\][16] based on a coordinate array. Properties can be added optionally. ### Parameters -* `coordinates` **[Array][6]<[Array][6]<[Array][6]<[Array][6]<[number][1]>>>>** an array of Polygons +* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[Array][5]<[number][1]>>>>** an array of Polygons * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -330,23 +330,23 @@ var multiPoly = turf.multiPolygon([[[[0,0],[0,10],[10,10],[10,0],[0,0]]]]); //=multiPoly ``` -* Throws **[Error][18]** if no coordinates are passed +* Throws **[Error][12]** if no coordinates are passed -Returns **[Feature][8]<[MultiPolygon][23]>** a multipolygon feature +Returns **[Feature][4]<[MultiPolygon][17]>** a multipolygon feature ## geometryCollection -Creates a [Feature\][24] based on a +Creates a [Feature\][18] based on a coordinate array. Properties can be added optionally. ### Parameters -* `geometries` **[Array][6]<[Geometry][5]>** an array of GeoJSON Geometries +* `geometries` **[Array][5]<[Geometry][3]>** an array of GeoJSON Geometries * `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) * `options` **[Object][2]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][6]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][7] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature ### Examples @@ -358,7 +358,7 @@ var collection = turf.geometryCollection([pt, line]); // => collection ``` -Returns **[Feature][8]<[GeometryCollection][25]>** a GeoJSON GeometryCollection Feature +Returns **[Feature][4]<[GeometryCollection][19]>** a GeoJSON GeometryCollection Feature ## round @@ -389,7 +389,7 @@ Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, ce ### Parameters * `radians` **[number][1]** in radians across the sphere -* `units` **[string][7]** can be degrees, radians, miles, inches, yards, metres, +* `units` **[string][6]** can be degrees, radians, miles, inches, yards, metres, meters, kilometres, kilometers. (optional, default `"kilometers"`) Returns **[number][1]** distance @@ -402,7 +402,7 @@ Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, ce ### Parameters * `distance` **[number][1]** in real units -* `units` **[string][7]** can be degrees, radians, miles, inches, yards, metres, +* `units` **[string][6]** can be degrees, radians, miles, inches, yards, metres, meters, kilometres, kilometers. (optional, default `"kilometers"`) Returns **[number][1]** radians @@ -415,7 +415,7 @@ Valid units: miles, nauticalmiles, inches, yards, meters, metres, centimeters, k ### Parameters * `distance` **[number][1]** in real units -* `units` **[string][7]** can be degrees, radians, miles, inches, yards, metres, +* `units` **[string][6]** can be degrees, radians, miles, inches, yards, metres, meters, kilometres, kilometers. (optional, default `"kilometers"`) Returns **[number][1]** degrees @@ -494,7 +494,7 @@ turf.isNumber('foo') //=false ``` -Returns **[boolean][26]** true/false +Returns **[boolean][20]** true/false ## isObject @@ -513,7 +513,7 @@ turf.isObject('foo') //=false ``` -Returns **[boolean][26]** true/false, including false for Arrays and Functions +Returns **[boolean][20]** true/false, including false for Arrays and Functions [1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number @@ -523,70 +523,53 @@ Returns **[boolean][26]** true/false, including false for Arrays and Functions [4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1 +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[8]: https://tools.ietf.org/html/rfc7946#section-3.2 +[8]: https://tools.ietf.org/html/rfc7946#section-3.3 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[10]: https://tools.ietf.org/html/rfc7946#section-3.1.4 -[11]: https://tools.ietf.org/html/rfc7946#section-3.3 +[11]: Feature -[12]: https://tools.ietf.org/html/rfc7946#section-3.3 +[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error -[13]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[13]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[14]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[14]: Feature -[15]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[15]: https://tools.ietf.org/html/rfc7946#section-3.1.3 -[16]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[16]: Feature -[17]: Feature +[17]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[18]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error +[18]: Feature -[19]: https://tools.ietf.org/html/rfc7946#section-3.1.5 +[19]: https://tools.ietf.org/html/rfc7946#section-3.1.8 -[20]: Feature +[20]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean -[21]: https://tools.ietf.org/html/rfc7946#section-3.1.3 - -[22]: Feature - -[23]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - -[24]: Feature - -[25]: https://tools.ietf.org/html/rfc7946#section-3.1.8 - -[26]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - - + --- -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: ```sh $ npm install @turf/helpers ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-helpers/index.ts b/packages/turf-helpers/index.ts index be3beb0386..5c12679377 100644 --- a/packages/turf-helpers/index.ts +++ b/packages/turf-helpers/index.ts @@ -137,7 +137,7 @@ export const areaFactors: Record = { */ export function feature< G extends GeometryObject = Geometry, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( geom: G | null, properties?: P, @@ -214,7 +214,7 @@ export function geometry( * * //=point */ -export function point

( +export function point

( coordinates: Position, properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -259,7 +259,7 @@ export function point

( * * //=points */ -export function points

( +export function points

( coordinates: Position[], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -287,7 +287,7 @@ export function points

( * * //=polygon */ -export function polygon

( +export function polygon

( coordinates: Position[][], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -335,7 +335,7 @@ export function polygon

( * * //=polygons */ -export function polygons

( +export function polygons

( coordinates: Position[][][], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -365,7 +365,7 @@ export function polygons

( * //=linestring1 * //=linestring2 */ -export function lineString

( +export function lineString

( coordinates: Position[], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -399,7 +399,7 @@ export function lineString

( * * //=linestrings */ -export function lineStrings

( +export function lineStrings

( coordinates: Position[][], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -436,7 +436,7 @@ export function lineStrings

( */ export function featureCollection< G extends GeometryObject = Geometry, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( features: Array>, options: { bbox?: BBox; id?: Id } = {} @@ -469,7 +469,9 @@ export function featureCollection< * * //=multiLine */ -export function multiLineString

( +export function multiLineString< + P extends GeoJsonProperties = GeoJsonProperties, +>( coordinates: Position[][], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -498,7 +500,7 @@ export function multiLineString

( * * //=multiPt */ -export function multiPoint

( +export function multiPoint

( coordinates: Position[], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -528,7 +530,7 @@ export function multiPoint

( * //=multiPoly * */ -export function multiPolygon

( +export function multiPolygon

( coordinates: Position[][][], properties?: P, options: { bbox?: BBox; id?: Id } = {} @@ -558,7 +560,9 @@ export function multiPolygon

( * * // => collection */ -export function geometryCollection

( +export function geometryCollection< + P extends GeoJsonProperties = GeoJsonProperties, +>( geometries: Array< Point | LineString | Polygon | MultiPoint | MultiLineString | MultiPolygon >, diff --git a/packages/turf-helpers/package.json b/packages/turf-helpers/package.json index a66bebe3d0..fa068a5b8a 100644 --- a/packages/turf-helpers/package.json +++ b/packages/turf-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@turf/helpers", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf helpers module", "author": "Turf Authors", "contributors": [ @@ -33,7 +33,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -44,13 +44,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -58,8 +58,7 @@ "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { diff --git a/packages/turf-helpers/test.js b/packages/turf-helpers/test.js index 5d21f6fee2..a29258bf88 100644 --- a/packages/turf-helpers/test.js +++ b/packages/turf-helpers/test.js @@ -642,7 +642,7 @@ test("turf-helpers -- isNumber", (t) => { t.true(isNumber("123")); t.true(isNumber(+"123")); t.true(isNumber("1e10000")); - t.true(isNumber(1e10000)); + t.true(isNumber(1e100)); t.true(isNumber(Infinity)); t.true(isNumber(-Infinity)); diff --git a/packages/turf-helpers/types.ts b/packages/turf-helpers/types.ts index abd281c367..74ae02a682 100644 --- a/packages/turf-helpers/types.ts +++ b/packages/turf-helpers/types.ts @@ -152,7 +152,7 @@ isNumber(-123); isNumber("123"); isNumber(+"123"); isNumber("1e10000"); -isNumber(1e10000); +isNumber(1e100); isNumber(Infinity); isNumber(-Infinity); diff --git a/packages/turf-hex-grid/README.md b/packages/turf-hex-grid/README.md index f9c3d865a2..c87c7a1c78 100644 --- a/packages/turf-hex-grid/README.md +++ b/packages/turf-hex-grid/README.md @@ -17,8 +17,8 @@ described in [Hexagonal Grids][3]. * `options.units` **[string][7]** used in calculating cell size, can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) * `options.properties` **[Object][6]** passed to each hexagon or triangle of the grid (optional, default `{}`) - * `options.mask` **[Feature][8]<[Polygon][9]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it - * `options.triangles` **[boolean][10]** whether to return as triangles instead of hexagons (optional, default `false`) + * `options.mask` **[Feature][8]<[Polygon][2]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it + * `options.triangles` **[boolean][9]** whether to return as triangles instead of hexagons (optional, default `false`) ### Examples @@ -33,7 +33,7 @@ var hexgrid = turf.hexGrid(bbox, cellSide, options); var addToMap = [hexgrid]; ``` -Returns **[FeatureCollection][11]<[Polygon][9]>** a hexagonal grid +Returns **[FeatureCollection][1]<[Polygon][2]>** a hexagonal grid [1]: https://tools.ietf.org/html/rfc7946#section-3.3 @@ -51,32 +51,23 @@ Returns **[FeatureCollection][11]<[Polygon][9]>** a hexagonal grid [8]: https://tools.ietf.org/html/rfc7946#section-3.2 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean -[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - -[11]: https://tools.ietf.org/html/rfc7946#section-3.3 - - + --- -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: ```sh $ npm install @turf/hex-grid ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-hex-grid/bench.js b/packages/turf-hex-grid/bench.js index e410843595..5e54c4eb6c 100644 --- a/packages/turf-hex-grid/bench.js +++ b/packages/turf-hex-grid/bench.js @@ -1,6 +1,7 @@ const Benchmark = require("benchmark"); const grid = require("./index").default; +// prettier-ignore var bbox = [ -96.6357421875, 31.12819929911196, diff --git a/packages/turf-hex-grid/index.ts b/packages/turf-hex-grid/index.ts index ce8521fb82..f542b49829 100644 --- a/packages/turf-hex-grid/index.ts +++ b/packages/turf-hex-grid/index.ts @@ -34,7 +34,7 @@ import { polygon, featureCollection, Units } from "@turf/helpers"; * //addToMap * var addToMap = [hexgrid]; */ -function hexGrid

( +function hexGrid

( bbox: BBox, cellSide: number, options: { diff --git a/packages/turf-hex-grid/package.json b/packages/turf-hex-grid/package.json index 5590ecdc74..ec18d27dd6 100644 --- a/packages/turf-hex-grid/package.json +++ b/packages/turf-hex-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/hex-grid", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf hex-grid module", "author": "Turf Authors", "contributors": [ @@ -37,7 +37,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -48,33 +48,32 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/intersect": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/intersect": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-hex-grid/types.ts b/packages/turf-hex-grid/types.ts index 83e6e41bc0..550dffa386 100644 --- a/packages/turf-hex-grid/types.ts +++ b/packages/turf-hex-grid/types.ts @@ -1,6 +1,7 @@ import { BBox } from "geojson"; import hexGrid from "./index"; +// prettier-ignore const bbox: BBox = [ -96.6357421875, 31.12819929911196, diff --git a/packages/turf-interpolate/README.md b/packages/turf-interpolate/README.md index 0c976df49f..6959ec9fe4 100644 --- a/packages/turf-interpolate/README.md +++ b/packages/turf-interpolate/README.md @@ -49,26 +49,21 @@ Returns **[FeatureCollection][2]<([Point][3] | [Polygon][7])>** grid of points o [7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - + --- -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: ```sh $ npm install @turf/interpolate ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-interpolate/package.json b/packages/turf-interpolate/package.json index ba2d9886a5..53b9b86e79 100644 --- a/packages/turf-interpolate/package.json +++ b/packages/turf-interpolate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/interpolate", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf interpolate module", "author": "Turf Authors", "contributors": [ @@ -41,34 +41,35 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "chromatism": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/hex-grid": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/point-grid": "^7.0.0-alpha.0", - "@turf/square-grid": "^7.0.0-alpha.0", - "@turf/triangle-grid": "^7.0.0-alpha.0" + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/hex-grid": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/point-grid": "^7.0.0-alpha.2", + "@turf/square-grid": "^7.0.0-alpha.2", + "@turf/triangle-grid": "^7.0.0-alpha.2" } } diff --git a/packages/turf-intersect/README.md b/packages/turf-intersect/README.md index 0d78c84512..cfbd2f83b7 100644 --- a/packages/turf-intersect/README.md +++ b/packages/turf-intersect/README.md @@ -9,10 +9,10 @@ finds their polygonal intersection. If they don't intersect, returns null. ### Parameters -* `features` **[FeatureCollection][3]<([Polygon][4] | [MultiPolygon][5])>** the features to intersect -* `options` **[Object][6]** Optional Parameters (optional, default `{}`) +* `features` **[FeatureCollection][3]<([Polygon][1] | [MultiPolygon][2])>** the features to intersect +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.properties` **[Object][6]** Translate GeoJSON Properties to Feature (optional, default `{}`) + * `options.properties` **[Object][4]** Translate GeoJSON Properties to Feature (optional, default `{}`) ### Examples @@ -42,7 +42,7 @@ var intersection = turf.intersect(turf.featureCollection([poly1, poly2])); var addToMap = [poly1, poly2, intersection]; ``` -Returns **([Feature][7] | null)** returns a feature representing the area they share (either a [Polygon][1] or +Returns **([Feature][5] | null)** returns a feature representing the area they share (either a [Polygon][1] or [MultiPolygon][2]). If they do not share any area, returns `null`. [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -51,34 +51,25 @@ Returns **([Feature][7] | null)** returns a feature representing the area they s [3]: https://tools.ietf.org/html/rfc7946#section-3.3 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - -[7]: https://tools.ietf.org/html/rfc7946#section-3.2 - - + --- -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: ```sh $ npm install @turf/intersect ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-intersect/index.ts b/packages/turf-intersect/index.ts index 1c18ea8f52..3ed07bf217 100644 --- a/packages/turf-intersect/index.ts +++ b/packages/turf-intersect/index.ts @@ -44,7 +44,9 @@ import polygonClipping from "polygon-clipping"; * //addToMap * var addToMap = [poly1, poly2, intersection]; */ -export default function intersect

( +export default function intersect< + P extends GeoJsonProperties = GeoJsonProperties, +>( features: FeatureCollection, options: { properties?: P; diff --git a/packages/turf-intersect/package.json b/packages/turf-intersect/package.json index c45a9042bc..967cdce515 100644 --- a/packages/turf-intersect/package.json +++ b/packages/turf-intersect/package.json @@ -1,6 +1,6 @@ { "name": "@turf/intersect", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf intersect module", "author": "Turf Authors", "license": "MIT", @@ -26,7 +26,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -37,13 +37,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -53,14 +53,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "polygon-clipping": "^0.15.3", "tslib": "^2.3.0" } diff --git a/packages/turf-invariant/README.md b/packages/turf-invariant/README.md index 5652bdeaa9..a885eebbb5 100644 --- a/packages/turf-invariant/README.md +++ b/packages/turf-invariant/README.md @@ -66,8 +66,8 @@ Enforce expectations about types of GeoJSON objects for Turf. ## featureOf -Enforce expectations about types of [Feature][10] inputs for Turf. -Internally this uses [geojsonType][11] to judge geometry types. +Enforce expectations about types of [Feature][5] inputs for Turf. +Internally this uses [geojsonType][10] to judge geometry types. ### Parameters @@ -81,12 +81,12 @@ Internally this uses [geojsonType][11] to judge geometry types. ## collectionOf -Enforce expectations about types of [FeatureCollection][12] inputs for Turf. -Internally this uses [geojsonType][11] to judge geometry types. +Enforce expectations about types of [FeatureCollection][11] inputs for Turf. +Internally this uses [geojsonType][10] to judge geometry types. ### Parameters -* `featureCollection` **[FeatureCollection][13]** a FeatureCollection for which features will be judged +* `featureCollection` **[FeatureCollection][11]** a FeatureCollection for which features will be judged * `type` **[string][8]** expected GeoJSON type * `name` **[string][8]** name of calling function @@ -128,7 +128,7 @@ Get GeoJSON object's type, Geometry type is prioritize. ### Parameters * `geojson` **[GeoJSON][7]** GeoJSON object -* `_name` **[string][8]?** +* `_name` **[string][8]?** * `name` **[string][8]** name of the variable to display in error message (unused) (optional, default `"geojson"`) ### Examples @@ -166,34 +166,25 @@ Returns **[string][8]** GeoJSON type [9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error -[10]: https://tools.ietf.org/html/rfc7946#section-3.2 +[10]: #geojsontype -[11]: #geojsontype +[11]: https://tools.ietf.org/html/rfc7946#section-3.3 -[12]: https://tools.ietf.org/html/rfc7946#section-3.3 - -[13]: https://tools.ietf.org/html/rfc7946#section-3.3 - - + --- -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: ```sh $ npm install @turf/invariant ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-invariant/index.ts b/packages/turf-invariant/index.ts index 44e7004bca..078937d1ff 100644 --- a/packages/turf-invariant/index.ts +++ b/packages/turf-invariant/index.ts @@ -71,7 +71,7 @@ export function getCoords< | Polygon | MultiPoint | MultiLineString - | MultiPolygon + | MultiPolygon, >(coords: any[] | Feature | G): any[] { if (Array.isArray(coords)) { return coords; diff --git a/packages/turf-invariant/package.json b/packages/turf-invariant/package.json index c7e2c1fa42..2db1a578a1 100644 --- a/packages/turf-invariant/package.json +++ b/packages/turf-invariant/package.json @@ -1,6 +1,6 @@ { "name": "@turf/invariant", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf invariant module", "author": "Turf Authors", "contributors": [ @@ -30,7 +30,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -41,25 +41,24 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-isobands/README.md b/packages/turf-isobands/README.md index 9544a6c281..a2397c4d19 100644 --- a/packages/turf-isobands/README.md +++ b/packages/turf-isobands/README.md @@ -9,56 +9,45 @@ value breaks and generates filled contour isobands. ### Parameters -* `pointGrid` **[FeatureCollection][3]<[Point][4]>** input points - must be square or rectangular -* `breaks` **[Array][5]<[number][6]>** where to draw contours -* `options` **[Object][7]** options on output (optional, default `{}`) +* `pointGrid` **[FeatureCollection][1]<[Point][2]>** input points - must be square or rectangular +* `breaks` **[Array][3]<[number][4]>** where to draw contours +* `options` **[Object][5]** options on output (optional, default `{}`) - * `options.zProperty` **[string][8]** the property name in `points` from which z-values will be pulled (optional, default `'elevation'`) - * `options.commonProperties` **[Object][7]** GeoJSON properties passed to ALL isobands (optional, default `{}`) - * `options.breaksProperties` **[Array][5]<[Object][7]>** GeoJSON properties passed, in order, to the correspondent isoband (order defined by breaks) (optional, default `[]`) + * `options.zProperty` **[string][6]** the property name in `points` from which z-values will be pulled (optional, default `'elevation'`) + * `options.commonProperties` **[Object][5]** GeoJSON properties passed to ALL isobands (optional, default `{}`) + * `options.breaksProperties` **[Array][3]<[Object][5]>** GeoJSON properties passed, in order, to the correspondent isoband (order defined by breaks) (optional, default `[]`) -Returns **[FeatureCollection][3]<[MultiPolygon][9]>** a FeatureCollection of [MultiPolygon][10] features representing isobands +Returns **[FeatureCollection][1]<[MultiPolygon][7]>** a FeatureCollection of [MultiPolygon][7] features representing isobands [1]: https://tools.ietf.org/html/rfc7946#section-3.3 [2]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[3]: https://tools.ietf.org/html/rfc7946#section-3.3 +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - - + --- -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: ```sh $ npm install @turf/isobands ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-isobands/lib/marchingsquares-isobands.js b/packages/turf-isobands/lib/marchingsquares-isobands.js index f6405a6bd0..768d30dc3d 100644 --- a/packages/turf-isobands/lib/marchingsquares-isobands.js +++ b/packages/turf-isobands/lib/marchingsquares-isobands.js @@ -1626,7 +1626,15 @@ function computeBandGrid(data, minV, bandwidth) { lefttop, leftbottom; - topleft = topright = bottomleft = bottomright = righttop = rightbottom = lefttop = leftbottom = 0.5; + topleft = + topright = + bottomleft = + bottomright = + righttop = + rightbottom = + lefttop = + leftbottom = + 0.5; var edges = []; diff --git a/packages/turf-isobands/package.json b/packages/turf-isobands/package.json index dd71d95747..bc73918f2d 100644 --- a/packages/turf-isobands/package.json +++ b/packages/turf-isobands/package.json @@ -1,6 +1,6 @@ { "name": "@turf/isobands", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf isobands module", "author": "Turf Authors", "contributors": [ @@ -33,7 +33,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -44,20 +44,20 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/envelope": "^7.0.0-alpha.0", - "@turf/point-grid": "^7.0.0-alpha.0", - "@turf/random": "^7.0.0-alpha.0", - "@turf/rhumb-destination": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/envelope": "^7.0.0-alpha.2", + "@turf/point-grid": "^7.0.0-alpha.2", + "@turf/random": "^7.0.0-alpha.2", + "@turf/rhumb-destination": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "chroma-js": "*", "load-json-file": "*", @@ -65,19 +65,18 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/area": "^7.0.0-alpha.0", - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/explode": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/area": "^7.0.0-alpha.2", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/explode": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-isolines/README.md b/packages/turf-isolines/README.md index e5b620bc48..83c9a60fcd 100644 --- a/packages/turf-isolines/README.md +++ b/packages/turf-isolines/README.md @@ -9,13 +9,13 @@ value breaks and generates [isolines][3]. ### Parameters -* `pointGrid` **[FeatureCollection][4]<[Point][5]>** input points -* `breaks` **[Array][6]<[number][7]>** values of `zProperty` where to draw isolines -* `options` **[Object][8]** Optional parameters (optional, default `{}`) +* `pointGrid` **[FeatureCollection][1]<[Point][2]>** input points +* `breaks` **[Array][4]<[number][5]>** values of `zProperty` where to draw isolines +* `options` **[Object][6]** Optional parameters (optional, default `{}`) - * `options.zProperty` **[string][9]** the property name in `points` from which z-values will be pulled (optional, default `'elevation'`) - * `options.commonProperties` **[Object][8]** GeoJSON properties passed to ALL isolines (optional, default `{}`) - * `options.breaksProperties` **[Array][6]<[Object][8]>** GeoJSON properties passed, in order, to the correspondent isoline; + * `options.zProperty` **[string][7]** the property name in `points` from which z-values will be pulled (optional, default `'elevation'`) + * `options.commonProperties` **[Object][6]** GeoJSON properties passed to ALL isolines (optional, default `{}`) + * `options.breaksProperties` **[Array][4]<[Object][6]>** GeoJSON properties passed, in order, to the correspondent isoline; the breaks array will define the order in which the isolines are created (optional, default `[]`) ### Examples @@ -37,7 +37,7 @@ var lines = turf.isolines(pointGrid, breaks, {zProperty: 'temperature'}); var addToMap = [lines]; ``` -Returns **[FeatureCollection][4]<[MultiLineString][10]>** a FeatureCollection of [MultiLineString][11] features representing isolines +Returns **[FeatureCollection][1]<[MultiLineString][8]>** a FeatureCollection of [MultiLineString][8] features representing isolines [1]: https://tools.ietf.org/html/rfc7946#section-3.3 @@ -45,42 +45,31 @@ Returns **[FeatureCollection][4]<[MultiLineString][10]>** a FeatureCollection of [3]: https://en.wikipedia.org/wiki/Contour_line -[4]: https://tools.ietf.org/html/rfc7946#section-3.3 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[8]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.5 - -[11]: https://tools.ietf.org/html/rfc7946#section-3.1.5 - - + --- -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: ```sh $ npm install @turf/isolines ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-isolines/package.json b/packages/turf-isolines/package.json index a53298181a..883077cb63 100644 --- a/packages/turf-isolines/package.json +++ b/packages/turf-isolines/package.json @@ -1,6 +1,6 @@ { "name": "@turf/isolines", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf isolines module", "author": "Turf Authors", "contributors": [ @@ -32,7 +32,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -43,37 +43,36 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/envelope": "^7.0.0-alpha.0", - "@turf/point-grid": "^7.0.0-alpha.0", - "@turf/random": "^7.0.0-alpha.0", - "@turf/rhumb-destination": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/envelope": "^7.0.0-alpha.2", + "@turf/point-grid": "^7.0.0-alpha.2", + "@turf/random": "^7.0.0-alpha.2", + "@turf/rhumb-destination": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "matrix-to-grid": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-kinks/README.md b/packages/turf-kinks/README.md index a8569d856d..28316dce36 100644 --- a/packages/turf-kinks/README.md +++ b/packages/turf-kinks/README.md @@ -10,62 +10,56 @@ returns [points][5] at all self-intersections. ### Parameters -- `featureIn` **[Feature][6]<([LineString][7] | [MultiLineString][8] | [MultiPolygon][9] | [Polygon][10])>** input feature +* `featureIn` **[Feature][6]<([LineString][1] | [MultiLineString][2] | [MultiPolygon][3] | [Polygon][4])>** input feature ### Examples ```javascript -var poly = turf.polygon([ - [ - [-12.034835, 8.901183], - [-12.060413, 8.899826], - [-12.03638, 8.873199], - [-12.059383, 8.871418], - [-12.034835, 8.901183], - ], -]); +var poly = turf.polygon([[ + [-12.034835, 8.901183], + [-12.060413, 8.899826], + [-12.03638, 8.873199], + [-12.059383, 8.871418], + [-12.034835, 8.901183] +]]); var kinks = turf.kinks(poly); //addToMap -var addToMap = [poly, kinks]; +var addToMap = [poly, kinks] ``` -Returns **[FeatureCollection][11]<[Point][12]>** self-intersections +Returns **[FeatureCollection][7]<[Point][5]>** self-intersections [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 + [2]: https://tools.ietf.org/html/rfc7946#section-3.1.5 + [3]: https://tools.ietf.org/html/rfc7946#section-3.1.7 + [4]: https://tools.ietf.org/html/rfc7946#section-3.1.6 + [5]: https://tools.ietf.org/html/rfc7946#section-3.1.2 + [6]: https://tools.ietf.org/html/rfc7946#section-3.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.4 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[11]: https://tools.ietf.org/html/rfc7946#section-3.3 -[12]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - +[7]: https://tools.ietf.org/html/rfc7946#section-3.3 + + --- -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: ```sh $ npm install @turf/kinks ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-kinks/index.ts b/packages/turf-kinks/index.ts index 824f81356e..9221e82c48 100644 --- a/packages/turf-kinks/index.ts +++ b/packages/turf-kinks/index.ts @@ -33,7 +33,7 @@ import { point } from "@turf/helpers"; * var addToMap = [poly, kinks] */ export default function kinks< - T extends LineString | MultiLineString | Polygon | MultiPolygon + T extends LineString | MultiLineString | Polygon | MultiPolygon, >(featureIn: Feature): FeatureCollection { const results: FeatureCollection = { type: "FeatureCollection", diff --git a/packages/turf-kinks/package.json b/packages/turf-kinks/package.json index 4413929ef5..06014528e0 100644 --- a/packages/turf-kinks/package.json +++ b/packages/turf-kinks/package.json @@ -1,6 +1,6 @@ { "name": "@turf/kinks", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf kinks module", "author": "Turf Authors", "license": "MIT", @@ -26,7 +26,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -37,27 +37,27 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/meta": "^7.0.0-alpha.0", + "@turf/meta": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "sweepline-intersections": "^1.5.0", "tslib": "^2.3.0" } diff --git a/packages/turf-length/README.md b/packages/turf-length/README.md index 883417ab34..6a280be539 100644 --- a/packages/turf-length/README.md +++ b/packages/turf-length/README.md @@ -42,26 +42,21 @@ Returns **[number][8]** length of GeoJSON [8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - + --- -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: ```sh $ npm install @turf/length ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-length/package.json b/packages/turf-length/package.json index 0c311e6d23..da8cf87843 100644 --- a/packages/turf-length/package.json +++ b/packages/turf-length/package.json @@ -1,6 +1,6 @@ { "name": "@turf/length", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf length module", "author": "Turf Authors", "contributors": [ @@ -33,7 +33,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -44,13 +44,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -58,15 +58,14 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-line-arc/README.md b/packages/turf-line-arc/README.md index 9accf27802..0a8327926e 100644 --- a/packages/turf-line-arc/README.md +++ b/packages/turf-line-arc/README.md @@ -15,7 +15,7 @@ Creates a circular arc, of a circle of the given radius and center point, betwee * `bearing2` **[number][2]** angle, in decimal degrees, of the second radius of the arc * `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.steps` **[number][2]** number of steps (optional, default `64`) + * `options.steps` **[number][2]** number of steps (straight segments) that will constitute the arc (optional, default `64`) * `options.units` **[string][4]** miles, kilometers, degrees, or radians (optional, default `'kilometers'`) ### Examples @@ -46,26 +46,21 @@ Returns **[Feature][5]<[LineString][6]>** line arc [6]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - + --- -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: ```sh $ npm install @turf/line-arc ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-arc/index.ts b/packages/turf-line-arc/index.ts index 359c8a4f41..1cb9d9e824 100644 --- a/packages/turf-line-arc/index.ts +++ b/packages/turf-line-arc/index.ts @@ -13,7 +13,7 @@ import { Coord, lineString, Units } from "@turf/helpers"; * @param {number} bearing1 angle, in decimal degrees, of the first radius of the arc * @param {number} bearing2 angle, in decimal degrees, of the second radius of the arc * @param {Object} [options={}] Optional parameters - * @param {number} [options.steps=64] number of steps + * @param {number} [options.steps=64] number of steps (straight segments) that will constitute the arc * @param {string} [options.units='kilometers'] miles, kilometers, degrees, or radians * @returns {Feature} line arc * @example @@ -57,21 +57,19 @@ export default function lineArc( const arcStartDegree = angle1; const arcEndDegree = angle1 < angle2 ? angle2 : angle2 + 360; - let alfa = arcStartDegree; + let alpha = arcStartDegree; const coordinates = []; let i = 0; - - while (alfa < arcEndDegree) { + // How many degrees we'll swing around between each step. + const arcStep = (arcEndDegree - arcStartDegree) / steps; + // Add coords to the list, increasing the angle from our start bearing + // (alpha) by arcStep degrees until we reach the end bearing. + while (alpha <= arcEndDegree) { coordinates.push( - destination(center, radius, alfa, options).geometry.coordinates + destination(center, radius, alpha, options).geometry.coordinates ); i++; - alfa = arcStartDegree + (i * 360) / steps; - } - if (alfa >= arcEndDegree) { - coordinates.push( - destination(center, radius, arcEndDegree, options).geometry.coordinates - ); + alpha = arcStartDegree + i * arcStep; } return lineString(coordinates, properties); } @@ -81,11 +79,11 @@ export default function lineArc( * and returns a valid angle between 0-360 degrees * * @private - * @param {number} alfa angle between -180-180 degrees + * @param {number} alpha angle between -180-180 degrees * @returns {number} angle between 0-360 degrees */ -function convertAngleTo360(alfa: number) { - let beta = alfa % 360; +function convertAngleTo360(alpha: number) { + let beta = alpha % 360; if (beta < 0) { beta += 360; } diff --git a/packages/turf-line-arc/package.json b/packages/turf-line-arc/package.json index 2966ce6e42..4841635673 100644 --- a/packages/turf-line-arc/package.json +++ b/packages/turf-line-arc/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-arc", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-arc module", "author": "Turf Authors", "license": "MIT", @@ -25,7 +25,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -36,29 +36,29 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/circle": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/circle": "^7.0.0-alpha.2", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-line-arc/test.js b/packages/turf-line-arc/test.js index b2150d3093..85cb507b8a 100644 --- a/packages/turf-line-arc/test.js +++ b/packages/turf-line-arc/test.js @@ -4,7 +4,7 @@ const path = require("path"); const load = require("load-json-file"); const write = require("write-json-file"); const truncate = require("@turf/truncate").default; -const { featureCollection } = require("@turf/helpers"); +const { featureCollection, point } = require("@turf/helpers"); const lineArc = require("./index").default; const directories = { @@ -24,12 +24,54 @@ test("turf-line-arc", (t) => { for (const { filename, name, geojson } of fixtures) { const { radius, bearing1, bearing2, steps, units } = geojson.properties; const arc = truncate( - lineArc(geojson, radius, bearing1, bearing2, steps, units) + lineArc(geojson, radius, bearing1, bearing2, { steps, units }) ); const results = featureCollection([geojson, arc]); - if (process.env.REGEN) write.sync(directories.out + filename, results); t.deepEquals(results, load.sync(directories.out + filename), name); + // Check the resulting arc geometry has the expected number of points. + // undefined or 0 steps should default to 64 + 1 points, 1 to 1 + 1, + // 2 to 2 + 1, ... + const expectedPoints = geojson.properties?.steps + ? geojson.properties?.steps + 1 + : 64 + 1; + t.equals( + arc.geometry.coordinates.length, + expectedPoints, + `${name} number of points in arc` + ); } t.end(); }); + +test("turf-line-arc #2524", (t) => { + // Just test to make sure we're getting the correct number of points in the + // resultant arc i.e. steps + 1 + const options = { steps: 10, units: "kilometers" }; + + const center = point([115.959444, -31.945]); + const startAngle = 223; + const endAngle = 277; + const radius = 130; + const arc = lineArc(center, radius, startAngle, endAngle, options); + + t.equals(arc.geometry.coordinates.length, 10 + 1, "Number of points in arc"); + t.end(); +}); + +test("turf-line-arc #2446", (t) => { + // Test to make sure we're not getting an error, as described in + // https://github.com/Turfjs/turf/issues/2446 + const options = { steps: 15, units: "kilometers" }; + + const center = point([115.959444, -31.945]); + const startAngle = 253; + const endAngle = 277; + const radius = 119.7195; + + t.doesNotThrow(() => + lineArc(center, radius * 1.852, startAngle, endAngle, options) + ); + + t.end(); +}); diff --git a/packages/turf-line-arc/test/in/line-arc-one-step.geojson b/packages/turf-line-arc/test/in/line-arc-one-step.geojson new file mode 100644 index 0000000000..e309c37ed9 --- /dev/null +++ b/packages/turf-line-arc/test/in/line-arc-one-step.geojson @@ -0,0 +1,13 @@ +{ + "type": "Feature", + "properties": { + "steps": 1, + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "Point", + "coordinates": [11.343, 44.495] + } +} diff --git a/packages/turf-line-arc/test/in/line-arc-zero-steps.geojson b/packages/turf-line-arc/test/in/line-arc-zero-steps.geojson new file mode 100644 index 0000000000..4d7ec246e0 --- /dev/null +++ b/packages/turf-line-arc/test/in/line-arc-zero-steps.geojson @@ -0,0 +1,13 @@ +{ + "type": "Feature", + "properties": { + "steps": 0, + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "Point", + "coordinates": [11.343, 44.495] + } +} diff --git a/packages/turf-line-arc/test/in/line-arc7.geojson b/packages/turf-line-arc/test/in/line-arc7.geojson new file mode 100644 index 0000000000..bf64b88470 --- /dev/null +++ b/packages/turf-line-arc/test/in/line-arc7.geojson @@ -0,0 +1,12 @@ +{ + "type": "Feature", + "properties": { + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "Point", + "coordinates": [11.343, 44.495] + } +} diff --git a/packages/turf-line-arc/test/out/line-arc-greater-360.geojson b/packages/turf-line-arc/test/out/line-arc-greater-360.geojson index 3c73025420..a22155c6ac 100644 --- a/packages/turf-line-arc/test/out/line-arc-greater-360.geojson +++ b/packages/turf-line-arc/test/out/line-arc-greater-360.geojson @@ -24,9 +24,69 @@ "type": "LineString", "coordinates": [ [11.343, 44.539966], + [11.343344, 44.539965], + [11.343688, 44.539963], + [11.344032, 44.53996], + [11.344376, 44.539955], + [11.34472, 44.539949], + [11.345064, 44.539942], + [11.345408, 44.539933], + [11.345752, 44.539923], + [11.346096, 44.539912], + [11.346439, 44.539899], + [11.346783, 44.539885], + [11.347126, 44.53987], + [11.347469, 44.539853], + [11.347813, 44.539835], + [11.348156, 44.539816], + [11.348498, 44.539795], + [11.348841, 44.539773], [11.349184, 44.539749], + [11.349526, 44.539725], + [11.349868, 44.539699], + [11.35021, 44.539671], + [11.350552, 44.539642], + [11.350893, 44.539612], + [11.351234, 44.539581], + [11.351575, 44.539548], + [11.351916, 44.539514], + [11.352257, 44.539479], + [11.352597, 44.539442], + [11.352937, 44.539404], + [11.353276, 44.539365], + [11.353616, 44.539324], + [11.353955, 44.539282], + [11.354294, 44.539239], + [11.354632, 44.539194], + [11.35497, 44.539149], [11.355307, 44.539101], + [11.355645, 44.539053], + [11.355982, 44.539003], + [11.356318, 44.538952], + [11.356654, 44.538899], + [11.35699, 44.538846], + [11.357325, 44.53879], + [11.35766, 44.538734], + [11.357995, 44.538676], + [11.358329, 44.538617], + [11.358662, 44.538557], + [11.358995, 44.538496], + [11.359328, 44.538433], + [11.35966, 44.538369], + [11.359991, 44.538303], + [11.360322, 44.538236], + [11.360653, 44.538168], + [11.360983, 44.538099], [11.361313, 44.538028], + [11.361642, 44.537956], + [11.36197, 44.537883], + [11.362298, 44.537809], + [11.362625, 44.537733], + [11.362952, 44.537656], + [11.363278, 44.537578], + [11.363603, 44.537498], + [11.363928, 44.537418], + [11.364252, 44.537336], [11.364576, 44.537252] ] } diff --git a/packages/turf-line-arc/test/out/line-arc-one-step.geojson b/packages/turf-line-arc/test/out/line-arc-one-step.geojson new file mode 100644 index 0000000000..aae28c16bf --- /dev/null +++ b/packages/turf-line-arc/test/out/line-arc-one-step.geojson @@ -0,0 +1,34 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "steps": 1, + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "Point", + "coordinates": [11.343, 44.495] + } + }, + { + "type": "Feature", + "properties": { + "steps": 1, + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "LineString", + "coordinates": [ + [17.014763, 46.606416], + [17.240322, 46.246701] + ] + } + } + ] +} diff --git a/packages/turf-line-arc/test/out/line-arc-zero-steps.geojson b/packages/turf-line-arc/test/out/line-arc-zero-steps.geojson new file mode 100644 index 0000000000..c43632b441 --- /dev/null +++ b/packages/turf-line-arc/test/out/line-arc-zero-steps.geojson @@ -0,0 +1,97 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "steps": 0, + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "Point", + "coordinates": [11.343, 44.495] + } + }, + { + "type": "Feature", + "properties": { + "steps": 0, + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "LineString", + "coordinates": [ + [17.014763, 46.606416], + [17.018658, 46.600907], + [17.022542, 46.595393], + [17.026413, 46.589876], + [17.030274, 46.584356], + [17.034122, 46.578831], + [17.037959, 46.573303], + [17.041784, 46.567771], + [17.045597, 46.562236], + [17.049399, 46.556697], + [17.053189, 46.551154], + [17.056967, 46.545607], + [17.060733, 46.540057], + [17.064488, 46.534503], + [17.068231, 46.528946], + [17.071962, 46.523385], + [17.075682, 46.51782], + [17.079389, 46.512252], + [17.083085, 46.50668], + [17.086769, 46.501105], + [17.090442, 46.495526], + [17.094102, 46.489943], + [17.097751, 46.484357], + [17.101388, 46.478768], + [17.105013, 46.473174], + [17.108627, 46.467578], + [17.112228, 46.461978], + [17.115818, 46.456374], + [17.119396, 46.450767], + [17.122963, 46.445157], + [17.126517, 46.439543], + [17.13006, 46.433925], + [17.133591, 46.428305], + [17.13711, 46.42268], + [17.140617, 46.417053], + [17.144112, 46.411422], + [17.147596, 46.405787], + [17.151068, 46.40015], + [17.154528, 46.394508], + [17.157976, 46.388864], + [17.161412, 46.383216], + [17.164836, 46.377565], + [17.168249, 46.371911], + [17.171649, 46.366253], + [17.175038, 46.360592], + [17.178415, 46.354928], + [17.18178, 46.34926], + [17.185134, 46.34359], + [17.188475, 46.337916], + [17.191805, 46.332238], + [17.195122, 46.326558], + [17.198428, 46.320874], + [17.201722, 46.315187], + [17.205004, 46.309497], + [17.208274, 46.303804], + [17.211533, 46.298108], + [17.214779, 46.292408], + [17.218013, 46.286706], + [17.221236, 46.281], + [17.224447, 46.275291], + [17.227646, 46.269579], + [17.230832, 46.263864], + [17.234007, 46.258146], + [17.237171, 46.252425], + [17.240322, 46.246701] + ] + } + } + ] +} diff --git a/packages/turf-line-arc/test/out/line-arc1.geojson b/packages/turf-line-arc/test/out/line-arc1.geojson index 6e994aab21..85e64cac6f 100644 --- a/packages/turf-line-arc/test/out/line-arc1.geojson +++ b/packages/turf-line-arc/test/out/line-arc1.geojson @@ -24,12 +24,68 @@ "type": "LineString", "coordinates": [ [11.364576, 44.537252], + [11.365221, 44.537082], + [11.365864, 44.536906], + [11.366504, 44.536726], + [11.367141, 44.536541], + [11.367775, 44.53635], + [11.368406, 44.536155], + [11.369035, 44.535955], + [11.36966, 44.53575], [11.370282, 44.53554], + [11.3709, 44.535325], + [11.371516, 44.535106], + [11.372128, 44.534882], + [11.372736, 44.534653], + [11.373341, 44.534419], + [11.373943, 44.53418], + [11.37454, 44.533937], + [11.375134, 44.53369], [11.375724, 44.533437], + [11.37631, 44.53318], + [11.376893, 44.532919], + [11.377471, 44.532653], + [11.378045, 44.532383], + [11.378615, 44.532108], + [11.37918, 44.531828], + [11.379741, 44.531545], + [11.380298, 44.531257], [11.380851, 44.530964], + [11.381399, 44.530668], + [11.381942, 44.530367], + [11.382481, 44.530062], + [11.383015, 44.529752], + [11.383544, 44.529439], + [11.384069, 44.529121], + [11.384588, 44.5288], + [11.385103, 44.528474], [11.385612, 44.528145], + [11.386117, 44.527811], + [11.386616, 44.527474], + [11.38711, 44.527132], + [11.387599, 44.526787], + [11.388083, 44.526438], + [11.388561, 44.526086], + [11.389034, 44.525729], + [11.389501, 44.525369], [11.389963, 44.525006], + [11.390419, 44.524638], + [11.390869, 44.524268], + [11.391314, 44.523893], + [11.391753, 44.523516], + [11.392186, 44.523135], + [11.392614, 44.52275], + [11.393035, 44.522363], + [11.393451, 44.521972], [11.39386, 44.521578], + [11.394264, 44.52118], + [11.394661, 44.52078], + [11.395052, 44.520376], + [11.395437, 44.51997], + [11.395816, 44.51956], + [11.396188, 44.519148], + [11.396554, 44.518733], + [11.396914, 44.518314], [11.397267, 44.517894], [11.397614, 44.51747] ] diff --git a/packages/turf-line-arc/test/out/line-arc2.geojson b/packages/turf-line-arc/test/out/line-arc2.geojson index 549b40f5ee..7c27ae39b7 100644 --- a/packages/turf-line-arc/test/out/line-arc2.geojson +++ b/packages/turf-line-arc/test/out/line-arc2.geojson @@ -24,29 +24,69 @@ "type": "LineString", "coordinates": [ [11.406038, 44.494983], - [11.40573, 44.490575], - [11.404818, 44.486211], + [11.405994, 44.493328], + [11.405864, 44.491675], + [11.405649, 44.490027], + [11.405349, 44.488385], + [11.404965, 44.486753], + [11.404496, 44.485131], + [11.403945, 44.483524], [11.40331, 44.481931], - [11.401223, 44.477777], - [11.398575, 44.47379], + [11.402595, 44.480357], + [11.401798, 44.478802], + [11.400922, 44.477269], + [11.399967, 44.47576], + [11.398936, 44.474278], + [11.397828, 44.472823], + [11.396646, 44.471399], [11.395392, 44.470006], - [11.391706, 44.466464], - [11.387551, 44.463196], + [11.394067, 44.468648], + [11.392673, 44.467325], + [11.391211, 44.466039], + [11.389684, 44.464793], + [11.388094, 44.463588], + [11.386443, 44.462425], + [11.384734, 44.461307], [11.382967, 44.460234], - [11.378, 44.457607], - [11.372696, 44.45534], + [11.381147, 44.459208], + [11.379275, 44.458231], + [11.377354, 44.457303], + [11.375387, 44.456427], + [11.373376, 44.455603], + [11.371323, 44.454832], + [11.369233, 44.454115], [11.367107, 44.453454], - [11.361286, 44.451969], - [11.355289, 44.450897], + [11.364948, 44.452849], + [11.36276, 44.452302], + [11.360544, 44.451812], + [11.358306, 44.451381], + [11.356046, 44.451008], + [11.353769, 44.450695], + [11.351477, 44.450443], [11.349174, 44.45025], - [11.343, 44.450034], - [11.336826, 44.45025], + [11.346863, 44.450119], + [11.344546, 44.450048], + [11.342227, 44.450037], + [11.339909, 44.450088], + [11.337596, 44.4502], + [11.335289, 44.450372], + [11.332993, 44.450605], [11.330711, 44.450897], - [11.324714, 44.451969], - [11.318893, 44.453454], + [11.328445, 44.45125], + [11.326199, 44.451662], + [11.323976, 44.452132], + [11.321778, 44.452661], + [11.31961, 44.453246], + [11.317472, 44.453889], + [11.315369, 44.454587], [11.313304, 44.45534], - [11.308, 44.457607], - [11.303033, 44.460234], + [11.311279, 44.456146], + [11.309297, 44.457005], + [11.30736, 44.457916], + [11.305471, 44.458877], + [11.303634, 44.459887], + [11.301849, 44.460944], + [11.30012, 44.462047], [11.298449, 44.463196] ] } diff --git a/packages/turf-line-arc/test/out/line-arc3.geojson b/packages/turf-line-arc/test/out/line-arc3.geojson index 3dbbd0c9f6..33911f2cc8 100644 --- a/packages/turf-line-arc/test/out/line-arc3.geojson +++ b/packages/turf-line-arc/test/out/line-arc3.geojson @@ -24,53 +24,69 @@ "type": "LineString", "coordinates": [ [11.387599, 44.526787], - [11.391753, 44.523516], - [11.395437, 44.51997], + [11.390757, 44.524361], + [11.393656, 44.521775], + [11.39628, 44.519044], [11.398615, 44.516183], - [11.401257, 44.512193], - [11.403337, 44.508037], + [11.400648, 44.513208], + [11.402369, 44.510133], + [11.403767, 44.506977], [11.404836, 44.503756], - [11.40574, 44.49939], - [11.406038, 44.494983], + [11.40557, 44.500487], + [11.405965, 44.497189], + [11.406018, 44.493879], [11.40573, 44.490575], - [11.404818, 44.486211], - [11.40331, 44.481931], + [11.405102, 44.487296], + [11.404138, 44.484058], + [11.402842, 44.480879], [11.401223, 44.477777], - [11.398575, 44.47379], - [11.395392, 44.470006], + [11.399288, 44.474769], + [11.397048, 44.47187], + [11.394516, 44.469097], [11.391706, 44.466464], - [11.387551, 44.463196], - [11.382967, 44.460234], + [11.388631, 44.463985], + [11.38531, 44.461675], + [11.38176, 44.459545], [11.378, 44.457607], - [11.372696, 44.45534], - [11.367107, 44.453454], + [11.374051, 44.455871], + [11.369934, 44.454348], + [11.365671, 44.453045], [11.361286, 44.451969], - [11.355289, 44.450897], - [11.349174, 44.45025], + [11.356801, 44.451126], + [11.352243, 44.45052], + [11.347634, 44.450156], [11.343, 44.450034], - [11.336826, 44.45025], - [11.330711, 44.450897], + [11.338366, 44.450156], + [11.333757, 44.45052], + [11.329199, 44.451126], [11.324714, 44.451969], - [11.318893, 44.453454], - [11.313304, 44.45534], + [11.320329, 44.453045], + [11.316066, 44.454348], + [11.311949, 44.455871], [11.308, 44.457607], - [11.303033, 44.460234], - [11.298449, 44.463196], + [11.30424, 44.459545], + [11.30069, 44.461675], + [11.297369, 44.463985], [11.294294, 44.466464], - [11.290608, 44.470006], - [11.287425, 44.47379], + [11.291484, 44.469097], + [11.288952, 44.47187], + [11.286712, 44.474769], [11.284777, 44.477777], - [11.28269, 44.481931], - [11.281182, 44.486211], + [11.283158, 44.480879], + [11.281862, 44.484058], + [11.280898, 44.487296], [11.28027, 44.490575], - [11.279962, 44.494983], - [11.28026, 44.49939], + [11.279982, 44.493879], + [11.280035, 44.497189], + [11.28043, 44.500487], [11.281164, 44.503756], - [11.282663, 44.508037], - [11.284743, 44.512193], + [11.282233, 44.506977], + [11.283631, 44.510133], + [11.285352, 44.513208], [11.287385, 44.516183], - [11.290563, 44.51997], - [11.294247, 44.523516], + [11.28972, 44.519044], + [11.292344, 44.521775], + [11.295243, 44.524361], [11.298401, 44.526787] ] } diff --git a/packages/turf-line-arc/test/out/line-arc4.geojson b/packages/turf-line-arc/test/out/line-arc4.geojson index 07450bbffc..ca1afface3 100644 --- a/packages/turf-line-arc/test/out/line-arc4.geojson +++ b/packages/turf-line-arc/test/out/line-arc4.geojson @@ -24,12 +24,69 @@ "type": "LineString", "coordinates": [ [11.294686, 44.523893], - [11.29889, 44.527132], - [11.303519, 44.530062], - [11.308529, 44.532653], - [11.313872, 44.534882], - [11.319496, 44.536726], - [11.325347, 44.538168], + [11.295075, 44.524221], + [11.295468, 44.524546], + [11.295866, 44.524868], + [11.296267, 44.525188], + [11.296674, 44.525505], + [11.297084, 44.525819], + [11.297499, 44.52613], + [11.297917, 44.526438], + [11.29834, 44.526744], + [11.298767, 44.527046], + [11.299198, 44.527346], + [11.299633, 44.527643], + [11.300072, 44.527937], + [11.300515, 44.528227], + [11.300961, 44.528515], + [11.301412, 44.5288], + [11.301866, 44.529081], + [11.302324, 44.52936], + [11.302786, 44.529635], + [11.303251, 44.529907], + [11.303721, 44.530176], + [11.304193, 44.530442], + [11.304669, 44.530705], + [11.305149, 44.530964], + [11.305632, 44.53122], + [11.306119, 44.531473], + [11.306609, 44.531722], + [11.307102, 44.531969], + [11.307599, 44.532211], + [11.308098, 44.532451], + [11.308601, 44.532686], + [11.309107, 44.532919], + [11.309617, 44.533148], + [11.310129, 44.533374], + [11.310644, 44.533596], + [11.311162, 44.533814], + [11.311683, 44.534029], + [11.312207, 44.534241], + [11.312734, 44.534448], + [11.313264, 44.534653], + [11.313796, 44.534853], + [11.314331, 44.53505], + [11.314868, 44.535244], + [11.315408, 44.535433], + [11.315951, 44.535619], + [11.316496, 44.535802], + [11.317044, 44.53598], + [11.317594, 44.536155], + [11.318146, 44.536326], + [11.3187, 44.536494], + [11.319257, 44.536657], + [11.319816, 44.536817], + [11.320377, 44.536973], + [11.32094, 44.537125], + [11.321505, 44.537273], + [11.322072, 44.537418], + [11.322641, 44.537558], + [11.323212, 44.537695], + [11.323784, 44.537828], + [11.324358, 44.537956], + [11.324934, 44.538081], + [11.325512, 44.538202], + [11.326091, 44.53832], [11.326672, 44.538433] ] } diff --git a/packages/turf-line-arc/test/out/line-arc5.geojson b/packages/turf-line-arc/test/out/line-arc5.geojson index 22a8135324..5f6dfc5d5f 100644 --- a/packages/turf-line-arc/test/out/line-arc5.geojson +++ b/packages/turf-line-arc/test/out/line-arc5.geojson @@ -24,63 +24,69 @@ "type": "LineString", "coordinates": [ [11.326672, 44.538433], - [11.332724, 44.539365], - [11.338874, 44.53987], - [11.345064, 44.539942], - [11.351234, 44.539581], - [11.357325, 44.53879], - [11.363278, 44.537578], - [11.369035, 44.535955], - [11.37454, 44.533937], - [11.379741, 44.531545], - [11.384588, 44.5288], - [11.389034, 44.525729], - [11.393035, 44.522363], - [11.396554, 44.518733], - [11.399557, 44.514874], - [11.402014, 44.510824], - [11.403903, 44.506622], - [11.405204, 44.502308], - [11.405907, 44.497924], - [11.406003, 44.493511], - [11.405493, 44.489114], - [11.404381, 44.484773], - [11.402678, 44.480531], - [11.400401, 44.476428], - [11.397572, 44.472504], - [11.394218, 44.468797], - [11.390371, 44.465342], - [11.386068, 44.462173], - [11.381352, 44.45932], - [11.376267, 44.45681], - [11.370862, 44.454668], - [11.365189, 44.452914], - [11.359303, 44.451565], - [11.353261, 44.450634], - [11.34712, 44.45013], - [11.340939, 44.450058], - [11.334778, 44.450418], - [11.328696, 44.451208], - [11.322752, 44.452419], - [11.317002, 44.454039], - [11.311502, 44.456054], - [11.306305, 44.458444], - [11.30146, 44.461185], - [11.297015, 44.464252], - [11.293012, 44.467616], - [11.289489, 44.471242], - [11.286482, 44.475098], - [11.284018, 44.479146], - [11.282122, 44.483346], - [11.280811, 44.487658], - [11.2801, 44.492042], - [11.279994, 44.496454], - [11.280495, 44.500852], - [11.281598, 44.505194], - [11.283292, 44.509438], - [11.285562, 44.513543], - [11.288386, 44.51747], - [11.291736, 44.52118], + [11.33213, 44.539293], + [11.337673, 44.539805], + [11.343258, 44.539966], + [11.348841, 44.539773], + [11.354378, 44.539228], + [11.359826, 44.538336], + [11.365141, 44.537103], + [11.370282, 44.53554], + [11.375208, 44.533658], + [11.379881, 44.531473], + [11.384264, 44.529001], + [11.388323, 44.526262], + [11.392025, 44.523278], + [11.395341, 44.520072], + [11.398247, 44.516669], + [11.400718, 44.513095], + [11.402735, 44.50938], + [11.404284, 44.505552], + [11.405351, 44.501642], + [11.405928, 44.497679], + [11.406011, 44.493695], + [11.4056, 44.489722], + [11.404697, 44.48579], + [11.40331, 44.481931], + [11.401451, 44.478175], + [11.399132, 44.47455], + [11.396374, 44.471086], + [11.393197, 44.46781], + [11.389626, 44.464748], + [11.385691, 44.461923], + [11.38142, 44.459357], + [11.376848, 44.457071], + [11.372012, 44.455083], + [11.366948, 44.453408], + [11.361696, 44.452059], + [11.356298, 44.451047], + [11.350796, 44.450379], + [11.345233, 44.450062], + [11.339652, 44.450097], + [11.334097, 44.450485], + [11.328613, 44.451222], + [11.32324, 44.452302], + [11.318023, 44.453717], + [11.313001, 44.455456], + [11.308215, 44.457505], + [11.303701, 44.459848], + [11.299495, 44.462468], + [11.295629, 44.465342], + [11.292135, 44.468449], + [11.28904, 44.471765], + [11.286368, 44.475263], + [11.28414, 44.478916], + [11.282374, 44.482696], + [11.281083, 44.486572], + [11.280278, 44.490514], + [11.279966, 44.494492], + [11.280148, 44.498474], + [11.280824, 44.502429], + [11.281988, 44.506325], + [11.283631, 44.510133], + [11.285741, 44.513822], + [11.2883, 44.517364], + [11.29129, 44.52073], [11.294686, 44.523893] ] } diff --git a/packages/turf-line-arc/test/out/line-arc6.geojson b/packages/turf-line-arc/test/out/line-arc6.geojson index 6db88b05c9..46d44a0ff8 100644 --- a/packages/turf-line-arc/test/out/line-arc6.geojson +++ b/packages/turf-line-arc/test/out/line-arc6.geojson @@ -24,61 +24,68 @@ "type": "LineString", "coordinates": [ [11.397614, 44.51747], - [11.400438, 44.513543], - [11.402708, 44.509438], - [11.404402, 44.505194], - [11.405505, 44.500852], - [11.406006, 44.496454], - [11.4059, 44.492042], - [11.405189, 44.487658], + [11.400151, 44.513989], + [11.402252, 44.510364], + [11.403903, 44.506622], + [11.405089, 44.502791], + [11.405803, 44.498902], + [11.406038, 44.494983], + [11.405794, 44.491064], + [11.405072, 44.487175], [11.403878, 44.483346], - [11.401982, 44.479146], - [11.399518, 44.475098], - [11.396511, 44.471242], - [11.392988, 44.467616], - [11.388985, 44.464252], - [11.38454, 44.461185], - [11.379695, 44.458444], + [11.402221, 44.479605], + [11.400114, 44.475982], + [11.397572, 44.472504], + [11.394615, 44.469197], + [11.391266, 44.466086], + [11.387551, 44.463196], + [11.383496, 44.460547], + [11.379135, 44.45816], [11.374498, 44.456054], - [11.368998, 44.454039], - [11.363248, 44.452419], - [11.357304, 44.451208], - [11.351222, 44.450418], - [11.345061, 44.450058], - [11.33888, 44.45013], - [11.332739, 44.450634], + [11.369623, 44.454244], + [11.364545, 44.452744], + [11.359303, 44.451565], + [11.353938, 44.450717], + [11.34849, 44.450205], + [11.343, 44.450034], + [11.33751, 44.450205], + [11.332062, 44.450717], [11.326697, 44.451565], - [11.320811, 44.452914], - [11.315138, 44.454668], - [11.309733, 44.45681], - [11.304648, 44.45932], - [11.299932, 44.462173], - [11.295629, 44.465342], - [11.291782, 44.468797], + [11.321455, 44.452744], + [11.316377, 44.454244], + [11.311502, 44.456054], + [11.306865, 44.45816], + [11.302504, 44.460547], + [11.298449, 44.463196], + [11.294734, 44.466086], + [11.291385, 44.469197], [11.288428, 44.472504], - [11.285599, 44.476428], - [11.283322, 44.480531], - [11.281619, 44.484773], - [11.280507, 44.489114], - [11.279997, 44.493511], - [11.280093, 44.497924], - [11.280796, 44.502308], + [11.285886, 44.475982], + [11.283779, 44.479605], + [11.282122, 44.483346], + [11.280928, 44.487175], + [11.280206, 44.491064], + [11.279962, 44.494983], + [11.280197, 44.498902], + [11.280911, 44.502791], [11.282097, 44.506622], - [11.283986, 44.510824], - [11.286443, 44.514874], - [11.289446, 44.518733], - [11.292965, 44.522363], - [11.296966, 44.525729], - [11.301412, 44.5288], - [11.306259, 44.531545], + [11.283748, 44.510364], + [11.285849, 44.513989], + [11.288386, 44.51747], + [11.291339, 44.52078], + [11.294686, 44.523893], + [11.298401, 44.526787], + [11.302456, 44.529439], + [11.30682, 44.531828], [11.31146, 44.533937], - [11.316965, 44.535955], - [11.322722, 44.537578], - [11.328675, 44.53879], - [11.334766, 44.539581], - [11.340936, 44.539942], - [11.347126, 44.53987], - [11.353276, 44.539365], + [11.31634, 44.53575], + [11.321424, 44.537252], + [11.326672, 44.538433], + [11.332045, 44.539282], + [11.337502, 44.539795], + [11.343, 44.539966], + [11.348498, 44.539795], + [11.353955, 44.539282], [11.359328, 44.538433], [11.364576, 44.537252] ] diff --git a/packages/turf-line-arc/test/out/line-arc7.geojson b/packages/turf-line-arc/test/out/line-arc7.geojson new file mode 100644 index 0000000000..ede1081731 --- /dev/null +++ b/packages/turf-line-arc/test/out/line-arc7.geojson @@ -0,0 +1,95 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "Point", + "coordinates": [11.343, 44.495] + } + }, + { + "type": "Feature", + "properties": { + "radius": 500, + "bearing1": 60, + "bearing2": 65 + }, + "geometry": { + "type": "LineString", + "coordinates": [ + [17.014763, 46.606416], + [17.018658, 46.600907], + [17.022542, 46.595393], + [17.026413, 46.589876], + [17.030274, 46.584356], + [17.034122, 46.578831], + [17.037959, 46.573303], + [17.041784, 46.567771], + [17.045597, 46.562236], + [17.049399, 46.556697], + [17.053189, 46.551154], + [17.056967, 46.545607], + [17.060733, 46.540057], + [17.064488, 46.534503], + [17.068231, 46.528946], + [17.071962, 46.523385], + [17.075682, 46.51782], + [17.079389, 46.512252], + [17.083085, 46.50668], + [17.086769, 46.501105], + [17.090442, 46.495526], + [17.094102, 46.489943], + [17.097751, 46.484357], + [17.101388, 46.478768], + [17.105013, 46.473174], + [17.108627, 46.467578], + [17.112228, 46.461978], + [17.115818, 46.456374], + [17.119396, 46.450767], + [17.122963, 46.445157], + [17.126517, 46.439543], + [17.13006, 46.433925], + [17.133591, 46.428305], + [17.13711, 46.42268], + [17.140617, 46.417053], + [17.144112, 46.411422], + [17.147596, 46.405787], + [17.151068, 46.40015], + [17.154528, 46.394508], + [17.157976, 46.388864], + [17.161412, 46.383216], + [17.164836, 46.377565], + [17.168249, 46.371911], + [17.171649, 46.366253], + [17.175038, 46.360592], + [17.178415, 46.354928], + [17.18178, 46.34926], + [17.185134, 46.34359], + [17.188475, 46.337916], + [17.191805, 46.332238], + [17.195122, 46.326558], + [17.198428, 46.320874], + [17.201722, 46.315187], + [17.205004, 46.309497], + [17.208274, 46.303804], + [17.211533, 46.298108], + [17.214779, 46.292408], + [17.218013, 46.286706], + [17.221236, 46.281], + [17.224447, 46.275291], + [17.227646, 46.269579], + [17.230832, 46.263864], + [17.234007, 46.258146], + [17.237171, 46.252425], + [17.240322, 46.246701] + ] + } + } + ] +} diff --git a/packages/turf-line-chunk/README.md b/packages/turf-line-chunk/README.md index 3d7872e0cf..ef0b74797d 100644 --- a/packages/turf-line-chunk/README.md +++ b/packages/turf-line-chunk/README.md @@ -9,12 +9,12 @@ If the line is shorter than the segment length then the original line is returne ### Parameters -* `geojson` **([FeatureCollection][2] | [Geometry][3] | [Feature][4]<([LineString][5] | [MultiLineString][6])>)** the lines to split -* `segmentLength` **[number][7]** how long to make each segment -* `options` **[Object][8]** Optional parameters (optional, default `{}`) +* `geojson` **([FeatureCollection][2] | [Geometry][3] | [Feature][4]<([LineString][1] | [MultiLineString][5])>)** the lines to split +* `segmentLength` **[number][6]** how long to make each segment +* `options` **[Object][7]** Optional parameters (optional, default `{}`) - * `options.units` **[string][9]** units can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) - * `options.reverse` **[boolean][10]** reverses coordinates to start the first chunked segment at the end (optional, default `false`) + * `options.units` **[string][8]** units can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) + * `options.reverse` **[boolean][9]** reverses coordinates to start the first chunked segment at the end (optional, default `false`) ### Examples @@ -27,7 +27,7 @@ var chunk = turf.lineChunk(line, 15, {units: 'miles'}); var addToMap = [chunk]; ``` -Returns **[FeatureCollection][2]<[LineString][5]>** collection of line segments +Returns **[FeatureCollection][2]<[LineString][1]>** collection of line segments [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -37,38 +37,31 @@ Returns **[FeatureCollection][2]<[LineString][5]>** collection of line segments [4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[5]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.5 +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean -[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - - + --- -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: ```sh $ npm install @turf/line-chunk ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-chunk/package.json b/packages/turf-line-chunk/package.json index c4fabed85c..de5a0de7b0 100644 --- a/packages/turf-line-chunk/package.json +++ b/packages/turf-line-chunk/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-chunk", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-chunk module", "author": "Turf Authors", "contributors": [ @@ -46,26 +46,27 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/length": "^7.0.0-alpha.0", - "@turf/line-slice-along": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/length": "^7.0.0-alpha.2", + "@turf/line-slice-along": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-line-intersect/README.md b/packages/turf-line-intersect/README.md index 83704c5020..2c9881046f 100644 --- a/packages/turf-line-intersect/README.md +++ b/packages/turf-line-intersect/README.md @@ -10,6 +10,10 @@ Takes any LineString or Polygon GeoJSON and returns the intersecting point(s). * `line1` **[GeoJSON][1]** any LineString or Polygon * `line2` **[GeoJSON][1]** any LineString or Polygon +* `options` **[Object][2]** Optional parameters (optional, default `{}`) + + * `options.removeDuplicates` **[boolean][3]** remove duplicate intersections (optional, default `true`) + * `options.ignoreSelfIntersections` **[boolean][3]** ignores self-intersections on input features (optional, default `false`) ### Examples @@ -22,34 +26,33 @@ var intersects = turf.lineIntersect(line1, line2); var addToMap = [line1, line2, intersects] ``` -Returns **[FeatureCollection][2]<[Point][3]>** point(s) that intersect both +Returns **[FeatureCollection][4]<[Point][5]>** point(s) that intersect both [1]: https://tools.ietf.org/html/rfc7946#section-3 -[2]: https://tools.ietf.org/html/rfc7946#section-3.3 +[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object + +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean + +[4]: https://tools.ietf.org/html/rfc7946#section-3.3 -[3]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[5]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - + --- -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: ```sh $ npm install @turf/line-intersect ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-intersect/index.ts b/packages/turf-line-intersect/index.ts index ced3c84f60..fdffb19802 100644 --- a/packages/turf-line-intersect/index.ts +++ b/packages/turf-line-intersect/index.ts @@ -30,7 +30,7 @@ import findIntersections, { Intersection } from "sweepline-intersections"; */ function lineIntersect< G1 extends LineString | MultiLineString | Polygon | MultiPolygon, - G2 extends LineString | MultiLineString | Polygon | MultiPolygon + G2 extends LineString | MultiLineString | Polygon | MultiPolygon, >( line1: FeatureCollection | Feature | G1, line2: FeatureCollection | Feature | G2, diff --git a/packages/turf-line-intersect/package.json b/packages/turf-line-intersect/package.json index 544fc8e6c5..e2ceabdd05 100644 --- a/packages/turf-line-intersect/package.json +++ b/packages/turf-line-intersect/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-intersect", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-intersect module", "author": "Turf Authors", "contributors": [ @@ -32,7 +32,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -43,28 +43,27 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "sweepline-intersections": "^1.4.0", "tslib": "^2.3.0" } diff --git a/packages/turf-line-offset/README.md b/packages/turf-line-offset/README.md index 6149ba4860..3301253d70 100644 --- a/packages/turf-line-offset/README.md +++ b/packages/turf-line-offset/README.md @@ -8,11 +8,11 @@ Takes a [line][1] and returns a [line][1] at offset by the specified distance. ### Parameters -* `geojson` **([Geometry][2] | [Feature][3]<([LineString][4] | [MultiLineString][5])>)** input GeoJSON -* `distance` **[number][6]** distance to offset the line (can be of negative value) -* `options` **[Object][7]** Optional parameters (optional, default `{}`) +* `geojson` **([Geometry][2] | [Feature][3]<([LineString][1] | [MultiLineString][4])>)** input GeoJSON +* `distance` **[number][5]** distance to offset the line (can be of negative value) +* `options` **[Object][6]** Optional parameters (optional, default `{}`) - * `options.units` **[string][8]** can be degrees, radians, miles, kilometers, inches, yards, meters (optional, default `'kilometers'`) + * `options.units` **[string][7]** can be degrees, radians, miles, kilometers, inches, yards, meters (optional, default `'kilometers'`) ### Examples @@ -26,7 +26,7 @@ var addToMap = [offsetLine, line] offsetLine.properties.stroke = "#00F" ``` -Returns **[Feature][3]<([LineString][4] | [MultiLineString][5])>** Line offset from the input line +Returns **[Feature][3]<([LineString][1] | [MultiLineString][4])>** Line offset from the input line [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -34,36 +34,29 @@ Returns **[Feature][3]<([LineString][4] | [MultiLineString][5])>** Line offset f [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[4]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.5 +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - - + --- -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: ```sh $ npm install @turf/line-offset ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-offset/package.json b/packages/turf-line-offset/package.json index f4fbdec173..8190f277fd 100644 --- a/packages/turf-line-offset/package.json +++ b/packages/turf-line-offset/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-offset", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-offset module", "author": "Turf Authors", "contributors": [ @@ -44,25 +44,26 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-line-overlap/README.md b/packages/turf-line-overlap/README.md index 47c2d38255..c5be721f70 100644 --- a/packages/turf-line-overlap/README.md +++ b/packages/turf-line-overlap/README.md @@ -46,26 +46,21 @@ Returns **[FeatureCollection][9]<[LineString][3]>** lines(s) that are overlappin [9]: https://tools.ietf.org/html/rfc7946#section-3.3 - + --- -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: ```sh $ npm install @turf/line-overlap ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-overlap/index.ts b/packages/turf-line-overlap/index.ts index 2d503ff9ab..d9f07594a6 100644 --- a/packages/turf-line-overlap/index.ts +++ b/packages/turf-line-overlap/index.ts @@ -36,7 +36,7 @@ import equal from "deep-equal"; */ function lineOverlap< G1 extends LineString | MultiLineString | Polygon | MultiPolygon, - G2 extends LineString | MultiLineString | Polygon | MultiPolygon + G2 extends LineString | MultiLineString | Polygon | MultiPolygon, >( line1: Feature | G1, line2: Feature | G2, diff --git a/packages/turf-line-overlap/package.json b/packages/turf-line-overlap/package.json index cf4a7a503c..b3c291fc0b 100644 --- a/packages/turf-line-overlap/package.json +++ b/packages/turf-line-overlap/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-overlap", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-overlap module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -58,19 +58,18 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/boolean-point-on-line": "^7.0.0-alpha.0", + "@turf/boolean-point-on-line": "^7.0.0-alpha.2", "@turf/geojson-rbush": "^3.2.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/line-segment": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/nearest-point-on-line": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/line-segment": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/nearest-point-on-line": "^7.0.0-alpha.2", "deep-equal": "1.x", "tslib": "^2.3.0" } diff --git a/packages/turf-line-segment/README.md b/packages/turf-line-segment/README.md index 731ef8ac1f..ca191f8f41 100644 --- a/packages/turf-line-segment/README.md +++ b/packages/turf-line-segment/README.md @@ -21,7 +21,7 @@ var segments = turf.lineSegment(polygon); var addToMap = [polygon, segments] ``` -Returns **[FeatureCollection][5]<[LineString][6]>** 2-vertex line segments +Returns **[FeatureCollection][1]<[LineString][2]>** 2-vertex line segments [1]: https://tools.ietf.org/html/rfc7946#section-3.3 @@ -31,30 +31,21 @@ Returns **[FeatureCollection][5]<[LineString][6]>** 2-vertex line segments [4]: https://tools.ietf.org/html/rfc7946#section-3 -[5]: https://tools.ietf.org/html/rfc7946#section-3.3 - -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - - + --- -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: ```sh $ npm install @turf/line-segment ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-segment/index.ts b/packages/turf-line-segment/index.ts index 68b0c138f6..4d40d29c1d 100644 --- a/packages/turf-line-segment/index.ts +++ b/packages/turf-line-segment/index.ts @@ -26,7 +26,7 @@ import { flattenEach } from "@turf/meta"; * var addToMap = [polygon, segments] */ function lineSegment< - G extends LineString | MultiLineString | Polygon | MultiPolygon + G extends LineString | MultiLineString | Polygon | MultiPolygon, >( geojson: Feature | FeatureCollection | G ): FeatureCollection { diff --git a/packages/turf-line-segment/package.json b/packages/turf-line-segment/package.json index d5fe1ca8ab..abea7d08cb 100644 --- a/packages/turf-line-segment/package.json +++ b/packages/turf-line-segment/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-segment", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-segment module", "author": "Turf Authors", "license": "MIT", @@ -26,7 +26,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -37,13 +37,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -51,15 +51,14 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-line-slice-along/README.md b/packages/turf-line-slice-along/README.md index 5174154ee0..4fddeb597c 100644 --- a/packages/turf-line-slice-along/README.md +++ b/packages/turf-line-slice-along/README.md @@ -12,12 +12,12 @@ This can be useful for extracting only the part of a route between two distances ### Parameters -* `line` **([Feature][3]<[LineString][4]> | [LineString][4])** input line -* `startDist` **[number][5]** distance along the line to starting point -* `stopDist` **[number][5]** distance along the line to ending point -* `options` **[Object][6]** Optional parameters (optional, default `{}`) +* `line` **([Feature][3]<[LineString][1]> | [LineString][1])** input line +* `startDist` **[number][4]** distance along the line to starting point +* `stopDist` **[number][4]** distance along the line to ending point +* `options` **[Object][5]** Optional parameters (optional, default `{}`) - * `options.units` **[string][7]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) + * `options.units` **[string][6]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) ### Examples @@ -31,7 +31,7 @@ var sliced = turf.lineSliceAlong(line, start, stop, {units: 'miles'}); var addToMap = [line, start, stop, sliced] ``` -Returns **[Feature][3]<[LineString][4]>** sliced line +Returns **[Feature][3]<[LineString][1]>** sliced line [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -39,34 +39,27 @@ Returns **[Feature][3]<[LineString][4]>** sliced line [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - - + --- -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: ```sh $ npm install @turf/line-slice-along ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-slice-along/package.json b/packages/turf-line-slice-along/package.json index 624d03a36f..f746fb6eb2 100644 --- a/packages/turf-line-slice-along/package.json +++ b/packages/turf-line-slice-along/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-slice-along", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-slice-along module", "author": "Turf Authors", "license": "MIT", @@ -38,24 +38,25 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/along": "^7.0.0-alpha.0", + "@turf/along": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0" + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2" } } diff --git a/packages/turf-line-slice/README.md b/packages/turf-line-slice/README.md index 808fb68b15..2b5e88cc0a 100644 --- a/packages/turf-line-slice/README.md +++ b/packages/turf-line-slice/README.md @@ -14,7 +14,7 @@ This can be useful for extracting only the part of a route between waypoints. * `startPt` **[Coord][3]** starting point * `stopPt` **[Coord][3]** stopping point -* `line` **([Feature][4]<[LineString][5]> | [LineString][5])** line to slice +* `line` **([Feature][4]<[LineString][1]> | [LineString][1])** line to slice ### Examples @@ -36,7 +36,7 @@ var sliced = turf.lineSlice(start, stop, line); var addToMap = [start, stop, line] ``` -Returns **[Feature][4]<[LineString][5]>** sliced line +Returns **[Feature][4]<[LineString][1]>** sliced line [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -46,28 +46,21 @@ Returns **[Feature][4]<[LineString][5]>** sliced line [4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - - + --- -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: ```sh $ npm install @turf/line-slice ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-slice/bench.js b/packages/turf-line-slice/bench.js index 442f28fb53..c0e0c07ed3 100644 --- a/packages/turf-line-slice/bench.js +++ b/packages/turf-line-slice/bench.js @@ -7,7 +7,7 @@ var route1 = JSON.parse(fs.readFileSync(__dirname + "/test/in/route1.geojson")); var route2 = JSON.parse(fs.readFileSync(__dirname + "/test/in/route2.geojson")); var line1 = JSON.parse(fs.readFileSync(__dirname + "/test/in/line1.geojson")); -var start1 = point([-97.79617309570312, 22.254624939561698]); +var start1 = point([-97.79617309570313, 22.254624939561698]); var stop1 = point([-97.72750854492188, 22.057641623615734]); var start2 = point([-79.0850830078125, 37.60117623656667]); var stop2 = point([-77.7667236328125, 38.65119833229951]); diff --git a/packages/turf-line-slice/package.json b/packages/turf-line-slice/package.json index 1e4fd7d1d5..dba6f562ca 100644 --- a/packages/turf-line-slice/package.json +++ b/packages/turf-line-slice/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-slice", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-slice module", "author": "Turf Authors", "license": "MIT", @@ -42,24 +42,25 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/nearest-point-on-line": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/nearest-point-on-line": "^7.0.0-alpha.2" } } diff --git a/packages/turf-line-split/README.md b/packages/turf-line-split/README.md index 4f3e9d8f77..7ed01cbccd 100644 --- a/packages/turf-line-split/README.md +++ b/packages/turf-line-split/README.md @@ -31,26 +31,21 @@ Returns **[FeatureCollection][3]<[LineString][2]>** Split LineStrings [3]: https://tools.ietf.org/html/rfc7946#section-3.3 - + --- -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: ```sh $ npm install @turf/line-split ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-split/package.json b/packages/turf-line-split/package.json index f0d5a70e92..94737c6962 100644 --- a/packages/turf-line-split/package.json +++ b/packages/turf-line-split/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-split", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-split module", "author": "Turf Authors", "contributors": [ @@ -43,11 +43,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", @@ -55,18 +55,19 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", "@turf/geojson-rbush": "^3.2.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/line-intersect": "^7.0.0-alpha.0", - "@turf/line-segment": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/nearest-point-on-line": "^7.0.0-alpha.0", - "@turf/square": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/line-intersect": "^7.0.0-alpha.2", + "@turf/line-segment": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/nearest-point-on-line": "^7.0.0-alpha.2", + "@turf/square": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2" } } diff --git a/packages/turf-line-to-polygon/README.md b/packages/turf-line-to-polygon/README.md index c7b0992a50..93e53f3a13 100644 --- a/packages/turf-line-to-polygon/README.md +++ b/packages/turf-line-to-polygon/README.md @@ -45,26 +45,21 @@ Returns **[Feature][2]<([Polygon][7] | [MultiPolygon][8])>** converted to Polygo [8]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - + --- -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: ```sh $ npm install @turf/line-to-polygon ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-line-to-polygon/package.json b/packages/turf-line-to-polygon/package.json index fa58897f3f..2636613c9e 100644 --- a/packages/turf-line-to-polygon/package.json +++ b/packages/turf-line-to-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-to-polygon", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf line-to-polygon module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -57,16 +57,15 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-mask/README.md b/packages/turf-mask/README.md index 2c105ac48e..7b369d93ba 100644 --- a/packages/turf-mask/README.md +++ b/packages/turf-mask/README.md @@ -8,8 +8,8 @@ Takes any type of [polygon][1] and an optional mask and returns a [polygon][1] e ### Parameters -* `polygon` **([FeatureCollection][2] | [Feature][3]<([Polygon][4] | [MultiPolygon][5])>)** GeoJSON Polygon used as interior rings or holes. -* `mask` **[Feature][3]<[Polygon][4]>?** GeoJSON Polygon used as the exterior ring (if undefined, the world extent is used) +* `polygon` **([FeatureCollection][2] | [Feature][3]<([Polygon][1] | [MultiPolygon][4])>)** GeoJSON Polygon used as interior rings or holes. +* `mask` **[Feature][3]<[Polygon][1]>?** GeoJSON Polygon used as the exterior ring (if undefined, the world extent is used) ### Examples @@ -23,7 +23,7 @@ var masked = turf.mask(polygon, mask); var addToMap = [masked] ``` -Returns **[Feature][3]<[Polygon][4]>** Masked Polygon (exterior ring with holes). +Returns **[Feature][3]<[Polygon][1]>** Masked Polygon (exterior ring with holes). [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -31,30 +31,23 @@ Returns **[Feature][3]<[Polygon][4]>** Masked Polygon (exterior ring with holes) [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[4]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - - + --- -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: ```sh $ npm install @turf/mask ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-mask/package.json b/packages/turf-mask/package.json index 875125ceaa..5a6a67e907 100644 --- a/packages/turf-mask/package.json +++ b/packages/turf-mask/package.json @@ -1,6 +1,6 @@ { "name": "@turf/mask", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf mask module", "author": "Turf Authors", "license": "MIT", @@ -38,11 +38,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -52,10 +52,11 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "polygon-clipping": "^0.15.3" } } diff --git a/packages/turf-meta/README.md b/packages/turf-meta/README.md index 88b497b318..13dc60352f 100644 --- a/packages/turf-meta/README.md +++ b/packages/turf-meta/README.md @@ -43,7 +43,7 @@ turf.coordEach(features, function (currentCoord, coordIndex, featureIndex, multi }); ``` -Returns **void** +Returns **void** ## coordReduceCallback @@ -141,7 +141,7 @@ turf.propEach(features, function (currentProperties, featureIndex) { }); ``` -Returns **void** +Returns **void** ## propReduceCallback @@ -234,7 +234,7 @@ turf.featureEach(features, function (currentFeature, featureIndex) { }); ``` -Returns **void** +Returns **void** ## featureReduceCallback @@ -352,7 +352,7 @@ turf.geomEach(features, function (currentGeometry, featureIndex, featureProperti }); ``` -Returns **void** +Returns **void** ## geomReduceCallback @@ -521,7 +521,7 @@ Type: [Function][1] * `geometryIndex` **[number][3]** The current index of the Geometry being processed. * `segmentIndex` **[number][3]** The current index of the Segment being processed. -Returns **void** +Returns **void** ## segmentEach @@ -554,7 +554,7 @@ turf.segmentEach(polygon, function () { }); ``` -Returns **void** +Returns **void** ## segmentReduceCallback @@ -620,7 +620,7 @@ var total = turf.segmentReduce(polygon, function (previousValue) { }, initialValue); ``` -Returns **void** +Returns **void** ## lineEachCallback @@ -834,26 +834,21 @@ Returns **[Feature][5]<[Point][15]>** 2-vertex GeoJSON Feature Point [15]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - + --- -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: ```sh $ npm install @turf/meta ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-meta/index.d.ts b/packages/turf-meta/index.d.ts index c66be624ba..163587ea9e 100644 --- a/packages/turf-meta/index.d.ts +++ b/packages/turf-meta/index.d.ts @@ -17,7 +17,7 @@ import { AllGeoJSON, Lines, Id } from "@turf/helpers"; /** * http://turfjs.org/docs/#coordreduce */ -export function coordReduce( +export function coordReduce( geojson: AllGeoJSON, callback: ( previousValue: Reducer, @@ -56,7 +56,10 @@ export function propEach( /** * http://turfjs.org/docs/#propreduce */ -export function propReduce( +export function propReduce< + Reducer, + P extends GeoJsonProperties = GeoJsonProperties, +>( geojson: Feature | FeatureCollection | Geometry, callback: ( previousValue: Reducer, @@ -70,9 +73,9 @@ export function propReduce( * http://turfjs.org/docs/#featurereduce */ export function featureReduce< - Reducer extends any, + Reducer, G extends GeometryObject, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( geojson: | Feature @@ -89,7 +92,10 @@ export function featureReduce< /** * http://turfjs.org/docs/#featureeach */ -export function featureEach( +export function featureEach< + G extends GeometryObject, + P extends GeoJsonProperties = GeoJsonProperties, +>( geojson: | Feature | FeatureCollection @@ -106,9 +112,9 @@ export function coordAll(geojson: AllGeoJSON): number[][]; * http://turfjs.org/docs/#geomreduce */ export function geomReduce< - Reducer extends any, + Reducer, G extends GeometryObject, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( geojson: | Feature @@ -132,7 +138,7 @@ export function geomReduce< */ export function geomEach< G extends GeometryObject | null, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( geojson: | Feature @@ -153,9 +159,9 @@ export function geomEach< * http://turfjs.org/docs/#flattenreduce */ export function flattenReduce< - Reducer extends any, + Reducer, G extends GeometryObject, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( geojson: | Feature @@ -177,7 +183,7 @@ export function flattenReduce< */ export function flattenEach< G extends GeometryObject = GeometryObject, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( geojson: | Feature @@ -195,7 +201,10 @@ export function flattenEach< /** * http://turfjs.org/docs/#segmentreduce */ -export function segmentReduce( +export function segmentReduce< + Reducer, + P extends GeoJsonProperties = GeoJsonProperties, +>( geojson: | FeatureCollection | Feature @@ -216,7 +225,7 @@ export function segmentReduce( /** * http://turfjs.org/docs/#segmenteach */ -export function segmentEach

( +export function segmentEach

( geojson: AllGeoJSON, callback: ( currentSegment?: Feature, @@ -230,7 +239,10 @@ export function segmentEach

( /** * http://turfjs.org/docs/#linereduce */ -export function lineReduce( +export function lineReduce< + Reducer, + P extends GeoJsonProperties = GeoJsonProperties, +>( geojson: | FeatureCollection | Feature @@ -250,7 +262,7 @@ export function lineReduce( /** * http://turfjs.org/docs/#lineeach */ -export function lineEach

( +export function lineEach

( geojson: | FeatureCollection | Feature @@ -270,7 +282,7 @@ export function lineEach

( */ export function findSegment< G extends LineString | MultiLineString | Polygon | MultiPolygon, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( geojson: Feature | FeatureCollection | G, options?: { @@ -287,7 +299,10 @@ export function findSegment< /** * http://turfjs.org/docs/#findpoint */ -export function findPoint( +export function findPoint< + G extends GeometryObject, + P extends GeoJsonProperties = GeoJsonProperties, +>( geojson: Feature | FeatureCollection | G, options?: { featureIndex?: number; diff --git a/packages/turf-meta/package.json b/packages/turf-meta/package.json index e92ad98a64..0ba31b9f6e 100644 --- a/packages/turf-meta/package.json +++ b/packages/turf-meta/package.json @@ -1,6 +1,6 @@ { "name": "@turf/meta", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf meta module", "author": "Turf Authors", "contributors": [ @@ -60,21 +60,22 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/random": "^7.0.0-alpha.0", + "@turf/random": "^7.0.0-alpha.2", "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2" } } diff --git a/packages/turf-meta/test.js b/packages/turf-meta/test.js index 611aefca7b..32c1328894 100644 --- a/packages/turf-meta/test.js +++ b/packages/turf-meta/test.js @@ -1209,23 +1209,10 @@ test("meta.coordEach -- indexes -- Multi-Polygon with hole", (t) => { ); t.deepEqual(featureIndexes, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); - t.deepEqual(multiFeatureIndexes, [ - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - ]); + t.deepEqual( + multiFeatureIndexes, + [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] + ); t.deepEqual(geometryIndexes, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1]); t.deepEqual(coordIndexes, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]); // Major Release Change v6.x diff --git a/packages/turf-midpoint/README.md b/packages/turf-midpoint/README.md index e2b8fca688..23c524cd1d 100644 --- a/packages/turf-midpoint/README.md +++ b/packages/turf-midpoint/README.md @@ -25,7 +25,7 @@ var addToMap = [point1, point2, midpoint]; midpoint.properties['marker-color'] = '#f00'; ``` -Returns **[Feature][3]<[Point][4]>** a point midway between `pt1` and `pt2` +Returns **[Feature][3]<[Point][1]>** a point midway between `pt1` and `pt2` [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -33,28 +33,21 @@ Returns **[Feature][3]<[Point][4]>** a point midway between `pt1` and `pt2` [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/midpoint ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-midpoint/package.json b/packages/turf-midpoint/package.json index 59c53670f5..2d6c0aca5b 100644 --- a/packages/turf-midpoint/package.json +++ b/packages/turf-midpoint/package.json @@ -1,6 +1,6 @@ { "name": "@turf/midpoint", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf midpoint module", "author": "Turf Authors", "license": "MIT", @@ -40,22 +40,23 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0" + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2" } } diff --git a/packages/turf-moran-index/README.md b/packages/turf-moran-index/README.md index faf065f59f..ce93589de4 100644 --- a/packages/turf-moran-index/README.md +++ b/packages/turf-moran-index/README.md @@ -28,8 +28,8 @@ the z-score can be calculated based on a normal or random assumption. ### Parameters -* `fc` **[FeatureCollection][3]\** -* `options` **[Object][4]** +* `fc` **[FeatureCollection][3]\** +* `options` **[Object][4]** * `options.inputField` **[string][5]** the property name, must contain numeric values * `options.threshold` **[number][6]** the distance threshold (optional, default `100000`) @@ -49,7 +49,7 @@ const result = turf.moranIndex(dataset, { }); ``` -Returns **[MoranIndex][8]** +Returns **[MoranIndex][8]** ## mean @@ -57,9 +57,9 @@ get mean of a list ### Parameters -* `y` **[Array][9]<[number][6]>** +* `y` **[Array][9]<[number][6]>** -Returns **[number][6]** +Returns **[number][6]** ## variance @@ -67,9 +67,9 @@ get variance of a list ### Parameters -* `y` **[Array][9]<[number][6]>** +* `y` **[Array][9]<[number][6]>** -Returns **[number][6]** +Returns **[number][6]** ## MoranIndex @@ -100,26 +100,21 @@ Type: [Object][4] [9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array - + --- -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: ```sh $ npm install @turf/moran-index ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-moran-index/package.json b/packages/turf-moran-index/package.json index f23a764fdc..5b4a2f0776 100644 --- a/packages/turf-moran-index/package.json +++ b/packages/turf-moran-index/package.json @@ -1,6 +1,6 @@ { "name": "@turf/moran-index", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf moran-index module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,13 +39,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -53,15 +53,14 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/distance-weight": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/distance-weight": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-nearest-neighbor-analysis/README.md b/packages/turf-nearest-neighbor-analysis/README.md index bc4b634d8c..5b66701dfd 100644 --- a/packages/turf-nearest-neighbor-analysis/README.md +++ b/packages/turf-nearest-neighbor-analysis/README.md @@ -22,18 +22,16 @@ dispersed. **Remarks** * Though the analysis will work on any [FeatureCollection][3] type, it - -works best with [Point][4] collections. + works best with [Point][4] collections. * This analysis is *very* sensitive to the study area provided. - -If no [Feature\][1] is passed as the study area, the function draws a box -around the data, which may distort the findings. This analysis works best -with a bounded area of interest within with the data is either clustered, -dispersed, or randomly distributed. For example, a city's subway stops may -look extremely clustered if the study area is an entire state. On the other -hand, they may look rather evenly dispersed if the study area is limited to -the city's downtown. + If no [Feature\][1] is passed as the study area, the function draws a box + around the data, which may distort the findings. This analysis works best + with a bounded area of interest within with the data is either clustered, + dispersed, or randomly distributed. For example, a city's subway stops may + look extremely clustered if the study area is an entire state. On the other + hand, they may look rather evenly dispersed if the study area is limited to + the city's downtown. **Bibliography** @@ -43,12 +41,12 @@ Measure of Spatial Relationships in Populations,” *Ecology* 35, no. 4 ### Parameters -* `dataset` **[FeatureCollection][6]\** FeatureCollection (pref. of points) to study -* `options` **[Object][7]** Optional parameters (optional, default `{}`) +* `dataset` **[FeatureCollection][3]\** FeatureCollection (pref. of points) to study +* `options` **[Object][6]** Optional parameters (optional, default `{}`) - * `options.studyArea` **[Feature][8]<[Polygon][9]>?** polygon representing the study area - * `options.units` **[string][10]** unit of measurement for distances and, squared, area. (optional, default `'kilometers'`) - * `options.properties` **[Object][7]** properties (optional, default `{}`) + * `options.studyArea` **[Feature][7]<[Polygon][8]>?** polygon representing the study area + * `options.units` **[string][9]** unit of measurement for distances and, squared, area. (optional, default `'kilometers'`) + * `options.properties` **[Object][6]** properties (optional, default `{}`) ### Examples @@ -61,7 +59,7 @@ var nearestNeighborStudyArea = turf.nearestNeighborAnalysis(dataset); var addToMap = [dataset, nearestNeighborStudyArea]; ``` -Returns **[Feature][8]<[Polygon][9]>** A polygon of the study area or an approximation of one. +Returns **[Feature][7]<[Polygon][8]>** A polygon of the study area or an approximation of one. [1]: Feature @@ -73,36 +71,29 @@ Returns **[Feature][8]<[Polygon][9]>** A polygon of the study area or an approxi [5]: http://doi.org/10.2307/1931034 -[6]: https://tools.ietf.org/html/rfc7946#section-3.3 - -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[8]: https://tools.ietf.org/html/rfc7946#section-3.2 +[7]: https://tools.ietf.org/html/rfc7946#section-3.2 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[8]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - + --- -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: ```sh $ npm install @turf/nearest-neighbor-analysis ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-nearest-neighbor-analysis/package.json b/packages/turf-nearest-neighbor-analysis/package.json index f2cf67e592..4ccc3c837a 100644 --- a/packages/turf-nearest-neighbor-analysis/package.json +++ b/packages/turf-nearest-neighbor-analysis/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-neighbor-analysis", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf nearest-neighbor-analysis module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,35 +39,34 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/area": "^7.0.0-alpha.0", - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/nearest-point": "^7.0.0-alpha.0", + "@turf/area": "^7.0.0-alpha.2", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/nearest-point": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-nearest-point-on-line/README.md b/packages/turf-nearest-point-on-line/README.md index ca6190635e..b08a461845 100644 --- a/packages/turf-nearest-point-on-line/README.md +++ b/packages/turf-nearest-point-on-line/README.md @@ -8,11 +8,11 @@ Takes a [Point][1] and a [LineString][2] and calculates the closest Point on the ### Parameters -* `lines` **([Geometry][3] | [Feature][4]<([LineString][5] | [MultiLineString][6])>)** lines to snap to -* `pt` **([Geometry][3] | [Feature][4]<[Point][7]> | [Array][8]<[number][9]>)** point to snap from -* `options` **[Object][10]** Optional parameters (optional, default `{}`) +* `lines` **([Geometry][3] | [Feature][4]<([LineString][2] | [MultiLineString][5])>)** lines to snap to +* `pt` **([Geometry][3] | [Feature][4]<[Point][1]> | [Array][6]<[number][7]>)** point to snap from +* `options` **[Object][8]** Optional parameters (optional, default `{}`) - * `options.units` **[string][11]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) + * `options.units` **[string][9]** can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) ### Examples @@ -34,7 +34,7 @@ var addToMap = [line, pt, snapped]; snapped.properties['marker-color'] = '#00f'; ``` -Returns **[Feature][4]<[Point][7]>** closest point on the `line` to `point`. The properties object will contain three values: `index`: closest point was found on nth line part, `dist`: distance between pt and the closest point, `location`: distance along the line between start and the closest point. +Returns **[Feature][4]<[Point][1]>** closest point on the `line` to `point`. The properties object will contain three values: `index`: closest point was found on nth line part, `dist`: distance between pt and the closest point, `location`: distance along the line between start and the closest point. [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -44,40 +44,31 @@ Returns **[Feature][4]<[Point][7]>** closest point on the `line` to `point`. The [4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[5]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.5 +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - -[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - - + --- -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: ```sh $ npm install @turf/nearest-point-on-line ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-nearest-point-on-line/package.json b/packages/turf-nearest-point-on-line/package.json index d33f1c27e8..c6b4c9332c 100644 --- a/packages/turf-nearest-point-on-line/package.json +++ b/packages/turf-nearest-point-on-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-point-on-line", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf nearest-point-on-line module", "author": "Turf Authors", "license": "MIT", @@ -21,7 +21,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -32,37 +32,36 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/along": "^7.0.0-alpha.0", - "@turf/length": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/along": "^7.0.0-alpha.2", + "@turf/length": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/line-intersect": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/line-intersect": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-nearest-point-to-line/README.md b/packages/turf-nearest-point-to-line/README.md index 744785b2f8..5796910411 100644 --- a/packages/turf-nearest-point-to-line/README.md +++ b/packages/turf-nearest-point-to-line/README.md @@ -9,13 +9,13 @@ to a [line][3]. The returned point has a `dist` property indicating its distance ### Parameters -* `points` **([FeatureCollection][4] | [GeometryCollection][5]<[Point][6]>)** Point Collection -* `line` **([Feature][7] | [Geometry][8]<[LineString][9]>)** Line Feature -* `options` **[Object][10]?** Optional parameters +* `points` **([FeatureCollection][2] | [GeometryCollection][4]<[Point][1]>)** Point Collection +* `line` **([Feature][5] | [Geometry][6]<[LineString][3]>)** Line Feature +* `options` **[Object][7]?** Optional parameters - * `options.units` **[string][11]** unit of the output distance property + * `options.units` **[string][8]** unit of the output distance property (eg: degrees, radians, miles, or kilometers) (optional, default `'kilometers'`) - * `options.properties` **[Object][10]** Translate Properties to Point (optional, default `{}`) + * `options.properties` **[Object][7]** Translate Properties to Point (optional, default `{}`) ### Examples @@ -31,7 +31,7 @@ var nearest = turf.nearestPointToLine(points, line); var addToMap = [nearest, line]; ``` -Returns **[Feature][7]<[Point][6]>** the closest point +Returns **[Feature][5]<[Point][1]>** the closest point ## pt @@ -47,42 +47,31 @@ Translate Properties to final Point, priorities: [3]: https://tools.ietf.org/html/rfc7946#section-3.1.4 -[4]: https://tools.ietf.org/html/rfc7946#section-3.3 +[4]: https://tools.ietf.org/html/rfc7946#section-3.1.8 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.8 +[5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[6]: https://tools.ietf.org/html/rfc7946#section-3.1 -[7]: https://tools.ietf.org/html/rfc7946#section-3.2 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[8]: https://tools.ietf.org/html/rfc7946#section-3.1 +[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - -[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - -[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - - + --- -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: ```sh $ npm install @turf/nearest-point-to-line ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-nearest-point-to-line/package.json b/packages/turf-nearest-point-to-line/package.json index d4002be229..360fc95325 100644 --- a/packages/turf-nearest-point-to-line/package.json +++ b/packages/turf-nearest-point-to-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-point-to-line", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf nearest-point-to-line module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,34 +42,33 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/circle": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/circle": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/object-assign": "*", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/point-to-line-distance": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/point-to-line-distance": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-nearest-point/README.md b/packages/turf-nearest-point/README.md index 0e5e14c149..818a71afb4 100644 --- a/packages/turf-nearest-point/README.md +++ b/packages/turf-nearest-point/README.md @@ -12,7 +12,10 @@ is geodesic. ### Parameters * `targetPoint` **[Coord][2]** the reference point -* `points` **[FeatureCollection][3]<[Point][4]>** against input point set +* `points` **[FeatureCollection][3]<[Point][1]>** against input point set +* `options` **[Object][4]** Optional parameters (optional, default `{}`) + + * `options.units` **[string][5]** the units of the numeric result (optional, default `'kilometers'`) ### Examples @@ -31,7 +34,7 @@ var addToMap = [targetPoint, points, nearest]; nearest.properties['marker-color'] = '#F00'; ``` -Returns **[Feature][5]<[Point][4]>** the closest point in the set to the reference point +Returns **[Feature][6]<[Point][1]>** the closest point in the set to the reference point [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -39,30 +42,27 @@ Returns **[Feature][5]<[Point][4]>** the closest point in the set to the referen [3]: https://tools.ietf.org/html/rfc7946#section-3.3 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object + +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[5]: https://tools.ietf.org/html/rfc7946#section-3.2 +[6]: https://tools.ietf.org/html/rfc7946#section-3.2 - + --- -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: ```sh $ npm install @turf/nearest-point ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-nearest-point/index.ts b/packages/turf-nearest-point/index.ts index 5714193f5a..630964a218 100644 --- a/packages/turf-nearest-point/index.ts +++ b/packages/turf-nearest-point/index.ts @@ -1,5 +1,5 @@ import { Feature, FeatureCollection, Point } from "geojson"; -import { Coord } from "@turf/helpers"; +import { Coord, Units } from "@turf/helpers"; import clone from "@turf/clone"; import distance from "@turf/distance"; import { featureEach } from "@turf/meta"; @@ -21,6 +21,8 @@ export interface NearestPoint extends Feature { * @name nearestPoint * @param {Coord} targetPoint the reference point * @param {FeatureCollection} points against input point set + * @param {Object} [options={}] Optional parameters + * @param {string} [options.units='kilometers'] the units of the numeric result * @returns {Feature} the closest point in the set to the reference point * @example * var targetPoint = turf.point([28.965797, 41.010086], {"marker-color": "#0F0"}); @@ -38,7 +40,10 @@ export interface NearestPoint extends Feature { */ function nearestPoint( targetPoint: Coord, - points: FeatureCollection + points: FeatureCollection, + options: { + units?: Units; + } = {} ): NearestPoint { // Input validation if (!targetPoint) throw new Error("targetPoint is required"); @@ -47,7 +52,7 @@ function nearestPoint( let minDist = Infinity; let bestFeatureIndex = 0; featureEach(points, (pt, featureIndex) => { - const distanceToPoint = distance(targetPoint, pt); + const distanceToPoint = distance(targetPoint, pt, options); if (distanceToPoint < minDist) { bestFeatureIndex = featureIndex; minDist = distanceToPoint; diff --git a/packages/turf-nearest-point/package.json b/packages/turf-nearest-point/package.json index ae3815f33e..965a5a4c24 100644 --- a/packages/turf-nearest-point/package.json +++ b/packages/turf-nearest-point/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-point", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf nearest-point module", "author": "Turf Authors", "license": "MIT", @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,13 +40,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -54,15 +54,14 @@ "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/clone": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-nearest-point/test.js b/packages/turf-nearest-point/test.js index eea88964cf..61065dc73a 100644 --- a/packages/turf-nearest-point/test.js +++ b/packages/turf-nearest-point/test.js @@ -59,3 +59,19 @@ test("nearest-point -- prevent input mutation", (t) => { t.deepEqual(pt2.properties, { distanceToPoint: "bar" }); t.end(); }); + +test("nearest-point -- use different units", (t) => { + const pt1 = point([40, 50], { featureIndex: "foo" }); + const pt2 = point([20, -10], { distanceToPoint: "bar" }); + const pts = featureCollection([pt1, pt2]); + const distanceInKilometers = nearestPoint([0, 0], pts).properties + .distanceToPoint; + const distanceInMeters = nearestPoint([0, 0], pts, { units: "meters" }) + .properties.distanceToPoint; + const oneKilometerInMeters = 1000; + + // Check if the proper distance gets returned when using "units" option + t.equal(distanceInKilometers, distanceInMeters / oneKilometerInMeters); + + t.end(); +}); diff --git a/packages/turf-nearest-point/types.ts b/packages/turf-nearest-point/types.ts index b475d8a9e7..21a8a5103e 100644 --- a/packages/turf-nearest-point/types.ts +++ b/packages/turf-nearest-point/types.ts @@ -7,6 +7,6 @@ const points = featureCollection([ point([28.948459, 41.024204]), point([28.938674, 41.013324]), ]); -const nearest = nearestPoint(targetPoint, points); +const nearest = nearestPoint(targetPoint, points, { units: "kilometers" }); nearest.properties.distanceToPoint; nearest.properties.featureIndex; diff --git a/packages/turf-planepoint/README.md b/packages/turf-planepoint/README.md index 97ce72c9e9..b4f85afee6 100644 --- a/packages/turf-planepoint/README.md +++ b/packages/turf-planepoint/README.md @@ -14,7 +14,7 @@ if their values are not provided as properties. ### Parameters * `point` **[Coord][3]** the Point for which a z-value will be calculated -* `triangle` **[Feature][4]<[Polygon][5]>** a Polygon feature with three vertices +* `triangle` **[Feature][4]<[Polygon][1]>** a Polygon feature with three vertices ### Examples @@ -39,7 +39,7 @@ point.properties.zValue = zValue; var addToMap = [triangle, point]; ``` -Returns **[number][6]** the z-value for `interpolatedPoint` +Returns **[number][5]** the z-value for `interpolatedPoint` [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -49,30 +49,23 @@ Returns **[number][6]** the z-value for `interpolatedPoint` [4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - - + --- -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: ```sh $ npm install @turf/planepoint ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-planepoint/package.json b/packages/turf-planepoint/package.json index 535ba5a039..30c54dd89f 100644 --- a/packages/turf-planepoint/package.json +++ b/packages/turf-planepoint/package.json @@ -1,6 +1,6 @@ { "name": "@turf/planepoint", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf planepoint module", "author": "Turf Authors", "license": "MIT", @@ -40,21 +40,22 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2" } } diff --git a/packages/turf-point-grid/README.md b/packages/turf-point-grid/README.md index 557c19d967..6c409b727a 100644 --- a/packages/turf-point-grid/README.md +++ b/packages/turf-point-grid/README.md @@ -13,7 +13,7 @@ Creates a [Point][1] grid from a bounding box, [FeatureCollection][2] or [Featur * `options` **[Object][6]** Optional parameters (optional, default `{}`) * `options.units` **[string][7]** used in calculating cellSide, can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) - * `options.mask` **[Feature][8]<([Polygon][9] | [MultiPolygon][10])>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it + * `options.mask` **[Feature][3]<([Polygon][8] | [MultiPolygon][9])>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it * `options.properties` **[Object][6]** passed to each point of the grid (optional, default `{}`) ### Examples @@ -29,7 +29,7 @@ var grid = turf.pointGrid(extent, cellSide, options); var addToMap = [grid]; ``` -Returns **[FeatureCollection][11]<[Point][12]>** grid of points +Returns **[FeatureCollection][2]<[Point][1]>** grid of points [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -45,36 +45,25 @@ Returns **[FeatureCollection][11]<[Point][12]>** grid of points [7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[8]: https://tools.ietf.org/html/rfc7946#section-3.2 +[8]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[9]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - -[11]: https://tools.ietf.org/html/rfc7946#section-3.3 - -[12]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/point-grid ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-point-grid/index.ts b/packages/turf-point-grid/index.ts index 632a301c20..03bd32552d 100644 --- a/packages/turf-point-grid/index.ts +++ b/packages/turf-point-grid/index.ts @@ -32,7 +32,7 @@ import { point, featureCollection, Units } from "@turf/helpers"; * //addToMap * var addToMap = [grid]; */ -function pointGrid

( +function pointGrid

( bbox: BBox, cellSide: number, options: { diff --git a/packages/turf-point-grid/package.json b/packages/turf-point-grid/package.json index e839af8be6..8e421146d3 100644 --- a/packages/turf-point-grid/package.json +++ b/packages/turf-point-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/point-grid", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf point-grid module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,33 +42,32 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/boolean-within": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/boolean-within": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-point-on-feature/README.md b/packages/turf-point-on-feature/README.md index 64f3d88f3f..0db0b5002c 100644 --- a/packages/turf-point-on-feature/README.md +++ b/packages/turf-point-on-feature/README.md @@ -33,7 +33,7 @@ var pointOnPolygon = turf.pointOnFeature(polygon); var addToMap = [polygon, pointOnPolygon]; ``` -Returns **[Feature][5]<[Point][6]>** a point on the surface of `input` +Returns **[Feature][5]<[Point][1]>** a point on the surface of `input` [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -45,28 +45,21 @@ Returns **[Feature][5]<[Point][6]>** a point on the surface of `input` [5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/point-on-feature ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-point-on-feature/package.json b/packages/turf-point-on-feature/package.json index e426b9410d..bdb90858b8 100644 --- a/packages/turf-point-on-feature/package.json +++ b/packages/turf-point-on-feature/package.json @@ -1,6 +1,6 @@ { "name": "@turf/point-on-feature", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf point-on-feature module", "author": "Turf Authors", "license": "MIT", @@ -41,25 +41,26 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/meta": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/center": "^7.0.0-alpha.0", - "@turf/explode": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/nearest-point": "^7.0.0-alpha.0" + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/center": "^7.0.0-alpha.2", + "@turf/explode": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/nearest-point": "^7.0.0-alpha.2" } } diff --git a/packages/turf-point-to-line-distance/README.md b/packages/turf-point-to-line-distance/README.md index 2edebc6445..37d7ce1e34 100644 --- a/packages/turf-point-to-line-distance/README.md +++ b/packages/turf-point-to-line-distance/README.md @@ -9,13 +9,13 @@ minimum distance between the point and any segment of the `LineString`. ### Parameters -* `pt` **([Feature][3]<[Point][4]> | [Array][5]<[number][6]>)** Feature or Geometry -* `line` **[Feature][3]<[LineString][7]>** GeoJSON Feature or Geometry -* `options` **[Object][8]** Optional parameters (optional, default `{}`) +* `pt` **([Feature][3]<[Point][1]> | [Array][4]<[number][5]>)** Feature or Geometry +* `line` **[Feature][3]<[LineString][2]>** GeoJSON Feature or Geometry +* `options` **[Object][6]** Optional parameters (optional, default `{}`) - * `options.units` **[string][9]** can be anything supported by turf/convertLength + * `options.units` **[string][7]** can be anything supported by turf/convertLength (ex: degrees, radians, miles, or kilometers) (optional, default `"kilometers"`) - * `options.method` **[string][9]** wether to calculate the distance based on geodesic (spheroid) or + * `options.method` **[string][7]** wether to calculate the distance based on geodesic (spheroid) or planar (flat) method. Valid options are 'geodesic' or 'planar'. (optional, default `"geodesic"`) ### Examples @@ -28,7 +28,7 @@ var distance = turf.pointToLineDistance(pt, line, {units: 'miles'}); //=69.11854715938406 ``` -Returns **[number][6]** distance between point and line +Returns **[number][5]** distance between point and line [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -36,38 +36,29 @@ Returns **[number][6]** distance between point and line [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - -[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - - + --- -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: ```sh $ npm install @turf/point-to-line-distance ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-point-to-line-distance/package.json b/packages/turf-point-to-line-distance/package.json index 03b8943245..e2677bbf5d 100644 --- a/packages/turf-point-to-line-distance/package.json +++ b/packages/turf-point-to-line-distance/package.json @@ -1,6 +1,6 @@ { "name": "@turf/point-to-line-distance", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf point-to-line-distance module", "author": "Turf Authors", "contributors": [ @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,36 +40,35 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/circle": "^7.0.0-alpha.0", + "@turf/circle": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/projection": "^7.0.0-alpha.0", - "@turf/rhumb-bearing": "^7.0.0-alpha.0", - "@turf/rhumb-distance": "^7.0.0-alpha.0", + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/projection": "^7.0.0-alpha.2", + "@turf/rhumb-bearing": "^7.0.0-alpha.2", + "@turf/rhumb-distance": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-points-within-polygon/README.md b/packages/turf-points-within-polygon/README.md index dcd94dcd4f..9cd0fa91a0 100644 --- a/packages/turf-points-within-polygon/README.md +++ b/packages/turf-points-within-polygon/README.md @@ -8,8 +8,8 @@ Finds [Points][1] or [MultiPoint][2] coordinate positions that fall within [(Mul ### Parameters -* `points` **([Feature][4] | [FeatureCollection][5]<([Point][6] | [MultiPoint][7])>)** Point(s) or MultiPoint(s) as input search -* `polygons` **([FeatureCollection][5] | [Geometry][8] | [Feature][4]<([Polygon][9] | [MultiPolygon][10])>)** (Multi)Polygon(s) to check if points are within +* `points` **([Feature][4] | [FeatureCollection][5]<([Point][1] | [MultiPoint][2])>)** Point(s) or MultiPoint(s) as input search +* `polygons` **([FeatureCollection][5] | [Geometry][6] | [Feature][4]<([Polygon][3] | [MultiPolygon][7])>)** (Multi)Polygon(s) to check if points are within ### Examples @@ -42,7 +42,7 @@ turf.featureEach(ptsWithin, function (currentFeature) { }); ``` -Returns **[FeatureCollection][5]<([Point][6] | [MultiPoint][7])>** Point(s) or MultiPoint(s) with positions that land within at least one polygon. The geometry type will match what was passsed in +Returns **[FeatureCollection][5]<([Point][1] | [MultiPoint][2])>** Point(s) or MultiPoint(s) with positions that land within at least one polygon. The geometry type will match what was passsed in [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -54,36 +54,25 @@ Returns **[FeatureCollection][5]<([Point][6] | [MultiPoint][7])>** Point(s) or M [5]: https://tools.ietf.org/html/rfc7946#section-3.3 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[6]: https://tools.ietf.org/html/rfc7946#section-3.1 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.3 +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1 - -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - - + --- -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: ```sh $ npm install @turf/points-within-polygon ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-points-within-polygon/index.d.ts b/packages/turf-points-within-polygon/index.d.ts index cdf319c390..aca03c990d 100644 --- a/packages/turf-points-within-polygon/index.d.ts +++ b/packages/turf-points-within-polygon/index.d.ts @@ -14,7 +14,7 @@ import { export default function pointsWithinPolygon< F extends Point | MultiPoint, G extends Polygon | MultiPolygon, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( points: Feature | FeatureCollection, polygons: Feature | FeatureCollection | G diff --git a/packages/turf-points-within-polygon/package.json b/packages/turf-points-within-polygon/package.json index df621516e5..7a8c79afbd 100644 --- a/packages/turf-points-within-polygon/package.json +++ b/packages/turf-points-within-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/points-within-polygon", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf points-within-polygon module", "author": "Turf Authors", "license": "MIT", @@ -40,22 +40,23 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-polygon-smooth/README.md b/packages/turf-polygon-smooth/README.md index 091153055b..62da5fb0b4 100644 --- a/packages/turf-polygon-smooth/README.md +++ b/packages/turf-polygon-smooth/README.md @@ -9,10 +9,10 @@ Warning: may create degenerate polygons. ### Parameters -* `inputPolys` **([FeatureCollection][4] | [Feature][5]<([Polygon][6] | [MultiPolygon][7])>)** (Multi)Polygon(s) to smooth -* `options` **[Object][8]** Optional parameters (optional, default `{}`) +* `inputPolys` **([FeatureCollection][4] | [Feature][5]<([Polygon][1] | [MultiPolygon][2])>)** (Multi)Polygon(s) to smooth +* `options` **[Object][6]** Optional parameters (optional, default `{}`) - * `options.iterations` **[string][9]** The number of times to smooth the polygon. A higher value means a smoother polygon. (optional, default `1`) + * `options.iterations` **[string][7]** The number of times to smooth the polygon. A higher value means a smoother polygon. (optional, default `1`) ### Examples @@ -25,7 +25,7 @@ var smoothed = turf.polygonSmooth(polygon, {iterations: 3}) var addToMap = [smoothed, polygon]; ``` -Returns **[FeatureCollection][4]<[Polygon][6]>** FeatureCollection containing the smoothed polygon/poylgons +Returns **[FeatureCollection][4]<[Polygon][1]>** FeatureCollection containing the smoothed polygon/poylgons [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -37,34 +37,25 @@ Returns **[FeatureCollection][4]<[Polygon][6]>** FeatureCollection containing th [5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - -[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - - + --- -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: ```sh $ npm install @turf/polygon-smooth ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-polygon-smooth/package.json b/packages/turf-polygon-smooth/package.json index 6cad191755..4343c6a558 100644 --- a/packages/turf-polygon-smooth/package.json +++ b/packages/turf-polygon-smooth/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygon-smooth", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf polygon smooth module", "author": "Turf Authors", "contributors": [ @@ -41,11 +41,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -55,10 +55,11 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-polygon-tangents/README.md b/packages/turf-polygon-tangents/README.md index 706d36a21d..9f7c968679 100644 --- a/packages/turf-polygon-tangents/README.md +++ b/packages/turf-polygon-tangents/README.md @@ -9,7 +9,7 @@ Finds the tangents of a [(Multi)Polygon][1] from a [Point][2]. ### Parameters * `pt` **[Coord][3]** to calculate the tangent points from -* `polygon` **[Feature][4]<([Polygon][5] | [MultiPolygon][6])>** to get tangents from +* `polygon` **[Feature][4]<([Polygon][1] | [MultiPolygon][5])>** to get tangents from ### Examples @@ -23,7 +23,7 @@ var tangents = turf.polygonTangents(point, polygon) var addToMap = [tangents, point, polygon]; ``` -Returns **[FeatureCollection][7]<[Point][8]>** Feature Collection containing the two tangent points +Returns **[FeatureCollection][6]<[Point][2]>** Feature Collection containing the two tangent points [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -33,34 +33,25 @@ Returns **[FeatureCollection][7]<[Point][8]>** Feature Collection containing the [4]: https://tools.ietf.org/html/rfc7946#section-3.2 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[5]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[6]: https://tools.ietf.org/html/rfc7946#section-3.3 -[7]: https://tools.ietf.org/html/rfc7946#section-3.3 - -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/polygon-tangents ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-polygon-tangents/package.json b/packages/turf-polygon-tangents/package.json index cbace9ce97..310cce2ba3 100644 --- a/packages/turf-polygon-tangents/package.json +++ b/packages/turf-polygon-tangents/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygon-tangents", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf polygon tangents module", "author": "Turf Authors", "contributors": [ @@ -44,11 +44,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -57,14 +57,15 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/boolean-within": "^7.0.0-alpha.0", - "@turf/explode": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/nearest-point": "^7.0.0-alpha.0" + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/boolean-within": "^7.0.0-alpha.2", + "@turf/explode": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/nearest-point": "^7.0.0-alpha.2" } } diff --git a/packages/turf-polygon-to-line/README.md b/packages/turf-polygon-to-line/README.md index b007a399a2..0205df3f74 100644 --- a/packages/turf-polygon-to-line/README.md +++ b/packages/turf-polygon-to-line/README.md @@ -9,10 +9,10 @@ Converts a [Polygon][1] to [(Multi)LineString][2] or [MultiPolygon][3] to a ### Parameters -* `poly` **[Feature][5]<([Polygon][6] | [MultiPolygon][7])>** Feature to convert -* `options` **[Object][8]** Optional parameters (optional, default `{}`) +* `poly` **[Feature][5]<([Polygon][1] | [MultiPolygon][3])>** Feature to convert +* `options` **[Object][6]** Optional parameters (optional, default `{}`) - * `options.properties` **[Object][8]** translates GeoJSON properties to Feature (optional, default `{}`) + * `options.properties` **[Object][6]** translates GeoJSON properties to Feature (optional, default `{}`) ### Examples @@ -25,7 +25,7 @@ var line = turf.polygonToLine(poly); var addToMap = [line]; ``` -Returns **([FeatureCollection][9] | [Feature][5]<([LineString][10] | MultiLinestring)>)** converted (Multi)Polygon to (Multi)LineString +Returns **([FeatureCollection][4] | [Feature][5]<([LineString][2] | MultiLinestring)>)** converted (Multi)Polygon to (Multi)LineString [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -37,36 +37,23 @@ Returns **([FeatureCollection][9] | [Feature][5]<([LineString][10] | MultiLinest [5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - -[9]: https://tools.ietf.org/html/rfc7946#section-3.3 - -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - - + --- -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: ```sh $ npm install @turf/polygon-to-line ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-polygon-to-line/index.ts b/packages/turf-polygon-to-line/index.ts index 30b158dfd4..d47d69c183 100644 --- a/packages/turf-polygon-to-line/index.ts +++ b/packages/turf-polygon-to-line/index.ts @@ -29,7 +29,7 @@ import { getGeom } from "@turf/invariant"; */ export default function < G extends Polygon | MultiPolygon, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( poly: Feature | G, options: { properties?: any } = {} @@ -53,7 +53,10 @@ export default function < /** * @private */ -export function polygonToLine( +export function polygonToLine< + G extends Polygon, + P extends GeoJsonProperties = GeoJsonProperties, +>( poly: Feature | G, options: { properties?: any } = {} ): Feature { @@ -73,7 +76,7 @@ export function polygonToLine( */ export function multiPolygonToLine< G extends MultiPolygon, - P = GeoJsonProperties + P extends GeoJsonProperties = GeoJsonProperties, >( multiPoly: Feature | G, options: { properties?: P } = {} @@ -96,7 +99,7 @@ export function multiPolygonToLine< /** * @private */ -export function coordsToLine

( +export function coordsToLine

( coords: number[][][], properties: P ): Feature { diff --git a/packages/turf-polygon-to-line/package.json b/packages/turf-polygon-to-line/package.json index ee346ce8b4..add9bebe85 100644 --- a/packages/turf-polygon-to-line/package.json +++ b/packages/turf-polygon-to-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygon-to-line", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf polygon-to-line module", "author": "Turf Authors", "license": "MIT", @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,13 +39,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -53,14 +53,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-polygonize/README.md b/packages/turf-polygonize/README.md index 48902fb0fc..48f42a366f 100644 --- a/packages/turf-polygonize/README.md +++ b/packages/turf-polygonize/README.md @@ -18,13 +18,13 @@ The implementation correctly handles: ### Parameters -* `geoJson` **([FeatureCollection][3] | [Geometry][4] | [Feature][5]<([LineString][6] | [MultiLineString][7])>)** Lines in order to polygonize +* `geoJson` **([FeatureCollection][3] | [Geometry][4] | [Feature][5]<([LineString][1] | [MultiLineString][6])>)** Lines in order to polygonize -* Throws **[Error][8]** if geoJson is invalid. +* Throws **[Error][7]** if geoJson is invalid. -Returns **[FeatureCollection][3]<[Polygon][9]>** Polygons created +Returns **[FeatureCollection][3]<[Polygon][2]>** Polygons created [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -36,34 +36,25 @@ Returns **[FeatureCollection][3]<[Polygon][9]>** Polygons created [5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[6]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.5 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error - -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - - + --- -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: ```sh $ npm install @turf/polygonize ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-polygonize/lib/util.ts b/packages/turf-polygonize/lib/util.ts index c568bdb933..d104ebe47a 100644 --- a/packages/turf-polygonize/lib/util.ts +++ b/packages/turf-polygonize/lib/util.ts @@ -4,9 +4,7 @@ import { point } from "@turf/helpers"; // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign#Polyfill function mathSign(x: number) { - return ( - (((x > 0) as unknown) as number) - (((x < 0) as unknown) as number) || +x - ); + return ((x > 0) as unknown as number) - ((x < 0) as unknown as number) || +x; } /** diff --git a/packages/turf-polygonize/package.json b/packages/turf-polygonize/package.json index f5fd18ac5b..18a9eb57d6 100644 --- a/packages/turf-polygonize/package.json +++ b/packages/turf-polygonize/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygonize", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf polygonize module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,13 +42,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -57,16 +57,16 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", - "ts-node": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/envelope": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/envelope": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-projection/README.md b/packages/turf-projection/README.md index ad44d712b0..1c59858952 100644 --- a/packages/turf-projection/README.md +++ b/packages/turf-projection/README.md @@ -8,10 +8,10 @@ Converts a WGS84 GeoJSON object into Mercator (EPSG:900913) projection ### Parameters -* `geojson` **([GeoJSON][1] | Position)** WGS84 GeoJSON object -* `options` **[Object][2]?** Optional parameters +* `geojson` **([GeoJSON][1] | [Position][2])** WGS84 GeoJSON object +* `options` **[Object][3]?** Optional parameters - * `options.mutate` **[boolean][3]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) + * `options.mutate` **[boolean][4]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) ### Examples @@ -31,10 +31,10 @@ Converts a Mercator (EPSG:900913) GeoJSON object into WGS84 projection ### Parameters -* `geojson` **([GeoJSON][1] | Position)** Mercator GeoJSON object -* `options` **[Object][2]?** Optional parameters +* `geojson` **([GeoJSON][1] | [Position][2])** Mercator GeoJSON object +* `options` **[Object][3]?** Optional parameters - * `options.mutate` **[boolean][3]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) + * `options.mutate` **[boolean][4]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) ### Examples @@ -50,30 +50,27 @@ Returns **[GeoJSON][1]** Projected GeoJSON [1]: https://tools.ietf.org/html/rfc7946#section-3 -[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[2]: https://developer.mozilla.org/docs/Web/API/Position -[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean + + --- -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: ```sh $ npm install @turf/projection ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-projection/package.json b/packages/turf-projection/package.json index 5947caa221..7e565a3e39 100644 --- a/packages/turf-projection/package.json +++ b/packages/turf-projection/package.json @@ -1,6 +1,6 @@ { "name": "@turf/projection", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf projection module", "author": "Turf Authors", "contributors": [ @@ -39,7 +39,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -50,32 +50,31 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "proj4": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-quadrat-analysis/README.md b/packages/turf-quadrat-analysis/README.md index 60cf0f3f05..d4802e36e1 100644 --- a/packages/turf-quadrat-analysis/README.md +++ b/packages/turf-quadrat-analysis/README.md @@ -36,7 +36,7 @@ which is simply the area of the study area divided by the number of features. * `options.studyBbox` **bbox?** bbox representing the study area * `options.confidenceLevel` **[number][4]** a confidence level. - The unit is percentage . 5 means 95%, value must be in [K_TABLE][5] (optional, default `20`) + The unit is percentage . 5 means 95%, value must be in [K\_TABLE][5] (optional, default `20`) ### Examples @@ -48,7 +48,7 @@ var result = turf.quadratAnalysis(dataset); Returns **[Object][3]** result [QuadratAnalysisResult][6] -## K_TABLE +## K\_TABLE the confidence level @@ -56,12 +56,12 @@ Type: [Object][3] ### Properties -* `20` **[number][4]** -* `15` **[number][4]** -* `10` **[number][4]** -* `5` **[number][4]** -* `2` **[number][4]** -* `1` **[number][4]** +* `20` **[number][4]** +* `15` **[number][4]** +* `10` **[number][4]** +* `5` **[number][4]** +* `2` **[number][4]** +* `1` **[number][4]** ## QuadratAnalysisResult @@ -71,9 +71,9 @@ Type: [Object][3] ### Properties -* `criticalValue` **[number][4]** -* `maxAbsoluteDifference` **[number][4]** -* `isRandom` **[boolean][7]** +* `criticalValue` **[number][4]** +* `maxAbsoluteDifference` **[number][4]** +* `isRandom` **[boolean][7]** * `observedDistribution` **[Array][8]<[number][4]>** the cumulative distribution of observed features, the index represents the number of features in the quadrat. @@ -93,26 +93,21 @@ Type: [Object][3] [8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array - + --- -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: ```sh $ npm install @turf/quadrat-analysis ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-quadrat-analysis/bench.js b/packages/turf-quadrat-analysis/bench.js index 0b67b486af..03ea91b8cf 100644 --- a/packages/turf-quadrat-analysis/bench.js +++ b/packages/turf-quadrat-analysis/bench.js @@ -1,7 +1,7 @@ const Benchmark = require("benchmark"); const { randomPoint } = require("@turf/random"); -const nearestNeighborAnalysis = require("@turf/nearest-neighbor-analysis") - .default; +const nearestNeighborAnalysis = + require("@turf/nearest-neighbor-analysis").default; const quadratAnalysis = require("./index").default; /** diff --git a/packages/turf-quadrat-analysis/package.json b/packages/turf-quadrat-analysis/package.json index 0a06e95383..27fe127eef 100644 --- a/packages/turf-quadrat-analysis/package.json +++ b/packages/turf-quadrat-analysis/package.json @@ -1,6 +1,6 @@ { "name": "@turf/quadrat-analysis", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf quadrat-analysis module", "author": "Turf Authors", "contributors": [ @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,36 +39,35 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/nearest-neighbor-analysis": "^7.0.0-alpha.0", + "@turf/nearest-neighbor-analysis": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/area": "^7.0.0-alpha.0", - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/point-grid": "^7.0.0-alpha.0", - "@turf/random": "^7.0.0-alpha.0", - "@turf/square-grid": "^7.0.0-alpha.0", + "@turf/area": "^7.0.0-alpha.2", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/point-grid": "^7.0.0-alpha.2", + "@turf/random": "^7.0.0-alpha.2", + "@turf/square-grid": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-random/README.md b/packages/turf-random/README.md index 19df7d90e1..53af241fef 100644 --- a/packages/turf-random/README.md +++ b/packages/turf-random/README.md @@ -119,26 +119,21 @@ Returns **[FeatureCollection][7]<[LineString][12]>** GeoJSON FeatureCollection o [12]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - + --- -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: ```sh $ npm install @turf/random ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-random/package.json b/packages/turf-random/package.json index f9b52544ab..bad63cefcd 100644 --- a/packages/turf-random/package.json +++ b/packages/turf-random/package.json @@ -1,6 +1,6 @@ { "name": "@turf/random", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf random module", "author": "Turf Authors", "license": "MIT", @@ -25,7 +25,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -36,13 +36,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "@types/tape": "*", @@ -50,12 +50,11 @@ "glob": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-rectangle-grid/README.md b/packages/turf-rectangle-grid/README.md index ec2ef55bad..9ad5c99ff6 100644 --- a/packages/turf-rectangle-grid/README.md +++ b/packages/turf-rectangle-grid/README.md @@ -15,7 +15,7 @@ Creates a grid of rectangles from a bounding box, [Feature][1] or [FeatureCollec * `options.units` **[string][6]** units ("degrees", "radians", "miles", "kilometers") that the given cellWidth and cellHeight are expressed in. Converted at the southern border. (optional, default `'kilometers'`) - * `options.mask` **[Feature][7]<([Polygon][8] | [MultiPolygon][9])>?** if passed a Polygon or MultiPolygon, + * `options.mask` **[Feature][1]<([Polygon][7] | [MultiPolygon][8])>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it * `options.properties` **[Object][5]** passed to each point of the grid (optional, default `{}`) @@ -33,7 +33,7 @@ var rectangleGrid = turf.rectangleGrid(bbox, cellWidth, cellHeight, options); var addToMap = [rectangleGrid] ``` -Returns **[FeatureCollection][10]<[Polygon][8]>** a grid of polygons +Returns **[FeatureCollection][2]<[Polygon][7]>** a grid of polygons [1]: https://tools.ietf.org/html/rfc7946#section-3.2 @@ -47,34 +47,25 @@ Returns **[FeatureCollection][10]<[Polygon][8]>** a grid of polygons [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[7]: https://tools.ietf.org/html/rfc7946#section-3.2 +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[8]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - -[10]: https://tools.ietf.org/html/rfc7946#section-3.3 - - + --- -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: ```sh $ npm install @turf/rectangle-grid ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-rectangle-grid/index.ts b/packages/turf-rectangle-grid/index.ts index bc3dabecb8..196ff1fe6e 100644 --- a/packages/turf-rectangle-grid/index.ts +++ b/packages/turf-rectangle-grid/index.ts @@ -38,7 +38,7 @@ import { * //addToMap * var addToMap = [rectangleGrid] */ -function rectangleGrid

( +function rectangleGrid

( bbox: BBox, cellWidth: number, cellHeight: number, diff --git a/packages/turf-rectangle-grid/package.json b/packages/turf-rectangle-grid/package.json index b470adeeb8..3b23ef7fcd 100644 --- a/packages/turf-rectangle-grid/package.json +++ b/packages/turf-rectangle-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rectangle-grid", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf rectangle-grid module", "author": "Turf Authors", "contributors": [ @@ -31,7 +31,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -42,30 +42,30 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", - "ts-node": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/boolean-intersects": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/boolean-intersects": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-rewind/README.md b/packages/turf-rewind/README.md index 571e2676e7..6679a5bf6c 100644 --- a/packages/turf-rewind/README.md +++ b/packages/turf-rewind/README.md @@ -39,26 +39,21 @@ Returns **[GeoJSON][4]** rewind Polygon [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/rewind ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-rewind/package.json b/packages/turf-rewind/package.json index e19ff9703e..9225580577 100644 --- a/packages/turf-rewind/package.json +++ b/packages/turf-rewind/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rewind", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf rewind module", "author": "Turf Authors", "contributors": [ @@ -45,11 +45,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -58,13 +58,14 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/boolean-clockwise": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/boolean-clockwise": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-rhumb-bearing/README.md b/packages/turf-rhumb-bearing/README.md index f1e4649dd2..a8be86d3fb 100644 --- a/packages/turf-rhumb-bearing/README.md +++ b/packages/turf-rhumb-bearing/README.md @@ -41,26 +41,21 @@ Returns **[number][5]** bearing from north in decimal degrees, between -180 and [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - + --- -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: ```sh $ npm install @turf/rhumb-bearing ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-rhumb-bearing/package.json b/packages/turf-rhumb-bearing/package.json index 504cf7543e..8379ab612d 100644 --- a/packages/turf-rhumb-bearing/package.json +++ b/packages/turf-rhumb-bearing/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rhumb-bearing", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf rhumb-bearing module", "author": "Turf Authors", "contributors": [ @@ -33,7 +33,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -44,28 +44,27 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/destination": "^7.0.0-alpha.0", + "@turf/destination": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-rhumb-destination/README.md b/packages/turf-rhumb-destination/README.md index 11943e71e0..001ad5d59b 100644 --- a/packages/turf-rhumb-destination/README.md +++ b/packages/turf-rhumb-destination/README.md @@ -32,7 +32,7 @@ var addToMap = [pt, destination] destination.properties['marker-color'] = '#00F'; ``` -Returns **[Feature][6]<[Point][7]>** Destination point. +Returns **[Feature][6]<[Point][1]>** Destination point. [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -46,28 +46,21 @@ Returns **[Feature][6]<[Point][7]>** Destination point. [6]: https://tools.ietf.org/html/rfc7946#section-3.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 - - + --- -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: ```sh $ npm install @turf/rhumb-destination ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-rhumb-destination/index.ts b/packages/turf-rhumb-destination/index.ts index 218a0f5d55..9055b3937e 100644 --- a/packages/turf-rhumb-destination/index.ts +++ b/packages/turf-rhumb-destination/index.ts @@ -34,7 +34,7 @@ import { getCoord } from "@turf/invariant"; * var addToMap = [pt, destination] * destination.properties['marker-color'] = '#00F'; */ -function rhumbDestination

( +function rhumbDestination

( origin: Coord, distance: number, bearing: number, diff --git a/packages/turf-rhumb-destination/package.json b/packages/turf-rhumb-destination/package.json index 76af7a7ec7..648751c513 100644 --- a/packages/turf-rhumb-destination/package.json +++ b/packages/turf-rhumb-destination/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rhumb-destination", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf rhumb-destination module", "author": "Turf Authors", "contributors": [ @@ -37,7 +37,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -48,29 +48,28 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-rhumb-destination/test.js b/packages/turf-rhumb-destination/test.js index 481c903659..515b4b7b25 100644 --- a/packages/turf-rhumb-destination/test.js +++ b/packages/turf-rhumb-destination/test.js @@ -77,9 +77,9 @@ test("turf-rhumb-destintation -- add properties", (t) => { test("turf-rhumb-destintation -- allows negative distance", (t) => { const pt = point([12, -54]); const out = rhumbDestination(pt, -100, 45); - t.deepEqual(out.geometry.coordinates, [ - 10.90974456038191, - -54.63591552764877, - ]); + t.deepEqual( + out.geometry.coordinates, + [10.90974456038191, -54.63591552764877] + ); t.end(); }); diff --git a/packages/turf-rhumb-distance/README.md b/packages/turf-rhumb-distance/README.md index 8f616f9e28..17b6308490 100644 --- a/packages/turf-rhumb-distance/README.md +++ b/packages/turf-rhumb-distance/README.md @@ -42,26 +42,21 @@ Returns **[number][5]** distance between the two points [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - + --- -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: ```sh $ npm install @turf/rhumb-distance ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-rhumb-distance/package.json b/packages/turf-rhumb-distance/package.json index 790b6acbe6..e355eafdbb 100644 --- a/packages/turf-rhumb-distance/package.json +++ b/packages/turf-rhumb-distance/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rhumb-distance", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf rhumb-distance module", "author": "Turf Authors", "contributors": [ @@ -35,7 +35,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -46,29 +46,28 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/distance": "^7.0.0-alpha.0", + "@turf/distance": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-sample/README.md b/packages/turf-sample/README.md index 2fc0ab8fff..d853c8b2c3 100644 --- a/packages/turf-sample/README.md +++ b/packages/turf-sample/README.md @@ -8,8 +8,8 @@ Takes a [FeatureCollection][1] and returns a FeatureCollection with given number ### Parameters -* `featurecollection` **[FeatureCollection][3]** set of input features -* `num` **[number][4]** number of features to select +* `featurecollection` **[FeatureCollection][1]** set of input features +* `num` **[number][3]** number of features to select ### Examples @@ -26,36 +26,29 @@ turf.featureEach(sample, function (currentFeature) { }); ``` -Returns **[FeatureCollection][3]** a FeatureCollection with `n` features +Returns **[FeatureCollection][1]** a FeatureCollection with `n` features [1]: https://tools.ietf.org/html/rfc7946#section-3.3 [2]: https://tools.ietf.org/html/rfc7946#section-3.2 -[3]: https://tools.ietf.org/html/rfc7946#section-3.3 +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number - - + --- -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: ```sh $ npm install @turf/sample ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-sample/package.json b/packages/turf-sample/package.json index 15e00b0bc6..241bc2fada 100644 --- a/packages/turf-sample/package.json +++ b/packages/turf-sample/package.json @@ -1,6 +1,6 @@ { "name": "@turf/sample", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf sample module", "author": "Turf Authors", "license": "MIT", @@ -39,19 +39,20 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0" + "@turf/helpers": "^7.0.0-alpha.2" } } diff --git a/packages/turf-sector/README.md b/packages/turf-sector/README.md index 01e544b462..6e86c00828 100644 --- a/packages/turf-sector/README.md +++ b/packages/turf-sector/README.md @@ -49,26 +49,21 @@ Returns **[Feature][6]<[Polygon][7]>** sector polygon [7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - + --- -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: ```sh $ npm install @turf/sector ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-sector/package.json b/packages/turf-sector/package.json index e5b57c3e2c..ec4a095732 100644 --- a/packages/turf-sector/package.json +++ b/packages/turf-sector/package.json @@ -1,6 +1,6 @@ { "name": "@turf/sector", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf sector module", "author": "Turf Authors", "license": "MIT", @@ -37,27 +37,28 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/circle": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/line-arc": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/circle": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/line-arc": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-sector/test/out/pacman.geojson b/packages/turf-sector/test/out/pacman.geojson index 1b41af6efb..9fe79eb621 100644 --- a/packages/turf-sector/test/out/pacman.geojson +++ b/packages/turf-sector/test/out/pacman.geojson @@ -28,57 +28,69 @@ [ [176.868896, -17.821916], [178.151889, -18.668804], - [178.058456, -18.784436], - [177.953377, -18.890786], - [177.837661, -18.986812], - [177.712424, -19.071569], - [177.578885, -19.144225], - [177.438347, -19.204064], - [177.292191, -19.250494], - [177.141855, -19.283058], - [176.988821, -19.301433], - [176.834601, -19.305438], - [176.68072, -19.295033], - [176.5287, -19.270321], - [176.38004, -19.231546], - [176.236207, -19.179092], - [176.098614, -19.113476], - [175.968609, -19.035346], - [175.847459, -18.945471], - [175.736338, -18.844734], - [175.636317, -18.734125], - [175.548353, -18.614725], - [175.473276, -18.487703], - [175.411789, -18.354295], - [175.364456, -18.2158], - [175.331703, -18.073561], - [175.313809, -17.928954], - [175.31091, -17.783376], - [175.322999, -17.638227], - [175.349922, -17.494902], + [178.077565, -18.762645], + [177.995563, -18.850599], + [177.906393, -18.932108], + [177.810611, -19.006651], + [177.708821, -19.073754], + [177.601663, -19.132988], + [177.489819, -19.183974], + [177.373999, -19.226385], + [177.254942, -19.25995], + [177.13341, -19.284453], + [177.010181, -19.299738], + [176.886045, -19.305705], + [176.7618, -19.302317], + [176.638241, -19.289596], + [176.516163, -19.267622], + [176.396346, -19.236538], + [176.279558, -19.196542], + [176.166545, -19.147892], + [176.058025, -19.090898], + [175.954688, -19.025925], + [175.857187, -18.953388], + [175.766135, -18.873751], + [175.682103, -18.787521], + [175.605613, -18.695246], + [175.537137, -18.597512], + [175.477096, -18.494939], + [175.425853, -18.388176], + [175.383715, -18.277896], + [175.350929, -18.164796], + [175.327683, -18.049587], + [175.314104, -17.932991], + [175.310257, -17.815739], + [175.316147, -17.698564], + [175.331719, -17.582197], + [175.356857, -17.467363], [175.391387, -17.354776], - [175.446966, -17.219186], - [175.516098, -17.089428], - [175.598098, -16.966736], - [175.692164, -16.852276], - [175.797383, -16.747135], - [175.912741, -16.652309], - [176.037134, -16.568694], - [176.169378, -16.49708], - [176.308217, -16.438144], - [176.452337, -16.39244], - [176.600379, -16.3604], - [176.750947, -16.342326], - [176.902626, -16.338387], - [177.053986, -16.348621], - [177.203606, -16.372931], - [177.350075, -16.411089], - [177.492014, -16.462734], - [177.62808, -16.527381], - [177.756986, -16.604419], - [177.877506, -16.693121], - [177.988489, -16.792648], - [178.08887, -16.902059], + [175.435078, -17.245134], + [175.487644, -17.139116], + [175.548744, -17.037379], + [175.617989, -16.940549], + [175.694941, -16.849225], + [175.779113, -16.763968], + [175.869982, -16.685303], + [175.96698, -16.613713], + [176.069507, -16.549637], + [176.17693, -16.493468], + [176.288587, -16.445549], + [176.403793, -16.406175], + [176.521842, -16.375586], + [176.64201, -16.353969], + [176.763565, -16.341457], + [176.885762, -16.338124], + [177.007856, -16.343994], + [177.129102, -16.359028], + [177.248759, -16.383135], + [177.366095, -16.416169], + [177.480392, -16.457926], + [177.590948, -16.508152], + [177.697086, -16.566539], + [177.79815, -16.632729], + [177.893515, -16.706317], + [177.982592, -16.786851], + [178.064823, -16.873835], [178.139695, -16.966736], [176.868896, -17.821916] ] diff --git a/packages/turf-sector/test/out/sector-greater-360.geojson b/packages/turf-sector/test/out/sector-greater-360.geojson index 48e310d91b..9a8c59ce04 100644 --- a/packages/turf-sector/test/out/sector-greater-360.geojson +++ b/packages/turf-sector/test/out/sector-greater-360.geojson @@ -28,9 +28,69 @@ [ [11.343, 44.495], [11.343, 44.539966], + [11.343344, 44.539965], + [11.343688, 44.539963], + [11.344032, 44.53996], + [11.344376, 44.539955], + [11.34472, 44.539949], + [11.345064, 44.539942], + [11.345408, 44.539933], + [11.345752, 44.539923], + [11.346096, 44.539912], + [11.346439, 44.539899], + [11.346783, 44.539885], + [11.347126, 44.53987], + [11.347469, 44.539853], + [11.347813, 44.539835], + [11.348156, 44.539816], + [11.348498, 44.539795], + [11.348841, 44.539773], [11.349184, 44.539749], + [11.349526, 44.539725], + [11.349868, 44.539699], + [11.35021, 44.539671], + [11.350552, 44.539642], + [11.350893, 44.539612], + [11.351234, 44.539581], + [11.351575, 44.539548], + [11.351916, 44.539514], + [11.352257, 44.539479], + [11.352597, 44.539442], + [11.352937, 44.539404], + [11.353276, 44.539365], + [11.353616, 44.539324], + [11.353955, 44.539282], + [11.354294, 44.539239], + [11.354632, 44.539194], + [11.35497, 44.539149], [11.355307, 44.539101], + [11.355645, 44.539053], + [11.355982, 44.539003], + [11.356318, 44.538952], + [11.356654, 44.538899], + [11.35699, 44.538846], + [11.357325, 44.53879], + [11.35766, 44.538734], + [11.357995, 44.538676], + [11.358329, 44.538617], + [11.358662, 44.538557], + [11.358995, 44.538496], + [11.359328, 44.538433], + [11.35966, 44.538369], + [11.359991, 44.538303], + [11.360322, 44.538236], + [11.360653, 44.538168], + [11.360983, 44.538099], [11.361313, 44.538028], + [11.361642, 44.537956], + [11.36197, 44.537883], + [11.362298, 44.537809], + [11.362625, 44.537733], + [11.362952, 44.537656], + [11.363278, 44.537578], + [11.363603, 44.537498], + [11.363928, 44.537418], + [11.364252, 44.537336], [11.364576, 44.537252], [11.343, 44.495] ] diff --git a/packages/turf-sector/test/out/sector1.geojson b/packages/turf-sector/test/out/sector1.geojson index 2a13bfcfe9..c38e4a345f 100644 --- a/packages/turf-sector/test/out/sector1.geojson +++ b/packages/turf-sector/test/out/sector1.geojson @@ -28,12 +28,68 @@ [ [11.343, 44.495], [11.364576, 44.537252], + [11.365221, 44.537082], + [11.365864, 44.536906], + [11.366504, 44.536726], + [11.367141, 44.536541], + [11.367775, 44.53635], + [11.368406, 44.536155], + [11.369035, 44.535955], + [11.36966, 44.53575], [11.370282, 44.53554], + [11.3709, 44.535325], + [11.371516, 44.535106], + [11.372128, 44.534882], + [11.372736, 44.534653], + [11.373341, 44.534419], + [11.373943, 44.53418], + [11.37454, 44.533937], + [11.375134, 44.53369], [11.375724, 44.533437], + [11.37631, 44.53318], + [11.376893, 44.532919], + [11.377471, 44.532653], + [11.378045, 44.532383], + [11.378615, 44.532108], + [11.37918, 44.531828], + [11.379741, 44.531545], + [11.380298, 44.531257], [11.380851, 44.530964], + [11.381399, 44.530668], + [11.381942, 44.530367], + [11.382481, 44.530062], + [11.383015, 44.529752], + [11.383544, 44.529439], + [11.384069, 44.529121], + [11.384588, 44.5288], + [11.385103, 44.528474], [11.385612, 44.528145], + [11.386117, 44.527811], + [11.386616, 44.527474], + [11.38711, 44.527132], + [11.387599, 44.526787], + [11.388083, 44.526438], + [11.388561, 44.526086], + [11.389034, 44.525729], + [11.389501, 44.525369], [11.389963, 44.525006], + [11.390419, 44.524638], + [11.390869, 44.524268], + [11.391314, 44.523893], + [11.391753, 44.523516], + [11.392186, 44.523135], + [11.392614, 44.52275], + [11.393035, 44.522363], + [11.393451, 44.521972], [11.39386, 44.521578], + [11.394264, 44.52118], + [11.394661, 44.52078], + [11.395052, 44.520376], + [11.395437, 44.51997], + [11.395816, 44.51956], + [11.396188, 44.519148], + [11.396554, 44.518733], + [11.396914, 44.518314], [11.397267, 44.517894], [11.397614, 44.51747], [11.343, 44.495] diff --git a/packages/turf-sector/test/out/sector2.geojson b/packages/turf-sector/test/out/sector2.geojson index 830086f818..f175f3d260 100644 --- a/packages/turf-sector/test/out/sector2.geojson +++ b/packages/turf-sector/test/out/sector2.geojson @@ -28,29 +28,69 @@ [ [11.343, 44.495], [11.406038, 44.494983], - [11.40573, 44.490575], - [11.404818, 44.486211], + [11.405994, 44.493328], + [11.405864, 44.491675], + [11.405649, 44.490027], + [11.405349, 44.488385], + [11.404965, 44.486753], + [11.404496, 44.485131], + [11.403945, 44.483524], [11.40331, 44.481931], - [11.401223, 44.477777], - [11.398575, 44.47379], + [11.402595, 44.480357], + [11.401798, 44.478802], + [11.400922, 44.477269], + [11.399967, 44.47576], + [11.398936, 44.474278], + [11.397828, 44.472823], + [11.396646, 44.471399], [11.395392, 44.470006], - [11.391706, 44.466464], - [11.387551, 44.463196], + [11.394067, 44.468648], + [11.392673, 44.467325], + [11.391211, 44.466039], + [11.389684, 44.464793], + [11.388094, 44.463588], + [11.386443, 44.462425], + [11.384734, 44.461307], [11.382967, 44.460234], - [11.378, 44.457607], - [11.372696, 44.45534], + [11.381147, 44.459208], + [11.379275, 44.458231], + [11.377354, 44.457303], + [11.375387, 44.456427], + [11.373376, 44.455603], + [11.371323, 44.454832], + [11.369233, 44.454115], [11.367107, 44.453454], - [11.361286, 44.451969], - [11.355289, 44.450897], + [11.364948, 44.452849], + [11.36276, 44.452302], + [11.360544, 44.451812], + [11.358306, 44.451381], + [11.356046, 44.451008], + [11.353769, 44.450695], + [11.351477, 44.450443], [11.349174, 44.45025], - [11.343, 44.450034], - [11.336826, 44.45025], + [11.346863, 44.450119], + [11.344546, 44.450048], + [11.342227, 44.450037], + [11.339909, 44.450088], + [11.337596, 44.4502], + [11.335289, 44.450372], + [11.332993, 44.450605], [11.330711, 44.450897], - [11.324714, 44.451969], - [11.318893, 44.453454], + [11.328445, 44.45125], + [11.326199, 44.451662], + [11.323976, 44.452132], + [11.321778, 44.452661], + [11.31961, 44.453246], + [11.317472, 44.453889], + [11.315369, 44.454587], [11.313304, 44.45534], - [11.308, 44.457607], - [11.303033, 44.460234], + [11.311279, 44.456146], + [11.309297, 44.457005], + [11.30736, 44.457916], + [11.305471, 44.458877], + [11.303634, 44.459887], + [11.301849, 44.460944], + [11.30012, 44.462047], [11.298449, 44.463196], [11.343, 44.495] ] diff --git a/packages/turf-sector/test/out/sector3.geojson b/packages/turf-sector/test/out/sector3.geojson index 9bf2b8642a..dec78ee084 100644 --- a/packages/turf-sector/test/out/sector3.geojson +++ b/packages/turf-sector/test/out/sector3.geojson @@ -28,53 +28,69 @@ [ [11.343, 44.495], [11.387599, 44.526787], - [11.391753, 44.523516], - [11.395437, 44.51997], + [11.390757, 44.524361], + [11.393656, 44.521775], + [11.39628, 44.519044], [11.398615, 44.516183], - [11.401257, 44.512193], - [11.403337, 44.508037], + [11.400648, 44.513208], + [11.402369, 44.510133], + [11.403767, 44.506977], [11.404836, 44.503756], - [11.40574, 44.49939], - [11.406038, 44.494983], + [11.40557, 44.500487], + [11.405965, 44.497189], + [11.406018, 44.493879], [11.40573, 44.490575], - [11.404818, 44.486211], - [11.40331, 44.481931], + [11.405102, 44.487296], + [11.404138, 44.484058], + [11.402842, 44.480879], [11.401223, 44.477777], - [11.398575, 44.47379], - [11.395392, 44.470006], + [11.399288, 44.474769], + [11.397048, 44.47187], + [11.394516, 44.469097], [11.391706, 44.466464], - [11.387551, 44.463196], - [11.382967, 44.460234], + [11.388631, 44.463985], + [11.38531, 44.461675], + [11.38176, 44.459545], [11.378, 44.457607], - [11.372696, 44.45534], - [11.367107, 44.453454], + [11.374051, 44.455871], + [11.369934, 44.454348], + [11.365671, 44.453045], [11.361286, 44.451969], - [11.355289, 44.450897], - [11.349174, 44.45025], + [11.356801, 44.451126], + [11.352243, 44.45052], + [11.347634, 44.450156], [11.343, 44.450034], - [11.336826, 44.45025], - [11.330711, 44.450897], + [11.338366, 44.450156], + [11.333757, 44.45052], + [11.329199, 44.451126], [11.324714, 44.451969], - [11.318893, 44.453454], - [11.313304, 44.45534], + [11.320329, 44.453045], + [11.316066, 44.454348], + [11.311949, 44.455871], [11.308, 44.457607], - [11.303033, 44.460234], - [11.298449, 44.463196], + [11.30424, 44.459545], + [11.30069, 44.461675], + [11.297369, 44.463985], [11.294294, 44.466464], - [11.290608, 44.470006], - [11.287425, 44.47379], + [11.291484, 44.469097], + [11.288952, 44.47187], + [11.286712, 44.474769], [11.284777, 44.477777], - [11.28269, 44.481931], - [11.281182, 44.486211], + [11.283158, 44.480879], + [11.281862, 44.484058], + [11.280898, 44.487296], [11.28027, 44.490575], - [11.279962, 44.494983], - [11.28026, 44.49939], + [11.279982, 44.493879], + [11.280035, 44.497189], + [11.28043, 44.500487], [11.281164, 44.503756], - [11.282663, 44.508037], - [11.284743, 44.512193], + [11.282233, 44.506977], + [11.283631, 44.510133], + [11.285352, 44.513208], [11.287385, 44.516183], - [11.290563, 44.51997], - [11.294247, 44.523516], + [11.28972, 44.519044], + [11.292344, 44.521775], + [11.295243, 44.524361], [11.298401, 44.526787], [11.343, 44.495] ] diff --git a/packages/turf-sector/test/out/sector4.geojson b/packages/turf-sector/test/out/sector4.geojson index 9ca84fec66..f6d0f1fa79 100644 --- a/packages/turf-sector/test/out/sector4.geojson +++ b/packages/turf-sector/test/out/sector4.geojson @@ -28,12 +28,69 @@ [ [11.343, 44.495], [11.294686, 44.523893], - [11.29889, 44.527132], - [11.303519, 44.530062], - [11.308529, 44.532653], - [11.313872, 44.534882], - [11.319496, 44.536726], - [11.325347, 44.538168], + [11.295075, 44.524221], + [11.295468, 44.524546], + [11.295866, 44.524868], + [11.296267, 44.525188], + [11.296674, 44.525505], + [11.297084, 44.525819], + [11.297499, 44.52613], + [11.297917, 44.526438], + [11.29834, 44.526744], + [11.298767, 44.527046], + [11.299198, 44.527346], + [11.299633, 44.527643], + [11.300072, 44.527937], + [11.300515, 44.528227], + [11.300961, 44.528515], + [11.301412, 44.5288], + [11.301866, 44.529081], + [11.302324, 44.52936], + [11.302786, 44.529635], + [11.303251, 44.529907], + [11.303721, 44.530176], + [11.304193, 44.530442], + [11.304669, 44.530705], + [11.305149, 44.530964], + [11.305632, 44.53122], + [11.306119, 44.531473], + [11.306609, 44.531722], + [11.307102, 44.531969], + [11.307599, 44.532211], + [11.308098, 44.532451], + [11.308601, 44.532686], + [11.309107, 44.532919], + [11.309617, 44.533148], + [11.310129, 44.533374], + [11.310644, 44.533596], + [11.311162, 44.533814], + [11.311683, 44.534029], + [11.312207, 44.534241], + [11.312734, 44.534448], + [11.313264, 44.534653], + [11.313796, 44.534853], + [11.314331, 44.53505], + [11.314868, 44.535244], + [11.315408, 44.535433], + [11.315951, 44.535619], + [11.316496, 44.535802], + [11.317044, 44.53598], + [11.317594, 44.536155], + [11.318146, 44.536326], + [11.3187, 44.536494], + [11.319257, 44.536657], + [11.319816, 44.536817], + [11.320377, 44.536973], + [11.32094, 44.537125], + [11.321505, 44.537273], + [11.322072, 44.537418], + [11.322641, 44.537558], + [11.323212, 44.537695], + [11.323784, 44.537828], + [11.324358, 44.537956], + [11.324934, 44.538081], + [11.325512, 44.538202], + [11.326091, 44.53832], [11.326672, 44.538433], [11.343, 44.495] ] diff --git a/packages/turf-sector/test/out/sector5.geojson b/packages/turf-sector/test/out/sector5.geojson index 4a5ba66d56..9f45dc8c30 100644 --- a/packages/turf-sector/test/out/sector5.geojson +++ b/packages/turf-sector/test/out/sector5.geojson @@ -28,63 +28,69 @@ [ [11.343, 44.495], [11.326672, 44.538433], - [11.332724, 44.539365], - [11.338874, 44.53987], - [11.345064, 44.539942], - [11.351234, 44.539581], - [11.357325, 44.53879], - [11.363278, 44.537578], - [11.369035, 44.535955], - [11.37454, 44.533937], - [11.379741, 44.531545], - [11.384588, 44.5288], - [11.389034, 44.525729], - [11.393035, 44.522363], - [11.396554, 44.518733], - [11.399557, 44.514874], - [11.402014, 44.510824], - [11.403903, 44.506622], - [11.405204, 44.502308], - [11.405907, 44.497924], - [11.406003, 44.493511], - [11.405493, 44.489114], - [11.404381, 44.484773], - [11.402678, 44.480531], - [11.400401, 44.476428], - [11.397572, 44.472504], - [11.394218, 44.468797], - [11.390371, 44.465342], - [11.386068, 44.462173], - [11.381352, 44.45932], - [11.376267, 44.45681], - [11.370862, 44.454668], - [11.365189, 44.452914], - [11.359303, 44.451565], - [11.353261, 44.450634], - [11.34712, 44.45013], - [11.340939, 44.450058], - [11.334778, 44.450418], - [11.328696, 44.451208], - [11.322752, 44.452419], - [11.317002, 44.454039], - [11.311502, 44.456054], - [11.306305, 44.458444], - [11.30146, 44.461185], - [11.297015, 44.464252], - [11.293012, 44.467616], - [11.289489, 44.471242], - [11.286482, 44.475098], - [11.284018, 44.479146], - [11.282122, 44.483346], - [11.280811, 44.487658], - [11.2801, 44.492042], - [11.279994, 44.496454], - [11.280495, 44.500852], - [11.281598, 44.505194], - [11.283292, 44.509438], - [11.285562, 44.513543], - [11.288386, 44.51747], - [11.291736, 44.52118], + [11.33213, 44.539293], + [11.337673, 44.539805], + [11.343258, 44.539966], + [11.348841, 44.539773], + [11.354378, 44.539228], + [11.359826, 44.538336], + [11.365141, 44.537103], + [11.370282, 44.53554], + [11.375208, 44.533658], + [11.379881, 44.531473], + [11.384264, 44.529001], + [11.388323, 44.526262], + [11.392025, 44.523278], + [11.395341, 44.520072], + [11.398247, 44.516669], + [11.400718, 44.513095], + [11.402735, 44.50938], + [11.404284, 44.505552], + [11.405351, 44.501642], + [11.405928, 44.497679], + [11.406011, 44.493695], + [11.4056, 44.489722], + [11.404697, 44.48579], + [11.40331, 44.481931], + [11.401451, 44.478175], + [11.399132, 44.47455], + [11.396374, 44.471086], + [11.393197, 44.46781], + [11.389626, 44.464748], + [11.385691, 44.461923], + [11.38142, 44.459357], + [11.376848, 44.457071], + [11.372012, 44.455083], + [11.366948, 44.453408], + [11.361696, 44.452059], + [11.356298, 44.451047], + [11.350796, 44.450379], + [11.345233, 44.450062], + [11.339652, 44.450097], + [11.334097, 44.450485], + [11.328613, 44.451222], + [11.32324, 44.452302], + [11.318023, 44.453717], + [11.313001, 44.455456], + [11.308215, 44.457505], + [11.303701, 44.459848], + [11.299495, 44.462468], + [11.295629, 44.465342], + [11.292135, 44.468449], + [11.28904, 44.471765], + [11.286368, 44.475263], + [11.28414, 44.478916], + [11.282374, 44.482696], + [11.281083, 44.486572], + [11.280278, 44.490514], + [11.279966, 44.494492], + [11.280148, 44.498474], + [11.280824, 44.502429], + [11.281988, 44.506325], + [11.283631, 44.510133], + [11.285741, 44.513822], + [11.2883, 44.517364], + [11.29129, 44.52073], [11.294686, 44.523893], [11.343, 44.495] ] diff --git a/packages/turf-sector/test/out/sector6.geojson b/packages/turf-sector/test/out/sector6.geojson index 1037e5ea9d..bdaab18437 100644 --- a/packages/turf-sector/test/out/sector6.geojson +++ b/packages/turf-sector/test/out/sector6.geojson @@ -28,61 +28,68 @@ [ [11.343, 44.495], [11.397614, 44.51747], - [11.400438, 44.513543], - [11.402708, 44.509438], - [11.404402, 44.505194], - [11.405505, 44.500852], - [11.406006, 44.496454], - [11.4059, 44.492042], - [11.405189, 44.487658], + [11.400151, 44.513989], + [11.402252, 44.510364], + [11.403903, 44.506622], + [11.405089, 44.502791], + [11.405803, 44.498902], + [11.406038, 44.494983], + [11.405794, 44.491064], + [11.405072, 44.487175], [11.403878, 44.483346], - [11.401982, 44.479146], - [11.399518, 44.475098], - [11.396511, 44.471242], - [11.392988, 44.467616], - [11.388985, 44.464252], - [11.38454, 44.461185], - [11.379695, 44.458444], + [11.402221, 44.479605], + [11.400114, 44.475982], + [11.397572, 44.472504], + [11.394615, 44.469197], + [11.391266, 44.466086], + [11.387551, 44.463196], + [11.383496, 44.460547], + [11.379135, 44.45816], [11.374498, 44.456054], - [11.368998, 44.454039], - [11.363248, 44.452419], - [11.357304, 44.451208], - [11.351222, 44.450418], - [11.345061, 44.450058], - [11.33888, 44.45013], - [11.332739, 44.450634], + [11.369623, 44.454244], + [11.364545, 44.452744], + [11.359303, 44.451565], + [11.353938, 44.450717], + [11.34849, 44.450205], + [11.343, 44.450034], + [11.33751, 44.450205], + [11.332062, 44.450717], [11.326697, 44.451565], - [11.320811, 44.452914], - [11.315138, 44.454668], - [11.309733, 44.45681], - [11.304648, 44.45932], - [11.299932, 44.462173], - [11.295629, 44.465342], - [11.291782, 44.468797], + [11.321455, 44.452744], + [11.316377, 44.454244], + [11.311502, 44.456054], + [11.306865, 44.45816], + [11.302504, 44.460547], + [11.298449, 44.463196], + [11.294734, 44.466086], + [11.291385, 44.469197], [11.288428, 44.472504], - [11.285599, 44.476428], - [11.283322, 44.480531], - [11.281619, 44.484773], - [11.280507, 44.489114], - [11.279997, 44.493511], - [11.280093, 44.497924], - [11.280796, 44.502308], + [11.285886, 44.475982], + [11.283779, 44.479605], + [11.282122, 44.483346], + [11.280928, 44.487175], + [11.280206, 44.491064], + [11.279962, 44.494983], + [11.280197, 44.498902], + [11.280911, 44.502791], [11.282097, 44.506622], - [11.283986, 44.510824], - [11.286443, 44.514874], - [11.289446, 44.518733], - [11.292965, 44.522363], - [11.296966, 44.525729], - [11.301412, 44.5288], - [11.306259, 44.531545], + [11.283748, 44.510364], + [11.285849, 44.513989], + [11.288386, 44.51747], + [11.291339, 44.52078], + [11.294686, 44.523893], + [11.298401, 44.526787], + [11.302456, 44.529439], + [11.30682, 44.531828], [11.31146, 44.533937], - [11.316965, 44.535955], - [11.322722, 44.537578], - [11.328675, 44.53879], - [11.334766, 44.539581], - [11.340936, 44.539942], - [11.347126, 44.53987], - [11.353276, 44.539365], + [11.31634, 44.53575], + [11.321424, 44.537252], + [11.326672, 44.538433], + [11.332045, 44.539282], + [11.337502, 44.539795], + [11.343, 44.539966], + [11.348498, 44.539795], + [11.353955, 44.539282], [11.359328, 44.538433], [11.364576, 44.537252], [11.343, 44.495] diff --git a/packages/turf-shortest-path/README.md b/packages/turf-shortest-path/README.md index 94921a8b5d..94047f4246 100644 --- a/packages/turf-shortest-path/README.md +++ b/packages/turf-shortest-path/README.md @@ -13,10 +13,10 @@ any [Feature][3] in [ obstacles][4] * `end` **[Coord][5]** point * `options` **[Object][6]** optional parameters (optional, default `{}`) - * `options.obstacles` **([Geometry][7] | [Feature][8] | [FeatureCollection][9]<[Polygon][10]>)?** areas which path cannot travel - * `options.minDistance` **[number][11]?** minimum distance between shortest path and obstacles - * `options.units` **[string][12]** unit in which resolution & minimum distance will be expressed in; it can be degrees, radians, miles, kilometers, ... (optional, default `'kilometers'`) - * `options.resolution` **[number][11]** distance between matrix points on which the path will be calculated (optional, default `100`) + * `options.obstacles` **([Geometry][7] | [Feature][3] | [FeatureCollection][8]<[Polygon][9]>)?** areas which path cannot travel + * `options.minDistance` **[number][10]?** minimum distance between shortest path and obstacles + * `options.units` **[string][11]** unit in which resolution & minimum distance will be expressed in; it can be degrees, radians, miles, kilometers, ... (optional, default `'kilometers'`) + * `options.resolution` **[number][10]** distance between matrix points on which the path will be calculated (optional, default `100`) ### Examples @@ -33,7 +33,7 @@ var path = turf.shortestPath(start, end, options); var addToMap = [start, end, options.obstacles, path]; ``` -Returns **[Feature][8]<[LineString][13]>** shortest path between start and end +Returns **[Feature][3]<[LineString][1]>** shortest path between start and end [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 @@ -49,38 +49,29 @@ Returns **[Feature][8]<[LineString][13]>** shortest path between start and end [7]: https://tools.ietf.org/html/rfc7946#section-3.1 -[8]: https://tools.ietf.org/html/rfc7946#section-3.2 +[8]: https://tools.ietf.org/html/rfc7946#section-3.3 -[9]: https://tools.ietf.org/html/rfc7946#section-3.3 +[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[11]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - -[13]: https://tools.ietf.org/html/rfc7946#section-3.1.4 - - + --- -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: ```sh $ npm install @turf/shortest-path ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-shortest-path/package.json b/packages/turf-shortest-path/package.json index d54cfddae5..376719abfd 100644 --- a/packages/turf-shortest-path/package.json +++ b/packages/turf-shortest-path/package.json @@ -1,6 +1,6 @@ { "name": "@turf/shortest-path", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf shortest-path module", "author": "Turf Authors", "contributors": [ @@ -42,31 +42,32 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/clean-coords": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/transform-scale": "^7.0.0-alpha.0" + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/clean-coords": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/transform-scale": "^7.0.0-alpha.2" } } diff --git a/packages/turf-simplify/README.md b/packages/turf-simplify/README.md index cbed6b5067..d071781c5d 100644 --- a/packages/turf-simplify/README.md +++ b/packages/turf-simplify/README.md @@ -9,12 +9,12 @@ Takes a [GeoJSON][1] object and returns a simplified version. Internally uses ### Parameters -* `geojson` **[GeoJSON][3]** object to be simplified -* `options` **[Object][4]** Optional parameters (optional, default `{}`) +* `geojson` **[GeoJSON][1]** object to be simplified +* `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.tolerance` **[number][5]** simplification tolerance (optional, default `1`) - * `options.highQuality` **[boolean][6]** whether or not to spend more time to create a higher-quality simplification with a different algorithm (optional, default `false`) - * `options.mutate` **[boolean][6]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) + * `options.tolerance` **[number][4]** simplification tolerance (optional, default `1`) + * `options.highQuality` **[boolean][5]** whether or not to spend more time to create a higher-quality simplification with a different algorithm (optional, default `false`) + * `options.mutate` **[boolean][5]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`) ### Examples @@ -48,40 +48,33 @@ var simplified = turf.simplify(geojson, options); var addToMap = [geojson, simplified] ``` -Returns **[GeoJSON][3]** a simplified GeoJSON +Returns **[GeoJSON][1]** a simplified GeoJSON [1]: https://tools.ietf.org/html/rfc7946#section-3 [2]: http://mourner.github.io/simplify-js/ -[3]: https://tools.ietf.org/html/rfc7946#section-3 +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - - + --- -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: ```sh $ npm install @turf/simplify ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-simplify/index.js b/packages/turf-simplify/index.js index aff5e9ebbe..c647208c1f 100644 --- a/packages/turf-simplify/index.js +++ b/packages/turf-simplify/index.js @@ -149,19 +149,19 @@ function simplifyPolygon(coordinates, tolerance, highQuality) { if (pts.length < 4) { throw new Error("invalid polygon"); } - var simpleRing = simplifyJS(pts, tolerance, highQuality).map(function ( - coords - ) { - return [coords.x, coords.y]; - }); + var simpleRing = simplifyJS(pts, tolerance, highQuality).map( + function (coords) { + return [coords.x, coords.y]; + } + ); //remove 1 percent of tolerance until enough points to make a triangle while (!checkValidity(simpleRing)) { tolerance -= tolerance * 0.01; - simpleRing = simplifyJS(pts, tolerance, highQuality).map(function ( - coords - ) { - return [coords.x, coords.y]; - }); + simpleRing = simplifyJS(pts, tolerance, highQuality).map( + function (coords) { + return [coords.x, coords.y]; + } + ); } if ( simpleRing[simpleRing.length - 1][0] !== simpleRing[0][0] || diff --git a/packages/turf-simplify/package.json b/packages/turf-simplify/package.json index a68fabdc36..967ddcabf3 100644 --- a/packages/turf-simplify/package.json +++ b/packages/turf-simplify/package.json @@ -1,6 +1,6 @@ { "name": "@turf/simplify", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf simplify module", "author": "Turf Authors", "contributors": [ @@ -45,26 +45,27 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clean-coords": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/clean-coords": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-square-grid/README.md b/packages/turf-square-grid/README.md index 959fa7df01..0a04b35359 100644 --- a/packages/turf-square-grid/README.md +++ b/packages/turf-square-grid/README.md @@ -49,26 +49,21 @@ Returns **[FeatureCollection][8]<[Polygon][6]>** grid a grid of polygons [8]: https://tools.ietf.org/html/rfc7946#section-3.3 - + --- -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: ```sh $ npm install @turf/square-grid ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-square-grid/index.ts b/packages/turf-square-grid/index.ts index b9d0a879a8..e2bd273212 100644 --- a/packages/turf-square-grid/index.ts +++ b/packages/turf-square-grid/index.ts @@ -34,7 +34,9 @@ import rectangleGrid from "@turf/rectangle-grid"; * var addToMap = [squareGrid] */ -export default function squareGrid

( +export default function squareGrid< + P extends GeoJsonProperties = GeoJsonProperties, +>( bbox: BBox, cellSide: number, options: { diff --git a/packages/turf-square-grid/package.json b/packages/turf-square-grid/package.json index cec0b12449..3be491aad1 100644 --- a/packages/turf-square-grid/package.json +++ b/packages/turf-square-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/square-grid", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf square-grid module", "author": "Turf Authors", "license": "MIT", @@ -28,7 +28,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -39,29 +39,28 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/rectangle-grid": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/rectangle-grid": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-square/README.md b/packages/turf-square/README.md index f0e563f6d8..2dc95eabd0 100644 --- a/packages/turf-square/README.md +++ b/packages/turf-square/README.md @@ -25,26 +25,21 @@ Returns **[BBox][1]** a square surrounding `bbox` [1]: https://tools.ietf.org/html/rfc7946#section-5 - + --- -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: ```sh $ npm install @turf/square ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-square/package.json b/packages/turf-square/package.json index 4cdbcd830c..069c446539 100644 --- a/packages/turf-square/package.json +++ b/packages/turf-square/package.json @@ -1,6 +1,6 @@ { "name": "@turf/square", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf square module", "author": "Turf Authors", "license": "MIT", @@ -39,20 +39,21 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0" + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2" } } diff --git a/packages/turf-standard-deviational-ellipse/README.md b/packages/turf-standard-deviational-ellipse/README.md index a079f5bf64..b56b3583bf 100644 --- a/packages/turf-standard-deviational-ellipse/README.md +++ b/packages/turf-standard-deviational-ellipse/README.md @@ -25,12 +25,12 @@ doi:{@link [https://doi.org/10.1086/214336|10.1086/214336}][5]. ### Parameters -* `points` **[FeatureCollection][6]<[Point][7]>** GeoJSON points -* `options` **[Object][8]** Optional parameters (optional, default `{}`) +* `points` **[FeatureCollection][1]<[Point][6]>** GeoJSON points +* `options` **[Object][7]** Optional parameters (optional, default `{}`) - * `options.weight` **[string][9]?** the property name used to weight the center - * `options.steps` **[number][10]** number of steps for the polygon (optional, default `64`) - * `options.properties` **[Object][8]** properties to pass to the resulting ellipse (optional, default `{}`) + * `options.weight` **[string][8]?** the property name used to weight the center + * `options.steps` **[number][9]** number of steps for the polygon (optional, default `64`) + * `options.properties` **[Object][7]** properties to pass to the resulting ellipse (optional, default `{}`) ### Examples @@ -43,7 +43,7 @@ var sdEllipse = turf.standardDeviationalEllipse(points); var addToMap = [points, sdEllipse]; ``` -Returns **[Feature][11]<[Polygon][12]>** an elliptical Polygon that includes approximately 1 SD of the dataset within it. +Returns **[Feature][10]<[Polygon][11]>** an elliptical Polygon that includes approximately 1 SD of the dataset within it. [1]: https://tools.ietf.org/html/rfc7946#section-3.3 @@ -55,40 +55,33 @@ Returns **[Feature][11]<[Polygon][12]>** an elliptical Polygon that includes app [5]: https://doi.org/10.1086/214336|10.1086/214336} -[6]: https://tools.ietf.org/html/rfc7946#section-3.3 +[6]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[10]: https://tools.ietf.org/html/rfc7946#section-3.2 -[11]: https://tools.ietf.org/html/rfc7946#section-3.2 +[11]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[12]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - - + --- -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: ```sh $ npm install @turf/standard-deviational-ellipse ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-standard-deviational-ellipse/index.js b/packages/turf-standard-deviational-ellipse/index.js index 42c83f8801..6e0476d840 100644 --- a/packages/turf-standard-deviational-ellipse/index.js +++ b/packages/turf-standard-deviational-ellipse/index.js @@ -128,7 +128,8 @@ function standardDeviationalEllipse(points, options) { percentageWithinEllipse: (100 * coordAll(pointsWithinEllipse).length) / numberOfFeatures, }; - theEllipse.properties.standardDeviationalEllipse = standardDeviationalEllipseProperties; + theEllipse.properties.standardDeviationalEllipse = + standardDeviationalEllipseProperties; return theEllipse; } diff --git a/packages/turf-standard-deviational-ellipse/package.json b/packages/turf-standard-deviational-ellipse/package.json index c388cbc347..d9441e359a 100644 --- a/packages/turf-standard-deviational-ellipse/package.json +++ b/packages/turf-standard-deviational-ellipse/package.json @@ -1,6 +1,6 @@ { "name": "@turf/standard-deviational-ellipse", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf standard-deviational-ellipse module", "author": "Turf Authors", "contributors": [ @@ -42,29 +42,30 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/random": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/random": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/center-mean": "^7.0.0-alpha.0", - "@turf/ellipse": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/points-within-polygon": "^7.0.0-alpha.0" + "@turf/center-mean": "^7.0.0-alpha.2", + "@turf/ellipse": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/points-within-polygon": "^7.0.0-alpha.2" } } diff --git a/packages/turf-tag/README.md b/packages/turf-tag/README.md index 796da6cddd..c8c82ed6b2 100644 --- a/packages/turf-tag/README.md +++ b/packages/turf-tag/README.md @@ -8,10 +8,10 @@ Takes a set of [points][1] and a set of [polygons][2] and/or [multipolygons][3] ### Parameters -* `points` **[FeatureCollection][4]<[Point][5]>** input points -* `polygons` **[FeatureCollection][4]<([Polygon][6] | [MultiPolygon][7])>** input (multi)polygons -* `field` **[string][8]** property in `polygons` to add to joined {} features -* `outField` **[string][8]** property in `points` in which to store joined property from `polygons` +* `points` **[FeatureCollection][4]<[Point][1]>** input points +* `polygons` **[FeatureCollection][4]<([Polygon][2] | [MultiPolygon][3])>** input (multi)polygons +* `field` **[string][5]** property in `polygons` to add to joined {} features +* `outField` **[string][5]** property in `points` in which to store joined property from `polygons` ### Examples @@ -42,7 +42,7 @@ var tagged = turf.tag(points, polygons, 'pop', 'population'); var addToMap = [tagged, polygons] ``` -Returns **[FeatureCollection][4]<[Point][5]>** points with `containingPolyId` property containing values from `polyId` +Returns **[FeatureCollection][4]<[Point][1]>** points with `containingPolyId` property containing values from `polyId` [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -52,34 +52,23 @@ Returns **[FeatureCollection][4]<[Point][5]>** points with `containingPolyId` pr [4]: https://tools.ietf.org/html/rfc7946#section-3.3 -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - -[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String - - + --- -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: ```sh $ npm install @turf/tag ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-tag/package.json b/packages/turf-tag/package.json index 40cc99e91f..8882d90d85 100644 --- a/packages/turf-tag/package.json +++ b/packages/turf-tag/package.json @@ -1,6 +1,6 @@ { "name": "@turf/tag", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf tag module", "author": "Turf Authors", "license": "MIT", @@ -43,23 +43,24 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0" + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2" } } diff --git a/packages/turf-tesselate/README.md b/packages/turf-tesselate/README.md index d8e2ff5646..dd2b056c3e 100644 --- a/packages/turf-tesselate/README.md +++ b/packages/turf-tesselate/README.md @@ -35,26 +35,21 @@ Returns **[FeatureCollection][6]<[Polygon][5]>** a geometrycollection feature [6]: https://tools.ietf.org/html/rfc7946#section-3.3 - + --- -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: ```sh $ npm install @turf/tesselate ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-tesselate/package.json b/packages/turf-tesselate/package.json index 812872fc1c..a6b8990657 100644 --- a/packages/turf-tesselate/package.json +++ b/packages/turf-tesselate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/tesselate", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf tesselate module", "author": "Turf Authors", "contributors": [ @@ -47,20 +47,21 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", "npm-run-all": "*", "rollup": "*", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "earcut": "^2.0.0" } } diff --git a/packages/turf-tin/README.md b/packages/turf-tin/README.md index f2e45cbf58..5ae8f4f70f 100644 --- a/packages/turf-tin/README.md +++ b/packages/turf-tin/README.md @@ -15,8 +15,8 @@ triangle. ### Parameters -* `points` **[FeatureCollection][3]<[Point][4]>** input points -* `z` **[String][5]?** name of the property from which to pull z values +* `points` **[FeatureCollection][3]<[Point][1]>** input points +* `z` **[String][4]?** name of the property from which to pull z values This is optional: if not given, then there will be no extra data added to the derived triangles. ### Examples @@ -39,7 +39,7 @@ for (var i = 0; i < tin.features.length; i++) { } ``` -Returns **[FeatureCollection][3]<[Polygon][6]>** TIN output +Returns **[FeatureCollection][3]<[Polygon][5]>** TIN output [1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 @@ -47,32 +47,25 @@ Returns **[FeatureCollection][3]<[Polygon][6]>** TIN output [3]: https://tools.ietf.org/html/rfc7946#section-3.3 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[5]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - - + --- -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: ```sh $ npm install @turf/tin ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-tin/package.json b/packages/turf-tin/package.json index 842947e4cb..24c00f3c26 100644 --- a/packages/turf-tin/package.json +++ b/packages/turf-tin/package.json @@ -1,6 +1,6 @@ { "name": "@turf/tin", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf tin module", "author": "Turf Authors", "license": "MIT", @@ -26,7 +26,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -37,13 +37,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -51,12 +51,11 @@ "benchmark": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-transform-rotate/README.md b/packages/turf-transform-rotate/README.md index cde8f17603..78a223c429 100644 --- a/packages/turf-transform-rotate/README.md +++ b/packages/turf-transform-rotate/README.md @@ -39,26 +39,21 @@ Returns **[GeoJSON][1]** the rotated GeoJSON feature [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/transform-rotate ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-transform-rotate/package.json b/packages/turf-transform-rotate/package.json index 010aa419fd..8bea109d57 100644 --- a/packages/turf-transform-rotate/package.json +++ b/packages/turf-transform-rotate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/transform-rotate", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf transform-rotate module", "author": "Turf Authors", "contributors": [ @@ -43,30 +43,31 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/rhumb-bearing": "^7.0.0-alpha.0", - "@turf/rhumb-destination": "^7.0.0-alpha.0", - "@turf/rhumb-distance": "^7.0.0-alpha.0" + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/rhumb-bearing": "^7.0.0-alpha.2", + "@turf/rhumb-destination": "^7.0.0-alpha.2", + "@turf/rhumb-distance": "^7.0.0-alpha.2" } } diff --git a/packages/turf-transform-rotate/types.ts b/packages/turf-transform-rotate/types.ts index 2364be7eb9..edc27bcf05 100644 --- a/packages/turf-transform-rotate/types.ts +++ b/packages/turf-transform-rotate/types.ts @@ -30,11 +30,7 @@ rotate(poly, 100, { pivot: pt }); rotate(poly, 100, { pivot: pt.geometry }); rotate(poly.geometry, 100, { pivot: pt.geometry.coordinates }); rotate(featureCollection([poly]), 100, { pivot: pt.geometry }); -rotate( - featureCollection([poly, pt]), - 100, - { pivot: pt } -); +rotate(featureCollection([poly, pt]), 100, { pivot: pt }); rotate(geometryCollection([poly.geometry]).geometry, 100, { pivot: pt.geometry, }); diff --git a/packages/turf-transform-scale/README.md b/packages/turf-transform-scale/README.md index ef224cc627..8578cd2345 100644 --- a/packages/turf-transform-scale/README.md +++ b/packages/turf-transform-scale/README.md @@ -41,26 +41,21 @@ Returns **[GeoJSON][1]** scaled GeoJSON [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/transform-scale ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-transform-scale/package.json b/packages/turf-transform-scale/package.json index a63cb1f983..4f76c6fa53 100644 --- a/packages/turf-transform-scale/package.json +++ b/packages/turf-transform-scale/package.json @@ -1,6 +1,6 @@ { "name": "@turf/transform-scale", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf transform-scale module", "author": "Turf Authors", "contributors": [ @@ -47,34 +47,35 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/hex-grid": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/hex-grid": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/center": "^7.0.0-alpha.0", - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/rhumb-bearing": "^7.0.0-alpha.0", - "@turf/rhumb-destination": "^7.0.0-alpha.0", - "@turf/rhumb-distance": "^7.0.0-alpha.0" + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/center": "^7.0.0-alpha.2", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/rhumb-bearing": "^7.0.0-alpha.2", + "@turf/rhumb-destination": "^7.0.0-alpha.2", + "@turf/rhumb-distance": "^7.0.0-alpha.2" } } diff --git a/packages/turf-transform-translate/README.md b/packages/turf-transform-translate/README.md index aa59e4a8a7..ece861a910 100644 --- a/packages/turf-transform-translate/README.md +++ b/packages/turf-transform-translate/README.md @@ -41,26 +41,21 @@ Returns **[GeoJSON][1]** the translated GeoJSON object [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/transform-translate ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-transform-translate/package.json b/packages/turf-transform-translate/package.json index c9bcf6840b..8ba1ceb07f 100644 --- a/packages/turf-transform-translate/package.json +++ b/packages/turf-transform-translate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/transform-translate", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf transform-translate module", "author": "Turf Authors", "contributors": [ @@ -45,27 +45,28 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/truncate": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/clone": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/rhumb-destination": "^7.0.0-alpha.0" + "@turf/clone": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/rhumb-destination": "^7.0.0-alpha.2" } } diff --git a/packages/turf-triangle-grid/README.md b/packages/turf-triangle-grid/README.md index a6f43b585c..10dcd092d5 100644 --- a/packages/turf-triangle-grid/README.md +++ b/packages/turf-triangle-grid/README.md @@ -13,7 +13,7 @@ Takes a bounding box and a cell depth and returns a set of triangular [polygons] * `options` **[Object][4]** Optional parameters (optional, default `{}`) * `options.units` **[string][5]** used in calculating cellSide, can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) - * `options.mask` **[Feature][6]<[Polygon][7]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it + * `options.mask` **[Feature][6]<[Polygon][1]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it * `options.properties` **[Object][4]** passed to each point of the grid (optional, default `{}`) ### Examples @@ -29,7 +29,7 @@ var triangleGrid = turf.triangleGrid(bbox, cellSide, options); var addToMap = [triangleGrid]; ``` -Returns **[FeatureCollection][8]<[Polygon][7]>** grid of polygons +Returns **[FeatureCollection][7]<[Polygon][1]>** grid of polygons [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -43,30 +43,23 @@ Returns **[FeatureCollection][8]<[Polygon][7]>** grid of polygons [6]: https://tools.ietf.org/html/rfc7946#section-3.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[7]: https://tools.ietf.org/html/rfc7946#section-3.3 -[8]: https://tools.ietf.org/html/rfc7946#section-3.3 - - + --- -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: ```sh $ npm install @turf/triangle-grid ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-triangle-grid/bench.js b/packages/turf-triangle-grid/bench.js index fc58b7f3f4..8bccbc3876 100644 --- a/packages/turf-triangle-grid/bench.js +++ b/packages/turf-triangle-grid/bench.js @@ -1,6 +1,7 @@ import Benchmark from "benchmark"; import grid from "./dist/js/index.js"; +// prettier-ignore var bbox1 = [ -96.6357421875, 31.12819929911196, diff --git a/packages/turf-triangle-grid/index.ts b/packages/turf-triangle-grid/index.ts index 364683a028..7951b79fad 100644 --- a/packages/turf-triangle-grid/index.ts +++ b/packages/turf-triangle-grid/index.ts @@ -30,7 +30,7 @@ import { polygon, featureCollection, Units } from "@turf/helpers"; * //addToMap * var addToMap = [triangleGrid]; */ -function triangleGrid

( +function triangleGrid

( bbox: BBox, cellSide: number, options: { diff --git a/packages/turf-triangle-grid/package.json b/packages/turf-triangle-grid/package.json index 0176a6e681..6a1a142627 100644 --- a/packages/turf-triangle-grid/package.json +++ b/packages/turf-triangle-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/triangle-grid", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf triangle-grid module", "author": "Turf Authors", "license": "MIT", @@ -29,7 +29,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -40,32 +40,31 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", "@types/tape": "*", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/distance": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/intersect": "^7.0.0-alpha.0", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/intersect": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-triangle-grid/types.ts b/packages/turf-triangle-grid/types.ts index fbcdbc4869..e5ac8481de 100644 --- a/packages/turf-triangle-grid/types.ts +++ b/packages/turf-triangle-grid/types.ts @@ -1,6 +1,7 @@ import { BBox } from "geojson"; import triangleGrid from "./dist/js/index"; +// prettier-ignore const bbox: BBox = [ -96.6357421875, 31.12819929911196, diff --git a/packages/turf-truncate/README.md b/packages/turf-truncate/README.md index a5d56b5c10..592c6d4bbe 100644 --- a/packages/turf-truncate/README.md +++ b/packages/turf-truncate/README.md @@ -41,26 +41,21 @@ Returns **[GeoJSON][1]** layer with truncated geometry [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean - + --- -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: ```sh $ npm install @turf/truncate ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-truncate/package.json b/packages/turf-truncate/package.json index 50876d713f..ae17bf4241 100644 --- a/packages/turf-truncate/package.json +++ b/packages/turf-truncate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/truncate", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf truncate module", "author": "Turf Authors", "contributors": [ @@ -30,7 +30,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -41,13 +41,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -56,14 +56,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "tslib": "^2.3.0" } } diff --git a/packages/turf-union/README.md b/packages/turf-union/README.md index 1433de0ae7..42f68d4848 100644 --- a/packages/turf-union/README.md +++ b/packages/turf-union/README.md @@ -8,10 +8,10 @@ Takes input [(Multi)Polygon(s)][1] and returns a combined polygon. If the input ### Parameters -* `polygon1` **[Feature][3]<([Polygon][4] | [MultiPolygon][5])>** input Polygon features -* `options` **[Object][6]** Optional Parameters (optional, default `{}`) +* `polygon1` **[Feature][3]<([Polygon][1] | [MultiPolygon][2])>** input Polygon features +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.properties` **[Object][6]** Translate Properties to output Feature (optional, default `{}`) + * `options.properties` **[Object][4]** Translate Properties to output Feature (optional, default `{}`) ### Examples @@ -37,7 +37,7 @@ var union = turf.union(turf.featureCollection([poly1, poly2])); var addToMap = [poly1, poly2, union]; ``` -Returns **[Feature][3]<([Polygon][4] | [MultiPolygon][5])>** a combined [Polygon][1] or [MultiPolygon][2] feature, or null if the inputs are empty +Returns **[Feature][3]<([Polygon][1] | [MultiPolygon][2])>** a combined [Polygon][1] or [MultiPolygon][2] feature, or null if the inputs are empty [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 @@ -45,32 +45,23 @@ Returns **[Feature][3]<([Polygon][4] | [MultiPolygon][5])>** a combined [Polygon [3]: https://tools.ietf.org/html/rfc7946#section-3.2 -[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[5]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object - - + --- -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: ```sh $ npm install @turf/union ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-union/index.ts b/packages/turf-union/index.ts index 0b044d451b..017c2ba264 100644 --- a/packages/turf-union/index.ts +++ b/packages/turf-union/index.ts @@ -38,7 +38,7 @@ import { * //addToMap * var addToMap = [poly1, poly2, union]; */ -function union

( +function union

( features: FeatureCollection, options: { properties?: P } = {} ): Feature | null { diff --git a/packages/turf-union/package.json b/packages/turf-union/package.json index dab95723fb..16482bbc9f 100644 --- a/packages/turf-union/package.json +++ b/packages/turf-union/package.json @@ -1,6 +1,6 @@ { "name": "@turf/union", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf union module", "author": "Turf Authors", "license": "MIT", @@ -25,7 +25,7 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "types": "./dist/js/index.d.ts", "import": "./dist/es/index.js", "require": "./dist/js/index.js" } @@ -36,13 +36,13 @@ "dist" ], "scripts": { - "bench": "ts-node bench.js", - "build": "npm-run-all build:*", + "bench": "tsx bench.js", + "build": "npm-run-all --npm-path npm build:*", "build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", "build:js": "tsc", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "ts-node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { @@ -52,14 +52,13 @@ "load-json-file": "*", "npm-run-all": "*", "tape": "*", - "ts-node": "*", - "tslint": "*", + "tsx": "*", "typescript": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "polygon-clipping": "^0.15.3", "tslib": "^2.3.0" } diff --git a/packages/turf-unkink-polygon/README.md b/packages/turf-unkink-polygon/README.md index ae5152d66d..f3f3a6c121 100644 --- a/packages/turf-unkink-polygon/README.md +++ b/packages/turf-unkink-polygon/README.md @@ -34,26 +34,21 @@ Returns **[FeatureCollection][2]<[Polygon][4]>** Unkinked polygons [5]: https://tools.ietf.org/html/rfc7946#section-3.1.7 - + --- -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: ```sh $ npm install @turf/unkink-polygon ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-unkink-polygon/lib/simplepolygon.js b/packages/turf-unkink-polygon/lib/simplepolygon.js index 17b9f26ed1..1036d93666 100644 --- a/packages/turf-unkink-polygon/lib/simplepolygon.js +++ b/packages/turf-unkink-polygon/lib/simplepolygon.js @@ -44,7 +44,9 @@ export default function (feature) { if (!equalArrays(ring[0], ring[ring.length - 1])) { ring.push(ring[0]); // Close input ring if it is not } - vertices.push.apply(vertices, ring.slice(0, ring.length - 1)); + for (var j = 0; j < ring.length - 1; j++) { + vertices.push(ring[j]); + } } if (!isUnique(vertices)) throw new Error( diff --git a/packages/turf-unkink-polygon/package.json b/packages/turf-unkink-polygon/package.json index f84447ee42..d079903387 100644 --- a/packages/turf-unkink-polygon/package.json +++ b/packages/turf-unkink-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/unkink-polygon", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf unkink-polygon module", "author": "Turf Authors", "license": "MIT", @@ -40,27 +40,28 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js", + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js", "test:types": "tsc --esModuleInterop --noEmit --strict types.ts" }, "devDependencies": { - "@turf/kinks": "^7.0.0-alpha.0", + "@turf/kinks": "^7.0.0-alpha.2", "benchmark": "*", "load-json-file": "*", "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/area": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", + "@turf/area": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", "rbush": "^3.0.1" } } diff --git a/packages/turf-unkink-polygon/test.js b/packages/turf-unkink-polygon/test.js index f0ec7f3811..22d87dc584 100644 --- a/packages/turf-unkink-polygon/test.js +++ b/packages/turf-unkink-polygon/test.js @@ -36,6 +36,28 @@ test("unkink-polygon", (t) => { t.end(); }); +test("issue #2504", (t) => { + // fill coords with a circle with an arbitrary number of points + const coords = []; + const points = 1000000; + for (let i = 0; i < points; i++) { + const theta = (i / points) * (2 * Math.PI); + coords.push([Math.sin(theta), Math.cos(theta)]); + } + coords.push(coords[0]); + + try { + unkinkPolygon({ type: "Polygon", coordinates: [coords] }); + t.pass( + "large number of coordinates in a single ring should not cause an error" + ); + } catch (e) { + t.fail(e); + } + + t.end(); +}); + test("unkink-polygon -- throws", (t) => { var array = [1, 2, 3, 4, 5]; for (const value in array) { diff --git a/packages/turf-voronoi/README.md b/packages/turf-voronoi/README.md index e8d5298030..f1d18d2a84 100644 --- a/packages/turf-voronoi/README.md +++ b/packages/turf-voronoi/README.md @@ -43,26 +43,21 @@ Returns **[FeatureCollection][1]<[Polygon][6]>** a set of polygons, one per inpu [6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 - + --- -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: ```sh $ npm install @turf/voronoi ``` -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: ```sh $ npm install @turf/turf diff --git a/packages/turf-voronoi/package.json b/packages/turf-voronoi/package.json index c1aebc1b90..e025c37302 100644 --- a/packages/turf-voronoi/package.json +++ b/packages/turf-voronoi/package.json @@ -1,6 +1,6 @@ { "name": "@turf/voronoi", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "turf voronoi module", "author": "Turf Authors", "contributors": [ @@ -46,11 +46,11 @@ "index.d.ts" ], "scripts": { - "bench": "node -r esm bench.js", + "bench": "tsx bench.js", "build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", - "docs": "node ../../scripts/generate-readmes", - "test": "npm-run-all test:*", - "test:tape": "node -r esm test.js" + "docs": "tsx ../../scripts/generate-readmes.ts", + "test": "npm-run-all --npm-path npm test:*", + "test:tape": "tsx test.js" }, "devDependencies": { "benchmark": "*", @@ -59,11 +59,12 @@ "npm-run-all": "*", "rollup": "*", "tape": "*", + "tsx": "*", "write-json-file": "*" }, "dependencies": { - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", "d3-voronoi": "1.1.2" } } diff --git a/packages/turf/package.json b/packages/turf/package.json index f86eea51cf..7c3952293c 100644 --- a/packages/turf/package.json +++ b/packages/turf/package.json @@ -1,6 +1,6 @@ { "name": "@turf/turf", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.2", "description": "a JavaScript library for performing geospatial operations with GeoJSON", "author": "Turf Authors", "license": "MIT", @@ -64,8 +64,8 @@ "scripts": { "build": "rollup -c rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json", "last-checks": "npm-run-all last-checks:testjs last-checks:example", - "last-checks:example": "node test.example.js", - "last-checks:testjs": "node test.js", + "last-checks:example": "tsx test.example.js", + "last-checks:testjs": "tsx test.js", "test": "echo '@turf/turf tests run in the last-checks step'" }, "devDependencies": { @@ -79,114 +79,115 @@ "glob": "*", "rollup": "^2.34.2", "rollup-plugin-terser": "^7.0.2", - "tape": "*" + "tape": "*", + "tsx": "*" }, "dependencies": { - "@turf/along": "^7.0.0-alpha.0", - "@turf/angle": "^7.0.0-alpha.0", - "@turf/area": "^7.0.0-alpha.0", - "@turf/bbox": "^7.0.0-alpha.0", - "@turf/bbox-clip": "^7.0.0-alpha.0", - "@turf/bbox-polygon": "^7.0.0-alpha.0", - "@turf/bearing": "^7.0.0-alpha.0", - "@turf/bezier-spline": "^7.0.0-alpha.0", - "@turf/boolean-clockwise": "^7.0.0-alpha.0", - "@turf/boolean-contains": "^7.0.0-alpha.0", - "@turf/boolean-crosses": "^7.0.0-alpha.0", - "@turf/boolean-disjoint": "^7.0.0-alpha.0", - "@turf/boolean-equal": "^7.0.0-alpha.0", - "@turf/boolean-intersects": "^7.0.0-alpha.0", - "@turf/boolean-overlap": "^7.0.0-alpha.0", - "@turf/boolean-parallel": "^7.0.0-alpha.0", - "@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", - "@turf/boolean-point-on-line": "^7.0.0-alpha.0", - "@turf/boolean-touches": "^7.0.0-alpha.0", - "@turf/boolean-within": "^7.0.0-alpha.0", - "@turf/buffer": "^7.0.0-alpha.0", - "@turf/center": "^7.0.0-alpha.0", - "@turf/center-mean": "^7.0.0-alpha.0", - "@turf/center-median": "^7.0.0-alpha.0", - "@turf/center-of-mass": "^7.0.0-alpha.0", - "@turf/centroid": "^7.0.0-alpha.0", - "@turf/circle": "^7.0.0-alpha.0", - "@turf/clean-coords": "^7.0.0-alpha.0", - "@turf/clone": "^7.0.0-alpha.0", - "@turf/clusters": "^7.0.0-alpha.0", - "@turf/clusters-dbscan": "^7.0.0-alpha.0", - "@turf/clusters-kmeans": "^7.0.0-alpha.0", - "@turf/collect": "^7.0.0-alpha.0", - "@turf/combine": "^7.0.0-alpha.0", - "@turf/concave": "^7.0.0-alpha.0", - "@turf/convex": "^7.0.0-alpha.0", - "@turf/destination": "^7.0.0-alpha.0", - "@turf/difference": "^7.0.0-alpha.0", - "@turf/dissolve": "^7.0.0-alpha.0", - "@turf/distance": "^7.0.0-alpha.0", - "@turf/distance-weight": "^7.0.0-alpha.0", - "@turf/ellipse": "^7.0.0-alpha.0", - "@turf/envelope": "^7.0.0-alpha.0", - "@turf/explode": "^7.0.0-alpha.0", - "@turf/flatten": "^7.0.0-alpha.0", - "@turf/flip": "^7.0.0-alpha.0", - "@turf/great-circle": "^7.0.0-alpha.0", - "@turf/helpers": "^7.0.0-alpha.0", - "@turf/hex-grid": "^7.0.0-alpha.0", - "@turf/interpolate": "^7.0.0-alpha.0", - "@turf/intersect": "^7.0.0-alpha.0", - "@turf/invariant": "^7.0.0-alpha.0", - "@turf/isobands": "^7.0.0-alpha.0", - "@turf/isolines": "^7.0.0-alpha.0", - "@turf/kinks": "^7.0.0-alpha.0", - "@turf/length": "^7.0.0-alpha.0", - "@turf/line-arc": "^7.0.0-alpha.0", - "@turf/line-chunk": "^7.0.0-alpha.0", - "@turf/line-intersect": "^7.0.0-alpha.0", - "@turf/line-offset": "^7.0.0-alpha.0", - "@turf/line-overlap": "^7.0.0-alpha.0", - "@turf/line-segment": "^7.0.0-alpha.0", - "@turf/line-slice": "^7.0.0-alpha.0", - "@turf/line-slice-along": "^7.0.0-alpha.0", - "@turf/line-split": "^7.0.0-alpha.0", - "@turf/line-to-polygon": "^7.0.0-alpha.0", - "@turf/mask": "^7.0.0-alpha.0", - "@turf/meta": "^7.0.0-alpha.0", - "@turf/midpoint": "^7.0.0-alpha.0", - "@turf/moran-index": "^7.0.0-alpha.0", - "@turf/nearest-point": "^7.0.0-alpha.0", - "@turf/nearest-point-on-line": "^7.0.0-alpha.0", - "@turf/nearest-point-to-line": "^7.0.0-alpha.0", - "@turf/planepoint": "^7.0.0-alpha.0", - "@turf/point-grid": "^7.0.0-alpha.0", - "@turf/point-on-feature": "^7.0.0-alpha.0", - "@turf/point-to-line-distance": "^7.0.0-alpha.0", - "@turf/points-within-polygon": "^7.0.0-alpha.0", - "@turf/polygon-smooth": "^7.0.0-alpha.0", - "@turf/polygon-tangents": "^7.0.0-alpha.0", - "@turf/polygon-to-line": "^7.0.0-alpha.0", - "@turf/polygonize": "^7.0.0-alpha.0", - "@turf/projection": "^7.0.0-alpha.0", - "@turf/random": "^7.0.0-alpha.0", - "@turf/rewind": "^7.0.0-alpha.0", - "@turf/rhumb-bearing": "^7.0.0-alpha.0", - "@turf/rhumb-destination": "^7.0.0-alpha.0", - "@turf/rhumb-distance": "^7.0.0-alpha.0", - "@turf/sample": "^7.0.0-alpha.0", - "@turf/sector": "^7.0.0-alpha.0", - "@turf/shortest-path": "^7.0.0-alpha.0", - "@turf/simplify": "^7.0.0-alpha.0", - "@turf/square": "^7.0.0-alpha.0", - "@turf/square-grid": "^7.0.0-alpha.0", - "@turf/standard-deviational-ellipse": "^7.0.0-alpha.0", - "@turf/tag": "^7.0.0-alpha.0", - "@turf/tesselate": "^7.0.0-alpha.0", - "@turf/tin": "^7.0.0-alpha.0", - "@turf/transform-rotate": "^7.0.0-alpha.0", - "@turf/transform-scale": "^7.0.0-alpha.0", - "@turf/transform-translate": "^7.0.0-alpha.0", - "@turf/triangle-grid": "^7.0.0-alpha.0", - "@turf/truncate": "^7.0.0-alpha.0", - "@turf/union": "^7.0.0-alpha.0", - "@turf/unkink-polygon": "^7.0.0-alpha.0", - "@turf/voronoi": "^7.0.0-alpha.0" + "@turf/along": "^7.0.0-alpha.2", + "@turf/angle": "^7.0.0-alpha.2", + "@turf/area": "^7.0.0-alpha.2", + "@turf/bbox": "^7.0.0-alpha.2", + "@turf/bbox-clip": "^7.0.0-alpha.2", + "@turf/bbox-polygon": "^7.0.0-alpha.2", + "@turf/bearing": "^7.0.0-alpha.2", + "@turf/bezier-spline": "^7.0.0-alpha.2", + "@turf/boolean-clockwise": "^7.0.0-alpha.2", + "@turf/boolean-contains": "^7.0.0-alpha.2", + "@turf/boolean-crosses": "^7.0.0-alpha.2", + "@turf/boolean-disjoint": "^7.0.0-alpha.2", + "@turf/boolean-equal": "^7.0.0-alpha.2", + "@turf/boolean-intersects": "^7.0.0-alpha.2", + "@turf/boolean-overlap": "^7.0.0-alpha.2", + "@turf/boolean-parallel": "^7.0.0-alpha.2", + "@turf/boolean-point-in-polygon": "^7.0.0-alpha.2", + "@turf/boolean-point-on-line": "^7.0.0-alpha.2", + "@turf/boolean-touches": "^7.0.0-alpha.2", + "@turf/boolean-within": "^7.0.0-alpha.2", + "@turf/buffer": "^7.0.0-alpha.2", + "@turf/center": "^7.0.0-alpha.2", + "@turf/center-mean": "^7.0.0-alpha.2", + "@turf/center-median": "^7.0.0-alpha.2", + "@turf/center-of-mass": "^7.0.0-alpha.2", + "@turf/centroid": "^7.0.0-alpha.2", + "@turf/circle": "^7.0.0-alpha.2", + "@turf/clean-coords": "^7.0.0-alpha.2", + "@turf/clone": "^7.0.0-alpha.2", + "@turf/clusters": "^7.0.0-alpha.2", + "@turf/clusters-dbscan": "^7.0.0-alpha.2", + "@turf/clusters-kmeans": "^7.0.0-alpha.2", + "@turf/collect": "^7.0.0-alpha.2", + "@turf/combine": "^7.0.0-alpha.2", + "@turf/concave": "^7.0.0-alpha.2", + "@turf/convex": "^7.0.0-alpha.2", + "@turf/destination": "^7.0.0-alpha.2", + "@turf/difference": "^7.0.0-alpha.2", + "@turf/dissolve": "^7.0.0-alpha.2", + "@turf/distance": "^7.0.0-alpha.2", + "@turf/distance-weight": "^7.0.0-alpha.2", + "@turf/ellipse": "^7.0.0-alpha.2", + "@turf/envelope": "^7.0.0-alpha.2", + "@turf/explode": "^7.0.0-alpha.2", + "@turf/flatten": "^7.0.0-alpha.2", + "@turf/flip": "^7.0.0-alpha.2", + "@turf/great-circle": "^7.0.0-alpha.2", + "@turf/helpers": "^7.0.0-alpha.2", + "@turf/hex-grid": "^7.0.0-alpha.2", + "@turf/interpolate": "^7.0.0-alpha.2", + "@turf/intersect": "^7.0.0-alpha.2", + "@turf/invariant": "^7.0.0-alpha.2", + "@turf/isobands": "^7.0.0-alpha.2", + "@turf/isolines": "^7.0.0-alpha.2", + "@turf/kinks": "^7.0.0-alpha.2", + "@turf/length": "^7.0.0-alpha.2", + "@turf/line-arc": "^7.0.0-alpha.2", + "@turf/line-chunk": "^7.0.0-alpha.2", + "@turf/line-intersect": "^7.0.0-alpha.2", + "@turf/line-offset": "^7.0.0-alpha.2", + "@turf/line-overlap": "^7.0.0-alpha.2", + "@turf/line-segment": "^7.0.0-alpha.2", + "@turf/line-slice": "^7.0.0-alpha.2", + "@turf/line-slice-along": "^7.0.0-alpha.2", + "@turf/line-split": "^7.0.0-alpha.2", + "@turf/line-to-polygon": "^7.0.0-alpha.2", + "@turf/mask": "^7.0.0-alpha.2", + "@turf/meta": "^7.0.0-alpha.2", + "@turf/midpoint": "^7.0.0-alpha.2", + "@turf/moran-index": "^7.0.0-alpha.2", + "@turf/nearest-point": "^7.0.0-alpha.2", + "@turf/nearest-point-on-line": "^7.0.0-alpha.2", + "@turf/nearest-point-to-line": "^7.0.0-alpha.2", + "@turf/planepoint": "^7.0.0-alpha.2", + "@turf/point-grid": "^7.0.0-alpha.2", + "@turf/point-on-feature": "^7.0.0-alpha.2", + "@turf/point-to-line-distance": "^7.0.0-alpha.2", + "@turf/points-within-polygon": "^7.0.0-alpha.2", + "@turf/polygon-smooth": "^7.0.0-alpha.2", + "@turf/polygon-tangents": "^7.0.0-alpha.2", + "@turf/polygon-to-line": "^7.0.0-alpha.2", + "@turf/polygonize": "^7.0.0-alpha.2", + "@turf/projection": "^7.0.0-alpha.2", + "@turf/random": "^7.0.0-alpha.2", + "@turf/rewind": "^7.0.0-alpha.2", + "@turf/rhumb-bearing": "^7.0.0-alpha.2", + "@turf/rhumb-destination": "^7.0.0-alpha.2", + "@turf/rhumb-distance": "^7.0.0-alpha.2", + "@turf/sample": "^7.0.0-alpha.2", + "@turf/sector": "^7.0.0-alpha.2", + "@turf/shortest-path": "^7.0.0-alpha.2", + "@turf/simplify": "^7.0.0-alpha.2", + "@turf/square": "^7.0.0-alpha.2", + "@turf/square-grid": "^7.0.0-alpha.2", + "@turf/standard-deviational-ellipse": "^7.0.0-alpha.2", + "@turf/tag": "^7.0.0-alpha.2", + "@turf/tesselate": "^7.0.0-alpha.2", + "@turf/tin": "^7.0.0-alpha.2", + "@turf/transform-rotate": "^7.0.0-alpha.2", + "@turf/transform-scale": "^7.0.0-alpha.2", + "@turf/transform-translate": "^7.0.0-alpha.2", + "@turf/triangle-grid": "^7.0.0-alpha.2", + "@turf/truncate": "^7.0.0-alpha.2", + "@turf/union": "^7.0.0-alpha.2", + "@turf/unkink-polygon": "^7.0.0-alpha.2", + "@turf/voronoi": "^7.0.0-alpha.2" } } diff --git a/packages/turf/test.js b/packages/turf/test.js index 2395237fef..23931fc235 100644 --- a/packages/turf/test.js +++ b/packages/turf/test.js @@ -128,7 +128,7 @@ test("turf -- MIT license", (t) => { const { license } = pckg; if (license !== "MIT") t.fail(`${name} (license) must be "MIT"`); if (fs.readFileSync(path.join(dir, "LICENSE"), "utf8") !== text) - t.fail(`${name} (LICENSE) is different from @turf/turf`); + t.fail(`${name} (LICENSE) content is different from @turf/turf`); } t.end(); }); diff --git a/scripts/generate-readmes b/scripts/generate-readmes deleted file mode 100755 index 3e18bdc4cc..0000000000 --- a/scripts/generate-readmes +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env node - -const fs = require("fs-extra"); -const glob = require("glob"); -const path = require("path"); -const load = require("load-json-file"); -const documentation = require("documentation"); -const yaml = require("yamljs"); - -/** - * When firing `npm run docs`: - * - inside a module, only the docs of that module will be generated - * - outside or at the root level it will generate docs for all modules - */ -const currentFolder = process.cwd().split(path.sep).pop(); -const packages = currentFolder.includes("turf-") - ? [path.join(process.cwd(), "package.json")] - : glob.sync(path.join(__dirname, "..", "packages", "turf-*", "package.json")); - -// Template for README Markdown -const postfix = fs.readFileSync(path.join(__dirname, "postfix.md"), "utf8"); - -const paths = yaml.parse( - fs.readFileSync(path.join(__dirname, "..", "documentation.yml"), "utf8") -).paths; - -packages.forEach((packagePath) => { - const directory = path.parse(packagePath).dir; - let indexPath = path.join(directory, "index.js"); - const pckg = load.sync(packagePath); - const name = pckg.name; - const diagrams = glob - .sync(path.join(directory, "diagrams", "*")) - .filter(isImage); - - // some of the packages are typescript instead - if (!fs.existsSync(indexPath)) { - indexPath = path.join(directory, "index.ts"); - } - - // Build Documentation - documentation - .build(indexPath, { shallow: true }) - .then((res) => { - if (res === undefined) return console.warning(packagePath); - console.log("Building Docs: " + name); - - // Format Markdown - documentation.formats - .md(res, { paths }) - .then((markdown) => { - markdown = `# ${name}\n\n${markdown}${postfix.replace( - /{module}/, - name - )}`; - if (diagrams.length) - markdown += "\n\n### Diagrams\n\n" + diagramToMarkdown(diagrams); - fs.writeFileSync(path.join(directory, "README.md"), markdown); - }) - .catch((error) => console.warning(error)); - }) - .catch((error) => console.warning(error)); -}); - -function isImage(image) { - return [".gif", ".jpg", ".png"].indexOf(path.parse(image).ext) !== -1; -} - -function diagramToMarkdown(diagrams) { - return diagrams - .map((image) => { - const { name, base } = path.parse(image); - return `![${name}](diagrams/${base})`; - }) - .join("\n"); -} diff --git a/scripts/generate-readmes.ts b/scripts/generate-readmes.ts new file mode 100755 index 0000000000..0ca7e98e12 --- /dev/null +++ b/scripts/generate-readmes.ts @@ -0,0 +1,83 @@ +#!/usr/bin/env node + +const fs = require("fs-extra"); +const glob = require("glob"); +const path = require("path"); +const load = require("load-json-file"); +const yaml = require("yamljs"); + +(async () => { + // documentation v14 has moved to ESM so need to import as if async, and wrap + // in an IIFE as top level async not allowed. + const documentation = await import("documentation"); + + /** + * When firing `npm run docs`: + * - inside a module, only the docs of that module will be generated + * - outside or at the root level it will generate docs for all modules + */ + const currentFolder = process.cwd().split(path.sep).pop() as string; + const packages = currentFolder.includes("packages/turf-") + ? [path.join(process.cwd(), "package.json")] + : glob.sync( + path.join(__dirname, "..", "packages", "turf-*", "package.json") + ); + + // Template for README Markdown + const postfix = fs.readFileSync(path.join(__dirname, "postfix.md"), "utf8"); + + const paths = yaml.parse( + fs.readFileSync(path.join(__dirname, "..", "documentation.yml"), "utf8") + ).paths; + + packages.forEach((packagePath) => { + const directory = path.parse(packagePath).dir; + let indexPath = path.join(directory, "index.js"); + const pckg = load.sync(packagePath); + const name = pckg.name; + const diagrams = glob + .sync(path.join(directory, "diagrams", "*")) + .filter(isImage); + + // some of the packages are typescript instead + if (!fs.existsSync(indexPath)) { + indexPath = path.join(directory, "index.ts"); + } + + // Build Documentation + documentation + .build(indexPath, { shallow: true }) + .then((res) => { + if (res === undefined) return console.warn(packagePath); + console.log("Building Docs: " + name); + + // Format Markdown + documentation.formats + .md(res, { paths }) + .then((markdown) => { + markdown = `# ${name}\n\n${markdown}${postfix.replace( + /{module}/, + name + )}`; + if (diagrams.length) + markdown += "\n\n### Diagrams\n\n" + diagramToMarkdown(diagrams); + fs.writeFileSync(path.join(directory, "README.md"), markdown); + }) + .catch((error) => console.warn(error)); + }) + .catch((error) => console.warn(error)); + }); +})(); + +function isImage(image) { + return [".gif", ".jpg", ".png"].indexOf(path.parse(image).ext) !== -1; +} + +function diagramToMarkdown(diagrams) { + return diagrams + .map((image) => { + const { name, base } = path.parse(image); + return `![${name}](diagrams/${base})`; + }) + .join("\n"); +} diff --git a/scripts/postfix.md b/scripts/postfix.md index 1a12decd20..6e136aa5a0 100644 --- a/scripts/postfix.md +++ b/scripts/postfix.md @@ -1,24 +1,19 @@ - + --- -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: ```sh $ npm install {module} ``` -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: ```sh $ npm install @turf/turf diff --git a/tsconfig.shared.json b/tsconfig.shared.json index 8d18ac70d3..cb7546bf3e 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "strict": true, "moduleResolution": "node", - "importHelpers": true + "importHelpers": true, + "skipLibCheck": true } } diff --git a/yarn.lock b/yarn.lock index 0b51ddd2c2..59bc2983e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,19 @@ # yarn lockfile v1 +"@aashutoshrathi/word-wrap@^1.2.3": + version "1.2.6" + resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" + integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== + +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" @@ -16,11 +29,24 @@ dependencies: "@babel/highlight" "^7.16.7" +"@babel/code-frame@^7.22.13": + version "7.22.13" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" + integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== + dependencies: + "@babel/highlight" "^7.22.13" + chalk "^2.4.2" + "@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.4", "@babel/compat-data@^7.16.8": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.16.8.tgz#31560f9f29fdf1868de8cb55049538a1b9732a60" integrity sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q== +"@babel/compat-data@^7.22.9": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.20.tgz#8df6e96661209623f1975d66c35ffca66f3306d0" + integrity sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw== + "@babel/core@7.12.3": version "7.12.3" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.3.tgz#1b436884e1e3bff6fb1328dc02b208759de92ad8" @@ -64,6 +90,27 @@ semver "^6.3.0" source-map "^0.5.0" +"@babel/core@^7.18.10": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.0.tgz#f8259ae0e52a123eb40f552551e647b506a94d83" + integrity sha512-97z/ju/Jy1rZmDxybphrBuI+jtJjFVoz7Mr9yUQVVVi+DNZE333uFQeMOqcCIy1x3WYBIbWftUSLmbNXNT7qFQ== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.23.0" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-module-transforms" "^7.23.0" + "@babel/helpers" "^7.23.0" + "@babel/parser" "^7.23.0" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.0" + "@babel/types" "^7.23.0" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + "@babel/generator@7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.1.tgz#0d70be32bdaa03d7c51c8597dda76e0df1f15468" @@ -73,7 +120,7 @@ jsesc "^2.5.1" source-map "^0.5.0" -"@babel/generator@^7.12.1", "@babel/generator@^7.14.5": +"@babel/generator@^7.12.1": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.5.tgz#848d7b9f031caca9d0cd0af01b063f226f52d785" integrity sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA== @@ -82,7 +129,7 @@ jsesc "^2.5.1" source-map "^0.5.0" -"@babel/generator@^7.16.7", "@babel/generator@^7.16.8": +"@babel/generator@^7.16.7": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.8.tgz#359d44d966b8cd059d543250ce79596f792f2ebe" integrity sha512-1ojZwE9+lOXzcWdWmO6TbUzDfqLD39CmEhN8+2cX9XkDo5yW1OpgfejfliysR2AWLpMamTiOiAp/mtroaymhpw== @@ -91,6 +138,16 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.18.10", "@babel/generator@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420" + integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g== + dependencies: + "@babel/types" "^7.23.0" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz#bb2339a7534a9c128e3102024c60760a3a7f3862" @@ -116,6 +173,17 @@ browserslist "^4.17.5" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52" + integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw== + dependencies: + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.15" + browserslist "^4.21.9" + lru-cache "^5.1.1" + semver "^6.3.1" + "@babel/helper-create-class-features-plugin@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.7.tgz#9c5b34b53a01f2097daf10678d65135c1b9f84ba" @@ -158,6 +226,11 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-environment-visitor@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== + "@babel/helper-explode-assignable-expression@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz#12a6d8522fdd834f194e868af6354e8650242b7a" @@ -165,15 +238,6 @@ dependencies: "@babel/types" "^7.16.7" -"@babel/helper-function-name@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz#89e2c474972f15d8e233b52ee8c480e2cfcd50c4" - integrity sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ== - dependencies: - "@babel/helper-get-function-arity" "^7.14.5" - "@babel/template" "^7.14.5" - "@babel/types" "^7.14.5" - "@babel/helper-function-name@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz#f1ec51551fb1c8956bc8dd95f38523b6cf375f8f" @@ -183,12 +247,13 @@ "@babel/template" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/helper-get-function-arity@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815" - integrity sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg== +"@babel/helper-function-name@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" + integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== dependencies: - "@babel/types" "^7.14.5" + "@babel/template" "^7.22.15" + "@babel/types" "^7.23.0" "@babel/helper-get-function-arity@^7.16.7": version "7.16.7" @@ -197,13 +262,6 @@ dependencies: "@babel/types" "^7.16.7" -"@babel/helper-hoist-variables@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz#e0dd27c33a78e577d7c8884916a3e7ef1f7c7f8d" - integrity sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ== - dependencies: - "@babel/types" "^7.14.5" - "@babel/helper-hoist-variables@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz#86bcb19a77a509c7b77d0e22323ef588fa58c246" @@ -211,6 +269,13 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-member-expression-to-functions@^7.14.5": version "7.14.7" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.7.tgz#97e56244beb94211fe277bd818e3a329c66f7970" @@ -239,6 +304,13 @@ dependencies: "@babel/types" "^7.14.5" +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + dependencies: + "@babel/types" "^7.22.15" + "@babel/helper-module-transforms@^7.12.1": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz#7de42f10d789b423eb902ebd24031ca77cb1e10e" @@ -267,6 +339,17 @@ "@babel/traverse" "^7.16.7" "@babel/types" "^7.16.7" +"@babel/helper-module-transforms@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz#3ec246457f6c842c0aee62a01f60739906f7047e" + integrity sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.20" + "@babel/helper-optimise-call-expression@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz#f27395a8619e0665b3f0364cddb41c25d71b499c" @@ -330,6 +413,13 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz#0ee3388070147c3ae051e487eca3ebb0e2e8bb09" @@ -351,6 +441,18 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-string-parser@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" + integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== + "@babel/helper-validator-identifier@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8" @@ -361,11 +463,21 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw== +"@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + "@babel/helper-validator-option@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23" integrity sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ== +"@babel/helper-validator-option@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040" + integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA== + "@babel/helper-wrap-function@^7.16.8": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz#58afda087c4cd235de92f7ceedebca2c41274200" @@ -394,6 +506,15 @@ "@babel/traverse" "^7.16.7" "@babel/types" "^7.16.7" +"@babel/helpers@^7.23.0": + version "7.23.1" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.1.tgz#44e981e8ce2b9e99f8f0b703f3326a4636c16d15" + integrity sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA== + dependencies: + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.0" + "@babel/types" "^7.23.0" + "@babel/highlight@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" @@ -412,21 +533,35 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.22.13": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" + integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/parser@7.12.3": version "7.12.3" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.3.tgz#a305415ebe7a6c7023b40b5122a0662d928334cd" integrity sha512-kFsOS0IbsuhO5ojF8Hc8z/8vEIOkylVBrjiZUbLTE3XFe0Qi+uu6HjzQixkFaqr0ZPAMZcBVxEwmsnsLPZ2Xsw== -"@babel/parser@^7.0.0", "@babel/parser@^7.16.7", "@babel/parser@^7.16.8": +"@babel/parser@^7.0.0", "@babel/parser@^7.16.7": version "7.16.8" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.8.tgz#61c243a3875f7d0b0962b0543a33ece6ff2f1f17" integrity sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw== -"@babel/parser@^7.10.5", "@babel/parser@^7.12.0", "@babel/parser@^7.12.3", "@babel/parser@^7.13.9", "@babel/parser@^7.14.5", "@babel/parser@^7.14.7": +"@babel/parser@^7.10.5", "@babel/parser@^7.12.0", "@babel/parser@^7.12.3", "@babel/parser@^7.13.9", "@babel/parser@^7.14.5": version "7.14.7" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.7.tgz#6099720c8839ca865a2637e6c85852ead0bdb595" integrity sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA== +"@babel/parser@^7.18.11", "@babel/parser@^7.20.15", "@babel/parser@^7.21.3", "@babel/parser@^7.22.15", "@babel/parser@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719" + integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz#4eda6d6c2a0aa79c70fa7b6da67763dfe2141050" @@ -1035,34 +1170,28 @@ "@babel/parser" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/traverse@^7.10.5", "@babel/traverse@^7.12.1", "@babel/traverse@^7.14.5": - version "7.14.7" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.7.tgz#64007c9774cfdc3abd23b0780bc18a3ce3631753" - integrity sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ== - dependencies: - "@babel/code-frame" "^7.14.5" - "@babel/generator" "^7.14.5" - "@babel/helper-function-name" "^7.14.5" - "@babel/helper-hoist-variables" "^7.14.5" - "@babel/helper-split-export-declaration" "^7.14.5" - "@babel/parser" "^7.14.7" - "@babel/types" "^7.14.5" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/traverse@^7.13.0", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.8.tgz#bab2f2b09a5fe8a8d9cad22cbfe3ba1d126fef9c" - integrity sha512-xe+H7JlvKsDQwXRsBhSnq1/+9c+LlQcCK3Tn/l5sbx02HYns/cn7ibp9+RV1sIUqu7hKg91NWsgHurO9dowITQ== - dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.16.8" - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-function-name" "^7.16.7" - "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/parser" "^7.16.8" - "@babel/types" "^7.16.8" +"@babel/template@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" + integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/parser" "^7.22.15" + "@babel/types" "^7.22.15" + +"@babel/traverse@^7.10.5", "@babel/traverse@^7.12.1", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.18.11", "@babel/traverse@^7.23.0": + version "7.23.2" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8" + integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.23.0" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.23.0" + "@babel/types" "^7.23.0" debug "^4.1.0" globals "^11.1.0" @@ -1082,22 +1211,238 @@ "@babel/helper-validator-identifier" "^7.16.7" to-fast-properties "^2.0.0" -"@eslint/eslintrc@^0.2.1": - version "0.2.2" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.2.2.tgz#d01fc791e2fc33e88a29d6f3dc7e93d0cd784b76" - integrity sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ== +"@babel/types@^7.18.10", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb" + integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.20" + to-fast-properties "^2.0.0" + +"@colors/colors@1.5.0": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" + integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== + +"@dabh/diagnostics@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.3.tgz#7f7e97ee9a725dffc7808d93668cc984e1dc477a" + integrity sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA== + dependencies: + colorspace "1.1.x" + enabled "2.0.x" + kuler "^2.0.0" + +"@esbuild-kit/cjs-loader@^2.4.2": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@esbuild-kit/cjs-loader/-/cjs-loader-2.4.2.tgz#cb4dde00fbf744a68c4f20162ea15a8242d0fa54" + integrity sha512-BDXFbYOJzT/NBEtp71cvsrGPwGAMGRB/349rwKuoxNSiKjPraNNnlK6MIIabViCjqZugu6j+xeMDlEkWdHHJSg== + dependencies: + "@esbuild-kit/core-utils" "^3.0.0" + get-tsconfig "^4.4.0" + +"@esbuild-kit/core-utils@^3.0.0", "@esbuild-kit/core-utils@^3.2.2": + version "3.2.2" + resolved "https://registry.yarnpkg.com/@esbuild-kit/core-utils/-/core-utils-3.2.2.tgz#ac3fe38d6ddcb3aa4658425034bb7a9cefa83495" + integrity sha512-Ub6LaRaAgF80dTSzUdXpFLM1pVDdmEVB9qb5iAzSpyDlX/mfJTFGOnZ516O05p5uWWteNviMKi4PAyEuRxI5gA== + dependencies: + esbuild "~0.18.20" + source-map-support "^0.5.21" + +"@esbuild-kit/esm-loader@^2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@esbuild-kit/esm-loader/-/esm-loader-2.5.5.tgz#b82da14fcee3fc1d219869756c06f43f67d1ca71" + integrity sha512-Qwfvj/qoPbClxCRNuac1Du01r9gvNOT+pMYtJDapfB1eoGN1YlJ1BixLyL9WVENRx5RXgNLdfYdx/CuswlGhMw== + dependencies: + "@esbuild-kit/core-utils" "^3.0.0" + get-tsconfig "^4.4.0" + +"@esbuild/android-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz#984b4f9c8d0377443cc2dfcef266d02244593622" + integrity sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ== + +"@esbuild/android-arm@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz#fedb265bc3a589c84cc11f810804f234947c3682" + integrity sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw== + +"@esbuild/android-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz#35cf419c4cfc8babe8893d296cd990e9e9f756f2" + integrity sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg== + +"@esbuild/darwin-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz#08172cbeccf95fbc383399a7f39cfbddaeb0d7c1" + integrity sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA== + +"@esbuild/darwin-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz#d70d5790d8bf475556b67d0f8b7c5bdff053d85d" + integrity sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ== + +"@esbuild/freebsd-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz#98755cd12707f93f210e2494d6a4b51b96977f54" + integrity sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw== + +"@esbuild/freebsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz#c1eb2bff03915f87c29cece4c1a7fa1f423b066e" + integrity sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ== + +"@esbuild/linux-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz#bad4238bd8f4fc25b5a021280c770ab5fc3a02a0" + integrity sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA== + +"@esbuild/linux-arm@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz#3e617c61f33508a27150ee417543c8ab5acc73b0" + integrity sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg== + +"@esbuild/linux-ia32@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz#699391cccba9aee6019b7f9892eb99219f1570a7" + integrity sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA== + +"@esbuild/linux-loong64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz#e6fccb7aac178dd2ffb9860465ac89d7f23b977d" + integrity sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg== + +"@esbuild/linux-mips64el@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz#eeff3a937de9c2310de30622a957ad1bd9183231" + integrity sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ== + +"@esbuild/linux-ppc64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz#2f7156bde20b01527993e6881435ad79ba9599fb" + integrity sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA== + +"@esbuild/linux-riscv64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz#6628389f210123d8b4743045af8caa7d4ddfc7a6" + integrity sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A== + +"@esbuild/linux-s390x@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz#255e81fb289b101026131858ab99fba63dcf0071" + integrity sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ== + +"@esbuild/linux-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz#c7690b3417af318a9b6f96df3031a8865176d338" + integrity sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w== + +"@esbuild/netbsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz#30e8cd8a3dded63975e2df2438ca109601ebe0d1" + integrity sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A== + +"@esbuild/openbsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz#7812af31b205055874c8082ea9cf9ab0da6217ae" + integrity sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg== + +"@esbuild/sunos-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz#d5c275c3b4e73c9b0ecd38d1ca62c020f887ab9d" + integrity sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ== + +"@esbuild/win32-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz#73bc7f5a9f8a77805f357fab97f290d0e4820ac9" + integrity sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg== + +"@esbuild/win32-ia32@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz#ec93cbf0ef1085cc12e71e0d661d20569ff42102" + integrity sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g== + +"@esbuild/win32-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz#786c5f41f043b07afb1af37683d7c33668858f6d" + integrity sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ== + +"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" + +"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1": + version "4.9.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.9.1.tgz#449dfa81a57a1d755b09aa58d826c1262e4283b4" + integrity sha512-Y27x+MBLjXa+0JWDhykM3+JE+il3kHKAEqabfEWq3SDhZjLYb6/BHL/JKFnH3fe207JaXkyDo685Oc2Glt6ifA== + +"@eslint/eslintrc@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" + integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== dependencies: ajv "^6.12.4" - debug "^4.1.1" - espree "^7.3.0" - globals "^12.1.0" - ignore "^4.0.6" + debug "^4.3.2" + espree "^9.6.0" + globals "^13.19.0" + ignore "^5.2.0" import-fresh "^3.2.1" - js-yaml "^3.13.1" - lodash "^4.17.19" - minimatch "^3.0.4" + js-yaml "^4.1.0" + minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@eslint/js@8.51.0": + version "8.51.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.51.0.tgz#6d419c240cfb2b66da37df230f7e7eef801c32fa" + integrity sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg== + +"@humanwhocodes/config-array@^0.11.11": + version "0.11.12" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.12.tgz#549afec9bfce5232ac6325db12765f407e70e3a0" + integrity sha512-NlGesA1usRNn6ctHCZ21M4/dKPgW9Nn1FypRdIKKgZOKzkVV4T1FlK5mBiLhHBCDmEbdQG0idrcXlbZfksJ+RA== + dependencies: + "@humanwhocodes/object-schema" "^2.0.0" + debug "^4.1.1" + minimatch "^3.0.5" + +"@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + +"@humanwhocodes/object-schema@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.0.tgz#04ad39d82176c7da1591c81e78b993cffd8348d8" + integrity sha512-9S9QrXY2K0L4AGDcSgTi9vgiCcG8VcBv4Mp7/1hDPYoswIy6Z6KO5blYto82BT8M0MZNRWmCFLpCs3HlpYGGdw== + +"@hutson/parse-repository-url@^3.0.0": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" + integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== + +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + +"@jest/schemas@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" + integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== + dependencies: + "@sinclair/typebox" "^0.27.8" + "@jest/types@^24.9.0": version "24.9.0" resolved "https://registry.yarnpkg.com/@jest/types/-/types-24.9.0.tgz#63cb26cb7500d069e5a389441a7c6ab5e909fc59" @@ -1116,11 +1461,25 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" +"@jridgewell/gen-mapping@^0.3.2": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/resolve-uri@^3.0.3": version "3.1.0" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" + integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== + "@jridgewell/set-array@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" @@ -1139,6 +1498,19 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== +"@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.4.15": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.17": + version "0.3.19" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz#f8a3249862f91be48d3127c3cfe992f79b4b8811" + integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + "@jridgewell/trace-mapping@^0.3.9": version "0.3.14" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed" @@ -1147,912 +1519,461 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@lerna/add@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f" - integrity sha512-cpmAH1iS3k8JBxNvnMqrGTTjbY/ZAiKa1ChJzFevMYY3eeqbvhsBKnBcxjRXtdrJ6bd3dCQM+ZtK+0i682Fhng== - dependencies: - "@lerna/bootstrap" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/filter-options" "4.0.0" - "@lerna/npm-conf" "4.0.0" - "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - npm-package-arg "^8.1.0" - p-map "^4.0.0" - pacote "^11.2.6" - semver "^7.3.4" - -"@lerna/bootstrap@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-4.0.0.tgz#5f5c5e2c6cfc8fcec50cb2fbe569a8c607101891" - integrity sha512-RkS7UbeM2vu+kJnHzxNRCLvoOP9yGNgkzRdy4UV2hNalD7EP41bLvRVOwRYQ7fhc2QcbhnKNdOBihYRL0LcKtw== - dependencies: - "@lerna/command" "4.0.0" - "@lerna/filter-options" "4.0.0" - "@lerna/has-npm-version" "4.0.0" - "@lerna/npm-install" "4.0.0" - "@lerna/package-graph" "4.0.0" - "@lerna/pulse-till-done" "4.0.0" - "@lerna/rimraf-dir" "4.0.0" - "@lerna/run-lifecycle" "4.0.0" - "@lerna/run-topologically" "4.0.0" - "@lerna/symlink-binary" "4.0.0" - "@lerna/symlink-dependencies" "4.0.0" - "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - get-port "^5.1.1" - multimatch "^5.0.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - p-map "^4.0.0" - p-map-series "^2.1.0" - p-waterfall "^2.1.1" - read-package-tree "^5.3.1" - semver "^7.3.4" - -"@lerna/changed@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/changed/-/changed-4.0.0.tgz#b9fc76cea39b9292a6cd263f03eb57af85c9270b" - integrity sha512-cD+KuPRp6qiPOD+BO6S6SN5cARspIaWSOqGBpGnYzLb4uWT8Vk4JzKyYtc8ym1DIwyoFXHosXt8+GDAgR8QrgQ== - dependencies: - "@lerna/collect-updates" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/listable" "4.0.0" - "@lerna/output" "4.0.0" - -"@lerna/check-working-tree@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/check-working-tree/-/check-working-tree-4.0.0.tgz#257e36a602c00142e76082a19358e3e1ae8dbd58" - integrity sha512-/++bxM43jYJCshBiKP5cRlCTwSJdRSxVmcDAXM+1oUewlZJVSVlnks5eO0uLxokVFvLhHlC5kHMc7gbVFPHv6Q== - dependencies: - "@lerna/collect-uncommitted" "4.0.0" - "@lerna/describe-ref" "4.0.0" - "@lerna/validation-error" "4.0.0" - -"@lerna/child-process@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-4.0.0.tgz#341b96a57dffbd9705646d316e231df6fa4df6e1" - integrity sha512-XtCnmCT9eyVsUUHx6y/CTBYdV9g2Cr/VxyseTWBgfIur92/YKClfEtJTbOh94jRT62hlKLqSvux/UhxXVh613Q== +"@lerna/child-process@7.3.0": + version "7.3.0" + resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-7.3.0.tgz#c56488a8a881f22a64793bf9339c5a2450a18559" + integrity sha512-rA+fGUo2j/LEq6w1w8s6oVikLbJTWoIDVpYMc7bUCtwDOUuZKMQiRtjmpavY3fTm7ltu42f4AKflc2A70K4wvA== dependencies: chalk "^4.1.0" execa "^5.0.0" strong-log-transformer "^2.1.0" -"@lerna/clean@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/clean/-/clean-4.0.0.tgz#8f778b6f2617aa2a936a6b5e085ae62498e57dc5" - integrity sha512-uugG2iN9k45ITx2jtd8nEOoAtca8hNlDCUM0N3lFgU/b1mEQYAPRkqr1qs4FLRl/Y50ZJ41wUz1eazS+d/0osA== - dependencies: - "@lerna/command" "4.0.0" - "@lerna/filter-options" "4.0.0" - "@lerna/prompt" "4.0.0" - "@lerna/pulse-till-done" "4.0.0" - "@lerna/rimraf-dir" "4.0.0" - p-map "^4.0.0" - p-map-series "^2.1.0" - p-waterfall "^2.1.1" +"@lerna/create@7.3.0": + version "7.3.0" + resolved "https://registry.yarnpkg.com/@lerna/create/-/create-7.3.0.tgz#5438c231f617b8e825731390d394f8684af471d5" + integrity sha512-fjgiKjg9VXwQ4ZKKsrXICEKRiC3yo6+FprR0mc55uz0s5e9xupoSGLobUTTBdE7ncNB3ibqml8dfaAn/+ESajQ== + dependencies: + "@lerna/child-process" "7.3.0" + "@npmcli/run-script" "6.0.2" + "@nx/devkit" ">=16.5.1 < 17" + "@octokit/plugin-enterprise-rest" "6.0.1" + "@octokit/rest" "19.0.11" + byte-size "8.1.1" + chalk "4.1.0" + clone-deep "4.0.1" + cmd-shim "6.0.1" + columnify "1.6.0" + conventional-changelog-core "5.0.1" + conventional-recommended-bump "7.0.1" + cosmiconfig "^8.2.0" + dedent "0.7.0" + execa "5.0.0" + fs-extra "^11.1.1" + get-stream "6.0.0" + git-url-parse "13.1.0" + glob-parent "5.1.2" + globby "11.1.0" + graceful-fs "4.2.11" + has-unicode "2.0.1" + ini "^1.3.8" + init-package-json "5.0.0" + inquirer "^8.2.4" + is-ci "3.0.1" + is-stream "2.0.0" + js-yaml "4.1.0" + libnpmpublish "7.3.0" + load-json-file "6.2.0" + lodash "^4.17.21" + make-dir "4.0.0" + minimatch "3.0.5" + multimatch "5.0.0" + node-fetch "2.6.7" + npm-package-arg "8.1.1" + npm-packlist "5.1.1" + npm-registry-fetch "^14.0.5" + npmlog "^6.0.2" + nx ">=16.5.1 < 17" + p-map "4.0.0" + p-map-series "2.1.0" + p-queue "6.6.2" + p-reduce "^2.1.0" + pacote "^15.2.0" + pify "5.0.0" + read-cmd-shim "4.0.0" + read-package-json "6.0.4" + resolve-from "5.0.0" + rimraf "^4.4.1" + semver "^7.3.4" + signal-exit "3.0.7" + slash "^3.0.0" + ssri "^9.0.1" + strong-log-transformer "2.1.0" + tar "6.1.11" + temp-dir "1.0.0" + upath "2.0.1" + uuid "^9.0.0" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "5.0.0" + write-file-atomic "5.0.1" + write-pkg "4.0.0" + yargs "16.2.0" + yargs-parser "20.2.4" -"@lerna/cli@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/cli/-/cli-4.0.0.tgz#8eabd334558836c1664df23f19acb95e98b5bbf3" - integrity sha512-Neaw3GzFrwZiRZv2g7g6NwFjs3er1vhraIniEs0jjVLPMNC4eata0na3GfE5yibkM/9d3gZdmihhZdZ3EBdvYA== +"@ljharb/resumer@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@ljharb/resumer/-/resumer-0.0.1.tgz#8a940a9192dd31f6a1df17564bbd26dc6ad3e68d" + integrity sha512-skQiAOrCfO7vRTq53cxznMpks7wS1va95UCidALlOVWqvBAzwPVErwizDwoMqNVMEn1mDq0utxZd02eIrvF1lw== dependencies: - "@lerna/global-options" "4.0.0" - dedent "^0.7.0" - npmlog "^4.1.2" - yargs "^16.2.0" + "@ljharb/through" "^2.3.9" -"@lerna/collect-uncommitted@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/collect-uncommitted/-/collect-uncommitted-4.0.0.tgz#855cd64612969371cfc2453b90593053ff1ba779" - integrity sha512-ufSTfHZzbx69YNj7KXQ3o66V4RC76ffOjwLX0q/ab//61bObJ41n03SiQEhSlmpP+gmFbTJ3/7pTe04AHX9m/g== - dependencies: - "@lerna/child-process" "4.0.0" - chalk "^4.1.0" - npmlog "^4.1.2" +"@ljharb/through@^2.3.9": + version "2.3.9" + resolved "https://registry.yarnpkg.com/@ljharb/through/-/through-2.3.9.tgz#85f221eb82f9d555e180e87d6e50fb154af85408" + integrity sha512-yN599ZBuMPPK4tdoToLlvgJB4CLK8fGl7ntfy0Wn7U6ttNvHYurd81bfUiK/6sMkiIwm65R6ck4L6+Y3DfVbNQ== -"@lerna/collect-updates@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/collect-updates/-/collect-updates-4.0.0.tgz#8e208b1bafd98a372ff1177f7a5e288f6bea8041" - integrity sha512-bnNGpaj4zuxsEkyaCZLka9s7nMs58uZoxrRIPJ+nrmrZYp1V5rrd+7/NYTuunOhY2ug1sTBvTAxj3NZQ+JKnOw== +"@mapbox/geojsonhint@*": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@mapbox/geojsonhint/-/geojsonhint-2.0.1.tgz#32dac7300f04b3ebaec74b5ba9853dfb42532354" dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/describe-ref" "4.0.0" - minimatch "^3.0.4" - npmlog "^4.1.2" - slash "^3.0.0" + concat-stream "~1.5.1" + jsonlint-lines "1.7.1" + minimist "1.2.0" + vfile "2.0.0" + vfile-reporter "3.0.0" -"@lerna/command@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/command/-/command-4.0.0.tgz#991c7971df8f5bf6ae6e42c808869a55361c1b98" - integrity sha512-LM9g3rt5FsPNFqIHUeRwWXLNHJ5NKzOwmVKZ8anSp4e1SPrv2HNc1V02/9QyDDZK/w+5POXH5lxZUI1CHaOK/A== - dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/package-graph" "4.0.0" - "@lerna/project" "4.0.0" - "@lerna/validation-error" "4.0.0" - "@lerna/write-log-file" "4.0.0" - clone-deep "^4.0.1" - dedent "^0.7.0" - execa "^5.0.0" - is-ci "^2.0.0" - npmlog "^4.1.2" +"@monorepolint/cli@^0.5.0-alpha.20+fb5a530": + version "0.5.0-alpha.20" + resolved "https://registry.npmjs.org/@monorepolint/cli/-/cli-0.5.0-alpha.20.tgz#9494843de95bd7767041aa7d2add3f9d0a85b410" + integrity sha512-1kuyw+KXqMghN4n2JkTjqwnXbftPkOfmsMid6bN2+dDTN7CIKr9goXqbX8/7/SWkst5tK8AOyPku3ODcsWUjVA== + dependencies: + "@monorepolint/core" "^0.5.0-alpha.20+fb5a530" + "@monorepolint/utils" "^0.5.0-alpha.20+fb5a530" + chalk "^2.4.1" + yargs "^14.0.0" -"@lerna/conventional-commits@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/conventional-commits/-/conventional-commits-4.0.0.tgz#660fb2c7b718cb942ead70110df61f18c6f99750" - integrity sha512-CSUQRjJHFrH8eBn7+wegZLV3OrNc0Y1FehYfYGhjLE2SIfpCL4bmfu/ViYuHh9YjwHaA+4SX6d3hR+xkeseKmw== +"@monorepolint/core@^0.5.0-alpha.20+fb5a530": + version "0.5.0-alpha.20" + resolved "https://registry.npmjs.org/@monorepolint/core/-/core-0.5.0-alpha.20.tgz#10fa595936ab244a8f540718f936165768d71496" + integrity sha512-l7orLrxIJCqwDDohxt2Iv2y5Ib/YSRStPiMUiRNFsE92paL+fO+P1P0wZx7uPPzZ+u75Z1Qqwq/3v483T2zTsQ== dependencies: - "@lerna/validation-error" "4.0.0" - conventional-changelog-angular "^5.0.12" - conventional-changelog-core "^4.2.2" - conventional-recommended-bump "^6.1.0" - fs-extra "^9.1.0" - get-stream "^6.0.0" - lodash.template "^4.5.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - pify "^5.0.0" - semver "^7.3.4" + "@monorepolint/utils" "^0.5.0-alpha.20+fb5a530" + camelcase "^5.2.0" + chalk "^2.4.1" + minimatch "^3.0.4" + runtypes "^4.0.0" + tslib "^1.9.0" -"@lerna/create-symlink@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/create-symlink/-/create-symlink-4.0.0.tgz#8c5317ce5ae89f67825443bd7651bf4121786228" - integrity sha512-I0phtKJJdafUiDwm7BBlEUOtogmu8+taxq6PtIrxZbllV9hWg59qkpuIsiFp+no7nfRVuaasNYHwNUhDAVQBig== +"@monorepolint/rules@^0.5.0-alpha.20+fb5a530": + version "0.5.0-alpha.20" + resolved "https://registry.npmjs.org/@monorepolint/rules/-/rules-0.5.0-alpha.20.tgz#c53d7c6b549c04feef13ab7a2fcea5dda00f259a" + integrity sha512-wCNuLGvm+8tf9aCkIkBBc7ik8LH7shImLoIeq1PtOStN9sc4zrVBxz6jdsyH0/l4CFn+dktrl2SXxM4kPH7H+Q== dependencies: - cmd-shim "^4.1.0" - fs-extra "^9.1.0" - npmlog "^4.1.2" + "@monorepolint/core" "^0.5.0-alpha.20+fb5a530" + "@monorepolint/utils" "^0.5.0-alpha.20+fb5a530" + globby "^10.0.2" + jest-diff "^24.9.0" + minimatch "^3.0.4" + runtypes "^4.0.0" -"@lerna/create@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/create/-/create-4.0.0.tgz#b6947e9b5dfb6530321952998948c3e63d64d730" - integrity sha512-mVOB1niKByEUfxlbKTM1UNECWAjwUdiioIbRQZEeEabtjCL69r9rscIsjlGyhGWCfsdAG5wfq4t47nlDXdLLag== +"@monorepolint/utils@^0.5.0-alpha.20+fb5a530": + version "0.5.0-alpha.20" + resolved "https://registry.npmjs.org/@monorepolint/utils/-/utils-0.5.0-alpha.20.tgz#7277cca0d2d1c7bfe3949939c04882a56100d6d1" + integrity sha512-0i2TZm810ORjaFFucftnUwUb4PHSlnjbEKQOuSBlQVl3CltD/01pRULQwPyzTe+6bWqtZQGo85e7rYJJnZdWZw== dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/npm-conf" "4.0.0" - "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - fs-extra "^9.1.0" - globby "^11.0.2" - init-package-json "^2.0.2" - npm-package-arg "^8.1.0" - p-reduce "^2.1.0" - pacote "^11.2.6" - pify "^5.0.0" - semver "^7.3.4" - slash "^3.0.0" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^3.0.0" - whatwg-url "^8.4.0" - yargs-parser "20.2.4" + glob "^7.1.3" -"@lerna/describe-ref@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/describe-ref/-/describe-ref-4.0.0.tgz#53c53b4ea65fdceffa072a62bfebe6772c45d9ec" - integrity sha512-eTU5+xC4C5Gcgz+Ey4Qiw9nV2B4JJbMulsYJMW8QjGcGh8zudib7Sduj6urgZXUYNyhYpRs+teci9M2J8u+UvQ== +"@nodelib/fs.scandir@2.1.3": + version "2.1.3" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" + integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw== dependencies: - "@lerna/child-process" "4.0.0" - npmlog "^4.1.2" + "@nodelib/fs.stat" "2.0.3" + run-parallel "^1.1.9" -"@lerna/diff@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/diff/-/diff-4.0.0.tgz#6d3071817aaa4205a07bf77cfc6e932796d48b92" - integrity sha512-jYPKprQVg41+MUMxx6cwtqsNm0Yxx9GDEwdiPLwcUTFx+/qKCEwifKNJ1oGIPBxyEHX2PFCOjkK39lHoj2qiag== +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/validation-error" "4.0.0" - npmlog "^4.1.2" + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" -"@lerna/exec@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/exec/-/exec-4.0.0.tgz#eb6cb95cb92d42590e9e2d628fcaf4719d4a8be6" - integrity sha512-VGXtL/b/JfY84NB98VWZpIExfhLOzy0ozm/0XaS4a2SmkAJc5CeUfrhvHxxkxiTBLkU+iVQUyYEoAT0ulQ8PCw== - dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/filter-options" "4.0.0" - "@lerna/profiler" "4.0.0" - "@lerna/run-topologically" "4.0.0" - "@lerna/validation-error" "4.0.0" - p-map "^4.0.0" +"@nodelib/fs.stat@2.0.3", "@nodelib/fs.stat@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3" + integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA== -"@lerna/filter-options@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/filter-options/-/filter-options-4.0.0.tgz#ac94cc515d7fa3b47e2f7d74deddeabb1de5e9e6" - integrity sha512-vV2ANOeZhOqM0rzXnYcFFCJ/kBWy/3OA58irXih9AMTAlQLymWAK0akWybl++sUJ4HB9Hx12TOqaXbYS2NM5uw== - dependencies: - "@lerna/collect-updates" "4.0.0" - "@lerna/filter-packages" "4.0.0" - dedent "^0.7.0" - npmlog "^4.1.2" +"@nodelib/fs.stat@2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== -"@lerna/filter-packages@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/filter-packages/-/filter-packages-4.0.0.tgz#b1f70d70e1de9cdd36a4e50caa0ac501f8d012f2" - integrity sha512-+4AJIkK7iIiOaqCiVTYJxh/I9qikk4XjNQLhE3kixaqgMuHl1NQ99qXRR0OZqAWB9mh8Z1HA9bM5K1HZLBTOqA== +"@nodelib/fs.walk@^1.2.3": + version "1.2.4" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976" + integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ== dependencies: - "@lerna/validation-error" "4.0.0" - multimatch "^5.0.0" - npmlog "^4.1.2" + "@nodelib/fs.scandir" "2.1.3" + fastq "^1.6.0" -"@lerna/get-npm-exec-opts@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-4.0.0.tgz#dc955be94a4ae75c374ef9bce91320887d34608f" - integrity sha512-yvmkerU31CTWS2c7DvmAWmZVeclPBqI7gPVr5VATUKNWJ/zmVcU4PqbYoLu92I9Qc4gY1TuUplMNdNuZTSL7IQ== +"@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== dependencies: - npmlog "^4.1.2" + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" -"@lerna/get-packed@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/get-packed/-/get-packed-4.0.0.tgz#0989d61624ac1f97e393bdad2137c49cd7a37823" - integrity sha512-rfWONRsEIGyPJTxFzC8ECb3ZbsDXJbfqWYyeeQQDrJRPnEJErlltRLPLgC2QWbxFgFPsoDLeQmFHJnf0iDfd8w== +"@npmcli/fs@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-3.1.0.tgz#233d43a25a91d68c3a863ba0da6a3f00924a173e" + integrity sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w== dependencies: - fs-extra "^9.1.0" - ssri "^8.0.1" - tar "^6.1.0" + semver "^7.3.5" -"@lerna/github-client@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/github-client/-/github-client-4.0.0.tgz#2ced67721363ef70f8e12ffafce4410918f4a8a4" - integrity sha512-2jhsldZtTKXYUBnOm23Lb0Fx8G4qfSXF9y7UpyUgWUj+YZYd+cFxSuorwQIgk5P4XXrtVhsUesIsli+BYSThiw== +"@npmcli/git@^4.0.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-4.1.0.tgz#ab0ad3fd82bc4d8c1351b6c62f0fa56e8fe6afa6" + integrity sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ== dependencies: - "@lerna/child-process" "4.0.0" - "@octokit/plugin-enterprise-rest" "^6.0.1" - "@octokit/rest" "^18.1.0" - git-url-parse "^11.4.4" - npmlog "^4.1.2" + "@npmcli/promise-spawn" "^6.0.0" + lru-cache "^7.4.4" + npm-pick-manifest "^8.0.0" + proc-log "^3.0.0" + promise-inflight "^1.0.1" + promise-retry "^2.0.1" + semver "^7.3.5" + which "^3.0.0" -"@lerna/gitlab-client@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/gitlab-client/-/gitlab-client-4.0.0.tgz#00dad73379c7b38951d4b4ded043504c14e2b67d" - integrity sha512-OMUpGSkeDWFf7BxGHlkbb35T7YHqVFCwBPSIR6wRsszY8PAzCYahtH3IaJzEJyUg6vmZsNl0FSr3pdA2skhxqA== +"@npmcli/installed-package-contents@^2.0.1": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz#bfd817eccd9e8df200919e73f57f9e3d9e4f9e33" + integrity sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ== dependencies: - node-fetch "^2.6.1" - npmlog "^4.1.2" - whatwg-url "^8.4.0" + npm-bundled "^3.0.0" + npm-normalize-package-bin "^3.0.0" -"@lerna/global-options@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/global-options/-/global-options-4.0.0.tgz#c7d8b0de6a01d8a845e2621ea89e7f60f18c6a5f" - integrity sha512-TRMR8afAHxuYBHK7F++Ogop2a82xQjoGna1dvPOY6ltj/pEx59pdgcJfYcynYqMkFIk8bhLJJN9/ndIfX29FTQ== +"@npmcli/node-gyp@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz#101b2d0490ef1aa20ed460e4c0813f0db560545a" + integrity sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA== -"@lerna/has-npm-version@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/has-npm-version/-/has-npm-version-4.0.0.tgz#d3fc3292c545eb28bd493b36e6237cf0279f631c" - integrity sha512-LQ3U6XFH8ZmLCsvsgq1zNDqka0Xzjq5ibVN+igAI5ccRWNaUsE/OcmsyMr50xAtNQMYMzmpw5GVLAivT2/YzCg== +"@npmcli/promise-spawn@^6.0.0", "@npmcli/promise-spawn@^6.0.1": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz#c8bc4fa2bd0f01cb979d8798ba038f314cfa70f2" + integrity sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg== dependencies: - "@lerna/child-process" "4.0.0" - semver "^7.3.4" - -"@lerna/import@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/import/-/import-4.0.0.tgz#bde656c4a451fa87ae41733ff8a8da60547c5465" - integrity sha512-FaIhd+4aiBousKNqC7TX1Uhe97eNKf5/SC7c5WZANVWtC7aBWdmswwDt3usrzCNpj6/Wwr9EtEbYROzxKH8ffg== - dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/prompt" "4.0.0" - "@lerna/pulse-till-done" "4.0.0" - "@lerna/validation-error" "4.0.0" - dedent "^0.7.0" - fs-extra "^9.1.0" - p-map-series "^2.1.0" + which "^3.0.0" -"@lerna/info@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/info/-/info-4.0.0.tgz#b9fb0e479d60efe1623603958a831a88b1d7f1fc" - integrity sha512-8Uboa12kaCSZEn4XRfPz5KU9XXoexSPS4oeYGj76s2UQb1O1GdnEyfjyNWoUl1KlJ2i/8nxUskpXIftoFYH0/Q== - dependencies: - "@lerna/command" "4.0.0" - "@lerna/output" "4.0.0" - envinfo "^7.7.4" - -"@lerna/init@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/init/-/init-4.0.0.tgz#dadff67e6dfb981e8ccbe0e6a310e837962f6c7a" - integrity sha512-wY6kygop0BCXupzWj5eLvTUqdR7vIAm0OgyV9WHpMYQGfs1V22jhztt8mtjCloD/O0nEe4tJhdG62XU5aYmPNQ== - dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/command" "4.0.0" - fs-extra "^9.1.0" - p-map "^4.0.0" - write-json-file "^4.3.0" - -"@lerna/link@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/link/-/link-4.0.0.tgz#c3a38aabd44279d714e90f2451e31b63f0fb65ba" - integrity sha512-KlvPi7XTAcVOByfaLlOeYOfkkDcd+bejpHMCd1KcArcFTwijOwXOVi24DYomIeHvy6HsX/IUquJ4PPUJIeB4+w== - dependencies: - "@lerna/command" "4.0.0" - "@lerna/package-graph" "4.0.0" - "@lerna/symlink-dependencies" "4.0.0" - p-map "^4.0.0" - slash "^3.0.0" - -"@lerna/list@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/list/-/list-4.0.0.tgz#24b4e6995bd73f81c556793fe502b847efd9d1d7" - integrity sha512-L2B5m3P+U4Bif5PultR4TI+KtW+SArwq1i75QZ78mRYxPc0U/piau1DbLOmwrdqr99wzM49t0Dlvl6twd7GHFg== - dependencies: - "@lerna/command" "4.0.0" - "@lerna/filter-options" "4.0.0" - "@lerna/listable" "4.0.0" - "@lerna/output" "4.0.0" - -"@lerna/listable@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/listable/-/listable-4.0.0.tgz#d00d6cb4809b403f2b0374fc521a78e318b01214" - integrity sha512-/rPOSDKsOHs5/PBLINZOkRIX1joOXUXEtyUs5DHLM8q6/RP668x/1lFhw6Dx7/U+L0+tbkpGtZ1Yt0LewCLgeQ== - dependencies: - "@lerna/query-graph" "4.0.0" - chalk "^4.1.0" - columnify "^1.5.4" - -"@lerna/log-packed@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/log-packed/-/log-packed-4.0.0.tgz#95168fe2e26ac6a71e42f4be857519b77e57a09f" - integrity sha512-+dpCiWbdzgMAtpajLToy9PO713IHoE6GV/aizXycAyA07QlqnkpaBNZ8DW84gHdM1j79TWockGJo9PybVhrrZQ== - dependencies: - byte-size "^7.0.0" - columnify "^1.5.4" - has-unicode "^2.0.1" - npmlog "^4.1.2" - -"@lerna/npm-conf@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-conf/-/npm-conf-4.0.0.tgz#b259fd1e1cee2bf5402b236e770140ff9ade7fd2" - integrity sha512-uS7H02yQNq3oejgjxAxqq/jhwGEE0W0ntr8vM3EfpCW1F/wZruwQw+7bleJQ9vUBjmdXST//tk8mXzr5+JXCfw== - dependencies: - config-chain "^1.1.12" - pify "^5.0.0" - -"@lerna/npm-dist-tag@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-dist-tag/-/npm-dist-tag-4.0.0.tgz#d1e99b4eccd3414142f0548ad331bf2d53f3257a" - integrity sha512-F20sg28FMYTgXqEQihgoqSfwmq+Id3zT23CnOwD+XQMPSy9IzyLf1fFVH319vXIw6NF6Pgs4JZN2Qty6/CQXGw== - dependencies: - "@lerna/otplease" "4.0.0" - npm-package-arg "^8.1.0" - npm-registry-fetch "^9.0.0" - npmlog "^4.1.2" - -"@lerna/npm-install@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-install/-/npm-install-4.0.0.tgz#31180be3ab3b7d1818a1a0c206aec156b7094c78" - integrity sha512-aKNxq2j3bCH3eXl3Fmu4D54s/YLL9WSwV8W7X2O25r98wzrO38AUN6AB9EtmAx+LV/SP15et7Yueg9vSaanRWg== - dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/get-npm-exec-opts" "4.0.0" - fs-extra "^9.1.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - signal-exit "^3.0.3" - write-pkg "^4.0.0" - -"@lerna/npm-publish@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-publish/-/npm-publish-4.0.0.tgz#84eb62e876fe949ae1fd62c60804423dbc2c4472" - integrity sha512-vQb7yAPRo5G5r77DRjHITc9piR9gvEKWrmfCH7wkfBnGWEqu7n8/4bFQ7lhnkujvc8RXOsYpvbMQkNfkYibD/w== - dependencies: - "@lerna/otplease" "4.0.0" - "@lerna/run-lifecycle" "4.0.0" - fs-extra "^9.1.0" - libnpmpublish "^4.0.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - pify "^5.0.0" - read-package-json "^3.0.0" - -"@lerna/npm-run-script@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-run-script/-/npm-run-script-4.0.0.tgz#dfebf4f4601442e7c0b5214f9fb0d96c9350743b" - integrity sha512-Jmyh9/IwXJjOXqKfIgtxi0bxi1pUeKe5bD3S81tkcy+kyng/GNj9WSqD5ZggoNP2NP//s4CLDAtUYLdP7CU9rA== - dependencies: - "@lerna/child-process" "4.0.0" - "@lerna/get-npm-exec-opts" "4.0.0" - npmlog "^4.1.2" - -"@lerna/otplease@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/otplease/-/otplease-4.0.0.tgz#84972eb43448f8a1077435ba1c5e59233b725850" - integrity sha512-Sgzbqdk1GH4psNiT6hk+BhjOfIr/5KhGBk86CEfHNJTk9BK4aZYyJD4lpDbDdMjIV4g03G7pYoqHzH765T4fxw== - dependencies: - "@lerna/prompt" "4.0.0" - -"@lerna/output@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/output/-/output-4.0.0.tgz#b1d72215c0e35483e4f3e9994debc82c621851f2" - integrity sha512-Un1sHtO1AD7buDQrpnaYTi2EG6sLF+KOPEAMxeUYG5qG3khTs2Zgzq5WE3dt2N/bKh7naESt20JjIW6tBELP0w== - dependencies: - npmlog "^4.1.2" - -"@lerna/pack-directory@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/pack-directory/-/pack-directory-4.0.0.tgz#8b617db95d20792f043aaaa13a9ccc0e04cb4c74" - integrity sha512-NJrmZNmBHS+5aM+T8N6FVbaKFScVqKlQFJNY2k7nsJ/uklNKsLLl6VhTQBPwMTbf6Tf7l6bcKzpy7aePuq9UiQ== - dependencies: - "@lerna/get-packed" "4.0.0" - "@lerna/package" "4.0.0" - "@lerna/run-lifecycle" "4.0.0" - npm-packlist "^2.1.4" - npmlog "^4.1.2" - tar "^6.1.0" - temp-write "^4.0.0" - -"@lerna/package-graph@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/package-graph/-/package-graph-4.0.0.tgz#16a00253a8ac810f72041481cb46bcee8d8123dd" - integrity sha512-QED2ZCTkfXMKFoTGoccwUzjHtZMSf3UKX14A4/kYyBms9xfFsesCZ6SLI5YeySEgcul8iuIWfQFZqRw+Qrjraw== - dependencies: - "@lerna/prerelease-id-from-version" "4.0.0" - "@lerna/validation-error" "4.0.0" - npm-package-arg "^8.1.0" - npmlog "^4.1.2" - semver "^7.3.4" - -"@lerna/package@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/package/-/package-4.0.0.tgz#1b4c259c4bcff45c876ee1d591a043aacbc0d6b7" - integrity sha512-l0M/izok6FlyyitxiQKr+gZLVFnvxRQdNhzmQ6nRnN9dvBJWn+IxxpM+cLqGACatTnyo9LDzNTOj2Db3+s0s8Q== - dependencies: - load-json-file "^6.2.0" - npm-package-arg "^8.1.0" - write-pkg "^4.0.0" - -"@lerna/prerelease-id-from-version@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-4.0.0.tgz#c7e0676fcee1950d85630e108eddecdd5b48c916" - integrity sha512-GQqguzETdsYRxOSmdFZ6zDBXDErIETWOqomLERRY54f4p+tk4aJjoVdd9xKwehC9TBfIFvlRbL1V9uQGHh1opg== - dependencies: - semver "^7.3.4" - -"@lerna/profiler@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/profiler/-/profiler-4.0.0.tgz#8a53ab874522eae15d178402bff90a14071908e9" - integrity sha512-/BaEbqnVh1LgW/+qz8wCuI+obzi5/vRE8nlhjPzdEzdmWmZXuCKyWSEzAyHOJWw1ntwMiww5dZHhFQABuoFz9Q== - dependencies: - fs-extra "^9.1.0" - npmlog "^4.1.2" - upath "^2.0.1" - -"@lerna/project@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/project/-/project-4.0.0.tgz#ff84893935833533a74deff30c0e64ddb7f0ba6b" - integrity sha512-o0MlVbDkD5qRPkFKlBZsXZjoNTWPyuL58564nSfZJ6JYNmgAptnWPB2dQlAc7HWRZkmnC2fCkEdoU+jioPavbg== - dependencies: - "@lerna/package" "4.0.0" - "@lerna/validation-error" "4.0.0" - cosmiconfig "^7.0.0" - dedent "^0.7.0" - dot-prop "^6.0.1" - glob-parent "^5.1.1" - globby "^11.0.2" - load-json-file "^6.2.0" - npmlog "^4.1.2" - p-map "^4.0.0" - resolve-from "^5.0.0" - write-json-file "^4.3.0" - -"@lerna/prompt@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/prompt/-/prompt-4.0.0.tgz#5ec69a803f3f0db0ad9f221dad64664d3daca41b" - integrity sha512-4Ig46oCH1TH5M7YyTt53fT6TuaKMgqUUaqdgxvp6HP6jtdak6+amcsqB8YGz2eQnw/sdxunx84DfI9XpoLj4bQ== - dependencies: - inquirer "^7.3.3" - npmlog "^4.1.2" - -"@lerna/publish@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/publish/-/publish-4.0.0.tgz#f67011305adeba120066a3b6d984a5bb5fceef65" - integrity sha512-K8jpqjHrChH22qtkytA5GRKIVFEtqBF6JWj1I8dWZtHs4Jywn8yB1jQ3BAMLhqmDJjWJtRck0KXhQQKzDK2UPg== - dependencies: - "@lerna/check-working-tree" "4.0.0" - "@lerna/child-process" "4.0.0" - "@lerna/collect-updates" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/describe-ref" "4.0.0" - "@lerna/log-packed" "4.0.0" - "@lerna/npm-conf" "4.0.0" - "@lerna/npm-dist-tag" "4.0.0" - "@lerna/npm-publish" "4.0.0" - "@lerna/otplease" "4.0.0" - "@lerna/output" "4.0.0" - "@lerna/pack-directory" "4.0.0" - "@lerna/prerelease-id-from-version" "4.0.0" - "@lerna/prompt" "4.0.0" - "@lerna/pulse-till-done" "4.0.0" - "@lerna/run-lifecycle" "4.0.0" - "@lerna/run-topologically" "4.0.0" - "@lerna/validation-error" "4.0.0" - "@lerna/version" "4.0.0" - fs-extra "^9.1.0" - libnpmaccess "^4.0.1" - npm-package-arg "^8.1.0" - npm-registry-fetch "^9.0.0" - npmlog "^4.1.2" - p-map "^4.0.0" - p-pipe "^3.1.0" - pacote "^11.2.6" - semver "^7.3.4" - -"@lerna/pulse-till-done@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/pulse-till-done/-/pulse-till-done-4.0.0.tgz#04bace7d483a8205c187b806bcd8be23d7bb80a3" - integrity sha512-Frb4F7QGckaybRhbF7aosLsJ5e9WuH7h0KUkjlzSByVycxY91UZgaEIVjS2oN9wQLrheLMHl6SiFY0/Pvo0Cxg== - dependencies: - npmlog "^4.1.2" - -"@lerna/query-graph@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/query-graph/-/query-graph-4.0.0.tgz#09dd1c819ac5ee3f38db23931143701f8a6eef63" - integrity sha512-YlP6yI3tM4WbBmL9GCmNDoeQyzcyg1e4W96y/PKMZa5GbyUvkS2+Jc2kwPD+5KcXou3wQZxSPzR3Te5OenaDdg== - dependencies: - "@lerna/package-graph" "4.0.0" - -"@lerna/resolve-symlink@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/resolve-symlink/-/resolve-symlink-4.0.0.tgz#6d006628a210c9b821964657a9e20a8c9a115e14" - integrity sha512-RtX8VEUzqT+uLSCohx8zgmjc6zjyRlh6i/helxtZTMmc4+6O4FS9q5LJas2uGO2wKvBlhcD6siibGt7dIC3xZA== - dependencies: - fs-extra "^9.1.0" - npmlog "^4.1.2" - read-cmd-shim "^2.0.0" - -"@lerna/rimraf-dir@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/rimraf-dir/-/rimraf-dir-4.0.0.tgz#2edf3b62d4eb0ef4e44e430f5844667d551ec25a" - integrity sha512-QNH9ABWk9mcMJh2/muD9iYWBk1oQd40y6oH+f3wwmVGKYU5YJD//+zMiBI13jxZRtwBx0vmBZzkBkK1dR11cBg== - dependencies: - "@lerna/child-process" "4.0.0" - npmlog "^4.1.2" - path-exists "^4.0.0" - rimraf "^3.0.2" - -"@lerna/run-lifecycle@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/run-lifecycle/-/run-lifecycle-4.0.0.tgz#e648a46f9210a9bcd7c391df6844498cb5079334" - integrity sha512-IwxxsajjCQQEJAeAaxF8QdEixfI7eLKNm4GHhXHrgBu185JcwScFZrj9Bs+PFKxwb+gNLR4iI5rpUdY8Y0UdGQ== - dependencies: - "@lerna/npm-conf" "4.0.0" - npm-lifecycle "^3.1.5" - npmlog "^4.1.2" - -"@lerna/run-topologically@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/run-topologically/-/run-topologically-4.0.0.tgz#af846eeee1a09b0c2be0d1bfb5ef0f7b04bb1827" - integrity sha512-EVZw9hGwo+5yp+VL94+NXRYisqgAlj0jWKWtAIynDCpghRxCE5GMO3xrQLmQgqkpUl9ZxQFpICgYv5DW4DksQA== - dependencies: - "@lerna/query-graph" "4.0.0" - p-queue "^6.6.2" - -"@lerna/run@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/run/-/run-4.0.0.tgz#4bc7fda055a729487897c23579694f6183c91262" - integrity sha512-9giulCOzlMPzcZS/6Eov6pxE9gNTyaXk0Man+iCIdGJNMrCnW7Dme0Z229WWP/UoxDKg71F2tMsVVGDiRd8fFQ== - dependencies: - "@lerna/command" "4.0.0" - "@lerna/filter-options" "4.0.0" - "@lerna/npm-run-script" "4.0.0" - "@lerna/output" "4.0.0" - "@lerna/profiler" "4.0.0" - "@lerna/run-topologically" "4.0.0" - "@lerna/timer" "4.0.0" - "@lerna/validation-error" "4.0.0" - p-map "^4.0.0" - -"@lerna/symlink-binary@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/symlink-binary/-/symlink-binary-4.0.0.tgz#21009f62d53a425f136cb4c1a32c6b2a0cc02d47" - integrity sha512-zualodWC4q1QQc1pkz969hcFeWXOsVYZC5AWVtAPTDfLl+TwM7eG/O6oP+Rr3fFowspxo6b1TQ6sYfDV6HXNWA== - dependencies: - "@lerna/create-symlink" "4.0.0" - "@lerna/package" "4.0.0" - fs-extra "^9.1.0" - p-map "^4.0.0" - -"@lerna/symlink-dependencies@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/symlink-dependencies/-/symlink-dependencies-4.0.0.tgz#8910eca084ae062642d0490d8972cf2d98e9ebbd" - integrity sha512-BABo0MjeUHNAe2FNGty1eantWp8u83BHSeIMPDxNq0MuW2K3CiQRaeWT3EGPAzXpGt0+hVzBrA6+OT0GPn7Yuw== - dependencies: - "@lerna/create-symlink" "4.0.0" - "@lerna/resolve-symlink" "4.0.0" - "@lerna/symlink-binary" "4.0.0" - fs-extra "^9.1.0" - p-map "^4.0.0" - p-map-series "^2.1.0" - -"@lerna/timer@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/timer/-/timer-4.0.0.tgz#a52e51bfcd39bfd768988049ace7b15c1fd7a6da" - integrity sha512-WFsnlaE7SdOvjuyd05oKt8Leg3ENHICnvX3uYKKdByA+S3g+TCz38JsNs7OUZVt+ba63nC2nbXDlUnuT2Xbsfg== - -"@lerna/validation-error@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/validation-error/-/validation-error-4.0.0.tgz#af9d62fe8304eaa2eb9a6ba1394f9aa807026d35" - integrity sha512-1rBOM5/koiVWlRi3V6dB863E1YzJS8v41UtsHgMr6gB2ncJ2LsQtMKlJpi3voqcgh41H8UsPXR58RrrpPpufyw== - dependencies: - npmlog "^4.1.2" - -"@lerna/version@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/version/-/version-4.0.0.tgz#532659ec6154d8a8789c5ab53878663e244e3228" - integrity sha512-otUgiqs5W9zGWJZSCCMRV/2Zm2A9q9JwSDS7s/tlKq4mWCYriWo7+wsHEA/nPTMDyYyBO5oyZDj+3X50KDUzeA== - dependencies: - "@lerna/check-working-tree" "4.0.0" - "@lerna/child-process" "4.0.0" - "@lerna/collect-updates" "4.0.0" - "@lerna/command" "4.0.0" - "@lerna/conventional-commits" "4.0.0" - "@lerna/github-client" "4.0.0" - "@lerna/gitlab-client" "4.0.0" - "@lerna/output" "4.0.0" - "@lerna/prerelease-id-from-version" "4.0.0" - "@lerna/prompt" "4.0.0" - "@lerna/run-lifecycle" "4.0.0" - "@lerna/run-topologically" "4.0.0" - "@lerna/validation-error" "4.0.0" - chalk "^4.1.0" - dedent "^0.7.0" - load-json-file "^6.2.0" - minimatch "^3.0.4" - npmlog "^4.1.2" - p-map "^4.0.0" - p-pipe "^3.1.0" - p-reduce "^2.1.0" - p-waterfall "^2.1.1" - semver "^7.3.4" - slash "^3.0.0" - temp-write "^4.0.0" - write-json-file "^4.3.0" - -"@lerna/write-log-file@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@lerna/write-log-file/-/write-log-file-4.0.0.tgz#18221a38a6a307d6b0a5844dd592ad53fa27091e" - integrity sha512-XRG5BloiArpXRakcnPHmEHJp+4AtnhRtpDIHSghmXD5EichI1uD73J7FgPp30mm2pDRq3FdqB0NbwSEsJ9xFQg== - dependencies: - npmlog "^4.1.2" - write-file-atomic "^3.0.3" - -"@mapbox/geojsonhint@*": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@mapbox/geojsonhint/-/geojsonhint-2.0.1.tgz#32dac7300f04b3ebaec74b5ba9853dfb42532354" - dependencies: - concat-stream "~1.5.1" - jsonlint-lines "1.7.1" - minimist "1.2.0" - vfile "2.0.0" - vfile-reporter "3.0.0" - -"@monorepolint/cli@^0.5.0-alpha.20+fb5a530": - version "0.5.0-alpha.20" - resolved "https://registry.npmjs.org/@monorepolint/cli/-/cli-0.5.0-alpha.20.tgz#9494843de95bd7767041aa7d2add3f9d0a85b410" - integrity sha512-1kuyw+KXqMghN4n2JkTjqwnXbftPkOfmsMid6bN2+dDTN7CIKr9goXqbX8/7/SWkst5tK8AOyPku3ODcsWUjVA== - dependencies: - "@monorepolint/core" "^0.5.0-alpha.20+fb5a530" - "@monorepolint/utils" "^0.5.0-alpha.20+fb5a530" - chalk "^2.4.1" - yargs "^14.0.0" - -"@monorepolint/core@^0.5.0-alpha.20+fb5a530": - version "0.5.0-alpha.20" - resolved "https://registry.npmjs.org/@monorepolint/core/-/core-0.5.0-alpha.20.tgz#10fa595936ab244a8f540718f936165768d71496" - integrity sha512-l7orLrxIJCqwDDohxt2Iv2y5Ib/YSRStPiMUiRNFsE92paL+fO+P1P0wZx7uPPzZ+u75Z1Qqwq/3v483T2zTsQ== - dependencies: - "@monorepolint/utils" "^0.5.0-alpha.20+fb5a530" - camelcase "^5.2.0" - chalk "^2.4.1" - minimatch "^3.0.4" - runtypes "^4.0.0" - tslib "^1.9.0" - -"@monorepolint/rules@^0.5.0-alpha.20+fb5a530": - version "0.5.0-alpha.20" - resolved "https://registry.npmjs.org/@monorepolint/rules/-/rules-0.5.0-alpha.20.tgz#c53d7c6b549c04feef13ab7a2fcea5dda00f259a" - integrity sha512-wCNuLGvm+8tf9aCkIkBBc7ik8LH7shImLoIeq1PtOStN9sc4zrVBxz6jdsyH0/l4CFn+dktrl2SXxM4kPH7H+Q== - dependencies: - "@monorepolint/core" "^0.5.0-alpha.20+fb5a530" - "@monorepolint/utils" "^0.5.0-alpha.20+fb5a530" - globby "^10.0.2" - jest-diff "^24.9.0" - minimatch "^3.0.4" - runtypes "^4.0.0" - -"@monorepolint/utils@^0.5.0-alpha.20+fb5a530": - version "0.5.0-alpha.20" - resolved "https://registry.npmjs.org/@monorepolint/utils/-/utils-0.5.0-alpha.20.tgz#7277cca0d2d1c7bfe3949939c04882a56100d6d1" - integrity sha512-0i2TZm810ORjaFFucftnUwUb4PHSlnjbEKQOuSBlQVl3CltD/01pRULQwPyzTe+6bWqtZQGo85e7rYJJnZdWZw== - dependencies: - glob "^7.1.3" - -"@nodelib/fs.scandir@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" - integrity sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw== - dependencies: - "@nodelib/fs.stat" "2.0.3" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.3", "@nodelib/fs.stat@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3" - integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA== - -"@nodelib/fs.walk@^1.2.3": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz#011b9202a70a6366e436ca5c065844528ab04976" - integrity sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ== - dependencies: - "@nodelib/fs.scandir" "2.1.3" - fastq "^1.6.0" - -"@npmcli/ci-detect@^1.0.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@npmcli/ci-detect/-/ci-detect-1.3.0.tgz#6c1d2c625fb6ef1b9dea85ad0a5afcbef85ef22a" - integrity sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q== - -"@npmcli/git@^2.0.1": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.1.0.tgz#2fbd77e147530247d37f325930d457b3ebe894f6" - integrity sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw== - dependencies: - "@npmcli/promise-spawn" "^1.3.2" - lru-cache "^6.0.0" - mkdirp "^1.0.4" - npm-pick-manifest "^6.1.1" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^2.0.2" - -"@npmcli/installed-package-contents@^1.0.6": - version "1.0.7" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" - integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== - dependencies: - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -"@npmcli/move-file@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" - integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@npmcli/node-gyp@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-1.0.2.tgz#3cdc1f30e9736dbc417373ed803b42b1a0a29ede" - integrity sha512-yrJUe6reVMpktcvagumoqD9r08fH1iRo01gn1u0zoCApa9lnZGEigVKUd2hzsCId4gdtkZZIVscLhNxMECKgRg== - -"@npmcli/promise-spawn@^1.2.0", "@npmcli/promise-spawn@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz#42d4e56a8e9274fba180dabc0aea6e38f29274f5" - integrity sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg== - dependencies: - infer-owner "^1.0.4" - -"@npmcli/run-script@^1.8.2": - version "1.8.5" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-1.8.5.tgz#f250a0c5e1a08a792d775a315d0ff42fc3a51e1d" - integrity sha512-NQspusBCpTjNwNRFMtz2C5MxoxyzlbuJ4YEhxAKrIonTiirKDtatsZictx9RgamQIx6+QuHMNmPl0wQdoESs9A== - dependencies: - "@npmcli/node-gyp" "^1.0.2" - "@npmcli/promise-spawn" "^1.3.2" - infer-owner "^1.0.4" - node-gyp "^7.1.0" - read-package-json-fast "^2.0.1" - -"@octokit/auth-token@^2.4.4": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.4.5.tgz#568ccfb8cb46f36441fac094ce34f7a875b197f3" - integrity sha512-BpGYsPgJt05M7/L/5FoE1PiAbdxXFZkX/3kDYcsvd1v6UhlnE5e96dTDr0ezX/EFwciQxf3cNV0loipsURU+WA== - dependencies: - "@octokit/types" "^6.0.3" - -"@octokit/core@^3.5.0": - version "3.5.1" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.5.1.tgz#8601ceeb1ec0e1b1b8217b960a413ed8e947809b" - integrity sha512-omncwpLVxMP+GLpLPgeGJBF6IWJFjXDS5flY5VbppePYX9XehevbDykRH9PdCdvqt9TS5AOTiDide7h0qrkHjw== - dependencies: - "@octokit/auth-token" "^2.4.4" - "@octokit/graphql" "^4.5.8" - "@octokit/request" "^5.6.0" - "@octokit/request-error" "^2.0.5" - "@octokit/types" "^6.0.3" +"@npmcli/run-script@6.0.2", "@npmcli/run-script@^6.0.0": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-6.0.2.tgz#a25452d45ee7f7fb8c16dfaf9624423c0c0eb885" + integrity sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA== + dependencies: + "@npmcli/node-gyp" "^3.0.0" + "@npmcli/promise-spawn" "^6.0.0" + node-gyp "^9.0.0" + read-package-json-fast "^3.0.0" + which "^3.0.0" + +"@nrwl/devkit@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-16.10.0.tgz#ac8c5b4db00f12c4b817c937be2f7c4eb8f2593c" + integrity sha512-fRloARtsDQoQgQ7HKEy0RJiusg/HSygnmg4gX/0n/Z+SUS+4KoZzvHjXc6T5ZdEiSjvLypJ+HBM8dQzIcVACPQ== + dependencies: + "@nx/devkit" "16.10.0" + +"@nrwl/tao@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-16.10.0.tgz#94642a0380709b8e387e1e33705a5a9624933375" + integrity sha512-QNAanpINbr+Pod6e1xNgFbzK1x5wmZl+jMocgiEFXZ67KHvmbD6MAQQr0MMz+GPhIu7EE4QCTLTyCEMlAG+K5Q== + dependencies: + nx "16.10.0" + tslib "^2.3.0" + +"@nx/devkit@16.10.0", "@nx/devkit@>=16.5.1 < 17": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/devkit/-/devkit-16.10.0.tgz#7e466be2dee2dcb1ccaf286786ca2a0a639aa007" + integrity sha512-IvKQqRJFDDiaj33SPfGd3ckNHhHi6ceEoqCbAP4UuMXOPPVOX6H0KVk+9tknkPb48B7jWIw6/AgOeWkBxPRO5w== + dependencies: + "@nrwl/devkit" "16.10.0" + ejs "^3.1.7" + enquirer "~2.3.6" + ignore "^5.0.4" + semver "7.5.3" + tmp "~0.2.1" + tslib "^2.3.0" + +"@nx/nx-darwin-arm64@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.10.0.tgz#0c73010cac7a502549483b12bad347da9014e6f1" + integrity sha512-YF+MIpeuwFkyvM5OwgY/rTNRpgVAI/YiR0yTYCZR+X3AAvP775IVlusNgQ3oedTBRUzyRnI4Tknj1WniENFsvQ== + +"@nx/nx-darwin-x64@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-darwin-x64/-/nx-darwin-x64-16.10.0.tgz#2ccf270418d552fd0a8e0d6089aee4944315adaa" + integrity sha512-ypi6YxwXgb0kg2ixKXE3pwf5myVNUgWf1CsV5OzVccCM8NzheMO51KDXTDmEpXdzUsfT0AkO1sk5GZeCjhVONg== + +"@nx/nx-freebsd-x64@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.10.0.tgz#c3ee6914256e69493fed9355b0d6661d0e86da44" + integrity sha512-UeEYFDmdbbDkTQamqvtU8ibgu5jQLgFF1ruNb/U4Ywvwutw2d4ruOMl2e0u9hiNja9NFFAnDbvzrDcMo7jYqYw== + +"@nx/nx-linux-arm-gnueabihf@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.10.0.tgz#a961eccbb38acb2da7fc125b29d1fead0b39152f" + integrity sha512-WV3XUC2DB6/+bz1sx+d1Ai9q2Cdr+kTZRN50SOkfmZUQyEBaF6DRYpx/a4ahhxH3ktpNfyY8Maa9OEYxGCBkQA== + +"@nx/nx-linux-arm64-gnu@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.10.0.tgz#795f20072549d03822b5c4639ef438e473dbb541" + integrity sha512-aWIkOUw995V3ItfpAi5FuxQ+1e9EWLS1cjWM1jmeuo+5WtaKToJn5itgQOkvSlPz+HSLgM3VfXMvOFALNk125g== + +"@nx/nx-linux-arm64-musl@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.10.0.tgz#f2428ee6dbe2b2c326e8973f76c97666def33607" + integrity sha512-uO6Gg+irqpVcCKMcEPIQcTFZ+tDI02AZkqkP7koQAjniLEappd8DnUBSQdcn53T086pHpdc264X/ZEpXFfrKWQ== + +"@nx/nx-linux-x64-gnu@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.10.0.tgz#d36c2bcf94d49eaa24e3880ddaf6f1f617de539b" + integrity sha512-134PW/u/arNFAQKpqMJniC7irbChMPz+W+qtyKPAUXE0XFKPa7c1GtlI/wK2dvP9qJDZ6bKf0KtA0U/m2HMUOA== + +"@nx/nx-linux-x64-musl@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.10.0.tgz#78bd2ab97a583b3d4ea3387b67fd7b136907493c" + integrity sha512-q8sINYLdIJxK/iUx9vRk5jWAWb/2O0PAbOJFwv4qkxBv4rLoN7y+otgCZ5v0xfx/zztFgk/oNY4lg5xYjIso2Q== + +"@nx/nx-win32-arm64-msvc@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.10.0.tgz#ef20ec8d0c83d66e73e20df12d2c788b8f866396" + integrity sha512-moJkL9kcqxUdJSRpG7dET3UeLIciwrfP08mzBQ12ewo8K8FzxU8ZUsTIVVdNrwt01CXOdXoweGfdQLjJ4qTURA== + +"@nx/nx-win32-x64-msvc@16.10.0": + version "16.10.0" + resolved "https://registry.yarnpkg.com/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.10.0.tgz#7410a51d0f8be631eec9552f01b2e5946285927c" + integrity sha512-5iV2NKZnzxJwZZ4DM5JVbRG/nkhAbzEskKaLBB82PmYGKzaDHuMHP1lcPoD/rtYMlowZgNA/RQndfKvPBPwmXA== + +"@octokit/auth-token@^3.0.0": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db" + integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ== + +"@octokit/core@^4.2.1": + version "4.2.4" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.4.tgz#d8769ec2b43ff37cc3ea89ec4681a20ba58ef907" + integrity sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ== + dependencies: + "@octokit/auth-token" "^3.0.0" + "@octokit/graphql" "^5.0.0" + "@octokit/request" "^6.0.0" + "@octokit/request-error" "^3.0.0" + "@octokit/types" "^9.0.0" before-after-hook "^2.2.0" universal-user-agent "^6.0.0" -"@octokit/endpoint@^6.0.1": - version "6.0.12" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658" - integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA== +"@octokit/endpoint@^7.0.0": + version "7.0.6" + resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.6.tgz#791f65d3937555141fb6c08f91d618a7d645f1e2" + integrity sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg== dependencies: - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" is-plain-object "^5.0.0" universal-user-agent "^6.0.0" -"@octokit/graphql@^4.5.8": - version "4.6.4" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.6.4.tgz#0c3f5bed440822182e972317122acb65d311a5ed" - integrity sha512-SWTdXsVheRmlotWNjKzPOb6Js6tjSqA2a8z9+glDJng0Aqjzti8MEWOtuT8ZSu6wHnci7LZNuarE87+WJBG4vg== +"@octokit/graphql@^5.0.0": + version "5.0.6" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.6.tgz#9eac411ac4353ccc5d3fca7d76736e6888c5d248" + integrity sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw== dependencies: - "@octokit/request" "^5.6.0" - "@octokit/types" "^6.0.3" + "@octokit/request" "^6.0.0" + "@octokit/types" "^9.0.0" universal-user-agent "^6.0.0" -"@octokit/openapi-types@^7.3.2": - version "7.3.2" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-7.3.2.tgz#065ce49b338043ec7f741316ce06afd4d459d944" - integrity sha512-oJhK/yhl9Gt430OrZOzAl2wJqR0No9445vmZ9Ey8GjUZUpwuu/vmEFP0TDhDXdpGDoxD6/EIFHJEcY8nHXpDTA== +"@octokit/openapi-types@^18.0.0": + version "18.1.1" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-18.1.1.tgz#09bdfdabfd8e16d16324326da5148010d765f009" + integrity sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw== -"@octokit/plugin-enterprise-rest@^6.0.1": +"@octokit/plugin-enterprise-rest@6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== -"@octokit/plugin-paginate-rest@^2.6.2": - version "2.13.5" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.13.5.tgz#e459f9b5dccbe0a53f039a355d5b80c0a2b0dc57" - integrity sha512-3WSAKBLa1RaR/7GG+LQR/tAZ9fp9H9waE9aPXallidyci9oZsfgsLn5M836d3LuDC6Fcym+2idRTBpssHZePVg== +"@octokit/plugin-paginate-rest@^6.1.2": + version "6.1.2" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz#f86456a7a1fe9e58fec6385a85cf1b34072341f8" + integrity sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ== dependencies: - "@octokit/types" "^6.13.0" + "@octokit/tsconfig" "^1.0.2" + "@octokit/types" "^9.2.3" -"@octokit/plugin-request-log@^1.0.2": +"@octokit/plugin-request-log@^1.0.4": version "1.0.4" resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== -"@octokit/plugin-rest-endpoint-methods@5.3.1": - version "5.3.1" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.3.1.tgz#deddce769b4ec3179170709ab42e4e9e6195aaa9" - integrity sha512-3B2iguGmkh6bQQaVOtCsS0gixrz8Lg0v4JuXPqBcFqLKuJtxAUf3K88RxMEf/naDOI73spD+goJ/o7Ie7Cvdjg== +"@octokit/plugin-rest-endpoint-methods@^7.1.2": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz#37a84b171a6cb6658816c82c4082ac3512021797" + integrity sha512-I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA== dependencies: - "@octokit/types" "^6.16.2" - deprecation "^2.3.1" + "@octokit/types" "^10.0.0" -"@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677" - integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg== +"@octokit/request-error@^3.0.0": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69" + integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ== dependencies: - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.6.0": - version "5.6.0" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.0.tgz#6084861b6e4fa21dc40c8e2a739ec5eff597e672" - integrity sha512-4cPp/N+NqmaGQwbh3vUsYqokQIzt7VjsgTYVXiwpUP2pxd5YiZB2XuTedbb0SPtv9XS7nzAKjAuQxmY8/aZkiA== +"@octokit/request@^6.0.0": + version "6.2.8" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.8.tgz#aaf480b32ab2b210e9dadd8271d187c93171d8eb" + integrity sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw== dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.1.0" - "@octokit/types" "^6.16.1" + "@octokit/endpoint" "^7.0.0" + "@octokit/request-error" "^3.0.0" + "@octokit/types" "^9.0.0" is-plain-object "^5.0.0" - node-fetch "^2.6.1" + node-fetch "^2.6.7" universal-user-agent "^6.0.0" -"@octokit/rest@^18.1.0": - version "18.6.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.6.0.tgz#9a8457374c78c2773d3ab3f50aaffc62f3ed4f76" - integrity sha512-MdHuXHDJM7e5sUBe3K9tt7th0cs4csKU5Bb52LRi2oHAeIMrMZ4XqaTrEv660HoUPoM1iDlnj27Ab/Nh3MtwlA== +"@octokit/rest@19.0.11": + version "19.0.11" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.11.tgz#2ae01634fed4bd1fca5b642767205ed3fd36177c" + integrity sha512-m2a9VhaP5/tUw8FwfnW2ICXlXpLPIqxtg3XcAiGMLj/Xhw3RSBfZ8le/466ktO1Gcjr8oXudGnHhxV1TXJgFxw== + dependencies: + "@octokit/core" "^4.2.1" + "@octokit/plugin-paginate-rest" "^6.1.2" + "@octokit/plugin-request-log" "^1.0.4" + "@octokit/plugin-rest-endpoint-methods" "^7.1.2" + +"@octokit/tsconfig@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@octokit/tsconfig/-/tsconfig-1.0.2.tgz#59b024d6f3c0ed82f00d08ead5b3750469125af7" + integrity sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA== + +"@octokit/types@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-10.0.0.tgz#7ee19c464ea4ada306c43f1a45d444000f419a4a" + integrity sha512-Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg== + dependencies: + "@octokit/openapi-types" "^18.0.0" + +"@octokit/types@^9.0.0", "@octokit/types@^9.2.3": + version "9.3.2" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.3.2.tgz#3f5f89903b69f6a2d196d78ec35f888c0013cac5" + integrity sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA== dependencies: - "@octokit/core" "^3.5.0" - "@octokit/plugin-paginate-rest" "^2.6.2" - "@octokit/plugin-request-log" "^1.0.2" - "@octokit/plugin-rest-endpoint-methods" "5.3.1" + "@octokit/openapi-types" "^18.0.0" -"@octokit/types@^6.0.3", "@octokit/types@^6.13.0", "@octokit/types@^6.16.1", "@octokit/types@^6.16.2": - version "6.16.4" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.16.4.tgz#d24f5e1bacd2fe96d61854b5bda0e88cf8288dfe" - integrity sha512-UxhWCdSzloULfUyamfOg4dJxV9B+XjgrIZscI0VCbp4eNrjmorGEw+4qdwcpTsu6DIrm9tQsFQS2pK5QkqQ04A== +"@parcel/watcher@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.0.4.tgz#f300fef4cc38008ff4b8c29d92588eced3ce014b" + integrity sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg== + dependencies: + node-addon-api "^3.2.1" + node-gyp-build "^4.3.0" + +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +"@pkgr/utils@^2.3.1": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.4.2.tgz#9e638bbe9a6a6f165580dc943f138fd3309a2cbc" + integrity sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw== dependencies: - "@octokit/openapi-types" "^7.3.2" + cross-spawn "^7.0.3" + fast-glob "^3.3.0" + is-glob "^4.0.3" + open "^9.1.0" + picocolors "^1.0.0" + tslib "^2.6.0" "@rollup/plugin-babel@^5.3.0": version "5.3.0" @@ -2103,10 +2024,57 @@ dependencies: any-observable "^0.3.0" -"@tootallnate/once@1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== +"@sigstore/bundle@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@sigstore/bundle/-/bundle-1.1.0.tgz#17f8d813b09348b16eeed66a8cf1c3d6bd3d04f1" + integrity sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog== + dependencies: + "@sigstore/protobuf-specs" "^0.2.0" + +"@sigstore/protobuf-specs@^0.2.0": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz#be9ef4f3c38052c43bd399d3f792c97ff9e2277b" + integrity sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A== + +"@sigstore/sign@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@sigstore/sign/-/sign-1.0.0.tgz#6b08ebc2f6c92aa5acb07a49784cb6738796f7b4" + integrity sha512-INxFVNQteLtcfGmcoldzV6Je0sbbfh9I16DM4yJPw3j5+TFP8X6uIiA18mvpEa9yyeycAKgPmOA3X9hVdVTPUA== + dependencies: + "@sigstore/bundle" "^1.1.0" + "@sigstore/protobuf-specs" "^0.2.0" + make-fetch-happen "^11.0.1" + +"@sigstore/tuf@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@sigstore/tuf/-/tuf-1.0.3.tgz#2a65986772ede996485728f027b0514c0b70b160" + integrity sha512-2bRovzs0nJZFlCN3rXirE4gwxCn97JNjMmwpecqlbgV9WcxX7WRuIrgzx/X7Ib7MYRbyUTpBYE0s2x6AmZXnlg== + dependencies: + "@sigstore/protobuf-specs" "^0.2.0" + tuf-js "^1.1.7" + +"@sinclair/typebox@^0.27.8": + version "0.27.8" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" + integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== + +"@tootallnate/once@2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" + integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== + +"@tufjs/canonical-json@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz#eade9fd1f537993bc1f0949f3aea276ecc4fab31" + integrity sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ== + +"@tufjs/models@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@tufjs/models/-/models-1.0.4.tgz#5a689630f6b9dbda338d4b208019336562f176ef" + integrity sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A== + dependencies: + "@tufjs/canonical-json" "1.0.0" + minimatch "^9.0.0" "@turf/bbox@*": version "6.5.0" @@ -2168,6 +2136,13 @@ resolved "https://registry.yarnpkg.com/@types/concaveman/-/concaveman-1.1.3.tgz#ffb07771b29cf764fdafa263d01aa109da1478a3" integrity sha512-G6crIs1efR4OV/Nshgh2w7H0GSsUomloz9Hq0iFysLXsIRX5fHbYGLncIo/RyCljgcpBOqsQdS5e+qJ+ZBVNSg== +"@types/debug@^4.0.0": + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.9.tgz#906996938bc672aaf2fb8c0d3733ae1dda05b005" + integrity sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow== + dependencies: + "@types/ms" "*" + "@types/deep-equal@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@types/deep-equal/-/deep-equal-1.0.1.tgz#71cfabb247c22bcc16d536111f50c0ed12476b03" @@ -2193,6 +2168,11 @@ resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== +"@types/extend@^3.0.0": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@types/extend/-/extend-3.0.2.tgz#cabe436ca01e981f4ec6a49b55effe5e4eb1b8c2" + integrity sha512-CqDQhn7jxaN9zw7zAu926zIx51ZzMaX8U8Wa4jGpKI6jeBr9ejFE68AQ+h+ztfrNJD+leo7K1cLbvMjpHfZSRg== + "@types/geojson-equality@^0.2.0": version "0.2.0" resolved "https://registry.yarnpkg.com/@types/geojson-equality/-/geojson-equality-0.2.0.tgz#2c7d411f534bee6bf2e7689c14c4c6f3dced2a8c" @@ -2214,6 +2194,13 @@ "@types/minimatch" "*" "@types/node" "*" +"@types/hast@^2.0.0": + version "2.3.6" + resolved "https://registry.yarnpkg.com/@types/hast/-/hast-2.3.6.tgz#bb8b05602112a26d22868acb70c4b20984ec7086" + integrity sha512-47rJE80oqPmFdVDCD7IheXBrVdwuBgsYwoczFvKmwfo2Mzsnt+V9OONsYauFmICb6lQPpCuXYJWejBNs4pDJRg== + dependencies: + "@types/unist" "^2" + "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz#42995b446db9a48a11a07ec083499a860e9138ff" @@ -2234,10 +2221,10 @@ "@types/istanbul-lib-coverage" "*" "@types/istanbul-lib-report" "*" -"@types/json-schema@^7.0.3": - version "7.0.6" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.6.tgz#f4c7ec43e81b319a9815115031709f26987891f0" - integrity sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw== +"@types/json-schema@^7.0.12": + version "7.0.14" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.14.tgz#74a97a5573980802f32c8e47b663530ab3b6b7d1" + integrity sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw== "@types/mdast@^3.0.0": version "3.0.10" @@ -2263,20 +2250,30 @@ resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256" integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg== +"@types/ms@*": + version "0.7.32" + resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.32.tgz#f6cd08939ae3ad886fcc92ef7f0109dacddf61ab" + integrity sha512-xPSg0jm4mqgEkNhowKgZFBNtwoEwF6gJ4Dhww+GFpm3IgtNseHQZ5IqdNwnquZEoANxyDAKDRAdVo4Z72VvD/g== + "@types/node@*": version "9.4.6" resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.6.tgz#d8176d864ee48753d053783e4e463aec86b8d82e" -"@types/node@^17.0.2": - version "17.0.8" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.8.tgz#50d680c8a8a78fe30abe6906453b21ad8ab0ad7b" - integrity sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg== +"@types/node@18.11.9": + version "18.11.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.9.tgz#02d013de7058cea16d36168ef2fc653464cfbad4" + integrity sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg== "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA== +"@types/normalize-package-data@^2.4.1": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.2.tgz#9b0e3e8533fe5024ad32d6637eb9589988b6fdca" + integrity sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A== + "@types/object-assign@*": version "4.0.30" resolved "https://registry.yarnpkg.com/@types/object-assign/-/object-assign-4.0.30.tgz#8949371d5a99f4381ee0f1df0a9b7a187e07e652" @@ -2286,6 +2283,11 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== +"@types/parse5@^6.0.0": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-6.0.3.tgz#705bb349e789efa06f43f128cef51240753424cb" + integrity sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g== + "@types/rbush@^3.0.0": version "3.0.0" resolved "https://registry.yarnpkg.com/@types/rbush/-/rbush-3.0.0.tgz#b6887d99b159e87ae23cd14eceff34f139842aa6" @@ -2298,29 +2300,39 @@ dependencies: "@types/node" "*" +"@types/semver@^7.5.0": + version "7.5.4" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.4.tgz#0a41252ad431c473158b22f9bfb9a63df7541cff" + integrity sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ== + "@types/skmeans@^0.11.2": version "0.11.2" resolved "https://registry.yarnpkg.com/@types/skmeans/-/skmeans-0.11.2.tgz#33b74ff650a166ea86ae4644d8ce16c50a93e603" integrity sha512-VFOatc1ITAAaYjslFTow+2qJckJROAa5eUvivcTZ4wnSLELFCVt3ezwC0ENl21A0SfqclhKeK4unthZ3uTBCCg== +"@types/supports-color@^8.0.0": + version "8.1.1" + resolved "https://registry.yarnpkg.com/@types/supports-color/-/supports-color-8.1.1.tgz#1b44b1b096479273adf7f93c75fc4ecc40a61ee4" + integrity sha512-dPWnWsf+kzIG140B8z2w3fr5D03TLWbOAFQl45xUpI3vcizeXriNR5VYkWZ+WTMsUHqZ9Xlt3hrxGNANFyNQfw== + "@types/tape@*": version "4.2.32" resolved "https://registry.yarnpkg.com/@types/tape/-/tape-4.2.32.tgz#1188330d22c4e822648c344faa070277737982d9" dependencies: "@types/node" "*" -"@types/topojson-client@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/topojson-client/-/topojson-client-3.0.0.tgz#2517fae5abbdd3052eb191747c7d0bc268d69918" - integrity sha512-HZH6E8XMhjkDEkkpe3HuIg95COuvjdnyy0EKrh8rAi1f6o/V6P3ly1kGyU2E8bpAffXDd2r+Rk5ceMX4XkqHnA== +"@types/topojson-client@3.1.3": + version "3.1.3" + resolved "https://registry.yarnpkg.com/@types/topojson-client/-/topojson-client-3.1.3.tgz#d710e90f0a4a25bbdbf4fc0c1863f9a6b5023e26" + integrity sha512-liC+dHCxoqQy5bbJMsF59Cx1WZZwbcT084v/5bdp3NWSFUuzQpsm4gbLQh+wlv58Mng4jCsO4p8hWelqGlb7rg== dependencies: "@types/geojson" "*" "@types/topojson-specification" "*" -"@types/topojson-server@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/topojson-server/-/topojson-server-3.0.0.tgz#b668fc808831763320db8f3b339ee168c2e2e5dc" - integrity sha512-OdIgHf+9hbEOdrZEoIaE6staRbCyssznjtggIySUqvWOk9xWK0lodLnn7ks3l8H+wgMTgelEXqyBmAtlyn0fvA== +"@types/topojson-server@3.0.3": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/topojson-server/-/topojson-server-3.0.3.tgz#62eaffa97e3790f63836fca60fa81ce2a13ce1cc" + integrity sha512-Xi903I5D0pu9il0xXRNxugj5MuIAUalZzciGS0FTLbiW4jLyd2jkoVN2g80RavHw39Z8YTFaSdRgp8f8WHbyxg== dependencies: "@types/geojson" "*" "@types/topojson-specification" "*" @@ -2332,11 +2344,21 @@ dependencies: "@types/geojson" "*" +"@types/triple-beam@^1.3.2": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.3.tgz#726ae98a5f6418c8f24f9b0f2a9f81a8664876ae" + integrity sha512-6tOUG+nVHn0cJbVp25JFayS5UE6+xlbcNF9Lo9mU7U0zk3zeUShZied4YEQZjy1JBF043FSkdXw8YkUJuVtB5g== + "@types/unist@*", "@types/unist@^2.0.0": version "2.0.6" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== +"@types/unist@^2": + version "2.0.8" + resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.8.tgz#bb197b9639aa1a04cf464a617fe800cccd92ad5c" + integrity sha512-d0XxK3YTObnWVp6rZuev3c49+j4Lo8g4L1ZRm9z5L0xpoZycUPshHgczK5gsUMaZOstjVYYi09p5gYvUtfChYw== + "@types/unist@^2.0.2", "@types/unist@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e" @@ -2354,72 +2376,74 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^4.8.0": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.9.1.tgz#66758cbe129b965fe9c63b04b405d0cf5280868b" - integrity sha512-QRLDSvIPeI1pz5tVuurD+cStNR4sle4avtHhxA+2uyixWGFjKzJ+EaFVRW6dA/jOgjV5DTAjOxboQkRDE8cRlQ== - dependencies: - "@typescript-eslint/experimental-utils" "4.9.1" - "@typescript-eslint/scope-manager" "4.9.1" - debug "^4.1.1" - functional-red-black-tree "^1.0.1" - regexpp "^3.0.0" - semver "^7.3.2" - tsutils "^3.17.1" - -"@typescript-eslint/experimental-utils@4.9.1": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.9.1.tgz#86633e8395191d65786a808dc3df030a55267ae2" - integrity sha512-c3k/xJqk0exLFs+cWSJxIjqLYwdHCuLWhnpnikmPQD2+NGAx9KjLYlBDcSI81EArh9FDYSL6dslAUSwILeWOxg== - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.9.1" - "@typescript-eslint/types" "4.9.1" - "@typescript-eslint/typescript-estree" "4.9.1" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" - -"@typescript-eslint/parser@^4.8.0": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.9.1.tgz#2d74c4db5dd5117379a9659081a4d1ec02629055" - integrity sha512-Gv2VpqiomvQ2v4UL+dXlQcZ8zCX4eTkoIW+1aGVWT6yTO+6jbxsw7yQl2z2pPl/4B9qa5JXeIbhJpONKjXIy3g== - dependencies: - "@typescript-eslint/scope-manager" "4.9.1" - "@typescript-eslint/types" "4.9.1" - "@typescript-eslint/typescript-estree" "4.9.1" - debug "^4.1.1" - -"@typescript-eslint/scope-manager@4.9.1": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.9.1.tgz#cc2fde310b3f3deafe8436a924e784eaab265103" - integrity sha512-sa4L9yUfD/1sg9Kl8OxPxvpUcqxKXRjBeZxBuZSSV1v13hjfEJkn84n0An2hN8oLQ1PmEl2uA6FkI07idXeFgQ== - dependencies: - "@typescript-eslint/types" "4.9.1" - "@typescript-eslint/visitor-keys" "4.9.1" +"@typescript-eslint/eslint-plugin@^6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.8.0.tgz#06abe4265e7c82f20ade2dcc0e3403c32d4f148b" + integrity sha512-GosF4238Tkes2SHPQ1i8f6rMtG6zlKwMEB0abqSJ3Npvos+doIlc/ATG+vX1G9coDF3Ex78zM3heXHLyWEwLUw== + dependencies: + "@eslint-community/regexpp" "^4.5.1" + "@typescript-eslint/scope-manager" "6.8.0" + "@typescript-eslint/type-utils" "6.8.0" + "@typescript-eslint/utils" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" + debug "^4.3.4" + graphemer "^1.4.0" + ignore "^5.2.4" + natural-compare "^1.4.0" + semver "^7.5.4" + ts-api-utils "^1.0.1" + +"@typescript-eslint/parser@^6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.8.0.tgz#bb2a969d583db242f1ee64467542f8b05c2e28cb" + integrity sha512-5tNs6Bw0j6BdWuP8Fx+VH4G9fEPDxnVI7yH1IAPkQH5RUtvKwRoqdecAPdQXv4rSOADAaz1LFBZvZG7VbXivSg== + dependencies: + "@typescript-eslint/scope-manager" "6.8.0" + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/typescript-estree" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.8.0.tgz#5cac7977385cde068ab30686889dd59879811efd" + integrity sha512-xe0HNBVwCph7rak+ZHcFD6A+q50SMsFwcmfdjs9Kz4qDh5hWhaPhFjRs/SODEhroBI5Ruyvyz9LfwUJ624O40g== + dependencies: + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" + +"@typescript-eslint/type-utils@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.8.0.tgz#50365e44918ca0fd159844b5d6ea96789731e11f" + integrity sha512-RYOJdlkTJIXW7GSldUIHqc/Hkto8E+fZN96dMIFhuTJcQwdRoGN2rEWA8U6oXbLo0qufH7NPElUb+MceHtz54g== + dependencies: + "@typescript-eslint/typescript-estree" "6.8.0" + "@typescript-eslint/utils" "6.8.0" + debug "^4.3.4" + ts-api-utils "^1.0.1" "@typescript-eslint/types@4.33.0": version "4.33.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== -"@typescript-eslint/types@4.9.1": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.9.1.tgz#a1a7dd80e4e5ac2c593bc458d75dd1edaf77faa2" - integrity sha512-fjkT+tXR13ks6Le7JiEdagnwEFc49IkOyys7ueWQ4O8k4quKPwPJudrwlVOJCUQhXo45PrfIvIarcrEjFTNwUA== +"@typescript-eslint/types@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.8.0.tgz#1ab5d4fe1d613e3f65f6684026ade6b94f7e3ded" + integrity sha512-p5qOxSum7W3k+llc7owEStXlGmSl8FcGvhYt8Vjy7FqEnmkCVlM3P57XQEGj58oqaBWDQXbJDZxwUWMS/EAPNQ== -"@typescript-eslint/typescript-estree@4.9.1": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.9.1.tgz#6e5b86ff5a5f66809e1f347469fadeec69ac50bf" - integrity sha512-bzP8vqwX6Vgmvs81bPtCkLtM/Skh36NE6unu6tsDeU/ZFoYthlTXbBmpIrvosgiDKlWTfb2ZpPELHH89aQjeQw== +"@typescript-eslint/typescript-estree@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.8.0.tgz#9565f15e0cd12f55cf5aa0dfb130a6cb0d436ba1" + integrity sha512-ISgV0lQ8XgW+mvv5My/+iTUdRmGspducmQcDw5JxznasXNnZn3SKNrTRuMsEXv+V/O+Lw9AGcQCfVaOPCAk/Zg== dependencies: - "@typescript-eslint/types" "4.9.1" - "@typescript-eslint/visitor-keys" "4.9.1" - debug "^4.1.1" - globby "^11.0.1" - is-glob "^4.0.1" - lodash "^4.17.15" - semver "^7.3.2" - tsutils "^3.17.1" + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.5.4" + ts-api-utils "^1.0.1" "@typescript-eslint/typescript-estree@^4.8.2": version "4.33.0" @@ -2434,6 +2458,19 @@ semver "^7.3.5" tsutils "^3.21.0" +"@typescript-eslint/utils@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.8.0.tgz#d42939c2074c6b59844d0982ce26a51d136c4029" + integrity sha512-dKs1itdE2qFG4jr0dlYLQVppqTE+Itt7GmIf/vX6CSvsW+3ov8PbWauVKyyfNngokhIO9sKZeRGCUo1+N7U98Q== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@types/json-schema" "^7.0.12" + "@types/semver" "^7.5.0" + "@typescript-eslint/scope-manager" "6.8.0" + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/typescript-estree" "6.8.0" + semver "^7.5.4" + "@typescript-eslint/visitor-keys@4.33.0": version "4.33.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz#2a22f77a41604289b7a186586e9ec48ca92ef1dd" @@ -2442,13 +2479,13 @@ "@typescript-eslint/types" "4.33.0" eslint-visitor-keys "^2.0.0" -"@typescript-eslint/visitor-keys@4.9.1": - version "4.9.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.9.1.tgz#d76374a58c4ead9e92b454d186fea63487b25ae1" - integrity sha512-9gspzc6UqLQHd7lXQS7oWs+hrYggspv/rk6zzEMhCbYwPE/sF7oxo7GAjkS35Tdlt7wguIG+ViWCPtVZHz/ybQ== +"@typescript-eslint/visitor-keys@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.8.0.tgz#cffebed56ae99c45eba901c378a6447b06be58b8" + integrity sha512-oqAnbA7c+pgOhW2OhGvxm0t1BULX5peQI/rLsNDpGM78EebV3C9IGbX5HNZabuZ6UQrYveCLjKo8Iy/lLlBkkg== dependencies: - "@typescript-eslint/types" "4.9.1" - eslint-visitor-keys "^2.0.0" + "@typescript-eslint/types" "6.8.0" + eslint-visitor-keys "^3.4.1" "@vue/compiler-core@3.1.2": version "3.1.2" @@ -2461,6 +2498,16 @@ estree-walker "^2.0.1" source-map "^0.6.1" +"@vue/compiler-core@3.3.4": + version "3.3.4" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.3.4.tgz#7fbf591c1c19e1acd28ffd284526e98b4f581128" + integrity sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g== + dependencies: + "@babel/parser" "^7.21.3" + "@vue/shared" "3.3.4" + estree-walker "^2.0.2" + source-map-js "^1.0.2" + "@vue/compiler-dom@3.1.2": version "3.1.2" resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.2.tgz#75a7731bcc5d9718183a3c56c18e992f7c13e7b1" @@ -2469,6 +2516,14 @@ "@vue/compiler-core" "3.1.2" "@vue/shared" "3.1.2" +"@vue/compiler-dom@3.3.4": + version "3.3.4" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz#f56e09b5f4d7dc350f981784de9713d823341151" + integrity sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w== + dependencies: + "@vue/compiler-core" "3.3.4" + "@vue/shared" "3.3.4" + "@vue/compiler-sfc@^3.0.11": version "3.1.2" resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.2.tgz#23ff1e366d887b964899568bffcb11e3d0511fc4" @@ -2492,6 +2547,22 @@ postcss-selector-parser "^6.0.4" source-map "^0.6.1" +"@vue/compiler-sfc@^3.2.37": + version "3.3.4" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz#b19d942c71938893535b46226d602720593001df" + integrity sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ== + dependencies: + "@babel/parser" "^7.20.15" + "@vue/compiler-core" "3.3.4" + "@vue/compiler-dom" "3.3.4" + "@vue/compiler-ssr" "3.3.4" + "@vue/reactivity-transform" "3.3.4" + "@vue/shared" "3.3.4" + estree-walker "^2.0.2" + magic-string "^0.30.0" + postcss "^8.1.10" + source-map-js "^1.0.2" + "@vue/compiler-ssr@3.1.2": version "3.1.2" resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.2.tgz#e33ad0876d9b96f0950e22b0e174b94c1b049d2d" @@ -2500,11 +2571,55 @@ "@vue/compiler-dom" "3.1.2" "@vue/shared" "3.1.2" +"@vue/compiler-ssr@3.3.4": + version "3.3.4" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz#9d1379abffa4f2b0cd844174ceec4a9721138777" + integrity sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ== + dependencies: + "@vue/compiler-dom" "3.3.4" + "@vue/shared" "3.3.4" + +"@vue/reactivity-transform@3.3.4": + version "3.3.4" + resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz#52908476e34d6a65c6c21cd2722d41ed8ae51929" + integrity sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw== + dependencies: + "@babel/parser" "^7.20.15" + "@vue/compiler-core" "3.3.4" + "@vue/shared" "3.3.4" + estree-walker "^2.0.2" + magic-string "^0.30.0" + "@vue/shared@3.1.2": version "3.1.2" resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.2.tgz#1069c0bc7d6f4bd15ccf3a5f3be29450aca368f9" integrity sha512-EmH/poaDWBPJaPILXNI/1fvUbArJQmmTyVCwvvyDYDFnkPoTclAbHRAtyIvqfez7jybTDn077HTNILpxlsoWhg== +"@vue/shared@3.3.4": + version "3.3.4" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.3.4.tgz#06e83c5027f464eef861c329be81454bc8b70780" + integrity sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ== + +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + +"@yarnpkg/parsers@3.0.0-rc.46": + version "3.0.0-rc.46" + resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz#03f8363111efc0ea670e53b0282cd3ef62de4e01" + integrity sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q== + dependencies: + js-yaml "^3.10.0" + tslib "^2.4.0" + +"@zkochan/js-yaml@0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz#975f0b306e705e28b8068a07737fa46d3fc04826" + integrity sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg== + dependencies: + argparse "^2.0.1" + JSONStream@^1.0.3, JSONStream@^1.0.4: version "1.3.2" resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.2.tgz#c102371b6ec3a7cf3b847ca00c20bb0fce4c6dea" @@ -2512,18 +2627,27 @@ JSONStream@^1.0.3, JSONStream@^1.0.4: jsonparse "^1.2.0" through ">=2.2.7 <3" +JSONStream@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" + integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== + dependencies: + jsonparse "^1.2.0" + through ">=2.2.7 <3" + "JSV@>= 4.0.x": version "4.0.2" resolved "https://registry.yarnpkg.com/JSV/-/JSV-4.0.2.tgz#d077f6825571f82132f9dffaed587b4029feff57" -abbrev@1: +abbrev@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -acorn-jsx@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" - integrity sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-node@^1.6.1: version "1.8.2" @@ -2539,12 +2663,12 @@ acorn-walk@^7.0.0: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== -acorn@^6.4.1: - version "6.4.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" - integrity sha1-NYZv1xBSjpLeEM8GAWSY5H454eY= +acorn@8.8.2: + version "8.8.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" + integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== -acorn@^7.0.0, acorn@^7.4.0, acorn@^7.4.1: +acorn@^7.0.0, acorn@^7.4.1: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== @@ -2554,6 +2678,11 @@ acorn@^8.5.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== +acorn@^8.9.0: + version "8.10.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" + integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== + add-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -2566,13 +2695,11 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" -agentkeepalive@^4.1.3: - version "4.1.4" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.1.4.tgz#d928028a4862cb11718e55227872e842a44c945b" - integrity sha512-+V/rGa3EuU74H6wR04plBb7Ks10FbtUQgRj/FQOG7uUIEuaINI+AiqJR1k6t3SVNs7o7ZjIdus6706qqzVq8jQ== +agentkeepalive@^4.2.1: + version "4.5.0" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" + integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== dependencies: - debug "^4.1.0" - depd "^1.1.2" humanize-ms "^1.2.1" aggregate-error@^3.0.0: @@ -2583,7 +2710,7 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.4, ajv@^6.5.5: +ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -2598,10 +2725,6 @@ ansi-colors@^4.1.1: resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== -ansi-escapes@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" - ansi-escapes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.0.0.tgz#ec3e8b4e9f8064fc02c3ac9b65f1c275bda8ef92" @@ -2635,6 +2758,16 @@ ansi-regex@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" @@ -2653,15 +2786,20 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + ansi-styles@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.0.0.tgz#cb102df1c56f5123eab8b67cd7b98027a0279178" -ansi@^0.3.0, ansi@~0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/ansi/-/ansi-0.3.1.tgz#0c42d4fb17160d5a9af1e484bace1c66922c1b21" - integrity sha1-DELU+xcWDVqa8eSEus4cZpIsGyE= - any-observable@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b" @@ -2686,26 +2824,23 @@ append-buffer@^1.0.2: dependencies: buffer-equal "^1.0.0" -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - -aproba@^2.0.0: +"aproba@^1.0.3 || ^2.0.0": version "2.0.0" - resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -are-we-there-yet@~1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" +are-we-there-yet@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" + integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== dependencies: delegates "^1.0.0" - readable-stream "^2.0.6" + readable-stream "^3.6.0" arg@^4.1.0: version "4.1.3" resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" - integrity sha1-Jp/HrVuOQstjyJbVZmAXJhwUQIk= + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== argparse@^1.0.7: version "1.0.9" @@ -2713,6 +2848,11 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" @@ -2727,6 +2867,14 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= +array-buffer-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" + integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== + dependencies: + call-bind "^1.0.2" + is-array-buffer "^3.0.1" + array-differ@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" @@ -2750,6 +2898,29 @@ array-unique@^0.3.2: resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= +array.prototype.every@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/array.prototype.every/-/array.prototype.every-1.1.5.tgz#f8ca86a1a82a91eb5173187ef68935dc47215922" + integrity sha512-FfMQJ+/joFGXpRCltbzV3znaP5QxIhLFySo0fEPn3GuoYlud9LhknMCIxdYKC2qsM/6VHoSp6YGwe3EZXrEcwQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + is-string "^1.0.7" + +arraybuffer.prototype.slice@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" + integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== + dependencies: + array-buffer-byte-length "^1.0.0" + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + get-intrinsic "^1.2.1" + is-array-buffer "^3.0.2" + is-shared-array-buffer "^1.0.2" + arrify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" @@ -2759,23 +2930,6 @@ arrify@^2.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= - -asn1@~0.2.3: - version "0.2.4" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" - integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= - assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" @@ -2786,15 +2940,10 @@ ast-module-types@^2.3.2, ast-module-types@^2.4.0, ast-module-types@^2.7.0, ast-m resolved "https://registry.yarnpkg.com/ast-module-types/-/ast-module-types-2.7.1.tgz#3f7989ef8dfa1fdb82dfe0ab02bdfc7c77a57dd3" integrity sha512-Rnnx/4Dus6fn7fTqdeLEAn5vUll5w7/vts0RN608yFa6si/rDOUonlIIiwugHBFWjylHjxm9owoSZn71KwG4gw== -astral-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" - integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== - -async@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/async/-/async-1.0.0.tgz#f8fc04ca3a13784ade9e1641af98578cfbd647a9" - integrity sha1-+PwEyjoTeErenhZBr5hXjPvWR6k= +async@^3.2.3: + version "3.2.4" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" + integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== asynckit@^0.4.0: version "0.4.0" @@ -2810,23 +2959,19 @@ atob@^2.1.2: resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= - -aws4@^1.8.0: - version "1.9.1" - resolved "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e" - integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug== +available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== -babel-code-frame@^6.22.0: - version "6.26.0" - resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" +axios@^1.0.0: + version "1.5.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.5.1.tgz#11fbaa11fc35f431193a9564109c88c1f27b585f" + integrity sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A== dependencies: - chalk "^1.1.3" - esutils "^2.0.2" - js-tokens "^3.0.2" + follow-redirects "^1.15.0" + form-data "^4.0.0" + proxy-from-env "^1.1.0" babel-plugin-dynamic-import-node@^2.3.3: version "2.3.3" @@ -2868,11 +3013,21 @@ bail@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.2.tgz#f7d6c1731630a9f9f0d4d35ed1f962e2074a1764" +bail@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/bail/-/bail-2.0.2.tgz#d26f5cd8fe5d6f832a31517b9f7c356040ba6d5d" + integrity sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw== + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + base@^0.11.1: version "0.11.2" resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" @@ -2886,13 +3041,6 @@ base@^0.11.1: mixin-deep "^1.2.0" pascalcase "^0.1.1" -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= - dependencies: - tweetnacl "^0.14.3" - before-after-hook@^2.2.0: version "2.2.2" resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" @@ -2905,6 +3053,11 @@ benchmark@*: lodash "^4.17.4" platform "^1.3.3" +big-integer@^1.6.44: + version "1.6.51" + resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" + integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" @@ -2915,7 +3068,16 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -bluebird@^3.4.7, bluebird@^3.7.2: +bl@^4.0.3, bl@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + +bluebird@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== @@ -2941,6 +3103,13 @@ boolean-shapely@*: dependencies: python-shell "^0.4.0" +bplist-parser@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.2.0.tgz#43a9d183e5bf9d545200ceac3e712f79ebbe8d0e" + integrity sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw== + dependencies: + big-integer "^1.6.44" + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -2949,6 +3118,13 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + braces@^2.3.0: version "2.3.2" resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" @@ -2989,6 +3165,16 @@ browserslist@^4.17.5, browserslist@^4.19.1: node-releases "^2.0.1" picocolors "^1.0.0" +browserslist@^4.21.9: + version "4.22.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619" + integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ== + dependencies: + caniuse-lite "^1.0.30001541" + electron-to-chromium "^1.4.535" + node-releases "^2.0.13" + update-browserslist-db "^1.0.13" + buffer-equal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/buffer-equal/-/buffer-equal-1.0.0.tgz#59616b498304d556abd466966b22eeda3eca5fbe" @@ -3002,9 +3188,13 @@ buffer-shims@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" -builtin-modules@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" +buffer@^5.5.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" builtin-modules@^3.1.0: version "3.1.0" @@ -3016,41 +3206,46 @@ builtins@^1.0.3: resolved "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og= -byline@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1" +builtins@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" + integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== + dependencies: + semver "^7.0.0" -byte-size@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-7.0.1.tgz#b1daf3386de7ab9d706b941a748dbfc71130dee3" - integrity sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A== +bundle-name@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-3.0.0.tgz#ba59bcc9ac785fb67ccdbf104a2bf60c099f0e1a" + integrity sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw== + dependencies: + run-applescript "^5.0.0" + +byte-size@8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-8.1.1.tgz#3424608c62d59de5bfda05d31e0313c6174842ae" + integrity sha512-tUkzZWK0M/qdoLEqikxBWe4kumyuwjl3HO6zHTr4yEI23EojPtLYXdG1+AQY7MN0cGyNDvEaJ8wiYQm6P2bPxg== bytes@1: version "1.0.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz#3569ede8ba34315fab99c3e92cb04c7220de1fa8" -cacache@^15.0.5, cacache@^15.2.0: - version "15.2.0" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.2.0.tgz#73af75f77c58e72d8c630a7a2858cb18ef523389" - integrity sha512-uKoJSHmnrqXgthDFx/IU6ED/5xd+NNGe+Bb+kLZy7Ku4P+BaiWEUflAKPZ7eAzsYGcsAGASJZsybXp+quEcHTw== +cacache@^17.0.0: + version "17.1.4" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-17.1.4.tgz#b3ff381580b47e85c6e64f801101508e26604b35" + integrity sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A== dependencies: - "@npmcli/move-file" "^1.0.1" - chownr "^2.0.0" - fs-minipass "^2.0.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^6.0.0" - minipass "^3.1.1" + "@npmcli/fs" "^3.1.0" + fs-minipass "^3.0.0" + glob "^10.2.2" + lru-cache "^7.7.1" + minipass "^7.0.3" minipass-collect "^1.0.2" minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^1.0.3" + minipass-pipeline "^1.2.4" p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.0.2" - unique-filename "^1.1.1" + ssri "^10.0.0" + tar "^6.1.11" + unique-filename "^3.0.0" cache-base@^1.0.1: version "1.0.1" @@ -3072,6 +3267,14 @@ cached-path-relative@^1.0.0: resolved "https://registry.yarnpkg.com/cached-path-relative/-/cached-path-relative-1.1.0.tgz#865576dfef39c0d6a7defde794d078f5308e3ef3" integrity sha512-WF0LihfemtesFcJgO7xfOoOcnWzY/QHR4qeDqV44jPU3HTI54+LnfXK3SA27AVVGCdZFgjjFFaqUA9Jx7dMJZA== +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -3107,30 +3310,29 @@ caniuse-lite@^1.0.30001286: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001299.tgz#d753bf6444ed401eb503cbbe17aa3e1451b5a68c" integrity sha512-iujN4+x7QzqA2NCSrS5VUy+4gLmRd4xv6vbBBsmfVqTx8bLAD8097euLqQgKxSVLvxjSDcvF1T/i9ocgnUFexw== -caporal@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/caporal/-/caporal-1.4.0.tgz#d6087b815e3df97c3a0f55dbb82850fae29ed585" - integrity sha512-3pWfIwKVdIbB/gWmpLloO6iGAXTRi9mcTinPOwvHfzH3BYjOhLgq2XRG3hKtp+F6vBcBXxMgCobUzBAx1d8T4A== - dependencies: - bluebird "^3.4.7" - cli-table3 "^0.5.0" - colorette "^1.0.1" - fast-levenshtein "^2.0.6" - lodash "^4.17.14" - micromist "1.1.0" - prettyjson "^1.2.1" - tabtab "^2.2.2" - winston "^2.3.1" - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" +caniuse-lite@^1.0.30001541: + version "1.0.30001546" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001546.tgz#10fdad03436cfe3cc632d3af7a99a0fb497407f0" + integrity sha512-zvtSJwuQFpewSyRrI3AsftF6rM0X80mZkChIt1spBGEvRglCrjTniXvinc8JKRoqTwXAgvqTImaN9igfSMtUBw== ccount@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== +ccount@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" + integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== + +chalk@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" @@ -3166,6 +3368,19 @@ chalk@^4.0.0, chalk@^4.1.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@^4.0.2, chalk@^4.1.1: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^5.0.1: + version "5.3.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + chalk@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.4.0.tgz#5199a3ddcd0c1efe23bc08c1b027b06176e0c64f" @@ -3179,15 +3394,30 @@ character-entities-html4@^1.0.0: resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-1.1.4.tgz#0e64b0a3753ddbf1fdc044c5fd01d0199a02e125" integrity sha512-HRcDxZuZqMx3/a+qrzxdBKBPUpxWEq9xw2OPZ3a/174ihfrQKVsFhqtthBInFy1zZ9GgZyFXOatNujm8M+El3g== +character-entities-html4@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz#1f1adb940c971a4b22ba39ddca6b618dc6e56b2b" + integrity sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA== + character-entities-legacy@^1.0.0: version "1.1.4" resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1" integrity sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA== +character-entities-legacy@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz#76bc83a90738901d7bc223a9e93759fdd560125b" + integrity sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ== + character-entities@^1.0.0: version "1.2.1" resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-1.2.1.tgz#f76871be5ef66ddb7f8f8e3478ecc374c27d6dca" +character-entities@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" + integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== + character-reference-invalid@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.1.tgz#942835f750e4ec61a308e60c2ef8cc1011202efc" @@ -3212,10 +3442,20 @@ chokidar@^3.4.0: optionalDependencies: fsevents "~2.3.2" -chownr@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== +chokidar@^3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" chownr@^2.0.0: version "2.0.0" @@ -3235,6 +3475,11 @@ ci-info@^2.0.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== +ci-info@^3.2.0, ci-info@^3.6.1: + version "3.9.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + class-utils@^0.3.5: version "0.3.6" resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -3250,12 +3495,12 @@ clean-stack@^2.0.0: resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== -cli-cursor@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" - integrity sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc= +cli-cursor@3.1.0, cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== dependencies: - restore-cursor "^1.0.1" + restore-cursor "^3.1.0" cli-cursor@^2.0.0, cli-cursor@^2.1.0: version "2.1.0" @@ -3263,22 +3508,15 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" +cli-spinners@2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" + integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== -cli-table3@^0.5.0: - version "0.5.1" - resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202" - integrity sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw== - dependencies: - object-assign "^4.1.0" - string-width "^2.1.1" - optionalDependencies: - colors "^1.1.2" +cli-spinners@^2.5.0: + version "2.9.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.1.tgz#9c0b9dad69a6d47cbb4333c14319b060ed395a35" + integrity sha512-jHgecW0pxkonBJdrKsqxgRX9AcG+u/5k0Q7WPDfi8AogLAdwxEkyYYNWwZ5GvVFoFx2uiY1eNcSK00fh+1+FyQ== cli-truncate@^0.2.1: version "0.2.1" @@ -3288,10 +3526,6 @@ cli-truncate@^0.2.1: slice-ansi "0.0.4" string-width "^1.0.1" -cli-width@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" - cli-width@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" @@ -3324,13 +3558,22 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + clone-buffer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" -clone-deep@^4.0.1: +clone-deep@4.0.1: version "4.0.1" - resolved "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" + resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== dependencies: is-plain-object "^2.0.4" @@ -3357,12 +3600,10 @@ cloneable-readable@^1.0.0: process-nextick-args "^1.0.6" through2 "^2.0.1" -cmd-shim@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-4.1.0.tgz#b3a904a6743e9fede4148c6f3800bf2a08135bdd" - integrity sha512-lb9L7EM4I/ZRVuljLPEtUJOP+xiQVknZ4ZMpMgEp4JzNldPb27HU03hi6K1/6CoIuit/Zm/LQXySErFeXxDprw== - dependencies: - mkdirp-infer-owner "^2.0.0" +cmd-shim@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-6.0.1.tgz#a65878080548e1dca760b3aea1e21ed05194da9d" + integrity sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q== code-point-at@^1.0.0: version "1.1.0" @@ -3382,6 +3623,13 @@ color-convert@^1.9.0: dependencies: color-name "^1.1.1" +color-convert@^1.9.3: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -3389,36 +3637,56 @@ color-convert@^2.0.1: dependencies: color-name "~1.1.4" -color-name@^1.1.1, color-name@~1.1.4: +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@^1.0.0, color-name@^1.1.1, color-name@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colorette@^1.0.1, colorette@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" - integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== +color-string@^1.6.0: + version "1.9.1" + resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4" + integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== + dependencies: + color-name "^1.0.0" + simple-swizzle "^0.2.2" -colors@1.0.x: - version "1.0.3" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" - integrity sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs= +color-support@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" + integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== -colors@^1.1.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== +color@^3.1.3: + version "3.2.1" + resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" + integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== + dependencies: + color-convert "^1.9.3" + color-string "^1.6.0" + +colorspace@1.1.x: + version "1.1.4" + resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243" + integrity sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w== + dependencies: + color "^3.1.3" + text-hex "1.0.x" -columnify@^1.5.4: - version "1.5.4" - resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb" +columnify@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" + integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== dependencies: - strip-ansi "^3.0.0" + strip-ansi "^6.0.1" wcwidth "^1.0.0" -combined-stream@^1.0.6, combined-stream@~1.0.6: +combined-stream@^1.0.8: version "1.0.8" - resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== dependencies: delayed-stream "~1.0.0" @@ -3428,7 +3696,17 @@ comma-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea" integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw== -commander@2, commander@^2.12.1, commander@^2.16.0, commander@^2.20.0, commander@^2.20.3, commander@^2.8.1, commander@~2.20.3: +comma-separated-tokens@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz#4e89c9458acb61bc8fef19f4529973b2392839ee" + integrity sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg== + +commander@10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.0.tgz#71797971162cd3cf65f0b9d24eb28f8d303acdf1" + integrity sha512-zS5PnTI22FIRM6ylNW8G4Ap0IEOyk62fhLSD0+uHRT9McRCLGpkVNvao4bjimpK/GShynyQkFFxHhwMcETmduA== + +commander@2, commander@^2.16.0, commander@^2.20.0, commander@^2.20.3, commander@^2.8.1, commander@~2.20.3: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== @@ -3466,7 +3744,7 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concat-stream@^1.4.7, concat-stream@^1.6.0: +concat-stream@^1.6.0: version "1.6.2" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== @@ -3513,17 +3791,10 @@ concaveman@^1.2.1: robust-predicates "^2.0.4" tinyqueue "^2.0.3" -config-chain@^1.1.12: - version "1.1.13" - resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" - integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== - dependencies: - ini "^1.3.4" - proto-list "~1.2.1" - -console-control-strings@^1.0.0, console-control-strings@~1.1.0: +console-control-strings@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== consolidate@^0.16.0: version "0.16.0" @@ -3536,6 +3807,13 @@ continuable-cache@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz#bd727a7faed77e71ff3985ac93351a912733ad0f" +conventional-changelog-angular@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz#a9a9494c28b7165889144fd5b91573c4aa9ca541" + integrity sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg== + dependencies: + compare-func "^2.0.0" + conventional-changelog-angular@^5.0.12: version "5.0.12" resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz#c979b8b921cbfe26402eb3da5bbfda02d865a2b9" @@ -3581,7 +3859,24 @@ conventional-changelog-conventionalcommits@^4.5.0: lodash "^4.17.15" q "^1.5.1" -conventional-changelog-core@^4.2.1, conventional-changelog-core@^4.2.2: +conventional-changelog-core@5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-5.0.1.tgz#3c331b155d5b9850f47b4760aeddfc983a92ad49" + integrity sha512-Rvi5pH+LvgsqGwZPZ3Cq/tz4ty7mjijhr3qR4m9IBXNbxGGYgTVVO+duXzz9aArmHxFtwZ+LRkrNIMDQzgoY4A== + dependencies: + add-stream "^1.0.0" + conventional-changelog-writer "^6.0.0" + conventional-commits-parser "^4.0.0" + dateformat "^3.0.3" + get-pkg-repo "^4.2.1" + git-raw-commits "^3.0.0" + git-remote-origin-url "^2.0.0" + git-semver-tags "^5.0.0" + normalize-package-data "^3.0.3" + read-pkg "^3.0.0" + read-pkg-up "^3.0.0" + +conventional-changelog-core@^4.2.1: version "4.2.2" resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.2.tgz#f0897df6d53b5d63dec36b9442bd45354f8b3ce5" integrity sha512-7pDpRUiobQDNkwHyJG7k9f6maPo9tfPzkSWbRq97GGiZqisElhnvUZSvyQH20ogfOjntB5aadvv6NNcKL1sReg== @@ -3643,6 +3938,11 @@ conventional-changelog-preset-loader@^2.3.4: resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz#14a855abbffd59027fd602581f1f34d9862ea44c" integrity sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g== +conventional-changelog-preset-loader@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz#14975ef759d22515d6eabae6396c2ae721d4c105" + integrity sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA== + conventional-changelog-writer@^4.0.18: version "4.1.0" resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.1.0.tgz#1ca7880b75aa28695ad33312a1f2366f4b12659f" @@ -3659,6 +3959,19 @@ conventional-changelog-writer@^4.0.18: split "^1.0.0" through2 "^4.0.0" +conventional-changelog-writer@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz#d8d3bb5e1f6230caed969dcc762b1c368a8f7b01" + integrity sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ== + dependencies: + conventional-commits-filter "^3.0.0" + dateformat "^3.0.3" + handlebars "^4.7.7" + json-stringify-safe "^5.0.1" + meow "^8.1.2" + semver "^7.0.0" + split "^1.0.1" + conventional-changelog@3.1.24: version "3.1.24" resolved "https://registry.yarnpkg.com/conventional-changelog/-/conventional-changelog-3.1.24.tgz#ebd180b0fd1b2e1f0095c4b04fd088698348a464" @@ -3684,6 +3997,14 @@ conventional-commits-filter@^2.0.7: lodash.ismatch "^4.4.0" modify-values "^1.0.0" +conventional-commits-filter@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz#bf1113266151dd64c49cd269e3eb7d71d7015ee2" + integrity sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q== + dependencies: + lodash.ismatch "^4.4.0" + modify-values "^1.0.1" + conventional-commits-parser@^3.2.0: version "3.2.1" resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.2.1.tgz#ba44f0b3b6588da2ee9fd8da508ebff50d116ce2" @@ -3697,7 +4018,17 @@ conventional-commits-parser@^3.2.0: through2 "^4.0.0" trim-off-newlines "^1.0.0" -conventional-recommended-bump@6.1.0, conventional-recommended-bump@^6.1.0: +conventional-commits-parser@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz#02ae1178a381304839bce7cea9da5f1b549ae505" + integrity sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg== + dependencies: + JSONStream "^1.3.5" + is-text-path "^1.0.1" + meow "^8.1.2" + split2 "^3.2.2" + +conventional-recommended-bump@6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz#cfa623285d1de554012f2ffde70d9c8a22231f55" integrity sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw== @@ -3711,6 +4042,19 @@ conventional-recommended-bump@6.1.0, conventional-recommended-bump@^6.1.0: meow "^8.0.0" q "^1.5.1" +conventional-recommended-bump@7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-7.0.1.tgz#ec01f6c7f5d0e2491c2d89488b0d757393392424" + integrity sha512-Ft79FF4SlOFvX4PkwFDRnaNiIVX7YbmqGU0RwccUaiGvgp3S0a8ipR2/Qxk31vclDNM+GSdJOVs2KrsUCjblVA== + dependencies: + concat-stream "^2.0.0" + conventional-changelog-preset-loader "^3.0.0" + conventional-commits-filter "^3.0.0" + conventional-commits-parser "^4.0.0" + git-raw-commits "^3.0.0" + git-semver-tags "^5.0.0" + meow "^8.1.2" + convert-source-map@^1.5.0, convert-source-map@^1.7.0: version "1.8.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" @@ -3718,6 +4062,11 @@ convert-source-map@^1.5.0, convert-source-map@^1.7.0: dependencies: safe-buffer "~5.1.1" +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + copy-descriptor@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" @@ -3731,7 +4080,7 @@ core-js-compat@^3.20.0, core-js-compat@^3.20.2: browserslist "^4.19.1" semver "7.0.0" -core-util-is@1.0.2, core-util-is@~1.0.0: +core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= @@ -3747,16 +4096,20 @@ cosmiconfig@^6.0.0: path-type "^4.0.0" yaml "^1.7.2" -cosmiconfig@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" - integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== +cosmiconfig@^8.2.0: + version "8.3.6" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" + integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.2.1" - parse-json "^5.0.0" + import-fresh "^3.3.0" + js-yaml "^4.1.0" + parse-json "^5.2.0" path-type "^4.0.0" - yaml "^1.10.0" + +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== cross-spawn@^6.0.5: version "6.0.5" @@ -3789,11 +4142,6 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" -cycle@1.0.x: - version "1.0.3" - resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2" - integrity sha1-IegLK+hYD5i0aPN5QwZisEbDStI= - d3-array@1: version "1.2.1" resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.1.tgz#d1ca33de2f6ac31efadb8e050a021d7e2396d5dc" @@ -3817,19 +4165,12 @@ dargs@^7.0.0: resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= - dependencies: - assert-plus "^1.0.0" - date-fns@^1.27.2: version "1.30.1" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== -dateformat@^3.0.0: +dateformat@^3.0.0, dateformat@^3.0.3: version "3.0.3" resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== @@ -3839,7 +4180,7 @@ de-indent@^1.0.2: resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" integrity sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0= -debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: +debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1: version "4.3.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== @@ -3859,10 +4200,12 @@ debug@^4.3.1, debug@^4.3.3: dependencies: ms "2.1.2" -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= +debug@^4.3.2, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" decamelize-keys@^1.1.0: version "1.1.0" @@ -3882,12 +4225,19 @@ decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" +decode-named-character-reference@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz#daabac9690874c394c81e4162a0304b35d824f0e" + integrity sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg== + dependencies: + character-entities "^2.0.0" + decode-uri-component@^0.2.0: version "0.2.2" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== -dedent@^0.7.0: +dedent@0.7.0, dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" @@ -3895,6 +4245,30 @@ deep-equal@1.x, deep-equal@^1.0.0, deep-equal@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" +deep-equal@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.2.tgz#9b2635da569a13ba8e1cc159c2f744071b115daa" + integrity sha512-xjVyBf0w5vH0I42jdAZzOKVldmPgSulmiyPRywoyq7HXC9qdgo17kxJE+rdnif5Tz6+pIrpJI8dCpMNLIGkUiA== + dependencies: + array-buffer-byte-length "^1.0.0" + call-bind "^1.0.2" + es-get-iterator "^1.1.3" + get-intrinsic "^1.2.1" + is-arguments "^1.1.1" + is-array-buffer "^3.0.2" + is-date-object "^1.0.5" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + isarray "^2.0.5" + object-is "^1.1.5" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.5.0" + side-channel "^1.0.4" + which-boxed-primitive "^1.0.2" + which-collection "^1.0.1" + which-typed-array "^1.1.9" + deep-is@^0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" @@ -3910,12 +4284,49 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha1-RNLqNnm49NT/ujPwPYZfwee/SVU= +default-browser-id@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-3.0.0.tgz#bee7bbbef1f4e75d31f98f4d3f1556a14cea790c" + integrity sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA== + dependencies: + bplist-parser "^0.2.0" + untildify "^4.0.0" + +default-browser@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/default-browser/-/default-browser-4.0.0.tgz#53c9894f8810bf86696de117a6ce9085a3cbc7da" + integrity sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA== + dependencies: + bundle-name "^3.0.0" + default-browser-id "^3.0.0" + execa "^7.1.1" + titleize "^3.0.0" + defaults@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" dependencies: clone "^1.0.2" +define-data-property@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.0.tgz#0db13540704e1d8d479a0656cf781267531b9451" + integrity sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + +define-lazy-prop@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz#dbb19adfb746d7fc6d734a06b72f4a00d021255f" + integrity sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg== + define-properties@^1.1.2, define-properties@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" @@ -3923,6 +4334,15 @@ define-properties@^1.1.2, define-properties@^1.1.3: dependencies: object-keys "^1.0.12" +define-properties@^1.1.4, define-properties@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== + dependencies: + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + define-property@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" @@ -3949,6 +4369,11 @@ defined@^1.0.0, defined@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" +defined@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.1.tgz#c0b9db27bfaffd95d6f61399419b893df0f91ebf" + integrity sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q== + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -3961,11 +4386,6 @@ density-clustering@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/density-clustering/-/density-clustering-1.3.0.tgz#dc9f59c8f0ab97e1624ac64930fd3194817dcac5" -depd@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= - dependency-tree@^8.1.2: version "8.1.2" resolved "https://registry.yarnpkg.com/dependency-tree/-/dependency-tree-8.1.2.tgz#c9e652984f53bd0239bc8a3e50cbd52f05b2e770" @@ -3977,11 +4397,16 @@ dependency-tree@^8.1.2: precinct "^8.0.0" typescript "^3.9.7" -deprecation@^2.0.0, deprecation@^2.3.1: +deprecation@^2.0.0: version "2.3.1" resolved "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== +dequal@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + detect-indent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" @@ -4082,28 +4507,26 @@ detective@^5.2.0: defined "^1.0.0" minimist "^1.1.1" -dezalgo@^1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" - integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= - dependencies: - asap "^2.0.0" - wrappy "1" - diff-sequences@^24.9.0: version "24.9.0" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-24.9.0.tgz#5715d6244e2aa65f48bba0bc972db0b0b11e95b5" integrity sha512-Dj6Wk3tWyTE+Fo1rW8v0Xhwk80um6yFYKbuAxc9c3EZxIHFDYwbi34Uk42u1CdnIiVorvt4RmlSDjIPyzGC2ew== -diff@^3.2.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" +diff-sequences@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" + integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== diff@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" integrity sha1-YPOuy4nV+uUgwRqhnvwruYKq3n0= +diff@^5.0.0, diff@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40" + integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw== + dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -4180,6 +4603,52 @@ documentation@^13.2.5: "@vue/compiler-sfc" "^3.0.11" vue-template-compiler "^2.6.12" +documentation@^14.0.2: + version "14.0.2" + resolved "https://registry.yarnpkg.com/documentation/-/documentation-14.0.2.tgz#d8c379ba08835953ba5c3b9bd5f9db66a62e66a3" + integrity sha512-hWoTf8/u4pOjib02L7w94hwmhPfcSwyJNGtlPdGVe8GFyq8HkzcFzQQltaaikKunHEp0YSwDAbwBAO7nxrWIfA== + dependencies: + "@babel/core" "^7.18.10" + "@babel/generator" "^7.18.10" + "@babel/parser" "^7.18.11" + "@babel/traverse" "^7.18.11" + "@babel/types" "^7.18.10" + chalk "^5.0.1" + chokidar "^3.5.3" + diff "^5.1.0" + doctrine-temporary-fork "2.1.0" + git-url-parse "^13.1.0" + github-slugger "1.4.0" + glob "^8.0.3" + globals-docs "^2.4.1" + highlight.js "^11.6.0" + ini "^3.0.0" + js-yaml "^4.1.0" + konan "^2.1.1" + lodash "^4.17.21" + mdast-util-find-and-replace "^2.2.1" + mdast-util-inject "^1.1.0" + micromark-util-character "^1.1.0" + parse-filepath "^1.0.2" + pify "^6.0.0" + read-pkg-up "^9.1.0" + remark "^14.0.2" + remark-gfm "^3.0.1" + remark-html "^15.0.1" + remark-reference-links "^6.0.1" + remark-toc "^8.0.1" + resolve "^1.22.1" + strip-json-comments "^5.0.0" + unist-builder "^3.0.0" + unist-util-visit "^4.1.0" + vfile "^5.3.4" + vfile-reporter "^7.0.4" + vfile-sort "^3.0.0" + yargs "^17.5.1" + optionalDependencies: + "@vue/compiler-sfc" "^3.2.37" + vue-template-compiler "^2.7.8" + dot-prop@^5.1.0: version "5.3.0" resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" @@ -4187,12 +4656,15 @@ dot-prop@^5.1.0: dependencies: is-obj "^2.0.0" -dot-prop@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" - integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== - dependencies: - is-obj "^2.0.0" +dotenv-expand@~10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-10.0.0.tgz#12605d00fb0af6d0a592e6558585784032e4ef37" + integrity sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A== + +dotenv@~16.3.1: + version "16.3.1" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" + integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== dotgitignore@^2.1.0: version "2.1.0" @@ -4202,6 +4674,13 @@ dotgitignore@^2.1.0: find-up "^3.0.0" minimatch "^3.0.4" +dotignore@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/dotignore/-/dotignore-0.1.2.tgz#f942f2200d28c3a76fbdd6f0ee9f3257c8a2e905" + integrity sha512-UGGGWfSauusaVJC+8fgV+NVvBXkCTmVv7sk6nojDZZvuOUNGUy0Zk4UpHQD6EDjS0jpBwcACvH4eofvyzBcRDw== + dependencies: + minimatch "^3.0.4" + duplexer2@^0.1.2, duplexer2@~0.1.0: version "0.1.4" resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" @@ -4225,19 +4704,28 @@ earcut@^2.0.0: version "2.1.3" resolved "https://registry.yarnpkg.com/earcut/-/earcut-2.1.3.tgz#ca579545f351941af7c3d0df49c9f7d34af99b0c" -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + +ejs@^3.1.7: + version "3.1.9" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" + integrity sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ== dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" + jake "^10.8.5" electron-to-chromium@^1.4.17: version "1.4.46" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.46.tgz#c88a6fedc766589826db0481602a888864ade1ca" integrity sha512-UtV0xUA/dibCKKP2JMxOpDtXR74zABevuUEH4K0tvduFSIoxRVcYmQsbB51kXsFTX8MmOyWMt8tuZAlmDOqkrQ== +electron-to-chromium@^1.4.535: + version "1.4.543" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.543.tgz#51116ffc9fba1ee93514d6a40d34676aa6d7d1c4" + integrity sha512-t2ZP4AcGE0iKCCQCBx/K2426crYdxD3YU6l0uK2EO3FZH0pbC4pFz/sZm2ruZsND6hQBTcDWWlo/MLpiOdif5g== + elegant-spinner@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" @@ -4257,12 +4745,22 @@ emoji-regex@^8.0.0: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + emojis-list@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== -encoding@^0.1.12: +enabled@2.0.x: + version "2.0.0" + resolved "https://registry.yarnpkg.com/enabled/-/enabled-2.0.0.tgz#f9dd92ec2d6f4bbc0d5d1e64e21d61cd4665e7c2" + integrity sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ== + +encoding@^0.1.13: version "0.1.13" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== @@ -4275,6 +4773,13 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0: dependencies: once "^1.4.0" +end-of-stream@^1.4.1: + version "1.4.4" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + enhanced-resolve@^5.8.3: version "5.8.3" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz#6d552d465cce0423f5b3d718511ea53826a7b2f0" @@ -4283,7 +4788,7 @@ enhanced-resolve@^5.8.3: graceful-fs "^4.2.4" tapable "^2.2.0" -enquirer@^2.3.5: +enquirer@~2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== @@ -4295,7 +4800,7 @@ env-paths@^2.2.0: resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz#cdca557dc009152917d6166e2febe1f039685e43" integrity sha512-6u0VYSCo/OW6IoD5WCLLy9JUGARbamfSavcNXry/eu8aHVFei6CD3Sw+VGX5alea1i9pgPHW0mbu6Xj0uBh7gA== -envinfo@^7.7.4: +envinfo@7.8.1: version "7.8.1" resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== @@ -4335,14 +4840,85 @@ es-abstract@^1.17.0-next.1, es-abstract@^1.5.0: string.prototype.trimleft "^2.1.1" string.prototype.trimright "^2.1.1" -es-check@^5.1.4: - version "5.1.4" - resolved "https://registry.yarnpkg.com/es-check/-/es-check-5.1.4.tgz#3f92c8fc71a99f0f7cfa04732e3c9a2abdb3b649" - integrity sha512-mPfnJ4af0P0QQ8qODF05eumLJBCUldYwIpMkvu6QMVh6uA0l4C0EwE6eDL/EDrrK2hODzoBprE9zPwilLZiD7A== +es-abstract@^1.22.1: + version "1.22.2" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.2.tgz#90f7282d91d0ad577f505e423e52d4c1d93c1b8a" + integrity sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA== dependencies: - acorn "^6.4.1" - caporal "1.4.0" - glob "^7.1.2" + array-buffer-byte-length "^1.0.0" + arraybuffer.prototype.slice "^1.0.2" + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-set-tostringtag "^2.0.1" + es-to-primitive "^1.2.1" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.1" + get-symbol-description "^1.0.0" + globalthis "^1.0.3" + gopd "^1.0.1" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-proto "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.5" + is-array-buffer "^3.0.2" + is-callable "^1.2.7" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-typed-array "^1.1.12" + is-weakref "^1.0.2" + object-inspect "^1.12.3" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.5.1" + safe-array-concat "^1.0.1" + safe-regex-test "^1.0.0" + string.prototype.trim "^1.2.8" + string.prototype.trimend "^1.0.7" + string.prototype.trimstart "^1.0.7" + typed-array-buffer "^1.0.0" + typed-array-byte-length "^1.0.0" + typed-array-byte-offset "^1.0.0" + typed-array-length "^1.0.4" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.11" + +es-check@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/es-check/-/es-check-7.1.1.tgz#c2f8f609fd136d20e5047a4a185f80167e2498bf" + integrity sha512-rgwR2wdJp437Exq28Emwc4x5+Qn6ORDliN9daWo0wTCg5jOQxJsIZieqxVi4AfDEIN4OwMwYhld9b13mnRocUQ== + dependencies: + acorn "8.8.2" + commander "10.0.0" + fast-glob "^3.2.12" + supports-color "^8.1.1" + winston "^3.8.2" + +es-get-iterator@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6" + integrity sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + has-symbols "^1.0.3" + is-arguments "^1.1.1" + is-map "^2.0.2" + is-set "^2.0.2" + is-string "^1.0.7" + isarray "^2.0.5" + stop-iteration-iterator "^1.0.0" + +es-set-tostringtag@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" + integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + dependencies: + get-intrinsic "^1.1.3" + has "^1.0.3" + has-tostringtag "^1.0.0" es-to-primitive@^1.2.1: version "1.2.1" @@ -4353,6 +4929,34 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +esbuild@~0.18.20: + version "0.18.20" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.18.20.tgz#4709f5a34801b43b799ab7d6d82f7284a9b7a7a6" + integrity sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA== + optionalDependencies: + "@esbuild/android-arm" "0.18.20" + "@esbuild/android-arm64" "0.18.20" + "@esbuild/android-x64" "0.18.20" + "@esbuild/darwin-arm64" "0.18.20" + "@esbuild/darwin-x64" "0.18.20" + "@esbuild/freebsd-arm64" "0.18.20" + "@esbuild/freebsd-x64" "0.18.20" + "@esbuild/linux-arm" "0.18.20" + "@esbuild/linux-arm64" "0.18.20" + "@esbuild/linux-ia32" "0.18.20" + "@esbuild/linux-loong64" "0.18.20" + "@esbuild/linux-mips64el" "0.18.20" + "@esbuild/linux-ppc64" "0.18.20" + "@esbuild/linux-riscv64" "0.18.20" + "@esbuild/linux-s390x" "0.18.20" + "@esbuild/linux-x64" "0.18.20" + "@esbuild/netbsd-x64" "0.18.20" + "@esbuild/openbsd-x64" "0.18.20" + "@esbuild/sunos-x64" "0.18.20" + "@esbuild/win32-arm64" "0.18.20" + "@esbuild/win32-ia32" "0.18.20" + "@esbuild/win32-x64" "0.18.20" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -4367,6 +4971,11 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== +escape-string-regexp@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" + integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== + escodegen@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" @@ -4379,94 +4988,93 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-prettier@^6.15.0: - version "6.15.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9" - integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw== - dependencies: - get-stdin "^6.0.0" +eslint-config-prettier@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz#eb25485946dd0c66cd216a46232dc05451518d1f" + integrity sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw== -eslint-scope@^5.0.0, eslint-scope@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== +eslint-plugin-prettier@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.1.tgz#a3b399f04378f79f066379f544e42d6b73f11515" + integrity sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg== dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" + prettier-linter-helpers "^1.0.0" + synckit "^0.8.5" -eslint-utils@^2.0.0, eslint-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" - integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== +eslint-scope@^7.2.2: + version "7.2.2" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== dependencies: - eslint-visitor-keys "^1.1.0" - -eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== + esrecurse "^4.3.0" + estraverse "^5.2.0" eslint-visitor-keys@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== -eslint@~7.13.0: - version "7.13.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.13.0.tgz#7f180126c0dcdef327bfb54b211d7802decc08da" - integrity sha512-uCORMuOO8tUzJmsdRtrvcGq5qposf7Rw0LwkTJkoDbOycVQtQjmnhZSuLQnozLE4TmAzlMVV45eCHmQ1OpDKUQ== - dependencies: - "@babel/code-frame" "^7.0.0" - "@eslint/eslintrc" "^0.2.1" - ajv "^6.10.0" +eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +eslint@^8.51.0: + version "8.51.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.51.0.tgz#4a82dae60d209ac89a5cff1604fea978ba4950f3" + integrity sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.6.1" + "@eslint/eslintrc" "^2.1.2" + "@eslint/js" "8.51.0" + "@humanwhocodes/config-array" "^0.11.11" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" - debug "^4.0.1" + debug "^4.3.2" doctrine "^3.0.0" - enquirer "^2.3.5" - eslint-scope "^5.1.1" - eslint-utils "^2.1.0" - eslint-visitor-keys "^2.0.0" - espree "^7.3.0" - esquery "^1.2.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.2.2" + eslint-visitor-keys "^3.4.3" + espree "^9.6.1" + esquery "^1.4.2" esutils "^2.0.2" - file-entry-cache "^5.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.0.0" - globals "^12.1.0" - ignore "^4.0.6" - import-fresh "^3.0.0" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + graphemer "^1.4.0" + ignore "^5.2.0" imurmurhash "^0.1.4" is-glob "^4.0.0" - js-yaml "^3.13.1" + is-path-inside "^3.0.3" + js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" - lodash "^4.17.19" - minimatch "^3.0.4" + lodash.merge "^4.6.2" + minimatch "^3.1.2" natural-compare "^1.4.0" - optionator "^0.9.1" - progress "^2.0.0" - regexpp "^3.1.0" - semver "^7.2.1" - strip-ansi "^6.0.0" - strip-json-comments "^3.1.0" - table "^5.2.3" + optionator "^0.9.3" + strip-ansi "^6.0.1" text-table "^0.2.0" - v8-compile-cache "^2.0.3" 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@^7.3.0: - version "7.3.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" - integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g== +espree@^9.6.0, espree@^9.6.1: + version "9.6.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== dependencies: - acorn "^7.4.0" - acorn-jsx "^5.3.1" - eslint-visitor-keys "^1.3.0" + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" esprima@^4.0.0: version "4.0.0" @@ -4477,10 +5085,10 @@ esprima@^4.0.1: resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57" - integrity sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ== +esquery@^1.4.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== dependencies: estraverse "^5.1.0" @@ -4491,10 +5099,6 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estraverse@^4.1.1: - version "4.2.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" - estraverse@^5.1.0, estraverse@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" @@ -4505,7 +5109,7 @@ estree-walker@^1.0.1: resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" integrity sha1-MbxdYSyWtwQQa0d+bdXYqhOMtwA= -estree-walker@^2.0.1: +estree-walker@^2.0.1, estree-walker@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" integrity sha1-UvAQF4wqTBF6d1fP6UKtt9LaTKw= @@ -4519,6 +5123,21 @@ eventemitter3@^4.0.4: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +execa@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.0.0.tgz#4029b0007998a841fbd1032e5f4de86a3c1e3376" + integrity sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + execa@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/execa/-/execa-3.4.0.tgz#c08ed4550ef65d858fac269ffc8572446f37eb89" @@ -4550,10 +5169,20 @@ execa@^5.0.0: signal-exit "^3.0.3" strip-final-newline "^2.0.0" -exit-hook@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" - integrity sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g= +execa@^7.1.1: + version "7.2.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-7.2.0.tgz#657e75ba984f42a70f38928cedc87d6f2d4fe4e9" + integrity sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.1" + human-signals "^4.3.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^3.0.7" + strip-final-newline "^3.0.0" expand-brackets@^2.1.4: version "2.1.4" @@ -4567,6 +5196,11 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" +exponential-backoff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" + integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -4582,20 +5216,11 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -extend@^3.0.0, extend@^3.0.2, extend@~3.0.2: +extend@^3.0.0, extend@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -external-editor@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-1.1.1.tgz#12d7b0db850f7ff7e7081baf4005700060c4600b" - integrity sha1-Etew24UPf/fnCBuvQAVwAGDEYAs= - dependencies: - extend "^3.0.0" - spawn-sync "^1.0.15" - tmp "^0.0.29" - external-editor@^3.0.3: version "3.1.0" resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -4618,25 +5243,22 @@ extglob@^2.0.2: snapdragon "^0.8.1" to-regex "^3.0.1" -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - -extsprintf@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" - -eyes@0.1.x: - version "0.1.8" - resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" - integrity sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A= - fast-deep-equal@^3.1.1: version "3.1.1" resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" integrity sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA== -fast-glob@^3.0.3, fast-glob@^3.1.1: +fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-diff@^1.1.2: + version "1.3.0" + resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" + integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== + +fast-glob@^3.0.3: version "3.2.4" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" integrity sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ== @@ -4648,6 +5270,17 @@ fast-glob@^3.0.3, fast-glob@^3.1.1: micromatch "^4.0.2" picomatch "^2.2.1" +fast-glob@^3.2.12, fast-glob@^3.3.0: + version "3.3.1" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" + integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-glob@^3.2.9: version "3.2.11" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" @@ -4681,7 +5314,19 @@ faye-websocket@~0.10.0: dependencies: websocket-driver ">=0.5.1" -figures@^1.3.5, figures@^1.7.0: +fecha@^4.2.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.3.tgz#4d9ccdbc61e8629b259fdca67e65891448d569fd" + integrity sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw== + +figures@3.2.0, figures@^3.0.0, figures@^3.1.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + dependencies: + escape-string-regexp "^1.0.5" + +figures@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= @@ -4695,19 +5340,19 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" -figures@^3.0.0, figures@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== dependencies: - escape-string-regexp "^1.0.5" + flat-cache "^3.0.4" -file-entry-cache@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" - integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== +filelist@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== dependencies: - flat-cache "^2.0.1" + minimatch "^5.0.1" filing-cabinet@^3.0.1: version "3.1.0" @@ -4780,6 +5425,14 @@ find-up@^5.0.0: locate-path "^6.0.0" path-exists "^4.0.0" +find-up@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" + integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw== + dependencies: + locate-path "^7.1.0" + path-exists "^5.0.0" + find-versions@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-3.2.0.tgz#10297f98030a786829681690545ef659ed1d254e" @@ -4787,19 +5440,24 @@ find-versions@^3.2.0: dependencies: semver-regex "^2.0.0" -flat-cache@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" - integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== +flat-cache@^3.0.4: + version "3.1.1" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.1.1.tgz#a02a15fdec25a8f844ff7cc658f03dd99eb4609b" + integrity sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q== dependencies: - flatted "^2.0.0" - rimraf "2.6.3" - write "1.0.3" + flatted "^3.2.9" + keyv "^4.5.3" + rimraf "^3.0.2" -flatted@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" - integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== +flat@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + +flatted@^3.2.9: + version "3.2.9" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" + integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== flatten@^1.0.2: version "1.0.3" @@ -4813,6 +5471,23 @@ flush-write-stream@^1.0.2: inherits "^2.0.1" readable-stream "^2.0.4" +fn.name@1.x.x: + version "1.1.0" + resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" + integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== + +follow-redirects@^1.15.0: + version "1.15.3" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" + integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== + +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + for-each@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.2.tgz#2c40450b9348e97f281322593ba96704b9abd4d4" @@ -4824,17 +5499,21 @@ for-in@^1.0.2: resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" +foreground-child@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" + integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + dependencies: + cross-spawn "^7.0.0" + signal-exit "^4.0.1" -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== dependencies: asynckit "^0.4.0" - combined-stream "^1.0.6" + combined-stream "^1.0.8" mime-types "^2.1.12" fragment-cache@^0.2.1: @@ -4850,7 +5529,12 @@ fs-access@^1.0.1: dependencies: null-check "^1.0.0" -fs-extra@*, fs-extra@^9.1.0: +fs-constants@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" + integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== + +fs-extra@*: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== @@ -4860,20 +5544,29 @@ fs-extra@*, fs-extra@^9.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-minipass@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== +fs-extra@^11.1.0, fs-extra@^11.1.1: + version "11.1.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d" + integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ== dependencies: - minipass "^2.6.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" -fs-minipass@^2.0.0, fs-minipass@^2.1.0: +fs-minipass@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== dependencies: minipass "^3.0.0" +fs-minipass@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-3.0.3.tgz#79a85981c4dc120065e96f62086bf6f9dc26cc54" + integrity sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw== + dependencies: + minipass "^7.0.3" + fs-mkdirp-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz#0b7815fc3201c6a69e14db98ce098c16935259eb" @@ -4901,33 +5594,34 @@ function-bind@^1.0.2, function-bind@^1.1.1, function-bind@~1.1.0: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -functional-red-black-tree@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" +function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" -gauge@~1.2.5: - version "1.2.7" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-1.2.7.tgz#e9cec5483d3d4ee0ef44b60a7d99e4935e136d93" - integrity sha1-6c7FSD09TuDvRLYKfZnkk14TbZM= - dependencies: - ansi "^0.3.0" - has-unicode "^2.0.0" - lodash.pad "^4.1.0" - lodash.padend "^4.1.0" - lodash.padstart "^4.1.0" - -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" +functions-have-names@^1.2.2, functions-have-names@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== + +gauge@^4.0.3: + version "4.0.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" + integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== + dependencies: + aproba "^1.0.3 || ^2.0.0" + color-support "^1.1.3" + console-control-strings "^1.1.0" + has-unicode "^2.0.1" + signal-exit "^3.0.7" + string-width "^4.2.3" + strip-ansi "^6.0.1" + wide-align "^1.1.5" generic-names@^2.0.1: version "2.0.1" @@ -4982,11 +5676,26 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" + integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-proto "^1.0.1" + has-symbols "^1.0.3" + get-own-enumerable-property-symbols@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + get-pkg-repo@^1.0.0: version "1.4.0" resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d" @@ -4997,7 +5706,17 @@ get-pkg-repo@^1.0.0: parse-github-repo-url "^1.3.0" through2 "^2.0.0" -get-port@^5.0.0, get-port@^5.1.1: +get-pkg-repo@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" + integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== + dependencies: + "@hutson/parse-repository-url" "^3.0.0" + hosted-git-info "^4.0.0" + through2 "^2.0.0" + yargs "^16.2.0" + +get-port@5.1.1, get-port@^5.0.0: version "5.1.1" resolved "https://registry.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== @@ -5006,10 +5725,10 @@ get-stdin@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" -get-stdin@^6.0.0: +get-stream@6.0.0: version "6.0.0" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" - integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.0.tgz#3e0012cb6827319da2706e601a1583e8629a6718" + integrity sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg== get-stream@^5.0.0: version "5.1.0" @@ -5018,23 +5737,31 @@ get-stream@^5.0.0: dependencies: pump "^3.0.0" -get-stream@^6.0.0: +get-stream@^6.0.0, get-stream@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + +get-tsconfig@^4.4.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.0.tgz#06ce112a1463e93196aa90320c35df5039147e34" + integrity sha512-pmjiZ7xtB8URYm74PlGJozDNyhvsVLUcpBa8DZBG3bWHwaHa9bPiRpiSfovw+fjhwONSCWKRyk+JQHEGZmMrzw== + dependencies: + resolve-pkg-maps "^1.0.0" + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg= -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= - dependencies: - assert-plus "^1.0.0" - git-raw-commits@^2.0.8: version "2.0.10" resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.10.tgz#e2255ed9563b1c9c3ea6bd05806410290297bbc1" @@ -5046,6 +5773,15 @@ git-raw-commits@^2.0.8: split2 "^3.0.0" through2 "^4.0.0" +git-raw-commits@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-3.0.0.tgz#5432f053a9744f67e8db03dbc48add81252cfdeb" + integrity sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw== + dependencies: + dargs "^7.0.0" + meow "^8.1.2" + split2 "^3.2.2" + git-remote-origin-url@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" @@ -5061,6 +5797,14 @@ git-semver-tags@^4.0.0, git-semver-tags@^4.1.1: meow "^8.0.0" semver "^6.0.0" +git-semver-tags@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-5.0.1.tgz#db748aa0e43d313bf38dcd68624d8443234e1c15" + integrity sha512-hIvOeZwRbQ+7YEUmCkHqo8FOLQZCEn18yevLHADlFPZY02KJGsu5FZt9YW/lybfK2uhWFI7Qg/07LekJiTv7iA== + dependencies: + meow "^8.1.2" + semver "^7.0.0" + git-up@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/git-up/-/git-up-4.0.1.tgz#cb2ef086653640e721d2042fe3104857d89007c0" @@ -5069,7 +5813,22 @@ git-up@^4.0.0: is-ssh "^1.3.0" parse-url "^5.0.0" -git-url-parse@^11.1.2, git-url-parse@^11.4.4: +git-up@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/git-up/-/git-up-7.0.0.tgz#bace30786e36f56ea341b6f69adfd83286337467" + integrity sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ== + dependencies: + is-ssh "^1.4.0" + parse-url "^8.1.0" + +git-url-parse@13.1.0, git-url-parse@^13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-13.1.0.tgz#07e136b5baa08d59fabdf0e33170de425adf07b4" + integrity sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA== + dependencies: + git-up "^7.0.0" + +git-url-parse@^11.1.2: version "11.4.4" resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-11.4.4.tgz#5d747debc2469c17bc385719f7d0427802d83d77" integrity sha512-Y4o9o7vQngQDIU9IjyCmRJBin5iYjI5u9ZITnddRZpD7dcCFQj2sL2XuMNbLRE4b4B/4ENPsp2Q8P44fjAZ0Pw== @@ -5088,6 +5847,11 @@ github-slugger@1.2.0: dependencies: emoji-regex ">=6.0.0 <=6.1.1" +github-slugger@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.4.0.tgz#206eb96cdb22ee56fdc53a28d5a302338463444e" + integrity sha512-w0dzqw/nt51xMVmlaV1+JRzN+oCa1KfcgGEWhxUG16wbdA+Xnt/yoFO8Z8x/V82ZcZ0wy6ln9QDup5avbhiDhQ== + github-slugger@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.3.0.tgz#9bd0a95c5efdfc46005e82a906ef8e2a059124c9" @@ -5095,6 +5859,18 @@ github-slugger@^1.2.1: dependencies: emoji-regex ">=6.0.0 <=6.1.1" +github-slugger@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-2.0.0.tgz#52cf2f9279a21eb6c59dd385b410f0c0adda8f1a" + integrity sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw== + +glob-parent@5.1.2, glob-parent@^5.1.0, glob-parent@^5.1.2, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" @@ -5102,12 +5878,12 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== +glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== dependencies: - is-glob "^4.0.1" + is-glob "^4.0.3" glob-stream@^6.1.0: version "6.1.0" @@ -5136,6 +5912,62 @@ glob@*, glob@^7.0.0, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7 once "^1.3.0" path-is-absolute "^1.0.0" +glob@7.1.4: + version "7.1.4" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" + integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@^10.2.2: + version "10.3.10" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" + integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.3.5" + minimatch "^9.0.1" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry "^1.10.1" + +glob@^7.2.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@^8.0.1, glob@^8.0.3: + version "8.1.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@^9.2.0: + version "9.3.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-9.3.5.tgz#ca2ed8ca452781a3009685607fdf025a899dfe21" + integrity sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q== + dependencies: + fs.realpath "^1.0.0" + minimatch "^8.0.2" + minipass "^4.2.4" + path-scurry "^1.6.1" + glob@~7.1.2: version "7.1.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" @@ -5152,17 +5984,41 @@ globals-docs@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/globals-docs/-/globals-docs-2.4.0.tgz#f2c647544eb6161c7c38452808e16e693c2dafbb" +globals-docs@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/globals-docs/-/globals-docs-2.4.1.tgz#d16887709f4a15eb22d97e96343591f87a2ee3db" + integrity sha512-qpPnUKkWnz8NESjrCvnlGklsgiQzlq+rcCxoG5uNQ+dNA7cFMCmn231slLAwS2N/PlkzZ3COL8CcS10jXmLHqg== + globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^12.1.0: - version "12.4.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8" - integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg== +globals@^13.19.0: + version "13.23.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02" + integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA== dependencies: - type-fest "^0.8.1" + type-fest "^0.20.2" + +globalthis@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +globby@11.1.0, globby@^11.0.3, globby@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" globby@^10.0.2: version "10.0.2" @@ -5178,30 +6034,6 @@ globby@^10.0.2: merge2 "^1.2.3" slash "^3.0.0" -globby@^11.0.1, globby@^11.0.2: - version "11.0.4" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5" - integrity sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.1.1" - ignore "^5.1.4" - merge2 "^1.3.0" - slash "^3.0.0" - -globby@^11.0.3: - version "11.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - gonzales-pe@^4.2.3: version "4.3.0" resolved "https://registry.yarnpkg.com/gonzales-pe/-/gonzales-pe-4.3.0.tgz#fe9dec5f3c557eead09ff868c65826be54d067b3" @@ -5209,7 +6041,19 @@ gonzales-pe@^4.2.3: dependencies: minimist "^1.2.5" -graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.3: +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +graceful-fs@4.2.11, graceful-fs@^4.2.6: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0: version "4.2.6" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee" integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ== @@ -5219,6 +6063,11 @@ graceful-fs@^4.2.4: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96" integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ== +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== + handlebars@^4.7.6: version "4.7.7" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" @@ -5231,18 +6080,17 @@ handlebars@^4.7.6: optionalDependencies: uglify-js "^3.1.4" -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= - -har-validator@~5.1.3: - version "5.1.3" - resolved "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" - integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== +handlebars@^4.7.7: + version "4.7.8" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" + integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== dependencies: - ajv "^6.5.5" - har-schema "^2.0.0" + minimist "^1.2.5" + neo-async "^2.6.2" + source-map "^0.6.1" + wordwrap "^1.0.0" + optionalDependencies: + uglify-js "^3.1.4" hard-rejection@^2.1.0: version "2.1.0" @@ -5255,10 +6103,23 @@ has-ansi@^2.0.0: dependencies: ansi-regex "^2.0.0" +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== + has-color@~0.1.0: version "0.1.7" resolved "https://registry.yarnpkg.com/has-color/-/has-color-0.1.7.tgz#67144a5260c34fc3cca677d041daf52fe7b78b2f" +has-dynamic-import@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/has-dynamic-import/-/has-dynamic-import-2.0.1.tgz#9bca87846aa264f2ad224fcd014946f5e5182f52" + integrity sha512-X3fbtsZmwb6W7fJGR9o7x65fZoodygCrZ3TVycvghP62yYQfS0t4RS0Qcz+j5tQYUKeSWS09tHkWW6WhFV3XhQ== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -5268,12 +6129,36 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + has-symbols@^1.0.0, has-symbols@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" integrity sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg= -has-unicode@^2.0.0, has-unicode@^2.0.1: +has-symbols@^1.0.2, has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + +has-unicode@2.0.1, has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -5320,11 +6205,48 @@ hash-sum@^2.0.0: resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-2.0.0.tgz#81d01bb5de8ea4a214ad5d6ead1b523460b0b45a" integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg== +hast-util-from-parse5@^7.0.0: + version "7.1.2" + resolved "https://registry.yarnpkg.com/hast-util-from-parse5/-/hast-util-from-parse5-7.1.2.tgz#aecfef73e3ceafdfa4550716443e4eb7b02e22b0" + integrity sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw== + dependencies: + "@types/hast" "^2.0.0" + "@types/unist" "^2.0.0" + hastscript "^7.0.0" + property-information "^6.0.0" + vfile "^5.0.0" + vfile-location "^4.0.0" + web-namespaces "^2.0.0" + hast-util-is-element@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-1.1.0.tgz#3b3ed5159a2707c6137b48637fbfe068e175a425" integrity sha512-oUmNua0bFbdrD/ELDSSEadRVtWZOf3iF6Lbv81naqsIV99RnSCieTbWuWCY8BAeEfKJTKl0gRdokv+dELutHGQ== +hast-util-parse-selector@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-3.1.1.tgz#25ab00ae9e75cbc62cf7a901f68a247eade659e2" + integrity sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA== + dependencies: + "@types/hast" "^2.0.0" + +hast-util-raw@^7.0.0: + version "7.2.3" + resolved "https://registry.yarnpkg.com/hast-util-raw/-/hast-util-raw-7.2.3.tgz#dcb5b22a22073436dbdc4aa09660a644f4991d99" + integrity sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg== + dependencies: + "@types/hast" "^2.0.0" + "@types/parse5" "^6.0.0" + hast-util-from-parse5 "^7.0.0" + hast-util-to-parse5 "^7.0.0" + html-void-elements "^2.0.0" + parse5 "^6.0.0" + unist-util-position "^4.0.0" + unist-util-visit "^4.0.0" + vfile "^5.0.0" + web-namespaces "^2.0.0" + zwitch "^2.0.0" + hast-util-sanitize@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-3.0.2.tgz#b0b783220af528ba8fe6999f092d138908678520" @@ -5332,6 +6254,13 @@ hast-util-sanitize@^3.0.0: dependencies: xtend "^4.0.0" +hast-util-sanitize@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-4.1.0.tgz#d90f8521f5083547095c5c63a7e03150303e0286" + integrity sha512-Hd9tU0ltknMGRDv+d6Ro/4XKzBqQnP/EZrpiTbpFYfXv/uOhWeKc+2uajcbEvAEH98VZd7eII2PiXm13RihnLw== + dependencies: + "@types/hast" "^2.0.0" + hast-util-to-html@^7.0.0: version "7.1.3" resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-7.1.3.tgz#9f339ca9bea71246e565fc79ff7dbfe98bb50f5e" @@ -5348,12 +6277,57 @@ hast-util-to-html@^7.0.0: unist-util-is "^4.0.0" xtend "^4.0.0" +hast-util-to-html@^8.0.0: + version "8.0.4" + resolved "https://registry.yarnpkg.com/hast-util-to-html/-/hast-util-to-html-8.0.4.tgz#0269ef33fa3f6599b260a8dc94f733b8e39e41fc" + integrity sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA== + dependencies: + "@types/hast" "^2.0.0" + "@types/unist" "^2.0.0" + ccount "^2.0.0" + comma-separated-tokens "^2.0.0" + hast-util-raw "^7.0.0" + hast-util-whitespace "^2.0.0" + html-void-elements "^2.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + stringify-entities "^4.0.0" + zwitch "^2.0.4" + +hast-util-to-parse5@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/hast-util-to-parse5/-/hast-util-to-parse5-7.1.0.tgz#c49391bf8f151973e0c9adcd116b561e8daf29f3" + integrity sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw== + dependencies: + "@types/hast" "^2.0.0" + comma-separated-tokens "^2.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + web-namespaces "^2.0.0" + zwitch "^2.0.0" + hast-util-whitespace@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-1.0.4.tgz#e4fe77c4a9ae1cb2e6c25e02df0043d0164f6e41" integrity sha512-I5GTdSfhYfAPNztx2xJRQpG8cuDSNt599/7YUn7Gx/WxNMsG+a835k97TDkFgk123cwjfwINaZknkKkphx/f2A== -he@^1.1.0: +hast-util-whitespace@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz#0ec64e257e6fc216c7d14c8a1b74d27d650b4557" + integrity sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng== + +hastscript@^7.0.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-7.2.0.tgz#0eafb7afb153d047077fa2a833dc9b7ec604d10b" + integrity sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw== + dependencies: + "@types/hast" "^2.0.0" + comma-separated-tokens "^2.0.0" + hast-util-parse-selector "^3.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + +he@^1.1.0, he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== @@ -5363,11 +6337,30 @@ highlight.js@^10.7.2: resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531" integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== +highlight.js@^11.6.0: + version "11.8.0" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-11.8.0.tgz#966518ea83257bae2e7c9a48596231856555bb65" + integrity sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg== + hosted-git-info@^2.1.4: version "2.8.9" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== +hosted-git-info@^3.0.6: + version "3.0.8" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" + integrity sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw== + dependencies: + lru-cache "^6.0.0" + +hosted-git-info@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" + integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== + dependencies: + lru-cache "^6.0.0" + hosted-git-info@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.0.2.tgz#5e425507eede4fea846b7262f0838456c4209961" @@ -5375,12 +6368,24 @@ hosted-git-info@^4.0.1: dependencies: lru-cache "^6.0.0" +hosted-git-info@^6.0.0: + version "6.1.1" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-6.1.1.tgz#629442c7889a69c05de604d52996b74fe6f26d58" + integrity sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w== + dependencies: + lru-cache "^7.5.1" + html-void-elements@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.5.tgz#ce9159494e86d95e45795b166c2021c2cfca4483" integrity sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w== -http-cache-semantics@^4.1.0: +html-void-elements@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-2.0.1.tgz#29459b8b05c200b6c5ee98743c41b979d577549f" + integrity sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A== + +http-cache-semantics@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== @@ -5389,24 +6394,15 @@ http-parser-js@>=0.4.0: version "0.4.10" resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4" -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== +http-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" + integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== dependencies: - "@tootallnate/once" "1" + "@tootallnate/once" "2" agent-base "6" debug "4" -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - https-proxy-agent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" @@ -5425,6 +6421,11 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +human-signals@^4.3.0: + version "4.3.1" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2" + integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ== + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -5472,19 +6473,31 @@ icss-utils@^5.0.0: resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== -ignore-walk@^3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" - integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== +ieee754@^1.1.13: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore-walk@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776" + integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw== dependencies: - minimatch "^3.0.4" + minimatch "^5.0.1" + +ignore-walk@^6.0.0: + version "6.0.3" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-6.0.3.tgz#0fcdb6decaccda35e308a7b0948645dd9523b7bb" + integrity sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA== + dependencies: + minimatch "^9.0.0" -ignore@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== +ignore@^5.0.4, ignore@^5.2.4: + version "5.2.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== -ignore@^5.1.1, ignore@^5.1.4: +ignore@^5.1.1: version "5.1.8" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== @@ -5494,7 +6507,7 @@ ignore@^5.2.0: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== -import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: +import-fresh@^3.1.0, import-fresh@^3.2.1: version "3.2.2" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.2.tgz#fc129c160c5d68235507f4331a6baad186bdbc3e" integrity sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw== @@ -5502,10 +6515,18 @@ import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" -import-local@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6" - integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA== +import-fresh@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +import-local@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" + integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== dependencies: pkg-dir "^4.2.0" resolve-cwd "^3.0.0" @@ -5534,11 +6555,6 @@ indexes-of@^1.0.1: resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" integrity sha1-8w9xbI4r00bHtn0985FVZqfAVgc= -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -5547,78 +6563,73 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -ini@^1.3.2, ini@^1.3.4, ini@^1.3.5: +ini@^1.3.2, ini@^1.3.5, ini@^1.3.8: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -init-package-json@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-2.0.3.tgz#c8ae4f2a4ad353bcbc089e5ffe98a8f1a314e8fd" - integrity sha512-tk/gAgbMMxR6fn1MgMaM1HpU1ryAmBWWitnxG5OhuNXeX0cbpbgV5jA4AIpQJVNoyOfOevTtO6WX+rPs+EFqaQ== +ini@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ini/-/ini-3.0.1.tgz#c76ec81007875bc44d544ff7a11a55d12294102d" + integrity sha512-it4HyVAUTKBc6m8e1iXWvXSTdndF7HbdN713+kvLrymxTaU4AUBWrJ4vEooP+V7fexnVD3LKcBshjGGPefSMUQ== + +init-package-json@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-5.0.0.tgz#030cf0ea9c84cfc1b0dc2e898b45d171393e4b40" + integrity sha512-kBhlSheBfYmq3e0L1ii+VKe3zBTLL5lDCDWR+f9dLmEGSB3MqLlMlsolubSsyI88Bg6EA+BIMlomAnQ1SwgQBw== dependencies: - glob "^7.1.1" - npm-package-arg "^8.1.2" - promzard "^0.3.0" - read "~1.0.1" - read-package-json "^3.0.1" + npm-package-arg "^10.0.0" + promzard "^1.0.0" + read "^2.0.0" + read-package-json "^6.0.0" semver "^7.3.5" validate-npm-package-license "^3.0.4" - validate-npm-package-name "^3.0.0" - -inquirer@^1.0.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-1.2.3.tgz#4dec6f32f37ef7bb0b2ed3f1d1a5c3f545074918" - integrity sha1-TexvMvN+97sLLtPx0aXD9UUHSRg= - dependencies: - ansi-escapes "^1.1.0" - chalk "^1.0.0" - cli-cursor "^1.0.1" - cli-width "^2.0.0" - external-editor "^1.1.0" - figures "^1.3.5" - lodash "^4.3.0" - mute-stream "0.0.6" - pinkie-promise "^2.0.0" - run-async "^2.2.0" - rx "^4.1.0" - string-width "^1.0.1" - strip-ansi "^3.0.0" - through "^2.3.6" + validate-npm-package-name "^5.0.0" -inquirer@^7.3.3: - version "7.3.3" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" - integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== +inquirer@^8.2.4: + version "8.2.6" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" + integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== dependencies: ansi-escapes "^4.2.1" - chalk "^4.1.0" + chalk "^4.1.1" cli-cursor "^3.1.0" cli-width "^3.0.0" external-editor "^3.0.3" figures "^3.0.0" - lodash "^4.17.19" + lodash "^4.17.21" mute-stream "0.0.8" + ora "^5.4.1" run-async "^2.4.0" - rxjs "^6.6.0" + rxjs "^7.5.5" string-width "^4.1.0" strip-ansi "^6.0.0" through "^2.3.6" + wrap-ansi "^6.0.1" + +internal-slot@^1.0.4, internal-slot@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" + integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== + dependencies: + get-intrinsic "^1.2.0" + has "^1.0.3" + side-channel "^1.0.4" interpret@^1.0.0: version "1.4.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== -ip@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= +ip@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" + integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== irregular-plurals@^1.0.0: version "1.4.0" @@ -5656,10 +6667,39 @@ is-alphanumerical@^1.0.0: is-alphabetical "^1.0.0" is-decimal "^1.0.0" +is-arguments@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" + integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" + integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.0" + is-typed-array "^1.1.10" + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" +is-arrayish@^0.3.1: + version "0.3.2" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" + integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== + +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -5667,6 +6707,14 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + is-buffer@^1.1.4, is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -5677,17 +6725,29 @@ is-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== +is-callable@^1.1.3, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + is-callable@^1.1.4, is-callable@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" integrity sha1-9+RrWWiQRW23Tn9ul2yzJz0G+qs= -is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" - integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== +is-ci@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" + integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ== dependencies: - ci-info "^2.0.0" + ci-info "^3.2.0" + +is-core-module@^2.13.0, is-core-module@^2.5.0, is-core-module@^2.8.1, is-core-module@^2.9.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db" + integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ== + dependencies: + has "^1.0.3" is-core-module@^2.2.0: version "2.4.0" @@ -5721,6 +6781,13 @@ is-date-object@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" +is-date-object@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + is-decimal@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.1.tgz#f5fb6a94996ad9e8e3761fbfbd091f1fca8c4e82" @@ -5743,6 +6810,16 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2: is-data-descriptor "^1.0.0" kind-of "^6.0.2" +is-docker@^2.0.0, is-docker@^2.1.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -5797,15 +6874,39 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" +is-glob@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + is-hexadecimal@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.1.tgz#6e084bbc92061fbb0971ec58b6ce6d404e24da69" +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + +is-interactive@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" + integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + is-lambda@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" integrity sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU= +is-map@^2.0.1, is-map@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" + integrity sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg== + is-module@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" @@ -5814,6 +6915,18 @@ is-negated-glob@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz#6910bca5da8c95e784b5751b976cf5a10fee36d2" +is-negative-zero@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" + integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== + +is-number-object@^1.0.4: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" + integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== + dependencies: + has-tostringtag "^1.0.0" + is-number@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" @@ -5848,6 +6961,11 @@ is-odd@^1.0.0: dependencies: is-number "^3.0.0" +is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -5857,6 +6975,11 @@ is-plain-obj@^2.0.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== +is-plain-obj@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0" + integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg== + is-plain-object@^2.0.3, is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" @@ -5887,6 +7010,14 @@ is-regex@^1.0.5: dependencies: has "^1.0.3" +is-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + is-regexp@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" @@ -5903,21 +7034,52 @@ is-relative@^1.0.0: dependencies: is-unc-path "^1.0.0" +is-set@^2.0.1, is-set@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.2.tgz#90755fa4c2562dc1c5d4024760d6119b94ca18ec" + integrity sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g== + +is-shared-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" + integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== + dependencies: + call-bind "^1.0.2" + is-ssh@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.3.0.tgz#ebea1169a2614da392a63740366c3ce049d8dff6" dependencies: protocols "^1.1.0" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" +is-ssh@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" + integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== + dependencies: + protocols "^2.0.1" -is-stream@^2.0.0: +is-stream@2.0.0, is-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== +is-stream@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" + +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + is-symbol@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.3.tgz#38e1014b9e6329be0de9d24a414fd7441ec61937" @@ -5925,6 +7087,13 @@ is-symbol@^1.0.2: dependencies: has-symbols "^1.0.1" +is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + is-text-path@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" @@ -5932,7 +7101,14 @@ is-text-path@^1.0.1: dependencies: text-extensions "^1.0.0" -is-typedarray@^1.0.0, is-typedarray@~1.0.0: +is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.9: + version "1.1.12" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" + integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== + dependencies: + which-typed-array "^1.1.11" + +is-typedarray@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -5942,6 +7118,11 @@ is-unc-path@^1.0.0: dependencies: unc-path-regex "^0.1.2" +is-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== + is-url@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/is-url/-/is-url-1.2.4.tgz#04a4df46d28c4cff3d73d01ff06abeb318a1aa52" @@ -5955,10 +7136,37 @@ is-valid-glob@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-1.0.0.tgz#29bf3eff701be2d4d315dbacc39bc39fe8f601aa" +is-weakmap@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" + integrity sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA== + +is-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + +is-weakset@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.2.tgz#4569d67a747a1ce5a994dfd4ef6dcea76e7c0a1d" + integrity sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + is-windows@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -5968,6 +7176,11 @@ isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" @@ -5984,9 +7197,34 @@ isobject@^3.0.0, isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= -isstream@0.1.x, isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" +jackspeak@^2.3.5: + version "2.3.6" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + +jake@^10.8.5: + version "10.8.7" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" + integrity sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.4" + minimatch "^3.1.2" + +"jest-diff@>=29.4.3 < 30", jest-diff@^29.4.1: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" + integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== + dependencies: + chalk "^4.0.0" + diff-sequences "^29.6.3" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" jest-diff@^24.9.0: version "24.9.0" @@ -6003,6 +7241,11 @@ jest-get-type@^24.9.0: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e" integrity sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q== +jest-get-type@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" + integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== + jest-worker@^26.2.1: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" @@ -6012,16 +7255,19 @@ jest-worker@^26.2.1: merge-stream "^2.0.0" supports-color "^7.0.0" -js-tokens@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" - js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.7.0: +js-yaml@4.1.0, js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +js-yaml@^3.10.0: version "3.13.1" resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -6029,11 +7275,6 @@ js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.7.0: argparse "^1.0.7" esprima "^4.0.0" -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= - jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -6044,6 +7285,11 @@ jsesc@~0.5.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + json-parse-better-errors@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a" @@ -6053,15 +7299,16 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-parse-even-better-errors@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz#2cb2ee33069a78870a0c7e3da560026b89669cf7" + integrity sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" @@ -6072,7 +7319,7 @@ json-stable-stringify@^1.0.0: dependencies: jsonify "~0.0.0" -json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: +json-stringify-safe@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -6090,6 +7337,16 @@ json5@^2.1.2: dependencies: minimist "^1.2.5" +json5@^2.2.2, json5@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + +jsonc-parser@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" + integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== + jsonfile@^6.0.1: version "6.1.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" @@ -6114,15 +7371,6 @@ jsonparse@^1.2.0, jsonparse@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" -jsprim@^1.2.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.2.3" - verror "1.10.0" - jsts@2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/jsts/-/jsts-2.7.1.tgz#a921c0cc9eefeef588bd53e952e0a7782d812d52" @@ -6132,6 +7380,13 @@ jsts@^1.4.0: version "1.6.0" resolved "https://registry.yarnpkg.com/jsts/-/jsts-1.6.0.tgz#ab5d47ca3f9962c4ef94bbe6a317efeacdb41c93" +keyv@^4.5.3: + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -6155,6 +7410,11 @@ kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== +kleur@^4.0.3: + version "4.1.5" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" + integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== + konan@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/konan/-/konan-2.1.1.tgz#eea88f05c56249b78903b952b953393900346dd1" @@ -6163,6 +7423,11 @@ konan@^2.1.1: "@babel/parser" "^7.10.5" "@babel/traverse" "^7.10.5" +kuler@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/kuler/-/kuler-2.0.0.tgz#e2c570a3800388fb44407e851531c1d670b061b3" + integrity sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A== + lazystream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.0.tgz#f6995fe0f820392f61396be89462407bb77168e4" @@ -6175,29 +7440,86 @@ lead@^1.0.0: dependencies: flush-write-stream "^1.0.2" -lerna@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-4.0.0.tgz#b139d685d50ea0ca1be87713a7c2f44a5b678e9e" - integrity sha512-DD/i1znurfOmNJb0OBw66NmNqiM8kF6uIrzrJ0wGE3VNdzeOhz9ziWLYiRaZDGGwgbcjOo6eIfcx9O5Qynz+kg== - dependencies: - "@lerna/add" "4.0.0" - "@lerna/bootstrap" "4.0.0" - "@lerna/changed" "4.0.0" - "@lerna/clean" "4.0.0" - "@lerna/cli" "4.0.0" - "@lerna/create" "4.0.0" - "@lerna/diff" "4.0.0" - "@lerna/exec" "4.0.0" - "@lerna/import" "4.0.0" - "@lerna/info" "4.0.0" - "@lerna/init" "4.0.0" - "@lerna/link" "4.0.0" - "@lerna/list" "4.0.0" - "@lerna/publish" "4.0.0" - "@lerna/run" "4.0.0" - "@lerna/version" "4.0.0" - import-local "^3.0.2" - npmlog "^4.1.2" +lerna@^7.3.0: + version "7.3.0" + resolved "https://registry.yarnpkg.com/lerna/-/lerna-7.3.0.tgz#efecafbdce15694e2f6841256e073a3a2061053e" + integrity sha512-Dt8TH+J+c9+3MhTYcm5OxnNzXb87WG7GPNj3kidjYJjJY7KxIMDNU37qBTYRWA1h3wAeNKBplXVQYUPkGcYgkQ== + dependencies: + "@lerna/child-process" "7.3.0" + "@lerna/create" "7.3.0" + "@npmcli/run-script" "6.0.2" + "@nx/devkit" ">=16.5.1 < 17" + "@octokit/plugin-enterprise-rest" "6.0.1" + "@octokit/rest" "19.0.11" + byte-size "8.1.1" + chalk "4.1.0" + clone-deep "4.0.1" + cmd-shim "6.0.1" + columnify "1.6.0" + conventional-changelog-angular "6.0.0" + conventional-changelog-core "5.0.1" + conventional-recommended-bump "7.0.1" + cosmiconfig "^8.2.0" + dedent "0.7.0" + envinfo "7.8.1" + execa "5.0.0" + fs-extra "^11.1.1" + get-port "5.1.1" + get-stream "6.0.0" + git-url-parse "13.1.0" + glob-parent "5.1.2" + globby "11.1.0" + graceful-fs "4.2.11" + has-unicode "2.0.1" + import-local "3.1.0" + ini "^1.3.8" + init-package-json "5.0.0" + inquirer "^8.2.4" + is-ci "3.0.1" + is-stream "2.0.0" + jest-diff ">=29.4.3 < 30" + js-yaml "4.1.0" + libnpmaccess "7.0.2" + libnpmpublish "7.3.0" + load-json-file "6.2.0" + lodash "^4.17.21" + make-dir "4.0.0" + minimatch "3.0.5" + multimatch "5.0.0" + node-fetch "2.6.7" + npm-package-arg "8.1.1" + npm-packlist "5.1.1" + npm-registry-fetch "^14.0.5" + npmlog "^6.0.2" + nx ">=16.5.1 < 17" + p-map "4.0.0" + p-map-series "2.1.0" + p-pipe "3.1.0" + p-queue "6.6.2" + p-reduce "2.1.0" + p-waterfall "2.1.1" + pacote "^15.2.0" + pify "5.0.0" + read-cmd-shim "4.0.0" + read-package-json "6.0.4" + resolve-from "5.0.0" + rimraf "^4.4.1" + semver "^7.3.8" + signal-exit "3.0.7" + slash "3.0.0" + ssri "^9.0.1" + strong-log-transformer "2.1.0" + tar "6.1.11" + temp-dir "1.0.0" + typescript ">=3 < 6" + upath "2.0.1" + uuid "^9.0.0" + validate-npm-package-license "3.0.4" + validate-npm-package-name "5.0.0" + write-file-atomic "5.0.1" + write-pkg "4.0.0" + yargs "16.2.0" + yargs-parser "20.2.4" levn@^0.4.1: version "0.4.1" @@ -6215,32 +7537,38 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -libnpmaccess@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-4.0.3.tgz#dfb0e5b0a53c315a2610d300e46b4ddeb66e7eec" - integrity sha512-sPeTSNImksm8O2b6/pf3ikv4N567ERYEpeKRPSmqlNt1dTZbvgpJIzg5vAhXHpw2ISBsELFRelk0jEahj1c6nQ== - dependencies: - aproba "^2.0.0" - minipass "^3.1.1" - npm-package-arg "^8.1.2" - npm-registry-fetch "^11.0.0" - -libnpmpublish@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-4.0.2.tgz#be77e8bf5956131bcb45e3caa6b96a842dec0794" - integrity sha512-+AD7A2zbVeGRCFI2aO//oUmapCwy7GHqPXFJh3qpToSRNU+tXKJ2YFUgjt04LPPAf2dlEH95s6EhIHM1J7bmOw== - dependencies: - normalize-package-data "^3.0.2" - npm-package-arg "^8.1.2" - npm-registry-fetch "^11.0.0" - semver "^7.1.3" - ssri "^8.0.1" +libnpmaccess@7.0.2: + version "7.0.2" + resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-7.0.2.tgz#7f056c8c933dd9c8ba771fa6493556b53c5aac52" + integrity sha512-vHBVMw1JFMTgEk15zRsJuSAg7QtGGHpUSEfnbcRL1/gTBag9iEfJbyjpDmdJmwMhvpoLoNBtdAUCdGnaP32hhw== + dependencies: + npm-package-arg "^10.1.0" + npm-registry-fetch "^14.0.3" + +libnpmpublish@7.3.0: + version "7.3.0" + resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-7.3.0.tgz#2ceb2b36866d75a6cd7b4aa748808169f4d17e37" + integrity sha512-fHUxw5VJhZCNSls0KLNEG0mCD2PN1i14gH5elGOgiVnU3VgTcRahagYP2LKI1m0tFCJ+XrAm0zVYyF5RCbXzcg== + dependencies: + ci-info "^3.6.1" + normalize-package-data "^5.0.0" + npm-package-arg "^10.1.0" + npm-registry-fetch "^14.0.3" + proc-log "^3.0.0" + semver "^7.3.7" + sigstore "^1.4.0" + ssri "^10.0.1" lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA= +lines-and-columns@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" + integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w== + lint-staged@^10.0.8: version "10.0.8" resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.0.8.tgz#0f7849cdc336061f25f5d4fcbcfa385701ff4739" @@ -6308,7 +7636,7 @@ livereload-js@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/livereload-js/-/livereload-js-2.3.0.tgz#c3ab22e8aaf5bf3505d80d098cbad67726548c9a" -load-json-file@*, load-json-file@^6.2.0: +load-json-file@*, load-json-file@6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-6.2.0.tgz#5c7770b42cafa97074ca2848707c61662f4251a1" integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== @@ -6375,9 +7703,12 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash._reinterpolate@^3.0.0, lodash._reinterpolate@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" +locate-path@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" + integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA== + dependencies: + p-locate "^6.0.0" lodash.camelcase@^4.3.0: version "4.3.0" @@ -6389,51 +7720,17 @@ lodash.debounce@^4.0.8: resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= -lodash.difference@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c" - integrity sha1-nMtOUF1Ia5FlE0V3KIWi3yf9AXw= - lodash.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" integrity sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc= -lodash.pad@^4.1.0: - version "4.5.1" - resolved "https://registry.yarnpkg.com/lodash.pad/-/lodash.pad-4.5.1.tgz#4330949a833a7c8da22cc20f6a26c4d59debba70" - integrity sha1-QzCUmoM6fI2iLMIPaibE1Z3runA= - -lodash.padend@^4.1.0: - version "4.6.1" - resolved "https://registry.yarnpkg.com/lodash.padend/-/lodash.padend-4.6.1.tgz#53ccba047d06e158d311f45da625f4e49e6f166e" - integrity sha1-U8y6BH0G4VjTEfRdpiX05J5vFm4= - -lodash.padstart@^4.1.0: - version "4.6.1" - resolved "https://registry.yarnpkg.com/lodash.padstart/-/lodash.padstart-4.6.1.tgz#d2e3eebff0d9d39ad50f5cbd1b52a7bce6bb611b" - integrity sha1-0uPuv/DZ05rVD1y9G1KnvOa7YRs= - -lodash.template@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" - integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A== - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.templatesettings "^4.0.0" - -lodash.templatesettings@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz#2b4d4e95ba440d915ff08bc899e4553666713316" - dependencies: - lodash._reinterpolate "~3.0.0" - -lodash.uniq@^4.5.0: - version "4.5.0" - resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash@^4.17.10, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: +lodash@^4.17.10, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.4: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -6451,6 +7748,14 @@ log-symbols@^3.0.0: dependencies: chalk "^2.4.2" +log-symbols@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + dependencies: + chalk "^4.1.0" + is-unicode-supported "^0.1.0" + log-update@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708" @@ -6460,11 +7765,28 @@ log-update@^2.3.0: cli-cursor "^2.0.0" wrap-ansi "^3.0.1" +logform@^2.3.2, logform@^2.4.0: + version "2.5.1" + resolved "https://registry.yarnpkg.com/logform/-/logform-2.5.1.tgz#44c77c34becd71b3a42a3970c77929e52c6ed48b" + integrity sha512-9FyqAm9o9NKKfiAKfZoYo9bGXXuwMkxQiQttkT4YjjVtQVIQtK6LmVtlxmCaFswo6N4AfEkHqZTV0taDtPotNg== + dependencies: + "@colors/colors" "1.5.0" + "@types/triple-beam" "^1.3.2" + fecha "^4.2.0" + ms "^2.1.1" + safe-stable-stringify "^2.3.1" + triple-beam "^1.3.0" + longest-streak@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg== +longest-streak@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" + integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== + loud-rejection@^1.0.0: version "1.6.0" resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" @@ -6486,6 +7808,16 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: + version "7.18.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" + integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== + +"lru-cache@^9.1.1 || ^10.0.0": + version "10.0.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.1.tgz#0a3be479df549cca0e5d693ac402ff19537a6b7a" + integrity sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g== + magic-string@^0.25.7: version "0.25.7" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051" @@ -6493,6 +7825,20 @@ magic-string@^0.25.7: dependencies: sourcemap-codec "^1.4.4" +magic-string@^0.30.0: + version "0.30.4" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.4.tgz#c2c683265fc18dda49b56fc7318d33ca0332c98c" + integrity sha512-Q/TKtsC5BPm0kGqgBIF9oXAs/xEf2vRKiIB4wCRQTJOQIByZ1d+NnUOotvJOvNpi5RNIgVOMC3pOuaP1ZTDlVg== + dependencies: + "@jridgewell/sourcemap-codec" "^1.4.15" + +make-dir@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + make-dir@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -6511,50 +7857,28 @@ make-dir@^3.0.0: make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - integrity sha1-LrLjfqm2fEiR9oShOUeZr0hM96I= - -make-fetch-happen@^8.0.9: - version "8.0.14" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-8.0.14.tgz#aaba73ae0ab5586ad8eaa68bd83332669393e222" - integrity sha512-EsS89h6l4vbfJEtBZnENTOFk8mCRpY5ru36Xe5bcX1KYIli2mkSHqoFsp5O1wMDvTJJzxe/4THpCTtygjeeGWQ== - dependencies: - agentkeepalive "^4.1.3" - cacache "^15.0.5" - http-cache-semantics "^4.1.0" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^6.0.0" - minipass "^3.1.3" - minipass-collect "^1.0.2" - minipass-fetch "^1.3.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - promise-retry "^2.0.1" - socks-proxy-agent "^5.0.0" - ssri "^8.0.0" + integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@^9.0.1: - version "9.0.3" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.0.3.tgz#57bbfb5b859807cd28005ca85aa6a72568675e24" - integrity sha512-uZ/9Cf2vKqsSWZyXhZ9wHHyckBrkntgbnqV68Bfe8zZenlf7D6yuGMXvHZQ+jSnzPkjosuNP1HGasj1J4h8OlQ== +make-fetch-happen@^11.0.0, make-fetch-happen@^11.0.1, make-fetch-happen@^11.0.3, make-fetch-happen@^11.1.1: + version "11.1.1" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz#85ceb98079584a9523d4bf71d32996e7e208549f" + integrity sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w== dependencies: - agentkeepalive "^4.1.3" - cacache "^15.2.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^4.0.1" + agentkeepalive "^4.2.1" + cacache "^17.0.0" + http-cache-semantics "^4.1.1" + http-proxy-agent "^5.0.0" https-proxy-agent "^5.0.0" is-lambda "^1.0.1" - lru-cache "^6.0.0" - minipass "^3.1.3" - minipass-collect "^1.0.2" - minipass-fetch "^1.3.2" + lru-cache "^7.7.1" + minipass "^5.0.0" + minipass-fetch "^3.0.0" minipass-flush "^1.0.5" minipass-pipeline "^1.2.4" - negotiator "^0.6.2" + negotiator "^0.6.3" promise-retry "^2.0.1" - socks-proxy-agent "^5.0.0" - ssri "^8.0.0" + socks-proxy-agent "^7.0.0" + ssri "^10.0.0" map-cache@^0.2.0, map-cache@^0.2.2: version "0.2.2" @@ -6583,6 +7907,11 @@ markdown-table@^2.0.0: dependencies: repeat-string "^1.0.0" +markdown-table@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-3.0.3.tgz#e6331d30e493127e031dd385488b5bd326e4a6bd" + integrity sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw== + matrix-to-grid@*: version "4.0.0" resolved "https://registry.yarnpkg.com/matrix-to-grid/-/matrix-to-grid-4.0.0.tgz#9b22e2ff1cb53629597f1aa51975708620adf2d4" @@ -6597,6 +7926,15 @@ mdast-util-definitions@^4.0.0: dependencies: unist-util-visit "^2.0.0" +mdast-util-definitions@^5.0.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-5.1.2.tgz#9910abb60ac5d7115d6819b57ae0bcef07a3f7a7" + integrity sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA== + dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + unist-util-visit "^4.0.0" + mdast-util-find-and-replace@^1.1.0, mdast-util-find-and-replace@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-1.1.1.tgz#b7db1e873f96f66588c321f1363069abf607d1b5" @@ -6606,6 +7944,16 @@ mdast-util-find-and-replace@^1.1.0, mdast-util-find-and-replace@^1.1.1: unist-util-is "^4.0.0" unist-util-visit-parents "^3.0.0" +mdast-util-find-and-replace@^2.0.0, mdast-util-find-and-replace@^2.2.1: + version "2.2.2" + resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-2.2.2.tgz#cc2b774f7f3630da4bd592f61966fecade8b99b1" + integrity sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw== + dependencies: + "@types/mdast" "^3.0.0" + escape-string-regexp "^5.0.0" + unist-util-is "^5.0.0" + unist-util-visit-parents "^5.0.0" + mdast-util-from-markdown@^0.8.0: version "0.8.5" resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c" @@ -6617,6 +7965,24 @@ mdast-util-from-markdown@^0.8.0: parse-entities "^2.0.0" unist-util-stringify-position "^2.0.0" +mdast-util-from-markdown@^1.0.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-1.3.1.tgz#9421a5a247f10d31d2faed2a30df5ec89ceafcf0" + integrity sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww== + dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + decode-named-character-reference "^1.0.0" + mdast-util-to-string "^3.1.0" + micromark "^3.0.0" + micromark-util-decode-numeric-character-reference "^1.0.0" + micromark-util-decode-string "^1.0.0" + micromark-util-normalize-identifier "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + unist-util-stringify-position "^3.0.0" + uvu "^0.5.0" + mdast-util-gfm-autolink-literal@^0.1.0: version "0.1.3" resolved "https://registry.yarnpkg.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-0.1.3.tgz#9c4ff399c5ddd2ece40bd3b13e5447d84e385fb7" @@ -6626,6 +7992,25 @@ mdast-util-gfm-autolink-literal@^0.1.0: mdast-util-find-and-replace "^1.1.0" micromark "^2.11.3" +mdast-util-gfm-autolink-literal@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-1.0.3.tgz#67a13abe813d7eba350453a5333ae1bc0ec05c06" + integrity sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA== + dependencies: + "@types/mdast" "^3.0.0" + ccount "^2.0.0" + mdast-util-find-and-replace "^2.0.0" + micromark-util-character "^1.0.0" + +mdast-util-gfm-footnote@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-1.0.2.tgz#ce5e49b639c44de68d5bf5399877a14d5020424e" + integrity sha512-56D19KOGbE00uKVj3sgIykpwKL179QsVFwx/DCW0u/0+URsryacI4MAdNJl0dh+u2PSsD9FtxPFbHCzJ78qJFQ== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-to-markdown "^1.3.0" + micromark-util-normalize-identifier "^1.0.0" + mdast-util-gfm-strikethrough@^0.2.0: version "0.2.3" resolved "https://registry.yarnpkg.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-0.2.3.tgz#45eea337b7fff0755a291844fbea79996c322890" @@ -6633,6 +8018,14 @@ mdast-util-gfm-strikethrough@^0.2.0: dependencies: mdast-util-to-markdown "^0.6.0" +mdast-util-gfm-strikethrough@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-1.0.3.tgz#5470eb105b483f7746b8805b9b989342085795b7" + integrity sha512-DAPhYzTYrRcXdMjUtUjKvW9z/FNAMTdU0ORyMcbmkwYNbKocDpdk+PX1L1dQgOID/+vVs1uBQ7ElrBQfZ0cuiQ== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-to-markdown "^1.3.0" + mdast-util-gfm-table@^0.1.0: version "0.1.6" resolved "https://registry.yarnpkg.com/mdast-util-gfm-table/-/mdast-util-gfm-table-0.1.6.tgz#af05aeadc8e5ee004eeddfb324b2ad8c029b6ecf" @@ -6641,6 +8034,16 @@ mdast-util-gfm-table@^0.1.0: markdown-table "^2.0.0" mdast-util-to-markdown "~0.6.0" +mdast-util-gfm-table@^1.0.0: + version "1.0.7" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-table/-/mdast-util-gfm-table-1.0.7.tgz#3552153a146379f0f9c4c1101b071d70bbed1a46" + integrity sha512-jjcpmNnQvrmN5Vx7y7lEc2iIOEytYv7rTvu+MeyAsSHTASGCCRA79Igg2uKssgOs1i1po8s3plW0sTu1wkkLGg== + dependencies: + "@types/mdast" "^3.0.0" + markdown-table "^3.0.0" + mdast-util-from-markdown "^1.0.0" + mdast-util-to-markdown "^1.3.0" + mdast-util-gfm-task-list-item@^0.1.0: version "0.1.6" resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-0.1.6.tgz#70c885e6b9f543ddd7e6b41f9703ee55b084af10" @@ -6648,6 +8051,14 @@ mdast-util-gfm-task-list-item@^0.1.0: dependencies: mdast-util-to-markdown "~0.6.0" +mdast-util-gfm-task-list-item@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-1.0.2.tgz#b280fcf3b7be6fd0cc012bbe67a59831eb34097b" + integrity sha512-PFTA1gzfp1B1UaiJVyhJZA1rm0+Tzn690frc/L8vNX1Jop4STZgOE6bxUhnzdVSB+vm2GU1tIsuQcA9bxTQpMQ== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-to-markdown "^1.3.0" + mdast-util-gfm@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-0.1.2.tgz#8ecddafe57d266540f6881f5c57ff19725bd351c" @@ -6659,12 +8070,33 @@ mdast-util-gfm@^0.1.0: mdast-util-gfm-task-list-item "^0.1.0" mdast-util-to-markdown "^0.6.1" +mdast-util-gfm@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-2.0.2.tgz#e92f4d8717d74bdba6de57ed21cc8b9552e2d0b6" + integrity sha512-qvZ608nBppZ4icQlhQQIAdc6S3Ffj9RGmzwUKUWuEICFnd1LVkN3EktF7ZHAgfcEdvZB5owU9tQgt99e2TlLjg== + dependencies: + mdast-util-from-markdown "^1.0.0" + mdast-util-gfm-autolink-literal "^1.0.0" + mdast-util-gfm-footnote "^1.0.0" + mdast-util-gfm-strikethrough "^1.0.0" + mdast-util-gfm-table "^1.0.0" + mdast-util-gfm-task-list-item "^1.0.0" + mdast-util-to-markdown "^1.0.0" + mdast-util-inject@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mdast-util-inject/-/mdast-util-inject-1.1.0.tgz#db06b8b585be959a2dcd2f87f472ba9b756f3675" dependencies: mdast-util-to-string "^1.0.0" +mdast-util-phrasing@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/mdast-util-phrasing/-/mdast-util-phrasing-3.0.1.tgz#c7c21d0d435d7fb90956038f02e8702781f95463" + integrity sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg== + dependencies: + "@types/mdast" "^3.0.0" + unist-util-is "^5.0.0" + mdast-util-to-hast@^10.0.0: version "10.2.0" resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.2.0.tgz#61875526a017d8857b71abc9333942700b2d3604" @@ -6679,6 +8111,20 @@ mdast-util-to-hast@^10.0.0: unist-util-position "^3.0.0" unist-util-visit "^2.0.0" +mdast-util-to-hast@^12.0.0: + version "12.3.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz#045d2825fb04374e59970f5b3f279b5700f6fb49" + integrity sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw== + dependencies: + "@types/hast" "^2.0.0" + "@types/mdast" "^3.0.0" + mdast-util-definitions "^5.0.0" + micromark-util-sanitize-uri "^1.1.0" + trim-lines "^3.0.0" + unist-util-generated "^2.0.0" + unist-util-position "^4.0.0" + unist-util-visit "^4.0.0" + mdast-util-to-markdown@^0.6.0, mdast-util-to-markdown@^0.6.1, mdast-util-to-markdown@~0.6.0: version "0.6.5" resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-0.6.5.tgz#b33f67ca820d69e6cc527a93d4039249b504bebe" @@ -6691,6 +8137,20 @@ mdast-util-to-markdown@^0.6.0, mdast-util-to-markdown@^0.6.1, mdast-util-to-mark repeat-string "^1.0.0" zwitch "^1.0.0" +mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz#c13343cb3fc98621911d33b5cd42e7d0731171c6" + integrity sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A== + dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + longest-streak "^3.0.0" + mdast-util-phrasing "^3.0.0" + mdast-util-to-string "^3.0.0" + micromark-util-decode-string "^1.0.0" + unist-util-visit "^4.0.0" + zwitch "^2.0.0" + mdast-util-to-string@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.0.4.tgz#5c455c878c9355f0c1e7f3e8b719cf583691acfb" @@ -6700,6 +8160,13 @@ mdast-util-to-string@^2.0.0: resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b" integrity sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w== +mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.2.0.tgz#66f7bb6324756741c5f47a53557f0cbf16b6f789" + integrity sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-toc@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-5.1.0.tgz#3af0f9c9a764b993538af03f1f79f4e3cec22736" @@ -6713,6 +8180,19 @@ mdast-util-toc@^5.0.0: unist-util-is "^4.0.0" unist-util-visit "^2.0.0" +mdast-util-toc@^6.0.0: + version "6.1.1" + resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-6.1.1.tgz#28b81b0c99ca80c4442a3c95e20a825daf24518f" + integrity sha512-Er21728Kow8hehecK2GZtb7Ny3omcoPUVrmObiSUwmoRYVZaXLR751QROEFjR8W/vAQdHMLj49Lz20J55XaNpw== + dependencies: + "@types/extend" "^3.0.0" + "@types/mdast" "^3.0.0" + extend "^3.0.0" + github-slugger "^2.0.0" + mdast-util-to-string "^3.1.0" + unist-util-is "^5.0.0" + unist-util-visit "^4.0.0" + mdurl@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" @@ -6723,7 +8203,7 @@ memorystream@^0.3.1: resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" integrity sha1-htcJCzDORV1j+64S3aUaR93K+bI= -meow@*, meow@^8.0.0: +meow@*, meow@^8.0.0, meow@^8.1.2: version "8.1.2" resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" integrity sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== @@ -6781,6 +8261,38 @@ mgrs@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/mgrs/-/mgrs-1.0.0.tgz#fb91588e78c90025672395cb40b25f7cd6ad1829" +micromark-core-commonmark@^1.0.0, micromark-core-commonmark@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-1.1.0.tgz#1386628df59946b2d39fb2edfd10f3e8e0a75bb8" + integrity sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw== + dependencies: + decode-named-character-reference "^1.0.0" + micromark-factory-destination "^1.0.0" + micromark-factory-label "^1.0.0" + micromark-factory-space "^1.0.0" + micromark-factory-title "^1.0.0" + micromark-factory-whitespace "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-chunked "^1.0.0" + micromark-util-classify-character "^1.0.0" + micromark-util-html-tag-name "^1.0.0" + micromark-util-normalize-identifier "^1.0.0" + micromark-util-resolve-all "^1.0.0" + micromark-util-subtokenize "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.1" + uvu "^0.5.0" + +micromark-extension-gfm-autolink-literal@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.5.tgz#5853f0e579bbd8ef9e39a7c0f0f27c5a063a66e7" + integrity sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-sanitize-uri "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + micromark-extension-gfm-autolink-literal@~0.5.0: version "0.5.7" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-0.5.7.tgz#53866c1f0c7ef940ae7ca1f72c6faef8fed9f204" @@ -6788,6 +8300,32 @@ micromark-extension-gfm-autolink-literal@~0.5.0: dependencies: micromark "~2.11.3" +micromark-extension-gfm-footnote@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-1.1.2.tgz#05e13034d68f95ca53c99679040bc88a6f92fe2e" + integrity sha512-Yxn7z7SxgyGWRNa4wzf8AhYYWNrwl5q1Z8ii+CSTTIqVkmGZF1CElX2JI8g5yGoM3GAman9/PVCUFUSJ0kB/8Q== + dependencies: + micromark-core-commonmark "^1.0.0" + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-normalize-identifier "^1.0.0" + micromark-util-sanitize-uri "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + +micromark-extension-gfm-strikethrough@^1.0.0: + version "1.0.7" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.7.tgz#c8212c9a616fa3bf47cb5c711da77f4fdc2f80af" + integrity sha512-sX0FawVE1o3abGk3vRjOH50L5TTLr3b5XMqnP9YDRb34M0v5OoZhG+OHFz1OffZ9dlwgpTBKaT4XW/AsUVnSDw== + dependencies: + micromark-util-chunked "^1.0.0" + micromark-util-classify-character "^1.0.0" + micromark-util-resolve-all "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + micromark-extension-gfm-strikethrough@~0.6.5: version "0.6.5" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-0.6.5.tgz#96cb83356ff87bf31670eefb7ad7bba73e6514d1" @@ -6795,6 +8333,17 @@ micromark-extension-gfm-strikethrough@~0.6.5: dependencies: micromark "~2.11.0" +micromark-extension-gfm-table@^1.0.0: + version "1.0.7" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.7.tgz#dcb46074b0c6254c3fc9cc1f6f5002c162968008" + integrity sha512-3ZORTHtcSnMQEKtAOsBQ9/oHp9096pI/UvdPtN7ehKvrmZZ2+bbWhi0ln+I9drmwXMt5boocn6OlwQzNXeVeqw== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + micromark-extension-gfm-table@~0.4.0: version "0.4.3" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-0.4.3.tgz#4d49f1ce0ca84996c853880b9446698947f1802b" @@ -6802,11 +8351,29 @@ micromark-extension-gfm-table@~0.4.0: dependencies: micromark "~2.11.0" +micromark-extension-gfm-tagfilter@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-1.0.2.tgz#aa7c4dd92dabbcb80f313ebaaa8eb3dac05f13a7" + integrity sha512-5XWB9GbAUSHTn8VPU8/1DBXMuKYT5uOgEjJb8gN3mW0PNW5OPHpSdojoqf+iq1xo7vWzw/P8bAHY0n6ijpXF7g== + dependencies: + micromark-util-types "^1.0.0" + micromark-extension-gfm-tagfilter@~0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-0.3.0.tgz#d9f26a65adee984c9ccdd7e182220493562841ad" integrity sha512-9GU0xBatryXifL//FJH+tAZ6i240xQuFrSL7mYi8f4oZSbc+NvXjkrHemeYP0+L4ZUT+Ptz3b95zhUZnMtoi/Q== +micromark-extension-gfm-task-list-item@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.5.tgz#b52ce498dc4c69b6a9975abafc18f275b9dde9f4" + integrity sha512-RMFXl2uQ0pNQy6Lun2YBYT9g9INXtWJULgbt01D/x8/6yJ2qpKyzdZD3pi6UIkzF++Da49xAelVKUeUMqd5eIQ== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + micromark-extension-gfm-task-list-item@~0.3.0: version "0.3.3" resolved "https://registry.yarnpkg.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-0.3.3.tgz#d90c755f2533ed55a718129cee11257f136283b8" @@ -6826,6 +8393,169 @@ micromark-extension-gfm@^0.3.0: micromark-extension-gfm-tagfilter "~0.3.0" micromark-extension-gfm-task-list-item "~0.3.0" +micromark-extension-gfm@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/micromark-extension-gfm/-/micromark-extension-gfm-2.0.3.tgz#e517e8579949a5024a493e49204e884aa74f5acf" + integrity sha512-vb9OoHqrhCmbRidQv/2+Bc6pkP0FrtlhurxZofvOEy5o8RtuuvTq+RQ1Vw5ZDNrVraQZu3HixESqbG+0iKk/MQ== + dependencies: + micromark-extension-gfm-autolink-literal "^1.0.0" + micromark-extension-gfm-footnote "^1.0.0" + micromark-extension-gfm-strikethrough "^1.0.0" + micromark-extension-gfm-table "^1.0.0" + micromark-extension-gfm-tagfilter "^1.0.0" + micromark-extension-gfm-task-list-item "^1.0.0" + micromark-util-combine-extensions "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-destination@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-factory-destination/-/micromark-factory-destination-1.1.0.tgz#eb815957d83e6d44479b3df640f010edad667b9f" + integrity sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-label@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-1.1.0.tgz#cc95d5478269085cfa2a7282b3de26eb2e2dec68" + integrity sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + +micromark-factory-space@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-1.1.0.tgz#c8f40b0640a0150751d3345ed885a080b0d15faf" + integrity sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-title@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-1.1.0.tgz#dd0fe951d7a0ac71bdc5ee13e5d1465ad7f50ea1" + integrity sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-whitespace@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-1.1.0.tgz#798fb7489f4c8abafa7ca77eed6b5745853c9705" + integrity sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-character@^1.0.0, micromark-util-character@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-1.2.0.tgz#4fedaa3646db249bc58caeb000eb3549a8ca5dcc" + integrity sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg== + dependencies: + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-chunked@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-1.1.0.tgz#37a24d33333c8c69a74ba12a14651fd9ea8a368b" + integrity sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ== + dependencies: + micromark-util-symbol "^1.0.0" + +micromark-util-classify-character@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-1.1.0.tgz#6a7f8c8838e8a120c8e3c4f2ae97a2bff9190e9d" + integrity sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-combine-extensions@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.1.0.tgz#192e2b3d6567660a85f735e54d8ea6e3952dbe84" + integrity sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA== + dependencies: + micromark-util-chunked "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-decode-numeric-character-reference@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.1.0.tgz#b1e6e17009b1f20bc652a521309c5f22c85eb1c6" + integrity sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw== + dependencies: + micromark-util-symbol "^1.0.0" + +micromark-util-decode-string@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-1.1.0.tgz#dc12b078cba7a3ff690d0203f95b5d5537f2809c" + integrity sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ== + dependencies: + decode-named-character-reference "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-decode-numeric-character-reference "^1.0.0" + micromark-util-symbol "^1.0.0" + +micromark-util-encode@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-1.1.0.tgz#92e4f565fd4ccb19e0dcae1afab9a173bbeb19a5" + integrity sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw== + +micromark-util-html-tag-name@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.2.0.tgz#48fd7a25826f29d2f71479d3b4e83e94829b3588" + integrity sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q== + +micromark-util-normalize-identifier@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.1.0.tgz#7a73f824eb9f10d442b4d7f120fecb9b38ebf8b7" + integrity sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q== + dependencies: + micromark-util-symbol "^1.0.0" + +micromark-util-resolve-all@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-1.1.0.tgz#4652a591ee8c8fa06714c9b54cd6c8e693671188" + integrity sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA== + dependencies: + micromark-util-types "^1.0.0" + +micromark-util-sanitize-uri@^1.0.0, micromark-util-sanitize-uri@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.2.0.tgz#613f738e4400c6eedbc53590c67b197e30d7f90d" + integrity sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-encode "^1.0.0" + micromark-util-symbol "^1.0.0" + +micromark-util-subtokenize@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-1.1.0.tgz#941c74f93a93eaf687b9054aeb94642b0e92edb1" + integrity sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A== + dependencies: + micromark-util-chunked "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + uvu "^0.5.0" + +micromark-util-symbol@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-1.1.0.tgz#813cd17837bdb912d069a12ebe3a44b6f7063142" + integrity sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag== + +micromark-util-types@^1.0.0, micromark-util-types@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.1.0.tgz#e6676a8cae0bb86a2171c498167971886cb7e283" + integrity sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg== + micromark@^2.11.3, micromark@~2.11.0, micromark@~2.11.3: version "2.11.4" resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" @@ -6834,6 +8564,29 @@ micromark@^2.11.3, micromark@~2.11.0, micromark@~2.11.3: debug "^4.0.0" parse-entities "^2.0.0" +micromark@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.2.0.tgz#1af9fef3f995ea1ea4ac9c7e2f19c48fd5c006e9" + integrity sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA== + dependencies: + "@types/debug" "^4.0.0" + debug "^4.0.0" + decode-named-character-reference "^1.0.0" + micromark-core-commonmark "^1.0.1" + micromark-factory-space "^1.0.0" + micromark-util-character "^1.0.0" + micromark-util-chunked "^1.0.0" + micromark-util-combine-extensions "^1.0.0" + micromark-util-decode-numeric-character-reference "^1.0.0" + micromark-util-encode "^1.0.0" + micromark-util-normalize-identifier "^1.0.0" + micromark-util-resolve-all "^1.0.0" + micromark-util-sanitize-uri "^1.0.0" + micromark-util-subtokenize "^1.0.0" + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.1" + uvu "^0.5.0" + micromatch@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.5.tgz#d05e168c206472dfbca985bfef4f57797b4cd4ba" @@ -6868,19 +8621,12 @@ micromatch@^4.0.4: braces "^3.0.1" picomatch "^2.2.3" -micromist@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromist/-/micromist-1.1.0.tgz#a490bcf9a4b918ad9eed8e52d0ec98b9c3b2d3c8" - integrity sha512-+CQ76pabE9egniSEdmDuH+j2cYyIBKP97kujG8ZLZyLCRq5ExwtIy4DPHPFrq4jVbhMRBnyjuH50KU9Ohs8QCg== - dependencies: - lodash.camelcase "^4.3.0" - mime-db@1.43.0: version "1.43.0" resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ== -mime-types@^2.1.12, mime-types@~2.1.19: +mime-types@^2.1.12: version "2.1.26" resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ== @@ -6900,18 +8646,51 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + min-indent@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimatch@^3.0.4: +minimatch@3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3" + integrity sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" +minimatch@^5.0.1: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^8.0.2: + version "8.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229" + integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^9.0.0, minimatch@^9.0.1: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -6934,6 +8713,11 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1. resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== +minimist@^1.2.6, minimist@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + minipass-collect@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" @@ -6941,16 +8725,16 @@ minipass-collect@^1.0.2: dependencies: minipass "^3.0.0" -minipass-fetch@^1.3.0, minipass-fetch@^1.3.2: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-1.3.3.tgz#34c7cea038c817a8658461bf35174551dce17a0a" - integrity sha512-akCrLDWfbdAWkMLBxJEeWTdNsjML+dt5YgOI4gJ53vuO0vrmYQkUPxa6j6V65s9CcePIr2SSWqjT2EcrNseryQ== +minipass-fetch@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-3.0.4.tgz#4d4d9b9f34053af6c6e597a64be8e66e42bf45b7" + integrity sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg== dependencies: - minipass "^3.1.0" + minipass "^7.0.3" minipass-sized "^1.0.3" - minizlib "^2.0.0" + minizlib "^2.1.2" optionalDependencies: - encoding "^0.1.12" + encoding "^0.1.13" minipass-flush@^1.0.5: version "1.0.5" @@ -6967,7 +8751,7 @@ minipass-json-stream@^1.0.1: jsonparse "^1.3.1" minipass "^3.0.0" -minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: +minipass-pipeline@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== @@ -6981,29 +8765,29 @@ minipass-sized@^1.0.3: dependencies: minipass "^3.0.0" -minipass@^2.6.0, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3: +minipass@^3.0.0, minipass@^3.1.1: version "3.1.3" resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.3.tgz#7d42ff1f39635482e15f9cdb53184deebd5815fd" integrity sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg== dependencies: yallist "^4.0.0" -minizlib@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" +minipass@^4.2.4: + version "4.2.8" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.8.tgz#f0010f64393ecfc1d1ccb5f582bcaf45f48e1a3a" + integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ== -minizlib@^2.0.0, minizlib@^2.1.1: +minipass@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" + integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3: + version "7.0.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== + +minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== @@ -7019,31 +8803,30 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp-infer-owner@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" - integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== - dependencies: - chownr "^2.0.0" - infer-owner "^1.0.4" - mkdirp "^1.0.3" - -mkdirp@*, mkdirp@^1.0.3, mkdirp@^1.0.4: +mkdirp@*, mkdirp@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mkdirp@^0.5.1, mkdirp@^0.5.5: - version "0.5.5" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" - integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== +mock-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/mock-property/-/mock-property-1.0.0.tgz#301518a59fb545312a407c8d1a861aba0357b4a6" + integrity sha512-imC60k5A55GPUU43PqczbubOyyxCudIgneACKzL3PKfsBk08dc1HgNNU8siQbEIAPPjVUhc+gb0v0ypZ/iP9pw== dependencies: - minimist "^1.2.5" + functions-have-names "^1.2.2" + has "^1.0.3" + has-property-descriptors "^1.0.0" + isarray "^2.0.5" modify-values@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2" +modify-values@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" + integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== + module-definition@^3.3.1: version "3.3.1" resolved "https://registry.yarnpkg.com/module-definition/-/module-definition-3.3.1.tgz#fedef71667713e36988b93d0626a4fe7b35aebfc" @@ -7095,6 +8878,11 @@ monorepolint@^0.5.0-alpha.20: "@monorepolint/rules" "^0.5.0-alpha.20+fb5a530" "@monorepolint/utils" "^0.5.0-alpha.20+fb5a530" +mri@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" + integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -7105,7 +8893,12 @@ ms@2.1.2, ms@^2.0.0: resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -multimatch@^5.0.0: +ms@^2.1.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +multimatch@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== @@ -7116,20 +8909,20 @@ multimatch@^5.0.0: arrify "^2.0.1" minimatch "^3.0.4" -mute-stream@0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.6.tgz#48962b19e169fd1dfc240b3f1e7317627bbc47db" - integrity sha1-SJYrGeFp/R38JAs/HnMXYnu8R9s= - -mute-stream@0.0.8, mute-stream@~0.0.4: +mute-stream@0.0.8: version "0.0.8" resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -nanoid@^3.1.23, nanoid@^3.1.30: - version "3.2.0" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.2.0.tgz#62667522da6673971cca916a6d3eff3f415ff80c" - integrity sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA== +mute-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-1.0.0.tgz#e31bd9fe62f0aed23520aa4324ea6671531e013e" + integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA== + +nanoid@^3.3.6: + version "3.3.6" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" + integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== nanomatch@^1.2.5: version "1.2.7" @@ -7151,66 +8944,82 @@ natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" -negotiator@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" - integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== +negotiator@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== neo-async@^2.6.0: version "2.6.1" resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== +neo-async@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" + integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== + nice-try@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha1-ozeKdpbOfSI+iPybdkvX7xCJ42Y= -node-fetch@^2.6.1: +node-addon-api@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" + integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== + +node-fetch@2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== dependencies: whatwg-url "^5.0.0" -node-gyp@^5.0.2: - version "5.1.0" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.0.tgz#8e31260a7af4a2e2f994b0673d4e0b3866156332" - integrity sha512-OUTryc5bt/P8zVgNUmC6xdXiDJxLMAW8cF5tLQOT9E5sOQj+UeQxnnPy74K3CLCa/SOjjBlbuzDLR8ANwA+wmw== +node-fetch@^2.6.7: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: - env-paths "^2.2.0" - glob "^7.1.4" - graceful-fs "^4.2.2" - mkdirp "^0.5.1" - nopt "^4.0.1" - npmlog "^4.1.2" - request "^2.88.0" - rimraf "^2.6.3" - semver "^5.7.1" - tar "^4.4.12" - which "^1.3.1" - -node-gyp@^7.1.0: - version "7.1.2" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae" - integrity sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ== + whatwg-url "^5.0.0" + +node-gyp-build@^4.3.0: + version "4.6.1" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.1.tgz#24b6d075e5e391b8d5539d98c7fc5c210cac8a3e" + integrity sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ== + +node-gyp@^9.0.0: + version "9.4.0" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.0.tgz#2a7a91c7cba4eccfd95e949369f27c9ba704f369" + integrity sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg== dependencies: env-paths "^2.2.0" + exponential-backoff "^3.1.1" glob "^7.1.4" - graceful-fs "^4.2.3" - nopt "^5.0.0" - npmlog "^4.1.2" - request "^2.88.2" + graceful-fs "^4.2.6" + make-fetch-happen "^11.0.3" + nopt "^6.0.0" + npmlog "^6.0.0" rimraf "^3.0.2" - semver "^7.3.2" - tar "^6.0.2" + semver "^7.3.5" + tar "^6.1.2" which "^2.0.2" +node-machine-id@1.1.12: + version "1.1.12" + resolved "https://registry.yarnpkg.com/node-machine-id/-/node-machine-id-1.1.12.tgz#37904eee1e59b320bb9c5d6c0a59f3b469cb6267" + integrity sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ== + node-releases@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.1.tgz#3d1d395f204f1f2f29a54358b9fb678765ad2fc5" integrity sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA== +node-releases@^2.0.13: + version "2.0.13" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" + integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== + node-source-walk@^4.0.0, node-source-walk@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/node-source-walk/-/node-source-walk-4.2.0.tgz#c2efe731ea8ba9c03c562aa0a9d984e54f27bc2c" @@ -7225,21 +9034,14 @@ node-source-walk@^4.0.0, node-source-walk@^4.2.0: chalk "~0.4.0" underscore "~1.6.0" -nopt@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" - dependencies: - abbrev "1" - osenv "^0.1.4" - -nopt@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" - integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== +nopt@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" + integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== dependencies: - abbrev "1" + abbrev "^1.0.0" -normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.5.0: +normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -7249,7 +9051,7 @@ normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package- semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-package-data@^3.0.0, normalize-package-data@^3.0.2: +normalize-package-data@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.2.tgz#cae5c410ae2434f9a6c1baa65d5bc3b9366c8699" integrity sha512-6CdZocmfGaKnIHPVFhJJZ3GuR8SsLKvDANFp47Jmy51aKIr8akjAWTSxtpI+MBgBFdSMRyo4hMpDlT6dTffgZg== @@ -7259,6 +9061,26 @@ normalize-package-data@^3.0.0, normalize-package-data@^3.0.2: semver "^7.3.4" validate-npm-package-license "^3.0.1" +normalize-package-data@^3.0.2, normalize-package-data@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" + integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== + dependencies: + hosted-git-info "^4.0.1" + is-core-module "^2.5.0" + semver "^7.3.4" + validate-npm-package-license "^3.0.1" + +normalize-package-data@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-5.0.0.tgz#abcb8d7e724c40d88462b84982f7cbf6859b4588" + integrity sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q== + dependencies: + hosted-git-info "^6.0.0" + is-core-module "^2.8.1" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" @@ -7281,93 +9103,95 @@ now-and-later@^2.0.0: dependencies: once "^1.3.2" -npm-bundled@^1.1.1: +npm-bundled@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== dependencies: npm-normalize-package-bin "^1.0.1" -npm-install-checks@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" - integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== +npm-bundled@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-3.0.0.tgz#7e8e2f8bb26b794265028491be60321a25a39db7" + integrity sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ== dependencies: - semver "^7.1.1" + npm-normalize-package-bin "^3.0.0" -npm-lifecycle@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz#9882d3642b8c82c815782a12e6a1bfeed0026309" - integrity sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g== +npm-install-checks@^6.0.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-6.2.0.tgz#fae55b9967b03ac309695ec96629492d5cedf371" + integrity sha512-744wat5wAAHsxa4590mWO0tJ8PKxR8ORZsH9wGpQc3nWTzozMAgBN/XyqYw7mg3yqLM8dLwEnwSfKMmXAjF69g== dependencies: - byline "^5.0.0" - graceful-fs "^4.1.15" - node-gyp "^5.0.2" - resolve-from "^4.0.0" - slide "^1.1.6" - uid-number "0.0.6" - umask "^1.1.0" - which "^1.3.1" + semver "^7.1.1" -npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: +npm-normalize-package-bin@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== -npm-package-arg@^8.0.0, npm-package-arg@^8.0.1, npm-package-arg@^8.1.0, npm-package-arg@^8.1.2: - version "8.1.5" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.5.tgz#3369b2d5fe8fdc674baa7f1786514ddc15466e44" - integrity sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q== +npm-normalize-package-bin@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz#25447e32a9a7de1f51362c61a559233b89947832" + integrity sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ== + +npm-package-arg@8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04" + integrity sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg== dependencies: - hosted-git-info "^4.0.1" - semver "^7.3.4" + hosted-git-info "^3.0.6" + semver "^7.0.0" validate-npm-package-name "^3.0.0" -npm-packlist@^2.1.4: - version "2.2.2" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-2.2.2.tgz#076b97293fa620f632833186a7a8f65aaa6148c8" - integrity sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg== +npm-package-arg@^10.0.0, npm-package-arg@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-10.1.0.tgz#827d1260a683806685d17193073cc152d3c7e9b1" + integrity sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA== dependencies: - glob "^7.1.6" - ignore-walk "^3.0.3" - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" + hosted-git-info "^6.0.0" + proc-log "^3.0.0" + semver "^7.3.5" + validate-npm-package-name "^5.0.0" -npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz#7b5484ca2c908565f43b7f27644f36bb816f5148" - integrity sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA== +npm-packlist@5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.1.tgz#79bcaf22a26b6c30aa4dd66b976d69cc286800e0" + integrity sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw== dependencies: - npm-install-checks "^4.0.0" + glob "^8.0.1" + ignore-walk "^5.0.1" + npm-bundled "^1.1.2" npm-normalize-package-bin "^1.0.1" - npm-package-arg "^8.1.2" - semver "^7.3.4" -npm-registry-fetch@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz#68c1bb810c46542760d62a6a965f85a702d43a76" - integrity sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA== +npm-packlist@^7.0.0: + version "7.0.4" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-7.0.4.tgz#033bf74110eb74daf2910dc75144411999c5ff32" + integrity sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q== dependencies: - make-fetch-happen "^9.0.1" - minipass "^3.1.3" - minipass-fetch "^1.3.0" - minipass-json-stream "^1.0.1" - minizlib "^2.0.0" - npm-package-arg "^8.0.0" + ignore-walk "^6.0.0" -npm-registry-fetch@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-9.0.0.tgz#86f3feb4ce00313bc0b8f1f8f69daae6face1661" - integrity sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA== +npm-pick-manifest@^8.0.0: + version "8.0.2" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-8.0.2.tgz#2159778d9c7360420c925c1a2287b5a884c713aa" + integrity sha512-1dKY+86/AIiq1tkKVD3l0WI+Gd3vkknVGAggsFeBkTvbhMQ1OND/LKkYv4JtXPKUJ8bOTCyLiqEg2P6QNdK+Gg== dependencies: - "@npmcli/ci-detect" "^1.0.0" - lru-cache "^6.0.0" - make-fetch-happen "^8.0.9" - minipass "^3.1.3" - minipass-fetch "^1.3.0" + npm-install-checks "^6.0.0" + npm-normalize-package-bin "^3.0.0" + npm-package-arg "^10.0.0" + semver "^7.3.5" + +npm-registry-fetch@^14.0.0, npm-registry-fetch@^14.0.3, npm-registry-fetch@^14.0.5: + version "14.0.5" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz#fe7169957ba4986a4853a650278ee02e568d115d" + integrity sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA== + dependencies: + make-fetch-happen "^11.0.0" + minipass "^5.0.0" + minipass-fetch "^3.0.0" minipass-json-stream "^1.0.1" - minizlib "^2.0.0" - npm-package-arg "^8.0.0" + minizlib "^2.1.2" + npm-package-arg "^10.0.0" + proc-log "^3.0.0" npm-run-all@*, npm-run-all@^4.1.5: version "4.1.5" @@ -7391,23 +9215,22 @@ npm-run-path@^4.0.0, npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -npmlog@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-2.0.4.tgz#98b52530f2514ca90d09ec5b22c8846722375692" - integrity sha1-mLUlMPJRTKkNCexbIsiEZyI3VpI= +npm-run-path@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.1.0.tgz#bc62f7f3f6952d9894bd08944ba011a6ee7b7e00" + integrity sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q== dependencies: - ansi "~0.3.1" - are-we-there-yet "~1.1.2" - gauge "~1.2.5" + path-key "^4.0.0" -npmlog@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" +npmlog@^6.0.0, npmlog@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" + integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" + are-we-there-yet "^3.0.0" + console-control-strings "^1.1.0" + gauge "^4.0.3" + set-blocking "^2.0.0" null-check@^1.0.0: version "1.0.0" @@ -7418,10 +9241,58 @@ number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== +nx@16.10.0, "nx@>=16.5.1 < 17": + version "16.10.0" + resolved "https://registry.yarnpkg.com/nx/-/nx-16.10.0.tgz#b070461f7de0a3d7988bd78558ea84cda3543ace" + integrity sha512-gZl4iCC0Hx0Qe1VWmO4Bkeul2nttuXdPpfnlcDKSACGu3ZIo+uySqwOF8yBAxSTIf8xe2JRhgzJN1aFkuezEBg== + dependencies: + "@nrwl/tao" "16.10.0" + "@parcel/watcher" "2.0.4" + "@yarnpkg/lockfile" "^1.1.0" + "@yarnpkg/parsers" "3.0.0-rc.46" + "@zkochan/js-yaml" "0.0.6" + axios "^1.0.0" + chalk "^4.1.0" + cli-cursor "3.1.0" + cli-spinners "2.6.1" + cliui "^8.0.1" + dotenv "~16.3.1" + dotenv-expand "~10.0.0" + enquirer "~2.3.6" + figures "3.2.0" + flat "^5.0.2" + fs-extra "^11.1.0" + glob "7.1.4" + ignore "^5.0.4" + jest-diff "^29.4.1" + js-yaml "4.1.0" + jsonc-parser "3.2.0" + lines-and-columns "~2.0.3" + minimatch "3.0.5" + node-machine-id "1.1.12" + npm-run-path "^4.0.1" + open "^8.4.0" + semver "7.5.3" + string-width "^4.2.3" + strong-log-transformer "^2.1.0" + tar-stream "~2.2.0" + tmp "~0.2.1" + tsconfig-paths "^4.1.2" + tslib "^2.3.0" + v8-compile-cache "2.3.0" + yargs "^17.6.2" + yargs-parser "21.1.1" + optionalDependencies: + "@nx/nx-darwin-arm64" "16.10.0" + "@nx/nx-darwin-x64" "16.10.0" + "@nx/nx-freebsd-x64" "16.10.0" + "@nx/nx-linux-arm-gnueabihf" "16.10.0" + "@nx/nx-linux-arm64-gnu" "16.10.0" + "@nx/nx-linux-arm64-musl" "16.10.0" + "@nx/nx-linux-x64-gnu" "16.10.0" + "@nx/nx-linux-x64-musl" "16.10.0" + "@nx/nx-win32-arm64-msvc" "16.10.0" + "@nx/nx-win32-x64-msvc" "16.10.0" object-assign@^4.0.1, object-assign@^4.1.0: version "4.1.1" @@ -7436,6 +9307,11 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" +object-inspect@^1.12.3, object-inspect@^1.9.0: + version "1.12.3" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" + integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== + object-inspect@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" @@ -7445,6 +9321,14 @@ object-inspect@~1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.3.0.tgz#5b1eb8e6742e2ee83342a637034d844928ba2f6d" +object-is@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" + integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" @@ -7466,13 +9350,15 @@ object.assign@^4.0.4, object.assign@^4.1.0: has-symbols "^1.0.0" object-keys "^1.0.11" -object.getownpropertydescriptors@^2.0.3: - version "2.1.0" - resolved "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz#369bf1f9592d8ab89d712dced5cb81c7c5352649" - integrity sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg== +object.assign@^4.1.4: + version "4.1.4" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.0-next.1" + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" object.pick@^1.3.0: version "1.3.0" @@ -7487,10 +9373,12 @@ once@^1.3.0, once@^1.3.1, once@^1.3.2, once@^1.4.0: dependencies: wrappy "1" -onetime@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" - integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k= +one-time@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/one-time/-/one-time-1.0.0.tgz#e06bc174aed214ed58edede573b433bbf827cb45" + integrity sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g== + dependencies: + fn.name "1.x.x" onetime@^2.0.0: version "2.0.1" @@ -7503,7 +9391,33 @@ onetime@^5.1.0, onetime@^5.1.2: resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== dependencies: - mimic-fn "^2.1.0" + mimic-fn "^2.1.0" + +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + +open@^8.4.0: + version "8.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" + integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + +open@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/open/-/open-9.1.0.tgz#684934359c90ad25742f5a26151970ff8c6c80b6" + integrity sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg== + dependencies: + default-browser "^4.0.0" + define-lazy-prop "^3.0.0" + is-inside-container "^1.0.0" + is-wsl "^2.2.0" opencollective-postinstall@^2.0.2: version "2.0.2" @@ -7522,17 +9436,32 @@ optionator@^0.8.1: type-check "~0.3.2" word-wrap "~1.2.3" -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== +optionator@^0.9.3: + version "0.9.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" + integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== dependencies: + "@aashutoshrathi/word-wrap" "^1.2.3" deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" - word-wrap "^1.2.3" + +ora@^5.4.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== + dependencies: + bl "^4.1.0" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.5.0" + is-interactive "^1.0.0" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" ordered-read-streams@^1.0.0: version "1.0.1" @@ -7540,26 +9469,10 @@ ordered-read-streams@^1.0.0: dependencies: readable-stream "^2.0.1" -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - -os-shim@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917" - integrity sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc= - -os-tmpdir@^1.0.0, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2: +os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" -osenv@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -7589,6 +9502,13 @@ p-limit@^3.0.2: dependencies: yocto-queue "^0.1.0" +p-limit@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644" + integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ== + dependencies: + yocto-queue "^1.0.0" + p-locate@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" @@ -7616,29 +9536,36 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" -p-map-series@^2.1.0: +p-locate@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" + integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw== + dependencies: + p-limit "^4.0.0" + +p-map-series@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== -p-map@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - -p-map@^4.0.0: +p-map@4.0.0, p-map@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== dependencies: aggregate-error "^3.0.0" -p-pipe@^3.1.0: +p-map@^2.0.0: + version "2.1.0" + resolved "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" + integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== + +p-pipe@3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== -p-queue@^6.6.2: +p-queue@6.6.2: version "6.6.2" resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== @@ -7646,7 +9573,7 @@ p-queue@^6.6.2: eventemitter3 "^4.0.4" p-timeout "^3.2.0" -p-reduce@^2.0.0, p-reduce@^2.1.0: +p-reduce@2.1.0, p-reduce@^2.0.0, p-reduce@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== @@ -7667,37 +9594,36 @@ p-try@^2.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -p-waterfall@^2.1.1: +p-waterfall@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/p-waterfall/-/p-waterfall-2.1.1.tgz#63153a774f472ccdc4eb281cdb2967fcf158b2ee" integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== dependencies: p-reduce "^2.0.0" -pacote@^11.2.6: - version "11.3.4" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-11.3.4.tgz#c290b790a5cee3082bb8fa223f3f3e2fdf3d0bfc" - integrity sha512-RfahPCunM9GI7ryJV/zY0bWQiokZyLqaSNHXtbNSoLb7bwTvBbJBEyCJ01KWs4j1Gj7GmX8crYXQ1sNX6P2VKA== - dependencies: - "@npmcli/git" "^2.0.1" - "@npmcli/installed-package-contents" "^1.0.6" - "@npmcli/promise-spawn" "^1.2.0" - "@npmcli/run-script" "^1.8.2" - cacache "^15.0.5" - chownr "^2.0.0" - fs-minipass "^2.1.0" - infer-owner "^1.0.4" - minipass "^3.1.3" - mkdirp "^1.0.3" - npm-package-arg "^8.0.1" - npm-packlist "^2.1.4" - npm-pick-manifest "^6.0.0" - npm-registry-fetch "^11.0.0" +pacote@^15.2.0: + version "15.2.0" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-15.2.0.tgz#0f0dfcc3e60c7b39121b2ac612bf8596e95344d3" + integrity sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA== + dependencies: + "@npmcli/git" "^4.0.0" + "@npmcli/installed-package-contents" "^2.0.1" + "@npmcli/promise-spawn" "^6.0.1" + "@npmcli/run-script" "^6.0.0" + cacache "^17.0.0" + fs-minipass "^3.0.0" + minipass "^5.0.0" + npm-package-arg "^10.0.0" + npm-packlist "^7.0.0" + npm-pick-manifest "^8.0.0" + npm-registry-fetch "^14.0.0" + proc-log "^3.0.0" promise-retry "^2.0.1" - read-package-json-fast "^2.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.1.0" + read-package-json "^6.0.0" + read-package-json-fast "^3.0.0" + sigstore "^1.3.0" + ssri "^10.0.0" + tar "^6.1.11" parent-module@^1.0.0: version "1.0.1" @@ -7753,6 +9679,16 @@ parse-json@^5.0.0: json-parse-better-errors "^1.0.1" lines-and-columns "^1.1.6" +parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + parse-path@^4.0.0: version "4.0.1" resolved "https://registry.npmjs.org/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff" @@ -7761,6 +9697,13 @@ parse-path@^4.0.0: is-ssh "^1.3.0" protocols "^1.4.0" +parse-path@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-7.0.0.tgz#605a2d58d0a749c8594405d8cc3a2bf76d16099b" + integrity sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog== + dependencies: + protocols "^2.0.0" + parse-url@^5.0.0: version "5.0.1" resolved "https://registry.npmjs.org/parse-url/-/parse-url-5.0.1.tgz#99c4084fc11be14141efa41b3d117a96fcb9527f" @@ -7771,6 +9714,18 @@ parse-url@^5.0.0: parse-path "^4.0.0" protocols "^1.4.0" +parse-url@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-8.1.0.tgz#972e0827ed4b57fc85f0ea6b0d839f0d8a57a57d" + integrity sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w== + dependencies: + parse-path "^7.0.0" + +parse5@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" + integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== + pascalcase@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" @@ -7795,6 +9750,11 @@ path-exists@^4.0.0: resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== +path-exists@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7" + integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ== + path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" @@ -7809,6 +9769,11 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + path-parse@^1.0.5, path-parse@^1.0.6, path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" @@ -7824,6 +9789,14 @@ path-root@^0.1.1: dependencies: path-root-regex "^0.1.0" +path-scurry@^1.10.1, path-scurry@^1.6.1: + version "1.10.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" + integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== + dependencies: + lru-cache "^9.1.1 || ^10.0.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-type@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" @@ -7843,11 +9816,6 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= - picocolors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" @@ -7868,6 +9836,11 @@ pidtree@^0.3.0: resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.0.tgz#f6fada10fccc9f99bf50e90d0b23d72c9ebc2e6b" integrity sha1-9vraEPzMn5m/UOkNCyPXLJ68Lms= +pify@5.0.0, pify@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" + integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== + pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -7881,10 +9854,10 @@ pify@^4.0.1: resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== -pify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" - integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== +pify@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-6.1.0.tgz#db9f2ebfba65f0bc144db65ae84d1a486ab72909" + integrity sha512-KocF8ve28eFjjuBKKGvzOBGzG8ew2OqOOSxTTZhirkzH7h3BI1vyzqlR0qbfcDBve1Yzo3FVlWUAtCRrbVN8Fw== pinkie-promise@^2.0.0: version "2.0.1" @@ -8005,23 +9978,14 @@ postcss-values-parser@^2.0.1: indexes-of "^1.0.1" uniq "^1.0.1" -postcss@^8.1.10: - version "8.3.5" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.5.tgz#982216b113412bc20a86289e91eb994952a5b709" - integrity sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA== - dependencies: - colorette "^1.2.2" - nanoid "^3.1.23" - source-map-js "^0.6.2" - -postcss@^8.1.7: - version "8.4.5" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.5.tgz#bae665764dfd4c6fcc24dc0fdf7e7aa00cc77f95" - integrity sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg== +postcss@^8.1.10, postcss@^8.1.7: + version "8.4.31" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d" + integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ== dependencies: - nanoid "^3.1.30" + nanoid "^3.3.6" picocolors "^1.0.0" - source-map-js "^1.0.1" + source-map-js "^1.0.2" precinct@^8.0.0: version "8.3.0" @@ -8052,10 +10016,17 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@^2.1.2: - version "2.2.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" - integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== +prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" + integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== + dependencies: + fast-diff "^1.1.2" + +prettier@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" + integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== pretty-format@^24.9.0: version "24.9.0" @@ -8067,13 +10038,19 @@ pretty-format@^24.9.0: ansi-styles "^3.2.0" react-is "^16.8.4" -prettyjson@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/prettyjson/-/prettyjson-1.2.1.tgz#fcffab41d19cab4dfae5e575e64246619b12d289" - integrity sha1-/P+rQdGcq0365eV15kJGYZsS0ok= +pretty-format@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" + integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== dependencies: - colors "^1.1.2" - minimist "^1.2.0" + "@jest/schemas" "^29.6.3" + ansi-styles "^5.0.0" + react-is "^18.0.0" + +proc-log@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" + integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== process-nextick-args@^1.0.6, process-nextick-args@~1.0.6: version "1.0.7" @@ -8083,7 +10060,7 @@ process-nextick-args@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" -progress@*, progress@^2.0.0: +progress@*: version "2.0.0" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" @@ -8107,12 +10084,12 @@ promise-retry@^2.0.1: err-code "^2.0.2" retry "^0.12.0" -promzard@^0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha1-JqXW7ox97kyxIggwWs+5O6OCqe4= +promzard@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/promzard/-/promzard-1.0.0.tgz#3246f8e6c9895a77c0549cefb65828ac0f6c006b" + integrity sha512-KQVDEubSUHGSt5xLakaToDFrSoZhStB8dXLzk2xvwR67gJktrHFvpR63oZgHyK19WKbHFLXJqCPXdVR3aBP8Ig== dependencies: - read "1" + read "^2.0.0" property-information@^5.0.0: version "5.6.0" @@ -8121,19 +10098,24 @@ property-information@^5.0.0: dependencies: xtend "^4.0.0" -proto-list@~1.2.1: - version "1.2.4" - resolved "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk= +property-information@^6.0.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/property-information/-/property-information-6.3.0.tgz#ba4a06ec6b4e1e90577df9931286953cdf4282c3" + integrity sha512-gVNZ74nqhRMiIUYWGQdosYetaKc83x8oT41a0LlV3AAFCAZwCpg4vmGkq8t34+cUhp3cnM4XDiU/7xlgK7HGrg== protocols@^1.1.0, protocols@^1.4.0: version "1.4.6" resolved "https://registry.yarnpkg.com/protocols/-/protocols-1.4.6.tgz#f8bb263ea1b5fd7a7604d26b8be39bd77678bf8a" -psl@^1.1.28: - version "1.7.0" - resolved "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" - integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== +protocols@^2.0.0, protocols@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" + integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== + +proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== pump@^2.0.0: version "2.0.1" @@ -8158,7 +10140,7 @@ pumpify@^1.3.5: inherits "^2.0.3" pump "^2.0.0" -punycode@^2.1.0, punycode@^2.1.1: +punycode@^2.1.0: version "2.1.1" resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== @@ -8172,7 +10154,7 @@ q@^1.5.1: resolved "https://registry.npmjs.org/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= -qs@^6.4.0, qs@~6.5.2: +qs@^6.4.0: version "6.5.3" resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== @@ -8223,49 +10205,33 @@ react-is@^16.8.4: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.0.tgz#0f37c3613c34fe6b37cd7f763a0d6293ab15c527" integrity sha512-GFMtL0vHkiBv9HluwNZTggSn/sCyEt9n02aM0dSAjGGyqyNlAyftYm4phPxdvCigG15JreC5biwxCgTAJZ7yAA== -read-cmd-shim@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-2.0.0.tgz#4a50a71d6f0965364938e9038476f7eede3928d9" - integrity sha512-HJpV9bQpkl6KwjxlJcBoqu9Ba0PQg8TqSNIOrulGt54a0uup0HtevreFHzYzkm0lpnleRdNBzXznKrgxglEHQw== - -read-package-json-fast@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.2.tgz#2dcb24d9e8dd50fb322042c8c35a954e6cc7ac9e" - integrity sha512-5fyFUyO9B799foVk4n6ylcoAktG/FbE3jwRKxvwaeSrIunaoMc0u81dzXxjeAFKOce7O5KncdfwpGvvs6r5PsQ== - dependencies: - json-parse-even-better-errors "^2.3.0" - npm-normalize-package-bin "^1.0.1" +react-is@^18.0.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" + integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== -read-package-json@^2.0.0: - version "2.1.1" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.1.tgz#16aa66c59e7d4dad6288f179dd9295fd59bb98f1" - integrity sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A== - dependencies: - glob "^7.1.1" - json-parse-better-errors "^1.0.1" - normalize-package-data "^2.0.0" - npm-normalize-package-bin "^1.0.0" - optionalDependencies: - graceful-fs "^4.1.2" +read-cmd-shim@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz#640a08b473a49043e394ae0c7a34dd822c73b9bb" + integrity sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q== -read-package-json@^3.0.0, read-package-json@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-3.0.1.tgz#c7108f0b9390257b08c21e3004d2404c806744b9" - integrity sha512-aLcPqxovhJTVJcsnROuuzQvv6oziQx4zd3JvG0vGCL5MjTONUc4uJ90zCBC6R7W7oUKBNoR/F8pkyfVwlbxqng== +read-package-json-fast@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz#394908a9725dc7a5f14e70c8e7556dff1d2b1049" + integrity sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw== dependencies: - glob "^7.1.1" - json-parse-even-better-errors "^2.3.0" - normalize-package-data "^3.0.0" - npm-normalize-package-bin "^1.0.0" + json-parse-even-better-errors "^3.0.0" + npm-normalize-package-bin "^3.0.0" -read-package-tree@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636" - integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== +read-package-json@6.0.4, read-package-json@^6.0.0: + version "6.0.4" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-6.0.4.tgz#90318824ec456c287437ea79595f4c2854708836" + integrity sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw== dependencies: - read-package-json "^2.0.0" - readdir-scoped-modules "^1.0.0" - util-promisify "^2.1.0" + glob "^10.2.2" + json-parse-even-better-errors "^3.0.0" + normalize-package-data "^5.0.0" + npm-normalize-package-bin "^3.0.0" read-pkg-up@^1.0.1: version "1.0.1" @@ -8298,6 +10264,15 @@ read-pkg-up@^7.0.1: read-pkg "^5.2.0" type-fest "^0.8.1" +read-pkg-up@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-9.1.0.tgz#38ca48e0bc6c6b260464b14aad9bcd4e5b1fbdc3" + integrity sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg== + dependencies: + find-up "^6.3.0" + read-pkg "^7.1.0" + type-fest "^2.5.0" + read-pkg@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" @@ -8324,12 +10299,22 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -read@1, read@~1.0.1: - version "1.0.7" - resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ= +read-pkg@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-7.1.0.tgz#438b4caed1ad656ba359b3e00fd094f3c427a43e" + integrity sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg== + dependencies: + "@types/normalize-package-data" "^2.4.1" + normalize-package-data "^3.0.2" + parse-json "^5.2.0" + type-fest "^2.0.0" + +read@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/read/-/read-2.1.0.tgz#69409372c54fe3381092bc363a00650b6ac37218" + integrity sha512-bvxi1QLJHcaywCAEsAk4DG3nVoqiY2Csps3qzWalhj5hFqRn1d/OixkFXtLO1PrgHUcAP0FNaSY/5GYNfENFFQ== dependencies: - mute-stream "~0.0.4" + mute-stream "~1.0.0" readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2: version "3.6.0" @@ -8340,7 +10325,7 @@ readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3: +readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3: version "2.3.4" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.4.tgz#c946c3f47fa7d8eabc0b6150f4a12f69a4574071" dependencies: @@ -8352,6 +10337,15 @@ readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable string_decoder "~1.0.3" util-deprecate "~1.0.1" +readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readable-stream@~1.1.9: version "1.1.14" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" @@ -8385,16 +10379,6 @@ readable-stream@~2.1.0: string_decoder "~0.10.x" util-deprecate "~1.0.1" -readdir-scoped-modules@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -8462,10 +10446,14 @@ regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpp@^3.0.0, regexpp@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" - integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== +regexp.prototype.flags@^1.5.0, regexp.prototype.flags@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz#90ce989138db209f81492edd734183ce99f9677e" + integrity sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + set-function-name "^2.0.0" regexpu-core@^4.7.1: version "4.8.0" @@ -8499,6 +10487,16 @@ remark-gfm@^1.0.0: mdast-util-gfm "^0.1.0" micromark-extension-gfm "^0.3.0" +remark-gfm@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/remark-gfm/-/remark-gfm-3.0.1.tgz#0b180f095e3036545e9dddac0e8df3fa5cfee54f" + integrity sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-gfm "^2.0.0" + micromark-extension-gfm "^2.0.0" + unified "^10.0.0" + remark-html@^13.0.1: version "13.0.2" resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-13.0.2.tgz#de5f052749ff61fc904c9708c155c88a2e2655dc" @@ -8508,6 +10506,26 @@ remark-html@^13.0.1: hast-util-to-html "^7.0.0" mdast-util-to-hast "^10.0.0" +remark-html@^15.0.1: + version "15.0.2" + resolved "https://registry.yarnpkg.com/remark-html/-/remark-html-15.0.2.tgz#44ff77c876f037658b406662b5ce15e26ed34d80" + integrity sha512-/CIOI7wzHJzsh48AiuIyIe1clxVkUtreul73zcCXLub0FmnevQE0UMFDQm7NUx8/3rl/4zCshlMfqBdWScQthw== + dependencies: + "@types/mdast" "^3.0.0" + hast-util-sanitize "^4.0.0" + hast-util-to-html "^8.0.0" + mdast-util-to-hast "^12.0.0" + unified "^10.0.0" + +remark-parse@^10.0.0: + version "10.0.2" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-10.0.2.tgz#ca241fde8751c2158933f031a4e3efbaeb8bc262" + integrity sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-from-markdown "^1.0.0" + unified "^10.0.0" + remark-parse@^9.0.0: version "9.0.0" resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-9.0.0.tgz#4d20a299665880e4f4af5d90b7c7b8a935853640" @@ -8522,6 +10540,24 @@ remark-reference-links@^5.0.0: dependencies: unist-util-visit "^2.0.0" +remark-reference-links@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/remark-reference-links/-/remark-reference-links-6.0.1.tgz#e1927ad8018585dfc97f7b9c5f781f6d246f1d96" + integrity sha512-34wY2C6HXSuKVTRtyJJwefkUD8zBOZOSHFZ4aSTnU2F656gr9WeuQ2dL6IJDK3NPd2F6xKF2t4XXcQY9MygAXg== + dependencies: + "@types/mdast" "^3.0.0" + unified "^10.0.0" + unist-util-visit "^4.0.0" + +remark-stringify@^10.0.0: + version "10.0.3" + resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-10.0.3.tgz#83b43f2445c4ffbb35b606f967d121b2b6d69717" + integrity sha512-koyOzCMYoUHudypbj4XpnAKFbkddRMYZHwghnxd7ue5210WzGw6kOBwauJTRUMq16jsovXx8dYNvSSWP89kZ3A== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-to-markdown "^1.0.0" + unified "^10.0.0" + remark-stringify@^9.0.0: version "9.0.1" resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-9.0.1.tgz#576d06e910548b0a7191a71f27b33f1218862894" @@ -8537,6 +10573,15 @@ remark-toc@^7.2.0: "@types/unist" "^2.0.3" mdast-util-toc "^5.0.0" +remark-toc@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/remark-toc/-/remark-toc-8.0.1.tgz#f3e07ea13734f1c531e3d3460e58babe31d17cd7" + integrity sha512-7he2VOm/cy13zilnOTZcyAoyoolV26ULlon6XyCFU+vG54Z/LWJnwphj/xKIDLOt66QmJUgTyUvLVHi2aAElyg== + dependencies: + "@types/mdast" "^3.0.0" + mdast-util-toc "^6.0.0" + unified "^10.0.0" + remark@^13.0.0: version "13.0.0" resolved "https://registry.yarnpkg.com/remark/-/remark-13.0.0.tgz#d15d9bf71a402f40287ebe36067b66d54868e425" @@ -8546,6 +10591,16 @@ remark@^13.0.0: remark-stringify "^9.0.0" unified "^9.1.0" +remark@^14.0.2: + version "14.0.3" + resolved "https://registry.yarnpkg.com/remark/-/remark-14.0.3.tgz#e477886a7579df612908f387c7753dc93cdaa3fc" + integrity sha512-bfmJW1dmR2LvaMJuAnE88pZP9DktIFYXazkTfOIKZzi3Knk9lT0roItIA24ydOucI3bV/g/tXBA6hzqq3FV9Ew== + dependencies: + "@types/mdast" "^3.0.0" + remark-parse "^10.0.0" + remark-stringify "^10.0.0" + unified "^10.0.0" + remove-bom-buffer@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz#c2bf1e377520d324f623892e33c10cac2c252b53" @@ -8584,32 +10639,6 @@ replace-ext@1.0.0, replace-ext@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" -request@^2.88.0, request@^2.88.2: - version "2.88.2" - resolved "https://registry.npmjs.org/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -8644,22 +10673,27 @@ resolve-dependency-path@^2.0.0: resolved "https://registry.yarnpkg.com/resolve-dependency-path/-/resolve-dependency-path-2.0.0.tgz#11700e340717b865d216c66cabeb4a2a3c696736" integrity sha512-DIgu+0Dv+6v2XwRaNWnumKu7GPufBBOr5I1gRPJHkvghrfCGOooJODFvgFimX/KRxk9j0whD2MnKHzM1jYvk9w== +resolve-from@5.0.0, resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - resolve-options@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/resolve-options/-/resolve-options-1.1.0.tgz#32bb9e39c06d67338dc9378c0d6d6074566ad131" dependencies: value-or-function "^3.0.0" +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" @@ -8686,20 +10720,30 @@ resolve@^1.1.6, resolve@^1.14.2, resolve@^1.21.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +resolve@^1.22.1: + version "1.22.6" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362" + integrity sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +resolve@^2.0.0-next.4: + version "2.0.0-next.4" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" + integrity sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@~1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86" dependencies: path-parse "^1.0.5" -restore-cursor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" - integrity sha1-NGYfRohjJ/7SmRR5FSJS35LapUE= - dependencies: - exit-hook "^1.0.0" - onetime "^1.0.0" - restore-cursor@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" @@ -8736,27 +10780,20 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@2.6.3: - version "2.6.3" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" - integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== - dependencies: - glob "^7.1.3" - -rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -rimraf@^3.0.2: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" +rimraf@^4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-4.4.1.tgz#bd33364f67021c5b79e93d7f4fa0568c7c21b755" + integrity sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og== + dependencies: + glob "^9.2.0" + robust-predicates@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-2.0.4.tgz#0a2367a93abd99676d075981707f29cfb402248b" @@ -8779,7 +10816,14 @@ rollup@*, rollup@^2.34.2: optionalDependencies: fsevents "~2.1.2" -run-async@^2.2.0, run-async@^2.4.0: +run-applescript@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-5.0.0.tgz#e11e1c932e055d5c6b40d98374e0268d9b11899c" + integrity sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg== + dependencies: + execa "^5.0.0" + +run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== @@ -8794,18 +10838,38 @@ runtypes@^4.0.0: resolved "https://registry.yarnpkg.com/runtypes/-/runtypes-4.2.0.tgz#6bb01a4683c1ac76015de8669df32a034c6cb0fe" integrity sha512-s89DYbxI7qKSpDMmdKQCGg61nH45tYA5LJMR0pWfJ/1nwPdpww75fusQqGzXE7llpk+rwe8fNPSx78FRGKenJg== -rx@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" - -rxjs@^6.3.3, rxjs@^6.6.0: +rxjs@^6.3.3: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== dependencies: tslib "^1.9.0" -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.1, safe-buffer@~5.2.0: +rxjs@^7.5.5: + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== + dependencies: + tslib "^2.1.0" + +sade@^1.7.3: + version "1.8.1" + resolved "https://registry.yarnpkg.com/sade/-/sade-1.8.1.tgz#0a78e81d658d394887be57d2a409bf703a3b2701" + integrity sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A== + dependencies: + mri "^1.1.0" + +safe-array-concat@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" + integrity sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + has-symbols "^1.0.3" + isarray "^2.0.5" + +safe-buffer@^5.1.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -8818,6 +10882,15 @@ safe-json-parse@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/safe-json-parse/-/safe-json-parse-1.0.1.tgz#3e76723e38dfdda13c9b1d29a1e07ffee4b30b57" +safe-regex-test@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" + integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-regex "^1.1.4" + safe-regex@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" @@ -8825,7 +10898,12 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: +safe-stable-stringify@^2.3.1: + version "2.4.3" + resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" + integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g== + +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -8847,25 +10925,32 @@ semver-regex@^2.0.0: resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338" integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== -"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== +"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.6.0: + version "5.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" + integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== semver@7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@7.5.3: + version "7.5.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" + integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ== + dependencies: + lru-cache "^6.0.0" -semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: - version "7.3.5" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" - integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== +semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0, semver@^6.3.1: + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + +semver@^7.0.0, semver@^7.1.1, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== dependencies: lru-cache "^6.0.0" @@ -8876,10 +10961,19 @@ serialize-javascript@^4.0.0: dependencies: randombytes "^2.1.0" -set-blocking@^2.0.0, set-blocking@~2.0.0: +set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" +set-function-name@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" + integrity sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA== + dependencies: + define-data-property "^1.0.1" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.0" + set-value@^2.0.0, set-value@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" @@ -8933,16 +11027,53 @@ shelljs@^0.8.3: interpret "^1.0.0" rechoir "^0.6.2" +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +signal-exit@3.0.7, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== +signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + +sigstore@^1.3.0, sigstore@^1.4.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/sigstore/-/sigstore-1.9.0.tgz#1e7ad8933aa99b75c6898ddd0eeebc3eb0d59875" + integrity sha512-0Zjz0oe37d08VeOtBIuB6cRriqXse2e8w+7yIy2XSXjshRKxbc2KkhXjL229jXSxEm7UbcjS76wcJDGQddVI9A== + dependencies: + "@sigstore/bundle" "^1.1.0" + "@sigstore/protobuf-specs" "^0.2.0" + "@sigstore/sign" "^1.0.0" + "@sigstore/tuf" "^1.0.3" + make-fetch-happen "^11.0.1" + +simple-swizzle@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" + integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg== + dependencies: + is-arrayish "^0.3.1" + skmeans@0.9.7: version "0.9.7" resolved "https://registry.yarnpkg.com/skmeans/-/skmeans-0.9.7.tgz#72670cebb728508f56e29c0e10d11e623529ce5d" -slash@^3.0.0: +slash@3.0.0, slash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== @@ -8952,24 +11083,10 @@ slice-ansi@0.0.4: resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= -slice-ansi@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" - integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== - dependencies: - ansi-styles "^3.2.0" - astral-regex "^1.0.0" - is-fullwidth-code-point "^2.0.0" - -slide@^1.1.6: - version "1.1.6" - resolved "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc= - -smart-buffer@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba" - integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw== +smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== snapdragon-node@^2.0.1: version "2.1.1" @@ -9001,22 +11118,22 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -socks-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-5.0.1.tgz#032fb583048a29ebffec2e6a73fca0761f48177e" - integrity sha512-vZdmnjb9a2Tz6WEQVIurybSwElwPxMZaIc7PzqbJTrezcKNznv6giT7J7tZDZ1BojVaa1jvO/UiUdhDVB0ACoQ== +socks-proxy-agent@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" + integrity sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww== dependencies: agent-base "^6.0.2" - debug "4" - socks "^2.3.3" + debug "^4.3.3" + socks "^2.6.2" -socks@^2.3.3: - version "2.6.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.6.1.tgz#989e6534a07cf337deb1b1c94aaa44296520d30e" - integrity sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA== +socks@^2.6.2: + version "2.7.1" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" + integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== dependencies: - ip "^1.1.5" - smart-buffer "^4.1.0" + ip "^2.0.0" + smart-buffer "^4.2.0" sort-keys@^2.0.0: version "2.0.0" @@ -9031,15 +11148,10 @@ sort-keys@^4.0.0: dependencies: is-plain-obj "^2.0.0" -source-map-js@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" - integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug== - -source-map-js@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.1.tgz#a1741c131e3c77d048252adfa24e23b908670caf" - integrity sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA== +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== source-map-resolve@^0.5.0: version "0.5.3" @@ -9052,7 +11164,7 @@ source-map-resolve@^0.5.0: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@^0.5.17, source-map-support@~0.5.20: +source-map-support@^0.5.17, source-map-support@^0.5.21, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -9084,13 +11196,10 @@ space-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz#85f32c3d10d9682007e917414ddc5c26d1aa6899" integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA== -spawn-sync@^1.0.15: - version "1.0.15" - resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476" - integrity sha1-sAeZVX63+wyDdsKdROih6mfldHY= - dependencies: - concat-stream "^1.4.7" - os-shim "^0.1.2" +space-separated-tokens@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" + integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== spdx-correct@^3.0.0: version "3.1.0" @@ -9130,14 +11239,14 @@ split-string@^3.0.1, split-string@^3.0.2: dependencies: extend-shallow "^3.0.0" -split2@^3.0.0: +split2@^3.0.0, split2@^3.2.2: version "3.2.2" resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== dependencies: readable-stream "^3.0.0" -split@^1.0.0: +split@^1.0.0, split@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" dependencies: @@ -9147,25 +11256,17 @@ sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" -sshpk@^1.7.0: - version "1.16.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" - integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -ssri@^8.0.0, ssri@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" - integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== +ssri@^10.0.0, ssri@^10.0.1: + version "10.0.5" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.5.tgz#e49efcd6e36385196cb515d3a2ad6c3f0265ef8c" + integrity sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A== + dependencies: + minipass "^7.0.3" + +ssri@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" + integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== dependencies: minipass "^3.1.1" @@ -9203,6 +11304,13 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" +stop-iteration-iterator@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz#6a60be0b4ee757d1ed5254858ec66b10c49285e4" + integrity sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ== + dependencies: + internal-slot "^1.0.4" + stream-array@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/stream-array/-/stream-array-1.1.2.tgz#9e5f7345f2137c30ee3b498b9114e80b52bb7eb5" @@ -9234,7 +11342,16 @@ string-template@~0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz#42932e598a352d01fc22ec3367d9d84eec6c9add" -string-width@^1.0.0, string-width@^1.0.1, string-width@^1.0.2: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^1.0.0, string-width@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" dependencies: @@ -9267,6 +11384,15 @@ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + string.prototype.padend@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.0.tgz#dc08f57a8010dc5c153550318f67e13adbb72ac3" @@ -9275,6 +11401,15 @@ string.prototype.padend@^3.0.0: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" +string.prototype.trim@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz#f9ac6f8af4bd55ddfa8895e6aea92a96395393bd" + integrity sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string.prototype.trim@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea" @@ -9283,6 +11418,15 @@ string.prototype.trim@~1.1.2: es-abstract "^1.5.0" function-bind "^1.0.2" +string.prototype.trimend@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz#1bb3afc5008661d73e2dc015cd4853732d6c471e" + integrity sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string.prototype.trimleft@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74" @@ -9299,6 +11443,15 @@ string.prototype.trimright@^2.1.1: define-properties "^1.1.3" function-bind "^1.1.1" +string.prototype.trimstart@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz#d4cdb44b83a4737ffbac2d406e405d43d0184298" + integrity sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + string_decoder@0.10, string_decoder@~0.10.x: version "0.10.31" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" @@ -9326,6 +11479,14 @@ stringify-entities@^3.0.1: character-entities-legacy "^1.0.0" xtend "^4.0.0" +stringify-entities@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-4.0.3.tgz#cfabd7039d22ad30f3cc435b0ca2c1574fc88ef8" + integrity sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g== + dependencies: + character-entities-html4 "^2.0.0" + character-entities-legacy "^3.0.0" + stringify-object@^3.2.1, stringify-object@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629" @@ -9340,6 +11501,13 @@ stringify-package@^1.0.1: resolved "https://registry.yarnpkg.com/stringify-package/-/stringify-package-1.0.1.tgz#e5aa3643e7f74d0f28628b72f3dad5cecfc3ba85" integrity sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg== +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^3.0.0, strip-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" @@ -9366,6 +11534,13 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + strip-ansi@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-0.1.1.tgz#39e8a98d044d150660abe4a6808acf70bb7bc991" @@ -9390,6 +11565,11 @@ strip-final-newline@^2.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + strip-indent@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" @@ -9407,12 +11587,17 @@ strip-json-comments@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" -strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: +strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -strong-log-transformer@^2.1.0: +strip-json-comments@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-5.0.1.tgz#0d8b7d01b23848ed7dbdf4baaaa31a8250d8cfa0" + integrity sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw== + +strong-log-transformer@2.1.0, strong-log-transformer@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== @@ -9460,6 +11645,18 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" +supports-color@^8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-color@^9.0.0: + version "9.4.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-9.4.0.tgz#17bfcf686288f531db3dea3215510621ccb55954" + integrity sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw== + supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -9484,29 +11681,13 @@ symbol-observable@^1.1.0: resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== -table@^5.2.3: - version "5.4.6" - resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" - integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== - dependencies: - ajv "^6.10.2" - lodash "^4.17.14" - slice-ansi "^2.1.0" - string-width "^3.0.0" - -tabtab@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/tabtab/-/tabtab-2.2.2.tgz#7a047f143b010b4cbd31f857e82961512cbf4e14" - integrity sha1-egR/FDsBC0y9MfhX6ClhUSy/ThQ= +synckit@^0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.5.tgz#b7f4358f9bb559437f9f167eb6bc46b3c9818fa3" + integrity sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q== dependencies: - debug "^2.2.0" - inquirer "^1.0.2" - lodash.difference "^4.5.0" - lodash.uniq "^4.5.0" - minimist "^1.2.0" - mkdirp "^0.5.1" - npmlog "^2.0.3" - object-assign "^4.1.0" + "@pkgr/utils" "^2.3.1" + tslib "^2.5.0" tapable@^2.2.0: version "2.2.1" @@ -9531,23 +11712,49 @@ tape@*: string.prototype.trim "~1.1.2" through "~2.3.8" -tar@^4.4.12: - version "4.4.19" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" - integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== +tape@^5.7.0: + version "5.7.0" + resolved "https://registry.yarnpkg.com/tape/-/tape-5.7.0.tgz#7f31bf116159d3cdbc6f65baa11aaa025d34ccfc" + integrity sha512-6EZoHjMDUUhet8+k32w/9onULL1U8idXKvBCnZxuZF2iFe+tMYOsKo4bpCtXbTSngZmYBnkU08TMhJwsKaHhaw== + dependencies: + "@ljharb/resumer" "^0.0.1" + "@ljharb/through" "^2.3.9" + array.prototype.every "^1.1.5" + call-bind "^1.0.2" + deep-equal "^2.2.2" + defined "^1.0.1" + dotignore "^0.1.2" + for-each "^0.3.3" + get-package-type "^0.1.0" + glob "^7.2.3" + has "^1.0.3" + has-dynamic-import "^2.0.1" + inherits "^2.0.4" + is-regex "^1.1.4" + minimist "^1.2.8" + mock-property "^1.0.0" + object-inspect "^1.12.3" + object-is "^1.1.5" + object-keys "^1.1.1" + object.assign "^4.1.4" + resolve "^2.0.0-next.4" + string.prototype.trim "^1.2.8" + +tar-stream@~2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" + integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== dependencies: - chownr "^1.1.4" - fs-minipass "^1.2.7" - minipass "^2.9.0" - minizlib "^1.3.3" - mkdirp "^0.5.5" - safe-buffer "^5.2.1" - yallist "^3.1.1" + bl "^4.0.3" + end-of-stream "^1.4.1" + fs-constants "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.1.1" -tar@^6.0.2, tar@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.0.tgz#d1724e9bcc04b977b18d5c573b333a2207229a83" - integrity sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA== +tar@6.1.11: + version "6.1.11" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" @@ -9556,20 +11763,22 @@ tar@^6.0.2, tar@^6.1.0: mkdirp "^1.0.3" yallist "^4.0.0" -temp-dir@^1.0.0: +tar@^6.1.11, tar@^6.1.2: + version "6.2.0" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" + integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^5.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" + +temp-dir@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - -temp-write@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/temp-write/-/temp-write-4.0.0.tgz#cd2e0825fc826ae72d201dc26eef3bf7e6fc9320" - integrity sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw== - dependencies: - graceful-fs "^4.1.15" - is-stream "^2.0.0" - make-dir "^3.0.0" - temp-dir "^1.0.0" - uuid "^3.3.2" + integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== terser@^5.0.0: version "5.14.2" @@ -9585,6 +11794,11 @@ text-extensions@^1.0.0: version "1.7.0" resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39" +text-hex@1.0.x: + version "1.0.0" + resolved "https://registry.yarnpkg.com/text-hex/-/text-hex-1.0.0.tgz#69dc9c1b17446ee79a92bf5b884bb4b9127506f5" + integrity sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg== + text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" @@ -9630,12 +11844,10 @@ tinyqueue@^2.0.0, tinyqueue@^2.0.3: resolved "https://registry.yarnpkg.com/tinyqueue/-/tinyqueue-2.0.3.tgz#64d8492ebf39e7801d7bd34062e29b45b2035f08" integrity sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA== -tmp@^0.0.29: - version "0.0.29" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.29.tgz#f25125ff0dd9da3ccb0c2dd371ee1288bb9128c0" - integrity sha1-8lEl/w3Z2jzLDC3Tce4SiLuRKMA= - dependencies: - os-tmpdir "~1.0.1" +titleize@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/titleize/-/titleize-3.0.0.tgz#71c12eb7fdd2558aa8a44b0be83b8a76694acd53" + integrity sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ== tmp@^0.0.33: version "0.0.33" @@ -9643,6 +11855,13 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" +tmp@~0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" + integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== + dependencies: + rimraf "^3.0.0" + to-absolute-glob@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz#1865f43d9e74b0822db9f145b78cff7d0f7c849b" @@ -9707,26 +11926,16 @@ topojson-server@3.x: dependencies: commander "2" -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - -tr46@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.1.0.tgz#fa87aa81ca5d5941da8cbf1f9b749dc969a4e240" - integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== - dependencies: - punycode "^2.1.1" - tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= +trim-lines@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338" + integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg== + trim-newlines@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" @@ -9745,61 +11954,61 @@ trim@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.1.tgz#5858547f6b290757ee95cccc666fb50084c460dd" +triple-beam@^1.3.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.4.1.tgz#6fde70271dc6e5d73ca0c3b24e2d92afb7441984" + integrity sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg== + trough@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.1.tgz#a9fd8b0394b0ae8fff82e0633a0a36ccad5b5f86" -ts-node@*, ts-node@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-9.0.0.tgz#e7699d2a110cc8c0d3b831715e417688683460b3" - integrity sha1-52mdKhEMyMDTuDFxXkF2iGg0YLM= +trough@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876" + integrity sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g== + +ts-api-utils@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" + integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg== + +ts-node@^9.0.0: + version "9.1.1" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-9.1.1.tgz#51a9a450a3e959401bda5f004a72d54b936d376d" + integrity sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg== dependencies: arg "^4.1.0" + create-require "^1.1.0" diff "^4.0.1" make-error "^1.1.1" source-map-support "^0.5.17" yn "3.1.1" -tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: +tsconfig-paths@^4.1.2: + version "4.2.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c" + integrity sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg== + dependencies: + json5 "^2.2.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tslib@^1.8.1, tslib@^1.9.0: version "1.11.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== +tslib@^2.1.0, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + tslib@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e" integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg== -tslint@*: - version "5.9.1" - resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.9.1.tgz#1255f87a3ff57eb0b0e1f0e610a8b4748046c9ae" - dependencies: - babel-code-frame "^6.22.0" - builtin-modules "^1.1.1" - chalk "^2.3.0" - commander "^2.12.1" - diff "^3.2.0" - glob "^7.1.1" - js-yaml "^3.7.0" - minimatch "^3.0.4" - resolve "^1.3.2" - semver "^5.3.0" - tslib "^1.8.0" - tsutils "^2.12.1" - -tsutils@^2.12.1: - version "2.22.2" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.22.2.tgz#0b9f3d87aa3eb95bd32d26ce2b88aa329a657951" - dependencies: - tslib "^1.8.1" - -tsutils@^3.17.1: - version "3.17.1" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" - integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g== - dependencies: - tslib "^1.8.1" - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -9807,16 +12016,25 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" +tsx@*, tsx@^3.12.8: + version "3.12.8" + resolved "https://registry.yarnpkg.com/tsx/-/tsx-3.12.8.tgz#e9ec95c6b116e28f0187467f839029a3ce17a851" + integrity sha512-Lt9KYaRGF023tlLInPj8rgHwsZU8qWLBj4iRXNWxTfjIkU7canGL806AqKear1j722plHuiYNcL2ZCo6uS9UJA== dependencies: - safe-buffer "^5.0.1" + "@esbuild-kit/cjs-loader" "^2.4.2" + "@esbuild-kit/core-utils" "^3.2.2" + "@esbuild-kit/esm-loader" "^2.5.5" + optionalDependencies: + fsevents "~2.3.2" -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= +tuf-js@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/tuf-js/-/tuf-js-1.1.7.tgz#21b7ae92a9373015be77dfe0cb282a80ec3bbe43" + integrity sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg== + dependencies: + "@tufjs/models" "1.0.4" + debug "^4.3.4" + make-fetch-happen "^11.1.1" type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" @@ -9837,6 +12055,11 @@ type-fest@^0.18.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + type-fest@^0.21.3: version "0.21.3" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" @@ -9857,6 +12080,50 @@ type-fest@^0.8.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +type-fest@^2.0.0, type-fest@^2.5.0: + version "2.19.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" + integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== + +typed-array-buffer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz#18de3e7ed7974b0a729d3feecb94338d1472cd60" + integrity sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" + is-typed-array "^1.1.10" + +typed-array-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz#d787a24a995711611fb2b87a4052799517b230d0" + integrity sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + +typed-array-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz#cbbe89b51fdef9cd6aaf07ad4707340abbc4ea0b" + integrity sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + has-proto "^1.0.1" + is-typed-array "^1.1.10" + +typed-array-length@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" + integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + is-typed-array "^1.1.9" + typedarray-to-buffer@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" @@ -9868,11 +12135,16 @@ typedarray@^0.0.6, typedarray@~0.0.5: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -typescript@*, typescript@^3.8.3: +typescript@*: version "3.8.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" integrity sha1-QJ64VE6gM1cRIFhp7EWKsQnuEGE= +"typescript@>=3 < 6", typescript@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== + typescript@^3.9.7: version "3.9.10" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" @@ -9886,14 +12158,15 @@ uglify-js@^3.1.4: commander "~2.20.3" source-map "~0.6.1" -uid-number@0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" - -umask@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" - integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= +unbox-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== + dependencies: + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" + which-boxed-primitive "^1.0.2" unc-path-regex@^0.1.2: version "0.1.2" @@ -9926,6 +12199,19 @@ unicode-property-aliases-ecmascript@^2.0.0: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz#0a36cb9a585c4f6abd51ad1deddb285c165297c8" integrity sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ== +unified@^10.0.0: + version "10.1.2" + resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.2.tgz#b1d64e55dafe1f0b98bb6c719881103ecf6c86df" + integrity sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q== + dependencies: + "@types/unist" "^2.0.0" + bail "^2.0.0" + extend "^3.0.0" + is-buffer "^2.0.0" + is-plain-obj "^4.0.0" + trough "^2.0.0" + vfile "^5.0.0" + unified@^9.1.0: version "9.2.1" resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.1.tgz#ae18d5674c114021bfdbdf73865ca60f410215a3" @@ -9953,17 +12239,17 @@ uniq@^1.0.1: resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" integrity sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8= -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== +unique-filename@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-3.0.0.tgz#48ba7a5a16849f5080d26c760c86cf5cf05770ea" + integrity sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g== dependencies: - unique-slug "^2.0.0" + unique-slug "^4.0.0" -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== +unique-slug@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-4.0.0.tgz#6bae6bb16be91351badd24cdce741f892a6532e3" + integrity sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ== dependencies: imurmurhash "^0.1.4" @@ -9979,21 +12265,47 @@ unist-builder@^2.0.0, unist-builder@^2.0.3: resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-2.0.3.tgz#77648711b5d86af0942f334397a33c5e91516436" integrity sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw== +unist-builder@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-3.0.1.tgz#258b89dcadd3c973656b2327b347863556907f58" + integrity sha512-gnpOw7DIpCA0vpr6NqdPvTWnlPTApCTRzr+38E6hCWx3rz/cjo83SsKIlS1Z+L5ttScQ2AwutNnb8+tAvpb6qQ== + dependencies: + "@types/unist" "^2.0.0" + unist-util-generated@^1.0.0: version "1.1.6" resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.6.tgz#5ab51f689e2992a472beb1b35f2ce7ff2f324d4b" integrity sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg== +unist-util-generated@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-2.0.1.tgz#e37c50af35d3ed185ac6ceacb6ca0afb28a85cae" + integrity sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A== + unist-util-is@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.1.0.tgz#976e5f462a7a5de73d94b706bac1b90671b57797" integrity sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg== +unist-util-is@^5.0.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-5.2.1.tgz#b74960e145c18dcb6226bc57933597f5486deae9" + integrity sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw== + dependencies: + "@types/unist" "^2.0.0" + unist-util-position@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.1.0.tgz#1c42ee6301f8d52f47d14f62bbdb796571fa2d47" integrity sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA== +unist-util-position@^4.0.0: + version "4.0.4" + resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-4.0.4.tgz#93f6d8c7d6b373d9b825844645877c127455f037" + integrity sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg== + dependencies: + "@types/unist" "^2.0.0" + unist-util-stringify-position@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-1.1.1.tgz#3ccbdc53679eed6ecf3777dd7f5e3229c1b6aa3c" @@ -10005,6 +12317,13 @@ unist-util-stringify-position@^2.0.0: dependencies: "@types/unist" "^2.0.2" +unist-util-stringify-position@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz#03ad3348210c2d930772d64b489580c13a7db39d" + integrity sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg== + dependencies: + "@types/unist" "^2.0.0" + unist-util-visit-parents@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz#65a6ce698f78a6b0f56aa0e88f13801886cdaef6" @@ -10013,6 +12332,14 @@ unist-util-visit-parents@^3.0.0: "@types/unist" "^2.0.0" unist-util-is "^4.0.0" +unist-util-visit-parents@^5.0.0, unist-util-visit-parents@^5.1.1: + version "5.1.3" + resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz#b4520811b0ca34285633785045df7a8d6776cfeb" + integrity sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^5.0.0" + unist-util-visit@^2.0.0, unist-util-visit@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c" @@ -10022,6 +12349,15 @@ unist-util-visit@^2.0.0, unist-util-visit@^2.0.3: unist-util-is "^4.0.0" unist-util-visit-parents "^3.0.0" +unist-util-visit@^4.0.0, unist-util-visit@^4.1.0: + version "4.1.2" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2" + integrity sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg== + dependencies: + "@types/unist" "^2.0.0" + unist-util-is "^5.0.0" + unist-util-visit-parents "^5.1.1" + universal-user-agent@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" @@ -10040,11 +12376,24 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" -upath@^2.0.1: +untildify@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" + integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== + +upath@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== +update-browserslist-db@^1.0.13: + version "1.0.13" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" + integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + uri-js@^4.2.2: version "4.2.2" resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" @@ -10066,24 +12415,27 @@ util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" -util-promisify@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53" - integrity sha1-PCI2R2xNMsX/PEcAKt18E7moKlM= - dependencies: - object.getownpropertydescriptors "^2.0.3" +uuid@^9.0.0: + version "9.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== -uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== +uvu@^0.5.0: + version "0.5.6" + resolved "https://registry.yarnpkg.com/uvu/-/uvu-0.5.6.tgz#2754ca20bcb0bb59b64e9985e84d2e81058502df" + integrity sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA== + dependencies: + dequal "^2.0.0" + diff "^5.0.0" + kleur "^4.0.3" + sade "^1.7.3" -v8-compile-cache@^2.0.3: - version "2.2.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz#9471efa3ef9128d2f7c6a7ca39c4dd6b5055b132" - integrity sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q== +v8-compile-cache@2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" + integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: +validate-npm-package-license@3.0.4, validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== @@ -10091,6 +12443,13 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +validate-npm-package-name@5.0.0, validate-npm-package-name@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz#f16afd48318e6f90a1ec101377fa0384cfc8c713" + integrity sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ== + dependencies: + builtins "^5.0.0" + validate-npm-package-name@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" @@ -10102,13 +12461,13 @@ value-or-function@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/value-or-function/-/value-or-function-3.0.0.tgz#1c243a50b595c1be54a754bfece8563b9ff8d813" -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" +vfile-location@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-4.1.0.tgz#69df82fb9ef0a38d0d02b90dd84620e120050dd0" + integrity sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw== dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" + "@types/unist" "^2.0.0" + vfile "^5.0.0" vfile-message@^2.0.0: version "2.0.4" @@ -10118,6 +12477,14 @@ vfile-message@^2.0.0: "@types/unist" "^2.0.0" unist-util-stringify-position "^2.0.0" +vfile-message@^3.0.0: + version "3.1.4" + resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-3.1.4.tgz#15a50816ae7d7c2d1fa87090a7f9f96612b59dea" + integrity sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw== + dependencies: + "@types/unist" "^2.0.0" + unist-util-stringify-position "^3.0.0" + vfile-reporter@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-3.0.0.tgz#fe50714e373e0d2940510038a99bd609bdc8209f" @@ -10143,15 +12510,45 @@ vfile-reporter@^6.0.0: vfile-sort "^2.1.2" vfile-statistics "^1.1.0" +vfile-reporter@^7.0.4: + version "7.0.5" + resolved "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-7.0.5.tgz#a0cbf3922c08ad428d6db1161ec64a53b5725785" + integrity sha512-NdWWXkv6gcd7AZMvDomlQbK3MqFWL1RlGzMn++/O2TI+68+nqxCPTvLugdOtfSzXmjh+xUyhp07HhlrbJjT+mw== + dependencies: + "@types/supports-color" "^8.0.0" + string-width "^5.0.0" + supports-color "^9.0.0" + unist-util-stringify-position "^3.0.0" + vfile "^5.0.0" + vfile-message "^3.0.0" + vfile-sort "^3.0.0" + vfile-statistics "^2.0.0" + vfile-sort@^2.1.0, vfile-sort@^2.1.2: version "2.2.2" resolved "https://registry.yarnpkg.com/vfile-sort/-/vfile-sort-2.2.2.tgz#720fe067ce156aba0b411a01bb0dc65596aa1190" integrity sha512-tAyUqD2R1l/7Rn7ixdGkhXLD3zsg+XLAeUDUhXearjfIcpL1Hcsj5hHpCoy/gvfK/Ws61+e972fm0F7up7hfYA== +vfile-sort@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/vfile-sort/-/vfile-sort-3.0.1.tgz#4b06ec63e2946749b0bb514e736554cd75e441a2" + integrity sha512-1os1733XY6y0D5x0ugqSeaVJm9lYgj0j5qdcZQFyxlZOSy1jYarL77lLyb5gK4Wqr1d5OxmuyflSO3zKyFnTFw== + dependencies: + vfile "^5.0.0" + vfile-message "^3.0.0" + vfile-statistics@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-1.1.0.tgz#02104c60fdeed1d11b1f73ad65330b7634b3d895" +vfile-statistics@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-2.0.1.tgz#2e1adae1cd3a45c1ed4f2a24bd103c3d71e4bce3" + integrity sha512-W6dkECZmP32EG/l+dp2jCLdYzmnDBIw6jwiLZSER81oR5AHRcVqL+k3Z+pfH1R73le6ayDkJRMk0sutj1bMVeg== + dependencies: + vfile "^5.0.0" + vfile-message "^3.0.0" + vfile@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.0.0.tgz#88620500e36bad025a0b01cc25106dbcb3090548" @@ -10172,6 +12569,16 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" +vfile@^5.0.0, vfile@^5.3.4: + version "5.3.7" + resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.7.tgz#de0677e6683e3380fafc46544cfe603118826ab7" + integrity sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g== + dependencies: + "@types/unist" "^2.0.0" + is-buffer "^2.0.0" + unist-util-stringify-position "^3.0.0" + vfile-message "^3.0.0" + vinyl-fs@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/vinyl-fs/-/vinyl-fs-3.0.2.tgz#1b86258844383f57581fcaac081fe09ef6d6d752" @@ -10225,22 +12632,30 @@ vue-template-compiler@^2.6.12: de-indent "^1.0.2" he "^1.1.0" -wcwidth@^1.0.0: +vue-template-compiler@^2.7.8: + version "2.7.14" + resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz#4545b7dfb88090744c1577ae5ac3f964e61634b1" + integrity sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ== + dependencies: + de-indent "^1.0.2" + he "^1.2.0" + +wcwidth@^1.0.0, wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" dependencies: defaults "^1.0.3" +web-namespaces@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-2.0.1.tgz#1010ff7c650eccb2592cebeeaf9a1b253fd40692" + integrity sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ== + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= -webidl-conversions@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" - integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== - websocket-driver@>=0.5.1: version "0.7.0" resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.0.tgz#0caf9d2d755d93aee049d4bdd0d3fe2cca2a24eb" @@ -10261,14 +12676,26 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -whatwg-url@^8.4.0: - version "8.6.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.6.0.tgz#27c0205a4902084b872aecb97cf0f2a7a3011f4c" - integrity sha512-os0KkeeqUOl7ccdDT1qqUcS4KH4tcBTSKK5Nl5WKb2lyxInIZ/CpjkqKa1Ss12mjfdcRX9mHmPPs7/SxG1Hbdw== +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which-collection@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.1.tgz#70eab71ebbbd2aefaf32f917082fc62cdcb70906" + integrity sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A== dependencies: - lodash "^4.7.0" - tr46 "^2.1.0" - webidl-conversions "^6.1.0" + is-map "^2.0.1" + is-set "^2.0.1" + is-weakmap "^2.0.1" + is-weakset "^2.0.1" which-module@^2.0.0: version "2.0.0" @@ -10279,7 +12706,18 @@ which-pm-runs@^1.0.0: resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= -which@^1.2.9, which@^1.3.1: +which-typed-array@^1.1.11, which-typed-array@^1.1.9: + version "1.1.11" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.11.tgz#99d691f23c72aab6768680805a271b69761ed61a" + integrity sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + +which@^1.2.9: version "1.3.1" resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -10293,38 +12731,69 @@ which@^2.0.1, which@^2.0.2: dependencies: isexe "^2.0.0" -wide-align@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" +which@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/which/-/which-3.0.1.tgz#89f1cd0c23f629a8105ffe69b8172791c87b4be1" + integrity sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg== + dependencies: + isexe "^2.0.0" + +wide-align@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== + dependencies: + string-width "^1.0.2 || 2 || 3 || 4" + +winston-transport@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/winston-transport/-/winston-transport-4.5.0.tgz#6e7b0dd04d393171ed5e4e4905db265f7ab384fa" + integrity sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q== dependencies: - string-width "^1.0.2" + logform "^2.3.2" + readable-stream "^3.6.0" + triple-beam "^1.3.0" -winston@^2.3.1: - version "2.4.5" - resolved "https://registry.yarnpkg.com/winston/-/winston-2.4.5.tgz#f2e431d56154c4ea765545fc1003bd340c95b59a" - integrity sha512-TWoamHt5yYvsMarGlGEQE59SbJHqGsZV8/lwC+iCcGeAe0vUaOh+Lv6SYM17ouzC/a/LB1/hz/7sxFBtlu1l4A== +winston@^3.8.2: + version "3.10.0" + resolved "https://registry.yarnpkg.com/winston/-/winston-3.10.0.tgz#d033cb7bd3ced026fed13bf9d92c55b903116803" + integrity sha512-nT6SIDaE9B7ZRO0u3UvdrimG0HkB7dSTAgInQnNR2SOPJ4bvq5q79+pXLftKmP52lJGW15+H5MCK0nM9D3KB/g== dependencies: - async "~1.0.0" - colors "1.0.x" - cycle "1.0.x" - eyes "0.1.x" - isstream "0.1.x" + "@colors/colors" "1.5.0" + "@dabh/diagnostics" "^2.0.2" + async "^3.2.3" + is-stream "^2.0.0" + logform "^2.4.0" + one-time "^1.0.0" + readable-stream "^3.4.0" + safe-stable-stringify "^2.3.1" stack-trace "0.0.x" + triple-beam "^1.3.0" + winston-transport "^4.5.0" wkt-parser@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/wkt-parser/-/wkt-parser-1.2.1.tgz#3339689dbc549c103fc5c7447543534785ff8d4d" -word-wrap@^1.2.3, word-wrap@~1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== +word-wrap@~1.2.3: + version "1.2.4" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.4.tgz#cb4b50ec9aca570abd1f52f33cd45b6c61739a9f" + integrity sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA== wordwrap@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba" @@ -10342,7 +12811,7 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" -wrap-ansi@^6.2.0: +wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== @@ -10351,20 +12820,28 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= +write-file-atomic@5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-5.0.1.tgz#68df4717c55c6fa4281a7860b4c2ba0a6d2b11e7" + integrity sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^4.0.1" + write-file-atomic@^2.4.2: version "2.4.3" resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" @@ -10374,7 +12851,7 @@ write-file-atomic@^2.4.2: imurmurhash "^0.1.4" signal-exit "^3.0.2" -write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: +write-file-atomic@^3.0.0: version "3.0.3" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== @@ -10384,7 +12861,7 @@ write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -write-json-file@*, write-json-file@^4.3.0: +write-json-file@*: version "4.3.0" resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-4.3.0.tgz#908493d6fd23225344af324016e4ca8f702dd12d" integrity sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ== @@ -10408,7 +12885,7 @@ write-json-file@^3.2.0: sort-keys "^2.0.0" write-file-atomic "^2.4.2" -write-pkg@^4.0.0: +write-pkg@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== @@ -10417,13 +12894,6 @@ write-pkg@^4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" -write@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" - integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== - dependencies: - mkdirp "^0.5.1" - x-is-string@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/x-is-string/-/x-is-string-0.1.0.tgz#474b50865af3a49a9c4657f05acd145458f77d82" @@ -10447,7 +12917,7 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^3.0.0, yallist@^3.0.2, yallist@^3.1.1: +yallist@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== @@ -10457,7 +12927,7 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.0, yaml@^1.7.2: +yaml@^1.7.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== @@ -10474,6 +12944,11 @@ yargs-parser@20.2.4: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== +yargs-parser@21.1.1, yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + yargs-parser@^15.0.1: version "15.0.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.1.tgz#54786af40b820dcb2fb8025b11b4d659d76323b3" @@ -10495,6 +12970,19 @@ yargs-parser@^20.2.2, yargs-parser@^20.2.3: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== +yargs@16.2.0, yargs@^16.0.0, yargs@^16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2" + yargs@^14.0.0: version "14.2.3" resolved "https://registry.npmjs.org/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414" @@ -10529,30 +13017,40 @@ yargs@^15.3.1: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^16.0.0, yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== +yargs@^17.5.1, yargs@^17.6.2: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: - cliui "^7.0.2" + cliui "^8.0.1" escalade "^3.1.1" get-caller-file "^2.0.5" require-directory "^2.1.1" - string-width "^4.2.0" + string-width "^4.2.3" y18n "^5.0.5" - yargs-parser "^20.2.2" + yargs-parser "^21.1.1" yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" - integrity sha1-HodAGgnXZ8HV6rJqbkwYUYLS61A= + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== +yocto-queue@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" + integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== + zwitch@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920" integrity sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw== + +zwitch@^2.0.0, zwitch@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7" + integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==