diff --git a/.github/workflows/publish-tag.yml b/.github/workflows/publish-tag.yml index 28efa2cc426..ffc9c7ec245 100644 --- a/.github/workflows/publish-tag.yml +++ b/.github/workflows/publish-tag.yml @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] steps: # we login to docker to publish new teraslice image - name: Login to Docker Hub diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39830f3dbed..04668fb6ea8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] steps: - name: Check out code uses: actions/checkout@v3 @@ -55,7 +55,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] steps: - name: Check out code uses: actions/checkout@v3 @@ -83,7 +83,7 @@ jobs: # opensearch is finiky, keep testing others if it fails fail-fast: false matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2] steps: - name: Check out code @@ -117,7 +117,7 @@ jobs: # opensearch is finiky, keep testing others if it fails fail-fast: false matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2] steps: - name: Check out code @@ -151,7 +151,7 @@ jobs: # opensearch is finiky, keep testing others if it fails fail-fast: false matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2] steps: - name: Check out code @@ -185,7 +185,7 @@ jobs: # opensearch is finiky, keep testing others if it fails fail-fast: false matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] search-version: [elasticsearch6, elasticsearch7, opensearch1, opensearch2] steps: - name: Check out code @@ -223,7 +223,7 @@ jobs: # opensearch is finiky, keep testing others if it fails fail-fast: false matrix: - node-version: [18.19.1, 20.11.1] + node-version: [18.19.1, 20.11.1, 22.2.0] steps: - name: Check out code uses: actions/checkout@v3 diff --git a/Dockerfile b/Dockerfile index 9470103401c..ba2f4e70be7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ COPY packages /app/source/packages COPY scripts /app/source/scripts COPY types /app/source/types +# Check to see if distutils is installed because python 3.12 removed it +RUN python3 -c "import distutils" || (apk update && apk add py3-setuptools) + RUN yarn --prod=false --frozen-lockfile \ && yarn build \ && yarn \ diff --git a/docs/development/node.md b/docs/development/node.md new file mode 100644 index 00000000000..9b65a4df824 --- /dev/null +++ b/docs/development/node.md @@ -0,0 +1,83 @@ +--- +title: Updating Node Versions +sidebar_label: Node +--- + +## Adding a new node verison + +Updating node is a multi-step process that requires changes across multiple Terascope repositories. + +### 1. Updating Node in the Base Docker Image Repository + +Start by modifying the CI YAML files in the base-docker-image repository. + +https://github.com/terascope/base-docker-image + + +#### Modify CI YAML Files + +There are two files that need to be updated to create new base images with the appropriate Node versions for Teraslice. These files are: + +- build.yml +- release.yml + +Add the new Node version to the matrix list in both files. + +https://github.com/terascope/base-docker-image/tree/master/.github/workflows + +#### Push and Merge Changes + +Push your changes to a new branch. +Once the changes are merged and a new release is made, the CI will create new base Docker images with the updated Node version. + +#### Verify New Docker Images + +The new Docker images will be available on Docker Hub here: + +https://hub.docker.com/r/terascope/node-base/tags + +### 2. Updating node in assets + +Before we can update teraslice we must update the assets. This is because teraslice e2e tests will break if we don't already have asset releases with the new node version. + +To start, update `teraslice-cli` to have the ability to build assets with the specified node version. + +Update the `bundleTarget` in teraslice/packages/teraslice-cli/src/helpers/asset-src.ts and the `bundle-target` `choices` array in teraslice/packages/teraslice-cli/src/helpers/yargs-options.ts + +Afterwards bump `teraslice-cli` and make a new npm release. + +Next we need to update the workflows repo to include the new node version: + +https://github.com/terascope/workflows + +Update node matrices in workflows/.github/workflows/asset-build-and-publish.yml and workflows/.github/workflows/asset-test.yml + +After it's merged, Copy hash from the merge of workflows and append to `uses` in .github/workflows/build-and-publish-asset.yml and .github/workflows/test-asset.yml of each of these assets: + +- https://github.com/terascope/file-assets +- https://github.com/terascope/standard-assets +- https://github.com/terascope/kafka-assets +- https://github.com/terascope/elasticsearch-assets + +Example `test-asset.yml`: + +```yaml +jobs: + call-asset-test-workflow: + uses: terascope/workflows/.github/workflows/asset-test.yml@ieqo2423biu22 <- Replace everything after `@` w/ new merge hash + secrets: inherit +``` + +**_IMPORTANT NOTE:_** elasticsearch-assets has it's own `test-asset.yml` so it's important to manually add the node version to the matrices of that file. + +Create all new releases for the assets before moving on to the next step. + +### 3. Updating node in teraslice + +Add the new node version to all the spots needed inside each file in `.github/workflows` in teraslice. + +- publish-master.yml +- publish-tag.yml +- test.yml + +Once the node version has been added to the arrays of all the workflow .yml files, pushing the branch and making a new PR should trigger CI to run new tests with the added node version. Once all tests are passing, then a new node version has been succesfully introduced to teraslice. diff --git a/e2e/test/fixtures/jobs/generate-to-es.json b/e2e/test/fixtures/jobs/generate-to-es.json deleted file mode 100644 index d8301baa243..00000000000 --- a/e2e/test/fixtures/jobs/generate-to-es.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "generator", - "slicers": 1, - "lifecycle": "persistent", - "workers": 2, - "analytics": false, - "assets": ["elasticsearch", "standard"], - "max_retries": 0, - "operations": [ - { - "_op": "data_generator", - "size": 100 - }, - { - "_op": "elasticsearch_bulk", - "index": "replace-me-1000", - "type": "events", - "size": 1000 - } - ] - } diff --git a/e2e/test/fixtures/jobs/generate-to-es.ts b/e2e/test/fixtures/jobs/generate-to-es.ts new file mode 100644 index 00000000000..94e786ac6a1 --- /dev/null +++ b/e2e/test/fixtures/jobs/generate-to-es.ts @@ -0,0 +1,21 @@ +export default { + name: 'generator', + slicers: 1, + lifecycle: 'persistent', + workers: 2, + analytics: false, + assets: ['elasticsearch', 'standard'], + max_retries: 0, + operations: [ + { + _op: 'data_generator', + size: 100 + }, + { + _op: 'elasticsearch_bulk', + index: 'replace-me-1000', + type: 'events', + size: 1000 + } + ] +}; diff --git a/e2e/test/fixtures/jobs/generator-asset.json b/e2e/test/fixtures/jobs/generator-asset.json deleted file mode 100644 index e0cbf88bdfc..00000000000 --- a/e2e/test/fixtures/jobs/generator-asset.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "generator-asset", - "slicers": 1, - "lifecycle": "persistent", - "workers": 2, - "assets": ["ex1", "standard"], - "max_retries": 0, - "analytics": false, - "operations": [ - { - "_op": "data_generator", - "size": 1000 - }, - { - "_op": "drop_property", - "property": "userAgent" - }, - { - "_op": "delay", - "ms": 100 - } - ] -} diff --git a/e2e/test/fixtures/jobs/generator-asset.ts b/e2e/test/fixtures/jobs/generator-asset.ts new file mode 100644 index 00000000000..a615b7e3a58 --- /dev/null +++ b/e2e/test/fixtures/jobs/generator-asset.ts @@ -0,0 +1,23 @@ +export default { + name: 'generator-asset', + slicers: 1, + lifecycle: 'persistent', + workers: 2, + assets: ['ex1', 'standard'], + max_retries: 0, + analytics: false, + operations: [ + { + _op: 'data_generator', + size: 1000 + }, + { + _op: 'drop_property', + property: 'userAgent' + }, + { + _op: 'delay', + ms: 100 + } + ] +}; diff --git a/e2e/test/fixtures/jobs/generator-large-asset.json b/e2e/test/fixtures/jobs/generator-large-asset.json deleted file mode 100644 index b257c3dbf68..00000000000 --- a/e2e/test/fixtures/jobs/generator-large-asset.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "generator", - "slicers": 1, - "lifecycle": "once", - "workers": 3, - "analytics": false, - "assets": ["standard", "large-example-asset"], - "max_retries": 0, - "operations": [ - { - "_op": "data_generator", - "size": 1000, - "stress_test": false - }, - { - "_op": "noop" - } - ] -} diff --git a/e2e/test/fixtures/jobs/generator-large-asset.ts b/e2e/test/fixtures/jobs/generator-large-asset.ts new file mode 100644 index 00000000000..a4917dd54f9 --- /dev/null +++ b/e2e/test/fixtures/jobs/generator-large-asset.ts @@ -0,0 +1,19 @@ +export default { + name: 'generator', + slicers: 1, + lifecycle: 'once', + workers: 3, + analytics: false, + assets: ['standard', 'large-example-asset'], + max_retries: 0, + operations: [ + { + _op: 'data_generator', + size: 1000, + stress_test: false + }, + { + _op: 'noop' + } + ] +}; diff --git a/e2e/test/fixtures/jobs/generator.json b/e2e/test/fixtures/jobs/generator.json deleted file mode 100644 index 28bcf98d2c1..00000000000 --- a/e2e/test/fixtures/jobs/generator.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "generator", - "slicers": 1, - "lifecycle": "persistent", - "workers": 3, - "analytics": false, - "assets": ["standard"], - "max_retries": 0, - "operations": [ - { - "_op": "data_generator", - "size": 1000, - "stress_test": false - }, - { - "_op": "noop" - } - ] -} diff --git a/e2e/test/fixtures/jobs/generator.ts b/e2e/test/fixtures/jobs/generator.ts new file mode 100644 index 00000000000..af6ddf5f63a --- /dev/null +++ b/e2e/test/fixtures/jobs/generator.ts @@ -0,0 +1,19 @@ +export default { + name: 'generator', + slicers: 1, + lifecycle: 'persistent', + workers: 3, + analytics: false, + assets: ['standard'], + max_retries: 0, + operations: [ + { + _op: 'data_generator', + size: 1000, + stress_test: false + }, + { + _op: 'noop' + } + ] +}; diff --git a/e2e/test/fixtures/jobs/id.json b/e2e/test/fixtures/jobs/id.json deleted file mode 100644 index 844482d35e3..00000000000 --- a/e2e/test/fixtures/jobs/id.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "ID_Reindex", - "lifecycle": "once", - "analytics": true, - "slicers": 2, - "workers": 4, - "assets": ["elasticsearch"], - "operations": [ - { - "_op": "id_reader", - "index": "replace-me-1000", - "type": "events", - "size": 500, - "key_type": "base64url" - }, - { - "_op": "elasticsearch_bulk", - "index": "test-id_reindex-1000", - "type": "events", - "size": 200 - } - ] -} diff --git a/e2e/test/fixtures/jobs/id.ts b/e2e/test/fixtures/jobs/id.ts new file mode 100644 index 00000000000..f2d99f00837 --- /dev/null +++ b/e2e/test/fixtures/jobs/id.ts @@ -0,0 +1,23 @@ +export default { + name: 'ID_Reindex', + lifecycle: 'once', + analytics: true, + slicers: 2, + workers: 4, + assets: ['elasticsearch'], + operations: [ + { + _op: 'id_reader', + index: 'replace-me-1000', + type: 'events', + size: 500, + key_type: 'base64url' + }, + { + _op: 'elasticsearch_bulk', + index: 'test-id_reindex-1000', + type: 'events', + size: 200 + } + ] +}; diff --git a/e2e/test/fixtures/jobs/kafka-reader.json b/e2e/test/fixtures/jobs/kafka-reader.json deleted file mode 100644 index f1eeb469ceb..00000000000 --- a/e2e/test/fixtures/jobs/kafka-reader.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "Kafka Reader", - "lifecycle": "persistent", - "workers": 1, - "analytics": true, - "assets": ["kafka", "elasticsearch"], - "max_retries": 0, - "operations": [ - { - "_op": "kafka_reader", - "connection": "default", - "topic": "replace-me-1000", - "group": "example-kafka-group", - "size": 300, - "wait": 500, - "_encoding": "json" - }, - { - "_op": "elasticsearch_bulk", - "type": "events", - "index": "replace-me-1000", - "preserve_id": true, - "size": 500 - } - ] -} diff --git a/e2e/test/fixtures/jobs/kafka-reader.ts b/e2e/test/fixtures/jobs/kafka-reader.ts new file mode 100644 index 00000000000..799b9bb4044 --- /dev/null +++ b/e2e/test/fixtures/jobs/kafka-reader.ts @@ -0,0 +1,26 @@ +export default { + name: 'Kafka Reader', + lifecycle: 'persistent', + workers: 1, + analytics: true, + assets: ['kafka', 'elasticsearch'], + max_retries: 0, + operations: [ + { + _op: 'kafka_reader', + connection: 'default', + topic: 'replace-me-1000', + group: 'example-kafka-group', + size: 300, + wait: 500, + _encoding: 'json' + }, + { + _op: 'elasticsearch_bulk', + type: 'events', + index: 'replace-me-1000', + preserve_id: true, + size: 500 + } + ] +}; diff --git a/e2e/test/fixtures/jobs/kafka-sender.json b/e2e/test/fixtures/jobs/kafka-sender.json deleted file mode 100644 index f799564a770..00000000000 --- a/e2e/test/fixtures/jobs/kafka-sender.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "Kafka Sender", - "lifecycle": "once", - "workers": 1, - "analytics": true, - "assets": ["kafka", "elasticsearch"], - "max_retries": 0, - "operations": [ - { - "_op": "elasticsearch_reader", - "index": "replace-me-1000", - "type": "events", - "size": 500, - "date_field_name": "created", - "preserve_id": true - }, - { - "_op": "kafka_sender", - "connection": "default", - "topic": "replace-me-1000", - "size": 100, - "timestamp_field": "created", - "_encoding": "json" - } - ] -} diff --git a/e2e/test/fixtures/jobs/kafka-sender.ts b/e2e/test/fixtures/jobs/kafka-sender.ts new file mode 100644 index 00000000000..089c28f5354 --- /dev/null +++ b/e2e/test/fixtures/jobs/kafka-sender.ts @@ -0,0 +1,26 @@ +export default { + name: 'Kafka Sender', + lifecycle: 'once', + workers: 1, + analytics: true, + assets: ['kafka', 'elasticsearch'], + max_retries: 0, + operations: [ + { + _op: 'elasticsearch_reader', + index: 'replace-me-1000', + type: 'events', + size: 500, + date_field_name: 'created', + preserve_id: true + }, + { + _op: 'kafka_sender', + connection: 'default', + topic: 'replace-me-1000', + size: 100, + timestamp_field: 'created', + _encoding: 'json' + } + ] +}; diff --git a/e2e/test/fixtures/jobs/multisend.json b/e2e/test/fixtures/jobs/multisend.json deleted file mode 100644 index 52be220596b..00000000000 --- a/e2e/test/fixtures/jobs/multisend.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "Multisend Test", - "workers": 1, - "lifecycle": "once", - "analytics": false, - "assets": ["elasticsearch"], - "operations": [ - { - "_op": "elasticsearch_reader", - "index": "replace-me-1000", - "preserve_id": true, - "date_field_name": "created", - "type": "change", - "size": 500 - }, - { - "_op": "elasticsearch_bulk", - "index": "multisend-1000", - "preserve_id": true, - "type": "change", - "multisend_index_append": false, - "size": 100, - "multisend": true, - "connection_map": { - "A": "default", - "B": "default", - "*": "default" - } - } - ] -} diff --git a/e2e/test/fixtures/jobs/multisend.ts b/e2e/test/fixtures/jobs/multisend.ts new file mode 100644 index 00000000000..2c88af39bbe --- /dev/null +++ b/e2e/test/fixtures/jobs/multisend.ts @@ -0,0 +1,31 @@ +export default { + name: 'Multisend Test', + workers: 1, + lifecycle: 'once', + analytics: false, + assets: ['elasticsearch'], + operations: [ + { + _op: 'elasticsearch_reader', + index: 'replace-me-1000', + preserve_id: true, + date_field_name: 'created', + type: 'change', + size: 500 + }, + { + _op: 'elasticsearch_bulk', + index: 'multisend-1000', + preserve_id: true, + type: 'change', + multisend_index_append: false, + size: 100, + multisend: true, + connection_map: { + A: 'default', + B: 'default', + '*': 'default' + } + } + ] +}; diff --git a/e2e/test/fixtures/jobs/reindex.json b/e2e/test/fixtures/jobs/reindex.json deleted file mode 100644 index 9fda19219c7..00000000000 --- a/e2e/test/fixtures/jobs/reindex.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Reindex", - "lifecycle": "once", - "workers": 1, - "analytics": true, - "assets": ["elasticsearch"], - "operations": [ - { - "_op": "elasticsearch_reader", - "index": "replace-me-100", - "type": "events", - "size": 100, - "date_field_name": "created", - "preserve_id": true - }, - { - "_op": "elasticsearch_bulk", - "type": "change", - "index": "replace-me-1000", - "preserve_id": true, - "size": 50 - } - ] -} diff --git a/e2e/test/fixtures/jobs/reindex.ts b/e2e/test/fixtures/jobs/reindex.ts new file mode 100644 index 00000000000..c961be471f1 --- /dev/null +++ b/e2e/test/fixtures/jobs/reindex.ts @@ -0,0 +1,24 @@ +export default { + name: 'Reindex', + lifecycle: 'once', + workers: 1, + analytics: true, + assets: ['elasticsearch'], + operations: [ + { + _op: 'elasticsearch_reader', + index: 'replace-me-100', + type: 'events', + size: 100, + date_field_name: 'created', + preserve_id: true + }, + { + _op: 'elasticsearch_bulk', + type: 'change', + index: 'replace-me-1000', + preserve_id: true, + size: 50 + } + ] +}; diff --git a/e2e/test/teraslice-harness.ts b/e2e/test/teraslice-harness.ts index 71b52f6ba51..26b6001e382 100644 --- a/e2e/test/teraslice-harness.ts +++ b/e2e/test/teraslice-harness.ts @@ -16,15 +16,15 @@ import { } from './config.js'; import { scaleWorkers, getElapsed } from './docker-helpers.js'; import signale from './signale.js'; -import generatorToESJob from './fixtures/jobs/generate-to-es.json' assert { type: 'json' }; -import generatorAssetJob from './fixtures/jobs/generator-asset.json' assert { type: 'json' }; -import generatorLargeAssetJob from './fixtures/jobs/generator-large-asset.json' assert { type: 'json' }; -import generatorJob from './fixtures/jobs/generator.json' assert { type: 'json' }; -import idJob from './fixtures/jobs/id.json' assert { type: 'json' }; -import kafkaReaderJob from './fixtures/jobs/kafka-reader.json' assert { type: 'json' }; -import kafkaSenderJob from './fixtures/jobs/kafka-sender.json' assert { type: 'json' }; -import multisendJob from './fixtures/jobs/multisend.json' assert { type: 'json' }; -import reindexJob from './fixtures/jobs/reindex.json' assert { type: 'json' }; +import generatorToESJob from './fixtures/jobs/generate-to-es.js'; +import generatorAssetJob from './fixtures/jobs/generator-asset.js'; +import generatorLargeAssetJob from './fixtures/jobs/generator-large-asset.js'; +import generatorJob from './fixtures/jobs/generator.js'; +import idJob from './fixtures/jobs/id.js'; +import kafkaReaderJob from './fixtures/jobs/kafka-reader.js'; +import kafkaSenderJob from './fixtures/jobs/kafka-sender.js'; +import multisendJob from './fixtures/jobs/multisend.js'; +import reindexJob from './fixtures/jobs/reindex.js'; import { defaultAssetBundles } from './download-assets.js'; const JobDict = Object.freeze({ diff --git a/e2e/tsconfig.json b/e2e/tsconfig.json index a9c956bd35a..96645d71b3a 100644 --- a/e2e/tsconfig.json +++ b/e2e/tsconfig.json @@ -8,7 +8,7 @@ }, "include": [ "test", - "./test/fixtures/jobs/**.json", + "./test/fixtures/jobs/**.ts", "./test/fixtures/assets/**.zip" ] } diff --git a/package.json b/package.json index 30e5f7d907f..9c91b4e71de 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "teraslice-workspace", "displayName": "Teraslice", - "version": "1.7.2", + "version": "1.8.0", "private": true, "homepage": "https://github.com/terascope/teraslice", "bugs": { @@ -38,7 +38,8 @@ "resolutions": { "@types/lodash": "^4.14.202", "debug": "^4.3.4", - "ms": "^2.1.3" + "ms": "^2.1.3", + "nan": "^2.19.0" }, "devDependencies": { "@swc/core": "^1.5.5", diff --git a/packages/generator-teraslice/LICENSE b/packages/generator-teraslice/LICENSE deleted file mode 100644 index b442934b7df..00000000000 --- a/packages/generator-teraslice/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 - -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/generator-teraslice/README.md b/packages/generator-teraslice/README.md deleted file mode 100644 index efc7b40369d..00000000000 --- a/packages/generator-teraslice/README.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# Generator Teraslice - -> Generate teraslice related packages and code - -This a package within the [Teraslice](https://github.com/terascope/teraslice) monorepo. See our [documentation](https://terascope.github.io/teraslice/docs/packages/generator-teraslice/overview) for more information or the [issues](https://github.com/terascope/teraslice/issues?q=is%3Aopen+is%3Aissue+label%3Apkg%2Fgenerator-teraslice) associated with this package - -## Contributing - -Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. - -Please make sure to update tests as appropriate. - -## License - -[MIT](./LICENSE) licensed. diff --git a/packages/generator-teraslice/generators/package/index.js b/packages/generator-teraslice/generators/package/index.js deleted file mode 100644 index 2d07b5c28ae..00000000000 --- a/packages/generator-teraslice/generators/package/index.js +++ /dev/null @@ -1,184 +0,0 @@ -'use strict'; - -const fs = require('fs'); -const path = require('path'); -const chalk = require('chalk'); -const yosay = require('yosay'); -const { toKebabCase, trim } = require('@terascope/utils'); -const Generator = require('yeoman-generator'); -const genPackageJSON = require('./utils/package-json'); - -module.exports = class extends Generator { - prompting() { - this.log( - yosay(`Welcome to the Teraslice ${chalk.cyan('Teraslice Package')} generator!`) - ); - - this.option('typescript'); - - const appName = this.determineAppname(); - - const pkgJsonPath = this.destinationPath('package.json'); - - const { - name, - description, - license, - version - } = this.fs.readJSON(pkgJsonPath, { - name: toKebabCase(appName), - description: 'A Teraslice package', - license: 'MIT', - version: '0.1.0' - }); - - const config = this.config.getAll(); - - let isInternal = config.internal != null ? config.internal : false; - if (name.includes('@terascope')) { - isInternal = true; - } - - const prompts = [ - { - type: 'input', - name: 'name', - message: 'What is the package name?', - default: trim(config.name || name), - transform(input) { - if (name.includes('@terascope')) { - return trim(input); - } - return toKebabCase(trim(input)); - } - }, - { - type: 'input', - name: 'description', - message: 'Describe what this package does?', - default: trim(description || config.description) - }, - { - type: 'confirm', - name: 'internal', - message: 'Is this package designed for only Terascope projects?', - default: isInternal, - store: true, - }, - { - type: 'confirm', - name: 'typescript', - message: 'Will this package be written in Typescript?', - default: config.typescript != null ? config.typescript : true, - store: true, - }, - { - type: 'confirm', - name: 'exampleCode', - message: 'Do you want example code generated?', - default: config.exampleCode != null ? config.exampleCode : false, - }, - { - type: 'list', - name: 'license', - message: 'What is the license for this package?', - default: trim(license), - choices: ['MIT', 'Apache-2.0'], - } - ]; - - return this.prompt(prompts).then((props) => { - // To access props later use this.props.someAnswer; - this.props = props; - if (props.internal && props.name.indexOf('@terascope') !== 0) { - this.props.pkgName = `@terascope/${props.name}`; - } else { - this.props.pkgName = props.name; - } - this.props.pkgDirName = path.basename(this.destinationRoot()); - this.props.pkgVersion = version; - }); - } - - writing() { - const pathExists = (...joins) => { - const filepath = path.join(...joins); - if (this.fs.exists(this.destinationPath(filepath))) return true; - if (fs.existsSync(path.join(process.cwd(), filepath))) return true; - return false; - }; - - const packageJSON = genPackageJSON(this.props); - - this.fs.extendJSON( - this.destinationPath('package.json'), - packageJSON, - null, - 4 - ); - - this.fs.copy( - this.templatePath('jest.config.js.tmp'), - this.destinationPath('jest.config.js') - ); - - const licenseExt = this.props.license.toLowerCase(); - - this.fs.copy( - this.templatePath(`LICENSE.${licenseExt}`), - this.destinationPath('LICENSE') - ); - - this.fs.copyTpl( - this.templatePath('README.md'), - this.destinationPath('README.md'), - this.props - ); - - if (this.props.typescript) { - this.fs.copy( - this.templatePath('tsconfig.src.json'), - this.destinationPath('tsconfig.json') - ); - } - - const folderName = this.props.typescript ? 'src' : 'lib'; - const ext = this.props.typescript ? '.ts' : '.js'; - - if (!pathExists(folderName)) { - if (this.props.exampleCode) { - this.fs.copy( - this.templatePath(folderName), - this.destinationPath(folderName) - ); - } else { - this.fs.copy( - this.templatePath(path.join(folderName, `index${ext}`)), - this.destinationPath(path.join(folderName, `index${ext}`)) - ); - } - } - - if (!pathExists('test')) { - this.fs.copy( - this.templatePath(`test/index-spec${ext}`), - this.destinationPath(`test/index-spec${ext}`) - ); - - if (this.props.exampleCode) { - this.fs.copy( - this.templatePath(`test/example-spec${ext}`), - this.destinationPath(`test/example-spec${ext}`) - ); - } - } - } - - install() { - return this.installDependencies({ - npm: false, - bower: false, - yarn: true - }); - } -}; diff --git a/packages/generator-teraslice/generators/package/templates/LICENSE.apache-2.0 b/packages/generator-teraslice/generators/package/templates/LICENSE.apache-2.0 deleted file mode 100644 index 8ee554979c1..00000000000 --- a/packages/generator-teraslice/generators/package/templates/LICENSE.apache-2.0 +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Terascope, LLC - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/packages/generator-teraslice/generators/package/templates/LICENSE.mit b/packages/generator-teraslice/generators/package/templates/LICENSE.mit deleted file mode 100644 index 15bc72f8da5..00000000000 --- a/packages/generator-teraslice/generators/package/templates/LICENSE.mit +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 - -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/generator-teraslice/generators/package/templates/README.md b/packages/generator-teraslice/generators/package/templates/README.md deleted file mode 100644 index dacb8bc429e..00000000000 --- a/packages/generator-teraslice/generators/package/templates/README.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# <%= name %> - -> <%= description %> - -## Installation - -```bash -# Using yarn -yarn add <%= pkgName %> -# Using npm -npm install --save <%= pkgName %> -``` - -This a package within the [Teraslice](https://github.com/terascope/teraslice) monorepo. See our [documentation](https://terascope.github.io/teraslice/docs/packages/<%= pkgDirName %>/overview) for more information or the [issues](https://github.com/terascope/teraslice/issues?q=is%3Aopen+is%3Aissue+label%3Apkg%2F<%= pkgDirName %>) associated with this package - -## Contributing - -Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. - -Please make sure to update tests as appropriate. - -## License -[<%= license %>](./LICENSE) licensed. diff --git a/packages/generator-teraslice/generators/package/templates/jest.config.js.tmp b/packages/generator-teraslice/generators/package/templates/jest.config.js.tmp deleted file mode 100644 index af460c27950..00000000000 --- a/packages/generator-teraslice/generators/package/templates/jest.config.js.tmp +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../../jest.config.base')(__dirname); diff --git a/packages/generator-teraslice/generators/package/templates/lib/example.js b/packages/generator-teraslice/generators/package/templates/lib/example.js deleted file mode 100644 index 295ce03619d..00000000000 --- a/packages/generator-teraslice/generators/package/templates/lib/example.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -class Example { - -} - -module.exports = Example; diff --git a/packages/generator-teraslice/generators/package/templates/lib/index.js b/packages/generator-teraslice/generators/package/templates/lib/index.js deleted file mode 100644 index 8bad1df88dd..00000000000 --- a/packages/generator-teraslice/generators/package/templates/lib/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -const Example = require('./example'); - -module.exports = { - Example, -}; diff --git a/packages/generator-teraslice/generators/package/templates/src/example.ts b/packages/generator-teraslice/generators/package/templates/src/example.ts deleted file mode 100644 index a94a57b7d0a..00000000000 --- a/packages/generator-teraslice/generators/package/templates/src/example.ts +++ /dev/null @@ -1 +0,0 @@ -export default class Example {} diff --git a/packages/generator-teraslice/generators/package/templates/src/index.ts b/packages/generator-teraslice/generators/package/templates/src/index.ts deleted file mode 100644 index bde07d817c4..00000000000 --- a/packages/generator-teraslice/generators/package/templates/src/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import Example from './example'; - -export { - Example, -}; diff --git a/packages/generator-teraslice/generators/package/templates/test/example-spec.js b/packages/generator-teraslice/generators/package/templates/test/example-spec.js deleted file mode 100644 index 0f3412863f4..00000000000 --- a/packages/generator-teraslice/generators/package/templates/test/example-spec.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -const { Example } = require('../lib'); - -describe('Example', () => { - const example = new Example(); - - it('should be an instance of Example', () => { - expect(example).toBeInstanceOf(Example); - }); -}); diff --git a/packages/generator-teraslice/generators/package/templates/test/example-spec.ts b/packages/generator-teraslice/generators/package/templates/test/example-spec.ts deleted file mode 100644 index f5546560644..00000000000 --- a/packages/generator-teraslice/generators/package/templates/test/example-spec.ts +++ /dev/null @@ -1,10 +0,0 @@ -import 'jest-extended'; -import { Example } from '../src'; - -describe('Example', () => { - const example = new Example(); - - it('should be an instance of Example', () => { - expect(example).toBeInstanceOf(Example); - }); -}); diff --git a/packages/generator-teraslice/generators/package/templates/test/index-spec.js b/packages/generator-teraslice/generators/package/templates/test/index-spec.js deleted file mode 100644 index 499bddf8b0b..00000000000 --- a/packages/generator-teraslice/generators/package/templates/test/index-spec.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const { Example } = require('../lib'); - -describe('index', () => { - it('should export Example', () => { - expect(Example).not.toBeNil(); - }); -}); diff --git a/packages/generator-teraslice/generators/package/templates/test/index-spec.ts b/packages/generator-teraslice/generators/package/templates/test/index-spec.ts deleted file mode 100644 index 915cc0e53a4..00000000000 --- a/packages/generator-teraslice/generators/package/templates/test/index-spec.ts +++ /dev/null @@ -1,8 +0,0 @@ -import 'jest-extended'; -import * as index from '../src'; - -describe('index', () => { - it('should export Example', () => { - expect(index.Example).not.toBeNil(); - }); -}); diff --git a/packages/generator-teraslice/generators/package/templates/tsconfig.src.json b/packages/generator-teraslice/generators/package/templates/tsconfig.src.json deleted file mode 100644 index d0c6849850f..00000000000 --- a/packages/generator-teraslice/generators/package/templates/tsconfig.src.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig", - "compilerOptions": { - "outDir": "dist", - "rootDir": "." - }, - "include": ["src", "test"] -} diff --git a/packages/generator-teraslice/generators/package/utils/package-json.js b/packages/generator-teraslice/generators/package/utils/package-json.js deleted file mode 100644 index be893bd2e20..00000000000 --- a/packages/generator-teraslice/generators/package/utils/package-json.js +++ /dev/null @@ -1,85 +0,0 @@ -'use strict'; - -const { times, get } = require('@terascope/utils'); -const defaultsDeep = require('lodash/defaultsDeep'); -const path = require('path'); -const fs = require('fs'); - -module.exports = (options) => { - const rootPkgJSON = readRootPkgJSON(); - - function readRootPkgJSON() { - const upDirs = times(5, () => '..'); - const pkgPath = path.join(__dirname, ...upDirs, 'package.json'); - try { - return JSON.parse(fs.readFileSync(pkgPath, 'utf-8')); - } catch (err) { - return {}; - } - } - - function getPkgValues(packages) { - const result = {}; - Object.entries(packages).forEach(([name, val]) => { - if (get(rootPkgJSON, ['dependencies', name])) { - result[name] = get(rootPkgJSON, ['dependencies', name], val); - } - if (get(rootPkgJSON, ['devDependencies', name])) { - result[name] = get(rootPkgJSON, ['devDependencies', name], val); - } - return val; - }); - } - - const { - pkgName, pkgDirName, pkgVersion, typescript, description, license, - } = options; - - const common = { - name: pkgName, - description, - version: pkgVersion, - publishConfig: { - access: 'public', - }, - scripts: { - test: 'ts-scripts test . --', - 'test:debug': 'ts-scripts test --debug . --', - 'test:watch': 'ts-scripts test --watch . --', - }, - homepage: `https://github.com/terascope/teraslice/tree/master/packages/${pkgDirName}#readme`, - repository: 'git@github.com:terascope/teraslice.git', - author: 'Terascope, LLC ', - license, - bugs: { - url: 'https://github.com/terascope/teraslice/issues', - }, - dependencies: {}, - terascope: { - testSuite: 'unit' - } - }; - - if (!typescript) { - return defaultsDeep(common, { - main: 'index.js', - files: ['*.js', 'lib/**/*'], - devDependencies: getPkgValues({}), - }); - } - - return defaultsDeep(common, { - files: ['dist/src/**/*'], - srcMain: 'src/index.ts', - main: 'dist/src/index.js', - typings: 'dist/src/index.d.ts', - devDependencies: getPkgValues({}), - scripts: { - build: 'tsc --build', - 'build:watch': 'yarn build --watch', - }, - terascope: { - enableTypedoc: true - } - }); -}; diff --git a/packages/generator-teraslice/jest.config.js b/packages/generator-teraslice/jest.config.js deleted file mode 100644 index af460c27950..00000000000 --- a/packages/generator-teraslice/jest.config.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -module.exports = require('../../jest.config.base')(__dirname); diff --git a/packages/generator-teraslice/package.json b/packages/generator-teraslice/package.json deleted file mode 100644 index 9240606e469..00000000000 --- a/packages/generator-teraslice/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "generator-teraslice", - "displayName": "Generator Teraslice", - "version": "0.38.2", - "description": "Generate teraslice related packages and code", - "keywords": [ - "teraslice", - "yeoman-generator" - ], - "homepage": "https://github.com/terascope/teraslice/tree/master/packages/generator-teraslice#readme", - "bugs": { - "url": "https://github.com/terascope/teraslice/issues" - }, - "repository": "git@github.com:terascope/teraslice.git", - "license": "MIT", - "author": "Terascope, LLC ", - "main": "generators/index.js", - "files": [ - "generators" - ], - "scripts": { - "test": "ts-scripts test . --", - "test:debug": "ts-scripts test --debug . --", - "test:watch": "ts-scripts test --watch . --" - }, - "dependencies": { - "@terascope/utils": "^0.59.2", - "chalk": "^4.1.2", - "lodash": "^4.17.21", - "yeoman-generator": "^5.8.0", - "yosay": "^2.0.1" - }, - "devDependencies": { - "@types/lodash": "^4.14.202" - }, - "engines": { - "node": ">=14.17.0", - "yarn": ">=1.16.0" - }, - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - }, - "terascope": { - "testSuite": "unit" - } -} diff --git a/packages/generator-teraslice/test/package-generator-spec.js b/packages/generator-teraslice/test/package-generator-spec.js deleted file mode 100644 index e9072e34664..00000000000 --- a/packages/generator-teraslice/test/package-generator-spec.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const GeneratorPackage = require('../generators/package'); - -describe('generator:package', () => { - it('should have the generator', () => { - expect(GeneratorPackage).not.toBeNil(); - }); -}); diff --git a/packages/teraslice/package.json b/packages/teraslice/package.json index 6f93fab9819..fa24a3deca4 100644 --- a/packages/teraslice/package.json +++ b/packages/teraslice/package.json @@ -1,7 +1,7 @@ { "name": "teraslice", "displayName": "Teraslice", - "version": "1.7.2", + "version": "1.8.0", "description": "Distributed computing platform for processing JSON data", "homepage": "https://github.com/terascope/teraslice#readme", "bugs": { diff --git a/packages/teraslice/src/lib/storage/backends/elasticsearch_store.ts b/packages/teraslice/src/lib/storage/backends/elasticsearch_store.ts index 4d588cc9c15..ff62f180548 100644 --- a/packages/teraslice/src/lib/storage/backends/elasticsearch_store.ts +++ b/packages/teraslice/src/lib/storage/backends/elasticsearch_store.ts @@ -10,11 +10,11 @@ import { getClientAsync, Context } from '@terascope/job-components'; import { ClientParams } from '@terascope/types'; import { makeLogger } from '../../workers/helpers/terafoundation.js'; import { timeseriesIndex } from '../../utils/date_utils.js'; -import analyticsSchema from './mappings/analytics.json' assert { type: 'json' }; -import assetSchema from './mappings/asset.json' assert { type: 'json' }; -import executionSchema from './mappings/ex.json' assert { type: 'json' }; -import jobsSchema from './mappings/job.json' assert { type: 'json' }; -import stateSchema from './mappings/state.json' assert { type: 'json' }; +import analyticsSchema from './mappings/analytics.js'; +import assetSchema from './mappings/asset.js'; +import executionSchema from './mappings/ex.js'; +import jobsSchema from './mappings/job.js'; +import stateSchema from './mappings/state.js'; function validateId(recordId: string, recordType: string) { if (!recordId || !isString(recordId)) { diff --git a/packages/teraslice/src/lib/storage/backends/mappings/analytics.json b/packages/teraslice/src/lib/storage/backends/mappings/analytics.json deleted file mode 100644 index 6fd5ac89280..00000000000 --- a/packages/teraslice/src/lib/storage/backends/mappings/analytics.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "template": "__analytics*", - "mappings": { - "analytics": { - "_all": { - "enabled": false - }, - "dynamic": false, - "properties": { - "ex_id": { - "type": "keyword" - }, - "job_id": { - "type": "keyword" - }, - "worker_id": { - "type": "keyword" - }, - "slice_id": { - "type": "keyword" - }, - "slicer_id": { - "type": "keyword" - }, - "op": { - "type": "keyword" - }, - "order": { - "type": "integer" - }, - "count": { - "type": "integer" - }, - "state": { - "type": "keyword" - }, - "time": { - "type": "integer" - }, - "memory": { - "type": "long" - }, - "@timestamp": { - "type": "date" - } - } - } - } -} diff --git a/packages/teraslice/src/lib/storage/backends/mappings/analytics.ts b/packages/teraslice/src/lib/storage/backends/mappings/analytics.ts new file mode 100644 index 00000000000..9addac060ba --- /dev/null +++ b/packages/teraslice/src/lib/storage/backends/mappings/analytics.ts @@ -0,0 +1,49 @@ +export default { + template: '__analytics*', + mappings: { + analytics: { + _all: { + enabled: false + }, + dynamic: false, + properties: { + ex_id: { + type: 'keyword' + }, + job_id: { + type: 'keyword' + }, + worker_id: { + type: 'keyword' + }, + slice_id: { + type: 'keyword' + }, + slicer_id: { + type: 'keyword' + }, + op: { + type: 'keyword' + }, + order: { + type: 'integer' + }, + count: { + type: 'integer' + }, + state: { + type: 'keyword' + }, + time: { + type: 'integer' + }, + memory: { + type: 'long' + }, + '@timestamp': { + type: 'date' + } + } + } + } +}; diff --git a/packages/teraslice/src/lib/storage/backends/mappings/asset.json b/packages/teraslice/src/lib/storage/backends/mappings/asset.json deleted file mode 100644 index 9320f1c5929..00000000000 --- a/packages/teraslice/src/lib/storage/backends/mappings/asset.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "mappings": { - "asset": { - "_all": { - "enabled": false - }, - "dynamic": false, - "properties": { - "blob": { - "type": "binary", - "doc_values": false - }, - "name": { - "type": "keyword" - }, - "version": { - "type": "keyword" - }, - "id": { - "type": "keyword" - }, - "description": { - "type": "keyword" - }, - "arch": { - "type": "keyword" - }, - "platform": { - "type": "keyword" - }, - "node_version": { - "type": "integer" - }, - "_created": { - "type": "date" - } - } - } - } -} diff --git a/packages/teraslice/src/lib/storage/backends/mappings/asset.ts b/packages/teraslice/src/lib/storage/backends/mappings/asset.ts new file mode 100644 index 00000000000..a5a3386133f --- /dev/null +++ b/packages/teraslice/src/lib/storage/backends/mappings/asset.ts @@ -0,0 +1,40 @@ +export default { + mappings: { + asset: { + _all: { + enabled: false + }, + dynamic: false, + properties: { + blob: { + type: 'binary', + doc_values: false + }, + name: { + type: 'keyword' + }, + version: { + type: 'keyword' + }, + id: { + type: 'keyword' + }, + description: { + type: 'keyword' + }, + arch: { + type: 'keyword' + }, + platform: { + type: 'keyword' + }, + node_version: { + type: 'integer' + }, + _created: { + type: 'date' + } + } + } + } +}; diff --git a/packages/teraslice/src/lib/storage/backends/mappings/ex.json b/packages/teraslice/src/lib/storage/backends/mappings/ex.json deleted file mode 100644 index 78d7b70a4dd..00000000000 --- a/packages/teraslice/src/lib/storage/backends/mappings/ex.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "mappings": { - "ex": { - "_all": { - "enabled": false - }, - "dynamic": false, - "properties": { - "active": { - "type": "boolean" - }, - "job_id": { - "type": "keyword" - }, - "ex_id": { - "type": "keyword" - }, - "_context": { - "type": "keyword" - }, - "_status": { - "type": "keyword" - }, - "_has_errors": { - "type": "keyword" - }, - "slicer_hostname": { - "type": "keyword" - }, - "slicer_port": { - "type": "keyword" - }, - "recovered_execution": { - "type": "keyword" - }, - "recovered_slice_type": { - "type": "keyword" - }, - "metadata": { - "type": "object", - "enabled": false - }, - "_slicer_stats": { - "type": "object" - }, - "_created": { - "type": "date" - }, - "_updated": { - "type": "date" - } - } - } - } -} diff --git a/packages/teraslice/src/lib/storage/backends/mappings/ex.ts b/packages/teraslice/src/lib/storage/backends/mappings/ex.ts new file mode 100644 index 00000000000..07b03befb31 --- /dev/null +++ b/packages/teraslice/src/lib/storage/backends/mappings/ex.ts @@ -0,0 +1,55 @@ +export default { + mappings: { + ex: { + _all: { + enabled: false + }, + dynamic: false, + properties: { + active: { + type: 'boolean' + }, + job_id: { + type: 'keyword' + }, + ex_id: { + type: 'keyword' + }, + _context: { + type: 'keyword' + }, + _status: { + type: 'keyword' + }, + _has_errors: { + type: 'keyword' + }, + slicer_hostname: { + type: 'keyword' + }, + slicer_port: { + type: 'keyword' + }, + recovered_execution: { + type: 'keyword' + }, + recovered_slice_type: { + type: 'keyword' + }, + metadata: { + type: 'object', + enabled: false + }, + _slicer_stats: { + type: 'object' + }, + _created: { + type: 'date' + }, + _updated: { + type: 'date' + } + } + } + } +}; diff --git a/packages/teraslice/src/lib/storage/backends/mappings/job.json b/packages/teraslice/src/lib/storage/backends/mappings/job.json deleted file mode 100644 index 8dc686ba1bb..00000000000 --- a/packages/teraslice/src/lib/storage/backends/mappings/job.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "settings": { - "index.number_of_shards": 5, - "index.number_of_replicas": 1 - }, - "mappings": { - "job": { - "_all": { - "enabled": false - }, - "dynamic": false, - "properties": { - "active": { - "type": "boolean" - }, - "job_id": { - "type": "keyword" - }, - "_context": { - "type": "keyword" - }, - "_created": { - "type": "date" - }, - "_updated": { - "type": "date" - } - } - } - } -} diff --git a/packages/teraslice/src/lib/storage/backends/mappings/job.ts b/packages/teraslice/src/lib/storage/backends/mappings/job.ts new file mode 100644 index 00000000000..296affe0095 --- /dev/null +++ b/packages/teraslice/src/lib/storage/backends/mappings/job.ts @@ -0,0 +1,31 @@ +export default { + settings: { + 'index.number_of_shards': 5, + 'index.number_of_replicas': 1 + }, + mappings: { + job: { + _all: { + enabled: false + }, + dynamic: false, + properties: { + active: { + type: 'boolean' + }, + job_id: { + type: 'keyword' + }, + _context: { + type: 'keyword' + }, + _created: { + type: 'date' + }, + _updated: { + type: 'date' + } + } + } + } +}; diff --git a/packages/teraslice/src/lib/storage/backends/mappings/state.json b/packages/teraslice/src/lib/storage/backends/mappings/state.json deleted file mode 100644 index 50b33a71e69..00000000000 --- a/packages/teraslice/src/lib/storage/backends/mappings/state.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "template": "__state*", - "mappings": { - "state": { - "_all": { - "enabled": false - }, - "dynamic": false, - "properties": { - "ex_id": { - "type": "keyword" - }, - "slice_id": { - "type": "keyword" - }, - "slicer_id": { - "type": "keyword" - }, - "slicer_order": { - "type": "integer" - }, - "state": { - "type": "keyword" - }, - "_created": { - "type": "date" - }, - "_updated": { - "type": "date" - }, - "error": { - "type": "keyword" - } - } - } - } -} diff --git a/packages/teraslice/src/lib/storage/backends/mappings/state.ts b/packages/teraslice/src/lib/storage/backends/mappings/state.ts new file mode 100644 index 00000000000..7b1814bf29b --- /dev/null +++ b/packages/teraslice/src/lib/storage/backends/mappings/state.ts @@ -0,0 +1,37 @@ +export default { + template: '__state*', + mappings: { + state: { + _all: { + enabled: false + }, + dynamic: false, + properties: { + ex_id: { + type: 'keyword' + }, + slice_id: { + type: 'keyword' + }, + slicer_id: { + type: 'keyword' + }, + slicer_order: { + type: 'integer' + }, + state: { + type: 'keyword' + }, + _created: { + type: 'date' + }, + _updated: { + type: 'date' + }, + error: { + type: 'keyword' + } + } + } + } +}; diff --git a/packages/teraslice/tsconfig.json b/packages/teraslice/tsconfig.json index d6e2fe1ab6b..e15cb74c5f0 100644 --- a/packages/teraslice/tsconfig.json +++ b/packages/teraslice/tsconfig.json @@ -9,7 +9,7 @@ "include": [ "src", "test", - "./src/lib/storage/backends/mappings/**.json", + "./src/lib/storage/backends/mappings/**.ts", "./src/lib/cluster/services/cluster/backends/kubernetes/jobs/**.hbs", "./src/lib/cluster/services/cluster/backends/kubernetes/deployments/**.hbs", "./test/lib/cluster/services/cluster/backends/files/**.json", diff --git a/yarn.lock b/yarn.lock index 3ae29890878..4ba4a42327f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1612,13 +1612,6 @@ "@gar/promisify" "^1.1.3" semver "^7.3.5" -"@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: - semver "^7.3.5" - "@npmcli/git@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.1.0.tgz#2fbd77e147530247d37f325930d457b3ebe894f6" @@ -1633,20 +1626,6 @@ semver "^7.3.5" which "^2.0.2" -"@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: - "@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" - "@npmcli/installed-package-contents@^1.0.6", "@npmcli/installed-package-contents@^1.0.7": version "1.0.7" resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" @@ -1655,14 +1634,6 @@ npm-bundled "^1.1.1" npm-normalize-package-bin "^1.0.1" -"@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: - npm-bundled "^3.0.0" - npm-normalize-package-bin "^3.0.0" - "@npmcli/map-workspaces@^2.0.0": version "2.0.4" resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz#9e5e8ab655215a262aefabf139782b894e0504fc" @@ -1709,11 +1680,6 @@ resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz#a912e637418ffc5f2db375e93b85837691a43a33" integrity sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA== -"@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== - "@npmcli/package-json@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-1.0.1.tgz#1ed42f00febe5293c3502fd0ef785647355f6e89" @@ -1728,13 +1694,6 @@ dependencies: infer-owner "^1.0.4" -"@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: - which "^3.0.0" - "@npmcli/run-script@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-2.0.0.tgz#9949c0cab415b17aaac279646db4f027d6f1e743" @@ -1745,119 +1704,7 @@ node-gyp "^8.2.0" read-package-json-fast "^2.0.1" -"@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" - -"@octokit/auth-token@^2.4.4": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36" - integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g== - dependencies: - "@octokit/types" "^6.0.3" - -"@octokit/core@^3.5.1": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.6.0.tgz#3376cb9f3008d9b3d110370d90e0a1fcd5fe6085" - integrity sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q== - dependencies: - "@octokit/auth-token" "^2.4.4" - "@octokit/graphql" "^4.5.8" - "@octokit/request" "^5.6.3" - "@octokit/request-error" "^2.0.5" - "@octokit/types" "^6.0.3" - 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== - dependencies: - "@octokit/types" "^6.0.3" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" - -"@octokit/graphql@^4.5.8": - version "4.8.0" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.8.0.tgz#664d9b11c0e12112cbf78e10f49a05959aa22cc3" - integrity sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg== - dependencies: - "@octokit/request" "^5.6.0" - "@octokit/types" "^6.0.3" - universal-user-agent "^6.0.0" - -"@octokit/openapi-types@^12.11.0": - version "12.11.0" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-12.11.0.tgz#da5638d64f2b919bca89ce6602d059f1b52d3ef0" - integrity sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ== - -"@octokit/plugin-paginate-rest@^2.16.8": - version "2.21.3" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz#7f12532797775640dbb8224da577da7dc210c87e" - integrity sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw== - dependencies: - "@octokit/types" "^6.40.0" - -"@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.12.0": - version "5.16.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz#7ee8bf586df97dd6868cf68f641354e908c25342" - integrity sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw== - dependencies: - "@octokit/types" "^6.39.0" - deprecation "^2.3.1" - -"@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== - dependencies: - "@octokit/types" "^6.0.3" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request@^5.6.0", "@octokit/request@^5.6.3": - version "5.6.3" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0" - integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A== - dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.1.0" - "@octokit/types" "^6.16.1" - is-plain-object "^5.0.0" - node-fetch "^2.6.7" - universal-user-agent "^6.0.0" - -"@octokit/rest@^18.0.6": - version "18.12.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.12.0.tgz#f06bc4952fc87130308d810ca9d00e79f6988881" - integrity sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q== - dependencies: - "@octokit/core" "^3.5.1" - "@octokit/plugin-paginate-rest" "^2.16.8" - "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^5.12.0" - -"@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.39.0", "@octokit/types@^6.40.0": - version "6.41.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.41.0.tgz#e58ef78d78596d2fb7df9c6259802464b5f84a04" - integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg== - dependencies: - "@octokit/openapi-types" "^12.11.0" - -"@opensearch-project/opensearch@^1.2.0": +"@opensearch-project/opensearch@^1.2.0", "opensearch1@npm:@opensearch-project/opensearch@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@opensearch-project/opensearch/-/opensearch-1.2.0.tgz#6a709510868db463ce0faf403c0ec70a57027e46" integrity sha512-bX0aUz5e7rlY1lKz1rFrqnNbl/l1CHvvysYB2Jn+C3WNs7nL6FnQjuxLhGwyRdW9W1bFokDoOVgPMIOi/Nn9/g== @@ -1917,35 +1764,6 @@ resolved "https://registry.yarnpkg.com/@redis/time-series/-/time-series-1.0.4.tgz#af85eb080f6934580e4d3b58046026b6c2b18717" integrity sha512-ThUIgo2U/g7cCuZavucQTQzA9g9JbDDY2f64u3AbAoz/8vE2lt2U37LamDUVChhaDA3IRT9R6VvJwqnUfTJzng== -"@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" @@ -2647,19 +2465,6 @@ 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-polygon@^6.4.0": version "6.5.0" resolved "https://registry.yarnpkg.com/@turf/bbox-polygon/-/bbox-polygon-6.5.0.tgz#f18128b012eedfa860a521d8f2b3779cc0801032" @@ -3572,7 +3377,7 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -abbrev@1, abbrev@^1.0.0: +abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== @@ -4220,11 +4025,6 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -before-after-hook@^2.2.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" - integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== - benchmark@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/benchmark/-/benchmark-2.1.4.tgz#09f3de31c916425d498cc2ee565a0ebf3c2a5629" @@ -4472,13 +4272,6 @@ builtins@^1.0.3: resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== -builtins@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.1.0.tgz#6d85eeb360c4ebc166c3fdef922a15aa7316a5e8" - integrity sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg== - dependencies: - semver "^7.0.0" - bunyan@^1.8.15: version "1.8.15" resolved "https://registry.yarnpkg.com/bunyan/-/bunyan-1.8.15.tgz#8ce34ca908a17d0776576ca1b2f6cbd916e93b46" @@ -4554,24 +4347,6 @@ cacache@^16.1.0: tar "^6.1.11" unique-filename "^2.0.0" -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/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.4" - p-map "^4.0.0" - ssri "^10.0.0" - tar "^6.1.11" - unique-filename "^3.0.0" - cacheable-lookup@^5.0.3: version "5.0.4" resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" @@ -5313,11 +5088,6 @@ damerau-levenshtein@^1.0.8: resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== -dargs@^7.0.0: - version "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" @@ -5597,11 +5367,6 @@ depd@2.0.0, depd@^2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -deprecation@^2.0.0, deprecation@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - dequal@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" @@ -6425,7 +6190,7 @@ execa@^1.0.0: signal-exit "^3.0.0" strip-eof "^1.0.0" -execa@^5.0.0, execa@^5.1.0, execa@^5.1.1: +execa@^5.0.0, execa@^5.1.0: version "5.1.1" resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== @@ -6468,11 +6233,6 @@ expect@^29.0.0, expect@^29.7.0: jest-message-util "^29.7.0" jest-util "^29.7.0" -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== - express@^4.19.2: version "4.19.2" resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" @@ -6875,13 +6635,6 @@ fs-minipass@^2.0.0, fs-minipass@^2.1.0: 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.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -7133,13 +6886,6 @@ git-hooks-list@1.0.3: resolved "https://registry.yarnpkg.com/git-hooks-list/-/git-hooks-list-1.0.3.tgz#be5baaf78203ce342f2f844a9d2b03dba1b45156" integrity sha512-Y7wLWcrLUXwk2noSka166byGCvhMtDRpgHdzCno1UQv/n/Hegp++a2xBWJL1lJarnKD3SWaljD+0z1ztqxuKyQ== -github-username@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/github-username/-/github-username-6.0.0.tgz#d543eced7295102996cd8e4e19050ebdcbe60658" - integrity sha512-7TTrRjxblSI5l6adk9zd+cV5d6i1OrJSo3Vr9xdGqFLBQo0mz5P9eIfKCDJ7eekVGGFLbce0qbPSnktXV2BjDQ== - dependencies: - "@octokit/rest" "^18.0.6" - glob-parent@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" @@ -7172,17 +6918,6 @@ glob@^10.0.0: minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-scurry "^1.10.1" -glob@^10.2.2: - version "10.3.12" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.12.tgz#3a65c363c2e9998d220338e88a5f6ac97302960b" - integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== - dependencies: - foreground-child "^3.1.0" - jackspeak "^2.3.6" - minimatch "^9.0.1" - minipass "^7.0.4" - path-scurry "^1.10.2" - glob@^6.0.1: version "6.0.4" resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" @@ -7603,13 +7338,6 @@ 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" - hpagent@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/hpagent/-/hpagent-0.1.2.tgz#cab39c66d4df2d4377dbd212295d878deb9bdaa9" @@ -7749,13 +7477,6 @@ ignore-walk@^4.0.1: dependencies: minimatch "^3.0.4" -ignore-walk@^6.0.0: - version "6.0.4" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-6.0.4.tgz#89950be94b4f522225eb63a13c56badb639190e9" - integrity sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw== - dependencies: - minimatch "^9.0.0" - ignore@^5.1.1: version "5.2.4" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" @@ -8055,7 +7776,7 @@ is-cidr@^4.0.2: dependencies: cidr-regex "^3.1.1" -is-core-module@^2.13.0, is-core-module@^2.13.1, is-core-module@^2.8.1: +is-core-module@^2.13.0, is-core-module@^2.13.1: version "2.13.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== @@ -8211,7 +7932,7 @@ is-path-inside@^3.0.2, is-path-inside@^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@2.1.0, is-plain-obj@^2.0.0: +is-plain-obj@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== @@ -8506,7 +8227,7 @@ iterator.prototype@^1.1.2: reflect.getprototypeof "^1.0.4" set-function-name "^2.0.1" -jackspeak@^2.3.5, jackspeak@^2.3.6: +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== @@ -9028,11 +8749,6 @@ json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: 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.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz#02bb29fb5da90b5444581749c22cedd3597c6cb0" - integrity sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg== - json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -9390,7 +9106,7 @@ lodash.padstart@^4.1.0: resolved "https://registry.yarnpkg.com/lodash.padstart/-/lodash.padstart-4.6.1.tgz#d2e3eebff0d9d39ad50f5cbd1b52a7bce6bb611b" integrity sha512-sW73O6S8+Tg66eY56DBk85aQzzUJDtpoXFBgELMd5P/SotAguo+1kYO6RuYgXxA4HJH3LFTFPASX6ET6bjfriw== -lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.15, lodash@^4.17.21, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.3.0: +lodash@^4.17.10, lodash@^4.17.15, lodash@^4.17.21, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.3.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -9445,11 +9161,6 @@ lowercase-keys@^3.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-3.0.0.tgz#c5e7d442e37ead247ae9db117a9d0a467c89d4f2" integrity sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ== -lru-cache@^10.2.0, "lru-cache@^9.1.1 || ^10.0.0": - version "10.2.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" - integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== - lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -9464,11 +9175,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: +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.2.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + lunr@^2.3.9: version "2.3.9" resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1" @@ -9500,7 +9216,7 @@ make-error@1.x, make-error@^1.3.6: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@^10.0.1, make-fetch-happen@^10.0.3: +make-fetch-happen@^10.0.1: version "10.2.1" resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== @@ -9522,27 +9238,6 @@ make-fetch-happen@^10.0.1, make-fetch-happen@^10.0.3: socks-proxy-agent "^7.0.0" ssri "^9.0.0" -make-fetch-happen@^11.0.0, make-fetch-happen@^11.0.1, 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.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 "^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.3" - promise-retry "^2.0.1" - socks-proxy-agent "^7.0.0" - ssri "^10.0.0" - make-fetch-happen@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz#53085a09e7971433e6765f7971bf63f4e05cb968" @@ -9606,7 +9301,7 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== -"mem-fs-editor@^8.1.2 || ^9.0.0", mem-fs-editor@^9.0.0, mem-fs-editor@^9.0.1: +"mem-fs-editor@^8.1.2 || ^9.0.0", mem-fs-editor@^9.0.1: version "9.7.0" resolved "https://registry.yarnpkg.com/mem-fs-editor/-/mem-fs-editor-9.7.0.tgz#dbb458b8acb885c84013645e93f71aa267a7fdf6" integrity sha512-ReB3YD24GNykmu4WeUL/FDIQtkoyGB6zfJv60yfCo3QjKeimNcTqv2FT83bP0ccs6uu+sm5zyoBlspAzigmsdg== @@ -9766,7 +9461,7 @@ minimatch@^7.2.0: dependencies: brace-expansion "^2.0.1" -minimatch@^9.0.0, minimatch@^9.0.1, minimatch@^9.0.3: +minimatch@^9.0.1, minimatch@^9.0.3: version "9.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51" integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== @@ -9815,17 +9510,6 @@ minipass-fetch@^2.0.3: optionalDependencies: encoding "^0.1.13" -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 "^7.0.3" - minipass-sized "^1.0.3" - minizlib "^2.1.2" - optionalDependencies: - encoding "^0.1.13" - minipass-flush@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" @@ -9867,7 +9551,7 @@ minipass@^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, minipass@^7.0.4: +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": version "7.0.4" resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== @@ -10002,12 +9686,7 @@ mv@~2: ncp "~2.0.0" rimraf "~2.4.0" -nan@^2.14.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" - integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== - -nan@^2.18.0: +nan@^2.14.0, nan@^2.18.0, nan@^2.19.0: version "2.19.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.19.0.tgz#bb58122ad55a6c5bc973303908d5b16cfdd5a8c0" integrity sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw== @@ -10063,13 +9742,6 @@ node-fetch@^2.6.1: dependencies: whatwg-url "^5.0.0" -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: - whatwg-url "^5.0.0" - node-gyp-build@^4.8.0: version "4.8.0" resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd" @@ -10091,23 +9763,6 @@ node-gyp@^8.2.0: tar "^6.1.2" which "^2.0.2" -node-gyp@^9.0.0: - version "9.4.1" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" - integrity sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ== - dependencies: - env-paths "^2.2.0" - exponential-backoff "^3.1.1" - glob "^7.1.4" - graceful-fs "^4.2.6" - make-fetch-happen "^10.0.3" - nopt "^6.0.0" - npmlog "^6.0.0" - rimraf "^3.0.2" - semver "^7.3.5" - tar "^6.1.2" - which "^2.0.2" - node-gzip@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/node-gzip/-/node-gzip-1.1.2.tgz#245bd171b31ce7c7f50fc4cd0ca7195534359afb" @@ -10155,13 +9810,6 @@ nopt@^5.0.0: dependencies: abbrev "1" -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.0.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.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -10172,16 +9820,6 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package- semver "2 || 3 || 4 || 5" 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@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -10218,13 +9856,6 @@ npm-bundled@^1.1.1: dependencies: npm-normalize-package-bin "^1.0.1" -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: - npm-normalize-package-bin "^3.0.0" - npm-conf@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/npm-conf/-/npm-conf-1.1.3.tgz#256cc47bd0e218c259c4e9550bf413bc2192aff9" @@ -10240,13 +9871,6 @@ npm-install-checks@^4.0.0: dependencies: semver "^7.1.1" -npm-install-checks@^6.0.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-6.3.0.tgz#046552d8920e801fa9f919cad569545d60e826fe" - integrity sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw== - dependencies: - semver "^7.1.1" - npm-keyword@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/npm-keyword/-/npm-keyword-6.1.0.tgz#13029716f89692a0039054ff1a7a6dfd74205835" @@ -10265,21 +9889,6 @@ npm-normalize-package-bin@^2.0.0: resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz#9447a1adaaf89d8ad0abe24c6c84ad614a675fff" integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ== -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@^10.0.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: - hosted-git-info "^6.0.0" - proc-log "^3.0.0" - semver "^7.3.5" - validate-npm-package-name "^5.0.0" - npm-package-arg@^8.0.1, npm-package-arg@^8.1.2, npm-package-arg@^8.1.5: version "8.1.5" resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.5.tgz#3369b2d5fe8fdc674baa7f1786514ddc15466e44" @@ -10299,13 +9908,6 @@ npm-packlist@^3.0.0: npm-bundled "^1.1.1" npm-normalize-package-bin "^1.0.1" -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: - ignore-walk "^6.0.0" - npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.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" @@ -10316,16 +9918,6 @@ npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.0, npm-pick-manifest@^6.1.1: npm-package-arg "^8.1.2" semver "^7.3.4" -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: - 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@^12.0.0, npm-registry-fetch@^12.0.1: version "12.0.2" resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-12.0.2.tgz#ae583bb3c902a60dae43675b5e33b5b1f6159f1e" @@ -10338,19 +9930,6 @@ npm-registry-fetch@^12.0.0, npm-registry-fetch@^12.0.1: minizlib "^2.1.2" npm-package-arg "^8.1.5" -npm-registry-fetch@^14.0.0: - 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.1.2" - npm-package-arg "^10.0.0" - proc-log "^3.0.0" - npm-run-path@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" @@ -10584,17 +10163,6 @@ openid-client@^5.3.0: object-hash "^2.2.0" oidc-token-hash "^5.0.3" -"opensearch1@npm:@opensearch-project/opensearch@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@opensearch-project/opensearch/-/opensearch-1.2.0.tgz#6a709510868db463ce0faf403c0ec70a57027e46" - integrity sha512-bX0aUz5e7rlY1lKz1rFrqnNbl/l1CHvvysYB2Jn+C3WNs7nL6FnQjuxLhGwyRdW9W1bFokDoOVgPMIOi/Nn9/g== - dependencies: - aws4 "^1.11.0" - debug "^4.3.1" - hpagent "^0.1.1" - ms "^2.1.3" - secure-json-parse "^2.4.0" - "opensearch2@npm:@opensearch-project/opensearch@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@opensearch-project/opensearch/-/opensearch-2.2.1.tgz#a400203afa6512ef73945663163a404763a10f5a" @@ -10896,30 +10464,6 @@ pacote@^12.0.0, pacote@^12.0.2: ssri "^8.0.1" tar "^6.1.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 "^6.0.0" - read-package-json-fast "^3.0.0" - sigstore "^1.3.0" - ssri "^10.0.0" - tar "^6.1.11" - pad-component@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/pad-component/-/pad-component-0.0.1.tgz#ad1f22ce1bf0fdc0d6ddd908af17f351a404b8ac" @@ -11037,14 +10581,6 @@ path-scurry@^1.10.1: lru-cache "^9.1.1 || ^10.0.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" -path-scurry@^1.10.2: - version "1.10.2" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.2.tgz#8f6357eb1239d5fa1da8b9f70e9c080675458ba7" - integrity sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA== - dependencies: - lru-cache "^10.2.0" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - path-source@0.1: version "0.1.3" resolved "https://registry.yarnpkg.com/path-source/-/path-source-0.1.3.tgz#03907c595480aa2596a15a901c44f745736e7a73" @@ -11219,11 +10755,6 @@ proc-log@^1.0.0: resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-1.0.0.tgz#0d927307401f69ed79341e83a0b2c9a13395eb77" integrity sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg== -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@^2.0.0, process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" @@ -11453,24 +10984,6 @@ read-package-json-fast@^2.0.1, read-package-json-fast@^2.0.2, read-package-json- json-parse-even-better-errors "^2.3.0" npm-normalize-package-bin "^1.0.1" -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: - json-parse-even-better-errors "^3.0.0" - npm-normalize-package-bin "^3.0.0" - -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: - 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@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" @@ -11870,7 +11383,7 @@ root-check@^1.0.0: downgrade-root "^1.0.0" sudo-block "^1.1.0" -run-async@^2.0.0, run-async@^2.2.0, run-async@^2.4.0: +run-async@^2.2.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== @@ -12010,7 +11523,7 @@ semver@^6.0.0, semver@^6.2.0, semver@^6.3.0, semver@^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.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.2: +semver@^7.1.1, semver@^7.1.3, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.2: version "7.6.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== @@ -12152,7 +11665,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@^0.8.2, shelljs@^0.8.5: +shelljs@^0.8.2: version "0.8.5" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== @@ -12210,17 +11723,6 @@ signale@^1.4.0: figures "^2.0.0" pkg-conf "^2.1.0" -sigstore@^1.3.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" - sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -12355,13 +11857,6 @@ sort-keys@^2.0.0: dependencies: is-plain-obj "^1.0.0" -sort-keys@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-4.2.0.tgz#6b7638cee42c506fff8c1cecde7376d21315be18" - integrity sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg== - dependencies: - is-plain-obj "^2.0.0" - sort-object-keys@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/sort-object-keys/-/sort-object-keys-1.1.3.tgz#bff833fe85cab147b34742e45863453c1e190b45" @@ -12476,13 +11971,6 @@ sshpk@^1.7.0: safer-buffer "^2.0.2" tweetnacl "~0.14.0" -ssri@^10.0.0: - 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@^8.0.0, ssri@^8.0.1: version "8.0.1" resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" @@ -12569,7 +12057,7 @@ string-length@^5.0.1: char-regex "^2.0.0" strip-ansi "^7.0.1" -"string-width-cjs@npm:string-width@^4.2.0": +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, 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== @@ -12587,15 +12075,6 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, 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@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -12727,7 +12206,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, 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== @@ -12748,13 +12227,6 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^6.0.0, 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@^7.0.1: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -13163,15 +12635,6 @@ tty-table@^4.2.3: wcwidth "^1.0.1" yargs "^17.7.1" -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" - tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -13444,13 +12907,6 @@ unique-filename@^2.0.0: dependencies: unique-slug "^3.0.0" -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 "^4.0.0" - unique-slug@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" @@ -13465,13 +12921,6 @@ unique-slug@^3.0.0: dependencies: imurmurhash "^0.1.4" -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" - unique-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d" @@ -13479,11 +12928,6 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -universal-user-agent@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" - integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== - universalify@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -13621,7 +13065,7 @@ valid-url@^1.0.9: resolved "https://registry.yarnpkg.com/valid-url/-/valid-url-1.0.9.tgz#1c14479b40f1397a75782f115e4086447433a200" integrity sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA== -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: +validate-npm-package-license@^3.0.1: 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== @@ -13636,13 +13080,6 @@ validate-npm-package-name@^3.0.0: dependencies: builtins "^1.0.3" -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" - validator@^13.11.0, validator@^13.12.0, validator@^13.6.0: version "13.12.0" resolved "https://registry.yarnpkg.com/validator/-/validator-13.12.0.tgz#7d78e76ba85504da3fee4fd1922b385914d4b35f" @@ -13847,13 +13284,6 @@ which@^2.0.1, which@^2.0.2: dependencies: isexe "^2.0.0" -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.2, wide-align@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" @@ -13878,7 +13308,7 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"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== @@ -13904,15 +13334,6 @@ 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== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" @@ -14166,27 +13587,6 @@ yeoman-environment@^3.5.1: textextensions "^5.12.0" untildify "^4.0.0" -yeoman-generator@^5.8.0: - version "5.10.0" - resolved "https://registry.yarnpkg.com/yeoman-generator/-/yeoman-generator-5.10.0.tgz#0dde5be9d815b01f77a7e77ee6f9047edcbeca04" - integrity sha512-iDUKykV7L4nDNzeYSedRmSeJ5eMYFucnKDi6KN1WNASXErgPepKqsQw55TgXPHnmpcyOh2Dd/LAZkyc+f0qaAw== - dependencies: - chalk "^4.1.0" - dargs "^7.0.0" - debug "^4.1.1" - execa "^5.1.1" - github-username "^6.0.0" - lodash "^4.17.11" - mem-fs-editor "^9.0.0" - minimist "^1.2.5" - pacote "^15.2.0" - read-pkg-up "^7.0.1" - run-async "^2.0.0" - semver "^7.2.1" - shelljs "^0.8.5" - sort-keys "^4.2.0" - text-table "^0.2.0" - yo@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/yo/-/yo-4.3.1.tgz#04fd6b50bfe02fbe3e6ca714ce79a13c533952bb" @@ -14229,7 +13629,7 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -yosay@^2.0.1, yosay@^2.0.2: +yosay@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/yosay/-/yosay-2.0.2.tgz#a7017e764cd88d64a1ae64812201de5b157adf6d" integrity sha512-avX6nz2esp7IMXGag4gu6OyQBsMh/SEn+ZybGu3yKPlOTE6z9qJrzG/0X5vCq/e0rPFy0CUYCze0G5hL310ibA==