diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 9f09849..0000000 --- a/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -# EditorConfig is awesome: http://EditorConfig.org - -# top-most EditorConfig file -root = true - -# Unix-style newlines with a newline ending every file -[*] -end_of_line = lf -insert_final_newline = true -charset = utf-8 -indent_style = space -tab_width = 2 diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 6313b56..0000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto eol=lf diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 5f0889c..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - -version: 2 -updates: - - package-ecosystem: "npm" # See documentation for possible values - directory: "/" # Location of package manifests - schedule: - interval: "weekly" diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml deleted file mode 100644 index d8b9147..0000000 --- a/.github/workflows/doc.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Typedoc build and deploy doc to GH pages -on: - push: - branches: ["main"] - - workflow_dispatch: - -permissions: - contents: write -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - uses: actions/checkout@v4 - - name: Enable Corepack - run: corepack enable - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: "yarn" - - - name: Install and Build - run: | - yarn install --immutable - yarn run doc - - - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: dist/docs diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index b7dc8b6..0000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: pre-commit -on: - push: - branches: ["**"] - pull_request: - branches: ["**"] -jobs: - Run-Pre-Commit: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v2 - - name: Install Pre-Commit - run: pip install pre-commit - - name: Run Pre-Commit - run: pre-commit run --all-files --color=always --show-diff-on-failure diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml deleted file mode 100644 index f13b419..0000000 --- a/.github/workflows/shellcheck.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: shellcheck -on: - push: - branches: ["**"] - pull_request: - branches: ["**"] -jobs: - Run-Pre-Commit: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v2 - - name: Install shellcheck - run: sudo apt-get install shellcheck - - name: Run shellcheck - run: for file in $(find ./source-repo -type f -iname "*.sh"); do shellcheck $file; done; diff --git a/.github/workflows/test-cdk.yml b/.github/workflows/test-cdk.yml deleted file mode 100644 index 35327de..0000000 --- a/.github/workflows/test-cdk.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Test CDK Library -on: - push: - branches: ["**"] - pull_request: - branches: ["**"] -jobs: - Run-CDK-Tests: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [22.x] - - steps: - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - uses: actions/checkout@v4 - - name: Enable Corepack - run: corepack enable - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: "yarn" - - run: yarn install --immutable - - run: yarn run check - - run: yarn run build - - run: yarn test diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a5835b9..0000000 --- a/.gitignore +++ /dev/null @@ -1,62 +0,0 @@ -*.js -!jest.config.js -!.eslintrc.js -!.prettierrc.js - -!lib/**/*.ts -!test/**/*.ts -*.d.ts - -dist -node_modules - -# yarn asset -yarn-install.log -.yarn/* -!.yarn/releases/ -!.yarn/plugins/ -!.yarn/versions/ -!.yarn/sdks/ -.pnp.* - -# yarn asset -yarn-install.log -.yarn/* -!.yarn/releases/ -!.yarn/plugins/ -!.yarn/versions/ -!.yarn/sdks/ -.pnp.* - -# yarn asset -yarn-install.log -.yarn/* -!.yarn/releases/ -!.yarn/plugins/ -!.yarn/versions/ -!.yarn/sdks/ -.pnp.* - -# yarn asset -yarn-install.log -.yarn/* -!.yarn/releases/ -!.yarn/plugins/ -!.yarn/versions/ -!.yarn/sdks/ -.pnp.* - -# CDK asset staging directory -.cdk.staging -cdk.out - -cdk.context.json -/.idea/ -/aws4embeddedlinux-ci.iml - -# Ignore Mac DS_Store files -**/.DS_Store - -assets -source-zip -aws4embeddedlinux-cdk-lib-*.tgz diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e2ac661 --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/.npmignore b/.npmignore deleted file mode 100644 index c42d5b9..0000000 --- a/.npmignore +++ /dev/null @@ -1,18 +0,0 @@ -.yarn -.github -.vscode -test - -.editorconfig -.gitattributes -.pre-commit-config.yaml -eslint.config.mjs -jest.config.js -typedoc.json -tsconfig.*.json -package-lock.json -yarn.lock - -CODE_OF_CONDUCT.md -CONTRIBUTING.md -SECURITY.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index dfe95e3..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# See https://pre-commit.com for more information -# See https://pre-commit.com/hooks.html for more hooks -repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: check-yaml - - id: check-added-large-files - - id: check-xml diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 0afa7b4..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "eslint.alwaysShowStatus": true, - "editor.codeActionsOnSave": { - "source.fixAll.eslint": true - }, - "explorer.autoReveal": false -} diff --git a/.yarn/sdks/eslint/package.json b/.yarn/sdks/eslint/package.json deleted file mode 100644 index f8cd8f7..0000000 --- a/.yarn/sdks/eslint/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "eslint", - "version": "9.20.1-sdk", - "main": "./lib/api.js", - "type": "commonjs", - "bin": { - "eslint": "./bin/eslint.js" - }, - "exports": { - ".": { - "types": "./lib/types/index.d.ts", - "default": "./lib/api.js" - }, - "./package.json": "./package.json", - "./use-at-your-own-risk": { - "types": "./lib/types/use-at-your-own-risk.d.ts", - "default": "./lib/unsupported-api.js" - }, - "./rules": { - "types": "./lib/types/rules/index.d.ts" - }, - "./universal": { - "types": "./lib/types/universal.d.ts", - "default": "./lib/universal.js" - } - } -} diff --git a/.yarnrc.yml b/.yarnrc.yml deleted file mode 100644 index 3186f3f..0000000 --- a/.yarnrc.yml +++ /dev/null @@ -1 +0,0 @@ -nodeLinker: node-modules diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 5b627cf..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,4 +0,0 @@ -## Code of Conduct -This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). -For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact -opensource-codeofconduct@amazon.com with any additional questions or comments. diff --git a/README.md b/README.md deleted file mode 100644 index e6ff5a5..0000000 --- a/README.md +++ /dev/null @@ -1,401 +0,0 @@ -# aws4embeddedlinux-ci - -The `aws4embeddedlinux-ci` library helps you deploy an AWS cloud infrastructure supporting the Embedded Linux builds for your project using [AWS CDK](https://github.com/aws/aws-cdk). - -## Table of Contents - -1. [Architecture](#architecture) -1. [API documentation](#api-documentation) -1. [Project Build with AWS CodePipeline](#project-build-with-aws-codepipeline) -1. [Project Build with AWS CodeBuild as Action Runner](#project-build-with-aws-codebuild-as-action-runner) -1. [Setup](#setup) -1. [Development Setup](#development-setup) -1. [Known issues](#known-issues) -1. [Security](#security) -1. [Contributing](#contributing) -1. [License](#license) - -## Architecture - -This is the overall architecture pattern used to deploy the build pipeline: - -![architecture overview](images/architecture-v0.2.x.svg "Architecture") - -[Bask to the top](#aws4embeddedlinux-ci) - -## API documentation - -The [API documentation](https://aws4embeddedlinux.github.io/aws4embeddedlinux-ci/) is generated automatically using [Typedoc](https://typedoc.org/). - -[Bask to the top](#aws4embeddedlinux-ci) - -## Project Build with AWS CodePipeline - -Several pipelines are provided in this library, each one demonstrating a different aspect of how to build a Yocto image with AWS. - -Once deployed, ou can review the pipeline execution from the `Developer Tools > Pipeline - CodePipeline > Pipelines` page in the AWS Console. - -From the pipeline page, you can find the source repository (S3), the CodeBuild Project (with the build logs), and the S3 bucket that the image is uploaded to, at the end. - -Each pipelines will refresh/re-run automatically every week using AWS EventBridge in order to grab the latest updates. - -### __Poky__ - -The pipeline name will end with **`poky`**. - -This example will build the `core-image-minimal` image from Poky using the repo tool to manage layers. CVE checking is also enabled in the buildspec file. - -**_Expected build times_**: - -- First build: **32 minutes** -- Rebuild (without any change, just use sstate cache): **8 minutes** - -### __Poky EC2 AMI__ - -The pipeline name will end with **`poky-ami`**. - -Yocto can be used to create an EC2 AMI. This example builds an AMI based on Poky and meta-aws and exports it to your AMI registry using the [VM Import/Export Service](https://docs.aws.amazon.com/vm-import/latest/userguide/what-is-vmimport.html). - -**_Expected build times_**: - -- First build: **52 minutes** -- Rebuild (without any change, just use sstate cache): **17 minutes** - -### __Kas__ - -The pipeline name will end with **`kas`**. - -The Kas example shows how to use a [Kas Config](https://github.com/aws4embeddedlinux/aws4embeddedlinux-ci/blob/main/source-repo/kas/kas.yml) to manage layers. - -This tool can help programatically manage layers and config with tighter Yocto integration than Git Submodules or the Repo tool. - -**_Expected build times_**: - -- First build: **36 minutes** -- Rebuild (without any change, just use sstate cache): **11 minutes** - -### __QEmu__ - -The pipeline name will end with **`qemu`**. - -This example builds a Qemu based image using [meta-aws-demos](https://github.com/aws4embeddedlinux/meta-aws-demos). - -The Qemu image can be run in the CodeBuild environment. Using SLIRP networking, [OEQA testing](https://docs.yoctoproject.org/singleindex.html#performing-automated-runtime-testing) such as ptest can be run in the pipeline. - -**_Expected build times_**: - -- First build: **45 minutes** -- Rebuild (without any change, just use sstate cache): **14 minutes** - -### __NXP / IMX__ - -The pipeline name will end with **`nxp`**. - -This example will build an image for the [i.MX 6ULL EVK](https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-6ull-and-6ulz-applications-processor:MCIMX6ULL-EVK) board. - -**NXP requires users to accept and comply with a EULA in order to build** and, for this reason, **the buildspec will require modification before the build succeeds**. - -See the [IMX Yocto Users Guide](https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf) for more detail. - -**_Expected build times_**: - -- First build: **xx minutes** -- Rebuild (without any change, just use sstate cache): **xx minutes** - -### __Renesas__ - -This example is based on the [Yocto / Renesas R-Car work](https://elinux.org/R-Car/Boards/Yocto-Gen3/v5.9.0) to build an image for Renesas R-Car-H3 Starter Kit Premier board (unofficial name - H3ULCB) including the proprietary graphics and multimedia drivers from Renesas. - -You will need to download the Multimedia and Graphics library and related Linux drivers from the following link (registration necessary): - -- https://www.renesas.com/us/en/application/automotive/r-car-h3-m3-h2-m2-e2-documents-software - -**Download the following files:** - -- R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121 -- R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121 - -Graphic drivers are required for Wayland. Multimedia drivers are optional. - -**Steps to build the image:** - -- Create a folder named `proprietary` in the root of the source repo -- Copy the downloaded files into the `proprietary` folder -- Uncomment the `#TODO` line in the `build.sh` file in the source repo -- Deploy the build pipeline - -A build should automatically start. Once it succeeds you will get an image containing the proprietary graphics and multimedia drivers. - -**_Expected build times_**: - -- First build: **30 minutes** -- Rebuild (without any change, just use sstate cache): **9 minutes** - -[Bask to the top](#aws4embeddedlinux-ci) - - -## Project Build with AWS CodeBuild as Action Runner - - -This will create an AWS CodeBuild project ready to build Embedded Linux which can be used to connect to an external source, e.g. [GitHub Actions](https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html). This is not using any AWS CodePipeline as in the the Pipeline examples section. - -You can use the following [example](https://github.com/aws4embeddedlinux/meta-aws-demos/blob/master/.github/workflows/build-gg.yml) for your GitHub Action. - -We recommend you to clone the created AWS CodeBuild project and then proceed with the GitHub Action configuration. -However, this will result in the use of the same EFS file system across projects. - -Using the AWS CodeBuild project requires a source to be configured manually in the AWS Console at `Developer Tools > Build - CodeBuild > Projects`. - -To configure the AWS CodeBuild source connection to a GitHub repository, you will need to: - -- Select the AWS CodeBuild project (`aws4el-ci-codebuild-project`) -- Select the `Project Details` tab -- Scroll to the `Source` section and click on **Edit**. -- Select **`GitHub`** as a **Source provider**. Configure the access to your repository -- Scroll to the **Primary source webhook events** section, enable **Rebuild every time a code change is pushed to this repository** -- Expand the **Webhook event filter groups** section and click on **Add filter group** if no group is present, then select **WORKFLOW_JOB_QUEUED** as **Filter group 1** - - -Modify your repository GitHub action by replacing the following line: -``` -runs-on: ${{ vars.CODEBUILD_RUNNER_NAME }}-${{ github.run_id }}-${{ github.run_attempt }} -``` - -with: - -``` -runs-on: codebuild--${{ github.run_id }}-${{ github.run_attempt }} -``` - -`` should be replaced by your AWS CodeBuild project name (`aws4el-ci-codebuild-project`). -There might be more than one occuerence to replace in the file. - -Refer to the following [example](https://github.com/aws4embeddedlinux/meta-aws-demos/blob/master/.github/workflows/build-gg.yml) for more details. - -[Bask to the top](#aws4embeddedlinux-ci) - -## Setup - -In order to use this library, you must first set up an [AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html) project, including -installing the CDK tool and bootstrapping the account you wish to deploy to. - -Additionally, you must have [NodeJS](https://nodejs.org/en/) installed. - -> [!NOTE] -> -> This library is tested against Node Versions 22. If these version is not available for your system, we recommend using [NVM](https://github.com/nvm-sh/nvm) to install a compatible version. -> - -You can also use the [sample project code](https://github.com/aws4embeddedlinux/aws4embeddedlinux-ci-examples) provided to get started and deploy the stacks. - -[Bask to the top](#aws4embeddedlinux-ci) - -### Setting Up A New Project - -In order to create a new project, you will need to initialize a new CDK project. - -More details can be found in the [CDK Getting Started Documentation](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html). - -The following commands will create a new CDK project named `my-project`: - -```bash -mkdir my-project -cd my-project -cdk init app --language typescript -``` - -Then you will need to install the CDK library including the `aws4embeddedlinux-ci` library either using `npm`: - -```bash -npm install aws4embeddedlinux/aws4embeddedlinux-ci -``` - -of `yarn': - -```bash -yarn add aws4embeddedlinux-cdk-lib@aws4embeddedlinux/aws4embeddedlinux-ci -yarn install -``` - -> If you are not familliar with Yarn, please refer to the [documentation](https://yarnpkg.com/getting-started). - -Once added, you can start creatin your application using the library. - -For example, you can start by importing classes using: - -```ts -import { - EmbeddedLinuxCodePipelineBaseImageStack, - EmbeddedLinuxCodePipelineStack, - EmbeddedLinuxCodeBuildProjectStack, - PipelineResourcesStack, - ProjectType, -} from "aws4embeddedlinux-cdk-lib"; -``` - -Then deploy the base resources and base image pipeline stacks: - -```typescript -const pipelineResourcesStack = new PipelineResourcesStack(app, `demo-resources`, {...}); -const baseImageStack = new EmbeddedLinuxCodePipelineBaseImageStack(app, `demo-pipeline-base-image`, {...}); -``` - -And ultimately deploy the target pipeline: -```typescript -const projectPipeline = new EmbeddedLinuxCodePipelineStack(app, "demo-project", { - projectType: ProjectType.Poky, - ecrRepository: , - ecrRepositoryImageTag: , - pipelineSourceBucket: , - pipelineArtifactBucket: , - pipelineOutputBucket: , - vpc: , - encryptionKey: , -}); -``` - -Refer to the [API Documentation](https://aws4embeddedlinux.github.io/aws4embeddedlinux-ci) and the [sample](https://github.com/aws4embeddedlinux/aws4embeddedlinux-ci-examples) for more details. - -Once you have completed the code of your application, you can deploy the CDK stack using: - -```bash -cdk deploy -``` - -After the CDK application is successfully deployed, the 'Base Image' pipeline needs to complete successfully. - -This will create an Ubuntu based container for building the Yocto images. - -> [!NOTE] -> -> This container is used by the other pipelines. If the other pipelines are run before this container is created and pushed to [ECR](https://aws.amazon.com/ecr/), they will fail. -> -> The 'Base Image' pipeline will run weekly by default to keep the container patched and up to date. -> - -> [!NOTE] -> -> We recommend you to deploy first the 'Base Image' pipeline and once the pipeline completes successfully, then you can deploy the other pipelines in you application as described in the [sample](https://github.com/aws4embeddedlinux/aws4embeddedlinux-ci-examples). -> - -Once your pipelines completes successfully, the Yocto deploy directory generated content will be pushed into a S3 bucket. - -[Bask to the top](#aws4embeddedlinux-ci) - -## Development Setup - -The repository is leveraging Yarn 2 and if you are not familliar with Yarn, please refer to the [documentation](https://yarnpkg.com/getting-started). - -If you are looking to develop new feature, you can use [`yarn link`](https://classic.yarnpkg.com/lang/en/docs/cli/link/k) to develop with a local copy of this repo. - -In this library repo, execute the following: - -```bash -yarn install -yarn run build -yarn link -``` - -and in your project folder: - -```bash -yarn install -yarn link "aws4embeddedlinux-cdk-lib" -yarn run build -``` - -This will link through the system `node_modules` install. - -> _Note:_ -> -> You should not install / reference the `aws4embeddedlinux/aws4embeddedlinux-ci` library in your `package.json` when using this approach. -> - - -> _Note:_ -> -> After changing the code for the `aws4embeddedlinux/aws4embeddedlinux-ci` library, you will need to run `yarn run build` for changes to be available in your current project. -> - - -> _Note:_ -> -> When using a system node install on Linux, this can require sudo access. -> To avoid this, use a [node version manager](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm#using-a-node-version-manager-to-install-nodejs-and-npm) or [set a node prefix](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally). - -### Using Git Credentials and Build Time Secrets - -[AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) is the preferred method for adding and using secrets in your pipelines. - -The service provides a structured means of access and avoids the pitfalls of putting secrets in environment variables, source repos, etc. - -The following steps detaisl at a high level, how you can enable the use of AWS Secrets Manager in your pipelines: - -- Create a _Secret_ in Secrets Manager and add your secret value. -- Grant access permissions to the CodeBuild pipeline project. -- Create a [Policy Statement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.PolicyStatement.html) which allows `secretsmanager:GetSecretValue` for your secret. -- Add this policy statement to the `buildPolicyAdditions` props for the `EmbeddedLinuxPipelineStack`. e.g. - - ```typescript - import * as iam from "aws-cdk-lib/aws-iam"; - const projectPipeline = new EmbeddedLinuxCodePipelineStack(app, "MyPokyPipeline", { - projectType: ProjectType.Poky, - ecrRepository: , - ecrRepositoryImageTag: , - pipelineSourceBucket: , - pipelineArtifactBucket: , - pipelineOutputBucket: , - vpc: , - encryptionKey: , - buildPolicyAdditions: [ - iam.PolicyStatement.fromJson({ - Effect: "Allow", - Action: "secretsmanager:GetSecretValue", - Resource: - "arn:aws:secretsmanager:us-west-2:123456789012:secret:my-secret-??????", - }), - ], - }); - ``` - -- The secret can then be used in the CodeBuild Project by adding it to the BuildSpec. - - ```yaml - env: - secrets-manager: - SECRET_VALUE: "" - ``` -See the [CodeBuild Documentation](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html) for more details. - -### CVE Checking With Yocto - -CVE checking is enabled in the reference implementations. Details on this can be found in the [Yocto documentation](https://docs.yoctoproject.org/4.0.13/singleindex.html#checking-for-vulnerabilities). - -[Bask to the top](#aws4embeddedlinux-ci) - -## Known issues - -- The use of this CDK library is currently not supported in Windows environments (you can still use WSL). -- When using AWS Cloud9, a micro instance type will run out of memory. -- Deletion of stacks while a CodePipeline is running can lead to unexpected behaviours. -- The NXP-IMX pipeline will fail unless you adjust the build spec file and address the licence acceptance requirement. - -[Bask to the top](#aws4embeddedlinux-ci) - -## Security - -See [SECURITY](SECURITY.md) for more information about reporting issues with this project. - -[Bask to the top](#aws4embeddedlinux-ci) - -## Contributing - -See [CONTRIBUTING](CONTRIBUTING.md) for more information. - -[Bask to the top](#aws4embeddedlinux-ci) - -## License - -This library is licensed under the MIT-0 License. See the [LICENSE](LICENSE) file. - -[Bask to the top](#aws4embeddedlinux-ci) diff --git a/assets/hierarchy.js b/assets/hierarchy.js new file mode 100644 index 0000000..fb85f0a --- /dev/null +++ b/assets/hierarchy.js @@ -0,0 +1 @@ +window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg==" \ No newline at end of file diff --git a/assets/highlight.css b/assets/highlight.css new file mode 100644 index 0000000..94afbea --- /dev/null +++ b/assets/highlight.css @@ -0,0 +1,99 @@ +:root { + --light-hl-0: #001080; + --dark-hl-0: #9CDCFE; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #000000; + --dark-hl-2: #C8C8C8; + --light-hl-3: #0070C1; + --dark-hl-3: #4FC1FF; + --light-hl-4: #267F99; + --dark-hl-4: #4EC9B0; + --light-hl-5: #795E26; + --dark-hl-5: #DCDCAA; + --light-hl-6: #A31515; + --dark-hl-6: #CE9178; + --light-hl-7: #0000FF; + --dark-hl-7: #569CD6; + --light-hl-8: #AF00DB; + --dark-hl-8: #C586C0; + --light-hl-9: #800000; + --dark-hl-9: #569CD6; + --light-hl-10: #008000; + --dark-hl-10: #6A9955; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } +pre, code { background: var(--code-background); } diff --git a/assets/icons.js b/assets/icons.js new file mode 100644 index 0000000..58882d7 --- /dev/null +++ b/assets/icons.js @@ -0,0 +1,18 @@ +(function() { + addIcons(); + function addIcons() { + if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); + const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; + svg.style.display = "none"; + if (location.protocol === "file:") updateUseElements(); + } + + function updateUseElements() { + document.querySelectorAll("use").forEach(el => { + if (el.getAttribute("href").includes("#icon-")) { + el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#")); + } + }); + } +})() \ No newline at end of file diff --git a/assets/icons.svg b/assets/icons.svg new file mode 100644 index 0000000..50ad579 --- /dev/null +++ b/assets/icons.svg @@ -0,0 +1 @@ +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 0000000..64b80ab --- /dev/null +++ b/assets/main.js @@ -0,0 +1,60 @@ +"use strict"; +window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This member is normally hidden due to your filter settings.","hierarchy_expand":"Expand","hierarchy_collapse":"Collapse","folder":"Folder","search_index_not_available":"The search index is not available","search_no_results_found_for_0":"No results found for {0}","kind_1":"Project","kind_2":"Module","kind_4":"Namespace","kind_8":"Enumeration","kind_16":"Enumeration Member","kind_32":"Variable","kind_64":"Function","kind_128":"Class","kind_256":"Interface","kind_512":"Constructor","kind_1024":"Property","kind_2048":"Method","kind_4096":"Call Signature","kind_8192":"Index Signature","kind_16384":"Constructor Signature","kind_32768":"Parameter","kind_65536":"Type Literal","kind_131072":"Type Parameter","kind_262144":"Accessor","kind_524288":"Get Signature","kind_1048576":"Set Signature","kind_2097152":"Type Alias","kind_4194304":"Reference","kind_8388608":"Document"}; +"use strict";(()=>{var Ke=Object.create;var he=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var et=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var tt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Ye.call(t,i)&&i!==n&&he(t,i,{get:()=>e[i],enumerable:!(r=Ge(e,i))||r.enumerable});return t};var nt=(t,e,n)=>(n=t!=null?Ke(Xe(t)):{},tt(e||!t||!t.__esModule?he(n,"default",{value:t,enumerable:!0}):n,t));var ye=et((me,ge)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=(function(e){return function(n){e.console&&console.warn&&console.warn(n)}})(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,l],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(oc?d+=2:a==c&&(n+=r[l+1]*i[d+1],l+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new t.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),i.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),f=s.str.charAt(1),p;f in s.node.edges?p=s.node.edges[f]:(p=new t.TokenSet,s.node.edges[f]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),c=0;c1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},(function(e,n){typeof define=="function"&&define.amd?define(n):typeof me=="object"?ge.exports=n():e.lunr=n()})(this,function(){return t})})()});var M,G={getItem(){return null},setItem(){}},K;try{K=localStorage,M=K}catch{K=G,M=G}var S={getItem:t=>M.getItem(t),setItem:(t,e)=>M.setItem(t,e),disableWritingLocalStorage(){M=G},disable(){localStorage.clear(),M=G},enable(){M=K}};window.TypeDoc||={disableWritingLocalStorage(){S.disableWritingLocalStorage()},disableLocalStorage:()=>{S.disable()},enableLocalStorage:()=>{S.enable()}};window.translations||={copy:"Copy",copied:"Copied!",normally_hidden:"This member is normally hidden due to your filter settings.",hierarchy_expand:"Expand",hierarchy_collapse:"Collapse",search_index_not_available:"The search index is not available",search_no_results_found_for_0:"No results found for {0}",folder:"Folder",kind_1:"Project",kind_2:"Module",kind_4:"Namespace",kind_8:"Enumeration",kind_16:"Enumeration Member",kind_32:"Variable",kind_64:"Function",kind_128:"Class",kind_256:"Interface",kind_512:"Constructor",kind_1024:"Property",kind_2048:"Method",kind_4096:"Call Signature",kind_8192:"Index Signature",kind_16384:"Constructor Signature",kind_32768:"Parameter",kind_65536:"Type Literal",kind_131072:"Type Parameter",kind_262144:"Accessor",kind_524288:"Get Signature",kind_1048576:"Set Signature",kind_2097152:"Type Alias",kind_4194304:"Reference",kind_8388608:"Document"};var pe=[];function X(t,e){pe.push({selector:e,constructor:t})}var Z=class{alwaysVisibleMember=null;constructor(){this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){pe.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!rt(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function rt(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var fe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var Ie=nt(ye(),1);async function R(t){let e=Uint8Array.from(atob(t),s=>s.charCodeAt(0)),r=new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),i=await new Response(r).text();return JSON.parse(i)}var Y="closing",ae="tsd-overlay";function it(){let t=Math.abs(window.innerWidth-document.documentElement.clientWidth);document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`}function st(){document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right")}function xe(t,e){t.addEventListener("animationend",()=>{t.classList.contains(Y)&&(t.classList.remove(Y),document.getElementById(ae)?.remove(),t.close(),st())}),t.addEventListener("cancel",n=>{n.preventDefault(),ve(t)}),e?.closeOnClick&&document.addEventListener("click",n=>{t.open&&!t.contains(n.target)&&ve(t)},!0)}function Ee(t){if(t.open)return;let e=document.createElement("div");e.id=ae,document.body.appendChild(e),t.showModal(),it()}function ve(t){if(!t.open)return;document.getElementById(ae)?.classList.add(Y),t.classList.add(Y)}var I=class{el;app;constructor(e){this.el=e.el,this.app=e.app}};var be=document.head.appendChild(document.createElement("style"));be.dataset.for="filters";var le={};function we(t){for(let e of t.split(/\s+/))if(le.hasOwnProperty(e)&&!le[e])return!0;return!1}var ee=class extends I{key;value;constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),be.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=S.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){S.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),le[`tsd-is-${this.el.name}`]=this.value,this.app.filterChanged(),this.app.updateIndexVisibility()}};var Le=0;async function Se(t,e){if(!window.searchData)return;let n=await R(window.searchData);t.data=n,t.index=Ie.Index.load(n.index),e.innerHTML=""}function _e(){let t=document.getElementById("tsd-search-trigger"),e=document.getElementById("tsd-search"),n=document.getElementById("tsd-search-input"),r=document.getElementById("tsd-search-results"),i=document.getElementById("tsd-search-script"),s=document.getElementById("tsd-search-status");if(!(t&&e&&n&&r&&i&&s))throw new Error("Search controls missing");let o={base:document.documentElement.dataset.base};o.base.endsWith("/")||(o.base+="/"),i.addEventListener("error",()=>{let a=window.translations.search_index_not_available;Pe(s,a)}),i.addEventListener("load",()=>{Se(o,s)}),Se(o,s),ot({trigger:t,searchEl:e,results:r,field:n,status:s},o)}function ot(t,e){let{field:n,results:r,searchEl:i,status:s,trigger:o}=t;xe(i,{closeOnClick:!0});function a(){Ee(i),n.setSelectionRange(0,n.value.length)}o.addEventListener("click",a),n.addEventListener("input",fe(()=>{at(r,n,s,e)},200)),n.addEventListener("keydown",l=>{if(r.childElementCount===0||l.ctrlKey||l.metaKey||l.altKey)return;let d=n.getAttribute("aria-activedescendant"),f=d?document.getElementById(d):null;if(f){let p=!1,v=!1;switch(l.key){case"Home":case"End":case"ArrowLeft":case"ArrowRight":v=!0;break;case"ArrowDown":case"ArrowUp":p=l.shiftKey;break}(p||v)&&ke(n)}if(!l.shiftKey)switch(l.key){case"Enter":f?.querySelector("a")?.click();break;case"ArrowUp":Te(r,n,f,-1),l.preventDefault();break;case"ArrowDown":Te(r,n,f,1),l.preventDefault();break}});function c(){ke(n)}n.addEventListener("change",c),n.addEventListener("blur",c),n.addEventListener("click",c),document.body.addEventListener("keydown",l=>{if(l.altKey||l.metaKey||l.shiftKey)return;let d=l.ctrlKey&&l.key==="k",f=!l.ctrlKey&&!ut()&&l.key==="/";(d||f)&&(l.preventDefault(),a())})}function at(t,e,n,r){if(!r.index||!r.data)return;t.innerHTML="",n.innerHTML="",Le+=1;let i=e.value.trim(),s;if(i){let a=i.split(" ").map(c=>c.length?`*${c}*`:"").join(" ");s=r.index.search(a).filter(({ref:c})=>{let l=r.data.rows[Number(c)].classes;return!l||!we(l)})}else s=[];if(s.length===0&&i){let a=window.translations.search_no_results_found_for_0.replace("{0}",` "${te(i)}" `);Pe(n,a);return}for(let a=0;ac.score-a.score);let o=Math.min(10,s.length);for(let a=0;a`,f=Ce(c.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(f+=` (score: ${s[a].score.toFixed(2)})`),c.parent&&(f=` + ${Ce(c.parent,i)}.${f}`);let p=document.createElement("li");p.id=`tsd-search:${Le}-${a}`,p.role="option",p.ariaSelected="false",p.classList.value=c.classes??"";let v=document.createElement("a");v.tabIndex=-1,v.href=r.base+c.url,v.innerHTML=d+`${f}`,p.append(v),t.appendChild(p)}}function Te(t,e,n,r){let i;if(r===1?i=n?.nextElementSibling||t.firstElementChild:i=n?.previousElementSibling||t.lastElementChild,i!==n){if(!i||i.role!=="option"){console.error("Option missing");return}i.ariaSelected="true",i.scrollIntoView({behavior:"smooth",block:"nearest"}),e.setAttribute("aria-activedescendant",i.id),n?.setAttribute("aria-selected","false")}}function ke(t){let e=t.getAttribute("aria-activedescendant");(e?document.getElementById(e):null)?.setAttribute("aria-selected","false"),t.setAttribute("aria-activedescendant","")}function Ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(te(t.substring(s,o)),`${te(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(te(t.substring(s))),i.join("")}var lt={"&":"&","<":"<",">":">","'":"'",'"':"""};function te(t){return t.replace(/[&<>"'"]/g,e=>lt[e])}function Pe(t,e){t.innerHTML=e?`
${e}
`:""}var ct=["button","checkbox","file","hidden","image","radio","range","reset","submit"];function ut(){let t=document.activeElement;return t?t.isContentEditable||t.tagName==="TEXTAREA"||t.tagName==="SEARCH"?!0:t.tagName==="INPUT"&&!ct.includes(t.type):!1}var D="mousedown",Me="mousemove",$="mouseup",ne={x:0,y:0},Qe=!1,ce=!1,dt=!1,F=!1,Oe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Oe?"is-mobile":"not-mobile");Oe&&"ontouchstart"in document.documentElement&&(dt=!0,D="touchstart",Me="touchmove",$="touchend");document.addEventListener(D,t=>{ce=!0,F=!1;let e=D=="touchstart"?t.targetTouches[0]:t;ne.y=e.pageY||0,ne.x=e.pageX||0});document.addEventListener(Me,t=>{if(ce&&!F){let e=D=="touchstart"?t.targetTouches[0]:t,n=ne.x-(e.pageX||0),r=ne.y-(e.pageY||0);F=Math.sqrt(n*n+r*r)>10}});document.addEventListener($,()=>{ce=!1});document.addEventListener("click",t=>{Qe&&(t.preventDefault(),t.stopImmediatePropagation(),Qe=!1)});var re=class extends I{active;className;constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener($,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(D,n=>this.onDocumentPointerDown(n)),document.addEventListener($,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){F||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!F&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var ue=new Map,de=class{open;accordions=[];key;constructor(e,n){this.key=e,this.open=n}add(e){this.accordions.push(e),e.open=this.open,e.addEventListener("toggle",()=>{this.toggle(e.open)})}toggle(e){for(let n of this.accordions)n.open=e;S.setItem(this.key,e.toString())}},ie=class extends I{constructor(e){super(e);let n=this.el.querySelector("summary"),r=n.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)});let i=`tsd-accordion-${n.dataset.key??n.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`,s;if(ue.has(i))s=ue.get(i);else{let o=S.getItem(i),a=o?o==="true":this.el.open;s=new de(i,a),ue.set(i,s)}s.add(this.el)}};function He(t){let e=S.getItem("tsd-theme")||"os";t.value=e,Ae(e),t.addEventListener("change",()=>{S.setItem("tsd-theme",t.value),Ae(t.value)})}function Ae(t){document.documentElement.dataset.theme=t}var se;function Ne(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Re),Re())}async function Re(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let e=await R(window.navigationData);se=document.documentElement.dataset.base,se.endsWith("/")||(se+="/"),t.innerHTML="";for(let n of e)Be(n,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Be(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',De(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let c=a.appendChild(document.createElement("ul"));c.className="tsd-nested-navigation";for(let l of t.children)Be(l,c,i)}else De(t,r,t.class)}function De(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));if(r.href=se+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&(r.classList.add("current"),r.ariaCurrent="page"),t.kind){let i=window.translations[`kind_${t.kind}`].replaceAll('"',""");r.innerHTML=``}r.appendChild(Fe(t.text,document.createElement("span")))}else{let r=e.appendChild(document.createElement("span")),i=window.translations.folder.replaceAll('"',""");r.innerHTML=``,r.appendChild(Fe(t.text,document.createElement("span")))}}function Fe(t,e){let n=t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);for(let r=0;r{let i=r.target;for(;i.parentElement&&i.parentElement.tagName!="LI";)i=i.parentElement;i.dataset.dropdown&&(i.dataset.dropdown=String(i.dataset.dropdown!=="true"))});let t=new Map,e=new Set;for(let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")){let i=r.querySelector("ul");t.has(r.dataset.refl)?e.add(r.dataset.refl):i&&t.set(r.dataset.refl,i)}for(let r of e)n(r);function n(r){let i=t.get(r).cloneNode(!0);i.querySelectorAll("[id]").forEach(s=>{s.removeAttribute("id")}),i.querySelectorAll("[data-dropdown]").forEach(s=>{s.dataset.dropdown="false"});for(let s of document.querySelectorAll(`[data-refl="${r}"]`)){let o=gt(),a=s.querySelector("ul");s.insertBefore(o,a),o.dataset.dropdown=String(!!a),a||s.appendChild(i.cloneNode(!0))}}}function pt(){let t=document.getElementById("tsd-hierarchy-script");t&&(t.addEventListener("load",Ve),Ve())}async function Ve(){let t=document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");if(!t||!window.hierarchyData)return;let e=+t.dataset.refl,n=await R(window.hierarchyData),r=t.querySelector("ul"),i=document.createElement("ul");if(i.classList.add("tsd-hierarchy"),ft(i,n,e),r.querySelectorAll("li").length==i.querySelectorAll("li").length)return;let s=document.createElement("span");s.classList.add("tsd-hierarchy-toggle"),s.textContent=window.translations.hierarchy_expand,t.querySelector("h4 a")?.insertAdjacentElement("afterend",s),s.insertAdjacentText("beforebegin",", "),s.addEventListener("click",()=>{s.textContent===window.translations.hierarchy_expand?(r.insertAdjacentElement("afterend",i),r.remove(),s.textContent=window.translations.hierarchy_collapse):(i.insertAdjacentElement("afterend",r),i.remove(),s.textContent=window.translations.hierarchy_expand)})}function ft(t,e,n){let r=e.roots.filter(i=>mt(e,i,n));for(let i of r)t.appendChild(je(e,i,n))}function je(t,e,n,r=new Set){if(r.has(e))return;r.add(e);let i=t.reflections[e],s=document.createElement("li");if(s.classList.add("tsd-hierarchy-item"),e===n){let o=s.appendChild(document.createElement("span"));o.textContent=i.name,o.classList.add("tsd-hierarchy-target")}else{for(let a of i.uniqueNameParents||[]){let c=t.reflections[a],l=s.appendChild(document.createElement("a"));l.textContent=c.name,l.href=oe+c.url,l.className=c.class+" tsd-signature-type",s.append(document.createTextNode("."))}let o=s.appendChild(document.createElement("a"));o.textContent=t.reflections[e].name,o.href=oe+i.url,o.className=i.class+" tsd-signature-type"}if(i.children){let o=s.appendChild(document.createElement("ul"));o.classList.add("tsd-hierarchy");for(let a of i.children){let c=je(t,a,n,r);c&&o.appendChild(c)}}return r.delete(e),s}function mt(t,e,n){if(e===n)return!0;let r=new Set,i=[t.reflections[e]];for(;i.length;){let s=i.pop();if(!r.has(s)){r.add(s);for(let o of s.children||[]){if(o===n)return!0;i.push(t.reflections[o])}}}return!1}function gt(){let t=document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("width","20"),t.setAttribute("height","20"),t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("fill","none"),t.innerHTML='',t}X(re,"a[data-toggle]");X(ie,".tsd-accordion");X(ee,".tsd-filter-item input[type=checkbox]");var qe=document.getElementById("tsd-theme");qe&&He(qe);var yt=new Z;Object.defineProperty(window,"app",{value:yt});_e();Ne();$e();"virtualKeyboard"in navigator&&(navigator.virtualKeyboard.overlaysContent=!0);})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/assets/navigation.js b/assets/navigation.js new file mode 100644 index 0000000..001ea54 --- /dev/null +++ b/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "eJydks8LgjAYhv+X7yxJQiEejQ5BB6lu0WFtX7mcU7YJRvi/B0WYOH+e977v8z2w8wsMlgYC2KZXZAzZnsui3GQMw4ILFqnsgdREKss1OJATE0MAXBpUN0JRu8O1RWxSAQ4kXDIIvNW6csZBj4bQpIZSQbQeIn46TeLS8/uIEc9RcIkh0bhLyR0nuNq7k4RbE2Ot7cVZ6jOM54tO9RvU+gUPqLNCUdTdOvZon0ar0XG+Pdd79vfDnp451nMoi1S7f0/NBb+6vAHoH1JS" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js new file mode 100644 index 0000000..f18c064 --- /dev/null +++ b/assets/search.js @@ -0,0 +1 @@ +window.searchData = "eJy9mktv2zgQx78LcxVS8+XXrS16KLroZtuiFyMoFJlJtbElrSRnEwT57gu9rKGHlChZ3pOLVDPz5/DH4VDUK0njfzOy3rySxzDakjWTc49E/l6RNfm0v1Pbrdr+EUaH54/xVn04hLvtTRr/rYL8Jo2TjHjkkO7ImoRRrtJ7P1DZu36r69/5fkc8Euz8LFMZWRPy5jUC6IyJowIVpN9UEmdhHqcvZwS7UkGaQkcgtEcSP1VR7jZgF6Gf9/6D+uE/TCY4LBzmpcOphT8lwTkyK/OpRd2VD8a7MHh5v92GeRhH56B2VfpLSn8+8Dc5BFGQviSF9y/qPFqPjh7VVLSypdu6/p77weNRfB25W3lp0rmoJWXH6EEcZXl6CPI4HRvmSvcxIj3VKFuBnWXvJkzULozUBz9T5dp2r31mU/cCmNT23+NDGqgPh+BR5ecGvmqcZqXTu8apYxot2XAawE2q7sPniQeQNE4vOoD3aR7e+0E+8Rz4tdvLzsLwfbRL+8jNdKDkwcW0U/K4itovuausImvH2mq2O7drGhNusqk+rbcDmqfzdQ9vn3r1j97QukSP2tV6pTptbcN3tP97I5t8/7rstjX5bnXpTeoCe9MgydPkuJF80Sz/eciTw0Q5jktfF81wJXea/FZyL5Ld8T3KdK3Jhc74fULHb1DdAFRnnR8viRo975WLvHIxpTjXFw8GUYNeOjiJGf3CwaDuvJcNbiRGT2EaR3sV5T/9NPTvdmq0XODrCfiaVu7YVn66Dr5TYLUzfzxkeby/8fPfYzVWfoLST1L5OVemy/li4LHigq9rcIjzmtquXrZ55lvdWGXWHtb8pHvvmtZ2vxLrHtoR4gqbm7NgGZDLbvS1+NtAWdoOFFUOphBm7kXHKDT3oReQCg8l5wiFB5ILyIR95zkyYc85ocxd/PAQRg/j9dUOJhEG6iZ62FwvzY+5VwnY0Dj47OxiLJJHve/p0uDWLg9T03MWdZE18AA6Tp/xTcQQdU6vH8ZpM54wh2hzOlYO06Yt70GitHU9FfPGntKJeadGsleNa4/UJcWlN+oVAgqd4bynosM+ewf+p7uggfYqfnzp8XKVVM9YhAM1xgh/fdof+iL8o8pnRkYoxvB+H7oMwy8fGxnni5/1xXj07aeqXv/fVKSy/hjp8bGRcb4+J5/3z31houck3He0sX1RjnexfYGCeKvu6gfHxirPYr2Bmqccotx6JIy26pmsX8mTSrMwjsiasGt+vSIeuQ/Vblt8T0Oa/iXeF0dr4pFtHBzKf97Wj/1UxcIvHq6efjcj3mbm8cX1TIrbW2/TGJf/Uf6h8dH+pTSkxNtQj4nr2ZxqhhQZUs2QEW/DPLa8lkvdkCFDphly4m24yZAjQ64ZCuJthMfp9UrMNUOBDIVmKIm3kR6bX8/mS81QIkOpGc6Jt5mbsjpHhnPNcEG8zcIUcYEMF5rhknibpSniEhkuNcMV8TYrU1ZXyHClA1DwQGemvFIMDz2hp8SHmuJSA0A6QZRZ2cMMUR0iym1zSjFGVOeIFnRQZsoyxShRnSUqraIxTVTHic5ta4ZioKhOFLUiRTFTVIeKFqhQbhww5orqYFErWRSjRXW2mJ0thtliOlvMzhbDbLGT6lSyJUxDZoYCpcPFCl6oNMrGdDGdLlbSZawaDNPFdLqYlS6G6WI6XcxKF8N0MZ0uVgBDF8YRY7yYjhdb2io6w3QxnS62shV1huliOl28pMtYLTmmi+t0cWorIBzDxXW4eAnXyhgYw8VPtr8CF2bcq7lhB9Th4sJWBThmi+ts8QIXRo2BMVxch4uXcBlrJsd0cZ0uXvDCjPWHY7q4ThcvgGHGlcwxXlzHixfEMGk0xnxxnS9REMOMK1lgvoTOlyiQYQujMQZM6ICJsrkyki0wYEIHTFgbLIH5EictlrDVH2FosnS+hLTWa4H5EjpfYm7bZQTGS+h4iYW1XAuMl9DxEiVexrUsMF5Cx0usbEVEYLqETpec2ZayxHBJHS5JreVaYrikDpcscOHGAiQxXFKHS5ZwGYuIxHRJnS5ZAMONRURivORJE18Aw41FRBr6eB0vWRDDjUVEYr6kzpcsiOHGIiIxX1LnS5abo7GISMyX1PmSBTLcWEQkBqz+U3nKfFJprrafq9PmZkPMN8uv5Fd9ID2+HXslgqxf3zzCVsXvW3sMLf96PIkW/1fpOR60W2983rqTS0c/4H1W62nROlpUlrT+5bVOOXPzX5/TgUjgW7oN9uSdd+uLtq5oLZPVv7JOZ/0rxPBI7TcebUTWRmwizetI8+ERqjcOwDtv3fOFm7/6InZXXMQeqag/Akmq+9U2wKz17zZ/ne6z6lamdQ/4c8zGqfvmbfidn6ky/2gIyzaGG+L9MdA4KJhm6kiOLQoaAAWTTM8cAlLOwAxz7uZcf7ve+pJgodas87oI1KtNOK5f4wcrICNgTrkbl+XLWVBUQE6ldPJwcsUBUrgCRdltfgzXoMAfKHiCOvlr3teCAcLJcKsMtis5kHdYP+spZc3UumWx68IfpADsc9wtpbbPQ4F64JSxQU71uzbgEmSZ1ayLYdnGN/UgDaA+CjfOzV9xAsXAJXOrVI3L5iOXDFUoBrjgwzg4OsWVCSxyMWy69Gvb1iVYqKu6QNW/wm37sX8FAnQDJrhbvTN/Pg4mDRRpOqvXnSMP5f0dqAvAlXTManN3BryA/U46UgQ/MwVDA8WO1S2jdCt61cUhEAUolG5b2fE6DXgBVUK6UYG+/gIwgERxN2/4C0OQLUAwd5u98hsUMDzgoAZpWS8Bh5TdekdWyXpz+/b2H/bEBcU="; \ No newline at end of file diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..5ba5a2a --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1633 @@ +@layer typedoc { + :root { + --dim-toolbar-contents-height: 2.5rem; + --dim-toolbar-border-bottom-width: 1px; + --dim-header-height: calc( + var(--dim-toolbar-border-bottom-width) + + var(--dim-toolbar-contents-height) + ); + + /* 0rem For mobile; unit is required for calculation in `calc` */ + --dim-container-main-margin-y: 0rem; + + --dim-footer-height: 3.5rem; + + --modal-animation-duration: 0.2s; + } + + :root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ + --light-color-background-active: #d6d8da; + --light-color-background-warning: #e6e600; + --light-color-warning-text: #222; + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-background-active); + --light-color-text: #222; + --light-color-contrast-text: #000; + --light-color-text-aside: #5e5e5e; + + --light-color-icon-background: var(--light-color-background); + --light-color-icon-text: var(--light-color-text); + + --light-color-comment-tag-text: var(--light-color-text); + --light-color-comment-tag: var(--light-color-background); + + --light-color-link: #1f70c2; + --light-color-focus-outline: #3584e4; + + --light-color-ts-keyword: #056bd6; + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: #9f5f30; + --light-color-ts-method: #be3989; + --light-color-ts-reference: #ff4d82; + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var( + --light-color-ts-constructor + ); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: #a55c0e; + --light-color-ts-accessor: #c73c3c; + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + --light-color-document: #000000; + + --light-color-alert-note: #0969d9; + --light-color-alert-tip: #1a7f37; + --light-color-alert-important: #8250df; + --light-color-alert-warning: #9a6700; + --light-color-alert-caution: #cf222e; + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + } + + :root { + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ + --dark-color-background-active: #5d5d6a; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: var(--dark-color-background-active); + --dark-color-text: #f5f5f5; + --dark-color-contrast-text: #ffffff; + --dark-color-text-aside: #dddddd; + + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-icon-text: var(--dark-color-text); + + --dark-color-comment-tag-text: var(--dark-color-text); + --dark-color-comment-tag: var(--dark-color-background); + + --dark-color-link: #00aff4; + --dark-color-focus-outline: #4c97f2; + + --dark-color-ts-keyword: #3399ff; + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: #ff984d; + --dark-color-ts-method: #ff4db8; + --dark-color-ts-reference: #ff4d82; + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: #e07d13; + --dark-color-ts-accessor: #ff6060; + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + --dark-color-document: #ffffff; + + --dark-color-alert-note: #0969d9; + --dark-color-alert-tip: #1a7f37; + --dark-color-alert-important: #8250df; + --dark-color-alert-warning: #9a6700; + --dark-color-alert-caution: #cf222e; + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; + } + + @media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var( + --light-color-background-secondary + ); + --color-background-active: var(--light-color-background-active); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-contrast-text: var(--light-color-contrast-text); + --color-text-aside: var(--light-color-text-aside); + + --color-icon-background: var(--light-color-icon-background); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --color-alert-note: var(--light-color-alert-note); + --color-alert-tip: var(--light-color-alert-tip); + --color-alert-important: var(--light-color-alert-important); + --color-alert-warning: var(--light-color-alert-warning); + --color-alert-caution: var(--light-color-alert-caution); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } + } + + @media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var( + --dark-color-background-secondary + ); + --color-background-active: var(--dark-color-background-active); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-contrast-text: var(--dark-color-contrast-text); + --color-text-aside: var(--dark-color-text-aside); + + --color-icon-background: var(--dark-color-icon-background); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --color-alert-note: var(--dark-color-alert-note); + --color-alert-tip: var(--dark-color-alert-tip); + --color-alert-important: var(--dark-color-alert-important); + --color-alert-warning: var(--dark-color-alert-warning); + --color-alert-caution: var(--dark-color-alert-caution); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } + } + + :root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-active: var(--light-color-background-active); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-contrast-text: var(--light-color-contrast-text); + --color-text-aside: var(--light-color-text-aside); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --color-note: var(--light-color-note); + --color-tip: var(--light-color-tip); + --color-important: var(--light-color-important); + --color-warning: var(--light-color-warning); + --color-caution: var(--light-color-caution); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } + + :root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-active: var(--dark-color-background-active); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-contrast-text: var(--dark-color-contrast-text); + --color-text-aside: var(--dark-color-text-aside); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --color-note: var(--dark-color-note); + --color-tip: var(--dark-color-tip); + --color-important: var(--dark-color-important); + --color-warning: var(--dark-color-warning); + --color-caution: var(--dark-color-caution); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } + + html { + color-scheme: var(--color-scheme); + @media (prefers-reduced-motion: no-preference) { + scroll-behavior: smooth; + } + } + + *:focus-visible, + .tsd-accordion-summary:focus-visible svg { + outline: 2px solid var(--color-focus-outline); + } + + .always-visible, + .always-visible .tsd-signatures { + display: inherit !important; + } + + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.2; + } + + h1 { + font-size: 1.875rem; + margin: 0.67rem 0; + } + + h2 { + font-size: 1.5rem; + margin: 0.83rem 0; + } + + h3 { + font-size: 1.25rem; + margin: 1rem 0; + } + + h4 { + font-size: 1.05rem; + margin: 1.33rem 0; + } + + h5 { + font-size: 1rem; + margin: 1.5rem 0; + } + + h6 { + font-size: 0.875rem; + margin: 2.33rem 0; + } + + dl, + menu, + ol, + ul { + margin: 1em 0; + } + + dd { + margin: 0 0 0 34px; + } + + .container { + max-width: 1700px; + padding: 0 2rem; + } + + /* Footer */ + footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: var(--dim-footer-height); + } + footer > p { + margin: 0 1em; + } + + .container-main { + margin: var(--dim-container-main-margin-y) auto; + /* toolbar, footer, margin */ + min-height: calc( + 100svh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + } + + @keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } + } + @keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } + } + @keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } + } + @keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } + } + body { + background: var(--color-background); + font-family: + -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", + Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; + font-size: 16px; + color: var(--color-text); + margin: 0; + } + + a { + color: var(--color-link); + text-decoration: none; + } + a:hover { + text-decoration: underline; + } + a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; + } + a.tsd-anchor-link { + color: var(--color-text); + } + :target { + scroll-margin-block: calc(var(--dim-header-height) + 0.5rem); + } + + code, + pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; + } + + pre { + position: relative; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); + margin-bottom: 8px; + } + pre code { + padding: 0; + font-size: 100%; + } + pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; + } + pre:hover > button, + pre > button.visible, + pre > button:focus-visible { + opacity: 1; + } + + blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; + } + + img { + max-width: 100%; + } + + * { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); + } + + *::-webkit-scrollbar { + width: 0.75rem; + } + + *::-webkit-scrollbar-track { + background: var(--color-icon-background); + } + + *::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); + } + + dialog { + border: none; + outline: none; + padding: 0; + background-color: var(--color-background); + } + dialog::backdrop { + display: none; + } + #tsd-overlay { + background-color: rgba(0, 0, 0, 0.5); + position: fixed; + z-index: 9999; + top: 0; + left: 0; + right: 0; + bottom: 0; + animation: fade-in var(--modal-animation-duration) forwards; + } + #tsd-overlay.closing { + animation-name: fade-out; + } + + .tsd-typography { + line-height: 1.333em; + } + .tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; + } + .tsd-typography .tsd-index-panel h3, + .tsd-index-panel .tsd-typography h3, + .tsd-typography h4, + .tsd-typography h5, + .tsd-typography h6 { + font-size: 1em; + } + .tsd-typography h5, + .tsd-typography h6 { + font-weight: normal; + } + .tsd-typography p, + .tsd-typography ul, + .tsd-typography ol { + margin: 1em 0; + } + .tsd-typography table { + border-collapse: collapse; + border: none; + } + .tsd-typography td, + .tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); + } + .tsd-typography thead, + .tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); + } + + .tsd-alert { + padding: 8px 16px; + margin-bottom: 16px; + border-left: 0.25em solid var(--alert-color); + } + .tsd-alert blockquote > :last-child, + .tsd-alert > :last-child { + margin-bottom: 0; + } + .tsd-alert-title { + color: var(--alert-color); + display: inline-flex; + align-items: center; + } + .tsd-alert-title span { + margin-left: 4px; + } + + .tsd-alert-note { + --alert-color: var(--color-alert-note); + } + .tsd-alert-tip { + --alert-color: var(--color-alert-tip); + } + .tsd-alert-important { + --alert-color: var(--color-alert-important); + } + .tsd-alert-warning { + --alert-color: var(--color-alert-warning); + } + .tsd-alert-caution { + --alert-color: var(--color-alert-caution); + } + + .tsd-breadcrumb { + margin: 0; + margin-top: 1rem; + padding: 0; + color: var(--color-text-aside); + } + .tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; + } + .tsd-breadcrumb a:hover { + text-decoration: underline; + } + .tsd-breadcrumb li { + display: inline; + } + .tsd-breadcrumb li:after { + content: " / "; + } + + .tsd-comment-tags { + display: flex; + flex-direction: column; + } + dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; + } + dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; + } + dl.tsd-comment-tag-group dd { + margin: 0; + } + code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; + } + h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; + } + + dl.tsd-comment-tag-group dd:before, + dl.tsd-comment-tag-group dd:after { + content: " "; + } + dl.tsd-comment-tag-group dd pre, + dl.tsd-comment-tag-group dd:after { + clear: both; + } + dl.tsd-comment-tag-group p { + margin: 0; + } + + .tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; + } + .tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; + } + + .tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; + } + .tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; + } + .tsd-filter-input { + display: flex; + width: -moz-fit-content; + width: fit-content; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + } + .tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; + } + .tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; + } + .tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; + } + .tsd-filter-input input[type="checkbox"]:focus-visible + svg { + outline: 2px solid var(--color-focus-outline); + } + .tsd-checkbox-background { + fill: var(--color-accent); + } + input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); + } + .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; + } + .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); + } + + .settings-label { + font-weight: bold; + text-transform: uppercase; + display: inline-block; + } + + .tsd-filter-visibility .settings-label { + margin: 0.75rem 0 0.5rem 0; + } + + .tsd-theme-toggle .settings-label { + margin: 0.75rem 0.75rem 0 0; + } + + .tsd-hierarchy h4 label:hover span { + text-decoration: underline; + } + + .tsd-hierarchy { + list-style: square; + margin: 0; + } + .tsd-hierarchy-target { + font-weight: bold; + } + .tsd-hierarchy-toggle { + color: var(--color-link); + cursor: pointer; + } + + .tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); + } + .tsd-full-hierarchy, + .tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; + } + .tsd-full-hierarchy ul { + padding-left: 1.5rem; + } + .tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); + } + .tsd-full-hierarchy svg[data-dropdown] { + cursor: pointer; + } + .tsd-full-hierarchy svg[data-dropdown="false"] { + transform: rotate(-90deg); + } + .tsd-full-hierarchy svg[data-dropdown="false"] ~ ul { + display: none; + } + + .tsd-panel-group.tsd-index-group { + margin-bottom: 0; + } + .tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; + } + @media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } + } + @media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } + } + .tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; + } + + .tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; + } + + .tsd-anchor { + position: relative; + top: -100px; + } + + .tsd-member { + position: relative; + } + .tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; + } + + .tsd-navigation.settings { + margin: 0; + margin-bottom: 1rem; + } + .tsd-navigation > a, + .tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.25rem); + display: flex; + align-items: center; + } + .tsd-navigation a, + .tsd-navigation summary > span, + .tsd-page-navigation a { + display: flex; + width: calc(100% - 0.25rem); + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; + } + .tsd-navigation a.current, + .tsd-page-navigation a.current { + background: var(--color-active-menu-item); + color: var(--color-contrast-text); + } + .tsd-navigation a:hover, + .tsd-page-navigation a:hover { + text-decoration: underline; + } + .tsd-navigation ul, + .tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; + } + .tsd-navigation li, + .tsd-page-navigation li { + padding: 0; + max-width: 100%; + } + .tsd-navigation .tsd-nav-link { + display: none; + } + .tsd-nested-navigation { + margin-left: 3rem; + } + .tsd-nested-navigation > li > details { + margin-left: -1.5rem; + } + .tsd-small-nested-navigation { + margin-left: 1.5rem; + } + .tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; + } + + .tsd-page-navigation-section > summary { + padding: 0.25rem; + } + .tsd-page-navigation-section > summary > svg { + margin-right: 0.25rem; + } + .tsd-page-navigation-section > div { + margin-left: 30px; + } + .tsd-page-navigation ul { + padding-left: 1.75rem; + } + + #tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; + } + #tsd-sidebar-links a:last-of-type { + margin-bottom: 0; + } + + a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); + } + .tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ + display: flex; + align-items: center; + gap: 0.25rem; + box-sizing: border-box; + } + .tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ + } + .tsd-accordion-summary, + .tsd-accordion-summary a { + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + + cursor: pointer; + } + .tsd-accordion-summary a { + width: calc(100% - 1.5rem); + } + .tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; + } + /* + * We need to be careful to target the arrow indicating whether the accordion + * is open, but not any other SVGs included in the details element. + */ + .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child { + transform: rotate(-90deg); + } + .tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; + } + .tsd-index-summary { + margin-top: 1.5rem; + margin-bottom: 0.75rem; + display: flex; + align-content: center; + } + + .tsd-no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + } + .tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + } + .tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; + } + + .tsd-panel { + margin-bottom: 2.5rem; + } + .tsd-panel.tsd-member { + margin-bottom: 4rem; + } + .tsd-panel:empty { + display: none; + } + .tsd-panel > h1, + .tsd-panel > h2, + .tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; + } + .tsd-panel > h1.tsd-before-signature, + .tsd-panel > h2.tsd-before-signature, + .tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; + } + + .tsd-panel-group { + margin: 2rem 0; + } + .tsd-panel-group.tsd-index-group { + margin: 2rem 0; + } + .tsd-panel-group.tsd-index-group details { + margin: 2rem 0; + } + .tsd-panel-group > .tsd-accordion-summary { + margin-bottom: 1rem; + } + + #tsd-search[open] { + animation: fade-in var(--modal-animation-duration) ease-out forwards; + } + #tsd-search[open].closing { + animation-name: fade-out; + } + + /* Avoid setting `display` on closed dialog */ + #tsd-search[open] { + display: flex; + flex-direction: column; + padding: 1rem; + width: 32rem; + max-width: 90vw; + max-height: calc(100vh - env(keyboard-inset-height, 0px) - 25vh); + /* Anchor dialog to top */ + margin-top: 10vh; + border-radius: 6px; + will-change: max-height; + } + #tsd-search-input { + box-sizing: border-box; + width: 100%; + padding: 0 0.625rem; /* 10px */ + outline: 0; + border: 2px solid var(--color-accent); + background-color: transparent; + color: var(--color-text); + border-radius: 4px; + height: 2.5rem; + flex: 0 0 auto; + font-size: 0.875rem; + transition: border-color 0.2s, background-color 0.2s; + } + #tsd-search-input:focus-visible { + background-color: var(--color-background-active); + border-color: transparent; + color: var(--color-contrast-text); + } + #tsd-search-input::placeholder { + color: inherit; + opacity: 0.8; + } + #tsd-search-results { + margin: 0; + padding: 0; + list-style: none; + flex: 1 1 auto; + display: flex; + flex-direction: column; + overflow-y: auto; + } + #tsd-search-results:not(:empty) { + margin-top: 0.5rem; + } + #tsd-search-results > li { + background-color: var(--color-background); + line-height: 1.5; + box-sizing: border-box; + border-radius: 4px; + } + #tsd-search-results > li:nth-child(even) { + background-color: var(--color-background-secondary); + } + #tsd-search-results > li:is(:hover, [aria-selected="true"]) { + background-color: var(--color-background-active); + color: var(--color-contrast-text); + } + /* It's important that this takes full size of parent `li`, to capture a click on `li` */ + #tsd-search-results > li > a { + display: flex; + align-items: center; + padding: 0.5rem 0.25rem; + box-sizing: border-box; + width: 100%; + } + #tsd-search-results > li > a > .text { + flex: 1 1 auto; + min-width: 0; + overflow-wrap: anywhere; + } + #tsd-search-results > li > a .parent { + color: var(--color-text-aside); + } + #tsd-search-results > li > a mark { + color: inherit; + background-color: inherit; + font-weight: bold; + } + #tsd-search-status { + flex: 1; + display: grid; + place-content: center; + text-align: center; + overflow-wrap: anywhere; + } + #tsd-search-status:not(:empty) { + min-height: 6rem; + } + + .tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; + } + + .tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; + } + + .tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; + } + + .tsd-signature-type { + font-style: italic; + font-weight: normal; + } + + .tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; + } + .tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; + } + .tsd-signatures .tsd-index-signature:not(:last-child) { + margin-bottom: 1em; + } + .tsd-signatures .tsd-index-signature .tsd-signature { + border-width: 1px; + } + .tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; + } + + ul.tsd-parameter-list, + ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; + } + ul.tsd-parameter-list > li.tsd-parameter-signature, + ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; + } + ul.tsd-parameter-list h5, + ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; + } + .tsd-sources { + margin-top: 1rem; + font-size: 0.875em; + } + .tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; + } + .tsd-sources ul { + list-style: none; + padding: 0; + } + + .tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: var(--dim-toolbar-border-bottom-width) + var(--color-accent) solid; + transition: transform 0.3s ease-in-out; + } + .tsd-page-toolbar a { + color: var(--color-text); + } + .tsd-toolbar-contents { + display: flex; + align-items: center; + height: var(--dim-toolbar-contents-height); + margin: 0 auto; + } + .tsd-toolbar-contents > .title { + font-weight: bold; + margin-right: auto; + } + #tsd-toolbar-links { + display: flex; + align-items: center; + gap: 1.5rem; + margin-right: 1rem; + } + + .tsd-widget { + box-sizing: border-box; + display: inline-block; + opacity: 0.8; + height: 2.5rem; + width: 2.5rem; + transition: opacity 0.1s, background-color 0.1s; + text-align: center; + cursor: pointer; + border: none; + background-color: transparent; + } + .tsd-widget:hover { + opacity: 0.9; + } + .tsd-widget:active { + opacity: 1; + background-color: var(--color-accent); + } + #tsd-toolbar-menu-trigger { + display: none; + } + + .tsd-member-summary-name { + display: inline-flex; + align-items: center; + padding: 0.25rem; + text-decoration: none; + } + + .tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + color: var(--color-text); + vertical-align: middle; + } + + .tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; + } + + .tsd-member-summary-name:hover > .tsd-anchor-icon svg, + .tsd-anchor-link:hover > .tsd-anchor-icon svg, + .tsd-anchor-icon:focus-visible svg { + visibility: visible; + } + + .deprecated { + text-decoration: line-through !important; + } + + .warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); + } + + .tsd-kind-project { + color: var(--color-ts-project); + } + .tsd-kind-module { + color: var(--color-ts-module); + } + .tsd-kind-namespace { + color: var(--color-ts-namespace); + } + .tsd-kind-enum { + color: var(--color-ts-enum); + } + .tsd-kind-enum-member { + color: var(--color-ts-enum-member); + } + .tsd-kind-variable { + color: var(--color-ts-variable); + } + .tsd-kind-function { + color: var(--color-ts-function); + } + .tsd-kind-class { + color: var(--color-ts-class); + } + .tsd-kind-interface { + color: var(--color-ts-interface); + } + .tsd-kind-constructor { + color: var(--color-ts-constructor); + } + .tsd-kind-property { + color: var(--color-ts-property); + } + .tsd-kind-method { + color: var(--color-ts-method); + } + .tsd-kind-reference { + color: var(--color-ts-reference); + } + .tsd-kind-call-signature { + color: var(--color-ts-call-signature); + } + .tsd-kind-index-signature { + color: var(--color-ts-index-signature); + } + .tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); + } + .tsd-kind-parameter { + color: var(--color-ts-parameter); + } + .tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); + } + .tsd-kind-accessor { + color: var(--color-ts-accessor); + } + .tsd-kind-get-signature { + color: var(--color-ts-get-signature); + } + .tsd-kind-set-signature { + color: var(--color-ts-set-signature); + } + .tsd-kind-type-alias { + color: var(--color-ts-type-alias); + } + + /* if we have a kind icon, don't color the text by kind */ + .tsd-kind-icon ~ span { + color: var(--color-text); + } + + /* mobile */ + @media (max-width: 769px) { + #tsd-toolbar-menu-trigger { + display: inline-block; + /* temporary fix to vertically align, for compatibility */ + line-height: 2.5; + } + #tsd-toolbar-links { + display: none; + } + + .container-main { + display: flex; + } + .col-content { + float: none; + max-width: 100%; + width: 100%; + } + .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + .col-sidebar > *:last-child { + padding-bottom: 20px; + } + .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } + .tsd-navigation .tsd-nav-link { + display: flex; + } + } + + /* one sidebar */ + @media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + --dim-container-main-margin-y: 2rem; + } + + .tsd-breadcrumb { + margin-top: 0; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } + } + @media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc( + 100vh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + overflow: auto; + position: sticky; + top: calc( + var(--dim-header-height) + var(--dim-container-main-margin-y) + ); + } + .site-menu { + margin-top: 1rem; + } + } + + /* two sidebars */ + @media (min-width: 1200px) { + .container-main { + grid-template-columns: + minmax(0, 1fr) minmax(0, 2.5fr) minmax( + 0, + 20rem + ); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 0rem; + } + + .page-menu, + .site-menu { + max-height: calc( + 100vh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + overflow: auto; + position: sticky; + top: calc( + var(--dim-header-height) + var(--dim-container-main-margin-y) + ); + } + } +} diff --git a/classes/EmbeddedLinuxCodeBuildProjectStack.html b/classes/EmbeddedLinuxCodeBuildProjectStack.html new file mode 100644 index 0000000..44080dc --- /dev/null +++ b/classes/EmbeddedLinuxCodeBuildProjectStack.html @@ -0,0 +1,330 @@ +EmbeddedLinuxCodeBuildProjectStack | aws4embeddedlinux-cdk-lib
aws4embeddedlinux-cdk-lib
    Preparing search index...

    Class EmbeddedLinuxCodeBuildProjectStack

    The stack for creating a build pipeline.

    +

    See EmbeddedLinuxCodeBuildProjectProps for configration options.

    +

    Hierarchy

    • Stack
      • EmbeddedLinuxCodeBuildProjectStack
    Index

    Constructors

    Properties

    tags: TagManager

    Tags to be applied to the stack.

    +
    templateOptions: ITemplateOptions

    Options for CloudFormation template (like version, transform, description).

    +
    region: string

    The AWS region into which this stack will be deployed (e.g. us-west-2).

    +

    This value is resolved according to the following rules:

    +
      +
    1. The value provided to env.region when the stack is defined. This can +either be a concrete region (e.g. us-west-2) or the Aws.REGION +token.
    2. +
    3. Aws.REGION, which is represents the CloudFormation intrinsic reference +{ "Ref": "AWS::Region" } encoded as a string token.
    4. +
    +

    Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.region) returns +true), this implies that the user wishes that this stack will synthesize +into a region-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other region-agnostic behavior.

    +
    account: string

    The AWS account into which this stack will be deployed.

    +

    This value is resolved according to the following rules:

    +
      +
    1. The value provided to env.account when the stack is defined. This can +either be a concrete account (e.g. 585695031111) or the +Aws.ACCOUNT_ID token.
    2. +
    3. Aws.ACCOUNT_ID, which represents the CloudFormation intrinsic reference +{ "Ref": "AWS::AccountId" } encoded as a string token.
    4. +
    +

    Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.account) returns +true), this implies that the user wishes that this stack will synthesize +into an account-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other account-agnostic behavior.

    +
    environment: string

    The environment coordinates in which this stack is deployed. In the form +aws://account/region. Use stack.account and stack.region to obtain +the specific values, no need to parse.

    +

    You can use this value to determine if two stacks are targeting the same +environment.

    +

    If either stack.account or stack.region are not concrete values (e.g. +Aws.ACCOUNT_ID or Aws.REGION) the special strings unknown-account and/or +unknown-region will be used respectively to indicate this stack is +region/account-agnostic.

    +
    nestedStackResource?: CfnResource

    If this is a nested stack, this represents its AWS::CloudFormation::Stack +resource. undefined for top-level (non-nested) stacks.

    +
    templateFile: string

    The name of the CloudFormation template file emitted to the output +directory during synthesis.

    +

    Example value: MyStack.template.json

    +
    artifactId: string

    The ID of the cloud assembly artifact for this stack.

    +
    synthesizer: IStackSynthesizer

    Synthesis method for this stack

    +
    _versionReportingEnabled: boolean

    Whether version reporting is enabled for this stack

    +

    Controls whether the CDK Metadata resource is injected

    +
    _crossRegionReferences: boolean

    Whether cross region references are enabled for this stack

    +
    _notificationArns?: string[]

    SNS Notification ARNs to receive stack events.

    +
    node: Node

    The tree node.

    +

    Accessors

    • get terminationProtection(): boolean

      Whether termination protection is enabled for this stack.

      +

      Returns boolean

    • set terminationProtection(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get dependencies(): Stack[]

      Return the stacks this stack depends on

      +

      Returns Stack[]

    • get stackName(): string

      The concrete CloudFormation physical stack name.

      +

      This is either the name defined explicitly in the stackName prop or +allocated based on the stack's location in the construct tree. Stacks that +are directly defined under the app use their construct id as their stack +name. Stacks that are defined deeper within the tree will use a hashed naming +scheme based on the construct path to ensure uniqueness.

      +

      If you wish to obtain the deploy-time AWS::StackName intrinsic, +you can use Aws.STACK_NAME directly.

      +

      Returns string

    • get partition(): string

      The partition in which this stack is defined

      +

      Returns string

    • get urlSuffix(): string

      The Amazon domain suffix for the region in which this stack is defined

      +

      Returns string

    • get stackId(): string

      The ID of the stack

      +

      Returns string

      // After resolving, looks like
      'arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123' +
      + +
    • get notificationArns(): string[]

      Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

      +

      Returns string[]

    • get nested(): boolean

      Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

      +

      Returns boolean

    • get availabilityZones(): string[]

      Returns the list of AZs that are available in the AWS environment +(account/region) associated with this stack.

      +

      If the stack is environment-agnostic (either account and/or region are +tokens), this property will return an array with 2 tokens that will resolve +at deploy-time to the first two availability zones returned from CloudFormation's +Fn::GetAZs intrinsic function.

      +

      If they are not available in the context, returns a set of dummy values and +reports them as missing, and let the CLI resolve them by calling EC2 +DescribeAvailabilityZones on the target environment.

      +

      To specify a different strategy for selecting availability zones override this method.

      +

      Returns string[]

    • get nestedStackParent(): undefined | Stack

      If this is a nested stack, returns it's parent stack.

      +

      Returns undefined | Stack

    • get bundlingRequired(): boolean

      Indicates whether the stack requires bundling or not

      +

      Returns boolean

    Methods

    • Return whether the given object is a Stack.

      +

      We do attribute detection since we can't reliably use 'instanceof'.

      +

      Parameters

      • this: void
      • x: any

      Returns x is Stack

    • Looks up the first stack scope in which construct is defined. Fails if there is no stack up the tree.

      +

      Parameters

      • construct: IConstruct

        The construct to start the search from.

        +

      Returns Stack

    • Resolve a tokenized value in the context of the current stack.

      +

      Parameters

      • obj: any

      Returns any

    • Convert an object, potentially containing tokens, to a JSON string

      +

      Parameters

      • this: void
      • obj: any
      • Optionalspace: number

      Returns string

    • Convert an object, potentially containing tokens, to a YAML string

      +

      Parameters

      • obj: any

      Returns string

    • Indicate that a context key was expected

      +

      Contains instructions which will be emitted into the cloud assembly on how +the key should be supplied.

      +

      Parameters

      • report: MissingContext

        The set of parameters needed to obtain the context

        +

      Returns void

    • Rename a generated logical identities

      +

      To modify the naming scheme strategy, extend the Stack class and +override the allocateLogicalId method.

      +

      Parameters

      • oldId: string
      • newId: string

      Returns void

    • Allocates a stack-unique CloudFormation-compatible logical identity for a +specific resource.

      +

      This method is called when a CfnElement is created and used to render the +initial logical identity of resources. Logical ID renames are applied at +this stage.

      +

      This method uses the protected method allocateLogicalId to render the +logical ID for an element. To modify the naming scheme, extend the Stack +class and override this method.

      +

      Parameters

      • element: CfnElement

        The CloudFormation element for which a logical identity is +needed.

        +

      Returns string

    • Add a dependency between this stack and another stack.

      +

      This can be used to define dependencies between any two stacks within an +app, and also supports nested stacks.

      +

      Parameters

      • target: Stack
      • Optionalreason: string

      Returns void

    • Creates an ARN from components.

      +

      If partition, region or account are not specified, the stack's +partition, region and account will be used.

      +

      If any component is the empty string, an empty string will be inserted +into the generated ARN at the location that component corresponds to.

      +

      The ARN will be formatted as follows:

      +

      arn:{partition}:{service}:{region}:{account}:{resource}{sep}{resource-name}

      +

      The required ARN pieces that are omitted will be taken from the stack that +the 'scope' is attached to. If all ARN pieces are supplied, the supplied scope +can be 'undefined'.

      +

      Parameters

      • components: ArnComponents

      Returns string

    • Splits the provided ARN into its components. +Works both if 'arn' is a string like 'arn:aws:s3:::bucket', +and a Token representing a dynamic CloudFormation expression +(in which case the returned components will also be dynamic CloudFormation expressions, +encoded as Tokens).

      +

      Parameters

      • arn: string

        the ARN to split into its components

        +
      • arnFormat: ArnFormat

        the expected format of 'arn' - depends on what format the service 'arn' represents uses

        +

      Returns ArnComponents

    • Add a Transform to this stack. A Transform is a macro that AWS +CloudFormation uses to process your template.

      +

      Duplicate values are removed when stack is synthesized.

      +

      Parameters

      • transform: string

        The transform to add

        +

      Returns void

      declare const stack: Stack;

      stack.addTransform('AWS::Serverless-2016-10-31') +
      + +
    • Internal

      Called implicitly by the addDependency helper function in order to +realize a dependency between two top-level stacks at the assembly level.

      +

      Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

      +

      Parameters

      • target: Stack
      • Optionalreason: StackDependencyReason

      Returns void

    • Internal

      Called implicitly by the obtainDependencies helper function in order to +collect resource dependencies across two top-level stacks at the assembly level.

      +

      Use stack.obtainDependencies to see the dependencies between any two stacks.

      +

      Parameters

      • reasonFilter: StackDependencyReason

      Returns Element[]

    • Internal

      Called implicitly by the removeDependency helper function in order to +remove a dependency between two top-level stacks at the assembly level.

      +

      Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

      +

      Parameters

      • target: Stack
      • OptionalreasonFilter: StackDependencyReason

      Returns void

    • Internal

      Synthesizes the cloudformation template into a cloud assembly.

      +

      Parameters

      • session: ISynthesisSession
      • OptionallookupRoleArn: string
      • OptionallookupRoleExternalId: string
      • OptionallookupRoleAdditionalOptions: { [key: string]: any }

      Returns void

    • Look up a fact value for the given fact for the region of this stack

      +

      Will return a definite value only if the region of the current stack is resolved. +If not, a lookup map will be added to the stack and the lookup will be done at +CDK deployment time.

      +

      What regions will be included in the lookup map is controlled by the +@aws-cdk/core:target-partitions context value: it must be set to a list +of partitions, and only regions from the given partitions will be included. +If no such context key is set, all regions will be included.

      +

      This function is intended to be used by construct library authors. Application +builders can rely on the abstractions offered by construct libraries and do +not have to worry about regional facts.

      +

      If defaultValue is not given, it is an error if the fact is unknown for +the given region.

      +

      Parameters

      • factName: string
      • OptionaldefaultValue: string

      Returns string

    • Create a CloudFormation Export for a string value

      +

      Returns a string representing the corresponding Fn.importValue() +expression for this Export. You can control the name for the export by +passing the name option.

      +

      If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

      +

      One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

      +

      Here is how the process works. Let's say there are two stacks, +producerStack and consumerStack, and producerStack has a bucket +called bucket, which is referenced by consumerStack (perhaps because +an AWS Lambda Function writes into it, or something like that).

      +

      It is not safe to remove producerStack.bucket because as the bucket is being +deleted, consumerStack might still be using it.

      +

      Instead, the process takes two deployments:

      +

      Deployment 1: break the relationship:

      +
        +
      • Make sure consumerStack no longer references bucket.bucketName (maybe the consumer +stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just +remove the Lambda Function altogether).
      • +
      • In the ProducerStack class, call this.exportValue(this.bucket.bucketName). This +will make sure the CloudFormation Export continues to exist while the relationship +between the two stacks is being broken.
      • +
      • Deploy (this will effectively only change the consumerStack, but it's safe to deploy both).
      • +
      +

      Deployment 2: remove the bucket resource:

      +
        +
      • You are now free to remove the bucket resource from producerStack.
      • +
      • Don't forget to remove the exportValue() call as well.
      • +
      • Deploy again (this time only the producerStack will be changed -- the bucket will be deleted).
      • +
      +

      Parameters

      • exportedValue: any
      • Optionaloptions: ExportValueOptions

      Returns string

    • Create a CloudFormation Export for a string list value

      +

      Returns a string list representing the corresponding Fn.importValue() +expression for this Export. The export expression is automatically wrapped with an +Fn::Join and the import value with an Fn::Split, since CloudFormation can only +export strings. You can control the name for the export by passing the name option.

      +

      If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

      +

      One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

      +

      See exportValue for an example of this process.

      +

      Parameters

      • exportedValue: any
      • Optionaloptions: ExportValueOptions

      Returns string[]

    • Returns the naming scheme used to allocate logical IDs. By default, uses +the HashedAddressingScheme but this method can be overridden to customize +this behavior.

      +

      In order to make sure logical IDs are unique and stable, we hash the resource +construct tree path (i.e. toplevel/secondlevel/.../myresource) and add it as +a suffix to the path components joined without a separator (CloudFormation +IDs only allow alphanumeric characters).

      +

      The result will be:

      +

      <path.join('')><md5(path.join('/')> +"human" "hash"

      +

      If the "human" part of the ID exceeds 240 characters, we simply trim it so +the total ID doesn't exceed CloudFormation's 255 character limit.

      +

      We only take 8 characters from the md5 hash (0.000005 chance of collision).

      +

      Special cases:

      +
        +
      • If the path only contains a single component (i.e. it's a top-level +resource), we won't add the hash to it. The hash is not needed for +disambiguation and also, it allows for a more straightforward migration an +existing CloudFormation template to a CDK stack without logical ID changes +(or renames).
      • +
      • For aesthetic reasons, if the last components of the path are the same +(i.e. L1/L2/Pipeline/Pipeline), they will be de-duplicated to make the +resulting human portion of the ID more pleasing: L1L2Pipeline<HASH> +instead of L1L2PipelinePipeline<HASH>
      • +
      • If a component is named "Default" it will be omitted from the path. This +allows refactoring higher level abstractions around constructs without affecting +the IDs of already deployed resources.
      • +
      • If a component is named "Resource" it will be omitted from the user-visible +path, but included in the hash. This reduces visual noise in the human readable +part of the identifier.
      • +
      +

      Parameters

      • cfnElement: CfnElement

        The element for which the logical ID is allocated.

        +

      Returns string

    • Internal

      Validate stack name

      +

      CloudFormation stack names can include dashes in addition to the regular identifier +character classes, and we don't allow one of the magic markers.

      +

      Parameters

      • name: string

      Returns void

    • Internal

      Returns the CloudFormation template for this stack by traversing +the tree and invoking _toCloudFormation() on all Entity objects.

      +

      Returns any

    • Configure a stack tag

      +

      At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

      +

      Parameters

      • tagName: string
      • tagValue: string

      Returns void

    • Remove a stack tag

      +

      At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

      +

      Parameters

      • tagName: string

      Returns void

    • Checks if x is a construct.

      +

      Use this method instead of instanceof to properly detect Construct +instances, even when the construct library is symlinked.

      +

      Explanation: in JavaScript, multiple copies of the constructs library on +disk are seen as independent, completely different libraries. As a +consequence, the class Construct in each copy of the constructs library +is seen as a different class, and an instance of one class will not test as +instanceof the other class. npm install will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the constructs +library can be accidentally installed, and instanceof will behave +unpredictably. It is safest to avoid using instanceof, and using +this type-testing method instead.

      +

      Parameters

      • x: any

        Any object

        +

      Returns x is Construct

      true if x is an object created from a class which extends Construct.

      +
    • Returns a string representation of this construct.

      +

      Returns string

    diff --git a/classes/EmbeddedLinuxCodePipelineBaseImageStack.html b/classes/EmbeddedLinuxCodePipelineBaseImageStack.html new file mode 100644 index 0000000..41baa80 --- /dev/null +++ b/classes/EmbeddedLinuxCodePipelineBaseImageStack.html @@ -0,0 +1,335 @@ +EmbeddedLinuxCodePipelineBaseImageStack | aws4embeddedlinux-cdk-lib
    aws4embeddedlinux-cdk-lib
      Preparing search index...

      Class EmbeddedLinuxCodePipelineBaseImageStack

      The pipeline for building the CodeBuild Image used in other pipelines. This +will produce an image for an OS based on verified Yocto hosts.

      +

      For configuration options see BuildBaseImageCodePipelineProps.

      +

      Hierarchy

      • Stack
        • EmbeddedLinuxCodePipelineBaseImageStack
      Index

      Constructors

      Properties

      tags: TagManager

      Tags to be applied to the stack.

      +
      templateOptions: ITemplateOptions

      Options for CloudFormation template (like version, transform, description).

      +
      region: string

      The AWS region into which this stack will be deployed (e.g. us-west-2).

      +

      This value is resolved according to the following rules:

      +
        +
      1. The value provided to env.region when the stack is defined. This can +either be a concrete region (e.g. us-west-2) or the Aws.REGION +token.
      2. +
      3. Aws.REGION, which is represents the CloudFormation intrinsic reference +{ "Ref": "AWS::Region" } encoded as a string token.
      4. +
      +

      Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.region) returns +true), this implies that the user wishes that this stack will synthesize +into a region-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other region-agnostic behavior.

      +
      account: string

      The AWS account into which this stack will be deployed.

      +

      This value is resolved according to the following rules:

      +
        +
      1. The value provided to env.account when the stack is defined. This can +either be a concrete account (e.g. 585695031111) or the +Aws.ACCOUNT_ID token.
      2. +
      3. Aws.ACCOUNT_ID, which represents the CloudFormation intrinsic reference +{ "Ref": "AWS::AccountId" } encoded as a string token.
      4. +
      +

      Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.account) returns +true), this implies that the user wishes that this stack will synthesize +into an account-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other account-agnostic behavior.

      +
      environment: string

      The environment coordinates in which this stack is deployed. In the form +aws://account/region. Use stack.account and stack.region to obtain +the specific values, no need to parse.

      +

      You can use this value to determine if two stacks are targeting the same +environment.

      +

      If either stack.account or stack.region are not concrete values (e.g. +Aws.ACCOUNT_ID or Aws.REGION) the special strings unknown-account and/or +unknown-region will be used respectively to indicate this stack is +region/account-agnostic.

      +
      nestedStackResource?: CfnResource

      If this is a nested stack, this represents its AWS::CloudFormation::Stack +resource. undefined for top-level (non-nested) stacks.

      +
      templateFile: string

      The name of the CloudFormation template file emitted to the output +directory during synthesis.

      +

      Example value: MyStack.template.json

      +
      artifactId: string

      The ID of the cloud assembly artifact for this stack.

      +
      synthesizer: IStackSynthesizer

      Synthesis method for this stack

      +
      _versionReportingEnabled: boolean

      Whether version reporting is enabled for this stack

      +

      Controls whether the CDK Metadata resource is injected

      +
      _crossRegionReferences: boolean

      Whether cross region references are enabled for this stack

      +
      _notificationArns?: string[]

      SNS Notification ARNs to receive stack events.

      +
      ecrRepository: IRepository

      The ECR Repository where the image is located.

      +
      ecrRepositoryImageTag: string

      The ECR Image Tag to find the base imaged.

      +
      node: Node

      The tree node.

      +

      Accessors

      • get terminationProtection(): boolean

        Whether termination protection is enabled for this stack.

        +

        Returns boolean

      • set terminationProtection(value: boolean): void

        Parameters

        • value: boolean

        Returns void

      • get dependencies(): Stack[]

        Return the stacks this stack depends on

        +

        Returns Stack[]

      • get stackName(): string

        The concrete CloudFormation physical stack name.

        +

        This is either the name defined explicitly in the stackName prop or +allocated based on the stack's location in the construct tree. Stacks that +are directly defined under the app use their construct id as their stack +name. Stacks that are defined deeper within the tree will use a hashed naming +scheme based on the construct path to ensure uniqueness.

        +

        If you wish to obtain the deploy-time AWS::StackName intrinsic, +you can use Aws.STACK_NAME directly.

        +

        Returns string

      • get partition(): string

        The partition in which this stack is defined

        +

        Returns string

      • get urlSuffix(): string

        The Amazon domain suffix for the region in which this stack is defined

        +

        Returns string

      • get stackId(): string

        The ID of the stack

        +

        Returns string

        // After resolving, looks like
        'arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123' +
        + +
      • get notificationArns(): string[]

        Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

        +

        Returns string[]

      • get nested(): boolean

        Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

        +

        Returns boolean

      • get availabilityZones(): string[]

        Returns the list of AZs that are available in the AWS environment +(account/region) associated with this stack.

        +

        If the stack is environment-agnostic (either account and/or region are +tokens), this property will return an array with 2 tokens that will resolve +at deploy-time to the first two availability zones returned from CloudFormation's +Fn::GetAZs intrinsic function.

        +

        If they are not available in the context, returns a set of dummy values and +reports them as missing, and let the CLI resolve them by calling EC2 +DescribeAvailabilityZones on the target environment.

        +

        To specify a different strategy for selecting availability zones override this method.

        +

        Returns string[]

      • get nestedStackParent(): undefined | Stack

        If this is a nested stack, returns it's parent stack.

        +

        Returns undefined | Stack

      • get bundlingRequired(): boolean

        Indicates whether the stack requires bundling or not

        +

        Returns boolean

      Methods

      • Return whether the given object is a Stack.

        +

        We do attribute detection since we can't reliably use 'instanceof'.

        +

        Parameters

        • this: void
        • x: any

        Returns x is Stack

      • Looks up the first stack scope in which construct is defined. Fails if there is no stack up the tree.

        +

        Parameters

        • construct: IConstruct

          The construct to start the search from.

          +

        Returns Stack

      • Resolve a tokenized value in the context of the current stack.

        +

        Parameters

        • obj: any

        Returns any

      • Convert an object, potentially containing tokens, to a JSON string

        +

        Parameters

        • this: void
        • obj: any
        • Optionalspace: number

        Returns string

      • Convert an object, potentially containing tokens, to a YAML string

        +

        Parameters

        • obj: any

        Returns string

      • Indicate that a context key was expected

        +

        Contains instructions which will be emitted into the cloud assembly on how +the key should be supplied.

        +

        Parameters

        • report: MissingContext

          The set of parameters needed to obtain the context

          +

        Returns void

      • Rename a generated logical identities

        +

        To modify the naming scheme strategy, extend the Stack class and +override the allocateLogicalId method.

        +

        Parameters

        • oldId: string
        • newId: string

        Returns void

      • Allocates a stack-unique CloudFormation-compatible logical identity for a +specific resource.

        +

        This method is called when a CfnElement is created and used to render the +initial logical identity of resources. Logical ID renames are applied at +this stage.

        +

        This method uses the protected method allocateLogicalId to render the +logical ID for an element. To modify the naming scheme, extend the Stack +class and override this method.

        +

        Parameters

        • element: CfnElement

          The CloudFormation element for which a logical identity is +needed.

          +

        Returns string

      • Add a dependency between this stack and another stack.

        +

        This can be used to define dependencies between any two stacks within an +app, and also supports nested stacks.

        +

        Parameters

        • target: Stack
        • Optionalreason: string

        Returns void

      • Creates an ARN from components.

        +

        If partition, region or account are not specified, the stack's +partition, region and account will be used.

        +

        If any component is the empty string, an empty string will be inserted +into the generated ARN at the location that component corresponds to.

        +

        The ARN will be formatted as follows:

        +

        arn:{partition}:{service}:{region}:{account}:{resource}{sep}{resource-name}

        +

        The required ARN pieces that are omitted will be taken from the stack that +the 'scope' is attached to. If all ARN pieces are supplied, the supplied scope +can be 'undefined'.

        +

        Parameters

        • components: ArnComponents

        Returns string

      • Splits the provided ARN into its components. +Works both if 'arn' is a string like 'arn:aws:s3:::bucket', +and a Token representing a dynamic CloudFormation expression +(in which case the returned components will also be dynamic CloudFormation expressions, +encoded as Tokens).

        +

        Parameters

        • arn: string

          the ARN to split into its components

          +
        • arnFormat: ArnFormat

          the expected format of 'arn' - depends on what format the service 'arn' represents uses

          +

        Returns ArnComponents

      • Add a Transform to this stack. A Transform is a macro that AWS +CloudFormation uses to process your template.

        +

        Duplicate values are removed when stack is synthesized.

        +

        Parameters

        • transform: string

          The transform to add

          +

        Returns void

        declare const stack: Stack;

        stack.addTransform('AWS::Serverless-2016-10-31') +
        + +
      • Internal

        Called implicitly by the addDependency helper function in order to +realize a dependency between two top-level stacks at the assembly level.

        +

        Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

        +

        Parameters

        • target: Stack
        • Optionalreason: StackDependencyReason

        Returns void

      • Internal

        Called implicitly by the obtainDependencies helper function in order to +collect resource dependencies across two top-level stacks at the assembly level.

        +

        Use stack.obtainDependencies to see the dependencies between any two stacks.

        +

        Parameters

        • reasonFilter: StackDependencyReason

        Returns Element[]

      • Internal

        Called implicitly by the removeDependency helper function in order to +remove a dependency between two top-level stacks at the assembly level.

        +

        Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

        +

        Parameters

        • target: Stack
        • OptionalreasonFilter: StackDependencyReason

        Returns void

      • Internal

        Synthesizes the cloudformation template into a cloud assembly.

        +

        Parameters

        • session: ISynthesisSession
        • OptionallookupRoleArn: string
        • OptionallookupRoleExternalId: string
        • OptionallookupRoleAdditionalOptions: { [key: string]: any }

        Returns void

      • Look up a fact value for the given fact for the region of this stack

        +

        Will return a definite value only if the region of the current stack is resolved. +If not, a lookup map will be added to the stack and the lookup will be done at +CDK deployment time.

        +

        What regions will be included in the lookup map is controlled by the +@aws-cdk/core:target-partitions context value: it must be set to a list +of partitions, and only regions from the given partitions will be included. +If no such context key is set, all regions will be included.

        +

        This function is intended to be used by construct library authors. Application +builders can rely on the abstractions offered by construct libraries and do +not have to worry about regional facts.

        +

        If defaultValue is not given, it is an error if the fact is unknown for +the given region.

        +

        Parameters

        • factName: string
        • OptionaldefaultValue: string

        Returns string

      • Create a CloudFormation Export for a string value

        +

        Returns a string representing the corresponding Fn.importValue() +expression for this Export. You can control the name for the export by +passing the name option.

        +

        If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

        +

        One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

        +

        Here is how the process works. Let's say there are two stacks, +producerStack and consumerStack, and producerStack has a bucket +called bucket, which is referenced by consumerStack (perhaps because +an AWS Lambda Function writes into it, or something like that).

        +

        It is not safe to remove producerStack.bucket because as the bucket is being +deleted, consumerStack might still be using it.

        +

        Instead, the process takes two deployments:

        +

        Deployment 1: break the relationship:

        +
          +
        • Make sure consumerStack no longer references bucket.bucketName (maybe the consumer +stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just +remove the Lambda Function altogether).
        • +
        • In the ProducerStack class, call this.exportValue(this.bucket.bucketName). This +will make sure the CloudFormation Export continues to exist while the relationship +between the two stacks is being broken.
        • +
        • Deploy (this will effectively only change the consumerStack, but it's safe to deploy both).
        • +
        +

        Deployment 2: remove the bucket resource:

        +
          +
        • You are now free to remove the bucket resource from producerStack.
        • +
        • Don't forget to remove the exportValue() call as well.
        • +
        • Deploy again (this time only the producerStack will be changed -- the bucket will be deleted).
        • +
        +

        Parameters

        • exportedValue: any
        • Optionaloptions: ExportValueOptions

        Returns string

      • Create a CloudFormation Export for a string list value

        +

        Returns a string list representing the corresponding Fn.importValue() +expression for this Export. The export expression is automatically wrapped with an +Fn::Join and the import value with an Fn::Split, since CloudFormation can only +export strings. You can control the name for the export by passing the name option.

        +

        If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

        +

        One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

        +

        See exportValue for an example of this process.

        +

        Parameters

        • exportedValue: any
        • Optionaloptions: ExportValueOptions

        Returns string[]

      • Returns the naming scheme used to allocate logical IDs. By default, uses +the HashedAddressingScheme but this method can be overridden to customize +this behavior.

        +

        In order to make sure logical IDs are unique and stable, we hash the resource +construct tree path (i.e. toplevel/secondlevel/.../myresource) and add it as +a suffix to the path components joined without a separator (CloudFormation +IDs only allow alphanumeric characters).

        +

        The result will be:

        +

        <path.join('')><md5(path.join('/')> +"human" "hash"

        +

        If the "human" part of the ID exceeds 240 characters, we simply trim it so +the total ID doesn't exceed CloudFormation's 255 character limit.

        +

        We only take 8 characters from the md5 hash (0.000005 chance of collision).

        +

        Special cases:

        +
          +
        • If the path only contains a single component (i.e. it's a top-level +resource), we won't add the hash to it. The hash is not needed for +disambiguation and also, it allows for a more straightforward migration an +existing CloudFormation template to a CDK stack without logical ID changes +(or renames).
        • +
        • For aesthetic reasons, if the last components of the path are the same +(i.e. L1/L2/Pipeline/Pipeline), they will be de-duplicated to make the +resulting human portion of the ID more pleasing: L1L2Pipeline<HASH> +instead of L1L2PipelinePipeline<HASH>
        • +
        • If a component is named "Default" it will be omitted from the path. This +allows refactoring higher level abstractions around constructs without affecting +the IDs of already deployed resources.
        • +
        • If a component is named "Resource" it will be omitted from the user-visible +path, but included in the hash. This reduces visual noise in the human readable +part of the identifier.
        • +
        +

        Parameters

        • cfnElement: CfnElement

          The element for which the logical ID is allocated.

          +

        Returns string

      • Internal

        Validate stack name

        +

        CloudFormation stack names can include dashes in addition to the regular identifier +character classes, and we don't allow one of the magic markers.

        +

        Parameters

        • name: string

        Returns void

      • Internal

        Returns the CloudFormation template for this stack by traversing +the tree and invoking _toCloudFormation() on all Entity objects.

        +

        Returns any

      • Configure a stack tag

        +

        At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

        +

        Parameters

        • tagName: string
        • tagValue: string

        Returns void

      • Remove a stack tag

        +

        At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

        +

        Parameters

        • tagName: string

        Returns void

      • Checks if x is a construct.

        +

        Use this method instead of instanceof to properly detect Construct +instances, even when the construct library is symlinked.

        +

        Explanation: in JavaScript, multiple copies of the constructs library on +disk are seen as independent, completely different libraries. As a +consequence, the class Construct in each copy of the constructs library +is seen as a different class, and an instance of one class will not test as +instanceof the other class. npm install will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the constructs +library can be accidentally installed, and instanceof will behave +unpredictably. It is safest to avoid using instanceof, and using +this type-testing method instead.

        +

        Parameters

        • x: any

          Any object

          +

        Returns x is Construct

        true if x is an object created from a class which extends Construct.

        +
      • Returns a string representation of this construct.

        +

        Returns string

      diff --git a/classes/EmbeddedLinuxCodePipelineStack.html b/classes/EmbeddedLinuxCodePipelineStack.html new file mode 100644 index 0000000..2d355b2 --- /dev/null +++ b/classes/EmbeddedLinuxCodePipelineStack.html @@ -0,0 +1,330 @@ +EmbeddedLinuxCodePipelineStack | aws4embeddedlinux-cdk-lib
      aws4embeddedlinux-cdk-lib
        Preparing search index...

        Class EmbeddedLinuxCodePipelineStack

        The stack for creating a build pipeline.

        +

        See EmbeddedLinuxCodePipelineProps for configration options.

        +

        Hierarchy

        • Stack
          • EmbeddedLinuxCodePipelineStack
        Index

        Constructors

        Properties

        tags: TagManager

        Tags to be applied to the stack.

        +
        templateOptions: ITemplateOptions

        Options for CloudFormation template (like version, transform, description).

        +
        region: string

        The AWS region into which this stack will be deployed (e.g. us-west-2).

        +

        This value is resolved according to the following rules:

        +
          +
        1. The value provided to env.region when the stack is defined. This can +either be a concrete region (e.g. us-west-2) or the Aws.REGION +token.
        2. +
        3. Aws.REGION, which is represents the CloudFormation intrinsic reference +{ "Ref": "AWS::Region" } encoded as a string token.
        4. +
        +

        Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.region) returns +true), this implies that the user wishes that this stack will synthesize +into a region-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other region-agnostic behavior.

        +
        account: string

        The AWS account into which this stack will be deployed.

        +

        This value is resolved according to the following rules:

        +
          +
        1. The value provided to env.account when the stack is defined. This can +either be a concrete account (e.g. 585695031111) or the +Aws.ACCOUNT_ID token.
        2. +
        3. Aws.ACCOUNT_ID, which represents the CloudFormation intrinsic reference +{ "Ref": "AWS::AccountId" } encoded as a string token.
        4. +
        +

        Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.account) returns +true), this implies that the user wishes that this stack will synthesize +into an account-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other account-agnostic behavior.

        +
        environment: string

        The environment coordinates in which this stack is deployed. In the form +aws://account/region. Use stack.account and stack.region to obtain +the specific values, no need to parse.

        +

        You can use this value to determine if two stacks are targeting the same +environment.

        +

        If either stack.account or stack.region are not concrete values (e.g. +Aws.ACCOUNT_ID or Aws.REGION) the special strings unknown-account and/or +unknown-region will be used respectively to indicate this stack is +region/account-agnostic.

        +
        nestedStackResource?: CfnResource

        If this is a nested stack, this represents its AWS::CloudFormation::Stack +resource. undefined for top-level (non-nested) stacks.

        +
        templateFile: string

        The name of the CloudFormation template file emitted to the output +directory during synthesis.

        +

        Example value: MyStack.template.json

        +
        artifactId: string

        The ID of the cloud assembly artifact for this stack.

        +
        synthesizer: IStackSynthesizer

        Synthesis method for this stack

        +
        _versionReportingEnabled: boolean

        Whether version reporting is enabled for this stack

        +

        Controls whether the CDK Metadata resource is injected

        +
        _crossRegionReferences: boolean

        Whether cross region references are enabled for this stack

        +
        _notificationArns?: string[]

        SNS Notification ARNs to receive stack events.

        +
        node: Node

        The tree node.

        +

        Accessors

        • get terminationProtection(): boolean

          Whether termination protection is enabled for this stack.

          +

          Returns boolean

        • set terminationProtection(value: boolean): void

          Parameters

          • value: boolean

          Returns void

        • get dependencies(): Stack[]

          Return the stacks this stack depends on

          +

          Returns Stack[]

        • get stackName(): string

          The concrete CloudFormation physical stack name.

          +

          This is either the name defined explicitly in the stackName prop or +allocated based on the stack's location in the construct tree. Stacks that +are directly defined under the app use their construct id as their stack +name. Stacks that are defined deeper within the tree will use a hashed naming +scheme based on the construct path to ensure uniqueness.

          +

          If you wish to obtain the deploy-time AWS::StackName intrinsic, +you can use Aws.STACK_NAME directly.

          +

          Returns string

        • get partition(): string

          The partition in which this stack is defined

          +

          Returns string

        • get urlSuffix(): string

          The Amazon domain suffix for the region in which this stack is defined

          +

          Returns string

        • get stackId(): string

          The ID of the stack

          +

          Returns string

          // After resolving, looks like
          'arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123' +
          + +
        • get notificationArns(): string[]

          Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

          +

          Returns string[]

        • get nested(): boolean

          Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

          +

          Returns boolean

        • get availabilityZones(): string[]

          Returns the list of AZs that are available in the AWS environment +(account/region) associated with this stack.

          +

          If the stack is environment-agnostic (either account and/or region are +tokens), this property will return an array with 2 tokens that will resolve +at deploy-time to the first two availability zones returned from CloudFormation's +Fn::GetAZs intrinsic function.

          +

          If they are not available in the context, returns a set of dummy values and +reports them as missing, and let the CLI resolve them by calling EC2 +DescribeAvailabilityZones on the target environment.

          +

          To specify a different strategy for selecting availability zones override this method.

          +

          Returns string[]

        • get nestedStackParent(): undefined | Stack

          If this is a nested stack, returns it's parent stack.

          +

          Returns undefined | Stack

        • get bundlingRequired(): boolean

          Indicates whether the stack requires bundling or not

          +

          Returns boolean

        Methods

        • Return whether the given object is a Stack.

          +

          We do attribute detection since we can't reliably use 'instanceof'.

          +

          Parameters

          • this: void
          • x: any

          Returns x is Stack

        • Looks up the first stack scope in which construct is defined. Fails if there is no stack up the tree.

          +

          Parameters

          • construct: IConstruct

            The construct to start the search from.

            +

          Returns Stack

        • Resolve a tokenized value in the context of the current stack.

          +

          Parameters

          • obj: any

          Returns any

        • Convert an object, potentially containing tokens, to a JSON string

          +

          Parameters

          • this: void
          • obj: any
          • Optionalspace: number

          Returns string

        • Convert an object, potentially containing tokens, to a YAML string

          +

          Parameters

          • obj: any

          Returns string

        • Indicate that a context key was expected

          +

          Contains instructions which will be emitted into the cloud assembly on how +the key should be supplied.

          +

          Parameters

          • report: MissingContext

            The set of parameters needed to obtain the context

            +

          Returns void

        • Rename a generated logical identities

          +

          To modify the naming scheme strategy, extend the Stack class and +override the allocateLogicalId method.

          +

          Parameters

          • oldId: string
          • newId: string

          Returns void

        • Allocates a stack-unique CloudFormation-compatible logical identity for a +specific resource.

          +

          This method is called when a CfnElement is created and used to render the +initial logical identity of resources. Logical ID renames are applied at +this stage.

          +

          This method uses the protected method allocateLogicalId to render the +logical ID for an element. To modify the naming scheme, extend the Stack +class and override this method.

          +

          Parameters

          • element: CfnElement

            The CloudFormation element for which a logical identity is +needed.

            +

          Returns string

        • Add a dependency between this stack and another stack.

          +

          This can be used to define dependencies between any two stacks within an +app, and also supports nested stacks.

          +

          Parameters

          • target: Stack
          • Optionalreason: string

          Returns void

        • Creates an ARN from components.

          +

          If partition, region or account are not specified, the stack's +partition, region and account will be used.

          +

          If any component is the empty string, an empty string will be inserted +into the generated ARN at the location that component corresponds to.

          +

          The ARN will be formatted as follows:

          +

          arn:{partition}:{service}:{region}:{account}:{resource}{sep}{resource-name}

          +

          The required ARN pieces that are omitted will be taken from the stack that +the 'scope' is attached to. If all ARN pieces are supplied, the supplied scope +can be 'undefined'.

          +

          Parameters

          • components: ArnComponents

          Returns string

        • Splits the provided ARN into its components. +Works both if 'arn' is a string like 'arn:aws:s3:::bucket', +and a Token representing a dynamic CloudFormation expression +(in which case the returned components will also be dynamic CloudFormation expressions, +encoded as Tokens).

          +

          Parameters

          • arn: string

            the ARN to split into its components

            +
          • arnFormat: ArnFormat

            the expected format of 'arn' - depends on what format the service 'arn' represents uses

            +

          Returns ArnComponents

        • Add a Transform to this stack. A Transform is a macro that AWS +CloudFormation uses to process your template.

          +

          Duplicate values are removed when stack is synthesized.

          +

          Parameters

          • transform: string

            The transform to add

            +

          Returns void

          declare const stack: Stack;

          stack.addTransform('AWS::Serverless-2016-10-31') +
          + +
        • Internal

          Called implicitly by the addDependency helper function in order to +realize a dependency between two top-level stacks at the assembly level.

          +

          Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

          +

          Parameters

          • target: Stack
          • Optionalreason: StackDependencyReason

          Returns void

        • Internal

          Called implicitly by the obtainDependencies helper function in order to +collect resource dependencies across two top-level stacks at the assembly level.

          +

          Use stack.obtainDependencies to see the dependencies between any two stacks.

          +

          Parameters

          • reasonFilter: StackDependencyReason

          Returns Element[]

        • Internal

          Called implicitly by the removeDependency helper function in order to +remove a dependency between two top-level stacks at the assembly level.

          +

          Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

          +

          Parameters

          • target: Stack
          • OptionalreasonFilter: StackDependencyReason

          Returns void

        • Internal

          Synthesizes the cloudformation template into a cloud assembly.

          +

          Parameters

          • session: ISynthesisSession
          • OptionallookupRoleArn: string
          • OptionallookupRoleExternalId: string
          • OptionallookupRoleAdditionalOptions: { [key: string]: any }

          Returns void

        • Look up a fact value for the given fact for the region of this stack

          +

          Will return a definite value only if the region of the current stack is resolved. +If not, a lookup map will be added to the stack and the lookup will be done at +CDK deployment time.

          +

          What regions will be included in the lookup map is controlled by the +@aws-cdk/core:target-partitions context value: it must be set to a list +of partitions, and only regions from the given partitions will be included. +If no such context key is set, all regions will be included.

          +

          This function is intended to be used by construct library authors. Application +builders can rely on the abstractions offered by construct libraries and do +not have to worry about regional facts.

          +

          If defaultValue is not given, it is an error if the fact is unknown for +the given region.

          +

          Parameters

          • factName: string
          • OptionaldefaultValue: string

          Returns string

        • Create a CloudFormation Export for a string value

          +

          Returns a string representing the corresponding Fn.importValue() +expression for this Export. You can control the name for the export by +passing the name option.

          +

          If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

          +

          One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

          +

          Here is how the process works. Let's say there are two stacks, +producerStack and consumerStack, and producerStack has a bucket +called bucket, which is referenced by consumerStack (perhaps because +an AWS Lambda Function writes into it, or something like that).

          +

          It is not safe to remove producerStack.bucket because as the bucket is being +deleted, consumerStack might still be using it.

          +

          Instead, the process takes two deployments:

          +

          Deployment 1: break the relationship:

          +
            +
          • Make sure consumerStack no longer references bucket.bucketName (maybe the consumer +stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just +remove the Lambda Function altogether).
          • +
          • In the ProducerStack class, call this.exportValue(this.bucket.bucketName). This +will make sure the CloudFormation Export continues to exist while the relationship +between the two stacks is being broken.
          • +
          • Deploy (this will effectively only change the consumerStack, but it's safe to deploy both).
          • +
          +

          Deployment 2: remove the bucket resource:

          +
            +
          • You are now free to remove the bucket resource from producerStack.
          • +
          • Don't forget to remove the exportValue() call as well.
          • +
          • Deploy again (this time only the producerStack will be changed -- the bucket will be deleted).
          • +
          +

          Parameters

          • exportedValue: any
          • Optionaloptions: ExportValueOptions

          Returns string

        • Create a CloudFormation Export for a string list value

          +

          Returns a string list representing the corresponding Fn.importValue() +expression for this Export. The export expression is automatically wrapped with an +Fn::Join and the import value with an Fn::Split, since CloudFormation can only +export strings. You can control the name for the export by passing the name option.

          +

          If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

          +

          One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

          +

          See exportValue for an example of this process.

          +

          Parameters

          • exportedValue: any
          • Optionaloptions: ExportValueOptions

          Returns string[]

        • Returns the naming scheme used to allocate logical IDs. By default, uses +the HashedAddressingScheme but this method can be overridden to customize +this behavior.

          +

          In order to make sure logical IDs are unique and stable, we hash the resource +construct tree path (i.e. toplevel/secondlevel/.../myresource) and add it as +a suffix to the path components joined without a separator (CloudFormation +IDs only allow alphanumeric characters).

          +

          The result will be:

          +

          <path.join('')><md5(path.join('/')> +"human" "hash"

          +

          If the "human" part of the ID exceeds 240 characters, we simply trim it so +the total ID doesn't exceed CloudFormation's 255 character limit.

          +

          We only take 8 characters from the md5 hash (0.000005 chance of collision).

          +

          Special cases:

          +
            +
          • If the path only contains a single component (i.e. it's a top-level +resource), we won't add the hash to it. The hash is not needed for +disambiguation and also, it allows for a more straightforward migration an +existing CloudFormation template to a CDK stack without logical ID changes +(or renames).
          • +
          • For aesthetic reasons, if the last components of the path are the same +(i.e. L1/L2/Pipeline/Pipeline), they will be de-duplicated to make the +resulting human portion of the ID more pleasing: L1L2Pipeline<HASH> +instead of L1L2PipelinePipeline<HASH>
          • +
          • If a component is named "Default" it will be omitted from the path. This +allows refactoring higher level abstractions around constructs without affecting +the IDs of already deployed resources.
          • +
          • If a component is named "Resource" it will be omitted from the user-visible +path, but included in the hash. This reduces visual noise in the human readable +part of the identifier.
          • +
          +

          Parameters

          • cfnElement: CfnElement

            The element for which the logical ID is allocated.

            +

          Returns string

        • Internal

          Validate stack name

          +

          CloudFormation stack names can include dashes in addition to the regular identifier +character classes, and we don't allow one of the magic markers.

          +

          Parameters

          • name: string

          Returns void

        • Internal

          Returns the CloudFormation template for this stack by traversing +the tree and invoking _toCloudFormation() on all Entity objects.

          +

          Returns any

        • Configure a stack tag

          +

          At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

          +

          Parameters

          • tagName: string
          • tagValue: string

          Returns void

        • Remove a stack tag

          +

          At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

          +

          Parameters

          • tagName: string

          Returns void

        • Checks if x is a construct.

          +

          Use this method instead of instanceof to properly detect Construct +instances, even when the construct library is symlinked.

          +

          Explanation: in JavaScript, multiple copies of the constructs library on +disk are seen as independent, completely different libraries. As a +consequence, the class Construct in each copy of the constructs library +is seen as a different class, and an instance of one class will not test as +instanceof the other class. npm install will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the constructs +library can be accidentally installed, and instanceof will behave +unpredictably. It is safest to avoid using instanceof, and using +this type-testing method instead.

          +

          Parameters

          • x: any

            Any object

            +

          Returns x is Construct

          true if x is an object created from a class which extends Construct.

          +
        • Returns a string representation of this construct.

          +

          Returns string

        diff --git a/classes/PipelineResourcesStack.html b/classes/PipelineResourcesStack.html new file mode 100644 index 0000000..ef6ab42 --- /dev/null +++ b/classes/PipelineResourcesStack.html @@ -0,0 +1,343 @@ +PipelineResourcesStack | aws4embeddedlinux-cdk-lib
        aws4embeddedlinux-cdk-lib
          Preparing search index...

          Class PipelineResourcesStack

          Input (Source) data for our PipelineResourcesStack.

          +

          Hierarchy

          • Stack
            • PipelineResourcesStack
          Index

          Constructors

          Properties

          tags: TagManager

          Tags to be applied to the stack.

          +
          templateOptions: ITemplateOptions

          Options for CloudFormation template (like version, transform, description).

          +
          region: string

          The AWS region into which this stack will be deployed (e.g. us-west-2).

          +

          This value is resolved according to the following rules:

          +
            +
          1. The value provided to env.region when the stack is defined. This can +either be a concrete region (e.g. us-west-2) or the Aws.REGION +token.
          2. +
          3. Aws.REGION, which is represents the CloudFormation intrinsic reference +{ "Ref": "AWS::Region" } encoded as a string token.
          4. +
          +

          Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.region) returns +true), this implies that the user wishes that this stack will synthesize +into a region-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other region-agnostic behavior.

          +
          account: string

          The AWS account into which this stack will be deployed.

          +

          This value is resolved according to the following rules:

          +
            +
          1. The value provided to env.account when the stack is defined. This can +either be a concrete account (e.g. 585695031111) or the +Aws.ACCOUNT_ID token.
          2. +
          3. Aws.ACCOUNT_ID, which represents the CloudFormation intrinsic reference +{ "Ref": "AWS::AccountId" } encoded as a string token.
          4. +
          +

          Preferably, you should use the return value as an opaque string and not +attempt to parse it to implement your logic. If you do, you must first +check that it is a concrete value an not an unresolved token. If this +value is an unresolved token (Token.isUnresolved(stack.account) returns +true), this implies that the user wishes that this stack will synthesize +into an account-agnostic template. In this case, your code should either +fail (throw an error, emit a synth error using Annotations.of(construct).addError()) or +implement some other account-agnostic behavior.

          +
          environment: string

          The environment coordinates in which this stack is deployed. In the form +aws://account/region. Use stack.account and stack.region to obtain +the specific values, no need to parse.

          +

          You can use this value to determine if two stacks are targeting the same +environment.

          +

          If either stack.account or stack.region are not concrete values (e.g. +Aws.ACCOUNT_ID or Aws.REGION) the special strings unknown-account and/or +unknown-region will be used respectively to indicate this stack is +region/account-agnostic.

          +
          nestedStackResource?: CfnResource

          If this is a nested stack, this represents its AWS::CloudFormation::Stack +resource. undefined for top-level (non-nested) stacks.

          +
          templateFile: string

          The name of the CloudFormation template file emitted to the output +directory during synthesis.

          +

          Example value: MyStack.template.json

          +
          artifactId: string

          The ID of the cloud assembly artifact for this stack.

          +
          synthesizer: IStackSynthesizer

          Synthesis method for this stack

          +
          _versionReportingEnabled: boolean

          Whether version reporting is enabled for this stack

          +

          Controls whether the CDK Metadata resource is injected

          +
          _crossRegionReferences: boolean

          Whether cross region references are enabled for this stack

          +
          _notificationArns?: string[]

          SNS Notification ARNs to receive stack events.

          +
          vpc: IVpc

          The VPC for the pipeline to reside in.

          +
          ecrRepository: IRepository

          The respository to put the build host container in.

          +
          pipelineArtifactBucket: Bucket

          The artifact bucket

          +
          pipelineSourceBucket: Bucket

          The source bucket

          +
          pipelineOutputBucket: Bucket

          The output bucket

          +
          loggingBucket?: Bucket

          The Cloudwatch logging bucket

          +
          encryptionKey: Key

          The encryption key use across

          +
          node: Node

          The tree node.

          +

          Accessors

          • get terminationProtection(): boolean

            Whether termination protection is enabled for this stack.

            +

            Returns boolean

          • set terminationProtection(value: boolean): void

            Parameters

            • value: boolean

            Returns void

          • get dependencies(): Stack[]

            Return the stacks this stack depends on

            +

            Returns Stack[]

          • get stackName(): string

            The concrete CloudFormation physical stack name.

            +

            This is either the name defined explicitly in the stackName prop or +allocated based on the stack's location in the construct tree. Stacks that +are directly defined under the app use their construct id as their stack +name. Stacks that are defined deeper within the tree will use a hashed naming +scheme based on the construct path to ensure uniqueness.

            +

            If you wish to obtain the deploy-time AWS::StackName intrinsic, +you can use Aws.STACK_NAME directly.

            +

            Returns string

          • get partition(): string

            The partition in which this stack is defined

            +

            Returns string

          • get urlSuffix(): string

            The Amazon domain suffix for the region in which this stack is defined

            +

            Returns string

          • get stackId(): string

            The ID of the stack

            +

            Returns string

            // After resolving, looks like
            'arn:aws:cloudformation:us-west-2:123456789012:stack/teststack/51af3dc0-da77-11e4-872e-1234567db123' +
            + +
          • get notificationArns(): string[]

            Returns the list of notification Amazon Resource Names (ARNs) for the current stack.

            +

            Returns string[]

          • get nested(): boolean

            Indicates if this is a nested stack, in which case parentStack will include a reference to it's parent.

            +

            Returns boolean

          • get availabilityZones(): string[]

            Returns the list of AZs that are available in the AWS environment +(account/region) associated with this stack.

            +

            If the stack is environment-agnostic (either account and/or region are +tokens), this property will return an array with 2 tokens that will resolve +at deploy-time to the first two availability zones returned from CloudFormation's +Fn::GetAZs intrinsic function.

            +

            If they are not available in the context, returns a set of dummy values and +reports them as missing, and let the CLI resolve them by calling EC2 +DescribeAvailabilityZones on the target environment.

            +

            To specify a different strategy for selecting availability zones override this method.

            +

            Returns string[]

          • get nestedStackParent(): undefined | Stack

            If this is a nested stack, returns it's parent stack.

            +

            Returns undefined | Stack

          • get bundlingRequired(): boolean

            Indicates whether the stack requires bundling or not

            +

            Returns boolean

          Methods

          • Return whether the given object is a Stack.

            +

            We do attribute detection since we can't reliably use 'instanceof'.

            +

            Parameters

            • this: void
            • x: any

            Returns x is Stack

          • Looks up the first stack scope in which construct is defined. Fails if there is no stack up the tree.

            +

            Parameters

            • construct: IConstruct

              The construct to start the search from.

              +

            Returns Stack

          • Resolve a tokenized value in the context of the current stack.

            +

            Parameters

            • obj: any

            Returns any

          • Convert an object, potentially containing tokens, to a JSON string

            +

            Parameters

            • this: void
            • obj: any
            • Optionalspace: number

            Returns string

          • Convert an object, potentially containing tokens, to a YAML string

            +

            Parameters

            • obj: any

            Returns string

          • Indicate that a context key was expected

            +

            Contains instructions which will be emitted into the cloud assembly on how +the key should be supplied.

            +

            Parameters

            • report: MissingContext

              The set of parameters needed to obtain the context

              +

            Returns void

          • Rename a generated logical identities

            +

            To modify the naming scheme strategy, extend the Stack class and +override the allocateLogicalId method.

            +

            Parameters

            • oldId: string
            • newId: string

            Returns void

          • Allocates a stack-unique CloudFormation-compatible logical identity for a +specific resource.

            +

            This method is called when a CfnElement is created and used to render the +initial logical identity of resources. Logical ID renames are applied at +this stage.

            +

            This method uses the protected method allocateLogicalId to render the +logical ID for an element. To modify the naming scheme, extend the Stack +class and override this method.

            +

            Parameters

            • element: CfnElement

              The CloudFormation element for which a logical identity is +needed.

              +

            Returns string

          • Add a dependency between this stack and another stack.

            +

            This can be used to define dependencies between any two stacks within an +app, and also supports nested stacks.

            +

            Parameters

            • target: Stack
            • Optionalreason: string

            Returns void

          • Creates an ARN from components.

            +

            If partition, region or account are not specified, the stack's +partition, region and account will be used.

            +

            If any component is the empty string, an empty string will be inserted +into the generated ARN at the location that component corresponds to.

            +

            The ARN will be formatted as follows:

            +

            arn:{partition}:{service}:{region}:{account}:{resource}{sep}{resource-name}

            +

            The required ARN pieces that are omitted will be taken from the stack that +the 'scope' is attached to. If all ARN pieces are supplied, the supplied scope +can be 'undefined'.

            +

            Parameters

            • components: ArnComponents

            Returns string

          • Splits the provided ARN into its components. +Works both if 'arn' is a string like 'arn:aws:s3:::bucket', +and a Token representing a dynamic CloudFormation expression +(in which case the returned components will also be dynamic CloudFormation expressions, +encoded as Tokens).

            +

            Parameters

            • arn: string

              the ARN to split into its components

              +
            • arnFormat: ArnFormat

              the expected format of 'arn' - depends on what format the service 'arn' represents uses

              +

            Returns ArnComponents

          • Add a Transform to this stack. A Transform is a macro that AWS +CloudFormation uses to process your template.

            +

            Duplicate values are removed when stack is synthesized.

            +

            Parameters

            • transform: string

              The transform to add

              +

            Returns void

            declare const stack: Stack;

            stack.addTransform('AWS::Serverless-2016-10-31') +
            + +
          • Internal

            Called implicitly by the addDependency helper function in order to +realize a dependency between two top-level stacks at the assembly level.

            +

            Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

            +

            Parameters

            • target: Stack
            • Optionalreason: StackDependencyReason

            Returns void

          • Internal

            Called implicitly by the obtainDependencies helper function in order to +collect resource dependencies across two top-level stacks at the assembly level.

            +

            Use stack.obtainDependencies to see the dependencies between any two stacks.

            +

            Parameters

            • reasonFilter: StackDependencyReason

            Returns Element[]

          • Internal

            Called implicitly by the removeDependency helper function in order to +remove a dependency between two top-level stacks at the assembly level.

            +

            Use stack.addDependency to define the dependency between any two stacks, +and take into account nested stack relationships.

            +

            Parameters

            • target: Stack
            • OptionalreasonFilter: StackDependencyReason

            Returns void

          • Internal

            Synthesizes the cloudformation template into a cloud assembly.

            +

            Parameters

            • session: ISynthesisSession
            • OptionallookupRoleArn: string
            • OptionallookupRoleExternalId: string
            • OptionallookupRoleAdditionalOptions: { [key: string]: any }

            Returns void

          • Look up a fact value for the given fact for the region of this stack

            +

            Will return a definite value only if the region of the current stack is resolved. +If not, a lookup map will be added to the stack and the lookup will be done at +CDK deployment time.

            +

            What regions will be included in the lookup map is controlled by the +@aws-cdk/core:target-partitions context value: it must be set to a list +of partitions, and only regions from the given partitions will be included. +If no such context key is set, all regions will be included.

            +

            This function is intended to be used by construct library authors. Application +builders can rely on the abstractions offered by construct libraries and do +not have to worry about regional facts.

            +

            If defaultValue is not given, it is an error if the fact is unknown for +the given region.

            +

            Parameters

            • factName: string
            • OptionaldefaultValue: string

            Returns string

          • Create a CloudFormation Export for a string value

            +

            Returns a string representing the corresponding Fn.importValue() +expression for this Export. You can control the name for the export by +passing the name option.

            +

            If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

            +

            One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

            +

            Here is how the process works. Let's say there are two stacks, +producerStack and consumerStack, and producerStack has a bucket +called bucket, which is referenced by consumerStack (perhaps because +an AWS Lambda Function writes into it, or something like that).

            +

            It is not safe to remove producerStack.bucket because as the bucket is being +deleted, consumerStack might still be using it.

            +

            Instead, the process takes two deployments:

            +

            Deployment 1: break the relationship:

            +
              +
            • Make sure consumerStack no longer references bucket.bucketName (maybe the consumer +stack now uses its own bucket, or it writes to an AWS DynamoDB table, or maybe you just +remove the Lambda Function altogether).
            • +
            • In the ProducerStack class, call this.exportValue(this.bucket.bucketName). This +will make sure the CloudFormation Export continues to exist while the relationship +between the two stacks is being broken.
            • +
            • Deploy (this will effectively only change the consumerStack, but it's safe to deploy both).
            • +
            +

            Deployment 2: remove the bucket resource:

            +
              +
            • You are now free to remove the bucket resource from producerStack.
            • +
            • Don't forget to remove the exportValue() call as well.
            • +
            • Deploy again (this time only the producerStack will be changed -- the bucket will be deleted).
            • +
            +

            Parameters

            • exportedValue: any
            • Optionaloptions: ExportValueOptions

            Returns string

          • Create a CloudFormation Export for a string list value

            +

            Returns a string list representing the corresponding Fn.importValue() +expression for this Export. The export expression is automatically wrapped with an +Fn::Join and the import value with an Fn::Split, since CloudFormation can only +export strings. You can control the name for the export by passing the name option.

            +

            If you don't supply a value for name, the value you're exporting must be +a Resource attribute (for example: bucket.bucketName) and it will be +given the same name as the automatic cross-stack reference that would be created +if you used the attribute in another Stack.

            +

            One of the uses for this method is to remove the relationship between +two Stacks established by automatic cross-stack references. It will +temporarily ensure that the CloudFormation Export still exists while you +remove the reference from the consuming stack. After that, you can remove +the resource and the manual export.

            +

            See exportValue for an example of this process.

            +

            Parameters

            • exportedValue: any
            • Optionaloptions: ExportValueOptions

            Returns string[]

          • Returns the naming scheme used to allocate logical IDs. By default, uses +the HashedAddressingScheme but this method can be overridden to customize +this behavior.

            +

            In order to make sure logical IDs are unique and stable, we hash the resource +construct tree path (i.e. toplevel/secondlevel/.../myresource) and add it as +a suffix to the path components joined without a separator (CloudFormation +IDs only allow alphanumeric characters).

            +

            The result will be:

            +

            <path.join('')><md5(path.join('/')> +"human" "hash"

            +

            If the "human" part of the ID exceeds 240 characters, we simply trim it so +the total ID doesn't exceed CloudFormation's 255 character limit.

            +

            We only take 8 characters from the md5 hash (0.000005 chance of collision).

            +

            Special cases:

            +
              +
            • If the path only contains a single component (i.e. it's a top-level +resource), we won't add the hash to it. The hash is not needed for +disambiguation and also, it allows for a more straightforward migration an +existing CloudFormation template to a CDK stack without logical ID changes +(or renames).
            • +
            • For aesthetic reasons, if the last components of the path are the same +(i.e. L1/L2/Pipeline/Pipeline), they will be de-duplicated to make the +resulting human portion of the ID more pleasing: L1L2Pipeline<HASH> +instead of L1L2PipelinePipeline<HASH>
            • +
            • If a component is named "Default" it will be omitted from the path. This +allows refactoring higher level abstractions around constructs without affecting +the IDs of already deployed resources.
            • +
            • If a component is named "Resource" it will be omitted from the user-visible +path, but included in the hash. This reduces visual noise in the human readable +part of the identifier.
            • +
            +

            Parameters

            • cfnElement: CfnElement

              The element for which the logical ID is allocated.

              +

            Returns string

          • Internal

            Validate stack name

            +

            CloudFormation stack names can include dashes in addition to the regular identifier +character classes, and we don't allow one of the magic markers.

            +

            Parameters

            • name: string

            Returns void

          • Internal

            Returns the CloudFormation template for this stack by traversing +the tree and invoking _toCloudFormation() on all Entity objects.

            +

            Returns any

          • Configure a stack tag

            +

            At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

            +

            Parameters

            • tagName: string
            • tagValue: string

            Returns void

          • Remove a stack tag

            +

            At deploy time, CloudFormation will automatically apply all stack tags to all resources in the stack.

            +

            Parameters

            • tagName: string

            Returns void

          • Checks if x is a construct.

            +

            Use this method instead of instanceof to properly detect Construct +instances, even when the construct library is symlinked.

            +

            Explanation: in JavaScript, multiple copies of the constructs library on +disk are seen as independent, completely different libraries. As a +consequence, the class Construct in each copy of the constructs library +is seen as a different class, and an instance of one class will not test as +instanceof the other class. npm install will not create installations +like this, but users may manually symlink construct libraries together or +use a monorepo tool: in those cases, multiple copies of the constructs +library can be accidentally installed, and instanceof will behave +unpredictably. It is safest to avoid using instanceof, and using +this type-testing method instead.

            +

            Parameters

            • x: any

              Any object

              +

            Returns x is Construct

            true if x is an object created from a class which extends Construct.

            +
          • Returns a string representation of this construct.

            +

            Returns string

          diff --git a/enums/ProjectType.html b/enums/ProjectType.html new file mode 100644 index 0000000..0894f41 --- /dev/null +++ b/enums/ProjectType.html @@ -0,0 +1,18 @@ +ProjectType | aws4embeddedlinux-cdk-lib
          aws4embeddedlinux-cdk-lib
            Preparing search index...

            Enumeration ProjectType

            The type of project built.

            +
            Index

            Enumeration Members

            Enumeration Members

            Poky: "poky"

            Build core-image-minimal from poky.

            +
            QEmu: "qemu"

            Build the Qemu meta-aws Demonstration Distribution.

            +
            PokyAmi: "poky-ami"

            Build an EC2 AMI

            +
            Kas: "kas"

            Build an kas based image

            +
            Renesas: "renesas"

            Build an Renesas image

            +
            NxpImx: "nxp-imx"

            Build an IMX image using NXP layers.

            +
            CodeBuild: "codebuild"

            Build no pipeline, just CodeBuild project to connect with GitHub actions.

            +
            Custom: "custom"

            Build an image using a custom buildspec and asstes.

            +
            diff --git a/eslint.config.mjs b/eslint.config.mjs deleted file mode 100644 index c266dc2..0000000 --- a/eslint.config.mjs +++ /dev/null @@ -1,104 +0,0 @@ -import typescriptEslintEslintPlugin from "@typescript-eslint/eslint-plugin"; -import simpleImportSort from "eslint-plugin-simple-import-sort"; -import tsdoc from "eslint-plugin-tsdoc"; -import globals from "globals"; -import tsParser from "@typescript-eslint/parser"; -import path from "node:path"; -import { fileURLToPath } from "node:url"; -import eslintjs from "@eslint/js"; -import eslintts from "typescript-eslint"; -import { FlatCompat } from "@eslint/eslintrc"; - -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -import { includeIgnoreFile } from "@eslint/compat"; -const gitignorePath = path.resolve(__dirname, ".gitignore"); - -const compat = new FlatCompat({ - baseDirectory: __dirname, - recommendedConfig: eslintjs.configs.recommended, - allConfig: eslintjs.configs.all, -}); - -export default [ - ...compat.extends( - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:prettier/recommended", - ), - ...eslintts.configs.recommended, - { - ...eslintjs.configs.recommended, - plugins: { - "@typescript-eslint": typescriptEslintEslintPlugin, - "simple-import-sort": simpleImportSort, - tsdoc, - }, - - languageOptions: { - globals: { - ...globals.node, - ...globals.jest, - }, - - parser: tsParser, - ecmaVersion: "latest", - sourceType: "module", - - parserOptions: { - sourceType: "module", - project: "./tsconfig.eslint.json", - }, - }, - - rules: { - "tsdoc/syntax": "warn", - - "max-len": [ - "error", - { - code: 150, - ignoreUrls: true, - ignoreStrings: true, - ignoreTemplateLiterals: true, - ignoreComments: true, - ignoreRegExpLiterals: true, - }, - ], - - "prettier/prettier": [ - "error", - { - singleQuote: false, - trailingComma: "all", - }, - ], - - "@typescript-eslint/no-unused-vars": [ - "error", - { - args: "all", - argsIgnorePattern: "^_", - caughtErrors: "all", - caughtErrorsIgnorePattern: "^_", - destructuredArrayIgnorePattern: "^_", - varsIgnorePattern: "^_", - ignoreRestSiblings: true, - }, - ], - }, - ignores: [ - "jest.config.js", - "package.json", - "package-lock.json", - "tsconfig.json", - "typedoc.json", - "/dist/**", - "/docs/**", - "/test/**", - "/tmp/**", - ], - }, - includeIgnoreFile(gitignorePath), -]; diff --git a/hierarchy.html b/hierarchy.html new file mode 100644 index 0000000..c88d3a2 --- /dev/null +++ b/hierarchy.html @@ -0,0 +1 @@ +aws4embeddedlinux-cdk-lib
            aws4embeddedlinux-cdk-lib
              Preparing search index...

              aws4embeddedlinux-cdk-lib

              Hierarchy Summary

              diff --git a/images/architecture-v0.1.x.svg b/images/architecture-v0.1.x.svg deleted file mode 100644 index 212e576..0000000 --- a/images/architecture-v0.1.x.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - -
              AWS Account
              AWS Account
              CodePipeline
              CodePipeline
              Build Artifacts
              Build Artifacts
              Build and Download Cache
              Build and Download Cache
              CodeBuild
              CodeBuild
              Update Config
              Update Config
              Builder
              Build...
              CodeCommit
              Repository
              CodeCommit...
              Download Sources
              Download Sources
              Upstream Package Sources
              Upstream Package Sourc...
              S3
              S3
              EFS
              EFS
              Download Metadata
              Download Metadata
              Upstream Layers
              Upstream Layers
              Text is not SVG - cannot display
              diff --git a/index.html b/index.html new file mode 100644 index 0000000..77fd639 --- /dev/null +++ b/index.html @@ -0,0 +1,233 @@ +aws4embeddedlinux-cdk-lib
              aws4embeddedlinux-cdk-lib
                Preparing search index...

                aws4embeddedlinux-cdk-lib

                aws4embeddedlinux-ci

                The aws4embeddedlinux-ci library helps you deploy an AWS cloud infrastructure supporting the Embedded Linux builds for your project using AWS CDK.

                +
                  +
                1. Architecture
                2. +
                3. API documentation
                4. +
                5. Project Build with AWS CodePipeline
                6. +
                7. Project Build with AWS CodeBuild as Action Runner
                8. +
                9. Setup
                10. +
                11. Development Setup
                12. +
                13. Known issues
                14. +
                15. Security
                16. +
                17. Contributing
                18. +
                19. License
                20. +
                +

                This is the overall architecture pattern used to deploy the build pipeline:

                +

                architecture overview

                +

                Bask to the top

                +

                The API documentation is generated automatically using Typedoc.

                +

                Bask to the top

                +

                Several pipelines are provided in this library, each one demonstrating a different aspect of how to build a Yocto image with AWS.

                +

                Once deployed, ou can review the pipeline execution from the Developer Tools > Pipeline - CodePipeline > Pipelines page in the AWS Console.

                +

                From the pipeline page, you can find the source repository (S3), the CodeBuild Project (with the build logs), and the S3 bucket that the image is uploaded to, at the end.

                +

                Each pipelines will refresh/re-run automatically every week using AWS EventBridge in order to grab the latest updates.

                +

                The pipeline name will end with poky.

                +

                This example will build the core-image-minimal image from Poky using the repo tool to manage layers. CVE checking is also enabled in the buildspec file.

                +

                Expected build times:

                +
                  +
                • First build: 32 minutes
                • +
                • Rebuild (without any change, just use sstate cache): 8 minutes
                • +
                +

                The pipeline name will end with poky-ami.

                +

                Yocto can be used to create an EC2 AMI. This example builds an AMI based on Poky and meta-aws and exports it to your AMI registry using the VM Import/Export Service.

                +

                Expected build times:

                +
                  +
                • First build: 52 minutes
                • +
                • Rebuild (without any change, just use sstate cache): 17 minutes
                • +
                +

                The pipeline name will end with kas.

                +

                The Kas example shows how to use a Kas Config to manage layers.

                +

                This tool can help programatically manage layers and config with tighter Yocto integration than Git Submodules or the Repo tool.

                +

                Expected build times:

                +
                  +
                • First build: 36 minutes
                • +
                • Rebuild (without any change, just use sstate cache): 11 minutes
                • +
                +

                The pipeline name will end with qemu.

                +

                This example builds a Qemu based image using meta-aws-demos.

                +

                The Qemu image can be run in the CodeBuild environment. Using SLIRP networking, OEQA testing such as ptest can be run in the pipeline.

                +

                Expected build times:

                +
                  +
                • First build: 45 minutes
                • +
                • Rebuild (without any change, just use sstate cache): 14 minutes
                • +
                +

                The pipeline name will end with nxp.

                +

                This example will build an image for the i.MX 6ULL EVK board.

                +

                NXP requires users to accept and comply with a EULA in order to build and, for this reason, the buildspec will require modification before the build succeeds.

                +

                See the IMX Yocto Users Guide for more detail.

                +

                Expected build times:

                +
                  +
                • First build: xx minutes
                • +
                • Rebuild (without any change, just use sstate cache): xx minutes
                • +
                +

                This example is based on the Yocto / Renesas R-Car work to build an image for Renesas R-Car-H3 Starter Kit Premier board (unofficial name - H3ULCB) including the proprietary graphics and multimedia drivers from Renesas.

                +

                You will need to download the Multimedia and Graphics library and related Linux drivers from the following link (registration necessary):

                + +

                Download the following files:

                +
                  +
                • R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121
                • +
                • R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121
                • +
                +

                Graphic drivers are required for Wayland. Multimedia drivers are optional.

                +

                Steps to build the image:

                +
                  +
                • Create a folder named proprietary in the root of the source repo
                • +
                • Copy the downloaded files into the proprietary folder
                • +
                • Uncomment the #TODO line in the build.sh file in the source repo
                • +
                • Deploy the build pipeline
                • +
                +

                A build should automatically start. Once it succeeds you will get an image containing the proprietary graphics and multimedia drivers.

                +

                Expected build times:

                +
                  +
                • First build: 30 minutes
                • +
                • Rebuild (without any change, just use sstate cache): 9 minutes
                • +
                +

                Bask to the top

                +

                This will create an AWS CodeBuild project ready to build Embedded Linux which can be used to connect to an external source, e.g. GitHub Actions. This is not using any AWS CodePipeline as in the the Pipeline examples section.

                +

                You can use the following example for your GitHub Action.

                +

                We recommend you to clone the created AWS CodeBuild project and then proceed with the GitHub Action configuration. +However, this will result in the use of the same EFS file system across projects.

                +

                Using the AWS CodeBuild project requires a source to be configured manually in the AWS Console at Developer Tools > Build - CodeBuild > Projects.

                +

                To configure the AWS CodeBuild source connection to a GitHub repository, you will need to:

                +
                  +
                • Select the AWS CodeBuild project (aws4el-ci-codebuild-project)
                • +
                • Select the Project Details tab
                • +
                • Scroll to the Source section and click on Edit.
                • +
                • Select GitHub as a Source provider. Configure the access to your repository
                • +
                • Scroll to the Primary source webhook events section, enable Rebuild every time a code change is pushed to this repository
                • +
                • Expand the Webhook event filter groups section and click on Add filter group if no group is present, then select WORKFLOW_JOB_QUEUED as Filter group 1
                • +
                +

                Modify your repository GitHub action by replacing the following line:

                +
                runs-on: ${{ vars.CODEBUILD_RUNNER_NAME }}-${{ github.run_id }}-${{ github.run_attempt }}
                +
                + +

                with:

                +
                runs-on: codebuild-<project-name>-${{ github.run_id }}-${{ github.run_attempt }}
                +
                + +

                <project-name> should be replaced by your AWS CodeBuild project name (aws4el-ci-codebuild-project). +There might be more than one occuerence to replace in the file.

                +

                Refer to the following example for more details.

                +

                Bask to the top

                +

                In order to use this library, you must first set up an AWS CDK project, including +installing the CDK tool and bootstrapping the account you wish to deploy to.

                +

                Additionally, you must have NodeJS installed.

                +
                Note

                +

                This library is tested against Node Versions 22. If these version is not available for your system, we recommend using NVM to install a compatible version.

                +
                +

                You can also use the sample project code provided to get started and deploy the stacks.

                +

                Bask to the top

                +

                In order to create a new project, you will need to initialize a new CDK project.

                +

                More details can be found in the CDK Getting Started Documentation.

                +

                The following commands will create a new CDK project named my-project:

                +
                mkdir my-project
                cd my-project
                cdk init app --language typescript +
                + +

                Then you will need to install the CDK library including the aws4embeddedlinux-ci library either using npm:

                +
                npm install aws4embeddedlinux/aws4embeddedlinux-ci
                +
                + +

                of `yarn':

                +
                yarn add aws4embeddedlinux-cdk-lib@aws4embeddedlinux/aws4embeddedlinux-ci
                yarn install +
                + +
                +

                If you are not familliar with Yarn, please refer to the documentation.

                +
                +

                Once added, you can start creatin your application using the library.

                +

                For example, you can start by importing classes using:

                +
                import {
                EmbeddedLinuxCodePipelineBaseImageStack,
                EmbeddedLinuxCodePipelineStack,
                EmbeddedLinuxCodeBuildProjectStack,
                PipelineResourcesStack,
                ProjectType,
                } from "aws4embeddedlinux-cdk-lib"; +
                + +

                Then deploy the base resources and base image pipeline stacks:

                +
                const pipelineResourcesStack = new PipelineResourcesStack(app, `demo-resources`, {...});
                const baseImageStack = new EmbeddedLinuxCodePipelineBaseImageStack(app, `demo-pipeline-base-image`, {...}); +
                + +

                And ultimately deploy the target pipeline:

                +
                const projectPipeline = new EmbeddedLinuxCodePipelineStack(app, "demo-project", {
                projectType: ProjectType.Poky,
                ecrRepository: <ecrRepository>,
                ecrRepositoryImageTag: <ecrRepositoryImageTag>,
                pipelineSourceBucket: <SourceBucket>,
                pipelineArtifactBucket: <ArtifactBucket>,
                pipelineOutputBucket: <OutputBucket>,
                vpc: <vpc>,
                encryptionKey: <encryptionKey>,
                }); +
                + +

                Refer to the API Documentation and the sample for more details.

                +

                Once you have completed the code of your application, you can deploy the CDK stack using:

                +
                cdk deploy
                +
                + +

                After the CDK application is successfully deployed, the 'Base Image' pipeline needs to complete successfully.

                +

                This will create an Ubuntu based container for building the Yocto images.

                +
                Note

                +

                This container is used by the other pipelines. If the other pipelines are run before this container is created and pushed to ECR, they will fail.

                +

                The 'Base Image' pipeline will run weekly by default to keep the container patched and up to date.

                +
                +
                Note

                +

                We recommend you to deploy first the 'Base Image' pipeline and once the pipeline completes successfully, then you can deploy the other pipelines in you application as described in the sample.

                +
                +

                Once your pipelines completes successfully, the Yocto deploy directory generated content will be pushed into a S3 bucket.

                +

                Bask to the top

                +

                The repository is leveraging Yarn 2 and if you are not familliar with Yarn, please refer to the documentation.

                +

                If you are looking to develop new feature, you can use yarn link to develop with a local copy of this repo.

                +

                In this library repo, execute the following:

                +
                yarn install
                yarn run build
                yarn link +
                + +

                and in your project folder:

                +
                yarn install
                yarn link "aws4embeddedlinux-cdk-lib"
                yarn run build +
                + +

                This will link through the system node_modules install.

                +
                +

                Note:

                +

                You should not install / reference the aws4embeddedlinux/aws4embeddedlinux-ci library in your package.json when using this approach.

                +
                +
                +

                Note:

                +

                After changing the code for the aws4embeddedlinux/aws4embeddedlinux-ci library, you will need to run yarn run build for changes to be available in your current project.

                +
                +
                +

                Note:

                +

                When using a system node install on Linux, this can require sudo access. +To avoid this, use a node version manager or set a node prefix.

                +
                +

                AWS Secrets Manager is the preferred method for adding and using secrets in your pipelines.

                +

                The service provides a structured means of access and avoids the pitfalls of putting secrets in environment variables, source repos, etc.

                +

                The following steps detaisl at a high level, how you can enable the use of AWS Secrets Manager in your pipelines:

                +
                  +
                • +

                  Create a Secret in Secrets Manager and add your secret value.

                  +
                • +
                • +

                  Grant access permissions to the CodeBuild pipeline project.

                  +
                • +
                • +

                  Create a Policy Statement which allows secretsmanager:GetSecretValue for your secret.

                  +
                • +
                • +

                  Add this policy statement to the buildPolicyAdditions props for the EmbeddedLinuxPipelineStack. e.g.

                  +
                  import * as iam from "aws-cdk-lib/aws-iam";
                  const projectPipeline = new EmbeddedLinuxCodePipelineStack(app, "MyPokyPipeline", {
                  projectType: ProjectType.Poky,
                  ecrRepository: <ecrRepository>,
                  ecrRepositoryImageTag: <ecrRepositoryImageTag>,
                  pipelineSourceBucket: <SourceBucket>,
                  pipelineArtifactBucket: <ArtifactBucket>,
                  pipelineOutputBucket: <OutputBucket>,
                  vpc: <vpc>,
                  encryptionKey: <encryptionKey>,
                  buildPolicyAdditions: [
                  iam.PolicyStatement.fromJson({
                  Effect: "Allow",
                  Action: "secretsmanager:GetSecretValue",
                  Resource:
                  "arn:aws:secretsmanager:us-west-2:123456789012:secret:my-secret-??????",
                  }),
                  ],
                  }); +
                  + +
                • +
                • +

                  The secret can then be used in the CodeBuild Project by adding it to the BuildSpec.

                  +
                  env:
                  secrets-manager:
                  SECRET_VALUE: "<Secret ARN>" +
                  + +
                • +
                +

                See the CodeBuild Documentation for more details.

                +

                CVE checking is enabled in the reference implementations. Details on this can be found in the Yocto documentation.

                +

                Bask to the top

                +
                  +
                • The use of this CDK library is currently not supported in Windows environments (you can still use WSL).
                • +
                • When using AWS Cloud9, a micro instance type will run out of memory.
                • +
                • Deletion of stacks while a CodePipeline is running can lead to unexpected behaviours.
                • +
                • The NXP-IMX pipeline will fail unless you adjust the build spec file and address the licence acceptance requirement.
                • +
                +

                Bask to the top

                +

                See SECURITY for more information about reporting issues with this project.

                +

                Bask to the top

                +

                See CONTRIBUTING for more information.

                +

                Bask to the top

                +

                This library is licensed under the MIT-0 License. See the LICENSE file.

                +

                Bask to the top

                +
                diff --git a/interfaces/EmbeddedLinuxCodeBuildProjectProps.html b/interfaces/EmbeddedLinuxCodeBuildProjectProps.html new file mode 100644 index 0000000..af21e04 --- /dev/null +++ b/interfaces/EmbeddedLinuxCodeBuildProjectProps.html @@ -0,0 +1,113 @@ +EmbeddedLinuxCodeBuildProjectProps | aws4embeddedlinux-cdk-lib
                aws4embeddedlinux-cdk-lib
                  Preparing search index...

                  Interface EmbeddedLinuxCodeBuildProjectProps

                  Properties to allow customizing the build.

                  +
                  interface EmbeddedLinuxCodeBuildProjectProps {
                      description?: string;
                      env?: Environment;
                      stackName?: string;
                      tags?: { [key: string]: string };
                      notificationArns?: string[];
                      synthesizer?: IStackSynthesizer;
                      terminationProtection?: boolean;
                      analyticsReporting?: boolean;
                      crossRegionReferences?: boolean;
                      permissionsBoundary?: PermissionsBoundary;
                      suppressTemplateIndentation?: boolean;
                      propertyInjectors?: IPropertyInjector[];
                      ecrRepository: IRepository;
                      ecrRepositoryImageTag: string;
                      vpc: IVpc;
                      buildPolicyAdditions?: PolicyStatement[];
                      encryptionKey: Key;
                  }

                  Hierarchy

                  • StackProps
                    • EmbeddedLinuxCodeBuildProjectProps
                  Index

                  Properties

                  description?: string

                  A description of the stack.

                  +
                  - No description.
                  +
                  + +
                  env?: Environment

                  The AWS environment (account/region) where this stack will be deployed.

                  +

                  Set the region/account fields of env to either a concrete value to +select the indicated environment (recommended for production stacks), or to +the values of environment variables +CDK_DEFAULT_REGION/CDK_DEFAULT_ACCOUNT to let the target environment +depend on the AWS credentials/configuration that the CDK CLI is executed +under (recommended for development stacks).

                  +

                  If the Stack is instantiated inside a Stage, any undefined +region/account fields from env will default to the same field on the +encompassing Stage, if configured there.

                  +

                  If either region or account are not set nor inherited from Stage, the +Stack will be considered "environment-agnostic"". Environment-agnostic +stacks can be deployed to any environment but may not be able to take +advantage of all features of the CDK. For example, they will not be able to +use environmental context lookups such as ec2.Vpc.fromLookup and will not +automatically translate Service Principals to the right format based on the +environment's AWS partition, and other such enhancements.

                  +
                  // Use a concrete account and region to deploy this stack to:
                  // `.account` and `.region` will simply return these values.
                  new Stack(app, 'Stack1', {
                  env: {
                  account: '123456789012',
                  region: 'us-east-1'
                  },
                  });

                  // Use the CLI's current credentials to determine the target environment:
                  // `.account` and `.region` will reflect the account+region the CLI
                  // is configured to use (based on the user CLI credentials)
                  new Stack(app, 'Stack2', {
                  env: {
                  account: process.env.CDK_DEFAULT_ACCOUNT,
                  region: process.env.CDK_DEFAULT_REGION
                  },
                  });

                  // Define multiple stacks stage associated with an environment
                  const myStage = new Stage(app, 'MyStage', {
                  env: {
                  account: '123456789012',
                  region: 'us-east-1'
                  }
                  });

                  // both of these stacks will use the stage's account/region:
                  // `.account` and `.region` will resolve to the concrete values as above
                  new MyStack(myStage, 'Stack1');
                  new YourStack(myStage, 'Stack2');

                  // Define an environment-agnostic stack:
                  // `.account` and `.region` will resolve to `{ "Ref": "AWS::AccountId" }` and `{ "Ref": "AWS::Region" }` respectively.
                  // which will only resolve to actual values by CloudFormation during deployment.
                  new MyStack(app, 'Stack1'); +
                  + +
                    +
                  • The environment of the containing Stage if available, +otherwise create the stack will be environment-agnostic.
                  • +
                  +
                  stackName?: string

                  Name to deploy the stack with

                  +
                  - Derived from construct path.
                  +
                  + +
                  tags?: { [key: string]: string }

                  Tags that will be applied to the Stack

                  +

                  These tags are applied to the CloudFormation Stack itself. They will not +appear in the CloudFormation template.

                  +

                  However, at deployment time, CloudFormation will apply these tags to all +resources in the stack that support tagging. You will not be able to exempt +resources from tagging (using the excludeResourceTypes property of +Tags.of(...).add()) for tags applied in this way.

                  +
                  {}
                  +
                  + +
                  notificationArns?: string[]

                  SNS Topic ARNs that will receive stack events.

                  +
                  - no notification arns.
                  +
                  + +
                  synthesizer?: IStackSynthesizer

                  Synthesis method to use while deploying this stack

                  +

                  The Stack Synthesizer controls aspects of synthesis and deployment, +like how assets are referenced and what IAM roles to use. For more +information, see the README of the main CDK package.

                  +

                  If not specified, the defaultStackSynthesizer from App will be used. +If that is not specified, DefaultStackSynthesizer is used if +@aws-cdk/core:newStyleStackSynthesis is set to true or the CDK major +version is v2. In CDK v1 LegacyStackSynthesizer is the default if no +other synthesizer is specified.

                  +
                    +
                  • The synthesizer specified on App, or DefaultStackSynthesizer otherwise.
                  • +
                  +
                  terminationProtection?: boolean

                  Whether to enable termination protection for this stack.

                  +
                  false
                  +
                  + +
                  analyticsReporting?: boolean

                  Include runtime versioning information in this Stack

                  +

                  analyticsReporting setting of containing App, or value of +'aws:cdk:version-reporting' context key

                  +
                  crossRegionReferences?: boolean

                  Enable this flag to allow native cross region stack references.

                  +

                  Enabling this will create a CloudFormation custom resource +in both the producing stack and consuming stack in order to perform the export/import

                  +

                  This feature is currently experimental

                  +
                  false
                  +
                  + +
                  permissionsBoundary?: PermissionsBoundary

                  Options for applying a permissions boundary to all IAM Roles +and Users created within this Stage

                  +
                  - no permissions boundary is applied
                  +
                  + +
                  suppressTemplateIndentation?: boolean

                  Enable this flag to suppress indentation in generated +CloudFormation templates.

                  +

                  If not specified, the value of the @aws-cdk/core:suppressTemplateIndentation +context key will be used. If that is not specified, then the +default value false will be used.

                  +
                    +
                  • the value of @aws-cdk/core:suppressTemplateIndentation, or false if that is not set.
                  • +
                  +
                  propertyInjectors?: IPropertyInjector[]

                  A list of IPropertyInjector attached to this Stack.

                  +
                  - no PropertyInjectors
                  +
                  + +
                  ecrRepository: IRepository

                  ECR Repository where the Build Host Image resides.

                  +
                  ecrRepositoryImageTag: string

                  Tag for the Build Host Image

                  +
                  vpc: IVpc

                  VPC where the networking setup resides.

                  +
                  buildPolicyAdditions?: PolicyStatement[]

                  Additional policy statements to add to the build project.

                  +
                  encryptionKey: Key

                  The encryption key use across

                  +
                  diff --git a/interfaces/EmbeddedLinuxCodePipelineBaseImageProps.html b/interfaces/EmbeddedLinuxCodePipelineBaseImageProps.html new file mode 100644 index 0000000..5f7ad1d --- /dev/null +++ b/interfaces/EmbeddedLinuxCodePipelineBaseImageProps.html @@ -0,0 +1,113 @@ +EmbeddedLinuxCodePipelineBaseImageProps | aws4embeddedlinux-cdk-lib
                  aws4embeddedlinux-cdk-lib
                    Preparing search index...

                    Interface EmbeddedLinuxCodePipelineBaseImageProps

                    Select options for the BuildImageCodePipelineStack.

                    +
                    interface EmbeddedLinuxCodePipelineBaseImageProps {
                        description?: string;
                        env?: Environment;
                        stackName?: string;
                        tags?: { [key: string]: string };
                        notificationArns?: string[];
                        synthesizer?: IStackSynthesizer;
                        terminationProtection?: boolean;
                        analyticsReporting?: boolean;
                        crossRegionReferences?: boolean;
                        permissionsBoundary?: PermissionsBoundary;
                        suppressTemplateIndentation?: boolean;
                        propertyInjectors?: IPropertyInjector[];
                        pipelineSourceBucket: IBucket;
                        pipelineSourcePrefix?: string;
                        pipelineArtifactBucket: Bucket;
                        ecrRepository: IRepository;
                        encryptionKey: Key;
                    }

                    Hierarchy

                    • StackProps
                      • EmbeddedLinuxCodePipelineBaseImageProps
                    Index

                    Properties

                    description?: string

                    A description of the stack.

                    +
                    - No description.
                    +
                    + +
                    env?: Environment

                    The AWS environment (account/region) where this stack will be deployed.

                    +

                    Set the region/account fields of env to either a concrete value to +select the indicated environment (recommended for production stacks), or to +the values of environment variables +CDK_DEFAULT_REGION/CDK_DEFAULT_ACCOUNT to let the target environment +depend on the AWS credentials/configuration that the CDK CLI is executed +under (recommended for development stacks).

                    +

                    If the Stack is instantiated inside a Stage, any undefined +region/account fields from env will default to the same field on the +encompassing Stage, if configured there.

                    +

                    If either region or account are not set nor inherited from Stage, the +Stack will be considered "environment-agnostic"". Environment-agnostic +stacks can be deployed to any environment but may not be able to take +advantage of all features of the CDK. For example, they will not be able to +use environmental context lookups such as ec2.Vpc.fromLookup and will not +automatically translate Service Principals to the right format based on the +environment's AWS partition, and other such enhancements.

                    +
                    // Use a concrete account and region to deploy this stack to:
                    // `.account` and `.region` will simply return these values.
                    new Stack(app, 'Stack1', {
                    env: {
                    account: '123456789012',
                    region: 'us-east-1'
                    },
                    });

                    // Use the CLI's current credentials to determine the target environment:
                    // `.account` and `.region` will reflect the account+region the CLI
                    // is configured to use (based on the user CLI credentials)
                    new Stack(app, 'Stack2', {
                    env: {
                    account: process.env.CDK_DEFAULT_ACCOUNT,
                    region: process.env.CDK_DEFAULT_REGION
                    },
                    });

                    // Define multiple stacks stage associated with an environment
                    const myStage = new Stage(app, 'MyStage', {
                    env: {
                    account: '123456789012',
                    region: 'us-east-1'
                    }
                    });

                    // both of these stacks will use the stage's account/region:
                    // `.account` and `.region` will resolve to the concrete values as above
                    new MyStack(myStage, 'Stack1');
                    new YourStack(myStage, 'Stack2');

                    // Define an environment-agnostic stack:
                    // `.account` and `.region` will resolve to `{ "Ref": "AWS::AccountId" }` and `{ "Ref": "AWS::Region" }` respectively.
                    // which will only resolve to actual values by CloudFormation during deployment.
                    new MyStack(app, 'Stack1'); +
                    + +
                      +
                    • The environment of the containing Stage if available, +otherwise create the stack will be environment-agnostic.
                    • +
                    +
                    stackName?: string

                    Name to deploy the stack with

                    +
                    - Derived from construct path.
                    +
                    + +
                    tags?: { [key: string]: string }

                    Tags that will be applied to the Stack

                    +

                    These tags are applied to the CloudFormation Stack itself. They will not +appear in the CloudFormation template.

                    +

                    However, at deployment time, CloudFormation will apply these tags to all +resources in the stack that support tagging. You will not be able to exempt +resources from tagging (using the excludeResourceTypes property of +Tags.of(...).add()) for tags applied in this way.

                    +
                    {}
                    +
                    + +
                    notificationArns?: string[]

                    SNS Topic ARNs that will receive stack events.

                    +
                    - no notification arns.
                    +
                    + +
                    synthesizer?: IStackSynthesizer

                    Synthesis method to use while deploying this stack

                    +

                    The Stack Synthesizer controls aspects of synthesis and deployment, +like how assets are referenced and what IAM roles to use. For more +information, see the README of the main CDK package.

                    +

                    If not specified, the defaultStackSynthesizer from App will be used. +If that is not specified, DefaultStackSynthesizer is used if +@aws-cdk/core:newStyleStackSynthesis is set to true or the CDK major +version is v2. In CDK v1 LegacyStackSynthesizer is the default if no +other synthesizer is specified.

                    +
                      +
                    • The synthesizer specified on App, or DefaultStackSynthesizer otherwise.
                    • +
                    +
                    terminationProtection?: boolean

                    Whether to enable termination protection for this stack.

                    +
                    false
                    +
                    + +
                    analyticsReporting?: boolean

                    Include runtime versioning information in this Stack

                    +

                    analyticsReporting setting of containing App, or value of +'aws:cdk:version-reporting' context key

                    +
                    crossRegionReferences?: boolean

                    Enable this flag to allow native cross region stack references.

                    +

                    Enabling this will create a CloudFormation custom resource +in both the producing stack and consuming stack in order to perform the export/import

                    +

                    This feature is currently experimental

                    +
                    false
                    +
                    + +
                    permissionsBoundary?: PermissionsBoundary

                    Options for applying a permissions boundary to all IAM Roles +and Users created within this Stage

                    +
                    - no permissions boundary is applied
                    +
                    + +
                    suppressTemplateIndentation?: boolean

                    Enable this flag to suppress indentation in generated +CloudFormation templates.

                    +

                    If not specified, the value of the @aws-cdk/core:suppressTemplateIndentation +context key will be used. If that is not specified, then the +default value false will be used.

                    +
                      +
                    • the value of @aws-cdk/core:suppressTemplateIndentation, or false if that is not set.
                    • +
                    +
                    propertyInjectors?: IPropertyInjector[]

                    A list of IPropertyInjector attached to this Stack.

                    +
                    - no PropertyInjectors
                    +
                    + +
                    pipelineSourceBucket: IBucket

                    The pipeline source bucket

                    +
                    pipelineSourcePrefix?: string

                    The pipeline source prefix

                    +
                    pipelineArtifactBucket: Bucket

                    Artifact bucket to use

                    +
                    ecrRepository: IRepository

                    The ECR Repository to push to.

                    +
                    encryptionKey: Key

                    The encryption key use across

                    +
                    diff --git a/interfaces/EmbeddedLinuxCodePipelineProps.html b/interfaces/EmbeddedLinuxCodePipelineProps.html new file mode 100644 index 0000000..f2a05e5 --- /dev/null +++ b/interfaces/EmbeddedLinuxCodePipelineProps.html @@ -0,0 +1,131 @@ +EmbeddedLinuxCodePipelineProps | aws4embeddedlinux-cdk-lib
                    aws4embeddedlinux-cdk-lib
                      Preparing search index...

                      Interface EmbeddedLinuxCodePipelineProps

                      Properties to allow customizing the build.

                      +
                      interface EmbeddedLinuxCodePipelineProps {
                          description?: string;
                          env?: Environment;
                          stackName?: string;
                          tags?: { [key: string]: string };
                          notificationArns?: string[];
                          synthesizer?: IStackSynthesizer;
                          terminationProtection?: boolean;
                          analyticsReporting?: boolean;
                          crossRegionReferences?: boolean;
                          permissionsBoundary?: PermissionsBoundary;
                          suppressTemplateIndentation?: boolean;
                          propertyInjectors?: IPropertyInjector[];
                          pipelineSourceBucket: IBucket;
                          pipelineSourcePrefix?: string;
                          pipelineArtifactBucket: Bucket;
                          pipelineArtifactPrefix?: string;
                          pipelineOutputBucket: Bucket;
                          pipelineOutputPrefix?: string;
                          ecrRepository: IRepository;
                          ecrRepositoryImageTag: string;
                          projectType: ProjectType;
                          vpc: IVpc;
                          buildPolicyAdditions?: PolicyStatement[];
                          environmentVariables?: { [key: string]: BuildEnvironmentVariable };
                          encryptionKey: Key;
                          sourceCustomPath?: string;
                      }

                      Hierarchy

                      • StackProps
                        • EmbeddedLinuxCodePipelineProps
                      Index

                      Properties

                      description?: string

                      A description of the stack.

                      +
                      - No description.
                      +
                      + +
                      env?: Environment

                      The AWS environment (account/region) where this stack will be deployed.

                      +

                      Set the region/account fields of env to either a concrete value to +select the indicated environment (recommended for production stacks), or to +the values of environment variables +CDK_DEFAULT_REGION/CDK_DEFAULT_ACCOUNT to let the target environment +depend on the AWS credentials/configuration that the CDK CLI is executed +under (recommended for development stacks).

                      +

                      If the Stack is instantiated inside a Stage, any undefined +region/account fields from env will default to the same field on the +encompassing Stage, if configured there.

                      +

                      If either region or account are not set nor inherited from Stage, the +Stack will be considered "environment-agnostic"". Environment-agnostic +stacks can be deployed to any environment but may not be able to take +advantage of all features of the CDK. For example, they will not be able to +use environmental context lookups such as ec2.Vpc.fromLookup and will not +automatically translate Service Principals to the right format based on the +environment's AWS partition, and other such enhancements.

                      +
                      // Use a concrete account and region to deploy this stack to:
                      // `.account` and `.region` will simply return these values.
                      new Stack(app, 'Stack1', {
                      env: {
                      account: '123456789012',
                      region: 'us-east-1'
                      },
                      });

                      // Use the CLI's current credentials to determine the target environment:
                      // `.account` and `.region` will reflect the account+region the CLI
                      // is configured to use (based on the user CLI credentials)
                      new Stack(app, 'Stack2', {
                      env: {
                      account: process.env.CDK_DEFAULT_ACCOUNT,
                      region: process.env.CDK_DEFAULT_REGION
                      },
                      });

                      // Define multiple stacks stage associated with an environment
                      const myStage = new Stage(app, 'MyStage', {
                      env: {
                      account: '123456789012',
                      region: 'us-east-1'
                      }
                      });

                      // both of these stacks will use the stage's account/region:
                      // `.account` and `.region` will resolve to the concrete values as above
                      new MyStack(myStage, 'Stack1');
                      new YourStack(myStage, 'Stack2');

                      // Define an environment-agnostic stack:
                      // `.account` and `.region` will resolve to `{ "Ref": "AWS::AccountId" }` and `{ "Ref": "AWS::Region" }` respectively.
                      // which will only resolve to actual values by CloudFormation during deployment.
                      new MyStack(app, 'Stack1'); +
                      + +
                        +
                      • The environment of the containing Stage if available, +otherwise create the stack will be environment-agnostic.
                      • +
                      +
                      stackName?: string

                      Name to deploy the stack with

                      +
                      - Derived from construct path.
                      +
                      + +
                      tags?: { [key: string]: string }

                      Tags that will be applied to the Stack

                      +

                      These tags are applied to the CloudFormation Stack itself. They will not +appear in the CloudFormation template.

                      +

                      However, at deployment time, CloudFormation will apply these tags to all +resources in the stack that support tagging. You will not be able to exempt +resources from tagging (using the excludeResourceTypes property of +Tags.of(...).add()) for tags applied in this way.

                      +
                      {}
                      +
                      + +
                      notificationArns?: string[]

                      SNS Topic ARNs that will receive stack events.

                      +
                      - no notification arns.
                      +
                      + +
                      synthesizer?: IStackSynthesizer

                      Synthesis method to use while deploying this stack

                      +

                      The Stack Synthesizer controls aspects of synthesis and deployment, +like how assets are referenced and what IAM roles to use. For more +information, see the README of the main CDK package.

                      +

                      If not specified, the defaultStackSynthesizer from App will be used. +If that is not specified, DefaultStackSynthesizer is used if +@aws-cdk/core:newStyleStackSynthesis is set to true or the CDK major +version is v2. In CDK v1 LegacyStackSynthesizer is the default if no +other synthesizer is specified.

                      +
                        +
                      • The synthesizer specified on App, or DefaultStackSynthesizer otherwise.
                      • +
                      +
                      terminationProtection?: boolean

                      Whether to enable termination protection for this stack.

                      +
                      false
                      +
                      + +
                      analyticsReporting?: boolean

                      Include runtime versioning information in this Stack

                      +

                      analyticsReporting setting of containing App, or value of +'aws:cdk:version-reporting' context key

                      +
                      crossRegionReferences?: boolean

                      Enable this flag to allow native cross region stack references.

                      +

                      Enabling this will create a CloudFormation custom resource +in both the producing stack and consuming stack in order to perform the export/import

                      +

                      This feature is currently experimental

                      +
                      false
                      +
                      + +
                      permissionsBoundary?: PermissionsBoundary

                      Options for applying a permissions boundary to all IAM Roles +and Users created within this Stage

                      +
                      - no permissions boundary is applied
                      +
                      + +
                      suppressTemplateIndentation?: boolean

                      Enable this flag to suppress indentation in generated +CloudFormation templates.

                      +

                      If not specified, the value of the @aws-cdk/core:suppressTemplateIndentation +context key will be used. If that is not specified, then the +default value false will be used.

                      +
                        +
                      • the value of @aws-cdk/core:suppressTemplateIndentation, or false if that is not set.
                      • +
                      +
                      propertyInjectors?: IPropertyInjector[]

                      A list of IPropertyInjector attached to this Stack.

                      +
                      - no PropertyInjectors
                      +
                      + +
                      pipelineSourceBucket: IBucket

                      The pipeline source bucket

                      +
                      pipelineSourcePrefix?: string

                      The pipeline source prefix

                      +
                      pipelineArtifactBucket: Bucket

                      The pipeline artifact bucket to use

                      +
                      pipelineArtifactPrefix?: string

                      The pipeline artifact bucket prefix to use

                      +
                      pipelineOutputBucket: Bucket

                      The pipeline output bucket to use

                      +
                      pipelineOutputPrefix?: string

                      The pipeline output bucket prefix to use

                      +
                      ecrRepository: IRepository

                      ECR Repository where the Build Host Image resides.

                      +
                      ecrRepositoryImageTag: string

                      Tag for the Build Host Image

                      +
                      projectType: ProjectType

                      The type of project being built.

                      +
                      vpc: IVpc

                      VPC where the networking setup resides.

                      +
                      buildPolicyAdditions?: PolicyStatement[]

                      Additional policy statements to add to the build project.

                      +
                      environmentVariables?: { [key: string]: BuildEnvironmentVariable }

                      Additional build environment variables to the build project.

                      +
                      encryptionKey: Key

                      The encryption key use across

                      +
                      sourceCustomPath?: string

                      Custom asset to be provided when using ProjectType.Custom

                      +
                      diff --git a/interfaces/PipelineResourcesProps.html b/interfaces/PipelineResourcesProps.html new file mode 100644 index 0000000..dd7054e --- /dev/null +++ b/interfaces/PipelineResourcesProps.html @@ -0,0 +1,115 @@ +PipelineResourcesProps | aws4embeddedlinux-cdk-lib
                      aws4embeddedlinux-cdk-lib
                        Preparing search index...

                        Interface PipelineResourcesProps

                        Select options for the PipelineResourcesStack.

                        +
                        interface PipelineResourcesProps {
                            description?: string;
                            env?: Environment;
                            stackName?: string;
                            tags?: { [key: string]: string };
                            notificationArns?: string[];
                            synthesizer?: IStackSynthesizer;
                            terminationProtection?: boolean;
                            analyticsReporting?: boolean;
                            crossRegionReferences?: boolean;
                            permissionsBoundary?: PermissionsBoundary;
                            suppressTemplateIndentation?: boolean;
                            propertyInjectors?: IPropertyInjector[];
                            resource_prefix: string;
                            ecrRepositoryName?: string;
                            pipelineArtifactBucketName?: string;
                            pipelineSourceBucketName?: string;
                            pipelineOutputBucketName?: string;
                            loggingBucketName?: string;
                        }

                        Hierarchy

                        • StackProps
                          • PipelineResourcesProps
                        Index

                        Properties

                        description?: string

                        A description of the stack.

                        +
                        - No description.
                        +
                        + +
                        env?: Environment

                        The AWS environment (account/region) where this stack will be deployed.

                        +

                        Set the region/account fields of env to either a concrete value to +select the indicated environment (recommended for production stacks), or to +the values of environment variables +CDK_DEFAULT_REGION/CDK_DEFAULT_ACCOUNT to let the target environment +depend on the AWS credentials/configuration that the CDK CLI is executed +under (recommended for development stacks).

                        +

                        If the Stack is instantiated inside a Stage, any undefined +region/account fields from env will default to the same field on the +encompassing Stage, if configured there.

                        +

                        If either region or account are not set nor inherited from Stage, the +Stack will be considered "environment-agnostic"". Environment-agnostic +stacks can be deployed to any environment but may not be able to take +advantage of all features of the CDK. For example, they will not be able to +use environmental context lookups such as ec2.Vpc.fromLookup and will not +automatically translate Service Principals to the right format based on the +environment's AWS partition, and other such enhancements.

                        +
                        // Use a concrete account and region to deploy this stack to:
                        // `.account` and `.region` will simply return these values.
                        new Stack(app, 'Stack1', {
                        env: {
                        account: '123456789012',
                        region: 'us-east-1'
                        },
                        });

                        // Use the CLI's current credentials to determine the target environment:
                        // `.account` and `.region` will reflect the account+region the CLI
                        // is configured to use (based on the user CLI credentials)
                        new Stack(app, 'Stack2', {
                        env: {
                        account: process.env.CDK_DEFAULT_ACCOUNT,
                        region: process.env.CDK_DEFAULT_REGION
                        },
                        });

                        // Define multiple stacks stage associated with an environment
                        const myStage = new Stage(app, 'MyStage', {
                        env: {
                        account: '123456789012',
                        region: 'us-east-1'
                        }
                        });

                        // both of these stacks will use the stage's account/region:
                        // `.account` and `.region` will resolve to the concrete values as above
                        new MyStack(myStage, 'Stack1');
                        new YourStack(myStage, 'Stack2');

                        // Define an environment-agnostic stack:
                        // `.account` and `.region` will resolve to `{ "Ref": "AWS::AccountId" }` and `{ "Ref": "AWS::Region" }` respectively.
                        // which will only resolve to actual values by CloudFormation during deployment.
                        new MyStack(app, 'Stack1'); +
                        + +
                          +
                        • The environment of the containing Stage if available, +otherwise create the stack will be environment-agnostic.
                        • +
                        +
                        stackName?: string

                        Name to deploy the stack with

                        +
                        - Derived from construct path.
                        +
                        + +
                        tags?: { [key: string]: string }

                        Tags that will be applied to the Stack

                        +

                        These tags are applied to the CloudFormation Stack itself. They will not +appear in the CloudFormation template.

                        +

                        However, at deployment time, CloudFormation will apply these tags to all +resources in the stack that support tagging. You will not be able to exempt +resources from tagging (using the excludeResourceTypes property of +Tags.of(...).add()) for tags applied in this way.

                        +
                        {}
                        +
                        + +
                        notificationArns?: string[]

                        SNS Topic ARNs that will receive stack events.

                        +
                        - no notification arns.
                        +
                        + +
                        synthesizer?: IStackSynthesizer

                        Synthesis method to use while deploying this stack

                        +

                        The Stack Synthesizer controls aspects of synthesis and deployment, +like how assets are referenced and what IAM roles to use. For more +information, see the README of the main CDK package.

                        +

                        If not specified, the defaultStackSynthesizer from App will be used. +If that is not specified, DefaultStackSynthesizer is used if +@aws-cdk/core:newStyleStackSynthesis is set to true or the CDK major +version is v2. In CDK v1 LegacyStackSynthesizer is the default if no +other synthesizer is specified.

                        +
                          +
                        • The synthesizer specified on App, or DefaultStackSynthesizer otherwise.
                        • +
                        +
                        terminationProtection?: boolean

                        Whether to enable termination protection for this stack.

                        +
                        false
                        +
                        + +
                        analyticsReporting?: boolean

                        Include runtime versioning information in this Stack

                        +

                        analyticsReporting setting of containing App, or value of +'aws:cdk:version-reporting' context key

                        +
                        crossRegionReferences?: boolean

                        Enable this flag to allow native cross region stack references.

                        +

                        Enabling this will create a CloudFormation custom resource +in both the producing stack and consuming stack in order to perform the export/import

                        +

                        This feature is currently experimental

                        +
                        false
                        +
                        + +
                        permissionsBoundary?: PermissionsBoundary

                        Options for applying a permissions boundary to all IAM Roles +and Users created within this Stage

                        +
                        - no permissions boundary is applied
                        +
                        + +
                        suppressTemplateIndentation?: boolean

                        Enable this flag to suppress indentation in generated +CloudFormation templates.

                        +

                        If not specified, the value of the @aws-cdk/core:suppressTemplateIndentation +context key will be used. If that is not specified, then the +default value false will be used.

                        +
                          +
                        • the value of @aws-cdk/core:suppressTemplateIndentation, or false if that is not set.
                        • +
                        +
                        propertyInjectors?: IPropertyInjector[]

                        A list of IPropertyInjector attached to this Stack.

                        +
                        - no PropertyInjectors
                        +
                        + +
                        resource_prefix: string

                        The resource prefix

                        +
                        ecrRepositoryName?: string

                        The ecr repository name - if not provided then the name will be '{prefix}-{account}-{region}-repo'

                        +
                        pipelineArtifactBucketName?: string

                        The artifact bucket name - if not provided then the name will be '{prefix}-{account}-{region}-artifact'

                        +
                        pipelineSourceBucketName?: string

                        The source bucket name - if not provided then the name will be '{prefix}-{account}-{region}-source'

                        +
                        pipelineOutputBucketName?: string

                        The output bucket name - if not provided then the name will be '{prefix}-{account}-{region}-output'

                        +
                        loggingBucketName?: string

                        Cloudwatch logging bucket name - if not provided then the name will be '{prefix}-{account}-{region}-logs'

                        +
                        diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index 2f696c9..0000000 --- a/jest.config.js +++ /dev/null @@ -1,7 +0,0 @@ -/* eslint-env node */ -export const testEnvironment = "node"; -export const roots = ["/test"]; -export const testMatch = ["**/*.test.ts"]; -export const transform = { - "^.+\\.tsx?$": "ts-jest", -}; diff --git a/lib/codebuild-embedded-linux.ts b/lib/codebuild-embedded-linux.ts deleted file mode 100644 index eda45b1..0000000 --- a/lib/codebuild-embedded-linux.ts +++ /dev/null @@ -1,205 +0,0 @@ -import * as cdk from "aws-cdk-lib"; -import { Construct } from "constructs"; -import * as events from "aws-cdk-lib/aws-events"; -import * as targets from "aws-cdk-lib/aws-events-targets"; -import * as lambda from "aws-cdk-lib/aws-lambda"; -import * as iam from "aws-cdk-lib/aws-iam"; -import * as efs from "aws-cdk-lib/aws-efs"; -import * as codebuild from "aws-cdk-lib/aws-codebuild"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as ec2 from "aws-cdk-lib/aws-ec2"; -import * as logs from "aws-cdk-lib/aws-logs"; -import * as kms from "aws-cdk-lib/aws-kms"; - -/** - * Properties to allow customizing the build. - */ -export interface EmbeddedLinuxCodeBuildProjectProps extends cdk.StackProps { - /** ECR Repository where the Build Host Image resides. */ - readonly ecrRepository: ecr.IRepository; - /** Tag for the Build Host Image */ - readonly ecrRepositoryImageTag: string; - /** VPC where the networking setup resides. */ - readonly vpc: ec2.IVpc; - /** Additional policy statements to add to the build project. */ - readonly buildPolicyAdditions?: iam.PolicyStatement[]; - /** The encryption key use across*/ - readonly encryptionKey: kms.Key; -} - -/** - * The stack for creating a build pipeline. - * - * See {@link EmbeddedLinuxCodeBuildProjectProps} for configration options. - */ -export class EmbeddedLinuxCodeBuildProjectStack extends cdk.Stack { - constructor( - scope: Construct, - id: string, - props: EmbeddedLinuxCodeBuildProjectProps, - ) { - super(scope, id, props); - - /** Set up networking access and EFS FileSystems. */ - - const projectSg = new ec2.SecurityGroup( - this, - "EmbeddedLinuxCodeBuildProjectSecurityGroup", - { - vpc: props.vpc, - description: "Security Group to allow attaching EFS", - }, - ); - projectSg.addIngressRule( - ec2.Peer.ipv4(props.vpc.vpcCidrBlock), - ec2.Port.tcp(2049), - "NFS Mount Port", - ); - - const efsFileSystem: efs.FileSystem = new efs.FileSystem( - this, - `EmbeddedLinuxCodeBuildProjectFilesystem`, - { - vpc: props.vpc, - allowAnonymousAccess: true, - removalPolicy: cdk.RemovalPolicy.DESTROY, - }, - ); - efsFileSystem.connections.allowFrom(projectSg, ec2.Port.tcp(2049)); - - /** Create our CodeBuild Project. */ - const project = new codebuild.Project( - this, - "EmbeddedLinuxCodeBuildProject", - { - projectName: `${id}`, - buildSpec: codebuild.BuildSpec.fromObject({ - version: "0.2", - phases: { - build: { - commands: ['echo "DUMMY BUILDSPEC - can not be empty"'], - }, - }, - artifacts: { - files: ["**/*"], - "base-directory": ".", - }, - }), - environment: { - computeType: codebuild.ComputeType.X_LARGE, - buildImage: codebuild.LinuxBuildImage.fromEcrRepository( - props.ecrRepository, - props.ecrRepositoryImageTag, - ), - privileged: true, - }, - timeout: cdk.Duration.hours(4), - vpc: props.vpc, - securityGroups: [projectSg], - fileSystemLocations: [ - codebuild.FileSystemLocation.efs({ - identifier: "nfs", - location: `${efsFileSystem.fileSystemId}.efs.${efsFileSystem.env.region}.amazonaws.com:/`, - mountPoint: "/nfs", - }), - ], - logging: { - cloudWatch: { - logGroup: new logs.LogGroup( - this, - "EmbeddedLinuxCodeBuildProjectLogs", - { - logGroupName: `${id}-EmbeddedLinuxCodeBuildProjectLogs`, - retention: logs.RetentionDays.ONE_YEAR, - removalPolicy: cdk.RemovalPolicy.DESTROY, - }, - ), - }, - }, - encryptionKey: props.encryptionKey, - }, - ); - - if (props.buildPolicyAdditions) { - props.buildPolicyAdditions.map((p) => project.addToRolePolicy(p)); - } - - project.addToRolePolicy(this.addProjectPolicies()); - - project.role?.addManagedPolicy( - iam.ManagedPolicy.fromAwsManagedPolicyName("AWSCodeBuildAdminAccess"), - ); - - /** Here we create the logic to check for presence of ECR image on the CodePipeline automatic triggering upon resource creation, - * and stop the execution if the image does not exist. */ - const fnOnPipelineCreate = new lambda.Function( - this, - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStart", - { - runtime: lambda.Runtime.PYTHON_3_10, - handler: "index.handler", - code: lambda.Code.fromInline(` -import boto3 -import json - -ecr_client = boto3.client('ecr') -codepipeline_client = boto3.client('codepipeline') - -def handler(event, context): - print("Received event: " + json.dumps(event, indent=2)) - response = ecr_client.describe_images(repositoryName='${props.ecrRepository.repositoryName}', filter={'tagStatus': 'TAGGED'}) - for i in response['imageDetails']: - if '${props.ecrRepositoryImageTag}' in i['imageTags']: - break - else: - print('OS image not found. Stopping execution.') - response = codepipeline_client.stop_pipeline_execution( - pipelineName=event['detail']['pipeline'], - pipelineExecutionId=event['detail']['execution-id'], - abandon=True, - reason='OS image not found in ECR repository. Stopping pipeline until image is present.') - `), - logRetention: logs.RetentionDays.ONE_YEAR, - }, - ); - - const pipelineCreateRule = new events.Rule( - this, - "EmbeddedLinuxCodeBuildProjectOnPipelineStartRule", - { - eventPattern: { - detailType: ["CodePipeline Pipeline Execution State Change"], - source: ["aws.codepipeline"], - detail: { - state: ["STARTED"], - "execution-trigger": { - "trigger-type": ["CreatePipeline"], - }, - }, - }, - }, - ); - pipelineCreateRule.addTarget( - new targets.LambdaFunction(fnOnPipelineCreate), - ); - } - - private addProjectPolicies(): iam.PolicyStatement { - return new iam.PolicyStatement({ - actions: [ - "ec2:DescribeSecurityGroups", - "codestar-connections:GetConnection", - "codestar-connections:GetConnectionToken", - "codeconnections:GetConnectionToken", - "codeconnections:GetConnection", - "codeconnections:ListConnection", - "codeconnections:UseConnection", - "codebuild:ListConnectedOAuthAccounts", - "codebuild:ListRepositories", - "codebuild:PersistOAuthToken", - "codebuild:ImportSourceCredentials", - ], - resources: ["*"], - }); - } -} diff --git a/lib/codepipeline-embedded-linux-base-image.ts b/lib/codepipeline-embedded-linux-base-image.ts deleted file mode 100644 index 0d218ca..0000000 --- a/lib/codepipeline-embedded-linux-base-image.ts +++ /dev/null @@ -1,229 +0,0 @@ -import * as path from "path"; - -import * as cdk from "aws-cdk-lib"; -import { Construct } from "constructs"; -import { BucketDeployment, Source } from "aws-cdk-lib/aws-s3-deployment"; -import { Asset } from "aws-cdk-lib/aws-s3-assets"; -import * as codepipeline from "aws-cdk-lib/aws-codepipeline"; -import * as codepipeline_actions from "aws-cdk-lib/aws-codepipeline-actions"; -import * as codebuild from "aws-cdk-lib/aws-codebuild"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as s3 from "aws-cdk-lib/aws-s3"; -import * as events from "aws-cdk-lib/aws-events"; -import * as events_target from "aws-cdk-lib/aws-events-targets"; -import * as logs from "aws-cdk-lib/aws-logs"; -import * as iam from "aws-cdk-lib/aws-iam"; -import * as kms from "aws-cdk-lib/aws-kms"; - -/** - * Select options for the {@link BuildImageCodePipelineStack}. - */ -export interface EmbeddedLinuxCodePipelineBaseImageProps - extends cdk.StackProps { - /** The pipeline source bucket */ - readonly pipelineSourceBucket: s3.IBucket; - /** The pipeline source prefix */ - pipelineSourcePrefix?: string; - /** Artifact bucket to use */ - readonly pipelineArtifactBucket: s3.Bucket; - /** The ECR Repository to push to. */ - readonly ecrRepository: ecr.IRepository; - /** The encryption key use across*/ - readonly encryptionKey: kms.Key; -} - -/** - * The pipeline for building the CodeBuild Image used in other pipelines. This - * will produce an image for an OS based on verified Yocto hosts. - * - * For configuration options see {@link BuildBaseImageCodePipelineProps}. - */ -export class EmbeddedLinuxCodePipelineBaseImageStack extends cdk.Stack { - /** The ECR Repository where the image is located. */ - public readonly ecrRepository: ecr.IRepository; - /** The ECR Image Tag to find the base imaged. */ - public readonly ecrRepositoryImageTag: string; - - constructor( - scope: Construct, - id: string, - props: EmbeddedLinuxCodePipelineBaseImageProps, - ) { - super(scope, id, props); - - this.ecrRepository = props.ecrRepository; - this.ecrRepositoryImageTag = `${id}`; - - const projectType: string = "base-image"; - - if (!props.pipelineSourcePrefix) { - props.pipelineSourcePrefix = `${projectType}`; - } - - // create the policy & role for the source bucket deployment - const pipelineSourceBucketDeploymentPolicy = new iam.PolicyDocument({ - statements: [ - new iam.PolicyStatement({ - actions: [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - resources: [ - `arn:aws:logs:${cdk.Stack.of(this).region}:${cdk.Stack.of(this).account}:log-group:/aws/lambda/EmbeddedLinuxCodePipelineBaseImage-CustomCDKBucketDeployment*`, - ], - }), - ], - }); - const pipelineSourceBucketDeploymentRole = new iam.Role( - this, - "CodePipelineBuildBaseImageBucketDeploymentRole", - { - assumedBy: new iam.ServicePrincipal("lambda.amazonaws.com"), - inlinePolicies: { pipelineSourceBucketDeploymentPolicy }, - }, - ); - - // archive and upload the source-repo folder into CDK owned bucket - const sourceRepoAsset: Asset = new Asset( - this, - "CodePipelineBuildBaseImageBucketDeploymentAsset", - { - path: path.join(__dirname, "..", "source-repo", projectType), - }, - ); - - // deploy the uploaded archive to the target bucket - const bucketDeployment = new BucketDeployment( - this, - "CodePipelineBuildBaseImageBucketDeployment", - { - sources: [ - Source.bucket(sourceRepoAsset.bucket, sourceRepoAsset.s3ObjectKey), - ], - destinationBucket: props.pipelineSourceBucket, - role: pipelineSourceBucketDeploymentRole, - extract: false, - destinationKeyPrefix: props.pipelineSourcePrefix, - }, - ); - - /** Create our CodeCodePipeline Actions. */ - const sourceActionOutputArtifact = new codepipeline.Artifact("Source"); - const sourceAction = new codepipeline_actions.S3SourceAction({ - actionName: "Source", - trigger: codepipeline_actions.S3Trigger.EVENTS, - output: sourceActionOutputArtifact, - bucket: props.pipelineSourceBucket, - bucketKey: `${props.pipelineSourcePrefix}/${sourceRepoAsset.s3ObjectKey}`, - }); - - /** Create our CodeCodePipeline Project. */ - const project = new codebuild.PipelineProject( - this, - "CodePipelineBuildBaseImageProject", - { - projectName: `${this.ecrRepositoryImageTag}`, - buildSpec: codebuild.BuildSpec.fromSourceFilename(`buildspec.yml`), - environment: { - computeType: codebuild.ComputeType.MEDIUM, - buildImage: codebuild.LinuxBuildImage.STANDARD_7_0, - privileged: true, - }, - environmentVariables: { - ECR_REPOSITORY_URI: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: props.ecrRepository.repositoryUri, - }, - AWS_ACCOUNT_ID: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: cdk.Stack.of(this).account, - }, - AWS_DEFAULT_REGION: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: cdk.Stack.of(this).region, - }, - IMAGE_TAG: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: this.ecrRepositoryImageTag, - }, - }, - logging: { - cloudWatch: { - logGroup: new logs.LogGroup( - this, - "CodePipelineBuildBaseImageBuildLogs", - { - logGroupName: `${id}-CodePipelineBuildBaseImageBuildLogs`, - retention: logs.RetentionDays.ONE_YEAR, - removalPolicy: cdk.RemovalPolicy.DESTROY, - }, - ), - }, - }, - encryptionKey: props.encryptionKey, - }, - ); - project.node.addDependency(bucketDeployment); - props.ecrRepository.grantPullPush(project); - - const buildAction = new codepipeline_actions.CodeBuildAction({ - actionName: "Build", - project: project, - input: sourceActionOutputArtifact, - }); - - const pipeline = new codepipeline.Pipeline( - this, - "CodePipelineBuildBaseImageCodePipeline", - { - artifactBucket: props.pipelineArtifactBucket, - pipelineName: `${this.ecrRepositoryImageTag}`, - pipelineType: codepipeline.PipelineType.V1, - stages: [ - { - stageName: "Source", - actions: [sourceAction], - }, - { - stageName: "Build", - actions: [buildAction], - }, - ], - restartExecutionOnUpdate: true, - }, - ); - pipeline.node.addDependency(project); - - // Run this pipeline weekly to update the image OS regularly. - const pipelineTarget = new events_target.CodePipeline(pipeline); - new events.Rule(this, "CodePipelineBuildBaseImageWeeklyRefreshSchedule", { - schedule: events.Schedule.cron({ - weekDay: "Monday", - minute: "0", - hour: "6", - }), - targets: [pipelineTarget], - }); - - // Add stack output for the ECR repository and image tag - new cdk.CfnOutput(this, "ECRRepositoryName", { - value: this.ecrRepository.repositoryName, - description: - "The ECR Repository name where the base image will be pushed", - }); - new cdk.CfnOutput(this, "ECRBaseImageTag", { - value: this.ecrRepositoryImageTag, - description: "The ECR Image Tag where the base image will be pushed", - }); - new cdk.CfnOutput(this, "ECRBaseImageCheckCommand", { - value: `aws ecr list-images --repository-name "${this.ecrRepository.repositoryName}" --query "imageIds[?imageTag=='${this.ecrRepositoryImageTag}']"`, - description: "The AWS CLI command to check if the ECR Image was pushed", - }); - - new cdk.CfnOutput(this, "SourceURI", { - value: `s3://${props.pipelineSourceBucket.bucketName}/${props.pipelineSourcePrefix}/${sourceRepoAsset.s3ObjectKey}`, - description: "The source-repo bucket uri for this pipeline.", - }); - } -} diff --git a/lib/codepipeline-embedded-linux.ts b/lib/codepipeline-embedded-linux.ts deleted file mode 100644 index c3bdbc2..0000000 --- a/lib/codepipeline-embedded-linux.ts +++ /dev/null @@ -1,541 +0,0 @@ -import * as path from "path"; -import * as fs from "fs"; - -import * as cdk from "aws-cdk-lib"; -import { Construct } from "constructs"; -import { BucketDeployment, Source } from "aws-cdk-lib/aws-s3-deployment"; -import { Asset } from "aws-cdk-lib/aws-s3-assets"; -import * as codepipeline from "aws-cdk-lib/aws-codepipeline"; -import * as codepipeline_actions from "aws-cdk-lib/aws-codepipeline-actions"; -import * as codebuild from "aws-cdk-lib/aws-codebuild"; -import * as events from "aws-cdk-lib/aws-events"; -import * as events_target from "aws-cdk-lib/aws-events-targets"; -import * as targets from "aws-cdk-lib/aws-events-targets"; -import * as lambda from "aws-cdk-lib/aws-lambda"; -import * as iam from "aws-cdk-lib/aws-iam"; -import * as efs from "aws-cdk-lib/aws-efs"; -import * as s3 from "aws-cdk-lib/aws-s3"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as ec2 from "aws-cdk-lib/aws-ec2"; -import * as logs from "aws-cdk-lib/aws-logs"; -import * as kms from "aws-cdk-lib/aws-kms"; -import { ProjectType } from "."; - -/** - * Properties to allow customizing the build. - */ -export interface EmbeddedLinuxCodePipelineProps extends cdk.StackProps { - /** The pipeline source bucket */ - readonly pipelineSourceBucket: s3.IBucket; - /** The pipeline source prefix */ - pipelineSourcePrefix?: string; - /** The pipeline artifact bucket to use */ - readonly pipelineArtifactBucket: s3.Bucket; - /** The pipeline artifact bucket prefix to use */ - pipelineArtifactPrefix?: string; - /** The pipeline output bucket to use */ - readonly pipelineOutputBucket: s3.Bucket; - /** The pipeline output bucket prefix to use */ - pipelineOutputPrefix?: string; - /** ECR Repository where the Build Host Image resides. */ - readonly ecrRepository: ecr.IRepository; - /** Tag for the Build Host Image */ - readonly ecrRepositoryImageTag: string; - /** The type of project being built. */ - readonly projectType: ProjectType; - /** VPC where the networking setup resides. */ - readonly vpc: ec2.IVpc; - /** Additional policy statements to add to the build project. */ - readonly buildPolicyAdditions?: iam.PolicyStatement[]; - /** Additional build environment variables to the build project. */ - readonly environmentVariables?: { - [key: string]: codebuild.BuildEnvironmentVariable; - }; - /** The encryption key use across*/ - readonly encryptionKey: kms.Key; - /** Custom asset to be provided when using ProjectType.Custom */ - readonly sourceCustomPath?: string; -} - -/** - * The stack for creating a build pipeline. - * - * See {@link EmbeddedLinuxCodePipelineProps} for configration options. - */ -export class EmbeddedLinuxCodePipelineStack extends cdk.Stack { - constructor( - scope: Construct, - id: string, - props: EmbeddedLinuxCodePipelineProps, - ) { - super(scope, id, props); - - if (!props.pipelineSourcePrefix) { - props.pipelineSourcePrefix = `${props.projectType}`; - } - if (!props.pipelineArtifactPrefix) { - props.pipelineArtifactPrefix = `${props.projectType}`; - } - if (!props.pipelineOutputPrefix) { - props.pipelineOutputPrefix = `${props.projectType}`; - } - - /** Set up networking access and EFS FileSystems. */ - const projectSg = new ec2.SecurityGroup( - this, - "EmbeddedLinuxCodePipelineBuildProjectSecurityGroup", - { - vpc: props.vpc, - description: "Security Group to allow attaching EFS", - }, - ); - projectSg.addIngressRule( - ec2.Peer.ipv4(props.vpc.vpcCidrBlock), - ec2.Port.tcp(2049), - "NFS Mount Port", - ); - const efsFileSystem: efs.FileSystem = new efs.FileSystem( - this, - `EmbeddedLinuxCodePipelineFileSystem`, - { - vpc: props.vpc, - allowAnonymousAccess: true, - removalPolicy: cdk.RemovalPolicy.DESTROY, - }, - ); - efsFileSystem.connections.allowFrom(projectSg, ec2.Port.tcp(2049)); - - // create the policy & role for the source bucket deployment - const pipelineSourceBucketDeploymentPolicy = new iam.PolicyDocument({ - statements: [ - new iam.PolicyStatement({ - actions: [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - resources: [ - `arn:aws:logs:${cdk.Stack.of(this).region}:${cdk.Stack.of(this).account}:log-group:/aws/lambda/EmbeddedLinuxCodePipelineBaseImage-CustomCDKBucketDeployment*`, - ], - }), - ], - }); - const pipelineSourceBucketDeploymentRole = new iam.Role( - this, - "EmbeddedLinuxCodePipelineBucketDeploymentRole", - { - assumedBy: new iam.ServicePrincipal("lambda.amazonaws.com"), - inlinePolicies: { pipelineSourceBucketDeploymentPolicy }, - }, - ); - - // archive and upload the source-repo folder into CDK owned bucket - let sourcePath = path.join( - __dirname, - "..", - "source-repo", - props.projectType, - ); - if (props.projectType == ProjectType.Custom) { - if (!props.sourceCustomPath) { - throw new Error( - `sourceCustomPath must be provided when using ProjectType.Custom`, - ); - } - if (!fs.existsSync(`${props.sourceCustomPath}/build.buildspec.yml`)) { - throw new Error( - `sourceCustomPath must be provide a valid path to a build.buildspec.yml file (sourceCustomPath = ${props.sourceCustomPath})`, - ); - } - - sourcePath = props.sourceCustomPath; - } - const sourceRepoAsset: Asset = new Asset( - this, - "EmbeddedLinuxCodePipelineBucketDeploymentAsset", - { path: sourcePath }, - ); - - // deploy the sourceRepo to the bucket - const bucketDeployment = new BucketDeployment( - this, - "EmbeddedLinuxCodePipelineBucketDeployment", - { - sources: [ - Source.bucket(sourceRepoAsset.bucket, sourceRepoAsset.s3ObjectKey), - ], - destinationBucket: props.pipelineSourceBucket, - role: pipelineSourceBucketDeploymentRole, - extract: false, - destinationKeyPrefix: props.pipelineSourcePrefix, - }, - ); - - /** Create our CodeCodePipeline Actions. */ - const sourceActionOutputArtifact = new codepipeline.Artifact("Source"); - const sourceAction = new codepipeline_actions.S3SourceAction({ - actionName: "Source", - trigger: codepipeline_actions.S3Trigger.EVENTS, - output: sourceActionOutputArtifact, - bucket: props.pipelineSourceBucket, - bucketKey: `${props.pipelineSourcePrefix}/${sourceRepoAsset.s3ObjectKey}`, - }); - - // adding the proper roles and policies in case the pipeline will export the image as an AMI - const vmImportRole = this.createVMImportRole(id, props); - - /** Create our CodeCodePipeline Project. */ - const project = new codebuild.PipelineProject( - this, - "EmbeddedLinuxCodePipelineProject", - { - projectName: `${id}`, - buildSpec: codebuild.BuildSpec.fromSourceFilename( - "build.buildspec.yml", - ), - environment: { - computeType: codebuild.ComputeType.X_LARGE, - buildImage: codebuild.LinuxBuildImage.fromEcrRepository( - props.ecrRepository, - props.ecrRepositoryImageTag, - ), - privileged: true, - environmentVariables: { - ...props.environmentVariables, - AWS_ACCOUNT_ID: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: cdk.Stack.of(this).account, - }, - AWS_DEFAULT_REGION: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: cdk.Stack.of(this).region, - }, - PIPELINE_PROJECT_NAME: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: id, - }, - PIPELINE_OUTPUT_BUCKET: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: props.pipelineOutputBucket.bucketName, - }, - PIPELINE_OUTPUT_BUCKET_PREFIX: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: props.pipelineOutputPrefix, - }, - VM_IMPORT_ROLE: { - type: codebuild.BuildEnvironmentVariableType.PLAINTEXT, - value: vmImportRole.roleName, - }, - }, - }, - timeout: cdk.Duration.hours(4), - vpc: props.vpc, - securityGroups: [projectSg], - fileSystemLocations: [ - codebuild.FileSystemLocation.efs({ - identifier: "nfs", - location: `${efsFileSystem.fileSystemId}.efs.${efsFileSystem.env.region}.amazonaws.com:/`, - mountPoint: "/nfs", - }), - ], - logging: { - cloudWatch: { - logGroup: new logs.LogGroup( - this, - "EmbeddedLinuxCodePipelineProjectLogs", - { - logGroupName: `${id}-EmbeddedLinuxCodePipelineProjectLogs`, - retention: logs.RetentionDays.ONE_YEAR, - removalPolicy: cdk.RemovalPolicy.DESTROY, - }, - ), - }, - }, - encryptionKey: props.encryptionKey, - }, - ); - project.node.addDependency(bucketDeployment); - - if (props.buildPolicyAdditions) { - props.buildPolicyAdditions.map((p) => project.addToRolePolicy(p)); - } - - // adding the proper roles and policies in case the pipeline will export the image as an AMI - props.pipelineOutputBucket.grantReadWrite(project); - this.addAMIExportPolicy(project, props); - - const buildActionOutputArtifact = new codepipeline.Artifact(); - const buildAction = new codepipeline_actions.CodeBuildAction({ - input: sourceActionOutputArtifact, - actionName: "Build", - outputs: [buildActionOutputArtifact], - project, - }); - - const outputAction: codepipeline_actions.S3DeployAction = - new codepipeline_actions.S3DeployAction({ - actionName: "Output", - input: buildActionOutputArtifact, - bucket: props.pipelineOutputBucket, - objectKey: `${props.pipelineOutputPrefix}`, - }); - - /** Here we create the logic to check for presence of ECR image on the CodeCodePipeline automatic triggering upon resource creation, - * and stop the execution if the image does not exist. */ - const fnOnCodePipelineCreate = new lambda.Function( - this, - "EmbeddedLinuxCodePipelineOSImageCheckOnStart", - { - runtime: lambda.Runtime.PYTHON_3_10, - handler: "index.handler", - code: lambda.Code.fromInline(` - import boto3 - import json - - ecr_client = boto3.client('ecr') - codepipeline_client = boto3.client('codepipeline') - - def handler(event, context): - print("Received event: " + json.dumps(event, indent=2)) - response = ecr_client.describe_images(repositoryName='${props.ecrRepository.repositoryName}', filter={'tagStatus': 'TAGGED'}) - for i in response['imageDetails']: - if '${props.ecrRepositoryImageTag}' in i['ecrRepositoryImageTags']: - break - else: - print('OS image not found. Stopping execution.') - response = codepipeline_client.stop_pipeline_execution( - pipelineName=event['detail']['pipeline'], - pipelineExecutionId=event['detail']['execution-id'], - abandon=True, - reason='OS image not found in ECR repository. Stopping pipeline until image is present.') - `), - logRetention: logs.RetentionDays.ONE_YEAR, - }, - ); - - const pipelineCreateRule = new events.Rule( - this, - "EmbeddedLinuxCodePipelineOnCodePipelineStartRule", - { - eventPattern: { - detailType: ["CodeCodePipeline CodePipeline Execution State Change"], - source: ["aws.codepipeline"], - detail: { - state: ["STARTED"], - "execution-trigger": { - "trigger-type": ["CreateCodePipeline"], - }, - }, - }, - }, - ); - pipelineCreateRule.addTarget( - new targets.LambdaFunction(fnOnCodePipelineCreate), - ); - - /** Now create the actual CodePipeline */ - const pipeline = new codepipeline.Pipeline( - this, - "EmbeddedLinuxCodePipeline", - { - pipelineName: `${id}`, - artifactBucket: props.pipelineArtifactBucket, - restartExecutionOnUpdate: true, - pipelineType: codepipeline.PipelineType.V1, - stages: [ - { - stageName: "Source", - actions: [sourceAction], - }, - { - stageName: "Build", - actions: [buildAction], - }, - { - stageName: "Output", - actions: [outputAction], - }, - ], - }, - ); - pipeline.node.addDependency(project); - - const stopCodePipelinePolicy = new iam.PolicyStatement({ - actions: ["codepipeline:StopCodePipelineExecution"], - resources: [pipeline.pipelineArn], - }); - - const ecrPolicy = new iam.PolicyStatement({ - actions: ["ecr:DescribeImages"], - resources: [props.ecrRepository.repositoryArn], - }); - fnOnCodePipelineCreate.role?.attachInlinePolicy( - new iam.Policy(this, "EmbeddedLinuxCodePipelineCheckOSAndStop", { - statements: [stopCodePipelinePolicy, ecrPolicy], - }), - ); - - // Run this pipeline weekly to update the image OS regularly. - const pipelineTarget = new events_target.CodePipeline(pipeline); - new events.Rule(this, "EmbeddedLinuxCodePipelineWeeklyRefreshSchedule", { - schedule: events.Schedule.cron({ - weekDay: "Tuesday", - minute: "0", - hour: "6", - }), - targets: [pipelineTarget], - }); - - // Add stack output for the source-repo bucket uri for this pipeline - new cdk.CfnOutput(this, "SourceURI", { - value: `s3://${props.pipelineSourceBucket.bucketName}/${props.pipelineSourcePrefix}/${sourceRepoAsset.s3ObjectKey}`, - description: "The source bucket uri for this pipeline.", - }); - - new cdk.CfnOutput(this, "OutputURI", { - value: `s3://${props.pipelineOutputBucket.bucketName}/${props.pipelineOutputPrefix}`, - description: "The output bucket of this pipeline.", - }); - - new cdk.CfnOutput(this, "ArtifactURI", { - value: `s3://${props.pipelineArtifactBucket.bucketName}/${props.pipelineArtifactPrefix}/${sourceRepoAsset.s3ObjectKey}`, - description: "The artifact bucket of this pipeline.", - }); - } - - private createVMImportRole( - id: string, - props: EmbeddedLinuxCodePipelineProps, - ) { - // Adapted from meta-aws-ewaol and - // https://docs.aws.amazon.com/vm-import/latest/userguide/required-permissions.html - const vmImportPolicy = new iam.PolicyDocument({ - statements: [ - new iam.PolicyStatement({ - actions: ["s3:GetBucketLocation", "s3:GetObject", "s3:ListBucket"], - resources: [ - props.pipelineOutputBucket.bucketArn, - `${props.pipelineOutputBucket.bucketArn}/*`, - ], - }), - new iam.PolicyStatement({ - actions: ["ec2:CreateTags", "ec2:DescribeTags"], - resources: ["*"], - conditions: { - StringEquals: { - "ec2:ResourceTag/CreatedBy": [id], - }, - }, - }), - new iam.PolicyStatement({ - actions: ["ec2:CopySnapshot"], - resources: [`arn:aws:ec2:${cdk.Stack.of(this).region}::snapshot/*`], - }), - new iam.PolicyStatement({ - actions: ["ec2:DescribeSnapshots"], - resources: ["*"], - }), - new iam.PolicyStatement({ - actions: [ - "kms:CreateGrant", - "kms:Decrypt", - "kms:DescribeKey", - "kms:GenerateDataKeyWithoutPlaintext", - ], - resources: [props.encryptionKey.keyArn], - }), - ], - }); - - const vmImportRole = new iam.Role( - this, - "EmbeddedLinuxCodePipelineVMImportRole", - { - roleName: `${id}-vm-mport`, - assumedBy: new iam.ServicePrincipal("vmie.amazonaws.com"), - externalIds: ["vmimport"], - inlinePolicies: { vmImportPolicy }, - }, - ); - return vmImportRole; - } - - private addAMIExportPolicy( - project: codebuild.PipelineProject, - props: EmbeddedLinuxCodePipelineProps, - ) { - project.addToRolePolicy( - new iam.PolicyStatement({ - actions: [ - "ec2:CreateImage", - "ec2:CreateTags", - "ec2:DescribeImages", - "ec2:DescribeSnapshots", - "ec2:DescribeImportSnapshotTasks", - "ec2:DescribeTags", - "ec2:CancelImportTask", - ], - resources: ["*"], - }), - ); - project.addToRolePolicy( - new iam.PolicyStatement({ - actions: ["ec2:ImportSnapshot"], - resources: [ - `arn:aws:ec2:${cdk.Stack.of(this).region}:${cdk.Stack.of(this).account}:import-snapshot-task/*`, - `arn:aws:ec2:${cdk.Stack.of(this).region}::snapshot/*`, - ], - }), - ); - //Permissions for BackUp to S3 - project.addToRolePolicy( - new iam.PolicyStatement({ - actions: [ - "s3:GetObject", - "s3:ListBucket", - "s3:PutObject", - "s3:PutObjectTagging", - "s3:AbortMultipartUpload", - ], - resources: [ - `${props.pipelineOutputBucket.bucketArn}`, - `${props.pipelineOutputBucket.bucketArn}/*`, - ], - }), - ); - project.addToRolePolicy( - new iam.PolicyStatement({ - actions: [ - "ec2:RegisterImage", - "ec2:DeregisterImage", - "ec2:CreateStoreImageTask", - ], - resources: [ - `arn:aws:ec2:${cdk.Stack.of(this).region}::image/*`, - `arn:aws:ec2:${cdk.Stack.of(this).region}::snapshot/snap-*`, - ], - }), - ); - project.addToRolePolicy( - new iam.PolicyStatement({ - actions: [ - "ebs:CompleteSnapshot", - "ebs:GetSnapshotBlock", - "ebs:ListChangedBlocks", - "ebs:ListSnapshotBlocks", - "ebs:PutSnapshotBlock", - ], - resources: [`arn:aws:ec2:${cdk.Stack.of(this).region}::snapshot/*`], - }), - ); - project.addToRolePolicy( - new iam.PolicyStatement({ - actions: [ - "ec2:DescribeStoreImageTasks", - "ec2:GetEbsEncryptionByDefault", - ], - resources: ["*"], - }), - ); - } -} diff --git a/lib/codepipeline-resources.ts b/lib/codepipeline-resources.ts deleted file mode 100644 index 28ced5d..0000000 --- a/lib/codepipeline-resources.ts +++ /dev/null @@ -1,173 +0,0 @@ -import * as cdk from "aws-cdk-lib"; -import { Construct } from "constructs"; -import * as s3 from "aws-cdk-lib/aws-s3"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as kms from "aws-cdk-lib/aws-kms"; -import * as ec2 from "aws-cdk-lib/aws-ec2"; -import * as logs from "aws-cdk-lib/aws-logs"; - -/** - * Select options for the {@link PipelineResourcesStack}. - */ -export interface PipelineResourcesProps extends cdk.StackProps { - /** The resource prefix*/ - readonly resource_prefix: string; - /** The ecr repository name - if not provided then the name will be '{prefix}-{account}-{region}-repo'*/ - readonly ecrRepositoryName?: string; - /** The artifact bucket name - if not provided then the name will be '{prefix}-{account}-{region}-artifact'*/ - readonly pipelineArtifactBucketName?: string; - /** The source bucket name - if not provided then the name will be '{prefix}-{account}-{region}-source'*/ - readonly pipelineSourceBucketName?: string; - /** The output bucket name - if not provided then the name will be '{prefix}-{account}-{region}-output'*/ - readonly pipelineOutputBucketName?: string; - /** Cloudwatch logging bucket name - if not provided then the name will be '{prefix}-{account}-{region}-logs'*/ - readonly loggingBucketName?: string; -} - -/** - * Input (Source) data for our {@link PipelineResourcesStack}. - */ -export class PipelineResourcesStack extends cdk.Stack { - /** The VPC for the pipeline to reside in. */ - public readonly vpc: ec2.IVpc; - /** The respository to put the build host container in. */ - public readonly ecrRepository: ecr.IRepository; - /** The artifact bucket*/ - readonly pipelineArtifactBucket: s3.Bucket; - /** The source bucket*/ - readonly pipelineSourceBucket: s3.Bucket; - /** The output bucket*/ - readonly pipelineOutputBucket: s3.Bucket; - /** The Cloudwatch logging bucket*/ - public readonly loggingBucket?: s3.Bucket; - /** The encryption key use across*/ - public readonly encryptionKey: kms.Key; - - constructor(scope: Construct, id: string, props: PipelineResourcesProps) { - super(scope, id, props); - - const ecrRepositoryName = props.ecrRepositoryName - ? props.ecrRepositoryName - : `${props.resource_prefix}-${cdk.Stack.of(this).account}-${cdk.Stack.of(this).region}-repo`.toLowerCase(); - const pipelineArtifactBucketName = props.pipelineArtifactBucketName - ? props.pipelineArtifactBucketName - : `${props.resource_prefix}-${cdk.Stack.of(this).account}-${cdk.Stack.of(this).region}-artifact`.toLowerCase(); - const pipelineSourceBucketName = props.pipelineSourceBucketName - ? props.pipelineSourceBucketName - : `${props.resource_prefix}-${cdk.Stack.of(this).account}-${cdk.Stack.of(this).region}-source`.toLowerCase(); - const pipelineOutputBucketName = props.pipelineOutputBucketName - ? props.pipelineOutputBucketName - : `${props.resource_prefix}-${cdk.Stack.of(this).account}-${cdk.Stack.of(this).region}-output`.toLowerCase(); - const loggingBucketName = props.loggingBucketName - ? props.loggingBucketName - : `${props.resource_prefix}-${cdk.Stack.of(this).account}-${cdk.Stack.of(this).region}-logs`.toLowerCase(); - - // We will create a VPC with 3 Private and Public subnets for AWS - // Resources that have network interfaces (e.g. Connecting and EFS - // Filesystem to a CodeBuild Project). - this.vpc = new ec2.Vpc(this, "PipelineResourcesVpc", { - ipAddresses: ec2.IpAddresses.cidr("10.0.0.0/16"), - }); - - new ec2.FlowLog(this, "PipelineResourcesVPCFlowLogs", { - resourceType: ec2.FlowLogResourceType.fromVpc(this.vpc), - destination: ec2.FlowLogDestination.toCloudWatchLogs( - new logs.LogGroup(this, "PipelineResourcesVPCFlowLogGroup", { - logGroupName: `${id}-PipelineResourcesVPCFlowLogGroup`, - retention: logs.RetentionDays.ONE_YEAR, - removalPolicy: cdk.RemovalPolicy.DESTROY, - }), - ), - }); - - this.ecrRepository = new ecr.Repository( - this, - "PipelineResourcesECRRepository", - { - repositoryName: ecrRepositoryName, - removalPolicy: cdk.RemovalPolicy.DESTROY, - emptyOnDelete: true, - }, - ); - - this.encryptionKey = new kms.Key(this, "PipelineResourcesArtifactKey", { - removalPolicy: cdk.RemovalPolicy.DESTROY, - enableKeyRotation: true, - }); - - // Create a bucket, then allow a deployment Lambda to upload to it. - this.loggingBucket = new s3.Bucket(this, "PipelineResourcesLoggingBucket", { - bucketName: loggingBucketName, - versioned: true, - enforceSSL: true, - autoDeleteObjects: true, - removalPolicy: cdk.RemovalPolicy.DESTROY, - encryptionKey: this.encryptionKey, - }); - - this.pipelineSourceBucket = new s3.Bucket( - this, - "PipelineResourcesSourceBucket", - { - bucketName: pipelineSourceBucketName, - versioned: true, - enforceSSL: true, - autoDeleteObjects: true, - removalPolicy: cdk.RemovalPolicy.DESTROY, - encryptionKey: this.encryptionKey, - serverAccessLogsBucket: this.loggingBucket, - serverAccessLogsPrefix: "source-bucket", - }, - ); - - this.pipelineArtifactBucket = new s3.Bucket( - this, - "PipelineResourcesArtifactBucket", - { - bucketName: pipelineArtifactBucketName, - versioned: true, - enforceSSL: true, - autoDeleteObjects: true, - removalPolicy: cdk.RemovalPolicy.DESTROY, - encryptionKey: this.encryptionKey, - serverAccessLogsBucket: this.loggingBucket, - serverAccessLogsPrefix: "artifact-bucket", - }, - ); - - this.pipelineOutputBucket = new s3.Bucket( - this, - "PipelineResourcesOutputBucket", - { - bucketName: pipelineOutputBucketName, - versioned: true, - enforceSSL: true, - autoDeleteObjects: true, - removalPolicy: cdk.RemovalPolicy.DESTROY, - encryptionKey: this.encryptionKey, - serverAccessLogsBucket: this.loggingBucket, - serverAccessLogsPrefix: "output-bucket", - }, - ); - - new cdk.CfnOutput(this, "LoggingBucket", { - value: this.loggingBucket.bucketName, - description: "The access logging bucket.", - }); - - new cdk.CfnOutput(this, "SourceBucket", { - value: this.pipelineSourceBucket.bucketName, - description: "The source bucket.", - }); - - new cdk.CfnOutput(this, "ArtifactBucket", { - value: this.pipelineArtifactBucket.bucketName, - description: "The artifact bucket.", - }); - - new cdk.CfnOutput(this, "OutputBucket", { - value: this.pipelineOutputBucket.bucketName, - description: "The output bucket.", - }); - } -} diff --git a/lib/index.ts b/lib/index.ts deleted file mode 100644 index 2707f01..0000000 --- a/lib/index.ts +++ /dev/null @@ -1,26 +0,0 @@ -export * from "./codebuild-embedded-linux"; -export * from "./codepipeline-embedded-linux-base-image"; -export * from "./codepipeline-embedded-linux"; -export * from "./codepipeline-resources"; - -/** - * The type of project built. - */ -export enum ProjectType { - /** Build core-image-minimal from poky. */ - Poky = "poky", - /** Build the Qemu meta-aws Demonstration Distribution. */ - QEmu = "qemu", - /** Build an EC2 AMI */ - PokyAmi = "poky-ami", - /** Build an kas based image */ - Kas = "kas", - /** Build an Renesas image */ - Renesas = "renesas", - /** Build an IMX image using NXP layers. */ - NxpImx = "nxp-imx", - /** Build no pipeline, just CodeBuild project to connect with GitHub actions. */ - CodeBuild = "codebuild", - /** Build an image using a custom buildspec and asstes. */ - Custom = "custom", -} diff --git a/CONTRIBUTING.md b/media/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to media/CONTRIBUTING.md diff --git a/LICENSE b/media/LICENSE similarity index 100% rename from LICENSE rename to media/LICENSE diff --git a/SECURITY.md b/media/SECURITY.md similarity index 100% rename from SECURITY.md rename to media/SECURITY.md diff --git a/images/architecture-v0.2.x.svg b/media/architecture-v0.2.x.svg similarity index 100% rename from images/architecture-v0.2.x.svg rename to media/architecture-v0.2.x.svg diff --git a/modules.html b/modules.html new file mode 100644 index 0000000..388aa61 --- /dev/null +++ b/modules.html @@ -0,0 +1 @@ +aws4embeddedlinux-cdk-lib
                        aws4embeddedlinux-cdk-lib
                          Preparing search index...
                          diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 3c2b285..0000000 --- a/package-lock.json +++ /dev/null @@ -1,5650 +0,0 @@ -{ - "name": "aws4embeddedlinux-cdk-lib", - "version": "0.2.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "aws4embeddedlinux-cdk-lib", - "version": "0.2.0", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "aws-cdk-lib": "^2.186.0", - "constructs": "^10.4.2" - }, - "devDependencies": { - "@eslint/compat": "^1.2.4", - "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.16.0", - "@types/jest": "^29.5.14", - "@types/node": "20.14.8", - "@typescript-eslint/eslint-plugin": "^8.18.0", - "@typescript-eslint/parser": "^8.18.0", - "aws-cdk": "^2.1006.0", - "cdk-nag": "^2.35.0", - "eslint": "^9.16.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.2.1", - "eslint-plugin-simple-import-sort": "^12.1.1", - "eslint-plugin-tsdoc": "^0.4.0", - "globals": "^16.0.0", - "jest": "^29.7.0", - "prettier": "^3.4.2", - "ts-jest": "^29.2.5", - "ts-node": "^10.9.2", - "typedoc": "^0.28.1", - "typescript": "~5.8.2", - "typescript-eslint": "^8.18.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@aws-cdk/asset-awscli-v1": { - "version": "2.2.229", - "resolved": "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.229.tgz", - "integrity": "sha512-apNt/Sfty7Jwi1+6hrZaQeVisqnJAW4+uQZI55VPKtBqjTFEsKPBc/KZDx9Tlw8Ii1yWrS3HNzLNGxpTXae8XQ==", - "license": "Apache-2.0" - }, - "node_modules/@aws-cdk/asset-node-proxy-agent-v6": { - "version": "2.1.0", - "license": "Apache-2.0" - }, - "node_modules/@aws-cdk/cloud-assembly-schema": { - "version": "40.7.0", - "resolved": "https://registry.npmjs.org/@aws-cdk/cloud-assembly-schema/-/cloud-assembly-schema-40.7.0.tgz", - "integrity": "sha512-00wVKn9pOOGXbeNwA4E8FUFt0zIB4PmSO7PvIiDWgpaFX3G/sWyy0A3s6bg/n2Yvkghu8r4a8ckm+mAzkAYmfA==", - "bundleDependencies": [ - "jsonschema", - "semver" - ], - "license": "Apache-2.0", - "dependencies": { - "jsonschema": "~1.4.1", - "semver": "^7.7.1" - }, - "engines": { - "node": ">= 14.15.0" - } - }, - "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema": { - "version": "1.4.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver": { - "version": "7.7.1", - "inBundle": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.26.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.26.8", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.26.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.9", - "@babel/helper-compilation-targets": "^7.26.5", - "@babel/helper-module-transforms": "^7.26.0", - "@babel/helpers": "^7.26.9", - "@babel/parser": "^7.26.9", - "@babel/template": "^7.26.9", - "@babel/traverse": "^7.26.9", - "@babel/types": "^7.26.9", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/generator": { - "version": "7.26.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.26.9", - "@babel/types": "^7.26.9", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^3.0.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.26.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/compat-data": "^7.26.5", - "@babel/helper-validator-option": "^7.25.9", - "browserslist": "^4.24.0", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.25.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.26.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.26.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.25.9", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.26.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.26.9", - "@babel/types": "^7.26.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.26.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.26.9" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.26.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.25.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.25.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.26.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/parser": "^7.26.9", - "@babel/types": "^7.26.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.26.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.9", - "@babel/parser": "^7.26.9", - "@babel/template": "^7.26.9", - "@babel/types": "^7.26.9", - "debug": "^4.3.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse/node_modules/globals": { - "version": "11.12.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/types": { - "version": "7.26.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "eslint-visitor-keys": "^3.4.3" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.12.1", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/compat": { - "version": "1.2.6", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "peerDependencies": { - "eslint": "^9.10.0" - }, - "peerDependenciesMeta": { - "eslint": { - "optional": true - } - } - }, - "node_modules/@eslint/config-array": { - "version": "0.19.2", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@eslint/object-schema": "^2.1.6", - "debug": "^4.3.1", - "minimatch": "^3.1.2" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, - "node_modules/@eslint/core": { - "version": "0.11.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.15" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^10.0.1", - "globals": "^14.0.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "14.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@eslint/js": { - "version": "9.20.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, - "node_modules/@eslint/object-schema": { - "version": "2.1.6", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, - "node_modules/@eslint/plugin-kit": { - "version": "0.2.6", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@eslint/core": "^0.11.0", - "levn": "^0.4.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, - "node_modules/@gerrit0/mini-shiki": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.2.1.tgz", - "integrity": "sha512-HbzRC6MKB6U8kQhczz0APKPIzFHTrcqhaC7es2EXInq1SpjPVnpVSIsBe6hNoLWqqCx1n5VKiPXq6PfXnHZKOQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/engine-oniguruma": "^3.2.1", - "@shikijs/types": "^3.2.1", - "@shikijs/vscode-textmate": "^10.0.2" - } - }, - "node_modules/@humanfs/core": { - "version": "0.19.1", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=18.18.0" - } - }, - "node_modules/@humanfs/node": { - "version": "0.16.6", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@humanfs/core": "^0.19.1", - "@humanwhocodes/retry": "^0.3.0" - }, - "engines": { - "node": ">=18.18.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/retry": { - "version": "0.3.1", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=18.18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "dev": true, - "license": "ISC", - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { - "version": "1.0.10", - "dev": true, - "license": "MIT", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { - "version": "3.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/console": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/console/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@jest/core": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/core/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@jest/core/node_modules/jest-config": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/@jest/environment": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/environment/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@jest/expect": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "jest-get-type": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@jest/globals": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/reporters": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^6.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", - "v8-to-istanbul": "^9.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/reporters/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@jest/reporters/node_modules/istanbul-lib-instrument": { - "version": "6.0.3", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@babel/core": "^7.23.9", - "@babel/parser": "^7.23.9", - "@istanbuljs/schema": "^0.1.3", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/source-map": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-result": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/transform": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/types": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/types/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.8", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@microsoft/tsdoc": { - "version": "0.15.1", - "dev": true, - "license": "MIT" - }, - "node_modules/@microsoft/tsdoc-config": { - "version": "0.17.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@microsoft/tsdoc": "0.15.1", - "ajv": "~8.12.0", - "jju": "~1.4.0", - "resolve": "~1.22.2" - } - }, - "node_modules/@microsoft/tsdoc-config/node_modules/ajv": { - "version": "8.12.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@pkgr/core": { - "version": "0.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/unts" - } - }, - "node_modules/@shikijs/engine-oniguruma": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.2.1.tgz", - "integrity": "sha512-wZZAkayEn6qu2+YjenEoFqj0OyQI64EWsNR6/71d1EkG4sxEOFooowKivsWPpaWNBu3sxAG+zPz5kzBL/SsreQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/types": "3.2.1", - "@shikijs/vscode-textmate": "^10.0.2" - } - }, - "node_modules/@shikijs/types": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.2.1.tgz", - "integrity": "sha512-/NTWAk4KE2M8uac0RhOsIhYQf4pdU0OywQuYDGIGAJ6Mjunxl2cGiuLkvu4HLCMn+OTTLRWkjZITp+aYJv60yA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@shikijs/vscode-textmate": "^10.0.2", - "@types/hast": "^3.0.4" - } - }, - "node_modules/@shikijs/vscode-textmate": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz", - "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "dev": true, - "license": "MIT" - }, - "node_modules/@sinonjs/commons": { - "version": "3.0.1", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@sinonjs/commons": "^3.0.0" - } - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.11", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.4", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/babel__core": { - "version": "7.20.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.6.8", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.20.6", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.20.7" - } - }, - "node_modules/@types/estree": { - "version": "1.0.6", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/graceful-fs/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@types/hast": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", - "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/unist": "*" - } - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.6", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/istanbul-lib-coverage": "*" - } - }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/@types/jest": { - "version": "29.5.14", - "dev": true, - "license": "MIT", - "dependencies": { - "expect": "^29.0.0", - "pretty-format": "^29.0.0" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "20.14.8", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@types/node/node_modules/undici-types": { - "version": "5.26.5", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/stack-utils": { - "version": "2.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/unist": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", - "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/yargs": { - "version": "17.0.33", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "21.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.28.0.tgz", - "integrity": "sha512-lvFK3TCGAHsItNdWZ/1FkvpzCxTHUVuFrdnOGLMa0GGCFIbCgQWVk3CzCGdA7kM3qGVc+dfW9tr0Z/sHnGDFyg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.28.0", - "@typescript-eslint/type-utils": "8.28.0", - "@typescript-eslint/utils": "8.28.0", - "@typescript-eslint/visitor-keys": "8.28.0", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.28.0.tgz", - "integrity": "sha512-LPcw1yHD3ToaDEoljFEfQ9j2xShY367h7FZ1sq5NJT9I3yj4LHer1Xd1yRSOdYy9BpsrxU7R+eoDokChYM53lQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/scope-manager": "8.28.0", - "@typescript-eslint/types": "8.28.0", - "@typescript-eslint/typescript-estree": "8.28.0", - "@typescript-eslint/visitor-keys": "8.28.0", - "debug": "^4.3.4" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.28.0.tgz", - "integrity": "sha512-u2oITX3BJwzWCapoZ/pXw6BCOl8rJP4Ij/3wPoGvY8XwvXflOzd1kLrDUUUAIEdJSFh+ASwdTHqtan9xSg8buw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.28.0", - "@typescript-eslint/visitor-keys": "8.28.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.28.0.tgz", - "integrity": "sha512-oRoXu2v0Rsy/VoOGhtWrOKDiIehvI+YNrDk5Oqj40Mwm0Yt01FC/Q7nFqg088d3yAsR1ZcZFVfPCTTFCe/KPwg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/typescript-estree": "8.28.0", - "@typescript-eslint/utils": "8.28.0", - "debug": "^4.3.4", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" - } - }, - "node_modules/@typescript-eslint/types": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.28.0.tgz", - "integrity": "sha512-bn4WS1bkKEjx7HqiwG2JNB3YJdC1q6Ue7GyGlwPHyt0TnVq6TtD/hiOdTZt71sq0s7UzqBFXD8t8o2e63tXgwA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.28.0.tgz", - "integrity": "sha512-H74nHEeBGeklctAVUvmDkxB1mk+PAZ9FiOMPFncdqeRBXxk1lWSYraHw8V12b7aa6Sg9HOBNbGdSHobBPuQSuA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.28.0", - "@typescript-eslint/visitor-keys": "8.28.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "typescript": ">=4.8.4 <5.9.0" - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.28.0.tgz", - "integrity": "sha512-OELa9hbTYciYITqgurT1u/SzpQVtDLmQMFzy/N8pQE+tefOyCWT79jHsav294aTqV1q1u+VzqDGbuujvRYaeSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.28.0", - "@typescript-eslint/types": "8.28.0", - "@typescript-eslint/typescript-estree": "8.28.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.9.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.28.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.28.0.tgz", - "integrity": "sha512-hbn8SZ8w4u2pRwgQ1GlUrPKE+t2XvcCW5tTRF7j6SMYIuYG37XuzIW44JCZPa36evi0Oy2SnM664BlIaAuQcvg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.28.0", - "eslint-visitor-keys": "^4.2.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/acorn": { - "version": "8.14.0", - "dev": true, - "license": "MIT", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "dev": true, - "license": "MIT", - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.3.4", - "dev": true, - "license": "MIT", - "dependencies": { - "acorn": "^8.11.0" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv/node_modules/json-schema-traverse": { - "version": "0.4.1", - "dev": true, - "license": "MIT" - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "dev": true, - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/argparse": { - "version": "2.0.1", - "dev": true, - "license": "Python-2.0" - }, - "node_modules/async": { - "version": "3.2.6", - "dev": true, - "license": "MIT" - }, - "node_modules/aws-cdk": { - "version": "2.1006.0", - "resolved": "https://registry.npmjs.org/aws-cdk/-/aws-cdk-2.1006.0.tgz", - "integrity": "sha512-6qYnCt4mBN+3i/5F+FC2yMETkDHY/IL7gt3EuqKVPcaAO4jU7oXfVSlR60CYRkZWL4fnAurUV14RkJuJyVG/IA==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "cdk": "bin/cdk" - }, - "engines": { - "node": ">= 14.15.0" - }, - "optionalDependencies": { - "fsevents": "2.3.2" - } - }, - "node_modules/aws-cdk-lib": { - "version": "2.186.0", - "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.186.0.tgz", - "integrity": "sha512-y/DD4h8CbhwGyPTpoHELATavZe5FWcy1xSuLlReOd3+cCRZ9rAzVSFdPB8kSJUD4nBPrIeGkW1u8ItUOhms17w==", - "bundleDependencies": [ - "@balena/dockerignore", - "case", - "fs-extra", - "ignore", - "jsonschema", - "minimatch", - "punycode", - "semver", - "table", - "yaml", - "mime-types" - ], - "license": "Apache-2.0", - "dependencies": { - "@aws-cdk/asset-awscli-v1": "^2.2.227", - "@aws-cdk/asset-node-proxy-agent-v6": "^2.1.0", - "@aws-cdk/cloud-assembly-schema": "^40.7.0", - "@balena/dockerignore": "^1.0.2", - "case": "1.6.3", - "fs-extra": "^11.3.0", - "ignore": "^5.3.2", - "jsonschema": "^1.5.0", - "mime-types": "^2.1.35", - "minimatch": "^3.1.2", - "punycode": "^2.3.1", - "semver": "^7.7.1", - "table": "^6.9.0", - "yaml": "1.10.2" - }, - "engines": { - "node": ">= 14.15.0" - }, - "peerDependencies": { - "constructs": "^10.0.0" - } - }, - "node_modules/aws-cdk-lib/node_modules/@balena/dockerignore": { - "version": "1.0.2", - "inBundle": true, - "license": "Apache-2.0" - }, - "node_modules/aws-cdk-lib/node_modules/ajv": { - "version": "8.17.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/aws-cdk-lib/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/aws-cdk-lib/node_modules/ansi-styles": { - "version": "4.3.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/aws-cdk-lib/node_modules/astral-regex": { - "version": "2.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/aws-cdk-lib/node_modules/balanced-match": { - "version": "1.0.2", - "inBundle": true, - "license": "MIT" - }, - "node_modules/aws-cdk-lib/node_modules/brace-expansion": { - "version": "1.1.11", - "inBundle": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/aws-cdk-lib/node_modules/case": { - "version": "1.6.3", - "inBundle": true, - "license": "(MIT OR GPL-3.0-or-later)", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/aws-cdk-lib/node_modules/color-convert": { - "version": "2.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/aws-cdk-lib/node_modules/color-name": { - "version": "1.1.4", - "inBundle": true, - "license": "MIT" - }, - "node_modules/aws-cdk-lib/node_modules/concat-map": { - "version": "0.0.1", - "inBundle": true, - "license": "MIT" - }, - "node_modules/aws-cdk-lib/node_modules/emoji-regex": { - "version": "8.0.0", - "inBundle": true, - "license": "MIT" - }, - "node_modules/aws-cdk-lib/node_modules/fast-deep-equal": { - "version": "3.1.3", - "inBundle": true, - "license": "MIT" - }, - "node_modules/aws-cdk-lib/node_modules/fast-uri": { - "version": "3.0.6", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "inBundle": true, - "license": "BSD-3-Clause" - }, - "node_modules/aws-cdk-lib/node_modules/fs-extra": { - "version": "11.3.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/aws-cdk-lib/node_modules/graceful-fs": { - "version": "4.2.11", - "inBundle": true, - "license": "ISC" - }, - "node_modules/aws-cdk-lib/node_modules/ignore": { - "version": "5.3.2", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/aws-cdk-lib/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/aws-cdk-lib/node_modules/json-schema-traverse": { - "version": "1.0.0", - "inBundle": true, - "license": "MIT" - }, - "node_modules/aws-cdk-lib/node_modules/jsonfile": { - "version": "6.1.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/aws-cdk-lib/node_modules/jsonschema": { - "version": "1.5.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/aws-cdk-lib/node_modules/lodash.truncate": { - "version": "4.4.2", - "inBundle": true, - "license": "MIT" - }, - "node_modules/aws-cdk-lib/node_modules/mime-db": { - "version": "1.52.0", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/aws-cdk-lib/node_modules/mime-types": { - "version": "2.1.35", - "inBundle": true, - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/aws-cdk-lib/node_modules/minimatch": { - "version": "3.1.2", - "inBundle": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/aws-cdk-lib/node_modules/punycode": { - "version": "2.3.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/aws-cdk-lib/node_modules/require-from-string": { - "version": "2.0.2", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/aws-cdk-lib/node_modules/semver": { - "version": "7.7.1", - "inBundle": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/aws-cdk-lib/node_modules/slice-ansi": { - "version": "4.0.0", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/aws-cdk-lib/node_modules/string-width": { - "version": "4.2.3", - "inBundle": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/aws-cdk-lib/node_modules/strip-ansi": { - "version": "6.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/aws-cdk-lib/node_modules/table": { - "version": "6.9.0", - "inBundle": true, - "license": "BSD-3-Clause", - "dependencies": { - "ajv": "^8.0.1", - "lodash.truncate": "^4.4.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/aws-cdk-lib/node_modules/universalify": { - "version": "2.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-cdk-lib/node_modules/yaml": { - "version": "1.10.2", - "inBundle": true, - "license": "ISC", - "engines": { - "node": ">= 6" - } - }, - "node_modules/babel-jest": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-import-attributes": "^7.24.7", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-preset-jest": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "license": "MIT" - }, - "node_modules/brace-expansion": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.24.4", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "caniuse-lite": "^1.0.30001688", - "electron-to-chromium": "^1.5.73", - "node-releases": "^2.0.19", - "update-browserslist-db": "^1.1.1" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bs-logger": { - "version": "0.2.6", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-json-stable-stringify": "2.x" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "dev": true, - "license": "MIT" - }, - "node_modules/callsites": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001700", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "CC-BY-4.0" - }, - "node_modules/cdk-nag": { - "version": "2.35.24", - "dev": true, - "license": "Apache-2.0", - "peerDependencies": { - "aws-cdk-lib": "^2.156.0", - "constructs": "^10.0.5" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/char-regex": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/ci-info": { - "version": "3.9.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cjs-module-lexer": { - "version": "1.4.3", - "dev": true, - "license": "MIT" - }, - "node_modules/cliui": { - "version": "8.0.1", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/co": { - "version": "4.6.0", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" - } - }, - "node_modules/collect-v8-coverage": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/color-convert": { - "version": "2.0.1", - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "license": "MIT" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "license": "MIT" - }, - "node_modules/constructs": { - "version": "10.4.2", - "license": "Apache-2.0" - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/create-jest": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/create-require": { - "version": "1.1.1", - "dev": true, - "license": "MIT" - }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/debug": { - "version": "4.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dedent": { - "version": "1.5.3", - "dev": true, - "license": "MIT", - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/deepmerge": { - "version": "4.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/diff": { - "version": "4.0.2", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/ejs": { - "version": "3.1.10", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "jake": "^10.8.5" - }, - "bin": { - "ejs": "bin/cli.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.5.102", - "dev": true, - "license": "ISC" - }, - "node_modules/emittery": { - "version": "0.13.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "license": "MIT" - }, - "node_modules/entities": { - "version": "4.5.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint": { - "version": "9.20.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.12.1", - "@eslint/config-array": "^0.19.0", - "@eslint/core": "^0.11.0", - "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "9.20.0", - "@eslint/plugin-kit": "^0.2.5", - "@humanfs/node": "^0.16.6", - "@humanwhocodes/module-importer": "^1.0.1", - "@humanwhocodes/retry": "^0.4.1", - "@types/estree": "^1.0.6", - "@types/json-schema": "^7.0.15", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.6", - "debug": "^4.3.2", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^8.2.0", - "eslint-visitor-keys": "^4.2.0", - "espree": "^10.3.0", - "esquery": "^1.5.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^8.0.0", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://eslint.org/donate" - }, - "peerDependencies": { - "jiti": "*" - }, - "peerDependenciesMeta": { - "jiti": { - "optional": true - } - } - }, - "node_modules/eslint-config-prettier": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-plugin-prettier": { - "version": "5.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.9.1" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint-plugin-prettier" - }, - "peerDependencies": { - "@types/eslint": ">=8.0.0", - "eslint": ">=8.0.0", - "eslint-config-prettier": "*", - "prettier": ">=3.0.0" - }, - "peerDependenciesMeta": { - "@types/eslint": { - "optional": true - }, - "eslint-config-prettier": { - "optional": true - } - } - }, - "node_modules/eslint-plugin-simple-import-sort": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz", - "integrity": "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "eslint": ">=5.0.0" - } - }, - "node_modules/eslint-plugin-tsdoc": { - "version": "0.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@microsoft/tsdoc": "0.15.1", - "@microsoft/tsdoc-config": "0.17.1" - } - }, - "node_modules/eslint-scope": { - "version": "8.2.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "4.2.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/@humanwhocodes/retry": { - "version": "0.4.1", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=18.18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/find-up": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/glob-parent": { - "version": "6.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/espree": { - "version": "10.3.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "acorn": "^8.14.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^4.2.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "dev": true, - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esquery": { - "version": "1.6.0", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "5.3.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expect": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "license": "MIT" - }, - "node_modules/fast-diff": { - "version": "1.3.0", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "dev": true, - "license": "MIT" - }, - "node_modules/fastq": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", - "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fb-watchman": { - "version": "2.0.2", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/file-entry-cache": { - "version": "8.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "flat-cache": "^4.0.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/filelist": { - "version": "1.0.4", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "minimatch": "^5.0.1" - } - }, - "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up/node_modules/locate-path": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up/node_modules/p-limit": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/find-up/node_modules/p-locate": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/flat-cache": { - "version": "4.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.4" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/flatted": { - "version": "3.3.3", - "dev": true, - "license": "ISC" - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "dev": true, - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-package-type": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/glob": { - "version": "9.3.5", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "8.0.4", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/globals": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-16.0.0.tgz", - "integrity": "sha512-iInW14XItCXET01CQFqudPOWP2jYMl7T+QRQT+UNcR/iQncN/F0UNpgd76iFkBPgNQb4+X3LV9tLJYzwh+Gl3A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "license": "ISC" - }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true, - "license": "MIT" - }, - "node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/human-signals": { - "version": "2.1.0", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/ignore": { - "version": "5.3.2", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.1", - "dev": true, - "license": "MIT", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/import-local": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "dev": true, - "license": "MIT" - }, - "node_modules/is-core-module": { - "version": "2.16.1", - "dev": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-generator-fn": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.2", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/istanbul-lib-report": { - "version": "3.0.1", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-reports": { - "version": "3.1.7", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jake": { - "version": "10.9.2", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.4", - "minimatch": "^3.1.2" - }, - "bin": { - "jake": "bin/cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-changed-files": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-cli": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-config": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/jest-diff": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-docblock": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "detect-newline": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-each": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-environment-node": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-environment-node/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-haste-map": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" - } - }, - "node_modules/jest-haste-map/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-leak-detector": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-mock": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-mock/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } - } - }, - "node_modules/jest-regex-util": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-runtime": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runtime/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-snapshot": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-util/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-validate": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-watcher": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-watcher/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-worker": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker/node_modules/@types/node": { - "version": "22.13.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/jju": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsesc": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/json-buffer": { - "version": "3.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "dev": true, - "license": "MIT" - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/json5": { - "version": "2.2.3", - "dev": true, - "license": "MIT", - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/keyv": { - "version": "4.5.4", - "dev": true, - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.1" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/leven": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "dev": true, - "license": "MIT" - }, - "node_modules/linkify-it": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "uc.micro": "^2.0.0" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "dev": true, - "license": "MIT" - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "dev": true, - "license": "MIT" - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/lunr": { - "version": "2.3.9", - "dev": true, - "license": "MIT" - }, - "node_modules/make-dir": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "dev": true, - "license": "ISC" - }, - "node_modules/makeerror": { - "version": "1.0.12", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/markdown-it": { - "version": "14.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1", - "entities": "^4.4.0", - "linkify-it": "^5.0.0", - "mdurl": "^2.0.0", - "punycode.js": "^2.3.1", - "uc.micro": "^2.1.0" - }, - "bin": { - "markdown-it": "bin/markdown-it.mjs" - } - }, - "node_modules/mdurl": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimatch/node_modules/brace-expansion": { - "version": "1.1.11", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/minipass": { - "version": "4.2.8", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=8" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "dev": true, - "license": "MIT" - }, - "node_modules/node-int64": { - "version": "0.4.0", - "dev": true, - "license": "MIT" - }, - "node_modules/node-releases": { - "version": "2.0.19", - "dev": true, - "license": "MIT" - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/optionator": { - "version": "0.9.4", - "dev": true, - "license": "MIT", - "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.5" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "dev": true, - "license": "MIT" - }, - "node_modules/path-scurry": { - "version": "1.11.1", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.4.3", - "dev": true, - "license": "ISC" - }, - "node_modules/path-scurry/node_modules/minipass": { - "version": "7.1.2", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/picocolors": { - "version": "1.1.1", - "dev": true, - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pirates": { - "version": "4.0.6", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "3.5.1", - "dev": true, - "license": "MIT", - "bin": { - "prettier": "bin/prettier.cjs" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-diff": "^1.1.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/pretty-format": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "dev": true, - "license": "MIT", - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/punycode": { - "version": "2.3.1", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/punycode.js": { - "version": "2.3.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/pure-rand": { - "version": "6.1.0", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ], - "license": "MIT" - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/react-is": { - "version": "18.3.1", - "dev": true, - "license": "MIT" - }, - "node_modules/require-directory": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.10", - "dev": true, - "license": "MIT", - "dependencies": { - "is-core-module": "^2.16.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve.exports": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/reusify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", - "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/semver": { - "version": "7.7.1", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "dev": true, - "license": "ISC" - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "dev": true, - "license": "MIT" - }, - "node_modules/slash": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.13", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-length": { - "version": "4.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/synckit": { - "version": "0.9.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@pkgr/core": "^0.1.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/unts" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/tmpl": { - "version": "1.0.5", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/ts-api-utils": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18.12" - }, - "peerDependencies": { - "typescript": ">=4.8.4" - } - }, - "node_modules/ts-jest": { - "version": "29.2.5", - "dev": true, - "license": "MIT", - "dependencies": { - "bs-logger": "^0.2.6", - "ejs": "^3.1.10", - "fast-json-stable-stringify": "^2.1.0", - "jest-util": "^29.0.0", - "json5": "^2.2.3", - "lodash.memoize": "^4.1.2", - "make-error": "^1.3.6", - "semver": "^7.6.3", - "yargs-parser": "^21.1.1" - }, - "bin": { - "ts-jest": "cli.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/transform": "^29.0.0", - "@jest/types": "^29.0.0", - "babel-jest": "^29.0.0", - "jest": "^29.0.0", - "typescript": ">=4.3 <6" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@jest/transform": { - "optional": true - }, - "@jest/types": { - "optional": true - }, - "babel-jest": { - "optional": true - }, - "esbuild": { - "optional": true - } - } - }, - "node_modules/ts-node": { - "version": "10.9.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/tslib": { - "version": "2.8.1", - "dev": true, - "license": "0BSD" - }, - "node_modules/type-check": { - "version": "0.4.0", - "dev": true, - "license": "MIT", - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.21.3", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typedoc": { - "version": "0.28.1", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.28.1.tgz", - "integrity": "sha512-Mn2VPNMaxoe/hlBiLriG4U55oyAa3Xo+8HbtEwV7F5WEOPXqtxzGuMZhJYHaqFJpajeQ6ZDUC2c990NAtTbdgw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@gerrit0/mini-shiki": "^3.2.1", - "lunr": "^2.3.9", - "markdown-it": "^14.1.0", - "minimatch": "^9.0.5", - "yaml": "^2.7.0 " - }, - "bin": { - "typedoc": "bin/typedoc" - }, - "engines": { - "node": ">= 18", - "pnpm": ">= 10" - }, - "peerDependencies": { - "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x" - } - }, - "node_modules/typedoc/node_modules/minimatch": { - "version": "9.0.5", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/typedoc/node_modules/yaml": { - "version": "2.7.0", - "dev": true, - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/typescript": { - "version": "5.8.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", - "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/typescript-eslint": { - "version": "8.24.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/eslint-plugin": "8.24.1", - "@typescript-eslint/parser": "8.24.1", - "@typescript-eslint/utils": "8.24.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.24.1.tgz", - "integrity": "sha512-ll1StnKtBigWIGqvYDVuDmXJHVH4zLVot1yQ4fJtLpL7qacwkxJc1T0bptqw+miBQ/QfUbhl1TcQ4accW5KUyA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.24.1", - "@typescript-eslint/type-utils": "8.24.1", - "@typescript-eslint/utils": "8.24.1", - "@typescript-eslint/visitor-keys": "8.24.1", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", - "natural-compare": "^1.4.0", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/type-utils": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.24.1.tgz", - "integrity": "sha512-/Do9fmNgCsQ+K4rCz0STI7lYB4phTtEXqqCAs3gZW0pnK7lWNkvWd5iW545GSmApm4AzmQXmSqXPO565B4WVrw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/typescript-estree": "8.24.1", - "@typescript-eslint/utils": "8.24.1", - "debug": "^4.3.4", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.1.tgz", - "integrity": "sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.24.1", - "@typescript-eslint/visitor-keys": "8.24.1", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.24.1.tgz", - "integrity": "sha512-Tqoa05bu+t5s8CTZFaGpCH2ub3QeT9YDkXbPd3uQ4SfsLoh1/vv2GEYAioPoxCWJJNsenXlC88tRjwoHNts1oQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/scope-manager": "8.24.1", - "@typescript-eslint/types": "8.24.1", - "@typescript-eslint/typescript-estree": "8.24.1", - "@typescript-eslint/visitor-keys": "8.24.1", - "debug": "^4.3.4" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.1.tgz", - "integrity": "sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.24.1", - "@typescript-eslint/visitor-keys": "8.24.1", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/scope-manager": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.24.1.tgz", - "integrity": "sha512-OdQr6BNBzwRjNEXMQyaGyZzgg7wzjYKfX2ZBV3E04hUCBDv3GQCHiz9RpqdUIiVrMgJGkXm3tcEh4vFSHreS2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.24.1", - "@typescript-eslint/visitor-keys": "8.24.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/types": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.24.1.tgz", - "integrity": "sha512-9kqJ+2DkUXiuhoiYIUvIYjGcwle8pcPpdlfkemGvTObzgmYfJ5d0Qm6jwb4NBXP9W1I5tss0VIAnWFumz3mC5A==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/utils": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.24.1.tgz", - "integrity": "sha512-OOcg3PMMQx9EXspId5iktsI3eMaXVwlhC8BvNnX6B5w9a4dVgpkQZuU8Hy67TolKcl+iFWq0XX+jbDGN4xWxjQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.24.1", - "@typescript-eslint/types": "8.24.1", - "@typescript-eslint/typescript-estree": "8.24.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0", - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.1.tgz", - "integrity": "sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.24.1", - "@typescript-eslint/visitor-keys": "8.24.1", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^2.0.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "typescript": ">=4.8.4 <5.8.0" - } - }, - "node_modules/typescript-eslint/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.24.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.24.1.tgz", - "integrity": "sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@typescript-eslint/types": "8.24.1", - "eslint-visitor-keys": "^4.2.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/typescript-eslint/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/uc.micro": { - "version": "2.1.0", - "dev": true, - "license": "MIT" - }, - "node_modules/undici-types": { - "version": "6.20.0", - "dev": true, - "license": "MIT" - }, - "node_modules/update-browserslist-db": { - "version": "1.1.2", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.1" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/v8-to-istanbul": { - "version": "9.3.0", - "dev": true, - "license": "ISC", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^2.0.0" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/which": { - "version": "2.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/word-wrap": { - "version": "1.2.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/write-file-atomic": { - "version": "4.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "dev": true, - "license": "ISC" - }, - "node_modules/yargs": { - "version": "17.7.2", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - } -} diff --git a/package.json b/package.json deleted file mode 100644 index 91c2ece..0000000 --- a/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "aws4embeddedlinux-cdk-lib", - "version": "0.2.0", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "license": "MIT", - "scripts": { - "build": "tsc", - "check": "eslint '**/*.{js,ts,json}'", - "clean": "tsc --build --clean", - "doc": "typedoc --sort source-order --readme README.md", - "format": "eslint '**/*.{js,ts,json}' --quiet --fix", - "postinstall": "npm run build > /dev/null || echo 'prepapre command completed successfully with errors'", - "prepare-commit": "pre-commit run --all-files --color=always --show-diff-on-failure", - "test": "jest --passWithNoTests --updateSnapshot", - "update-snapshot": "jest -u", - "watch": "tsc -w", - "precheck": "yarn clean", - "preformat": "yarn clean" - }, - "dependencies": { - "aws-cdk-lib": "^2.219.0", - "constructs": "^10.4.2" - }, - "devDependencies": { - "@eslint/compat": "^1.4.0", - "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "^9.38.0", - "@types/jest": "^30.0.0", - "@types/node": "24.7.2", - "@typescript-eslint/eslint-plugin": "^8.18.0", - "@typescript-eslint/parser": "^8.18.0", - "aws-cdk": "^2.1030.0", - "cdk-nag": "^2.37.51", - "eslint": "^9.38.0", - "eslint-config-prettier": "^10.1.5", - "eslint-plugin-prettier": "^5.5.4", - "eslint-plugin-simple-import-sort": "^12.1.1", - "eslint-plugin-tsdoc": "^0.4.0", - "globals": "^16.4.0", - "jest": "^30.2.0", - "prettier": "^3.6.2", - "ts-jest": "^29.4.4", - "ts-node": "^10.9.2", - "typedoc": "^0.28.13", - "typescript": "~5.9.3", - "typescript-eslint": "^8.18.0" - }, - "resolutions": { - "glob": "^9.3.5" - }, - "overrides": { - "glob": "^9.3.5" - }, - "packageManager": "yarn@4.7.0" -} diff --git a/source-repo/base-image/Dockerfile b/source-repo/base-image/Dockerfile deleted file mode 100644 index b0faabb..0000000 --- a/source-repo/base-image/Dockerfile +++ /dev/null @@ -1,49 +0,0 @@ -FROM public.ecr.aws/lts/ubuntu:22.04_stable AS base - -# This is required to avoid prompts when updating from Apt. -ARG DEBIAN_FRONTEND=noninteractive - -# Install Required Packages for the Build Host -RUN apt-get -qq update && apt-get -qq install -y --no-install-recommends \ - gawk wget git diffstat unzip texinfo gcc build-essential chrpath \ - socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \ - iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \ - python3-subunit mesa-common-dev zstd liblz4-tool file locales xterm sudo - -# Install packages used elsewhere in the build -RUN apt-get -qq install -y --no-install-recommends \ - uuid-runtime sysstat iproute2 openssh-client curl python-is-python3 \ - parted mtools dosfstools jq gpg gpg-agent qemu-utils rsync - -# install repo tool -RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /bin/repo -RUN chmod a+rx /bin/repo - -# Install aws cli v2 -RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "/tmp/awscliv2.zip" -RUN unzip -qq /tmp/awscliv2.zip -d /tmp -RUN /tmp/aws/install - -# install kas tool -RUN pip3 install -q PyYAML==5.3.1 -q && pip3 install -q kas==4.0.0 - -RUN locale-gen en_US.UTF-8 - -# Create a non-root user to build. -RUN groupadd -g 1000 yoctouser -RUN useradd -u 1000 -g 1000 -m yoctouser - -# These will be mount points for an EFS volume. This allows the cache to be reused. -RUN mkdir -p /nfs && chown -R yoctouser /nfs && chmod -R 755 /nfs - -RUN sudo -u yoctouser bash -c 'git config --global user.email "yoctouser@example.com"' -RUN sudo -u yoctouser bash -c 'git config --global user.name "yoctouser"' -RUN sudo -u yoctouser bash -c 'git config --global init.defaultBranch main' - -ENV TMP_DIR=/tmp -ENV SSTATE_DIR=/nfs/sstate-cache -ENV DL_DIR=/nfs/downloads -ENV OUTPUT_DIR=/nfs/build-output -ENV BB_ENV_PASSTHROUGH_ADDITIONS="SSTATE_DIR DL_DIR" - -USER yoctouser diff --git a/source-repo/base-image/buildspec.yml b/source-repo/base-image/buildspec.yml deleted file mode 100644 index aedcaf6..0000000 --- a/source-repo/base-image/buildspec.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 0.2 -phases: - pre_build: - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - echo Logging into Amazon ECR... - - aws ecr get-login-password --region $AWS_DEFAULT_REGION | - docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - - ls . - - echo "Building the Docker image $IMAGE_TAG ..." - - docker build -t ubuntu_22_04:$IMAGE_TAG . - - docker tag ubuntu_22_04:$IMAGE_TAG $ECR_REPOSITORY_URI:$IMAGE_TAG - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - - echo Pushing the Docker image... - - docker push $ECR_REPOSITORY_URI:$IMAGE_TAG - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" diff --git a/source-repo/kas/build.buildspec.yml b/source-repo/kas/build.buildspec.yml deleted file mode 100644 index 93a9bcb..0000000 --- a/source-repo/kas/build.buildspec.yml +++ /dev/null @@ -1,52 +0,0 @@ -version: 0.2 -run-as: yoctouser - -env: - shell: bash - # HOME is set to /root even when running as a non-root user. - variables: - HOME: "/home/yoctouser" - -phases: - pre_build: - run-as: root - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - mkdir -p /nfs/sstate-cache && chown -R yoctouser /nfs/sstate-cache - - mkdir -p /nfs/downloads && chown -R yoctouser /nfs/downloads - - mkdir -p /nfs/build-output && chown -R yoctouser /nfs/build-output - - chmod -R 755 /nfs/sstate-cache - - chmod -R 755 /nfs/downloads - - chmod -R 755 /nfs/build-output - - | - if [[ -n "$PURGE_EFS" ]] ; then - echo "Starting EFS purge." - rm -rvf /nfs/downloads/* - rm -rvf /nfs/sstate-cache/* - rm -rvf /nfs/build-output/* - fi - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - - export KAS_WORK_DIR=$TMP_DIR - - kas build kas.yml - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/sstate-cache -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/sstate-cache -atime +30 -type d -empty -delete - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/downloads -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/downloads -atime +30 -type d -empty -delete - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" - -artifacts: - discard-paths: true - files: - - $TMP_DIR/build/tmp/deploy/images/qemux86-64/aws-biga-image-qemux86-64* - - $TMP_DIR/build/tmp/log/cve/cve-summary* diff --git a/source-repo/kas/kas.yml b/source-repo/kas/kas.yml deleted file mode 100644 index f17cc8a..0000000 --- a/source-repo/kas/kas.yml +++ /dev/null @@ -1,36 +0,0 @@ -header: - version: 14 - -target: aws-biga-image -machine: qemux86-64 - - -local_conf_header: - qemu-config: | - EXTRA_IMAGE_FEATURES ?= "debug-tweaks" - IMAGE_INSTALL:append = " greengrass-bin" - INHERIT += "cve-check" - include cve-extra-exclusions.inc - -repos: - poky: - url: https://git.yoctoproject.org/poky.git - commit: c4e08719a782fd4119eaf643907b80cebf57f88f - layers: - meta: - meta-poky: - meta-aws-demos: - url: https://github.com/aws4embeddedlinux/meta-aws-demos - commit: 2f004d5f7ad576ca6eec3cb2bdd710d352b41823 - layers: - meta-aws-demos: - meta-openembedded: - url: https://git.openembedded.org/meta-openembedded - commit: a8055484f2829e8dfd03d5c8520b2c611aa7ebd2 - layers: - meta-oe: - meta-networking: - meta-python: - meta-aws: - url: https://github.com/aws4embeddedlinux/meta-aws - commit: 434e85de57c3be735e63754cf75037c3ac249d2b diff --git a/source-repo/nxp-imx/build.buildspec.yml b/source-repo/nxp-imx/build.buildspec.yml deleted file mode 100644 index 65b4539..0000000 --- a/source-repo/nxp-imx/build.buildspec.yml +++ /dev/null @@ -1,68 +0,0 @@ -version: 0.2 -run-as: yoctouser - -env: - shell: bash - # HOME is set to /root even when running as a non-root user. - variables: - HOME: "/home/yoctouser" - -phases: - pre_build: - run-as: root - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - mkdir -p /nfs/sstate-cache && chown -R yoctouser /nfs/sstate-cache - - mkdir -p /nfs/downloads && chown -R yoctouser /nfs/downloads - - mkdir -p /nfs/build-output && chown -R yoctouser /nfs/build-output - - chmod -R 755 /nfs/sstate-cache - - chmod -R 755 /nfs/downloads - - chmod -R 755 /nfs/build-output - - | - if [[ -n "$PURGE_EFS" ]] ; then - echo "Starting EFS purge." - rm -rvf /nfs/downloads/* - rm -rvf /nfs/sstate-cache/* - rm -rvf /nfs/build-output/* - fi - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - - if [ -d .git ]; then rm -rf .git; fi - - git init $CODEBUILD_SRC_DIR && git add --all && git commit -m 'initial' - - repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.22-2.0.0.xml - - repo sync -c --no-tags -j$(nproc --all) - # If you have not accepted NXP's EULA for these layers, the build will - # prompt you repeatedly until the timeout. This next line is an - # intentional barrier to stop the build quickly and get your attention. - # Please review the licensing required, modify this buildspec to accept - # and remove the next line to proceed. - - echo "User input is required." && exit 1 - - MACHINE=imx6ullevk DISTRO=fsl-imx-wayland source ./imx-setup-release.sh - # Update our local conf to check for CVEs - - echo 'INHERIT += "cve-check"' >> conf/local.conf - # this will suppress false positive CVEs - - echo 'include cve-extra-exclusions.inc' >> conf/local.conf - # build the image - - bitbake core-image-minimal - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/sstate-cache -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/sstate-cache -atime +30 -type d -empty -delete - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/downloads -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/downloads -atime +30 -type d -empty -delete - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" - -artifacts: - discard-paths: true - files: - # $TMP_DIR is not supported by imx bsp / distro - - build/tmp/deploy/images/imx93evk/* - - build/tmp/log/cve/cve-summary* diff --git a/source-repo/poky-ami/build.buildspec.yml b/source-repo/poky-ami/build.buildspec.yml deleted file mode 100644 index 005f64e..0000000 --- a/source-repo/poky-ami/build.buildspec.yml +++ /dev/null @@ -1,91 +0,0 @@ -version: 0.2 -run-as: yoctouser - -env: - shell: bash - # HOME is set to /root even when running as a non-root user. - variables: - HOME: "/home/yoctouser" - -phases: - pre_build: - run-as: root - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - mkdir -p /nfs/sstate-cache && chown -R yoctouser /nfs/sstate-cache - - mkdir -p /nfs/downloads && chown -R yoctouser /nfs/downloads - - mkdir -p /nfs/build-output && chown -R yoctouser /nfs/build-output - - chmod -R 755 /nfs/sstate-cache - - chmod -R 755 /nfs/downloads - - chmod -R 755 /nfs/build-output - - | - if [[ -n "$PURGE_EFS" ]] ; then - echo "Starting EFS purge." - rm -rvf /nfs/downloads/* - rm -rvf /nfs/sstate-cache/* - rm -rvf /nfs/build-output/* - fi - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - - if [ -d .git ]; then rm -rf .git; fi - - git init $CODEBUILD_SRC_DIR && git add --all && git commit -m 'initial' - - repo init -u $CODEBUILD_SRC_DIR -b main -m manifest.xml - - repo sync -c --no-tags -j$(nproc --all) - - . poky/oe-init-build-env $TMP_DIR - - bitbake-layers add-layer $CODEBUILD_SRC_DIR/meta-openembedded/meta-oe - - bitbake-layers add-layer $CODEBUILD_SRC_DIR/meta-openembedded/meta-python - - bitbake-layers add-layer $CODEBUILD_SRC_DIR/meta-openembedded/meta-networking - - bitbake-layers add-layer $CODEBUILD_SRC_DIR/meta-openembedded/meta-multimedia - - bitbake-layers add-layer $CODEBUILD_SRC_DIR/meta-openembedded/meta-filesystems - - bitbake-layers add-layer $CODEBUILD_SRC_DIR/meta-virtualization - - bitbake-layers add-layer $CODEBUILD_SRC_DIR/meta-aws - # Update our local conf to build the EC2 AMI. - - echo 'MACHINE = "aws-ec2-arm64"' >> $TMP_DIR/conf/local.conf - - echo 'INHERIT += "aws-ec2-image"' >> $TMP_DIR/conf/local.conf - # Update our local conf to check for CVEs - - echo 'INHERIT += "cve-check"' >> $TMP_DIR/conf/local.conf - # this will suppress false positive CVEs - - echo 'include cve-extra-exclusions.inc' >> $TMP_DIR/conf/local.conf - # build the image - - bitbake core-image-minimal - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - - echo AMI Upload started - # This is required because the CDK asset uploader does not seem to carry permissions though. - # - aws s3 cp ${SCRIPT_URL} $CODEBUILD_SRC_DIR/create-ec2-ami.sh - # - chmod +x $CODEBUILD_SRC_DIR/create-ec2-ami.sh - - chmod +x $CODEBUILD_SRC_DIR/create-ec2-ami.sh - # this list all testdata.json and *.vhd files - - find $TMP_DIR/tmp/deploy/images/aws-ec2-arm64/ -name *.testdata.json - - find $TMP_DIR/tmp/deploy/images/aws-ec2-arm64/ -name *.vhd - # - $CODEBUILD_SRC_DIR/create-ec2-ami.sh $PIPELINE_OUTPUT_BUCKET 16 core-image-minimal aws-ec2-arm64 $TMP_DIR/tmp $VM_IMPORT_ROLE .rootfs - - | - $CODEBUILD_SRC_DIR/create-ec2-ami.sh \ - IMPORT_BUCKET_NAME=$PIPELINE_OUTPUT_BUCKET \ - AMI_DISK_SIZE_GB=16 \ - IMAGE_NAME=core-image-minimal \ - MACHINE_NAME=aws-ec2-arm64 \ - TMPDIR=$TMP_DIR/tmp \ - ROLE_NAME=$VM_IMPORT_ROLE \ - IMAGE_EXTEN=.rootfs \ - PIPELINE_PROJECT_NAME=$PIPELINE_PROJECT_NAME - - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/sstate-cache -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/sstate-cache -atime +30 -type d -empty -delete - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/downloads -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/downloads -atime +30 -type d -empty -delete - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" - -artifacts: - discard-paths: true - files: - - $TMP_DIR/tmp/deploy/images/aws-ec2-arm64/core-image-minimal* - - $TMP_DIR/tmp/log/cve/cve-summary* diff --git a/source-repo/poky-ami/create-ec2-ami.sh b/source-repo/poky-ami/create-ec2-ami.sh deleted file mode 100644 index a8ea80a..0000000 --- a/source-repo/poky-ami/create-ec2-ami.sh +++ /dev/null @@ -1,206 +0,0 @@ -#!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -# SPDX-License-Identifier: MIT-0 - -set -eo pipefail -[ "$DEBUG" == 'true' ] && set -x - -ARGC=$# -if [ $ARGC -lt 6 ]; then - echo "ERROR: missing args " - echo " 1:IMPORT_BUCKET_NAME" - echo " 2:AMI_DISK_SIZE_GB" - echo " 3:IMAGE_NAME" - echo " 4:MACHINE_NAME" - echo " 5:TMPDIR" - echo " 6:ROLE NAME" - echo " 7:IMAGE_EXTEN" - echo " 8:TESTDATA_JSON_EXTEN" - echo " 9:PIPELINE_PROJECT_NAME" - exit 1 -fi - -for arg in "$@" -do - key=$(echo "$arg" | cut -f1 -d=) - - len=${#key} - val="${arg:$len+1}" - - export "$key"="$val" -done - -# IMPORT_BUCKET_NAME=$1 -# AMI_DISK_SIZE_GB=$2 -# IMAGE_NAME=$3 -# MACHINE_NAME=$4 -TMPDIR=${TMPDIR:-build/tmp} -# ROLE_NAME=$6 -IMAGE_EXTEN=${IMAGE_EXTEN:-} -TESTDATA_JSON_EXTEN=${TESTDATA_JSON_EXTEN:-} -# PIPELINE_PROJECT_NAME=${9:-} - -CREATED_BY_TAG="aws4embeddedlinux-ci" -IMG_DIR="${TMPDIR}/deploy/images/${MACHINE_NAME}" - -TESTDATA_JSON="${IMG_DIR}/${IMAGE_NAME}-${MACHINE_NAME}${TESTDATA_JSON_EXTEN}.testdata.json" - - -echo "Input parameters:" -echo " 1:IMPORT_BUCKET_NAME : $IMPORT_BUCKET_NAME" -echo " 2:AMI_DISK_SIZE_GB : $AMI_DISK_SIZE_GB" -echo " 3:IMAGE_NAME : $IMAGE_NAME" -echo " 4:MACHINE_NAME : $MACHINE_NAME" -echo " 5:TMPDIR : $TMPDIR" -echo " 6:ROLE NAME : $ROLE" -echo " 7:IMAGE_EXTEN : $IMAGE_EXTEN" -echo " 8:TESTDATA_JSON_EXTEN : $TESTDATA_JSON_EXTEN" -echo " 9:PIPELINE_PROJECT_NAME : $PIPELINE_PROJECT_NAME" - -DISTRO=$(jq -r '.DISTRO' "$TESTDATA_JSON") -DISTRO_CODENAME=$(jq -r '.DISTRO_CODENAME' "$TESTDATA_JSON") -DISTRO_NAME=$(jq -r '.DISTRO_NAME' "$TESTDATA_JSON") -DISTRO_VERSION=$(jq -r '.DISTRO_VERSION' "$TESTDATA_JSON") -BUILDNAME=$(jq -r '.BUILDNAME' "$TESTDATA_JSON") -TARGET_ARCH=$(jq -r '.TARGET_ARCH' "$TESTDATA_JSON") -IMAGE_NAME=$(jq -r '.IMAGE_NAME' "$TESTDATA_JSON") -IMAGE_ROOTFS_SIZE=$(jq -r '.IMAGE_ROOTFS_SIZE' "$TESTDATA_JSON") - -echo DISTRO="$DISTRO" -echo DISTRO_CODENAME="$DISTRO_CODENAME" -echo DISTRO_NAME="$DISTRO_NAME" -echo DISTRO_VERSION="$DISTRO_VERSION" -echo BUILDNAME="$BUILDNAME" -echo TARGET_ARCH="$TARGET_ARCH" -echo IMAGE_ROOTFS_SIZE="$IMAGE_ROOTFS_SIZE" -echo AMI_DISK_SIZE_GB="$AMI_DISK_SIZE_GB" - - - - -echo "Pushing image ${IMAGE_NAME}${IMAGE_EXTEN}.wic.vhd to s3://${IMPORT_BUCKET_NAME}" -aws s3 cp "${IMG_DIR}/${IMAGE_NAME}${IMAGE_EXTEN}.wic.vhd" "s3://${IMPORT_BUCKET_NAME}" - -cat < image-import.json -{ - "Description": "ewaol docker image", - "Format": "vhd", - "UserBucket": { - "S3Bucket": "${IMPORT_BUCKET_NAME}", - "S3Key": "${IMAGE_NAME}${IMAGE_EXTEN}.wic.vhd" - } -} -EOF -echo "Importing image file into snapshot " - -command_output=$(aws ec2 import-snapshot \ - --disk-container "file://image-import.json" \ - --tag-specifications "ResourceType=import-snapshot-task,Tags=[{Key=CreatedBy,Value=$CREATED_BY_TAG},{Key=PipelineProject,Value=$PIPELINE_PROJECT_NAME}]" \ - --role-name "$ROLE_NAME" --encrypted -) -command_exit_code=$? - -if [[ "$command_exit_code" -ne 0 ]]; then - echo "Import Failed: ${command_output}, exiting." exit 2; -fi - -IMPORT_TASK_ID=$(echo "${command_output}" | jq -r '.ImportTaskId') - -IMPORT_STATUS=$(aws ec2 describe-import-snapshot-tasks --import-task-ids "$IMPORT_TASK_ID" --query 'ImportSnapshotTasks[].SnapshotTaskDetail.Status' --output text) -x=0 -rm image-import.json -echo "$IMPORT_STATUS" -while [ "$IMPORT_STATUS" = "active" ] && [ $x -lt 120 ] -do - IMPORT_STATUS=$(aws ec2 describe-import-snapshot-tasks --import-task-ids "$IMPORT_TASK_ID" --query 'ImportSnapshotTasks[].SnapshotTaskDetail.Status' --output text) - IMPORT_STATUS_MSG=$(aws ec2 describe-import-snapshot-tasks --import-task-ids "$IMPORT_TASK_ID" --query 'ImportSnapshotTasks[].SnapshotTaskDetail.StatusMessage' --output text) - echo "Import Status: ${IMPORT_STATUS} / ${IMPORT_STATUS_MSG}" - x=$(( x + 1 )) - sleep 15 -done -if [ $x -eq 120 ]; then - echo "ERROR: Import task taking too long, exiting..."; exit 1; -elif [ "$IMPORT_STATUS" = "completed" ]; then - echo "Import completed Successfully" -else - echo "Import Failed, exiting"; exit 2; -fi - -SNAPSHOT_ID=$(aws ec2 describe-import-snapshot-tasks --import-task-ids "$IMPORT_TASK_ID" --query 'ImportSnapshotTasks[].SnapshotTaskDetail.SnapshotId' --output text) - -aws ec2 wait snapshot-completed --snapshot-ids "$SNAPSHOT_ID" - -if [[ "$TARGET_ARCH" == "x86_64" ]]; then - ARCHITECTURE="x86_64" -elif [[ "$TARGET_ARCH" == "aarch64" ]]; then - ARCHITECTURE="arm64" -else - echo "Architecture not supported" - exit 1 -fi -DESCRIPTION=$(echo "PIPELINE_PROJECT_NAME=$PIPELINE_PROJECT_NAME;DISTRO=$DISTRO;DISTRO_CODENAME=$DISTRO_CODENAME;DISTRO_NAME=$DISTRO_NAME;DISTRO_VERSION=$DISTRO_VERSION;BUILDNAME=$BUILDNAME;TARGET_ARCH=$ARCHITECTURE;IMAGE_NAME=$IMAGE_NAME" | cut -c -255) - -cat < register-ami.json -{ - "Architecture": "$ARCHITECTURE", - "BlockDeviceMappings": [ - { - "DeviceName": "/dev/sda1", - "Ebs": { - "DeleteOnTermination": true, - "SnapshotId": "$SNAPSHOT_ID", - "VolumeSize": ${AMI_DISK_SIZE_GB}, - "VolumeType": "gp2" - } - } - ], - "Description": "$DESCRIPTION", - "RootDeviceName": "/dev/sda1", - "BootMode": "uefi", - "VirtualizationType": "hvm", - "EnaSupport": true -} -EOF - -AMI_NAME=$(echo "${IMAGE_NAME}-${DISTRO}-${DISTRO_CODENAME}-${DISTRO_VERSION}-${BUILDNAME}-${ARCHITECTURE}" | cut -c -128 | sed -e s/+/-/g) -IMAGE_ID=$(aws ec2 describe-images --filters "Name=name,Values=${AMI_NAME}" --query 'Images[].ImageId' --output text) -if [ "$IMAGE_ID" != "" ]; then - echo "Deregistering existing image $IMAGE_ID" - aws ec2 deregister-image --image-id "${IMAGE_ID}" > /dev/null 2>&1 -fi -echo "Registering AMI with Snapshot $SNAPSHOT_ID with parameters:" -echo "AMI name: $AMI_NAME" -more register-ami.json -AMI_ID=$(aws ec2 register-image \ - --name "${AMI_NAME}" \ - --cli-input-json="file://register-ami.json" \ - --tag-specifications "ResourceType=image,Tags=[{Key=Name,Value=$PIPELINE_PROJECT_NAME},{Key=CreatedBy,Value=$CREATED_BY_TAG},{Key=PipelineProject,Value=$PIPELINE_PROJECT_NAME}]" \ - --query 'ImageId' \ - --output text -) -echo "Registered AMI ID: $AMI_ID" -rm register-ami.json - -echo "Backing up AMI with ID $AMI_ID in S3" -OBJECT_KEY=$(aws ec2 create-store-image-task --image-id "$AMI_ID" --bucket "${IMPORT_BUCKET_NAME}" --query 'ObjectKey' --output text) -echo "Backup AMI object key : $OBJECT_KEY" -BACKUP_STATUS=$(aws ec2 describe-store-image-tasks --image-ids "$AMI_ID" --query 'StoreImageTaskResults[].StoreTaskState' --output text) -x=0 -echo "Verifying AMI backup status: $BACKUP_STATUS" -while [ "$BACKUP_STATUS" = "InProgress" ] && [ $x -lt 120 ] -do - BACKUP_STATUS=$(aws ec2 describe-store-image-tasks --image-ids "$AMI_ID" --query 'StoreImageTaskResults[].StoreTaskState' --output text) - PROGRESS_PERCENTAGE=$(aws ec2 describe-store-image-tasks --image-ids "$AMI_ID" --query 'StoreImageTaskResults[].ProgressPercentage' --output text) - echo "Backup Status: ${BACKUP_STATUS} / ${PROGRESS_PERCENTAGE} % completed." - x=$(( x + 1 )) - sleep 15 -done -if [ $x -eq 120 ]; then - echo "ERROR: Backup taking too long, exiting..." - exit 1 -elif [ "$BACKUP_STATUS" = "Completed" ]; then - echo "Backup completed Successfully" -else - echo "Backup Failed, exiting" - exit 2 -fi diff --git a/source-repo/poky-ami/manifest.xml b/source-repo/poky-ami/manifest.xml deleted file mode 100644 index c3564a4..0000000 --- a/source-repo/poky-ami/manifest.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/source-repo/poky/build.buildspec.yml b/source-repo/poky/build.buildspec.yml deleted file mode 100644 index d3d8907..0000000 --- a/source-repo/poky/build.buildspec.yml +++ /dev/null @@ -1,61 +0,0 @@ -version: 0.2 -run-as: yoctouser - -env: - shell: bash - # HOME is set to /root even when running as a non-root user. - variables: - HOME: "/home/yoctouser" - -phases: - pre_build: - run-as: root - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - mkdir -p /nfs/sstate-cache && chown -R yoctouser /nfs/sstate-cache - - mkdir -p /nfs/downloads && chown -R yoctouser /nfs/downloads - - mkdir -p /nfs/build-output && chown -R yoctouser /nfs/build-output - - chmod -R 755 /nfs/sstate-cache - - chmod -R 755 /nfs/downloads - - chmod -R 755 /nfs/build-output - - | - if [[ -n "$PURGE_EFS" ]] ; then - echo "Starting EFS purge." - rm -rvf /nfs/downloads/* - rm -rvf /nfs/sstate-cache/* - rm -rvf /nfs/build-output/* - fi - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - - if [ -d .git ]; then rm -rf .git; fi - - git init $CODEBUILD_SRC_DIR && git add --all && git commit -m 'initial' - - repo init -u $CODEBUILD_SRC_DIR -m manifest.xml - - repo sync -c --no-tags -j$(nproc --all) - - . poky/oe-init-build-env $TMP_DIR - # Update our local conf to check for CVEs - - echo 'INHERIT += "cve-check"' >> $TMP_DIR/conf/local.conf - # this will suppress false positive CVEs - - echo 'include cve-extra-exclusions.inc' >> $TMP_DIR/conf/local.conf - # build the image - - bitbake core-image-minimal - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/sstate-cache -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/sstate-cache -atime +30 -type d -empty -delete - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/downloads -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/downloads -atime +30 -type d -empty -delete - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" - -artifacts: - discard-paths: true - files: - - $TMP_DIR/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64* - - $TMP_DIR/tmp/log/cve/cve-summary* diff --git a/source-repo/poky/manifest.xml b/source-repo/poky/manifest.xml deleted file mode 100644 index c3564a4..0000000 --- a/source-repo/poky/manifest.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - diff --git a/source-repo/qemu/build.buildspec.yml b/source-repo/qemu/build.buildspec.yml deleted file mode 100644 index cf19e15..0000000 --- a/source-repo/qemu/build.buildspec.yml +++ /dev/null @@ -1,59 +0,0 @@ -version: 0.2 -run-as: yoctouser - -env: - shell: bash - # HOME is set to /root even when running as a non-root user. - variables: - HOME: "/home/yoctouser" - -phases: - pre_build: - run-as: root - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - mkdir -p /nfs/sstate-cache && chown -R yoctouser /nfs/sstate-cache - - mkdir -p /nfs/downloads && chown -R yoctouser /nfs/downloads - - mkdir -p /nfs/build-output && chown -R yoctouser /nfs/build-output - - chmod -R 755 /nfs/sstate-cache - - chmod -R 755 /nfs/downloads - - chmod -R 755 /nfs/build-output - - | - if [[ -n "$PURGE_EFS" ]] ; then - echo "Starting EFS purge." - rm -rvf /nfs/downloads/* - rm -rvf /nfs/sstate-cache/* - rm -rvf /nfs/build-output/* - fi - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - - git clone https://github.com/aws4embeddedlinux/meta-aws-demos - - cd meta-aws-demos - - git submodule update --init --recursive - - . ./init-build-env $TMP_DIR - # Update our local conf to check for CVEs - - echo 'INHERIT += "cve-check"' >> $TMP_DIR/conf/local.conf - # this will suppress false positive CVEs - - echo 'include cve-extra-exclusions.inc' >> $TMP_DIR/conf/local.conf - - BUILD_DEVICE=qemu bitbake core-image-minimal - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/sstate-cache -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/sstate-cache -atime +30 -type d -empty -delete - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/downloads -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/downloads -atime +30 -type d -empty -delete - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" - -artifacts: - discard-paths: true - files: - - $TMP_DIR/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64* - - $TMP_DIR/tmp/log/cve/cve-summary* diff --git a/source-repo/renesas/build.buildspec.yml b/source-repo/renesas/build.buildspec.yml deleted file mode 100644 index bf1eed6..0000000 --- a/source-repo/renesas/build.buildspec.yml +++ /dev/null @@ -1,53 +0,0 @@ -version: 0.2 -run-as: yoctouser - -env: - shell: bash - # HOME is set to /root even when running as a non-root user. - variables: - HOME: "/home/yoctouser" - -phases: - pre_build: - run-as: root - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - mkdir -p /nfs/sstate-cache && chown -R yoctouser /nfs/sstate-cache - - mkdir -p /nfs/downloads && chown -R yoctouser /nfs/downloads - - mkdir -p /nfs/build-output && chown -R yoctouser /nfs/build-output - - chmod -R 755 /nfs/sstate-cache - - chmod -R 755 /nfs/downloads - - chmod -R 755 /nfs/build-output - - | - if [[ -n "$PURGE_EFS" ]] ; then - echo "Starting EFS purge." - rm -rvf /nfs/downloads/* - rm -rvf /nfs/sstate-cache/* - rm -rvf /nfs/build-output/* - fi - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - # BB_ENV_EXTRAWHITE is still used in Dunfell release and was renamed afterwards to BB_ENV_PASSTHROUGH_ADDITIONS - - export BB_ENV_EXTRAWHITE=$BB_ENV_PASSTHROUGH_ADDITIONS - - chmod +x ./build.sh - - ./build.sh h3ulcb - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/sstate-cache -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/sstate-cache -atime +30 -type d -empty -delete - # Prune old files in our EFS Mounts, that are not accessed by this or any build within 30 days - - find /nfs/downloads -atime +30 -type f -delete - # only delete empty dirs - - find /nfs/downloads -atime +30 -type d -empty -delete - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" - -artifacts: - discard-paths: true - files: - - h3ulcb/build/tmp/deploy/images/h3ulcb/* diff --git a/source-repo/renesas/build.sh b/source-repo/renesas/build.sh deleted file mode 100644 index 4ff77d9..0000000 --- a/source-repo/renesas/build.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -set -e -export TARGET_BOARD=$1 -export BOARD_LIST=("h3ulcb" "m3ulcb") -PROPRIETARY_DIR="$(pwd)/proprietary" -export PROPRIETARY_DIR -WORK="$(pwd)/${TARGET_BOARD}" - -export GFX_MMP_LIB=R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121.zip -export GFX_MMP_DRIVER=R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121.zip - -Usage () { - echo "Usage: $0 \${TARGET_BOARD_NAME}" - echo "BOARD_NAME list: " - for i in "${BOARD_LIST[@]}"; do echo " - $i"; done - # exit -} - -# Check Param. -if ! (IFS=$'\n'; echo "${BOARD_LIST[*]}" | grep -qx "${TARGET_BOARD}"); then - Usage -fi -mkdir -p "${WORK}" -cd "${WORK}" -# Clone basic Yocto layers in parallel -git clone git://git.yoctoproject.org/poky -b dunfell & -git clone git://git.openembedded.org/meta-openembedded -b dunfell & -git clone https://github.com/renesas-rcar/meta-renesas -b dunfell -# Wait for all clone operations -wait -# Switch to proper branches/commits -WORK_PROP_DIR="${WORK}/proprietary" -mkdir -p "${WORK_PROP_DIR}" -##TODO unzip -qo ${PROPRIETARY_DIR}/${GFX_MMP_LIB} -d ${WORK_PROP_DIR} -##TODO unzip -qo ${PROPRIETARY_DIR}/${GFX_MMP_DRIVER} -d ${WORK_PROP_DIR} -cd "${WORK}/meta-renesas" -sh meta-rcar-gen3/docs/sample/copyscript/copy_proprietary_softwares.sh -f "${WORK_PROP_DIR}" -cd "${WORK}" -# shellcheck source=/dev/null -source "poky/oe-init-build-env" "${WORK}/build" -#cp "${WORK}/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/bsp/"*.conf ./conf/ -#cp "${WORK}/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/gfx-only/"*.conf ./conf/ -cp "${WORK}/meta-renesas/meta-rcar-gen3/docs/sample/conf/${TARGET_BOARD}/poky-gcc/mmp/"*.conf ./conf -cd "${WORK}/build" -cp conf/local-wayland.conf conf/local.conf -echo 'BB_DANGLINGAPPENDS_WARNONLY ?= "true"' >> conf/local.conf - -# without proprietary files this build does not -##TODO bitbake core-image-weston -bitbake core-image-minimal diff --git a/test/__snapshots__/codebuild-embedded-linux.test.ts.snap b/test/__snapshots__/codebuild-embedded-linux.test.ts.snap deleted file mode 100644 index 8d811aa..0000000 --- a/test/__snapshots__/codebuild-embedded-linux.test.ts.snap +++ /dev/null @@ -1,1656 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`EmbeddedLinuxCodeBuildProjectStack Custom Snapshot 1`] = ` -{ - "Parameters": { - "BootstrapVersion": { - "Default": "/cdk-bootstrap/hnb659fds/version", - "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", - "Type": "AWS::SSM::Parameter::Value", - }, - }, - "Resources": { - "EmbeddedLinuxCodeBuildProject2101BD97": { - "DependsOn": [ - "EmbeddedLinuxCodeBuildProjectPolicyDocumentCDFD1ED5", - ], - "Properties": { - "Artifacts": { - "Type": "NO_ARTIFACTS", - }, - "Cache": { - "Type": "NO_CACHE", - }, - "EncryptionKey": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - "Environment": { - "ComputeType": "BUILD_GENERAL1_XLARGE", - "Image": { - "Fn::Join": [ - "", - [ - { - "Fn::Select": [ - 4, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".dkr.ecr.", - { - "Fn::Select": [ - 3, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".", - { - "Ref": "AWS::URLSuffix", - }, - "/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - ":latest", - ], - ], - }, - "ImagePullCredentialsType": "SERVICE_ROLE", - "PrivilegedMode": true, - "Type": "LINUX_CONTAINER", - }, - "FileSystemLocations": [ - { - "Identifier": "nfs", - "Location": { - "Fn::Join": [ - "", - [ - { - "Ref": "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F", - }, - ".efs.eu-central-1.amazonaws.com:/", - ], - ], - }, - "MountPoint": "/nfs", - "Type": "EFS", - }, - ], - "LogsConfig": { - "CloudWatchLogs": { - "GroupName": { - "Ref": "EmbeddedLinuxCodeBuildProjectLogs790B1140", - }, - "Status": "ENABLED", - }, - }, - "Name": "test-stack", - "ServiceRole": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectRole692E9BCD", - "Arn", - ], - }, - "Source": { - "BuildSpec": "{ - "version": "0.2", - "phases": { - "build": { - "commands": [ - "echo \\"DUMMY BUILDSPEC - can not be empty\\"" - ] - } - }, - "artifacts": { - "files": [ - "**/*" - ], - "base-directory": "." - } -}", - "Type": "NO_SOURCE", - }, - "TimeoutInMinutes": 240, - "VpcConfig": { - "SecurityGroupIds": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectSecurityGroupB289294B", - "GroupId", - ], - }, - ], - "Subnets": [ - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - }, - "Type": "AWS::CodeBuild::Project", - }, - "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F": { - "DeletionPolicy": "Delete", - "Properties": { - "Encrypted": true, - "FileSystemTags": [ - { - "Key": "Name", - "Value": "test-stack/EmbeddedLinuxCodeBuildProjectFilesystem", - }, - ], - }, - "Type": "AWS::EFS::FileSystem", - "UpdateReplacePolicy": "Delete", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsMountTarget1BB9724D2": { - "Properties": { - "FileSystemId": { - "Ref": "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F", - }, - "SecurityGroups": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65", - "GroupId", - ], - }, - ], - "SubnetId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - }, - "Type": "AWS::EFS::MountTarget", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsMountTarget270BB2C65": { - "Properties": { - "FileSystemId": { - "Ref": "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F", - }, - "SecurityGroups": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65", - "GroupId", - ], - }, - ], - "SubnetId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - }, - "Type": "AWS::EFS::MountTarget", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65": { - "Properties": { - "GroupDescription": "test-stack/EmbeddedLinuxCodeBuildProjectFilesystem/EfsSecurityGroup", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1", - }, - ], - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/EmbeddedLinuxCodeBuildProjectFilesystem", - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - "Type": "AWS::EC2::SecurityGroup", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroupfromteststackEmbeddedLinuxCodeBuildProjectSecurityGroup58F8D73B20499408861B": { - "Properties": { - "Description": "from teststackEmbeddedLinuxCodeBuildProjectSecurityGroup58F8D73B:2049", - "FromPort": 2049, - "GroupId": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65", - "GroupId", - ], - }, - "IpProtocol": "tcp", - "SourceSecurityGroupId": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectSecurityGroupB289294B", - "GroupId", - ], - }, - "ToPort": 2049, - }, - "Type": "AWS::EC2::SecurityGroupIngress", - }, - "EmbeddedLinuxCodeBuildProjectLogs790B1140": { - "DeletionPolicy": "Delete", - "Properties": { - "LogGroupName": "test-stack-EmbeddedLinuxCodeBuildProjectLogs", - "RetentionInDays": 365, - }, - "Type": "AWS::Logs::LogGroup", - "UpdateReplacePolicy": "Delete", - }, - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49": { - "DependsOn": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartServiceRole886C2BCC", - ], - "Properties": { - "Code": { - "ZipFile": { - "Fn::Join": [ - "", - [ - " -import boto3 -import json - -ecr_client = boto3.client('ecr') -codepipeline_client = boto3.client('codepipeline') - -def handler(event, context): - print("Received event: " + json.dumps(event, indent=2)) - response = ecr_client.describe_images(repositoryName='", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - "', filter={'tagStatus': 'TAGGED'}) - for i in response['imageDetails']: - if 'latest' in i['imageTags']: - break - else: - print('OS image not found. Stopping execution.') - response = codepipeline_client.stop_pipeline_execution( - pipelineName=event['detail']['pipeline'], - pipelineExecutionId=event['detail']['execution-id'], - abandon=True, - reason='OS image not found in ECR repository. Stopping pipeline until image is present.') - ", - ], - ], - }, - }, - "Handler": "index.handler", - "Role": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartServiceRole886C2BCC", - "Arn", - ], - }, - "Runtime": "python3.10", - }, - "Type": "AWS::Lambda::Function", - }, - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartLogRetentionC530B5EE": { - "Properties": { - "LogGroupName": { - "Fn::Join": [ - "", - [ - "/aws/lambda/", - { - "Ref": "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49", - }, - ], - ], - }, - "RetentionInDays": 365, - "ServiceToken": { - "Fn::GetAtt": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A", - "Arn", - ], - }, - }, - "Type": "Custom::LogRetention", - }, - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartServiceRole886C2BCC": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodeBuildProjectOnPipelineStartRuleA197C004": { - "Properties": { - "EventPattern": { - "detail": { - "execution-trigger": { - "trigger-type": [ - "CreatePipeline", - ], - }, - "state": [ - "STARTED", - ], - }, - "detail-type": [ - "CodePipeline Pipeline Execution State Change", - ], - "source": [ - "aws.codepipeline", - ], - }, - "State": "ENABLED", - "Targets": [ - { - "Arn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49", - "Arn", - ], - }, - "Id": "Target0", - }, - ], - }, - "Type": "AWS::Events::Rule", - }, - "EmbeddedLinuxCodeBuildProjectOnPipelineStartRuleAllowEventRuleteststackEmbeddedLinuxCodeBuildProjectOSImageCheckOnStartDE4F09A20DAF4342": { - "Properties": { - "Action": "lambda:InvokeFunction", - "FunctionName": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49", - "Arn", - ], - }, - "Principal": "events.amazonaws.com", - "SourceArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOnPipelineStartRuleA197C004", - "Arn", - ], - }, - }, - "Type": "AWS::Lambda::Permission", - }, - "EmbeddedLinuxCodeBuildProjectPolicyDocumentCDFD1ED5": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "ec2:CreateNetworkInterface", - "ec2:DescribeNetworkInterfaces", - "ec2:DeleteNetworkInterface", - "ec2:DescribeSubnets", - "ec2:DescribeSecurityGroups", - "ec2:DescribeDhcpOptions", - "ec2:DescribeVpcs", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodeBuildProjectPolicyDocumentCDFD1ED5", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodeBuildProjectRole692E9BCD", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodeBuildProjectRole692E9BCD": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "codebuild.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/AWSCodeBuildAdminAccess", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodeBuildProjectRoleDefaultPolicyFE7F690E": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "ecr:BatchCheckLayerAvailability", - "ecr:GetDownloadUrlForLayer", - "ecr:BatchGetImage", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - }, - { - "Action": "ecr:GetAuthorizationToken", - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": [ - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectLogs790B1140", - "Arn", - ], - }, - }, - { - "Action": "ec2:CreateNetworkInterfacePermission", - "Condition": { - "StringEquals": { - "ec2:AuthorizedService": "codebuild.amazonaws.com", - "ec2:Subnet": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":subnet/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":subnet/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - ], - ], - }, - ], - }, - }, - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":network-interface/*", - ], - ], - }, - }, - { - "Action": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "EmbeddedLinuxCodeBuildProject2101BD97", - }, - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "EmbeddedLinuxCodeBuildProject2101BD97", - }, - ":*", - ], - ], - }, - ], - }, - { - "Action": [ - "codebuild:CreateReportGroup", - "codebuild:CreateReport", - "codebuild:UpdateReport", - "codebuild:BatchPutTestCases", - "codebuild:BatchPutCodeCoverages", - ], - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codebuild:eu-central-1:111111111111:report-group/", - { - "Ref": "EmbeddedLinuxCodeBuildProject2101BD97", - }, - "-*", - ], - ], - }, - }, - { - "Action": [ - "kms:Decrypt", - "kms:Encrypt", - "kms:ReEncrypt*", - "kms:GenerateDataKey*", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - }, - { - "Action": "s3:GetObject", - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": [ - "ec2:DescribeSecurityGroups", - "codestar-connections:GetConnection", - "codestar-connections:GetConnectionToken", - "codeconnections:GetConnectionToken", - "codeconnections:GetConnection", - "codeconnections:ListConnection", - "codeconnections:UseConnection", - "codebuild:ListConnectedOAuthAccounts", - "codebuild:ListRepositories", - "codebuild:PersistOAuthToken", - "codebuild:ImportSourceCredentials", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodeBuildProjectRoleDefaultPolicyFE7F690E", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodeBuildProjectRole692E9BCD", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodeBuildProjectSecurityGroupB289294B": { - "Properties": { - "GroupDescription": "Security Group to allow attaching EFS", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1", - }, - ], - "SecurityGroupIngress": [ - { - "CidrIp": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestvpc8985080ECidrBlockEB7C13CD", - }, - "Description": "NFS Mount Port", - "FromPort": 2049, - "IpProtocol": "tcp", - "ToPort": 2049, - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - "Type": "AWS::EC2::SecurityGroup", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A": { - "DependsOn": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - ], - "Properties": { - "Code": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Handler": "index.handler", - "Role": { - "Fn::GetAtt": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - "Arn", - ], - }, - "Runtime": "nodejs20.x", - "Timeout": 900, - }, - "Type": "AWS::Lambda::Function", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "logs:PutRetentionPolicy", - "logs:DeleteRetentionPolicy", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", - "Roles": [ - { - "Ref": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - }, - "Rules": { - "CheckBootstrapVersion": { - "Assertions": [ - { - "Assert": { - "Fn::Not": [ - { - "Fn::Contains": [ - [ - "1", - "2", - "3", - "4", - "5", - ], - { - "Ref": "BootstrapVersion", - }, - ], - }, - ], - }, - "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", - }, - ], - }, - }, -} -`; - -exports[`EmbeddedLinuxCodeBuildProjectStack Snapshot 1`] = ` -{ - "Parameters": { - "BootstrapVersion": { - "Default": "/cdk-bootstrap/hnb659fds/version", - "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", - "Type": "AWS::SSM::Parameter::Value", - }, - }, - "Resources": { - "EmbeddedLinuxCodeBuildProject2101BD97": { - "DependsOn": [ - "EmbeddedLinuxCodeBuildProjectPolicyDocumentCDFD1ED5", - ], - "Properties": { - "Artifacts": { - "Type": "NO_ARTIFACTS", - }, - "Cache": { - "Type": "NO_CACHE", - }, - "EncryptionKey": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - "Environment": { - "ComputeType": "BUILD_GENERAL1_XLARGE", - "Image": { - "Fn::Join": [ - "", - [ - { - "Fn::Select": [ - 4, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".dkr.ecr.", - { - "Fn::Select": [ - 3, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".", - { - "Ref": "AWS::URLSuffix", - }, - "/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - ":latest", - ], - ], - }, - "ImagePullCredentialsType": "SERVICE_ROLE", - "PrivilegedMode": true, - "Type": "LINUX_CONTAINER", - }, - "FileSystemLocations": [ - { - "Identifier": "nfs", - "Location": { - "Fn::Join": [ - "", - [ - { - "Ref": "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F", - }, - ".efs.eu-central-1.amazonaws.com:/", - ], - ], - }, - "MountPoint": "/nfs", - "Type": "EFS", - }, - ], - "LogsConfig": { - "CloudWatchLogs": { - "GroupName": { - "Ref": "EmbeddedLinuxCodeBuildProjectLogs790B1140", - }, - "Status": "ENABLED", - }, - }, - "Name": "test-stack", - "ServiceRole": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectRole692E9BCD", - "Arn", - ], - }, - "Source": { - "BuildSpec": "{ - "version": "0.2", - "phases": { - "build": { - "commands": [ - "echo \\"DUMMY BUILDSPEC - can not be empty\\"" - ] - } - }, - "artifacts": { - "files": [ - "**/*" - ], - "base-directory": "." - } -}", - "Type": "NO_SOURCE", - }, - "TimeoutInMinutes": 240, - "VpcConfig": { - "SecurityGroupIds": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectSecurityGroupB289294B", - "GroupId", - ], - }, - ], - "Subnets": [ - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - }, - "Type": "AWS::CodeBuild::Project", - }, - "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F": { - "DeletionPolicy": "Delete", - "Properties": { - "Encrypted": true, - "FileSystemTags": [ - { - "Key": "Name", - "Value": "test-stack/EmbeddedLinuxCodeBuildProjectFilesystem", - }, - ], - }, - "Type": "AWS::EFS::FileSystem", - "UpdateReplacePolicy": "Delete", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsMountTarget1BB9724D2": { - "Properties": { - "FileSystemId": { - "Ref": "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F", - }, - "SecurityGroups": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65", - "GroupId", - ], - }, - ], - "SubnetId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - }, - "Type": "AWS::EFS::MountTarget", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsMountTarget270BB2C65": { - "Properties": { - "FileSystemId": { - "Ref": "EmbeddedLinuxCodeBuildProjectFilesystem54E4C11F", - }, - "SecurityGroups": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65", - "GroupId", - ], - }, - ], - "SubnetId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - }, - "Type": "AWS::EFS::MountTarget", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65": { - "Properties": { - "GroupDescription": "test-stack/EmbeddedLinuxCodeBuildProjectFilesystem/EfsSecurityGroup", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1", - }, - ], - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/EmbeddedLinuxCodeBuildProjectFilesystem", - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - "Type": "AWS::EC2::SecurityGroup", - }, - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroupfromteststackEmbeddedLinuxCodeBuildProjectSecurityGroup58F8D73B20499408861B": { - "Properties": { - "Description": "from teststackEmbeddedLinuxCodeBuildProjectSecurityGroup58F8D73B:2049", - "FromPort": 2049, - "GroupId": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectFilesystemEfsSecurityGroup64B52E65", - "GroupId", - ], - }, - "IpProtocol": "tcp", - "SourceSecurityGroupId": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectSecurityGroupB289294B", - "GroupId", - ], - }, - "ToPort": 2049, - }, - "Type": "AWS::EC2::SecurityGroupIngress", - }, - "EmbeddedLinuxCodeBuildProjectLogs790B1140": { - "DeletionPolicy": "Delete", - "Properties": { - "LogGroupName": "test-stack-EmbeddedLinuxCodeBuildProjectLogs", - "RetentionInDays": 365, - }, - "Type": "AWS::Logs::LogGroup", - "UpdateReplacePolicy": "Delete", - }, - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49": { - "DependsOn": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartServiceRole886C2BCC", - ], - "Properties": { - "Code": { - "ZipFile": { - "Fn::Join": [ - "", - [ - " -import boto3 -import json - -ecr_client = boto3.client('ecr') -codepipeline_client = boto3.client('codepipeline') - -def handler(event, context): - print("Received event: " + json.dumps(event, indent=2)) - response = ecr_client.describe_images(repositoryName='", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - "', filter={'tagStatus': 'TAGGED'}) - for i in response['imageDetails']: - if 'latest' in i['imageTags']: - break - else: - print('OS image not found. Stopping execution.') - response = codepipeline_client.stop_pipeline_execution( - pipelineName=event['detail']['pipeline'], - pipelineExecutionId=event['detail']['execution-id'], - abandon=True, - reason='OS image not found in ECR repository. Stopping pipeline until image is present.') - ", - ], - ], - }, - }, - "Handler": "index.handler", - "Role": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartServiceRole886C2BCC", - "Arn", - ], - }, - "Runtime": "python3.10", - }, - "Type": "AWS::Lambda::Function", - }, - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartLogRetentionC530B5EE": { - "Properties": { - "LogGroupName": { - "Fn::Join": [ - "", - [ - "/aws/lambda/", - { - "Ref": "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49", - }, - ], - ], - }, - "RetentionInDays": 365, - "ServiceToken": { - "Fn::GetAtt": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A", - "Arn", - ], - }, - }, - "Type": "Custom::LogRetention", - }, - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartServiceRole886C2BCC": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodeBuildProjectOnPipelineStartRuleA197C004": { - "Properties": { - "EventPattern": { - "detail": { - "execution-trigger": { - "trigger-type": [ - "CreatePipeline", - ], - }, - "state": [ - "STARTED", - ], - }, - "detail-type": [ - "CodePipeline Pipeline Execution State Change", - ], - "source": [ - "aws.codepipeline", - ], - }, - "State": "ENABLED", - "Targets": [ - { - "Arn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49", - "Arn", - ], - }, - "Id": "Target0", - }, - ], - }, - "Type": "AWS::Events::Rule", - }, - "EmbeddedLinuxCodeBuildProjectOnPipelineStartRuleAllowEventRuleteststackEmbeddedLinuxCodeBuildProjectOSImageCheckOnStartDE4F09A20DAF4342": { - "Properties": { - "Action": "lambda:InvokeFunction", - "FunctionName": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOSImageCheckOnStartA4649D49", - "Arn", - ], - }, - "Principal": "events.amazonaws.com", - "SourceArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectOnPipelineStartRuleA197C004", - "Arn", - ], - }, - }, - "Type": "AWS::Lambda::Permission", - }, - "EmbeddedLinuxCodeBuildProjectPolicyDocumentCDFD1ED5": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "ec2:CreateNetworkInterface", - "ec2:DescribeNetworkInterfaces", - "ec2:DeleteNetworkInterface", - "ec2:DescribeSubnets", - "ec2:DescribeSecurityGroups", - "ec2:DescribeDhcpOptions", - "ec2:DescribeVpcs", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodeBuildProjectPolicyDocumentCDFD1ED5", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodeBuildProjectRole692E9BCD", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodeBuildProjectRole692E9BCD": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "codebuild.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/AWSCodeBuildAdminAccess", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodeBuildProjectRoleDefaultPolicyFE7F690E": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "ecr:BatchCheckLayerAvailability", - "ecr:GetDownloadUrlForLayer", - "ecr:BatchGetImage", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - }, - { - "Action": "ecr:GetAuthorizationToken", - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": [ - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodeBuildProjectLogs790B1140", - "Arn", - ], - }, - }, - { - "Action": "ec2:CreateNetworkInterfacePermission", - "Condition": { - "StringEquals": { - "ec2:AuthorizedService": "codebuild.amazonaws.com", - "ec2:Subnet": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":subnet/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":subnet/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - ], - ], - }, - ], - }, - }, - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":network-interface/*", - ], - ], - }, - }, - { - "Action": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "EmbeddedLinuxCodeBuildProject2101BD97", - }, - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "EmbeddedLinuxCodeBuildProject2101BD97", - }, - ":*", - ], - ], - }, - ], - }, - { - "Action": [ - "codebuild:CreateReportGroup", - "codebuild:CreateReport", - "codebuild:UpdateReport", - "codebuild:BatchPutTestCases", - "codebuild:BatchPutCodeCoverages", - ], - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codebuild:eu-central-1:111111111111:report-group/", - { - "Ref": "EmbeddedLinuxCodeBuildProject2101BD97", - }, - "-*", - ], - ], - }, - }, - { - "Action": [ - "kms:Decrypt", - "kms:Encrypt", - "kms:ReEncrypt*", - "kms:GenerateDataKey*", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - }, - { - "Action": [ - "ec2:DescribeSecurityGroups", - "codestar-connections:GetConnection", - "codestar-connections:GetConnectionToken", - "codeconnections:GetConnectionToken", - "codeconnections:GetConnection", - "codeconnections:ListConnection", - "codeconnections:UseConnection", - "codebuild:ListConnectedOAuthAccounts", - "codebuild:ListRepositories", - "codebuild:PersistOAuthToken", - "codebuild:ImportSourceCredentials", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodeBuildProjectRoleDefaultPolicyFE7F690E", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodeBuildProjectRole692E9BCD", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodeBuildProjectSecurityGroupB289294B": { - "Properties": { - "GroupDescription": "Security Group to allow attaching EFS", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1", - }, - ], - "SecurityGroupIngress": [ - { - "CidrIp": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestvpc8985080ECidrBlockEB7C13CD", - }, - "Description": "NFS Mount Port", - "FromPort": 2049, - "IpProtocol": "tcp", - "ToPort": 2049, - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - "Type": "AWS::EC2::SecurityGroup", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A": { - "DependsOn": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - ], - "Properties": { - "Code": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Handler": "index.handler", - "Role": { - "Fn::GetAtt": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - "Arn", - ], - }, - "Runtime": "nodejs20.x", - "Timeout": 900, - }, - "Type": "AWS::Lambda::Function", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "logs:PutRetentionPolicy", - "logs:DeleteRetentionPolicy", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", - "Roles": [ - { - "Ref": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - }, - "Rules": { - "CheckBootstrapVersion": { - "Assertions": [ - { - "Assert": { - "Fn::Not": [ - { - "Fn::Contains": [ - [ - "1", - "2", - "3", - "4", - "5", - ], - { - "Ref": "BootstrapVersion", - }, - ], - }, - ], - }, - "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", - }, - ], - }, - }, -} -`; diff --git a/test/__snapshots__/codepipeline-embedded-linux-base-image.test.ts.snap b/test/__snapshots__/codepipeline-embedded-linux-base-image.test.ts.snap deleted file mode 100644 index c5f1ded..0000000 --- a/test/__snapshots__/codepipeline-embedded-linux-base-image.test.ts.snap +++ /dev/null @@ -1,1083 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`EmbeddedLinuxCodePipelineBaseImageStack Snapshot 1`] = ` -{ - "Outputs": { - "ECRBaseImageCheckCommand": { - "Description": "The AWS CLI command to check if the ECR Image was pushed", - "Value": { - "Fn::Join": [ - "", - [ - "aws ecr list-images --repository-name "", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - "" --query "imageIds[?imageTag=='test-stack']"", - ], - ], - }, - }, - "ECRBaseImageTag": { - "Description": "The ECR Image Tag where the base image will be pushed", - "Value": "test-stack", - }, - "ECRRepositoryName": { - "Description": "The ECR Repository name where the base image will be pushed", - "Value": { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - }, - "SourceURI": { - "Description": "The source-repo bucket uri for this pipeline.", - "Value": { - "Fn::Join": [ - "", - [ - "s3://", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - "/base-image/arbitrary-file.ext", - ], - ], - }, - }, - }, - "Parameters": { - "BootstrapVersion": { - "Default": "/cdk-bootstrap/hnb659fds/version", - "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", - "Type": "AWS::SSM::Parameter::Value", - }, - }, - "Resources": { - "CodePipelineBuildBaseImageBucketDeploymentAwsCliLayerF8B77510": { - "Properties": { - "Content": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Description": "/opt/awscli/aws", - }, - "Type": "AWS::Lambda::LayerVersion", - }, - "CodePipelineBuildBaseImageBucketDeploymentCustomResource9FCDB7FE": { - "DeletionPolicy": "Delete", - "Properties": { - "DestinationBucketKeyPrefix": "base-image", - "DestinationBucketName": { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - "Extract": false, - "OutputObjectKeys": true, - "Prune": true, - "ServiceToken": { - "Fn::GetAtt": [ - "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536", - "Arn", - ], - }, - "SourceBucketNames": [ - "cdk-hnb659fds-assets-111111111111-eu-central-1", - ], - "SourceObjectKeys": [ - "arbitrary-file.ext", - ], - }, - "Type": "Custom::CDKBucketDeployment", - "UpdateReplacePolicy": "Delete", - }, - "CodePipelineBuildBaseImageBucketDeploymentRoleDFF88C19": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "Policies": [ - { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": "arn:aws:logs:eu-central-1:111111111111:log-group:/aws/lambda/EmbeddedLinuxCodePipelineBaseImage-CustomCDKBucketDeployment*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "pipelineSourceBucketDeploymentPolicy", - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "CodePipelineBuildBaseImageBucketDeploymentRoleDefaultPolicy969D32AA": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":s3:::cdk-hnb659fds-assets-111111111111-eu-central-1", - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":s3:::cdk-hnb659fds-assets-111111111111-eu-central-1/*", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "CodePipelineBuildBaseImageBucketDeploymentRoleDefaultPolicy969D32AA", - "Roles": [ - { - "Ref": "CodePipelineBuildBaseImageBucketDeploymentRoleDFF88C19", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "CodePipelineBuildBaseImageBuildLogs48BFE4D7": { - "DeletionPolicy": "Delete", - "Properties": { - "LogGroupName": "test-stack-CodePipelineBuildBaseImageBuildLogs", - "RetentionInDays": 365, - }, - "Type": "AWS::Logs::LogGroup", - "UpdateReplacePolicy": "Delete", - }, - "CodePipelineBuildBaseImageCodePipeline7907AE86": { - "DependsOn": [ - "CodePipelineBuildBaseImageCodePipelineRoleDefaultPolicy677B7353", - "CodePipelineBuildBaseImageCodePipelineRole73E36B25", - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "ArtifactStore": { - "Location": { - "Fn::ImportValue": "test-common:ExportsOutputReftestartF0FFB4BEEC699EE6", - }, - "Type": "S3", - }, - "Name": "test-stack", - "PipelineType": "V1", - "RestartExecutionOnUpdate": true, - "RoleArn": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineRole73E36B25", - "Arn", - ], - }, - "Stages": [ - { - "Actions": [ - { - "ActionTypeId": { - "Category": "Source", - "Owner": "AWS", - "Provider": "S3", - "Version": "1", - }, - "Configuration": { - "PollForSourceChanges": false, - "S3Bucket": { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - "S3ObjectKey": "base-image/arbitrary-file.ext", - }, - "Name": "Source", - "OutputArtifacts": [ - { - "Name": "Source", - }, - ], - "RoleArn": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineSourceCodePipelineActionRole0F967AB4", - "Arn", - ], - }, - "RunOrder": 1, - }, - ], - "Name": "Source", - }, - { - "Actions": [ - { - "ActionTypeId": { - "Category": "Build", - "Owner": "AWS", - "Provider": "CodeBuild", - "Version": "1", - }, - "Configuration": { - "ProjectName": { - "Ref": "CodePipelineBuildBaseImageProject69590E59", - }, - }, - "InputArtifacts": [ - { - "Name": "Source", - }, - ], - "Name": "Build", - "RoleArn": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineBuildCodePipelineActionRoleA6CA6F27", - "Arn", - ], - }, - "RunOrder": 1, - }, - ], - "Name": "Build", - }, - ], - }, - "Type": "AWS::CodePipeline::Pipeline", - }, - "CodePipelineBuildBaseImageCodePipelineBuildCodePipelineActionRoleA6CA6F27": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineRole73E36B25", - "Arn", - ], - }, - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "CodePipelineBuildBaseImageCodePipelineBuildCodePipelineActionRoleDefaultPolicyDDAF06D1": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "codebuild:BatchGetBuilds", - "codebuild:StartBuild", - "codebuild:StopBuild", - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageProject69590E59", - "Arn", - ], - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "CodePipelineBuildBaseImageCodePipelineBuildCodePipelineActionRoleDefaultPolicyDDAF06D1", - "Roles": [ - { - "Ref": "CodePipelineBuildBaseImageCodePipelineBuildCodePipelineActionRoleA6CA6F27", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "CodePipelineBuildBaseImageCodePipelineEventsRoleD9A83D03": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "events.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "CodePipelineBuildBaseImageCodePipelineEventsRoleDefaultPolicyFCB5C7C5": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": "codepipeline:StartPipelineExecution", - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codepipeline:eu-central-1:111111111111:", - { - "Ref": "CodePipelineBuildBaseImageCodePipeline7907AE86", - }, - ], - ], - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "CodePipelineBuildBaseImageCodePipelineEventsRoleDefaultPolicyFCB5C7C5", - "Roles": [ - { - "Ref": "CodePipelineBuildBaseImageCodePipelineEventsRoleD9A83D03", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "CodePipelineBuildBaseImageCodePipelineRole73E36B25": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "codepipeline.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "CodePipelineBuildBaseImageCodePipelineRoleDefaultPolicy677B7353": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineSourceCodePipelineActionRole0F967AB4", - "Arn", - ], - }, - }, - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineBuildCodePipelineActionRoleA6CA6F27", - "Arn", - ], - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "CodePipelineBuildBaseImageCodePipelineRoleDefaultPolicy677B7353", - "Roles": [ - { - "Ref": "CodePipelineBuildBaseImageCodePipelineRole73E36B25", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "CodePipelineBuildBaseImageCodePipelineSourceCodePipelineActionRole0F967AB4": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineRole73E36B25", - "Arn", - ], - }, - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "CodePipelineBuildBaseImageCodePipelineSourceCodePipelineActionRoleDefaultPolicyC48B6A73": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - "/base-image/arbitrary-file.ext", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "CodePipelineBuildBaseImageCodePipelineSourceCodePipelineActionRoleDefaultPolicyC48B6A73", - "Roles": [ - { - "Ref": "CodePipelineBuildBaseImageCodePipelineSourceCodePipelineActionRole0F967AB4", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "CodePipelineBuildBaseImageCodePipelineteststackCodePipelineBuildBaseImageCodePipelineBEEAC58ESourceEventRulebaseimage1ccdf1583059080a3911192a20ae50cc6b3bfa57d56d0b5b4d3866f920b3ad20zipE860D013": { - "DependsOn": [ - "CodePipelineBuildBaseImageProject69590E59", - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "CodePipelineBuildBaseImageProjectRole12B97AA7", - ], - "Properties": { - "EventPattern": { - "detail": { - "eventName": [ - "CompleteMultipartUpload", - "CopyObject", - "PutObject", - ], - "requestParameters": { - "bucketName": [ - { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - ], - "key": [ - "base-image/arbitrary-file.ext", - ], - }, - "resources": { - "ARN": [ - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - "/base-image/arbitrary-file.ext", - ], - ], - }, - ], - }, - }, - "detail-type": [ - "AWS API Call via CloudTrail", - ], - "source": [ - "aws.s3", - ], - }, - "State": "ENABLED", - "Targets": [ - { - "Arn": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codepipeline:eu-central-1:111111111111:", - { - "Ref": "CodePipelineBuildBaseImageCodePipeline7907AE86", - }, - ], - ], - }, - "Id": "Target0", - "RoleArn": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineEventsRoleD9A83D03", - "Arn", - ], - }, - }, - ], - }, - "Type": "AWS::Events::Rule", - }, - "CodePipelineBuildBaseImageProject69590E59": { - "DependsOn": [ - "CodePipelineBuildBaseImageBucketDeploymentAwsCliLayerF8B77510", - "CodePipelineBuildBaseImageBucketDeploymentCustomResource9FCDB7FE", - ], - "Properties": { - "Artifacts": { - "Type": "CODEPIPELINE", - }, - "Cache": { - "Type": "NO_CACHE", - }, - "EncryptionKey": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - "Environment": { - "ComputeType": "BUILD_GENERAL1_MEDIUM", - "EnvironmentVariables": [ - { - "Name": "ECR_REPOSITORY_URI", - "Type": "PLAINTEXT", - "Value": { - "Fn::Join": [ - "", - [ - { - "Fn::Select": [ - 4, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".dkr.ecr.", - { - "Fn::Select": [ - 3, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".", - { - "Ref": "AWS::URLSuffix", - }, - "/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - ], - ], - }, - }, - { - "Name": "AWS_ACCOUNT_ID", - "Type": "PLAINTEXT", - "Value": "111111111111", - }, - { - "Name": "AWS_DEFAULT_REGION", - "Type": "PLAINTEXT", - "Value": "eu-central-1", - }, - { - "Name": "IMAGE_TAG", - "Type": "PLAINTEXT", - "Value": "test-stack", - }, - ], - "Image": "aws/codebuild/standard:7.0", - "ImagePullCredentialsType": "CODEBUILD", - "PrivilegedMode": true, - "Type": "LINUX_CONTAINER", - }, - "LogsConfig": { - "CloudWatchLogs": { - "GroupName": { - "Ref": "CodePipelineBuildBaseImageBuildLogs48BFE4D7", - }, - "Status": "ENABLED", - }, - }, - "Name": "test-stack", - "ServiceRole": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageProjectRole12B97AA7", - "Arn", - ], - }, - "Source": { - "BuildSpec": "buildspec.yml", - "Type": "CODEPIPELINE", - }, - }, - "Type": "AWS::CodeBuild::Project", - }, - "CodePipelineBuildBaseImageProjectRole12B97AA7": { - "DependsOn": [ - "CodePipelineBuildBaseImageBucketDeploymentAwsCliLayerF8B77510", - "CodePipelineBuildBaseImageBucketDeploymentCustomResource9FCDB7FE", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "codebuild.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC": { - "DependsOn": [ - "CodePipelineBuildBaseImageBucketDeploymentAwsCliLayerF8B77510", - "CodePipelineBuildBaseImageBucketDeploymentCustomResource9FCDB7FE", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageBuildLogs48BFE4D7", - "Arn", - ], - }, - }, - { - "Action": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "CodePipelineBuildBaseImageProject69590E59", - }, - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "CodePipelineBuildBaseImageProject69590E59", - }, - ":*", - ], - ], - }, - ], - }, - { - "Action": [ - "codebuild:CreateReportGroup", - "codebuild:CreateReport", - "codebuild:UpdateReport", - "codebuild:BatchPutTestCases", - "codebuild:BatchPutCodeCoverages", - ], - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codebuild:eu-central-1:111111111111:report-group/", - { - "Ref": "CodePipelineBuildBaseImageProject69590E59", - }, - "-*", - ], - ], - }, - }, - { - "Action": [ - "kms:Decrypt", - "kms:Encrypt", - "kms:ReEncrypt*", - "kms:GenerateDataKey*", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - }, - { - "Action": [ - "ecr:BatchCheckLayerAvailability", - "ecr:GetDownloadUrlForLayer", - "ecr:BatchGetImage", - "ecr:CompleteLayerUpload", - "ecr:UploadLayerPart", - "ecr:InitiateLayerUpload", - "ecr:PutImage", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - }, - { - "Action": "ecr:GetAuthorizationToken", - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "CodePipelineBuildBaseImageProjectRoleDefaultPolicy6F99FFCC", - "Roles": [ - { - "Ref": "CodePipelineBuildBaseImageProjectRole12B97AA7", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "CodePipelineBuildBaseImageWeeklyRefreshSchedule8D68D946": { - "Properties": { - "ScheduleExpression": "cron(0 6 ? * Monday *)", - "State": "ENABLED", - "Targets": [ - { - "Arn": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codepipeline:eu-central-1:111111111111:", - { - "Ref": "CodePipelineBuildBaseImageCodePipeline7907AE86", - }, - ], - ], - }, - "Id": "Target0", - "RoleArn": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageCodePipelineEventsRoleD9A83D03", - "Arn", - ], - }, - }, - ], - }, - "Type": "AWS::Events::Rule", - }, - "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536": { - "DependsOn": [ - "CodePipelineBuildBaseImageBucketDeploymentRoleDefaultPolicy969D32AA", - "CodePipelineBuildBaseImageBucketDeploymentRoleDFF88C19", - ], - "Properties": { - "Code": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Environment": { - "Variables": { - "AWS_CA_BUNDLE": "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", - }, - }, - "Handler": "index.handler", - "Layers": [ - { - "Ref": "CodePipelineBuildBaseImageBucketDeploymentAwsCliLayerF8B77510", - }, - ], - "Role": { - "Fn::GetAtt": [ - "CodePipelineBuildBaseImageBucketDeploymentRoleDFF88C19", - "Arn", - ], - }, - "Runtime": "python3.11", - "Timeout": 900, - }, - "Type": "AWS::Lambda::Function", - }, - }, - "Rules": { - "CheckBootstrapVersion": { - "Assertions": [ - { - "Assert": { - "Fn::Not": [ - { - "Fn::Contains": [ - [ - "1", - "2", - "3", - "4", - "5", - ], - { - "Ref": "BootstrapVersion", - }, - ], - }, - ], - }, - "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", - }, - ], - }, - }, -} -`; diff --git a/test/__snapshots__/codepipeline-embedded-linux.test.ts.snap b/test/__snapshots__/codepipeline-embedded-linux.test.ts.snap deleted file mode 100644 index 2190b4c..0000000 --- a/test/__snapshots__/codepipeline-embedded-linux.test.ts.snap +++ /dev/null @@ -1,2019 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`EmbeddedLinuxCodePipelineStack Snapshot 1`] = ` -{ - "Outputs": { - "ArtifactURI": { - "Description": "The artifact bucket of this pipeline.", - "Value": { - "Fn::Join": [ - "", - [ - "s3://", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestartF0FFB4BEEC699EE6", - }, - "/custom/arbitrary-file.ext", - ], - ], - }, - }, - "OutputURI": { - "Description": "The output bucket of this pipeline.", - "Value": { - "Fn::Join": [ - "", - [ - "s3://", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestoutA50725182A5BCA18", - }, - "/custom", - ], - ], - }, - }, - "SourceURI": { - "Description": "The source bucket uri for this pipeline.", - "Value": { - "Fn::Join": [ - "", - [ - "s3://", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - "/custom/arbitrary-file.ext", - ], - ], - }, - }, - }, - "Parameters": { - "BootstrapVersion": { - "Default": "/cdk-bootstrap/hnb659fds/version", - "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", - "Type": "AWS::SSM::Parameter::Value", - }, - }, - "Resources": { - "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineBucketDeploymentRoleDefaultPolicy6C7ED123", - "EmbeddedLinuxCodePipelineBucketDeploymentRoleC8070F49", - ], - "Properties": { - "Code": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Environment": { - "Variables": { - "AWS_CA_BUNDLE": "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", - }, - }, - "Handler": "index.handler", - "Layers": [ - { - "Ref": "EmbeddedLinuxCodePipelineBucketDeploymentAwsCliLayerAA1BBC13", - }, - ], - "Role": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineBucketDeploymentRoleC8070F49", - "Arn", - ], - }, - "Runtime": "python3.11", - "Timeout": 900, - }, - "Type": "AWS::Lambda::Function", - }, - "EmbeddedLinuxCodePipeline4B3C7651": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineRoleDefaultPolicy8CDA8ACC", - "EmbeddedLinuxCodePipelineRole784D6893", - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "ArtifactStore": { - "Location": { - "Fn::ImportValue": "test-common:ExportsOutputReftestartF0FFB4BEEC699EE6", - }, - "Type": "S3", - }, - "Name": "test-stack", - "PipelineType": "V1", - "RestartExecutionOnUpdate": true, - "RoleArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineRole784D6893", - "Arn", - ], - }, - "Stages": [ - { - "Actions": [ - { - "ActionTypeId": { - "Category": "Source", - "Owner": "AWS", - "Provider": "S3", - "Version": "1", - }, - "Configuration": { - "PollForSourceChanges": false, - "S3Bucket": { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - "S3ObjectKey": "custom/arbitrary-file.ext", - }, - "Name": "Source", - "OutputArtifacts": [ - { - "Name": "Source", - }, - ], - "RoleArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineSourceCodePipelineActionRole1B690AB7", - "Arn", - ], - }, - "RunOrder": 1, - }, - ], - "Name": "Source", - }, - { - "Actions": [ - { - "ActionTypeId": { - "Category": "Build", - "Owner": "AWS", - "Provider": "CodeBuild", - "Version": "1", - }, - "Configuration": { - "ProjectName": { - "Ref": "EmbeddedLinuxCodePipelineProjectF55E3B36", - }, - }, - "InputArtifacts": [ - { - "Name": "Source", - }, - ], - "Name": "Build", - "OutputArtifacts": [ - { - "Name": "Artifact_Build_Build", - }, - ], - "RoleArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineBuildCodePipelineActionRoleEE85AA1E", - "Arn", - ], - }, - "RunOrder": 1, - }, - ], - "Name": "Build", - }, - { - "Actions": [ - { - "ActionTypeId": { - "Category": "Deploy", - "Owner": "AWS", - "Provider": "S3", - "Version": "1", - }, - "Configuration": { - "BucketName": { - "Fn::ImportValue": "test-common:ExportsOutputReftestoutA50725182A5BCA18", - }, - "Extract": "true", - "ObjectKey": "custom", - }, - "InputArtifacts": [ - { - "Name": "Artifact_Build_Build", - }, - ], - "Name": "Output", - "RoleArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineOutputCodePipelineActionRole999D254E", - "Arn", - ], - }, - "RunOrder": 1, - }, - ], - "Name": "Output", - }, - ], - }, - "Type": "AWS::CodePipeline::Pipeline", - }, - "EmbeddedLinuxCodePipelineBucketDeploymentAwsCliLayerAA1BBC13": { - "Properties": { - "Content": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Description": "/opt/awscli/aws", - }, - "Type": "AWS::Lambda::LayerVersion", - }, - "EmbeddedLinuxCodePipelineBucketDeploymentCustomResourceBA39990C": { - "DeletionPolicy": "Delete", - "Properties": { - "DestinationBucketKeyPrefix": "custom", - "DestinationBucketName": { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - "Extract": false, - "OutputObjectKeys": true, - "Prune": true, - "ServiceToken": { - "Fn::GetAtt": [ - "CustomCDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C81C01536", - "Arn", - ], - }, - "SourceBucketNames": [ - "cdk-hnb659fds-assets-111111111111-eu-central-1", - ], - "SourceObjectKeys": [ - "arbitrary-file.ext", - ], - }, - "Type": "Custom::CDKBucketDeployment", - "UpdateReplacePolicy": "Delete", - }, - "EmbeddedLinuxCodePipelineBucketDeploymentRoleC8070F49": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "Policies": [ - { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": "arn:aws:logs:eu-central-1:111111111111:log-group:/aws/lambda/EmbeddedLinuxCodePipelineBaseImage-CustomCDKBucketDeployment*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "pipelineSourceBucketDeploymentPolicy", - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineBucketDeploymentRoleDefaultPolicy6C7ED123": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":s3:::cdk-hnb659fds-assets-111111111111-eu-central-1", - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":s3:::cdk-hnb659fds-assets-111111111111-eu-central-1/*", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineBucketDeploymentRoleDefaultPolicy6C7ED123", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineBucketDeploymentRoleC8070F49", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineBuildCodePipelineActionRoleDefaultPolicy44A54C9E": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "codebuild:BatchGetBuilds", - "codebuild:StartBuild", - "codebuild:StopBuild", - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "Arn", - ], - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineBuildCodePipelineActionRoleDefaultPolicy44A54C9E", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineBuildCodePipelineActionRoleEE85AA1E", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineBuildCodePipelineActionRoleEE85AA1E": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineRole784D6893", - "Arn", - ], - }, - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineBuildProjectSecurityGroup35690F9F": { - "Properties": { - "GroupDescription": "Security Group to allow attaching EFS", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1", - }, - ], - "SecurityGroupIngress": [ - { - "CidrIp": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestvpc8985080ECidrBlockEB7C13CD", - }, - "Description": "NFS Mount Port", - "FromPort": 2049, - "IpProtocol": "tcp", - "ToPort": 2049, - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - "Type": "AWS::EC2::SecurityGroup", - }, - "EmbeddedLinuxCodePipelineCheckOSAndStop8C4E93D6": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": "codepipeline:StopCodePipelineExecution", - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codepipeline:eu-central-1:111111111111:", - { - "Ref": "EmbeddedLinuxCodePipeline4B3C7651", - }, - ], - ], - }, - }, - { - "Action": "ecr:DescribeImages", - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineCheckOSAndStop8C4E93D6", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineOSImageCheckOnStartServiceRoleEBA0BE6A", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineEventsRole8EBF7C1D": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "events.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineEventsRoleDefaultPolicyF669575E": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": "codepipeline:StartPipelineExecution", - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codepipeline:eu-central-1:111111111111:", - { - "Ref": "EmbeddedLinuxCodePipeline4B3C7651", - }, - ], - ], - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineEventsRoleDefaultPolicyF669575E", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineEventsRole8EBF7C1D", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineFileSystemB969CAF1": { - "DeletionPolicy": "Delete", - "Properties": { - "Encrypted": true, - "FileSystemTags": [ - { - "Key": "Name", - "Value": "test-stack/EmbeddedLinuxCodePipelineFileSystem", - }, - ], - }, - "Type": "AWS::EFS::FileSystem", - "UpdateReplacePolicy": "Delete", - }, - "EmbeddedLinuxCodePipelineFileSystemEfsMountTarget1CA0AA616": { - "Properties": { - "FileSystemId": { - "Ref": "EmbeddedLinuxCodePipelineFileSystemB969CAF1", - }, - "SecurityGroups": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineFileSystemEfsSecurityGroup35971CF1", - "GroupId", - ], - }, - ], - "SubnetId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - }, - "Type": "AWS::EFS::MountTarget", - }, - "EmbeddedLinuxCodePipelineFileSystemEfsMountTarget24B554859": { - "Properties": { - "FileSystemId": { - "Ref": "EmbeddedLinuxCodePipelineFileSystemB969CAF1", - }, - "SecurityGroups": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineFileSystemEfsSecurityGroup35971CF1", - "GroupId", - ], - }, - ], - "SubnetId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - }, - "Type": "AWS::EFS::MountTarget", - }, - "EmbeddedLinuxCodePipelineFileSystemEfsSecurityGroup35971CF1": { - "Properties": { - "GroupDescription": "test-stack/EmbeddedLinuxCodePipelineFileSystem/EfsSecurityGroup", - "SecurityGroupEgress": [ - { - "CidrIp": "0.0.0.0/0", - "Description": "Allow all outbound traffic by default", - "IpProtocol": "-1", - }, - ], - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/EmbeddedLinuxCodePipelineFileSystem", - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - "Type": "AWS::EC2::SecurityGroup", - }, - "EmbeddedLinuxCodePipelineFileSystemEfsSecurityGroupfromteststackEmbeddedLinuxCodePipelineBuildProjectSecurityGroup418A122320491D06894E": { - "Properties": { - "Description": "from teststackEmbeddedLinuxCodePipelineBuildProjectSecurityGroup418A1223:2049", - "FromPort": 2049, - "GroupId": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineFileSystemEfsSecurityGroup35971CF1", - "GroupId", - ], - }, - "IpProtocol": "tcp", - "SourceSecurityGroupId": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineBuildProjectSecurityGroup35690F9F", - "GroupId", - ], - }, - "ToPort": 2049, - }, - "Type": "AWS::EC2::SecurityGroupIngress", - }, - "EmbeddedLinuxCodePipelineOSImageCheckOnStart9461FE82": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineOSImageCheckOnStartServiceRoleEBA0BE6A", - ], - "Properties": { - "Code": { - "ZipFile": { - "Fn::Join": [ - "", - [ - " - import boto3 - import json - - ecr_client = boto3.client('ecr') - codepipeline_client = boto3.client('codepipeline') - - def handler(event, context): - print("Received event: " + json.dumps(event, indent=2)) - response = ecr_client.describe_images(repositoryName='", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - "', filter={'tagStatus': 'TAGGED'}) - for i in response['imageDetails']: - if 'latest' in i['ecrRepositoryImageTags']: - break - else: - print('OS image not found. Stopping execution.') - response = codepipeline_client.stop_pipeline_execution( - pipelineName=event['detail']['pipeline'], - pipelineExecutionId=event['detail']['execution-id'], - abandon=True, - reason='OS image not found in ECR repository. Stopping pipeline until image is present.') - ", - ], - ], - }, - }, - "Handler": "index.handler", - "Role": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineOSImageCheckOnStartServiceRoleEBA0BE6A", - "Arn", - ], - }, - "Runtime": "python3.10", - }, - "Type": "AWS::Lambda::Function", - }, - "EmbeddedLinuxCodePipelineOSImageCheckOnStartLogRetentionF9BA1BAC": { - "Properties": { - "LogGroupName": { - "Fn::Join": [ - "", - [ - "/aws/lambda/", - { - "Ref": "EmbeddedLinuxCodePipelineOSImageCheckOnStart9461FE82", - }, - ], - ], - }, - "RetentionInDays": 365, - "ServiceToken": { - "Fn::GetAtt": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A", - "Arn", - ], - }, - }, - "Type": "Custom::LogRetention", - }, - "EmbeddedLinuxCodePipelineOSImageCheckOnStartServiceRoleEBA0BE6A": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineOnCodePipelineStartRule0A57D4C5": { - "Properties": { - "EventPattern": { - "detail": { - "execution-trigger": { - "trigger-type": [ - "CreateCodePipeline", - ], - }, - "state": [ - "STARTED", - ], - }, - "detail-type": [ - "CodeCodePipeline CodePipeline Execution State Change", - ], - "source": [ - "aws.codepipeline", - ], - }, - "State": "ENABLED", - "Targets": [ - { - "Arn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineOSImageCheckOnStart9461FE82", - "Arn", - ], - }, - "Id": "Target0", - }, - ], - }, - "Type": "AWS::Events::Rule", - }, - "EmbeddedLinuxCodePipelineOnCodePipelineStartRuleAllowEventRuleteststackEmbeddedLinuxCodePipelineOSImageCheckOnStart43D18F0A7FAE588F": { - "Properties": { - "Action": "lambda:InvokeFunction", - "FunctionName": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineOSImageCheckOnStart9461FE82", - "Arn", - ], - }, - "Principal": "events.amazonaws.com", - "SourceArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineOnCodePipelineStartRule0A57D4C5", - "Arn", - ], - }, - }, - "Type": "AWS::Lambda::Permission", - }, - "EmbeddedLinuxCodePipelineOutputCodePipelineActionRole999D254E": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineRole784D6893", - "Arn", - ], - }, - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineOutputCodePipelineActionRoleDefaultPolicy75D08DD8": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineOutputCodePipelineActionRoleDefaultPolicy75D08DD8", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineOutputCodePipelineActionRole999D254E", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineProjectF55E3B36": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineBucketDeploymentAwsCliLayerAA1BBC13", - "EmbeddedLinuxCodePipelineBucketDeploymentCustomResourceBA39990C", - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - ], - "Properties": { - "Artifacts": { - "Type": "CODEPIPELINE", - }, - "Cache": { - "Type": "NO_CACHE", - }, - "EncryptionKey": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - "Environment": { - "ComputeType": "BUILD_GENERAL1_XLARGE", - "EnvironmentVariables": [ - { - "Name": "AWS_ACCOUNT_ID", - "Type": "PLAINTEXT", - "Value": "111111111111", - }, - { - "Name": "AWS_DEFAULT_REGION", - "Type": "PLAINTEXT", - "Value": "eu-central-1", - }, - { - "Name": "PIPELINE_PROJECT_NAME", - "Type": "PLAINTEXT", - "Value": "test-stack", - }, - { - "Name": "PIPELINE_OUTPUT_BUCKET", - "Type": "PLAINTEXT", - "Value": { - "Fn::ImportValue": "test-common:ExportsOutputReftestoutA50725182A5BCA18", - }, - }, - { - "Name": "PIPELINE_OUTPUT_BUCKET_PREFIX", - "Type": "PLAINTEXT", - "Value": "custom", - }, - { - "Name": "VM_IMPORT_ROLE", - "Type": "PLAINTEXT", - "Value": { - "Ref": "EmbeddedLinuxCodePipelineVMImportRole68B53DB4", - }, - }, - ], - "Image": { - "Fn::Join": [ - "", - [ - { - "Fn::Select": [ - 4, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".dkr.ecr.", - { - "Fn::Select": [ - 3, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - ], - }, - ], - }, - ".", - { - "Ref": "AWS::URLSuffix", - }, - "/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestecr18D9BBA8F49E3A2C", - }, - ":latest", - ], - ], - }, - "ImagePullCredentialsType": "SERVICE_ROLE", - "PrivilegedMode": true, - "Type": "LINUX_CONTAINER", - }, - "FileSystemLocations": [ - { - "Identifier": "nfs", - "Location": { - "Fn::Join": [ - "", - [ - { - "Ref": "EmbeddedLinuxCodePipelineFileSystemB969CAF1", - }, - ".efs.eu-central-1.amazonaws.com:/", - ], - ], - }, - "MountPoint": "/nfs", - "Type": "EFS", - }, - ], - "LogsConfig": { - "CloudWatchLogs": { - "GroupName": { - "Ref": "EmbeddedLinuxCodePipelineProjectLogsBA5DB55C", - }, - "Status": "ENABLED", - }, - }, - "Name": "test-stack", - "ServiceRole": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - "Arn", - ], - }, - "Source": { - "BuildSpec": "build.buildspec.yml", - "Type": "CODEPIPELINE", - }, - "TimeoutInMinutes": 240, - "VpcConfig": { - "SecurityGroupIds": [ - { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineBuildProjectSecurityGroup35690F9F", - "GroupId", - ], - }, - ], - "Subnets": [ - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - ], - "VpcId": { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpc8985080E5120E245", - }, - }, - }, - "Type": "AWS::CodeBuild::Project", - }, - "EmbeddedLinuxCodePipelineProjectLogsBA5DB55C": { - "DeletionPolicy": "Delete", - "Properties": { - "LogGroupName": "test-stack-EmbeddedLinuxCodePipelineProjectLogs", - "RetentionInDays": 365, - }, - "Type": "AWS::Logs::LogGroup", - "UpdateReplacePolicy": "Delete", - }, - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineBucketDeploymentAwsCliLayerAA1BBC13", - "EmbeddedLinuxCodePipelineBucketDeploymentCustomResourceBA39990C", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "ec2:CreateNetworkInterface", - "ec2:DescribeNetworkInterfaces", - "ec2:DeleteNetworkInterface", - "ec2:DescribeSubnets", - "ec2:DescribeSecurityGroups", - "ec2:DescribeDhcpOptions", - "ec2:DescribeVpcs", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineBucketDeploymentAwsCliLayerAA1BBC13", - "EmbeddedLinuxCodePipelineBucketDeploymentCustomResourceBA39990C", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "ecr:BatchCheckLayerAvailability", - "ecr:GetDownloadUrlForLayer", - "ecr:BatchGetImage", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestecr18D9BBA8Arn6B304346", - }, - }, - { - "Action": "ecr:GetAuthorizationToken", - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": [ - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineProjectLogsBA5DB55C", - "Arn", - ], - }, - }, - { - "Action": "ec2:CreateNetworkInterfacePermission", - "Condition": { - "StringEquals": { - "ec2:AuthorizedService": "codebuild.amazonaws.com", - "ec2:Subnet": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":subnet/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet1Subnet865FB50A19DF49CF", - }, - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":subnet/", - { - "Fn::ImportValue": "test-common:ExportsOutputReftestvpcPrivateSubnet2Subnet23D3396F45FDAD97", - }, - ], - ], - }, - ], - }, - }, - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":ec2:", - { - "Ref": "AWS::Region", - }, - ":", - { - "Ref": "AWS::AccountId", - }, - ":network-interface/*", - ], - ], - }, - }, - { - "Action": [ - "logs:CreateLogGroup", - "logs:CreateLogStream", - "logs:PutLogEvents", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "EmbeddedLinuxCodePipelineProjectF55E3B36", - }, - ], - ], - }, - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":logs:eu-central-1:111111111111:log-group:/aws/codebuild/", - { - "Ref": "EmbeddedLinuxCodePipelineProjectF55E3B36", - }, - ":*", - ], - ], - }, - ], - }, - { - "Action": [ - "codebuild:CreateReportGroup", - "codebuild:CreateReport", - "codebuild:UpdateReport", - "codebuild:BatchPutTestCases", - "codebuild:BatchPutCodeCoverages", - ], - "Effect": "Allow", - "Resource": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codebuild:eu-central-1:111111111111:report-group/", - { - "Ref": "EmbeddedLinuxCodePipelineProjectF55E3B36", - }, - "-*", - ], - ], - }, - }, - { - "Action": [ - "kms:Decrypt", - "kms:Encrypt", - "kms:ReEncrypt*", - "kms:GenerateDataKey*", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - }, - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "ec2:CreateImage", - "ec2:CreateTags", - "ec2:DescribeImages", - "ec2:DescribeSnapshots", - "ec2:DescribeImportSnapshotTasks", - "ec2:DescribeTags", - "ec2:CancelImportTask", - ], - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": "ec2:ImportSnapshot", - "Effect": "Allow", - "Resource": [ - "arn:aws:ec2:eu-central-1:111111111111:import-snapshot-task/*", - "arn:aws:ec2:eu-central-1::snapshot/*", - ], - }, - { - "Action": [ - "s3:GetObject", - "s3:ListBucket", - "s3:PutObject", - "s3:PutObjectTagging", - "s3:AbortMultipartUpload", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "ec2:RegisterImage", - "ec2:DeregisterImage", - "ec2:CreateStoreImageTask", - ], - "Effect": "Allow", - "Resource": [ - "arn:aws:ec2:eu-central-1::image/*", - "arn:aws:ec2:eu-central-1::snapshot/snap-*", - ], - }, - { - "Action": [ - "ebs:CompleteSnapshot", - "ebs:GetSnapshotBlock", - "ebs:ListChangedBlocks", - "ebs:ListSnapshotBlocks", - "ebs:PutSnapshotBlock", - ], - "Effect": "Allow", - "Resource": "arn:aws:ec2:eu-central-1::snapshot/*", - }, - { - "Action": [ - "ec2:DescribeStoreImageTasks", - "ec2:GetEbsEncryptionByDefault", - ], - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineBucketDeploymentAwsCliLayerAA1BBC13", - "EmbeddedLinuxCodePipelineBucketDeploymentCustomResourceBA39990C", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "codebuild.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineRole784D6893": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "codepipeline.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineRoleDefaultPolicy8CDA8ACC": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineSourceCodePipelineActionRole1B690AB7", - "Arn", - ], - }, - }, - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineBuildCodePipelineActionRoleEE85AA1E", - "Arn", - ], - }, - }, - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineOutputCodePipelineActionRole999D254E", - "Arn", - ], - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineRoleDefaultPolicy8CDA8ACC", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineRole784D6893", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineSourceCodePipelineActionRole1B690AB7": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineRole784D6893", - "Arn", - ], - }, - }, - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineSourceCodePipelineActionRoleDefaultPolicy2FB1A568": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:GetObject*", - "s3:GetBucket*", - "s3:List*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - "/custom/arbitrary-file.ext", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:DeleteObject*", - "s3:PutObject", - "s3:PutObjectLegalHold", - "s3:PutObjectRetention", - "s3:PutObjectTagging", - "s3:PutObjectVersionTagging", - "s3:Abort*", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestartF0FFB4BEArnE74A2E94", - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "EmbeddedLinuxCodePipelineSourceCodePipelineActionRoleDefaultPolicy2FB1A568", - "Roles": [ - { - "Ref": "EmbeddedLinuxCodePipelineSourceCodePipelineActionRole1B690AB7", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "EmbeddedLinuxCodePipelineVMImportRole68B53DB4": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Condition": { - "StringEquals": { - "sts:ExternalId": "vmimport", - }, - }, - "Effect": "Allow", - "Principal": { - "Service": "vmie.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "Policies": [ - { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "s3:GetBucketLocation", - "s3:GetObject", - "s3:ListBucket", - ], - "Effect": "Allow", - "Resource": [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377", - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "ec2:CreateTags", - "ec2:DescribeTags", - ], - "Condition": { - "StringEquals": { - "ec2:ResourceTag/CreatedBy": [ - "test-stack", - ], - }, - }, - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": "ec2:CopySnapshot", - "Effect": "Allow", - "Resource": "arn:aws:ec2:eu-central-1::snapshot/*", - }, - { - "Action": "ec2:DescribeSnapshots", - "Effect": "Allow", - "Resource": "*", - }, - { - "Action": [ - "kms:CreateGrant", - "kms:Decrypt", - "kms:DescribeKey", - "kms:GenerateDataKeyWithoutPlaintext", - ], - "Effect": "Allow", - "Resource": { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestkey784D0285Arn58FA9A21", - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "vmImportPolicy", - }, - ], - "RoleName": "test-stack-vm-mport", - }, - "Type": "AWS::IAM::Role", - }, - "EmbeddedLinuxCodePipelineWeeklyRefreshSchedule47F3A27D": { - "Properties": { - "ScheduleExpression": "cron(0 6 ? * Tuesday *)", - "State": "ENABLED", - "Targets": [ - { - "Arn": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codepipeline:eu-central-1:111111111111:", - { - "Ref": "EmbeddedLinuxCodePipeline4B3C7651", - }, - ], - ], - }, - "Id": "Target0", - "RoleArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineEventsRole8EBF7C1D", - "Arn", - ], - }, - }, - ], - }, - "Type": "AWS::Events::Rule", - }, - "EmbeddedLinuxCodePipelineteststackEmbeddedLinuxCodePipelineE603BC4FSourceEventRulecustom23834a673736e04b0b5d6b7ff0d2481039b6661f0b52b80c5ef1f4296a0f0fbezip38762D1B": { - "DependsOn": [ - "EmbeddedLinuxCodePipelineProjectPolicyDocument1FA633EB", - "EmbeddedLinuxCodePipelineProjectF55E3B36", - "EmbeddedLinuxCodePipelineProjectRoleDefaultPolicyC205FC16", - "EmbeddedLinuxCodePipelineProjectRoleFD913DB7", - ], - "Properties": { - "EventPattern": { - "detail": { - "eventName": [ - "CompleteMultipartUpload", - "CopyObject", - "PutObject", - ], - "requestParameters": { - "bucketName": [ - { - "Fn::ImportValue": "test-common:ExportsOutputReftestsrc6C860343FD6A5870", - }, - ], - "key": [ - "custom/arbitrary-file.ext", - ], - }, - "resources": { - "ARN": [ - { - "Fn::Join": [ - "", - [ - { - "Fn::ImportValue": "test-common:ExportsOutputFnGetAtttestsrc6C860343Arn869D5331", - }, - "/custom/arbitrary-file.ext", - ], - ], - }, - ], - }, - }, - "detail-type": [ - "AWS API Call via CloudTrail", - ], - "source": [ - "aws.s3", - ], - }, - "State": "ENABLED", - "Targets": [ - { - "Arn": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":codepipeline:eu-central-1:111111111111:", - { - "Ref": "EmbeddedLinuxCodePipeline4B3C7651", - }, - ], - ], - }, - "Id": "Target0", - "RoleArn": { - "Fn::GetAtt": [ - "EmbeddedLinuxCodePipelineEventsRole8EBF7C1D", - "Arn", - ], - }, - }, - ], - }, - "Type": "AWS::Events::Rule", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A": { - "DependsOn": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - ], - "Properties": { - "Code": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Handler": "index.handler", - "Role": { - "Fn::GetAtt": [ - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - "Arn", - ], - }, - "Runtime": "nodejs20.x", - "Timeout": 900, - }, - "Type": "AWS::Lambda::Function", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", - ], - ], - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "logs:PutRetentionPolicy", - "logs:DeleteRetentionPolicy", - ], - "Effect": "Allow", - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB", - "Roles": [ - { - "Ref": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - }, - "Rules": { - "CheckBootstrapVersion": { - "Assertions": [ - { - "Assert": { - "Fn::Not": [ - { - "Fn::Contains": [ - [ - "1", - "2", - "3", - "4", - "5", - ], - { - "Ref": "BootstrapVersion", - }, - ], - }, - ], - }, - "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", - }, - ], - }, - }, -} -`; diff --git a/test/__snapshots__/codepipeline-resources.test.ts.snap b/test/__snapshots__/codepipeline-resources.test.ts.snap deleted file mode 100644 index c531c39..0000000 --- a/test/__snapshots__/codepipeline-resources.test.ts.snap +++ /dev/null @@ -1,1376 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`PipelineResourcesStack Snapshot 1`] = ` -{ - "Outputs": { - "ArtifactBucket": { - "Description": "The artifact bucket.", - "Value": { - "Ref": "PipelineResourcesArtifactBucketFF61EB98", - }, - }, - "LoggingBucket": { - "Description": "The access logging bucket.", - "Value": { - "Ref": "PipelineResourcesLoggingBucketD957F175", - }, - }, - "OutputBucket": { - "Description": "The output bucket.", - "Value": { - "Ref": "PipelineResourcesOutputBucketA2144F25", - }, - }, - "SourceBucket": { - "Description": "The source bucket.", - "Value": { - "Ref": "PipelineResourcesSourceBucket1FA488F5", - }, - }, - }, - "Parameters": { - "BootstrapVersion": { - "Default": "/cdk-bootstrap/hnb659fds/version", - "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]", - "Type": "AWS::SSM::Parameter::Value", - }, - }, - "Resources": { - "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F": { - "DependsOn": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092", - ], - "Properties": { - "Code": { - "S3Bucket": "cdk-hnb659fds-assets-111111111111-eu-central-1", - "S3Key": "arbitrary-file.ext", - }, - "Description": { - "Fn::Join": [ - "", - [ - "Lambda function for auto-deleting objects in ", - { - "Ref": "PipelineResourcesLoggingBucketD957F175", - }, - " S3 bucket.", - ], - ], - }, - "Handler": "index.handler", - "MemorySize": 128, - "Role": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092", - "Arn", - ], - }, - "Runtime": "nodejs20.x", - "Timeout": 900, - }, - "Type": "AWS::Lambda::Function", - }, - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "lambda.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "ManagedPolicyArns": [ - { - "Fn::Sub": "arn:\${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole", - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "PipelineResourcesArtifactBucketAutoDeleteObjectsCustomResource92CEB6DD": { - "DeletionPolicy": "Delete", - "DependsOn": [ - "PipelineResourcesArtifactBucketPolicy41E82DF1", - ], - "Properties": { - "BucketName": { - "Ref": "PipelineResourcesArtifactBucketFF61EB98", - }, - "ServiceToken": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F", - "Arn", - ], - }, - }, - "Type": "Custom::S3AutoDeleteObjects", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesArtifactBucketFF61EB98": { - "DeletionPolicy": "Delete", - "Properties": { - "BucketEncryption": { - "ServerSideEncryptionConfiguration": [ - { - "ServerSideEncryptionByDefault": { - "KMSMasterKeyID": { - "Fn::GetAtt": [ - "PipelineResourcesArtifactKey368D3018", - "Arn", - ], - }, - "SSEAlgorithm": "aws:kms", - }, - }, - ], - }, - "BucketName": "test-111111111111-eu-central-1-artifact", - "LoggingConfiguration": { - "DestinationBucketName": { - "Ref": "PipelineResourcesLoggingBucketD957F175", - }, - "LogFilePrefix": "artifact-bucket", - }, - "Tags": [ - { - "Key": "aws-cdk:auto-delete-objects", - "Value": "true", - }, - ], - "VersioningConfiguration": { - "Status": "Enabled", - }, - }, - "Type": "AWS::S3::Bucket", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesArtifactBucketPolicy41E82DF1": { - "Properties": { - "Bucket": { - "Ref": "PipelineResourcesArtifactBucketFF61EB98", - }, - "PolicyDocument": { - "Statement": [ - { - "Action": "s3:*", - "Condition": { - "Bool": { - "aws:SecureTransport": "false", - }, - }, - "Effect": "Deny", - "Principal": { - "AWS": "*", - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesArtifactBucketFF61EB98", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesArtifactBucketFF61EB98", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:PutBucketPolicy", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - ], - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092", - "Arn", - ], - }, - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesArtifactBucketFF61EB98", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesArtifactBucketFF61EB98", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::S3::BucketPolicy", - }, - "PipelineResourcesArtifactKey368D3018": { - "DeletionPolicy": "Delete", - "Properties": { - "EnableKeyRotation": true, - "KeyPolicy": { - "Statement": [ - { - "Action": "kms:*", - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::Join": [ - "", - [ - "arn:", - { - "Ref": "AWS::Partition", - }, - ":iam::111111111111:root", - ], - ], - }, - }, - "Resource": "*", - }, - { - "Action": [ - "kms:Decrypt", - "kms:Encrypt", - "kms:ReEncrypt*", - "kms:GenerateDataKey*", - ], - "Effect": "Allow", - "Principal": { - "Service": "logging.s3.amazonaws.com", - }, - "Resource": "*", - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::KMS::Key", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesECRRepositoryA0DB7EB6": { - "DeletionPolicy": "Delete", - "Properties": { - "EmptyOnDelete": true, - "RepositoryName": "test-111111111111-eu-central-1-repo", - }, - "Type": "AWS::ECR::Repository", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesLoggingBucketAutoDeleteObjectsCustomResource17381FC7": { - "DeletionPolicy": "Delete", - "DependsOn": [ - "PipelineResourcesLoggingBucketPolicy520659AE", - ], - "Properties": { - "BucketName": { - "Ref": "PipelineResourcesLoggingBucketD957F175", - }, - "ServiceToken": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F", - "Arn", - ], - }, - }, - "Type": "Custom::S3AutoDeleteObjects", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesLoggingBucketD957F175": { - "DeletionPolicy": "Delete", - "Properties": { - "AccessControl": "LogDeliveryWrite", - "BucketEncryption": { - "ServerSideEncryptionConfiguration": [ - { - "ServerSideEncryptionByDefault": { - "KMSMasterKeyID": { - "Fn::GetAtt": [ - "PipelineResourcesArtifactKey368D3018", - "Arn", - ], - }, - "SSEAlgorithm": "aws:kms", - }, - }, - ], - }, - "BucketName": "test-111111111111-eu-central-1-logs", - "OwnershipControls": { - "Rules": [ - { - "ObjectOwnership": "ObjectWriter", - }, - ], - }, - "Tags": [ - { - "Key": "aws-cdk:auto-delete-objects", - "Value": "true", - }, - ], - "VersioningConfiguration": { - "Status": "Enabled", - }, - }, - "Type": "AWS::S3::Bucket", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesLoggingBucketPolicy520659AE": { - "Properties": { - "Bucket": { - "Ref": "PipelineResourcesLoggingBucketD957F175", - }, - "PolicyDocument": { - "Statement": [ - { - "Action": "s3:*", - "Condition": { - "Bool": { - "aws:SecureTransport": "false", - }, - }, - "Effect": "Deny", - "Principal": { - "AWS": "*", - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesLoggingBucketD957F175", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesLoggingBucketD957F175", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:PutBucketPolicy", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - ], - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092", - "Arn", - ], - }, - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesLoggingBucketD957F175", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesLoggingBucketD957F175", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::S3::BucketPolicy", - }, - "PipelineResourcesOutputBucketA2144F25": { - "DeletionPolicy": "Delete", - "Properties": { - "BucketEncryption": { - "ServerSideEncryptionConfiguration": [ - { - "ServerSideEncryptionByDefault": { - "KMSMasterKeyID": { - "Fn::GetAtt": [ - "PipelineResourcesArtifactKey368D3018", - "Arn", - ], - }, - "SSEAlgorithm": "aws:kms", - }, - }, - ], - }, - "BucketName": "test-111111111111-eu-central-1-output", - "LoggingConfiguration": { - "DestinationBucketName": { - "Ref": "PipelineResourcesLoggingBucketD957F175", - }, - "LogFilePrefix": "output-bucket", - }, - "Tags": [ - { - "Key": "aws-cdk:auto-delete-objects", - "Value": "true", - }, - ], - "VersioningConfiguration": { - "Status": "Enabled", - }, - }, - "Type": "AWS::S3::Bucket", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesOutputBucketAutoDeleteObjectsCustomResource5A511D2C": { - "DeletionPolicy": "Delete", - "DependsOn": [ - "PipelineResourcesOutputBucketPolicyAE7D91E7", - ], - "Properties": { - "BucketName": { - "Ref": "PipelineResourcesOutputBucketA2144F25", - }, - "ServiceToken": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F", - "Arn", - ], - }, - }, - "Type": "Custom::S3AutoDeleteObjects", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesOutputBucketPolicyAE7D91E7": { - "Properties": { - "Bucket": { - "Ref": "PipelineResourcesOutputBucketA2144F25", - }, - "PolicyDocument": { - "Statement": [ - { - "Action": "s3:*", - "Condition": { - "Bool": { - "aws:SecureTransport": "false", - }, - }, - "Effect": "Deny", - "Principal": { - "AWS": "*", - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesOutputBucketA2144F25", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesOutputBucketA2144F25", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:PutBucketPolicy", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - ], - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092", - "Arn", - ], - }, - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesOutputBucketA2144F25", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesOutputBucketA2144F25", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::S3::BucketPolicy", - }, - "PipelineResourcesSourceBucket1FA488F5": { - "DeletionPolicy": "Delete", - "Properties": { - "BucketEncryption": { - "ServerSideEncryptionConfiguration": [ - { - "ServerSideEncryptionByDefault": { - "KMSMasterKeyID": { - "Fn::GetAtt": [ - "PipelineResourcesArtifactKey368D3018", - "Arn", - ], - }, - "SSEAlgorithm": "aws:kms", - }, - }, - ], - }, - "BucketName": "test-111111111111-eu-central-1-source", - "LoggingConfiguration": { - "DestinationBucketName": { - "Ref": "PipelineResourcesLoggingBucketD957F175", - }, - "LogFilePrefix": "source-bucket", - }, - "Tags": [ - { - "Key": "aws-cdk:auto-delete-objects", - "Value": "true", - }, - ], - "VersioningConfiguration": { - "Status": "Enabled", - }, - }, - "Type": "AWS::S3::Bucket", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesSourceBucketAutoDeleteObjectsCustomResourceD6504155": { - "DeletionPolicy": "Delete", - "DependsOn": [ - "PipelineResourcesSourceBucketPolicyE537B0E0", - ], - "Properties": { - "BucketName": { - "Ref": "PipelineResourcesSourceBucket1FA488F5", - }, - "ServiceToken": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F", - "Arn", - ], - }, - }, - "Type": "Custom::S3AutoDeleteObjects", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesSourceBucketPolicyE537B0E0": { - "Properties": { - "Bucket": { - "Ref": "PipelineResourcesSourceBucket1FA488F5", - }, - "PolicyDocument": { - "Statement": [ - { - "Action": "s3:*", - "Condition": { - "Bool": { - "aws:SecureTransport": "false", - }, - }, - "Effect": "Deny", - "Principal": { - "AWS": "*", - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesSourceBucket1FA488F5", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesSourceBucket1FA488F5", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - { - "Action": [ - "s3:PutBucketPolicy", - "s3:GetBucket*", - "s3:List*", - "s3:DeleteObject*", - ], - "Effect": "Allow", - "Principal": { - "AWS": { - "Fn::GetAtt": [ - "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092", - "Arn", - ], - }, - }, - "Resource": [ - { - "Fn::GetAtt": [ - "PipelineResourcesSourceBucket1FA488F5", - "Arn", - ], - }, - { - "Fn::Join": [ - "", - [ - { - "Fn::GetAtt": [ - "PipelineResourcesSourceBucket1FA488F5", - "Arn", - ], - }, - "/*", - ], - ], - }, - ], - }, - ], - "Version": "2012-10-17", - }, - }, - "Type": "AWS::S3::BucketPolicy", - }, - "PipelineResourcesVPCFlowLogGroupCCF3042F": { - "DeletionPolicy": "Delete", - "Properties": { - "LogGroupName": "test-stack-PipelineResourcesVPCFlowLogGroup", - "RetentionInDays": 365, - }, - "Type": "AWS::Logs::LogGroup", - "UpdateReplacePolicy": "Delete", - }, - "PipelineResourcesVPCFlowLogsFlowLogDCC98C23": { - "Properties": { - "DeliverLogsPermissionArn": { - "Fn::GetAtt": [ - "PipelineResourcesVPCFlowLogsIAMRoleD4BD5FD0", - "Arn", - ], - }, - "LogDestinationType": "cloud-watch-logs", - "LogGroupName": { - "Ref": "PipelineResourcesVPCFlowLogGroupCCF3042F", - }, - "ResourceId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - "ResourceType": "VPC", - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVPCFlowLogs", - }, - ], - "TrafficType": "ALL", - }, - "Type": "AWS::EC2::FlowLog", - }, - "PipelineResourcesVPCFlowLogsIAMRoleD4BD5FD0": { - "Properties": { - "AssumeRolePolicyDocument": { - "Statement": [ - { - "Action": "sts:AssumeRole", - "Effect": "Allow", - "Principal": { - "Service": "vpc-flow-logs.amazonaws.com", - }, - }, - ], - "Version": "2012-10-17", - }, - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVPCFlowLogs", - }, - ], - }, - "Type": "AWS::IAM::Role", - }, - "PipelineResourcesVPCFlowLogsIAMRoleDefaultPolicy6A6D03E1": { - "Properties": { - "PolicyDocument": { - "Statement": [ - { - "Action": [ - "logs:CreateLogStream", - "logs:PutLogEvents", - "logs:DescribeLogStreams", - ], - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "PipelineResourcesVPCFlowLogGroupCCF3042F", - "Arn", - ], - }, - }, - { - "Action": "iam:PassRole", - "Effect": "Allow", - "Resource": { - "Fn::GetAtt": [ - "PipelineResourcesVPCFlowLogsIAMRoleD4BD5FD0", - "Arn", - ], - }, - }, - ], - "Version": "2012-10-17", - }, - "PolicyName": "PipelineResourcesVPCFlowLogsIAMRoleDefaultPolicy6A6D03E1", - "Roles": [ - { - "Ref": "PipelineResourcesVPCFlowLogsIAMRoleD4BD5FD0", - }, - ], - }, - "Type": "AWS::IAM::Policy", - }, - "PipelineResourcesVpc54FB4A02": { - "Properties": { - "CidrBlock": "10.0.0.0/16", - "EnableDnsHostnames": true, - "EnableDnsSupport": true, - "InstanceTenancy": "default", - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc", - }, - ], - }, - "Type": "AWS::EC2::VPC", - }, - "PipelineResourcesVpcIGW375CBF19": { - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc", - }, - ], - }, - "Type": "AWS::EC2::InternetGateway", - }, - "PipelineResourcesVpcPrivateSubnet1DefaultRoute4C73C54F": { - "Properties": { - "DestinationCidrBlock": "0.0.0.0/0", - "NatGatewayId": { - "Ref": "PipelineResourcesVpcPublicSubnet1NATGateway9B71CD07", - }, - "RouteTableId": { - "Ref": "PipelineResourcesVpcPrivateSubnet1RouteTable42958689", - }, - }, - "Type": "AWS::EC2::Route", - }, - "PipelineResourcesVpcPrivateSubnet1RouteTable42958689": { - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PrivateSubnet1", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::RouteTable", - }, - "PipelineResourcesVpcPrivateSubnet1RouteTableAssociationC7ED7464": { - "Properties": { - "RouteTableId": { - "Ref": "PipelineResourcesVpcPrivateSubnet1RouteTable42958689", - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPrivateSubnet1Subnet8DD627A6", - }, - }, - "Type": "AWS::EC2::SubnetRouteTableAssociation", - }, - "PipelineResourcesVpcPrivateSubnet1Subnet8DD627A6": { - "Properties": { - "AvailabilityZone": "dummy1a", - "CidrBlock": "10.0.96.0/19", - "MapPublicIpOnLaunch": false, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Private", - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Private", - }, - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PrivateSubnet1", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::Subnet", - }, - "PipelineResourcesVpcPrivateSubnet2DefaultRouteB1EEA4A3": { - "Properties": { - "DestinationCidrBlock": "0.0.0.0/0", - "NatGatewayId": { - "Ref": "PipelineResourcesVpcPublicSubnet2NATGateway655DC282", - }, - "RouteTableId": { - "Ref": "PipelineResourcesVpcPrivateSubnet2RouteTableBA14AB02", - }, - }, - "Type": "AWS::EC2::Route", - }, - "PipelineResourcesVpcPrivateSubnet2RouteTableAssociation9DEF6A48": { - "Properties": { - "RouteTableId": { - "Ref": "PipelineResourcesVpcPrivateSubnet2RouteTableBA14AB02", - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPrivateSubnet2SubnetC1071C90", - }, - }, - "Type": "AWS::EC2::SubnetRouteTableAssociation", - }, - "PipelineResourcesVpcPrivateSubnet2RouteTableBA14AB02": { - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PrivateSubnet2", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::RouteTable", - }, - "PipelineResourcesVpcPrivateSubnet2SubnetC1071C90": { - "Properties": { - "AvailabilityZone": "dummy1b", - "CidrBlock": "10.0.128.0/19", - "MapPublicIpOnLaunch": false, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Private", - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Private", - }, - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PrivateSubnet2", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::Subnet", - }, - "PipelineResourcesVpcPrivateSubnet3DefaultRoute12E7DE69": { - "Properties": { - "DestinationCidrBlock": "0.0.0.0/0", - "NatGatewayId": { - "Ref": "PipelineResourcesVpcPublicSubnet3NATGatewayE3DAD508", - }, - "RouteTableId": { - "Ref": "PipelineResourcesVpcPrivateSubnet3RouteTable6A1E641C", - }, - }, - "Type": "AWS::EC2::Route", - }, - "PipelineResourcesVpcPrivateSubnet3RouteTable6A1E641C": { - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PrivateSubnet3", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::RouteTable", - }, - "PipelineResourcesVpcPrivateSubnet3RouteTableAssociationACAD4730": { - "Properties": { - "RouteTableId": { - "Ref": "PipelineResourcesVpcPrivateSubnet3RouteTable6A1E641C", - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPrivateSubnet3SubnetCA196C90", - }, - }, - "Type": "AWS::EC2::SubnetRouteTableAssociation", - }, - "PipelineResourcesVpcPrivateSubnet3SubnetCA196C90": { - "Properties": { - "AvailabilityZone": "dummy1c", - "CidrBlock": "10.0.160.0/19", - "MapPublicIpOnLaunch": false, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Private", - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Private", - }, - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PrivateSubnet3", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::Subnet", - }, - "PipelineResourcesVpcPublicSubnet1DefaultRouteEC2ED518": { - "DependsOn": [ - "PipelineResourcesVpcVPCGWD5E21195", - ], - "Properties": { - "DestinationCidrBlock": "0.0.0.0/0", - "GatewayId": { - "Ref": "PipelineResourcesVpcIGW375CBF19", - }, - "RouteTableId": { - "Ref": "PipelineResourcesVpcPublicSubnet1RouteTable31D009BE", - }, - }, - "Type": "AWS::EC2::Route", - }, - "PipelineResourcesVpcPublicSubnet1EIPAA3A3298": { - "Properties": { - "Domain": "vpc", - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet1", - }, - ], - }, - "Type": "AWS::EC2::EIP", - }, - "PipelineResourcesVpcPublicSubnet1NATGateway9B71CD07": { - "DependsOn": [ - "PipelineResourcesVpcPublicSubnet1DefaultRouteEC2ED518", - "PipelineResourcesVpcPublicSubnet1RouteTableAssociation20C8242F", - ], - "Properties": { - "AllocationId": { - "Fn::GetAtt": [ - "PipelineResourcesVpcPublicSubnet1EIPAA3A3298", - "AllocationId", - ], - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPublicSubnet1SubnetF8A80437", - }, - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet1", - }, - ], - }, - "Type": "AWS::EC2::NatGateway", - }, - "PipelineResourcesVpcPublicSubnet1RouteTable31D009BE": { - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet1", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::RouteTable", - }, - "PipelineResourcesVpcPublicSubnet1RouteTableAssociation20C8242F": { - "Properties": { - "RouteTableId": { - "Ref": "PipelineResourcesVpcPublicSubnet1RouteTable31D009BE", - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPublicSubnet1SubnetF8A80437", - }, - }, - "Type": "AWS::EC2::SubnetRouteTableAssociation", - }, - "PipelineResourcesVpcPublicSubnet1SubnetF8A80437": { - "Properties": { - "AvailabilityZone": "dummy1a", - "CidrBlock": "10.0.0.0/19", - "MapPublicIpOnLaunch": true, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Public", - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Public", - }, - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet1", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::Subnet", - }, - "PipelineResourcesVpcPublicSubnet2DefaultRoute3E8F0AD0": { - "DependsOn": [ - "PipelineResourcesVpcVPCGWD5E21195", - ], - "Properties": { - "DestinationCidrBlock": "0.0.0.0/0", - "GatewayId": { - "Ref": "PipelineResourcesVpcIGW375CBF19", - }, - "RouteTableId": { - "Ref": "PipelineResourcesVpcPublicSubnet2RouteTable3F256387", - }, - }, - "Type": "AWS::EC2::Route", - }, - "PipelineResourcesVpcPublicSubnet2EIPD5CF8B49": { - "Properties": { - "Domain": "vpc", - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet2", - }, - ], - }, - "Type": "AWS::EC2::EIP", - }, - "PipelineResourcesVpcPublicSubnet2NATGateway655DC282": { - "DependsOn": [ - "PipelineResourcesVpcPublicSubnet2DefaultRoute3E8F0AD0", - "PipelineResourcesVpcPublicSubnet2RouteTableAssociation6F2523EC", - ], - "Properties": { - "AllocationId": { - "Fn::GetAtt": [ - "PipelineResourcesVpcPublicSubnet2EIPD5CF8B49", - "AllocationId", - ], - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPublicSubnet2SubnetB9638D82", - }, - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet2", - }, - ], - }, - "Type": "AWS::EC2::NatGateway", - }, - "PipelineResourcesVpcPublicSubnet2RouteTable3F256387": { - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet2", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::RouteTable", - }, - "PipelineResourcesVpcPublicSubnet2RouteTableAssociation6F2523EC": { - "Properties": { - "RouteTableId": { - "Ref": "PipelineResourcesVpcPublicSubnet2RouteTable3F256387", - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPublicSubnet2SubnetB9638D82", - }, - }, - "Type": "AWS::EC2::SubnetRouteTableAssociation", - }, - "PipelineResourcesVpcPublicSubnet2SubnetB9638D82": { - "Properties": { - "AvailabilityZone": "dummy1b", - "CidrBlock": "10.0.32.0/19", - "MapPublicIpOnLaunch": true, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Public", - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Public", - }, - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet2", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::Subnet", - }, - "PipelineResourcesVpcPublicSubnet3DefaultRoute9ED6D279": { - "DependsOn": [ - "PipelineResourcesVpcVPCGWD5E21195", - ], - "Properties": { - "DestinationCidrBlock": "0.0.0.0/0", - "GatewayId": { - "Ref": "PipelineResourcesVpcIGW375CBF19", - }, - "RouteTableId": { - "Ref": "PipelineResourcesVpcPublicSubnet3RouteTableB8C2FF69", - }, - }, - "Type": "AWS::EC2::Route", - }, - "PipelineResourcesVpcPublicSubnet3EIPF7259271": { - "Properties": { - "Domain": "vpc", - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet3", - }, - ], - }, - "Type": "AWS::EC2::EIP", - }, - "PipelineResourcesVpcPublicSubnet3NATGatewayE3DAD508": { - "DependsOn": [ - "PipelineResourcesVpcPublicSubnet3DefaultRoute9ED6D279", - "PipelineResourcesVpcPublicSubnet3RouteTableAssociationA597E9BD", - ], - "Properties": { - "AllocationId": { - "Fn::GetAtt": [ - "PipelineResourcesVpcPublicSubnet3EIPF7259271", - "AllocationId", - ], - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPublicSubnet3Subnet154058BD", - }, - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet3", - }, - ], - }, - "Type": "AWS::EC2::NatGateway", - }, - "PipelineResourcesVpcPublicSubnet3RouteTableAssociationA597E9BD": { - "Properties": { - "RouteTableId": { - "Ref": "PipelineResourcesVpcPublicSubnet3RouteTableB8C2FF69", - }, - "SubnetId": { - "Ref": "PipelineResourcesVpcPublicSubnet3Subnet154058BD", - }, - }, - "Type": "AWS::EC2::SubnetRouteTableAssociation", - }, - "PipelineResourcesVpcPublicSubnet3RouteTableB8C2FF69": { - "Properties": { - "Tags": [ - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet3", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::RouteTable", - }, - "PipelineResourcesVpcPublicSubnet3Subnet154058BD": { - "Properties": { - "AvailabilityZone": "dummy1c", - "CidrBlock": "10.0.64.0/19", - "MapPublicIpOnLaunch": true, - "Tags": [ - { - "Key": "aws-cdk:subnet-name", - "Value": "Public", - }, - { - "Key": "aws-cdk:subnet-type", - "Value": "Public", - }, - { - "Key": "Name", - "Value": "test-stack/PipelineResourcesVpc/PublicSubnet3", - }, - ], - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::Subnet", - }, - "PipelineResourcesVpcVPCGWD5E21195": { - "Properties": { - "InternetGatewayId": { - "Ref": "PipelineResourcesVpcIGW375CBF19", - }, - "VpcId": { - "Ref": "PipelineResourcesVpc54FB4A02", - }, - }, - "Type": "AWS::EC2::VPCGatewayAttachment", - }, - }, - "Rules": { - "CheckBootstrapVersion": { - "Assertions": [ - { - "Assert": { - "Fn::Not": [ - { - "Fn::Contains": [ - [ - "1", - "2", - "3", - "4", - "5", - ], - { - "Ref": "BootstrapVersion", - }, - ], - }, - ], - }, - "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI.", - }, - ], - }, - }, -} -`; diff --git a/test/buildspec/build.buildspec.yml b/test/buildspec/build.buildspec.yml deleted file mode 100644 index 25ef8e1..0000000 --- a/test/buildspec/build.buildspec.yml +++ /dev/null @@ -1,29 +0,0 @@ -version: 0.2 -run-as: yoctouser - -env: - shell: bash - # HOME is set to /root even when running as a non-root user. - variables: - HOME: "/home/yoctouser" - -phases: - pre_build: - run-as: root - commands: - - echo "Pre build started - [$(date '+%F %H:%M:%S')]" - - echo "Pre build completed - [$(date '+%F %H:%M:%S')]" - build: - commands: - - echo "Build started - [$(date '+%F %H:%M:%S')]" - - echo "Build completed - [$(date '+%F %H:%M:%S')]" - post_build: - commands: - - echo "Post build statred - [$(date '+%F %H:%M:%S')]" - - echo "" > /tmp/out.log - - echo "Post build completed - [$(date '+%F %H:%M:%S')]" - -artifacts: - discard-paths: true - files: - - /tmp/out.log diff --git a/test/codebuild-embedded-linux-nag.test.ts b/test/codebuild-embedded-linux-nag.test.ts deleted file mode 100644 index 9966a2c..0000000 --- a/test/codebuild-embedded-linux-nag.test.ts +++ /dev/null @@ -1,162 +0,0 @@ -import { describe, expect, test, beforeAll } from "@jest/globals"; -import { AwsSolutionsChecks, NagSuppressions } from "cdk-nag"; -import { Annotations, Match } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as kms from "aws-cdk-lib/aws-kms"; -import * as ec2 from "aws-cdk-lib/aws-ec2"; -import { - EmbeddedLinuxCodeBuildProjectProps, - EmbeddedLinuxCodeBuildProjectStack, -} from "../lib"; -import { DEFAULT_ENV } from "./util"; - -const base_path = `EmbeddedLinuxCodeBuild`; - -function addNagSuppressions( - _stack: EmbeddedLinuxCodeBuildProjectStack, - _props: EmbeddedLinuxCodeBuildProjectProps, -) { - NagSuppressions.addStackSuppressions(_stack, [ - { id: "CdkNagValidationFailure", reason: "Multiple Validation Failures." }, - { - id: "AwsSolutions-CB3", - reason: "CodeBuild Privilege mode is required for this pipeline.", - }, - { - id: "AwsSolutions-IAM4", - reason: "TODO: Re-evaluate managed policies per resources.", - }, - ]); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}ProjectSecurityGroup/Resource`, - [ - { - id: "AwsSolutions-EC23", - reason: "CidrBlock parameter referencing an intrinsic function", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}Project/Resource`, - [ - { - id: "AwsSolutions-CB5", - reason: "PipelineImage parameter referencing an intrinsic function", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}Project/Role/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}ProjectOSImageCheckOnStart/Resource`, - [ - { - id: "AwsSolutions-L1", - reason: "There is no latest PYTHON version to set.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}Project/PolicyDocument/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); -} - -describe("EmbeddedLinuxCodeBuildProjectStack cdk-nag AwsSolutions Pack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: EmbeddedLinuxCodeBuildProjectStack; - let props: EmbeddedLinuxCodeBuildProjectProps; - let common: cdk.Stack; - - beforeAll(() => { - // GIVEN - app = new cdk.App(); - - common = new cdk.Stack(app, `${resource_prefix}-common`, { - env: DEFAULT_ENV, - }); - - // Create required resources for testing - const vpc = new ec2.Vpc(common, `${resource_prefix}-vpc`, { - maxAzs: 2, - }); - const ecrRepository = new ecr.Repository(common, `${resource_prefix}-ecr`); - const encryptionKey = new kms.Key(common, `${resource_prefix}-key`); - - // Create the pipeline stack & props - props = { - env: DEFAULT_ENV, - ecrRepository: ecrRepository, - encryptionKey: encryptionKey, - ecrRepositoryImageTag: "PipelineImage", - vpc: vpc, - }; - - stack = new EmbeddedLinuxCodeBuildProjectStack( - app, - `${resource_prefix}-stack`, - props, - ); - - addNagSuppressions(stack, props); - - // WHEN - cdk.Aspects.of(stack).add(new AwsSolutionsChecks({ verbose: true })); - }); - - // THEN - test("No unsuppressed Warnings", () => { - const results = Annotations.fromStack(stack).findWarning( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); - test("No unsuppressed Errors", () => { - const results = Annotations.fromStack(stack).findError( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); -}); diff --git a/test/codebuild-embedded-linux.test.ts b/test/codebuild-embedded-linux.test.ts deleted file mode 100644 index 24b0c3a..0000000 --- a/test/codebuild-embedded-linux.test.ts +++ /dev/null @@ -1,413 +0,0 @@ -import { beforeEach, describe, expect, test } from "@jest/globals"; -import { Match, Template } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as ec2 from "aws-cdk-lib/aws-ec2"; -import * as kms from "aws-cdk-lib/aws-kms"; -import * as iam from "aws-cdk-lib/aws-iam"; -import { - EmbeddedLinuxCodeBuildProjectStack, - EmbeddedLinuxCodeBuildProjectProps, -} from "../lib"; -import { DEFAULT_ENV, normalizedTemplateFromStack } from "./util"; - -describe("EmbeddedLinuxCodeBuildProjectStack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: EmbeddedLinuxCodeBuildProjectStack; - let props: EmbeddedLinuxCodeBuildProjectProps; - let template: Template; - let common: cdk.Stack; - - beforeEach(() => { - app = new cdk.App(); - - common = new cdk.Stack(app, `${resource_prefix}-common`, { - env: DEFAULT_ENV, - }); - - // Create required props - const vpc = new ec2.Vpc(common, `${resource_prefix}-vpc`, { - maxAzs: 2, - }); - const ecrRepository = new ecr.Repository(common, `${resource_prefix}-ecr`); - const encryptionKey = new kms.Key(common, `${resource_prefix}-key`); - - // Create the pipeline stack & props - props = { - env: DEFAULT_ENV, - ecrRepository: ecrRepository, - ecrRepositoryImageTag: "latest", - vpc: vpc, - encryptionKey: encryptionKey, - }; - - stack = new EmbeddedLinuxCodeBuildProjectStack( - app, - `${resource_prefix}-stack`, - props, - ); - - template = Template.fromStack(stack); - }); - - test("Creates EFS filesystem with security group", () => { - template.hasResourceProperties("AWS::EFS::FileSystem", { - FileSystemTags: [ - { - Key: "Name", - Value: `${stack.stackName}/EmbeddedLinuxCodeBuildProjectFilesystem`, - }, - ], - Encrypted: true, - }); - - template.hasResourceProperties("AWS::EC2::SecurityGroup", { - SecurityGroupIngress: Match.arrayWith([ - Match.objectLike({ - CidrIp: { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.vpc.node.id.replace(/-/g, "")}*`, - ), - }, - FromPort: 2049, - IpProtocol: "tcp", - ToPort: 2049, - }), - ]), - }); - }); - - test("creates CodeBuild project", () => { - template.hasResourceProperties("AWS::CodeBuild::Project", { - Environment: { - ComputeType: "BUILD_GENERAL1_XLARGE", - Image: { - "Fn::Join": [ - "", - [ - { - "Fn::Select": [ - 4, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.ecrRepository.node.id.replace(/-/g, "")}`, - ), - }, - ], - }, - ], - }, - ".dkr.ecr.", - { - "Fn::Select": [ - 3, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.ecrRepository.node.id.replace(/-/g, "")}`, - ), - }, - ], - }, - ], - }, - ".", - { - Ref: "AWS::URLSuffix", - }, - "/", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputRef${props.ecrRepository.node.id.replace(/-/g, "")}`, - ), - }, - ":latest", - ], - ], - }, - PrivilegedMode: true, - Type: "LINUX_CONTAINER", - }, - TimeoutInMinutes: 240, - }); - }); - - test("creates Lambda function for pipeline check", () => { - template.hasResourceProperties("AWS::Lambda::Function", { - Handler: "index.handler", - Runtime: "python3.10", - }); - }); - - test("creates EventBridge rule", () => { - template.hasResourceProperties("AWS::Events::Rule", { - EventPattern: { - "detail-type": ["CodePipeline Pipeline Execution State Change"], - source: ["aws.codepipeline"], - detail: { - state: ["STARTED"], - "execution-trigger": { - "trigger-type": ["CreatePipeline"], - }, - }, - }, - }); - }); - - test("adds required policies to CodeBuild role", () => { - template.hasResourceProperties("AWS::IAM::Policy", { - PolicyDocument: { - Statement: Match.arrayWith([ - Match.objectLike({ - Action: [ - "ec2:DescribeSecurityGroups", - "codestar-connections:GetConnection", - "codestar-connections:GetConnectionToken", - "codeconnections:GetConnectionToken", - "codeconnections:GetConnection", - "codeconnections:ListConnection", - "codeconnections:UseConnection", - "codebuild:ListConnectedOAuthAccounts", - "codebuild:ListRepositories", - "codebuild:PersistOAuthToken", - "codebuild:ImportSourceCredentials", - ], - Effect: "Allow", - Resource: "*", - }), - ]), - }, - }); - }); - - test("creates CloudWatch log group", () => { - template.hasResourceProperties("AWS::Logs::LogGroup", { - RetentionInDays: 365, - }); - }); - - test("Snapshot", () => { - /* We must change some randomly generated file names used in the S3 asset construct. */ - const templateWithConstKeys = normalizedTemplateFromStack(stack); - expect(templateWithConstKeys).toMatchSnapshot(); - }); -}); - -describe("EmbeddedLinuxCodeBuildProjectStack Custom", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: EmbeddedLinuxCodeBuildProjectStack; - let props: EmbeddedLinuxCodeBuildProjectProps; - let template: Template; - let common: cdk.Stack; - - beforeEach(() => { - app = new cdk.App(); - - common = new cdk.Stack(app, `${resource_prefix}-common`, { - env: DEFAULT_ENV, - }); - - // Create required props - const vpc = new ec2.Vpc(common, `${resource_prefix}-vpc`, { - maxAzs: 2, - }); - const ecrRepository = new ecr.Repository(common, `${resource_prefix}-ecr`); - const encryptionKey = new kms.Key(common, `${resource_prefix}-key`); - const customPolicy = new iam.PolicyStatement({ - actions: ["s3:GetObject"], - resources: ["*"], - }); - - // Create the pipeline stack & props - props = { - env: DEFAULT_ENV, - ecrRepository: ecrRepository, - ecrRepositoryImageTag: "latest", - vpc: vpc, - encryptionKey: encryptionKey, - buildPolicyAdditions: [customPolicy], - }; - - stack = new EmbeddedLinuxCodeBuildProjectStack( - app, - `${resource_prefix}-stack`, - props, - ); - - template = Template.fromStack(stack); - }); - - test("Creates EFS filesystem with security group", () => { - template.hasResourceProperties("AWS::EFS::FileSystem", { - FileSystemTags: [ - { - Key: "Name", - Value: `${stack.stackName}/EmbeddedLinuxCodeBuildProjectFilesystem`, - }, - ], - Encrypted: true, - }); - - template.hasResourceProperties("AWS::EC2::SecurityGroup", { - SecurityGroupIngress: Match.arrayWith([ - Match.objectLike({ - CidrIp: { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.vpc.node.id.replace(/-/g, "")}*`, - ), - }, - FromPort: 2049, - IpProtocol: "tcp", - ToPort: 2049, - }), - ]), - }); - }); - - test("creates CodeBuild project", () => { - template.hasResourceProperties("AWS::CodeBuild::Project", { - Environment: { - ComputeType: "BUILD_GENERAL1_XLARGE", - Image: { - "Fn::Join": [ - "", - [ - { - "Fn::Select": [ - 4, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.ecrRepository.node.id.replace(/-/g, "")}`, - ), - }, - ], - }, - ], - }, - ".dkr.ecr.", - { - "Fn::Select": [ - 3, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.ecrRepository.node.id.replace(/-/g, "")}`, - ), - }, - ], - }, - ], - }, - ".", - { - Ref: "AWS::URLSuffix", - }, - "/", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputRef${props.ecrRepository.node.id.replace(/-/g, "")}`, - ), - }, - ":latest", - ], - ], - }, - PrivilegedMode: true, - Type: "LINUX_CONTAINER", - }, - TimeoutInMinutes: 240, - }); - }); - - test("creates Lambda function for pipeline check", () => { - template.hasResourceProperties("AWS::Lambda::Function", { - Handler: "index.handler", - Runtime: "python3.10", - }); - }); - - test("creates EventBridge rule", () => { - template.hasResourceProperties("AWS::Events::Rule", { - EventPattern: { - "detail-type": ["CodePipeline Pipeline Execution State Change"], - source: ["aws.codepipeline"], - detail: { - state: ["STARTED"], - "execution-trigger": { - "trigger-type": ["CreatePipeline"], - }, - }, - }, - }); - }); - - test("adds required policies to CodeBuild role", () => { - template.hasResourceProperties("AWS::IAM::Policy", { - PolicyDocument: { - Statement: Match.arrayWith([ - Match.objectLike({ - Action: [ - "ec2:DescribeSecurityGroups", - "codestar-connections:GetConnection", - "codestar-connections:GetConnectionToken", - "codeconnections:GetConnectionToken", - "codeconnections:GetConnection", - "codeconnections:ListConnection", - "codeconnections:UseConnection", - "codebuild:ListConnectedOAuthAccounts", - "codebuild:ListRepositories", - "codebuild:PersistOAuthToken", - "codebuild:ImportSourceCredentials", - ], - Effect: "Allow", - Resource: "*", - }), - ]), - }, - }); - }); - - test("creates CloudWatch log group", () => { - template.hasResourceProperties("AWS::Logs::LogGroup", { - RetentionInDays: 365, - }); - }); - - test("adds custom policy statements when provided", () => { - template.hasResourceProperties("AWS::IAM::Policy", { - PolicyName: Match.stringLikeRegexp( - `EmbeddedLinuxCodeBuildProjectRoleDefaultPolicy*`, - ), - PolicyDocument: { - Statement: Match.arrayWith([ - Match.objectLike({ - Action: "s3:GetObject", - Effect: "Allow", - Resource: "*", - }), - ]), - }, - }); - }); - - test("Snapshot", () => { - /* We must change some randomly generated file names used in the S3 asset construct. */ - const templateWithConstKeys = normalizedTemplateFromStack(stack); - expect(templateWithConstKeys).toMatchSnapshot(); - }); -}); diff --git a/test/codepipeline-embedded-linux-base-image-nag.test.ts b/test/codepipeline-embedded-linux-base-image-nag.test.ts deleted file mode 100644 index 7181ccb..0000000 --- a/test/codepipeline-embedded-linux-base-image-nag.test.ts +++ /dev/null @@ -1,157 +0,0 @@ -import { describe, expect, test, beforeAll } from "@jest/globals"; -import { AwsSolutionsChecks, NagSuppressions } from "cdk-nag"; -import { Annotations, Match } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as kms from "aws-cdk-lib/aws-kms"; -import * as s3 from "aws-cdk-lib/aws-s3"; -import { - EmbeddedLinuxCodePipelineBaseImageProps, - EmbeddedLinuxCodePipelineBaseImageStack, -} from "../lib"; -import { DEFAULT_ENV } from "./util"; - -const base_path = `CodePipelineBuildBaseImage`; - -function addNagSuppressions( - _stack: EmbeddedLinuxCodePipelineBaseImageStack, - _props: EmbeddedLinuxCodePipelineBaseImageProps, -) { - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/Custom::CDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C/Resource`, - [ - { - id: "AwsSolutions-L1", - reason: "This Lambda function is 3rd Party (from CDK libs)", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}BucketDeploymentRole/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: `Because ${base_path}BucketDeploymentRole/Resource is needed here.`, - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}BucketDeploymentRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}Project/Role/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}CodePipeline/Role/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}CodePipeline/Source/Source/CodePipelineActionRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); -} - -describe("EmbeddedLinuxCodePipelineBaseImageStack cdk-nag AwsSolutions Pack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: EmbeddedLinuxCodePipelineBaseImageStack; - let props: EmbeddedLinuxCodePipelineBaseImageProps; - let common: cdk.Stack; - - beforeAll(() => { - // GIVEN - app = new cdk.App(); - - common = new cdk.Stack(app, `${resource_prefix}-common`, { - env: DEFAULT_ENV, - }); - - // Create required resources for testing - const pipelineSourceBucket = new s3.Bucket( - common, - `${resource_prefix}-src`, - { versioned: true }, - ); - const pipelineArtifactBucket = new s3.Bucket( - common, - `${resource_prefix}-art`, - {}, - ); - const ecrRepository = new ecr.Repository(common, `${resource_prefix}-ecr`); - const encryptionKey = new kms.Key(common, `${resource_prefix}-key`); - - props = { - env: DEFAULT_ENV, - pipelineSourceBucket: pipelineSourceBucket, - pipelineArtifactBucket: pipelineArtifactBucket, - ecrRepository: ecrRepository, - encryptionKey: encryptionKey, - }; - stack = new EmbeddedLinuxCodePipelineBaseImageStack( - app, - `${resource_prefix}-stack`, - props, - ); - - addNagSuppressions(stack, props); - - // WHEN - cdk.Aspects.of(stack).add(new AwsSolutionsChecks({ verbose: true })); - }); - - // THEN - test("No unsuppressed Warnings", () => { - const results = Annotations.fromStack(stack).findWarning( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); - test("No unsuppressed Errors", () => { - const results = Annotations.fromStack(stack).findError( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); -}); diff --git a/test/codepipeline-embedded-linux-base-image.test.ts b/test/codepipeline-embedded-linux-base-image.test.ts deleted file mode 100644 index 93da6fb..0000000 --- a/test/codepipeline-embedded-linux-base-image.test.ts +++ /dev/null @@ -1,162 +0,0 @@ -import { beforeEach, describe, expect, test } from "@jest/globals"; -import { Match, Template } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import * as s3 from "aws-cdk-lib/aws-s3"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as kms from "aws-cdk-lib/aws-kms"; -import { - EmbeddedLinuxCodePipelineBaseImageProps, - EmbeddedLinuxCodePipelineBaseImageStack, -} from "../lib"; -import { DEFAULT_ENV, normalizedTemplateFromStack } from "./util"; - -describe("EmbeddedLinuxCodePipelineBaseImageStack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: EmbeddedLinuxCodePipelineBaseImageStack; - let props: EmbeddedLinuxCodePipelineBaseImageProps; - let template: Template; - let common: cdk.Stack; - - beforeEach(() => { - app = new cdk.App(); - - common = new cdk.Stack(app, `${resource_prefix}-common`, { - env: DEFAULT_ENV, - }); - - // Create required resources for testing - const sourceBucket = new s3.Bucket(common, `${resource_prefix}-src`); - const artifactBucket = new s3.Bucket(common, `${resource_prefix}-art`); - const ecrRepo = new ecr.Repository(common, `${resource_prefix}-ecr`); - const encryptionKey = new kms.Key(common, `${resource_prefix}-key`); - - // Create the pipeline stack & props - props = { - env: DEFAULT_ENV, - pipelineSourceBucket: sourceBucket, - pipelineArtifactBucket: artifactBucket, - ecrRepository: ecrRepo, - encryptionKey: encryptionKey, - }; - stack = new EmbeddedLinuxCodePipelineBaseImageStack( - app, - `${resource_prefix}-stack`, - props, - ); - - // Create template from stack - template = Template.fromStack(stack); - }); - - test("Pipeline is created with correct stages", () => { - template.hasResourceProperties("AWS::CodePipeline::Pipeline", { - Stages: [ - { - Name: "Source", - Actions: [ - { - Name: "Source", - ActionTypeId: { - Category: "Source", - Owner: "AWS", - Provider: "S3", - Version: "1", - }, - }, - ], - }, - { - Name: "Build", - Actions: [ - { - Name: "Build", - ActionTypeId: { - Category: "Build", - Owner: "AWS", - Provider: "CodeBuild", - Version: "1", - }, - }, - ], - }, - ], - }); - }); - - test("CodeBuild project is created with correct configuration", () => { - template.hasResourceProperties("AWS::CodeBuild::Project", { - Environment: { - ComputeType: "BUILD_GENERAL1_MEDIUM", - Image: "aws/codebuild/standard:7.0", - PrivilegedMode: true, - Type: "LINUX_CONTAINER", - }, - }); - }); - - test("EventBridge rule is created for weekly pipeline execution", () => { - template.hasResourceProperties("AWS::Events::Rule", { - ScheduleExpression: "cron(0 6 ? * Monday *)", - State: "ENABLED", - Targets: [ - { - Arn: { - "Fn::Join": [ - "", - [ - "arn:", - { - Ref: "AWS::Partition", - }, - `:codepipeline:${props.env?.region}:${props.env?.account}:`, - { - Ref: Match.stringLikeRegexp( - "CodePipelineBuildBaseImageCodePipeline*", - ), - }, - ], - ], - }, - }, - ], - }); - }); - - test("CloudWatch log group is created with correct retention", () => { - template.hasResourceProperties("AWS::Logs::LogGroup", { - RetentionInDays: 365, - }); - }); - - test("Required outputs are created", () => { - template.hasOutput("ECRRepositoryName", {}); - template.hasOutput("ECRBaseImageTag", {}); - template.hasOutput("ECRBaseImageCheckCommand", {}); - template.hasOutput("SourceURI", {}); - }); - - test("IAM role for bucket deployment has correct permissions", () => { - template.hasResourceProperties("AWS::IAM::Role", { - AssumeRolePolicyDocument: { - Statement: [ - { - Action: "sts:AssumeRole", - Effect: "Allow", - Principal: { - Service: "lambda.amazonaws.com", - }, - }, - ], - }, - }); - }); - - test("Snapshot", () => { - /* We must change some randomly generated file names used in the S3 asset construct. */ - const templateWithConstKeys = normalizedTemplateFromStack(stack); - expect(templateWithConstKeys).toMatchSnapshot(); - }); -}); diff --git a/test/codepipeline-embedded-linux-nag.test.ts b/test/codepipeline-embedded-linux-nag.test.ts deleted file mode 100644 index 9680660..0000000 --- a/test/codepipeline-embedded-linux-nag.test.ts +++ /dev/null @@ -1,267 +0,0 @@ -import { describe, expect, test, beforeAll } from "@jest/globals"; -import { AwsSolutionsChecks, NagSuppressions } from "cdk-nag"; -import { Annotations, Match } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as s3 from "aws-cdk-lib/aws-s3"; -import * as ec2 from "aws-cdk-lib/aws-ec2"; -import * as kms from "aws-cdk-lib/aws-kms"; -import { - ProjectType, - EmbeddedLinuxCodePipelineStack, - EmbeddedLinuxCodePipelineProps, -} from "../lib"; -import { DEFAULT_ENV } from "./util"; - -const base_path = `EmbeddedLinuxCodePipeline`; - -function addNagSuppressions( - _stack: EmbeddedLinuxCodePipelineStack, - _props: EmbeddedLinuxCodePipelineProps, -) { - NagSuppressions.addStackSuppressions(_stack, [ - { id: "CdkNagValidationFailure", reason: "Multiple Validation Failures." }, - { - id: "AwsSolutions-CB3", - reason: "CodeBuild Privilege mode is required for this pipeline.", - }, - { - id: "AwsSolutions-IAM4", - reason: "TODO: Re-evaluate managed policies per resources.", - }, - ]); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}BucketDeploymentRole/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "/aws/lambda/${base_path}-CustomCDKBucketDeployment* is needed here.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/Custom::CDKBucketDeployment8693BB64968944B69AAFB0CC9EB8756C/Resource`, - [ - { - id: "AwsSolutions-L1", - reason: "This Lambda function is 3rd Party (from CDK libs)", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}Project/PolicyDocument/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}Project/Role/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}BucketDeploymentRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}/Role/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}/Source/Source/CodePipelineActionRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}/Build/Build/CodePipelineActionRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}/Output/Output/CodePipelineActionRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "Because these are the default permissions assigned to a CDK default created role.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole/DefaultPolicy/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: - "This is a default CDK created policy, with default policy permissions.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}OSImageCheckOnStart/Resource`, - [ - { - id: "AwsSolutions-L1", - reason: "There is no latest PYTHON version to set.", - }, - ], - ); - NagSuppressions.addResourceSuppressionsByPath( - _stack, - `/${_stack.stackName}/${base_path}VMImportRole/Resource`, - [ - { - id: "AwsSolutions-IAM5", - reason: "Wildcard permissions needed on snapshots, bucket content.", - appliesTo: [ - { - regex: `/Resource::arn:aws:ec2:${DEFAULT_ENV.region}::snapshot/\\*$/g`, - }, - { - regex: `/Resource::<${_props.pipelineOutputBucket.node.id.replace(/-/g, "")}A5072518.Arn>/\\*$/g`, - }, - { - regex: `/Resource::${_stack.stackName}:ExportsOutputFnGetAtt${_props.pipelineOutputBucket.node.id.replace(/-/g, "").toLowerCase()}A5072518ArnD3542377/\\*$/g`, - }, - { - regex: `/Resource::test-common:ExportsOutputFnGetAtttestoutA5072518ArnD3542377/\\*$/g`, - }, - { - regex: `/Resource::\\*$/g`, - }, - ], - }, - ], - ); -} - -describe("EmbeddedLinuxCodePipelineStack cdk-nag AwsSolutions Pack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: EmbeddedLinuxCodePipelineStack; - let props: EmbeddedLinuxCodePipelineProps; - let common: cdk.Stack; - - beforeAll(() => { - // GIVEN - app = new cdk.App(); - - common = new cdk.Stack(app, `${resource_prefix}-common`, { - env: DEFAULT_ENV, - }); - - // GIVEN - - // Create required resources for testing - const pipelineSourceBucket = new s3.Bucket( - common, - `${resource_prefix}-src`, - { versioned: true }, - ); - const pipelineArtifactBucket = new s3.Bucket( - common, - `${resource_prefix}-art`, - {}, - ); - const pipelineOutputBucket = new s3.Bucket( - common, - `${resource_prefix}-out`, - {}, - ); - const ecrRepository = new ecr.Repository(common, `${resource_prefix}-ecr`); - const encryptionKey = new kms.Key(common, `${resource_prefix}-key`); - const vpc = new ec2.Vpc(common, `${resource_prefix}-vpc`, { - maxAzs: 2, - }); - - props = { - env: DEFAULT_ENV, - pipelineSourceBucket: pipelineSourceBucket, - pipelineArtifactBucket: pipelineArtifactBucket, - pipelineOutputBucket: pipelineOutputBucket, - ecrRepository: ecrRepository, - ecrRepositoryImageTag: "ubuntu_22_04", - projectType: ProjectType.PokyAmi, - vpc: vpc, - pipelineArtifactPrefix: `${ProjectType.PokyAmi}`, - encryptionKey: encryptionKey, - }; - stack = new EmbeddedLinuxCodePipelineStack( - app, - `${resource_prefix}-stack`, - props, - ); - - addNagSuppressions(stack, props); - - // WHEN - cdk.Aspects.of(stack).add(new AwsSolutionsChecks({ verbose: true })); - }); - - // THEN - test("No unsuppressed Warnings", () => { - const results = Annotations.fromStack(stack).findWarning( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); - test("No unsuppressed Errors", () => { - const results = Annotations.fromStack(stack).findError( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); -}); diff --git a/test/codepipeline-embedded-linux.test.ts b/test/codepipeline-embedded-linux.test.ts deleted file mode 100644 index 22eaf8c..0000000 --- a/test/codepipeline-embedded-linux.test.ts +++ /dev/null @@ -1,297 +0,0 @@ -import * as path from "path"; - -import { beforeEach, describe, expect, test } from "@jest/globals"; -import { Match, Template } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import * as s3 from "aws-cdk-lib/aws-s3"; -import * as ecr from "aws-cdk-lib/aws-ecr"; -import * as ec2 from "aws-cdk-lib/aws-ec2"; -import * as kms from "aws-cdk-lib/aws-kms"; -import { - EmbeddedLinuxCodePipelineProps, - EmbeddedLinuxCodePipelineStack, - ProjectType, -} from "../lib"; -import { DEFAULT_ENV, normalizedTemplateFromStack } from "./util"; - -describe("EmbeddedLinuxCodePipelineStack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: EmbeddedLinuxCodePipelineStack; - let props: EmbeddedLinuxCodePipelineProps; - let template: Template; - let common: cdk.Stack; - - beforeEach(() => { - app = new cdk.App(); - - common = new cdk.Stack(app, `${resource_prefix}-common`, { - env: DEFAULT_ENV, - }); - - // Create required resources for testing - const vpc = new ec2.Vpc(common, `${resource_prefix}-vpc`, { - maxAzs: 2, - }); - const sourceBucket = new s3.Bucket(common, `${resource_prefix}-src`); - const artifactBucket = new s3.Bucket(common, `${resource_prefix}-art`); - const outputBucket = new s3.Bucket(common, `${resource_prefix}-out`); - const ecrRepository = new ecr.Repository(common, `${resource_prefix}-ecr`); - const encryptionKey = new kms.Key(common, `${resource_prefix}-key`); - - // Create the pipeline stack & props - props = { - env: DEFAULT_ENV, - pipelineSourceBucket: sourceBucket, - pipelineArtifactBucket: artifactBucket, - pipelineOutputBucket: outputBucket, - ecrRepository: ecrRepository, - ecrRepositoryImageTag: "latest", - projectType: ProjectType.Custom, - vpc: vpc, - encryptionKey: encryptionKey, - sourceCustomPath: path.join(__dirname, "buildspec"), - }; - stack = new EmbeddedLinuxCodePipelineStack( - app, - `${resource_prefix}-stack`, - props, - ); - - // Create template from stack - template = Template.fromStack(stack); - }); - - test("Has Correct Resources Count", () => { - template.resourceCountIs("AWS::CodePipeline::Pipeline", 1); - template.resourceCountIs("AWS::CodeBuild::Project", 1); - // AWS::Events::Rule: - // - the S3 trigger - // - the CodePipeline Execution State Change - // - the weekly refresh - template.resourceCountIs("AWS::Events::Rule", 3); - template.resourceCountIs("AWS::Logs::LogGroup", 1); - }); - - test("Creates CodePipeline with correct stages", () => { - template.hasResourceProperties("AWS::CodePipeline::Pipeline", { - Stages: [ - { - Name: "Source", - Actions: [ - { - Name: "Source", - ActionTypeId: { - Category: "Source", - Owner: "AWS", - Provider: "S3", - Version: "1", - }, - }, - ], - }, - { - Name: "Build", - Actions: [ - { - Name: "Build", - ActionTypeId: { - Category: "Build", - Owner: "AWS", - Provider: "CodeBuild", - Version: "1", - }, - }, - ], - }, - { - Name: "Output", - Actions: [ - { - Name: "Output", - ActionTypeId: { - Category: "Deploy", - Owner: "AWS", - Provider: "S3", - Version: "1", - }, - }, - ], - }, - ], - }); - }); - - test("Creates CodeBuild project with correct configuration", () => { - template.hasResourceProperties("AWS::CodeBuild::Project", { - Environment: { - ComputeType: "BUILD_GENERAL1_XLARGE", - Image: { - "Fn::Join": [ - "", - [ - { - "Fn::Select": [ - 4, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.ecrRepository.node.id.replace(/-/g, "")}*`, - ), - }, - ], - }, - ], - }, - ".dkr.ecr.", - { - "Fn::Select": [ - 3, - { - "Fn::Split": [ - ":", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.ecrRepository.node.id.replace(/-/g, "")}*`, - ), - }, - ], - }, - ], - }, - ".", - { - Ref: "AWS::URLSuffix", - }, - "/", - { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputRef${props.ecrRepository.node.id.replace(/-/g, "")}*`, - ), - }, - ":latest", - ], - ], - }, - PrivilegedMode: true, - Type: "LINUX_CONTAINER", - }, - }); - }); - - test("Creates EventBridge rule for weekly pipeline execution", () => { - template.hasResourceProperties("AWS::Events::Rule", { - ScheduleExpression: "cron(0 6 ? * Tuesday *)", - State: "ENABLED", - Targets: [ - { - Arn: { - "Fn::Join": [ - "", - [ - "arn:", - { - Ref: "AWS::Partition", - }, - `:codepipeline:${props.env?.region}:${props.env?.account}:`, - { - Ref: Match.stringLikeRegexp("EmbeddedLinuxCodePipeline*"), - }, - ], - ], - }, - Id: "Target0", - RoleArn: { - "Fn::GetAtt": [ - Match.stringLikeRegexp("EmbeddedLinuxCodePipelineEventsRole*"), - "Arn", - ], - }, - }, - ], - }); - }); - - test("Creates EFS filesystem with security group", () => { - template.hasResourceProperties("AWS::EFS::FileSystem", { - FileSystemTags: [ - { - Key: "Name", - Value: `${stack.stackName}/EmbeddedLinuxCodePipelineFileSystem`, - }, - ], - Encrypted: true, - }); - - template.hasResourceProperties("AWS::EC2::SecurityGroup", { - SecurityGroupIngress: Match.arrayWith([ - Match.objectLike({ - CidrIp: { - "Fn::ImportValue": Match.stringLikeRegexp( - `${common.stackName}:ExportsOutputFnGetAtt${props.vpc.node.id.replace(/-/g, "")}*`, - ), - }, - FromPort: 2049, - IpProtocol: "tcp", - ToPort: 2049, - }), - ]), - }); - }); - - test("Creates required IAM roles and policies", () => { - // Test VM import role - template.hasResourceProperties("AWS::IAM::Role", { - RoleName: `${stack.stackName}-vm-mport`, - AssumeRolePolicyDocument: { - Statement: [ - { - Action: "sts:AssumeRole", - Effect: "Allow", - Principal: { - Service: "vmie.amazonaws.com", - }, - }, - ], - }, - }); - - // Test CodeBuild service role policies - template.hasResourceProperties("AWS::IAM::Policy", { - PolicyDocument: { - Statement: Match.arrayWith([ - Match.objectLike({ - Action: [ - "ec2:CreateImage", - "ec2:CreateTags", - "ec2:DescribeImages", - "ec2:DescribeSnapshots", - "ec2:DescribeImportSnapshotTasks", - "ec2:DescribeTags", - "ec2:CancelImportTask", - ], - Effect: "Allow", - Resource: "*", - }), - ]), - }, - }); - }); - - test("Logs Have Minimum Retention Period", () => { - template.resourceCountIs("AWS::Logs::LogGroup", 1); - template.allResourcesProperties("AWS::Logs::LogGroup", { - RetentionInDays: 365, - }); - }); - - test("Snapshot", () => { - /* We must change some randomly generated file names used in the S3 asset construct. */ - const templateWithConstKeys = normalizedTemplateFromStack(stack); - expect(templateWithConstKeys).toMatchSnapshot(); - }); -}); diff --git a/test/codepipeline-resources-nag.test.ts b/test/codepipeline-resources-nag.test.ts deleted file mode 100644 index 15cee0b..0000000 --- a/test/codepipeline-resources-nag.test.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { describe, expect, test, beforeAll } from "@jest/globals"; -import { AwsSolutionsChecks } from "cdk-nag"; -import { Annotations, Match } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import { PipelineResourcesProps, PipelineResourcesStack } from "../lib"; -import { DEFAULT_ENV } from "./util"; - -describe("PipelineResourcesStack cdk-nag AwsSolutions Pack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: PipelineResourcesStack; - let props: PipelineResourcesProps; - - beforeAll(() => { - // GIVEN - app = new cdk.App(); - - props = { - env: DEFAULT_ENV, - resource_prefix: `${DEFAULT_ENV.account}-${DEFAULT_ENV.region}`, - }; - - stack = new PipelineResourcesStack(app, `${resource_prefix}-stack`, props); - - // WHEN - cdk.Aspects.of(stack).add(new AwsSolutionsChecks({ verbose: true })); - }); - - // THEN - test("No unsuppressed Warnings", () => { - const results = Annotations.fromStack(stack).findWarning( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); - test("No unsuppressed Errors", () => { - const results = Annotations.fromStack(stack).findError( - "*", - Match.stringLikeRegexp("AwsSolutions-.*"), - ); - for (const result of results) { - console.log(JSON.stringify(result, null, 4)); - } - expect(results).toHaveLength(0); - }); -}); diff --git a/test/codepipeline-resources.test.ts b/test/codepipeline-resources.test.ts deleted file mode 100644 index 954542a..0000000 --- a/test/codepipeline-resources.test.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { beforeEach, describe, expect, it, test } from "@jest/globals"; -import { Match, Template } from "aws-cdk-lib/assertions"; - -import * as cdk from "aws-cdk-lib"; -import { PipelineResourcesProps, PipelineResourcesStack } from "../lib"; -import { DEFAULT_ENV, normalizedTemplateFromStack } from "./util"; - -Object.prototype.toString = function () { - return JSON.stringify(this); -}; - -describe("PipelineResourcesStack", () => { - const resource_prefix = "test"; - - let app: cdk.App; - let stack: PipelineResourcesStack; - let props: PipelineResourcesProps; - let template: Template; - - beforeEach(() => { - app = new cdk.App(); - - props = { - resource_prefix: resource_prefix, - env: DEFAULT_ENV, - }; - - stack = new PipelineResourcesStack(app, `${resource_prefix}-stack`, props); - template = Template.fromStack(stack); - }); - - test("creates VPC with correct CIDR", () => { - template.hasResourceProperties("AWS::EC2::VPC", { - CidrBlock: "10.0.0.0/16", - }); - }); - - test("creates ECR repository", () => { - template.hasResourceProperties("AWS::ECR::Repository", { - RepositoryName: `${resource_prefix}-${DEFAULT_ENV.account}-${DEFAULT_ENV.region}-repo`, - }); - }); - - test("creates KMS key with rotation enabled", () => { - template.hasResourceProperties("AWS::KMS::Key", { - EnableKeyRotation: true, - }); - }); - - const bucketSuffixes = [`artifact`, `source`, `output`, `logs`]; - it.each(bucketSuffixes)( - `Has S3 Bucket with versioning enabled`, - (bucketSuffix) => { - const bucketName = `${resource_prefix}-${DEFAULT_ENV.account}-${DEFAULT_ENV.region}-${bucketSuffix}`; - template.hasResourceProperties("AWS::S3::Bucket", { - BucketName: bucketName, - VersioningConfiguration: { - Status: "Enabled", - }, - }); - }, - ); - - test("creates VPC flow logs", () => { - template.hasResourceProperties("AWS::EC2::FlowLog", { - ResourceType: "VPC", - TrafficType: "ALL", - }); - - template.hasResourceProperties("AWS::Logs::LogGroup", { - RetentionInDays: 365, - }); - }); - - test("creates buckets and ECR repo with custom names when provided", () => { - const customName: string = `${resource_prefix}-${DEFAULT_ENV.account}-${DEFAULT_ENV.region}-custom-xxxxxxxxxxxxxx`; - const appWithCustomNames = new cdk.App(); - const stackWithCustomNames = new PipelineResourcesStack( - appWithCustomNames, - `${resource_prefix}-stack-custom`, - { - resource_prefix: resource_prefix, - ecrRepositoryName: customName, - pipelineArtifactBucketName: customName, - pipelineSourceBucketName: customName, - pipelineOutputBucketName: customName, - loggingBucketName: customName, - }, - ); - const templateWithCustomNames = Template.fromStack(stackWithCustomNames); - - templateWithCustomNames.hasResourceProperties("AWS::ECR::Repository", { - RepositoryName: customName, - }); - - templateWithCustomNames.hasResourceProperties("AWS::S3::Bucket", { - BucketName: customName, - }); - - templateWithCustomNames.resourceCountIs("AWS::S3::Bucket", 4); - }); - - test("Logs Have Minimum Retention Period", () => { - template.resourceCountIs("AWS::Logs::LogGroup", 1); - template.allResourcesProperties("AWS::Logs::LogGroup", { - RetentionInDays: 365, - }); - }); - - test("creates required outputs", () => { - template.hasOutput("LoggingBucket", {}); - template.hasOutput("SourceBucket", {}); - template.hasOutput("ArtifactBucket", {}); - template.hasOutput("OutputBucket", {}); - }); - - test("enforces SSL on all buckets", () => { - const buckets = template.findResources("AWS::S3::Bucket"); - template.resourceCountIs( - "AWS::S3::BucketPolicy", - Object.keys(buckets).length, - ); - - template.hasResourceProperties("AWS::S3::BucketPolicy", { - PolicyDocument: { - Statement: Match.arrayWith([ - Match.objectLike({ - Action: "s3:*", - Condition: { - Bool: { - "aws:SecureTransport": "false", - }, - }, - Effect: "Deny", - Principal: { - AWS: "*", - }, - }), - ]), - }, - }); - }); - - test("Snapshot", () => { - /* We must change some randomly generated file names used in the S3 asset construct. */ - const templateWithConstKeys = normalizedTemplateFromStack(stack); - expect(templateWithConstKeys).toMatchSnapshot(); - }); -}); diff --git a/test/util.ts b/test/util.ts deleted file mode 100644 index d071949..0000000 --- a/test/util.ts +++ /dev/null @@ -1,22 +0,0 @@ -import * as cdk from "aws-cdk-lib"; -import { Template } from "aws-cdk-lib/assertions"; - -/** - * Remove hashed asset values and put a normalized name in instead. - */ -export function normalizedTemplateFromStack(stack: cdk.Stack): Template { - const templateWithRandomKeys = Template.fromStack(stack); - const templateWithConstKeys = JSON.parse( - JSON.stringify(templateWithRandomKeys.toJSON()).replace( - /[a-z0-9]{64}\.(zip|sh)/g, - "arbitrary-file.ext", - ), - ); - - return templateWithConstKeys; -} - -export const DEFAULT_ENV = { - account: "111111111111", - region: "eu-central-1", -}; diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json deleted file mode 100644 index 09a9b02..0000000 --- a/tsconfig.eslint.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "rootDir": "." - }, - "include": ["./lib/**/*", "./test/**/*"] -} diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index f433262..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "compilerOptions": { - "target": "es2020", - "module": "commonjs", - "lib": ["es2020", "dom"], - "declaration": true, - "strict": true, - "noImplicitAny": true, - "strictNullChecks": true, - "noImplicitThis": true, - "alwaysStrict": true, - "noUnusedLocals": false, - "noUnusedParameters": false, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": false, - "inlineSourceMap": true, - "inlineSources": true, - "experimentalDecorators": true, - "strictPropertyInitialization": false, - "typeRoots": ["./node_modules/@types"], - "resolveJsonModule": true, - "rootDir": "./lib", - "outDir": "./dist" - }, - "include": ["./lib/**/*", "../test/**/*"], - "exclude": ["node_modules", "cdk.out", "dist"] -} diff --git a/typedoc.json b/typedoc.json deleted file mode 100644 index 4702a1e..0000000 --- a/typedoc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://typedoc.org/schema.json", - "entryPoints": ["./lib/index.ts"], - "out": "dist/docs", - "readme": "none" -} diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index a11bdfa..0000000 --- a/yarn.lock +++ /dev/null @@ -1,5490 +0,0 @@ -# This file is generated by running "yarn install" inside your project. -# Manual changes might be lost - proceed with caution! - -__metadata: - version: 8 - cacheKey: 10c0 - -"@ampproject/remapping@npm:^2.2.0": - version: 2.3.0 - resolution: "@ampproject/remapping@npm:2.3.0" - dependencies: - "@jridgewell/gen-mapping": "npm:^0.3.5" - "@jridgewell/trace-mapping": "npm:^0.3.24" - checksum: 10c0/81d63cca5443e0f0c72ae18b544cc28c7c0ec2cea46e7cb888bb0e0f411a1191d0d6b7af798d54e30777d8d1488b2ec0732aac2be342d3d7d3ffd271c6f489ed - languageName: node - linkType: hard - -"@aws-cdk/asset-awscli-v1@npm:2.2.242": - version: 2.2.242 - resolution: "@aws-cdk/asset-awscli-v1@npm:2.2.242" - checksum: 10c0/bf0d1694de559accb4dc28257eccbd959d37d5d2c5572aa77bc3a01612796b6fcf616e6b5fbb52f0212f61ee36e7eba333ba3a387142789eaf6b3a98e819c814 - languageName: node - linkType: hard - -"@aws-cdk/asset-node-proxy-agent-v6@npm:^2.1.0": - version: 2.1.0 - resolution: "@aws-cdk/asset-node-proxy-agent-v6@npm:2.1.0" - checksum: 10c0/1ac7bccf82afee69c05241a5ad66345fbd468678ce633bb43c5921c7241a3186231b3b65f9ac6b9924933349c826a9470c79a3ddf14a03fbfce43f14c4d957f2 - languageName: node - linkType: hard - -"@aws-cdk/cloud-assembly-schema@npm:^48.6.0": - version: 48.12.0 - resolution: "@aws-cdk/cloud-assembly-schema@npm:48.12.0" - dependencies: - jsonschema: "npm:~1.4.1" - semver: "npm:^7.7.2" - checksum: 10c0/7c7f9af1deab22e385384bc50ad934a35cc5488f7288387fa5a09ff7640c9158afc4e7ef2b437dfeddcb7b3a81c5d3f8da6309c7a5859fc040a5ca3f81a43821 - languageName: node - linkType: hard - -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.26.2": - version: 7.26.2 - resolution: "@babel/code-frame@npm:7.26.2" - dependencies: - "@babel/helper-validator-identifier": "npm:^7.25.9" - js-tokens: "npm:^4.0.0" - picocolors: "npm:^1.0.0" - checksum: 10c0/7d79621a6849183c415486af99b1a20b84737e8c11cd55b6544f688c51ce1fd710e6d869c3dd21232023da272a79b91efb3e83b5bc2dc65c1187c5fcd1b72ea8 - languageName: node - linkType: hard - -"@babel/code-frame@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/code-frame@npm:7.27.1" - dependencies: - "@babel/helper-validator-identifier": "npm:^7.27.1" - js-tokens: "npm:^4.0.0" - picocolors: "npm:^1.1.1" - checksum: 10c0/5dd9a18baa5fce4741ba729acc3a3272c49c25cb8736c4b18e113099520e7ef7b545a4096a26d600e4416157e63e87d66db46aa3fbf0a5f2286da2705c12da00 - languageName: node - linkType: hard - -"@babel/compat-data@npm:^7.26.8": - version: 7.26.8 - resolution: "@babel/compat-data@npm:7.26.8" - checksum: 10c0/66408a0388c3457fff1c2f6c3a061278dd7b3d2f0455ea29bb7b187fa52c60ae8b4054b3c0a184e21e45f0eaac63cf390737bc7504d1f4a088a6e7f652c068ca - languageName: node - linkType: hard - -"@babel/compat-data@npm:^7.27.2": - version: 7.28.0 - resolution: "@babel/compat-data@npm:7.28.0" - checksum: 10c0/c4e527302bcd61052423f757355a71c3bc62362bac13f7f130de16e439716f66091ff5bdecda418e8fa0271d4c725f860f0ee23ab7bf6e769f7a8bb16dfcb531 - languageName: node - linkType: hard - -"@babel/core@npm:^7.23.9": - version: 7.26.10 - resolution: "@babel/core@npm:7.26.10" - dependencies: - "@ampproject/remapping": "npm:^2.2.0" - "@babel/code-frame": "npm:^7.26.2" - "@babel/generator": "npm:^7.26.10" - "@babel/helper-compilation-targets": "npm:^7.26.5" - "@babel/helper-module-transforms": "npm:^7.26.0" - "@babel/helpers": "npm:^7.26.10" - "@babel/parser": "npm:^7.26.10" - "@babel/template": "npm:^7.26.9" - "@babel/traverse": "npm:^7.26.10" - "@babel/types": "npm:^7.26.10" - convert-source-map: "npm:^2.0.0" - debug: "npm:^4.1.0" - gensync: "npm:^1.0.0-beta.2" - json5: "npm:^2.2.3" - semver: "npm:^6.3.1" - checksum: 10c0/e046e0e988ab53841b512ee9d263ca409f6c46e2a999fe53024688b92db394346fa3aeae5ea0866331f62133982eee05a675d22922a4603c3f603aa09a581d62 - languageName: node - linkType: hard - -"@babel/core@npm:^7.27.4": - version: 7.28.3 - resolution: "@babel/core@npm:7.28.3" - dependencies: - "@ampproject/remapping": "npm:^2.2.0" - "@babel/code-frame": "npm:^7.27.1" - "@babel/generator": "npm:^7.28.3" - "@babel/helper-compilation-targets": "npm:^7.27.2" - "@babel/helper-module-transforms": "npm:^7.28.3" - "@babel/helpers": "npm:^7.28.3" - "@babel/parser": "npm:^7.28.3" - "@babel/template": "npm:^7.27.2" - "@babel/traverse": "npm:^7.28.3" - "@babel/types": "npm:^7.28.2" - convert-source-map: "npm:^2.0.0" - debug: "npm:^4.1.0" - gensync: "npm:^1.0.0-beta.2" - json5: "npm:^2.2.3" - semver: "npm:^6.3.1" - checksum: 10c0/e6b3eb830c4b93f5a442b305776df1cd2bb4fafa4612355366f67c764f3e54a69d45b84def77fb2d4fd83439102667b0a92c3ea2838f678733245b748c602a7b - languageName: node - linkType: hard - -"@babel/generator@npm:^7.26.10, @babel/generator@npm:^7.27.0": - version: 7.27.0 - resolution: "@babel/generator@npm:7.27.0" - dependencies: - "@babel/parser": "npm:^7.27.0" - "@babel/types": "npm:^7.27.0" - "@jridgewell/gen-mapping": "npm:^0.3.5" - "@jridgewell/trace-mapping": "npm:^0.3.25" - jsesc: "npm:^3.0.2" - checksum: 10c0/7cb10693d2b365c278f109a745dc08856cae139d262748b77b70ce1d97da84627f79648cab6940d847392c0e5d180441669ed958b3aee98d9c7d274b37c553bd - languageName: node - linkType: hard - -"@babel/generator@npm:^7.27.5, @babel/generator@npm:^7.28.3": - version: 7.28.3 - resolution: "@babel/generator@npm:7.28.3" - dependencies: - "@babel/parser": "npm:^7.28.3" - "@babel/types": "npm:^7.28.2" - "@jridgewell/gen-mapping": "npm:^0.3.12" - "@jridgewell/trace-mapping": "npm:^0.3.28" - jsesc: "npm:^3.0.2" - checksum: 10c0/0ff58bcf04f8803dcc29479b547b43b9b0b828ec1ee0668e92d79f9e90f388c28589056637c5ff2fd7bcf8d153c990d29c448d449d852bf9d1bc64753ca462bc - languageName: node - linkType: hard - -"@babel/helper-compilation-targets@npm:^7.26.5": - version: 7.27.0 - resolution: "@babel/helper-compilation-targets@npm:7.27.0" - dependencies: - "@babel/compat-data": "npm:^7.26.8" - "@babel/helper-validator-option": "npm:^7.25.9" - browserslist: "npm:^4.24.0" - lru-cache: "npm:^5.1.1" - semver: "npm:^6.3.1" - checksum: 10c0/375c9f80e6540118f41bd53dd54d670b8bf91235d631bdead44c8b313b26e9cd89aed5c6df770ad13a87a464497b5346bb72b9462ba690473da422f5402618b6 - languageName: node - linkType: hard - -"@babel/helper-compilation-targets@npm:^7.27.2": - version: 7.27.2 - resolution: "@babel/helper-compilation-targets@npm:7.27.2" - dependencies: - "@babel/compat-data": "npm:^7.27.2" - "@babel/helper-validator-option": "npm:^7.27.1" - browserslist: "npm:^4.24.0" - lru-cache: "npm:^5.1.1" - semver: "npm:^6.3.1" - checksum: 10c0/f338fa00dcfea931804a7c55d1a1c81b6f0a09787e528ec580d5c21b3ecb3913f6cb0f361368973ce953b824d910d3ac3e8a8ee15192710d3563826447193ad1 - languageName: node - linkType: hard - -"@babel/helper-globals@npm:^7.28.0": - version: 7.28.0 - resolution: "@babel/helper-globals@npm:7.28.0" - checksum: 10c0/5a0cd0c0e8c764b5f27f2095e4243e8af6fa145daea2b41b53c0c1414fe6ff139e3640f4e2207ae2b3d2153a1abd346f901c26c290ee7cb3881dd922d4ee9232 - languageName: node - linkType: hard - -"@babel/helper-module-imports@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-module-imports@npm:7.25.9" - dependencies: - "@babel/traverse": "npm:^7.25.9" - "@babel/types": "npm:^7.25.9" - checksum: 10c0/078d3c2b45d1f97ffe6bb47f61961be4785d2342a4156d8b42c92ee4e1b7b9e365655dd6cb25329e8fe1a675c91eeac7e3d04f0c518b67e417e29d6e27b6aa70 - languageName: node - linkType: hard - -"@babel/helper-module-imports@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/helper-module-imports@npm:7.27.1" - dependencies: - "@babel/traverse": "npm:^7.27.1" - "@babel/types": "npm:^7.27.1" - checksum: 10c0/e00aace096e4e29290ff8648455c2bc4ed982f0d61dbf2db1b5e750b9b98f318bf5788d75a4f974c151bd318fd549e81dbcab595f46b14b81c12eda3023f51e8 - languageName: node - linkType: hard - -"@babel/helper-module-transforms@npm:^7.26.0": - version: 7.26.0 - resolution: "@babel/helper-module-transforms@npm:7.26.0" - dependencies: - "@babel/helper-module-imports": "npm:^7.25.9" - "@babel/helper-validator-identifier": "npm:^7.25.9" - "@babel/traverse": "npm:^7.25.9" - peerDependencies: - "@babel/core": ^7.0.0 - checksum: 10c0/ee111b68a5933481d76633dad9cdab30c41df4479f0e5e1cc4756dc9447c1afd2c9473b5ba006362e35b17f4ebddd5fca090233bef8dfc84dca9d9127e56ec3a - languageName: node - linkType: hard - -"@babel/helper-module-transforms@npm:^7.28.3": - version: 7.28.3 - resolution: "@babel/helper-module-transforms@npm:7.28.3" - dependencies: - "@babel/helper-module-imports": "npm:^7.27.1" - "@babel/helper-validator-identifier": "npm:^7.27.1" - "@babel/traverse": "npm:^7.28.3" - peerDependencies: - "@babel/core": ^7.0.0 - checksum: 10c0/549be62515a6d50cd4cfefcab1b005c47f89bd9135a22d602ee6a5e3a01f27571868ada10b75b033569f24dc4a2bb8d04bfa05ee75c16da7ade2d0db1437fcdb - languageName: node - linkType: hard - -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.25.9, @babel/helper-plugin-utils@npm:^7.8.0": - version: 7.26.5 - resolution: "@babel/helper-plugin-utils@npm:7.26.5" - checksum: 10c0/cdaba71d4b891aa6a8dfbe5bac2f94effb13e5fa4c2c487667fdbaa04eae059b78b28d85a885071f45f7205aeb56d16759e1bed9c118b94b16e4720ef1ab0f65 - languageName: node - linkType: hard - -"@babel/helper-plugin-utils@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/helper-plugin-utils@npm:7.27.1" - checksum: 10c0/94cf22c81a0c11a09b197b41ab488d416ff62254ce13c57e62912c85700dc2e99e555225787a4099ff6bae7a1812d622c80fbaeda824b79baa10a6c5ac4cf69b - languageName: node - linkType: hard - -"@babel/helper-string-parser@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-string-parser@npm:7.25.9" - checksum: 10c0/7244b45d8e65f6b4338a6a68a8556f2cb161b782343e97281a5f2b9b93e420cad0d9f5773a59d79f61d0c448913d06f6a2358a87f2e203cf112e3c5b53522ee6 - languageName: node - linkType: hard - -"@babel/helper-string-parser@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/helper-string-parser@npm:7.27.1" - checksum: 10c0/8bda3448e07b5583727c103560bcf9c4c24b3c1051a4c516d4050ef69df37bb9a4734a585fe12725b8c2763de0a265aa1e909b485a4e3270b7cfd3e4dbe4b602 - languageName: node - linkType: hard - -"@babel/helper-validator-identifier@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-validator-identifier@npm:7.25.9" - checksum: 10c0/4fc6f830177b7b7e887ad3277ddb3b91d81e6c4a24151540d9d1023e8dc6b1c0505f0f0628ae653601eb4388a8db45c1c14b2c07a9173837aef7e4116456259d - languageName: node - linkType: hard - -"@babel/helper-validator-identifier@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/helper-validator-identifier@npm:7.27.1" - checksum: 10c0/c558f11c4871d526498e49d07a84752d1800bf72ac0d3dad100309a2eaba24efbf56ea59af5137ff15e3a00280ebe588560534b0e894a4750f8b1411d8f78b84 - languageName: node - linkType: hard - -"@babel/helper-validator-option@npm:^7.25.9": - version: 7.25.9 - resolution: "@babel/helper-validator-option@npm:7.25.9" - checksum: 10c0/27fb195d14c7dcb07f14e58fe77c44eea19a6a40a74472ec05c441478fa0bb49fa1c32b2d64be7a38870ee48ef6601bdebe98d512f0253aea0b39756c4014f3e - languageName: node - linkType: hard - -"@babel/helper-validator-option@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/helper-validator-option@npm:7.27.1" - checksum: 10c0/6fec5f006eba40001a20f26b1ef5dbbda377b7b68c8ad518c05baa9af3f396e780bdfded24c4eef95d14bb7b8fd56192a6ed38d5d439b97d10efc5f1a191d148 - languageName: node - linkType: hard - -"@babel/helpers@npm:^7.26.10": - version: 7.27.0 - resolution: "@babel/helpers@npm:7.27.0" - dependencies: - "@babel/template": "npm:^7.27.0" - "@babel/types": "npm:^7.27.0" - checksum: 10c0/a3c64fd2d8b164c041808826cc00769d814074ea447daaacaf2e3714b66d3f4237ef6e420f61d08f463d6608f3468c2ac5124ab7c68f704e20384def5ade95f4 - languageName: node - linkType: hard - -"@babel/helpers@npm:^7.28.3": - version: 7.28.3 - resolution: "@babel/helpers@npm:7.28.3" - dependencies: - "@babel/template": "npm:^7.27.2" - "@babel/types": "npm:^7.28.2" - checksum: 10c0/03a8f94135415eec62d37be9c62c63908f2d5386c7b00e04545de4961996465775330e3eb57717ea7451e19b0e24615777ebfec408c2adb1df3b10b4df6bf1ce - languageName: node - linkType: hard - -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.26.10, @babel/parser@npm:^7.27.0": - version: 7.27.0 - resolution: "@babel/parser@npm:7.27.0" - dependencies: - "@babel/types": "npm:^7.27.0" - bin: - parser: ./bin/babel-parser.js - checksum: 10c0/ba2ed3f41735826546a3ef2a7634a8d10351df221891906e59b29b0a0cd748f9b0e7a6f07576858a9de8e77785aad925c8389ddef146de04ea2842047c9d2859 - languageName: node - linkType: hard - -"@babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.3": - version: 7.28.3 - resolution: "@babel/parser@npm:7.28.3" - dependencies: - "@babel/types": "npm:^7.28.2" - bin: - parser: ./bin/babel-parser.js - checksum: 10c0/1f41eb82623b0ca0f94521b57f4790c6c457cd922b8e2597985b36bdec24114a9ccf54640286a760ceb60f11fe9102d192bf60477aee77f5d45f1029b9b72729 - languageName: node - linkType: hard - -"@babel/plugin-syntax-async-generators@npm:^7.8.4": - version: 7.8.4 - resolution: "@babel/plugin-syntax-async-generators@npm:7.8.4" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/d13efb282838481348c71073b6be6245b35d4f2f964a8f71e4174f235009f929ef7613df25f8d2338e2d3e44bc4265a9f8638c6aaa136d7a61fe95985f9725c8 - languageName: node - linkType: hard - -"@babel/plugin-syntax-bigint@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-bigint@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/686891b81af2bc74c39013655da368a480f17dd237bf9fbc32048e5865cb706d5a8f65438030da535b332b1d6b22feba336da8fa931f663b6b34e13147d12dde - languageName: node - linkType: hard - -"@babel/plugin-syntax-class-properties@npm:^7.12.13": - version: 7.12.13 - resolution: "@babel/plugin-syntax-class-properties@npm:7.12.13" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.12.13" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/95168fa186416195280b1264fb18afcdcdcea780b3515537b766cb90de6ce042d42dd6a204a39002f794ae5845b02afb0fd4861a3308a861204a55e68310a120 - languageName: node - linkType: hard - -"@babel/plugin-syntax-class-static-block@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-syntax-class-static-block@npm:7.14.5" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.14.5" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/4464bf9115f4a2d02ce1454411baf9cfb665af1da53709c5c56953e5e2913745b0fcce82982a00463d6facbdd93445c691024e310b91431a1e2f024b158f6371 - languageName: node - linkType: hard - -"@babel/plugin-syntax-import-attributes@npm:^7.24.7": - version: 7.26.0 - resolution: "@babel/plugin-syntax-import-attributes@npm:7.26.0" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.25.9" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/e594c185b12bfe0bbe7ca78dfeebe870e6d569a12128cac86f3164a075fe0ff70e25ddbd97fd0782906b91f65560c9dc6957716b7b4a68aba2516c9b7455e352 - languageName: node - linkType: hard - -"@babel/plugin-syntax-import-meta@npm:^7.10.4": - version: 7.10.4 - resolution: "@babel/plugin-syntax-import-meta@npm:7.10.4" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.10.4" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/0b08b5e4c3128523d8e346f8cfc86824f0da2697b1be12d71af50a31aff7a56ceb873ed28779121051475010c28d6146a6bfea8518b150b71eeb4e46190172ee - languageName: node - linkType: hard - -"@babel/plugin-syntax-json-strings@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-json-strings@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/e98f31b2ec406c57757d115aac81d0336e8434101c224edd9a5c93cefa53faf63eacc69f3138960c8b25401315af03df37f68d316c151c4b933136716ed6906e - languageName: node - linkType: hard - -"@babel/plugin-syntax-jsx@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/plugin-syntax-jsx@npm:7.27.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.27.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/bc5afe6a458d5f0492c02a54ad98c5756a0c13bd6d20609aae65acd560a9e141b0876da5f358dce34ea136f271c1016df58b461184d7ae9c4321e0f98588bc84 - languageName: node - linkType: hard - -"@babel/plugin-syntax-logical-assignment-operators@npm:^7.10.4": - version: 7.10.4 - resolution: "@babel/plugin-syntax-logical-assignment-operators@npm:7.10.4" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.10.4" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/2594cfbe29411ad5bc2ad4058de7b2f6a8c5b86eda525a993959438615479e59c012c14aec979e538d60a584a1a799b60d1b8942c3b18468cb9d99b8fd34cd0b - languageName: node - linkType: hard - -"@babel/plugin-syntax-nullish-coalescing-operator@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-nullish-coalescing-operator@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/2024fbb1162899094cfc81152449b12bd0cc7053c6d4bda8ac2852545c87d0a851b1b72ed9560673cbf3ef6248257262c3c04aabf73117215c1b9cc7dd2542ce - languageName: node - linkType: hard - -"@babel/plugin-syntax-numeric-separator@npm:^7.10.4": - version: 7.10.4 - resolution: "@babel/plugin-syntax-numeric-separator@npm:7.10.4" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.10.4" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/c55a82b3113480942c6aa2fcbe976ff9caa74b7b1109ff4369641dfbc88d1da348aceb3c31b6ed311c84d1e7c479440b961906c735d0ab494f688bf2fd5b9bb9 - languageName: node - linkType: hard - -"@babel/plugin-syntax-object-rest-spread@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-object-rest-spread@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/ee1eab52ea6437e3101a0a7018b0da698545230015fc8ab129d292980ec6dff94d265e9e90070e8ae5fed42f08f1622c14c94552c77bcac784b37f503a82ff26 - languageName: node - linkType: hard - -"@babel/plugin-syntax-optional-catch-binding@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-optional-catch-binding@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/27e2493ab67a8ea6d693af1287f7e9acec206d1213ff107a928e85e173741e1d594196f99fec50e9dde404b09164f39dec5864c767212154ffe1caa6af0bc5af - languageName: node - linkType: hard - -"@babel/plugin-syntax-optional-chaining@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-optional-chaining@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.8.0" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/46edddf2faa6ebf94147b8e8540dfc60a5ab718e2de4d01b2c0bdf250a4d642c2bd47cbcbb739febcb2bf75514dbcefad3c52208787994b8d0f8822490f55e81 - languageName: node - linkType: hard - -"@babel/plugin-syntax-private-property-in-object@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-syntax-private-property-in-object@npm:7.14.5" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.14.5" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/69822772561706c87f0a65bc92d0772cea74d6bc0911537904a676d5ff496a6d3ac4e05a166d8125fce4a16605bace141afc3611074e170a994e66e5397787f3 - languageName: node - linkType: hard - -"@babel/plugin-syntax-top-level-await@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/plugin-syntax-top-level-await@npm:7.14.5" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.14.5" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/14bf6e65d5bc1231ffa9def5f0ef30b19b51c218fcecaa78cd1bdf7939dfdf23f90336080b7f5196916368e399934ce5d581492d8292b46a2fb569d8b2da106f - languageName: node - linkType: hard - -"@babel/plugin-syntax-typescript@npm:^7.27.1": - version: 7.27.1 - resolution: "@babel/plugin-syntax-typescript@npm:7.27.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.27.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/11589b4c89c66ef02d57bf56c6246267851ec0c361f58929327dc3e070b0dab644be625bbe7fb4c4df30c3634bfdfe31244e1f517be397d2def1487dbbe3c37d - languageName: node - linkType: hard - -"@babel/template@npm:^7.26.9, @babel/template@npm:^7.27.0": - version: 7.27.0 - resolution: "@babel/template@npm:7.27.0" - dependencies: - "@babel/code-frame": "npm:^7.26.2" - "@babel/parser": "npm:^7.27.0" - "@babel/types": "npm:^7.27.0" - checksum: 10c0/13af543756127edb5f62bf121f9b093c09a2b6fe108373887ccffc701465cfbcb17e07cf48aa7f440415b263f6ec006e9415c79dfc2e8e6010b069435f81f340 - languageName: node - linkType: hard - -"@babel/template@npm:^7.27.2": - version: 7.27.2 - resolution: "@babel/template@npm:7.27.2" - dependencies: - "@babel/code-frame": "npm:^7.27.1" - "@babel/parser": "npm:^7.27.2" - "@babel/types": "npm:^7.27.1" - checksum: 10c0/ed9e9022651e463cc5f2cc21942f0e74544f1754d231add6348ff1b472985a3b3502041c0be62dc99ed2d12cfae0c51394bf827452b98a2f8769c03b87aadc81 - languageName: node - linkType: hard - -"@babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.26.10": - version: 7.27.0 - resolution: "@babel/traverse@npm:7.27.0" - dependencies: - "@babel/code-frame": "npm:^7.26.2" - "@babel/generator": "npm:^7.27.0" - "@babel/parser": "npm:^7.27.0" - "@babel/template": "npm:^7.27.0" - "@babel/types": "npm:^7.27.0" - debug: "npm:^4.3.1" - globals: "npm:^11.1.0" - checksum: 10c0/c7af29781960dacaae51762e8bc6c4b13d6ab4b17312990fbca9fc38e19c4ad7fecaae24b1cf52fb844e8e6cdc76c70ad597f90e496bcb3cc0a1d66b41a0aa5b - languageName: node - linkType: hard - -"@babel/traverse@npm:^7.27.1, @babel/traverse@npm:^7.28.3": - version: 7.28.3 - resolution: "@babel/traverse@npm:7.28.3" - dependencies: - "@babel/code-frame": "npm:^7.27.1" - "@babel/generator": "npm:^7.28.3" - "@babel/helper-globals": "npm:^7.28.0" - "@babel/parser": "npm:^7.28.3" - "@babel/template": "npm:^7.27.2" - "@babel/types": "npm:^7.28.2" - debug: "npm:^4.3.1" - checksum: 10c0/26e95b29a46925b7b41255e03185b7e65b2c4987e14bbee7bbf95867fb19c69181f301bbe1c7b201d4fe0cce6aa0cbea0282dad74b3a0fef3d9058f6c76fdcb3 - languageName: node - linkType: hard - -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.10, @babel/types@npm:^7.27.0": - version: 7.27.0 - resolution: "@babel/types@npm:7.27.0" - dependencies: - "@babel/helper-string-parser": "npm:^7.25.9" - "@babel/helper-validator-identifier": "npm:^7.25.9" - checksum: 10c0/6f1592eabe243c89a608717b07b72969be9d9d2fce1dee21426238757ea1fa60fdfc09b29de9e48d8104311afc6e6fb1702565a9cc1e09bc1e76f2b2ddb0f6e1 - languageName: node - linkType: hard - -"@babel/types@npm:^7.27.1, @babel/types@npm:^7.27.3, @babel/types@npm:^7.28.2": - version: 7.28.2 - resolution: "@babel/types@npm:7.28.2" - dependencies: - "@babel/helper-string-parser": "npm:^7.27.1" - "@babel/helper-validator-identifier": "npm:^7.27.1" - checksum: 10c0/24b11c9368e7e2c291fe3c1bcd1ed66f6593a3975f479cbb9dd7b8c8d8eab8a962b0d2fca616c043396ce82500ac7d23d594fbbbd013828182c01596370a0b10 - languageName: node - linkType: hard - -"@balena/dockerignore@npm:^1.0.2": - version: 1.0.2 - resolution: "@balena/dockerignore@npm:1.0.2" - checksum: 10c0/0bcb067e86f6734ab943ce4ce9a7c8611f2e983a70bccebf9d2309db57695c09dded7faf5be49c929c4c9e9a9174ae55fc625626de0fb9958823c37423d12f4e - languageName: node - linkType: hard - -"@bcoe/v8-coverage@npm:^0.2.3": - version: 0.2.3 - resolution: "@bcoe/v8-coverage@npm:0.2.3" - checksum: 10c0/6b80ae4cb3db53f486da2dc63b6e190a74c8c3cca16bb2733f234a0b6a9382b09b146488ae08e2b22cf00f6c83e20f3e040a2f7894f05c045c946d6a090b1d52 - languageName: node - linkType: hard - -"@cspotcode/source-map-support@npm:^0.8.0": - version: 0.8.1 - resolution: "@cspotcode/source-map-support@npm:0.8.1" - dependencies: - "@jridgewell/trace-mapping": "npm:0.3.9" - checksum: 10c0/05c5368c13b662ee4c122c7bfbe5dc0b613416672a829f3e78bc49a357a197e0218d6e74e7c66cfcd04e15a179acab080bd3c69658c9fbefd0e1ccd950a07fc6 - languageName: node - linkType: hard - -"@emnapi/core@npm:^1.4.3": - version: 1.5.0 - resolution: "@emnapi/core@npm:1.5.0" - dependencies: - "@emnapi/wasi-threads": "npm:1.1.0" - tslib: "npm:^2.4.0" - checksum: 10c0/52ba3485277706d92fa27d92b37e5b4f6ef0742c03ed68f8096f294c6bfa30f0752c82d4c2bfa14bff4dc30d63c9f71a8f9fb64a92743d00807d9e468fafd5ff - languageName: node - linkType: hard - -"@emnapi/runtime@npm:^1.4.3": - version: 1.5.0 - resolution: "@emnapi/runtime@npm:1.5.0" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/a85c9fc4e3af49cbe41e5437e5be2551392a931910cd0a5b5d3572532786927810c9cc1db11b232ec8f9657b33d4e6f7c4f985f1a052917d7cd703b5b2a20faa - languageName: node - linkType: hard - -"@emnapi/wasi-threads@npm:1.1.0": - version: 1.1.0 - resolution: "@emnapi/wasi-threads@npm:1.1.0" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/e6d54bf2b1e64cdd83d2916411e44e579b6ae35d5def0dea61a3c452d9921373044dff32a8b8473ae60c80692bdc39323e98b96a3f3d87ba6886b24dd0ef7ca1 - languageName: node - linkType: hard - -"@eslint-community/eslint-utils@npm:^4.4.0": - version: 4.5.1 - resolution: "@eslint-community/eslint-utils@npm:4.5.1" - dependencies: - eslint-visitor-keys: "npm:^3.4.3" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - checksum: 10c0/b520ae1b7bd04531a5c5da2021071815df4717a9f7d13720e3a5ddccf5c9c619532039830811fcbae1c2f1c9d133e63af2435ee69e0fc0fabbd6d928c6800fb2 - languageName: node - linkType: hard - -"@eslint-community/eslint-utils@npm:^4.8.0": - version: 4.9.0 - resolution: "@eslint-community/eslint-utils@npm:4.9.0" - dependencies: - eslint-visitor-keys: "npm:^3.4.3" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - checksum: 10c0/8881e22d519326e7dba85ea915ac7a143367c805e6ba1374c987aa2fbdd09195cc51183d2da72c0e2ff388f84363e1b220fd0d19bef10c272c63455162176817 - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.12.1": - version: 4.12.1 - resolution: "@eslint-community/regexpp@npm:4.12.1" - checksum: 10c0/a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6 - languageName: node - linkType: hard - -"@eslint/compat@npm:^1.4.0": - version: 1.4.0 - resolution: "@eslint/compat@npm:1.4.0" - dependencies: - "@eslint/core": "npm:^0.16.0" - peerDependencies: - eslint: ^8.40 || 9 - peerDependenciesMeta: - eslint: - optional: true - checksum: 10c0/a5fa14df2ce88f786830f161e730194fb6eecf2916d8c108cb0f62e3eaad92265325635041ecc972e5cbb97be850903870b3edbe252d3924dc34c29f6a9b390f - languageName: node - linkType: hard - -"@eslint/config-array@npm:^0.21.1": - version: 0.21.1 - resolution: "@eslint/config-array@npm:0.21.1" - dependencies: - "@eslint/object-schema": "npm:^2.1.7" - debug: "npm:^4.3.1" - minimatch: "npm:^3.1.2" - checksum: 10c0/2f657d4edd6ddcb920579b72e7a5b127865d4c3fb4dda24f11d5c4f445a93ca481aebdbd6bf3291c536f5d034458dbcbb298ee3b698bc6c9dd02900fe87eec3c - languageName: node - linkType: hard - -"@eslint/config-helpers@npm:^0.4.1": - version: 0.4.1 - resolution: "@eslint/config-helpers@npm:0.4.1" - dependencies: - "@eslint/core": "npm:^0.16.0" - checksum: 10c0/bb7dd534019a975320ac0f8e0699b37433cee9a3731354c1ee941648e6651032386e7848792060fb53a0fd603ea6cf7a101ed3bd5b82ee2f641598986d1e080a - languageName: node - linkType: hard - -"@eslint/core@npm:^0.16.0": - version: 0.16.0 - resolution: "@eslint/core@npm:0.16.0" - dependencies: - "@types/json-schema": "npm:^7.0.15" - checksum: 10c0/f27496a244ccfdca3e0fbc3331f9da3f603bdf1aa431af0045a3205826789a54493bc619ad6311a9090eaf7bc25798ff4e265dea1eccd2df9ce3b454f7e7da27 - languageName: node - linkType: hard - -"@eslint/eslintrc@npm:^3.2.0, @eslint/eslintrc@npm:^3.3.1": - version: 3.3.1 - resolution: "@eslint/eslintrc@npm:3.3.1" - dependencies: - ajv: "npm:^6.12.4" - debug: "npm:^4.3.2" - espree: "npm:^10.0.1" - globals: "npm:^14.0.0" - ignore: "npm:^5.2.0" - import-fresh: "npm:^3.2.1" - js-yaml: "npm:^4.1.0" - minimatch: "npm:^3.1.2" - strip-json-comments: "npm:^3.1.1" - checksum: 10c0/b0e63f3bc5cce4555f791a4e487bf999173fcf27c65e1ab6e7d63634d8a43b33c3693e79f192cbff486d7df1be8ebb2bd2edc6e70ddd486cbfa84a359a3e3b41 - languageName: node - linkType: hard - -"@eslint/js@npm:9.38.0, @eslint/js@npm:^9.38.0": - version: 9.38.0 - resolution: "@eslint/js@npm:9.38.0" - checksum: 10c0/b4a0d561ab93f0b1bc6a3f5e3f83764c9cccade59f2c54f1d718c1dcc71ac4d1be97bef7300cca641932d72e7555c79a7bf07e4e4ce1d0a1ddccc84d6440d2a6 - languageName: node - linkType: hard - -"@eslint/object-schema@npm:^2.1.7": - version: 2.1.7 - resolution: "@eslint/object-schema@npm:2.1.7" - checksum: 10c0/936b6e499853d1335803f556d526c86f5fe2259ed241bc665000e1d6353828edd913feed43120d150adb75570cae162cf000b5b0dfc9596726761c36b82f4e87 - languageName: node - linkType: hard - -"@eslint/plugin-kit@npm:^0.4.0": - version: 0.4.0 - resolution: "@eslint/plugin-kit@npm:0.4.0" - dependencies: - "@eslint/core": "npm:^0.16.0" - levn: "npm:^0.4.1" - checksum: 10c0/125614e902bb34c041da859794c47ac2ec4a814f5d9e7c4d37fcd34b38d8ee5cf1f97020d38d168885d9bf4046a9a7decb86b4cee8dac9eedcc6ad08ebafe204 - languageName: node - linkType: hard - -"@gerrit0/mini-shiki@npm:^3.12.0": - version: 3.13.0 - resolution: "@gerrit0/mini-shiki@npm:3.13.0" - dependencies: - "@shikijs/engine-oniguruma": "npm:^3.13.0" - "@shikijs/langs": "npm:^3.13.0" - "@shikijs/themes": "npm:^3.13.0" - "@shikijs/types": "npm:^3.13.0" - "@shikijs/vscode-textmate": "npm:^10.0.2" - checksum: 10c0/bc45e9f80c3583b32ede3aee870cdc37ce658618f7d1609416ac110ec0e764ff4114fa3690ced02d901980d8335b2b39d0b202c6f81ee863e09de28ce4caa323 - languageName: node - linkType: hard - -"@humanfs/core@npm:^0.19.1": - version: 0.19.1 - resolution: "@humanfs/core@npm:0.19.1" - checksum: 10c0/aa4e0152171c07879b458d0e8a704b8c3a89a8c0541726c6b65b81e84fd8b7564b5d6c633feadc6598307d34564bd53294b533491424e8e313d7ab6c7bc5dc67 - languageName: node - linkType: hard - -"@humanfs/node@npm:^0.16.6": - version: 0.16.6 - resolution: "@humanfs/node@npm:0.16.6" - dependencies: - "@humanfs/core": "npm:^0.19.1" - "@humanwhocodes/retry": "npm:^0.3.0" - checksum: 10c0/8356359c9f60108ec204cbd249ecd0356667359b2524886b357617c4a7c3b6aace0fd5a369f63747b926a762a88f8a25bc066fa1778508d110195ce7686243e1 - languageName: node - linkType: hard - -"@humanwhocodes/module-importer@npm:^1.0.1": - version: 1.0.1 - resolution: "@humanwhocodes/module-importer@npm:1.0.1" - checksum: 10c0/909b69c3b86d482c26b3359db16e46a32e0fb30bd306a3c176b8313b9e7313dba0f37f519de6aa8b0a1921349e505f259d19475e123182416a506d7f87e7f529 - languageName: node - linkType: hard - -"@humanwhocodes/retry@npm:^0.3.0": - version: 0.3.1 - resolution: "@humanwhocodes/retry@npm:0.3.1" - checksum: 10c0/f0da1282dfb45e8120480b9e2e275e2ac9bbe1cf016d046fdad8e27cc1285c45bb9e711681237944445157b430093412b4446c1ab3fc4bb037861b5904101d3b - languageName: node - linkType: hard - -"@humanwhocodes/retry@npm:^0.4.2": - version: 0.4.2 - resolution: "@humanwhocodes/retry@npm:0.4.2" - checksum: 10c0/0235525d38f243bee3bf8b25ed395fbf957fb51c08adae52787e1325673071abe856c7e18e530922ed2dd3ce12ed82ba01b8cee0279ac52a3315fcdc3a69ef0c - languageName: node - linkType: hard - -"@isaacs/fs-minipass@npm:^4.0.0": - version: 4.0.1 - resolution: "@isaacs/fs-minipass@npm:4.0.1" - dependencies: - minipass: "npm:^7.0.4" - checksum: 10c0/c25b6dc1598790d5b55c0947a9b7d111cfa92594db5296c3b907e2f533c033666f692a3939eadac17b1c7c40d362d0b0635dc874cbfe3e70db7c2b07cc97a5d2 - languageName: node - linkType: hard - -"@istanbuljs/load-nyc-config@npm:^1.0.0": - version: 1.1.0 - resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" - dependencies: - camelcase: "npm:^5.3.1" - find-up: "npm:^4.1.0" - get-package-type: "npm:^0.1.0" - js-yaml: "npm:^3.13.1" - resolve-from: "npm:^5.0.0" - checksum: 10c0/dd2a8b094887da5a1a2339543a4933d06db2e63cbbc2e288eb6431bd832065df0c099d091b6a67436e71b7d6bf85f01ce7c15f9253b4cbebcc3b9a496165ba42 - languageName: node - linkType: hard - -"@istanbuljs/schema@npm:^0.1.2, @istanbuljs/schema@npm:^0.1.3": - version: 0.1.3 - resolution: "@istanbuljs/schema@npm:0.1.3" - checksum: 10c0/61c5286771676c9ca3eb2bd8a7310a9c063fb6e0e9712225c8471c582d157392c88f5353581c8c9adbe0dff98892317d2fdfc56c3499aa42e0194405206a963a - languageName: node - linkType: hard - -"@jest/console@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/console@npm:30.2.0" - dependencies: - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - chalk: "npm:^4.1.2" - jest-message-util: "npm:30.2.0" - jest-util: "npm:30.2.0" - slash: "npm:^3.0.0" - checksum: 10c0/ecf7ca43698863095500710a5aa08c38b1731c9d89ba32f4d9da7424b53ce1e86b3db8ccbbb27b695f49b4f94bc1d7d0c63c751d73c83d59488a682bc98b7e70 - languageName: node - linkType: hard - -"@jest/core@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/core@npm:30.2.0" - dependencies: - "@jest/console": "npm:30.2.0" - "@jest/pattern": "npm:30.0.1" - "@jest/reporters": "npm:30.2.0" - "@jest/test-result": "npm:30.2.0" - "@jest/transform": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - ansi-escapes: "npm:^4.3.2" - chalk: "npm:^4.1.2" - ci-info: "npm:^4.2.0" - exit-x: "npm:^0.2.2" - graceful-fs: "npm:^4.2.11" - jest-changed-files: "npm:30.2.0" - jest-config: "npm:30.2.0" - jest-haste-map: "npm:30.2.0" - jest-message-util: "npm:30.2.0" - jest-regex-util: "npm:30.0.1" - jest-resolve: "npm:30.2.0" - jest-resolve-dependencies: "npm:30.2.0" - jest-runner: "npm:30.2.0" - jest-runtime: "npm:30.2.0" - jest-snapshot: "npm:30.2.0" - jest-util: "npm:30.2.0" - jest-validate: "npm:30.2.0" - jest-watcher: "npm:30.2.0" - micromatch: "npm:^4.0.8" - pretty-format: "npm:30.2.0" - slash: "npm:^3.0.0" - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - checksum: 10c0/03b3e35df3bbbbe28e2b53c0fe82d39b748d99b3bc88bb645c76593cdca44d7115f03ef6e6a1715f0862151d0ebab496199283def248fc05eb520f6aec6b20f3 - languageName: node - linkType: hard - -"@jest/diff-sequences@npm:30.0.1": - version: 30.0.1 - resolution: "@jest/diff-sequences@npm:30.0.1" - checksum: 10c0/3a840404e6021725ef7f86b11f7b2d13dd02846481264db0e447ee33b7ee992134e402cdc8b8b0ac969d37c6c0183044e382dedee72001cdf50cfb3c8088de74 - languageName: node - linkType: hard - -"@jest/environment@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/environment@npm:30.2.0" - dependencies: - "@jest/fake-timers": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - jest-mock: "npm:30.2.0" - checksum: 10c0/56a9f1b82ee2623c13eece7d58188be35bd6e5c3c4ee3fbaedb1c4d7242c1b57d020f1a26ab127fa9496fdc11306c7ad1c4a2b7eba1fc726a27ae0873e907e47 - languageName: node - linkType: hard - -"@jest/expect-utils@npm:30.1.2": - version: 30.1.2 - resolution: "@jest/expect-utils@npm:30.1.2" - dependencies: - "@jest/get-type": "npm:30.1.0" - checksum: 10c0/5b6c4d400ad0bd22960bd77750baf55b24bf1ebdc2cec328afe275967db76bf94f797ca4c9817cdb86bc7820b9219d3f493705f3fa94fe7720960e47805a8e1b - languageName: node - linkType: hard - -"@jest/expect-utils@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/expect-utils@npm:30.2.0" - dependencies: - "@jest/get-type": "npm:30.1.0" - checksum: 10c0/e25a809ff2ab62292e2569f8d97f89168d27d078903f0306af5f70f1771b7efc62c458eca1dcb491ab1ed96cefedf403bd7acbb050c997105bc29b220fd9d61a - languageName: node - linkType: hard - -"@jest/expect@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/expect@npm:30.2.0" - dependencies: - expect: "npm:30.2.0" - jest-snapshot: "npm:30.2.0" - checksum: 10c0/3984879022780dd480301c560cef465156b29d610f2c698fcdf81ad76930411d7816eff7cb721e81a1d9aaa8c2240a73c20be9385d1978c14b405a2ac6c9104a - languageName: node - linkType: hard - -"@jest/fake-timers@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/fake-timers@npm:30.2.0" - dependencies: - "@jest/types": "npm:30.2.0" - "@sinonjs/fake-timers": "npm:^13.0.0" - "@types/node": "npm:*" - jest-message-util: "npm:30.2.0" - jest-mock: "npm:30.2.0" - jest-util: "npm:30.2.0" - checksum: 10c0/b29505528e546f08489535814f7dfcd3a2318660b987d605f44d41672e91a0c8c0dfc01e3dd1302e66e511409c3012d41e2e16703b214502b54ccc023773e3dc - languageName: node - linkType: hard - -"@jest/get-type@npm:30.1.0": - version: 30.1.0 - resolution: "@jest/get-type@npm:30.1.0" - checksum: 10c0/3e65fd5015f551c51ec68fca31bbd25b466be0e8ee8075d9610fa1c686ea1e70a942a0effc7b10f4ea9a338c24337e1ad97ff69d3ebacc4681b7e3e80d1b24ac - languageName: node - linkType: hard - -"@jest/globals@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/globals@npm:30.2.0" - dependencies: - "@jest/environment": "npm:30.2.0" - "@jest/expect": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - jest-mock: "npm:30.2.0" - checksum: 10c0/7433a501e3122e94b24a7bacc44fdc3921b20abf67c9d795f5bdd169f1beac058cff8109e4fddf71fdc8b18e532cb88c55412ca9927966f354930d6bb3fcaf9c - languageName: node - linkType: hard - -"@jest/pattern@npm:30.0.1": - version: 30.0.1 - resolution: "@jest/pattern@npm:30.0.1" - dependencies: - "@types/node": "npm:*" - jest-regex-util: "npm:30.0.1" - checksum: 10c0/32c5a7bfb6c591f004dac0ed36d645002ed168971e4c89bd915d1577031672870032594767557b855c5bc330aa1e39a2f54bf150d2ee88a7a0886e9cb65318bc - languageName: node - linkType: hard - -"@jest/reporters@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/reporters@npm:30.2.0" - dependencies: - "@bcoe/v8-coverage": "npm:^0.2.3" - "@jest/console": "npm:30.2.0" - "@jest/test-result": "npm:30.2.0" - "@jest/transform": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@jridgewell/trace-mapping": "npm:^0.3.25" - "@types/node": "npm:*" - chalk: "npm:^4.1.2" - collect-v8-coverage: "npm:^1.0.2" - exit-x: "npm:^0.2.2" - glob: "npm:^10.3.10" - graceful-fs: "npm:^4.2.11" - istanbul-lib-coverage: "npm:^3.0.0" - istanbul-lib-instrument: "npm:^6.0.0" - istanbul-lib-report: "npm:^3.0.0" - istanbul-lib-source-maps: "npm:^5.0.0" - istanbul-reports: "npm:^3.1.3" - jest-message-util: "npm:30.2.0" - jest-util: "npm:30.2.0" - jest-worker: "npm:30.2.0" - slash: "npm:^3.0.0" - string-length: "npm:^4.0.2" - v8-to-istanbul: "npm:^9.0.1" - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - checksum: 10c0/1f25d0896f857f220466cae3145a20f9e13e7d73aeccf87a1f8a5accb42bb7a564864ba63befa3494d76d1335b86c24d66054d62330c3dcffc9c2c5f4e740d6e - languageName: node - linkType: hard - -"@jest/schemas@npm:30.0.5": - version: 30.0.5 - resolution: "@jest/schemas@npm:30.0.5" - dependencies: - "@sinclair/typebox": "npm:^0.34.0" - checksum: 10c0/449dcd7ec5c6505e9ac3169d1143937e67044ae3e66a729ce4baf31812dfd30535f2b3b2934393c97cfdf5984ff581120e6b38f62b8560c8b5b7cc07f4175f65 - languageName: node - linkType: hard - -"@jest/snapshot-utils@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/snapshot-utils@npm:30.2.0" - dependencies: - "@jest/types": "npm:30.2.0" - chalk: "npm:^4.1.2" - graceful-fs: "npm:^4.2.11" - natural-compare: "npm:^1.4.0" - checksum: 10c0/df69ee3b95d64db6d1e79e39d5dc226e417b412a1d5113264b487eb3a8887366a7952c350c378e2292f8e83ec1b3be22040317b795e85eb431830cbde06d09d8 - languageName: node - linkType: hard - -"@jest/source-map@npm:30.0.1": - version: 30.0.1 - resolution: "@jest/source-map@npm:30.0.1" - dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.25" - callsites: "npm:^3.1.0" - graceful-fs: "npm:^4.2.11" - checksum: 10c0/e7bda2786fc9f483d9dd7566c58c4bd948830997be862dfe80a3ae5550ff3f84753abb52e705d02ebe9db9f34ba7ebec4c2db11882048cdeef7a66f6332b3897 - languageName: node - linkType: hard - -"@jest/test-result@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/test-result@npm:30.2.0" - dependencies: - "@jest/console": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/istanbul-lib-coverage": "npm:^2.0.6" - collect-v8-coverage: "npm:^1.0.2" - checksum: 10c0/87566d56b4f90630282c103f41ea9031f4647902f2cd9839bc49af6248301c1a95cbc4432a9512e61f6c6d778e8b925d0573588b26a211d3198c62471ba08c81 - languageName: node - linkType: hard - -"@jest/test-sequencer@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/test-sequencer@npm:30.2.0" - dependencies: - "@jest/test-result": "npm:30.2.0" - graceful-fs: "npm:^4.2.11" - jest-haste-map: "npm:30.2.0" - slash: "npm:^3.0.0" - checksum: 10c0/b8366e629b885bfc4b2b95f34f47405e70120eb8601f42de20ea4de308a5088d7bd9f535abf67a2a0d083a2b49864176e1333e036426a5d6b6bd02c1c4dda40b - languageName: node - linkType: hard - -"@jest/transform@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/transform@npm:30.2.0" - dependencies: - "@babel/core": "npm:^7.27.4" - "@jest/types": "npm:30.2.0" - "@jridgewell/trace-mapping": "npm:^0.3.25" - babel-plugin-istanbul: "npm:^7.0.1" - chalk: "npm:^4.1.2" - convert-source-map: "npm:^2.0.0" - fast-json-stable-stringify: "npm:^2.1.0" - graceful-fs: "npm:^4.2.11" - jest-haste-map: "npm:30.2.0" - jest-regex-util: "npm:30.0.1" - jest-util: "npm:30.2.0" - micromatch: "npm:^4.0.8" - pirates: "npm:^4.0.7" - slash: "npm:^3.0.0" - write-file-atomic: "npm:^5.0.1" - checksum: 10c0/c0f21576de9f7ad8a2647450b5cd127d7c60176c19a666230241d121b9f928b036dd19973363e4acd7db2f8b82caff2b624930f57471be6092d73a7775365606 - languageName: node - linkType: hard - -"@jest/types@npm:30.0.5": - version: 30.0.5 - resolution: "@jest/types@npm:30.0.5" - dependencies: - "@jest/pattern": "npm:30.0.1" - "@jest/schemas": "npm:30.0.5" - "@types/istanbul-lib-coverage": "npm:^2.0.6" - "@types/istanbul-reports": "npm:^3.0.4" - "@types/node": "npm:*" - "@types/yargs": "npm:^17.0.33" - chalk: "npm:^4.1.2" - checksum: 10c0/fd097a390e36edacbd2c92a8378ec0cd67abec5e234bab7a80aec6eb8625568052b0c32acf472388d04c4cf384b8fa2871d0d12a56b4b06eaea93f2c6df0ec6c - languageName: node - linkType: hard - -"@jest/types@npm:30.2.0": - version: 30.2.0 - resolution: "@jest/types@npm:30.2.0" - dependencies: - "@jest/pattern": "npm:30.0.1" - "@jest/schemas": "npm:30.0.5" - "@types/istanbul-lib-coverage": "npm:^2.0.6" - "@types/istanbul-reports": "npm:^3.0.4" - "@types/node": "npm:*" - "@types/yargs": "npm:^17.0.33" - chalk: "npm:^4.1.2" - checksum: 10c0/ae121f6963bd9ed1cd9651db7be91bf14c05bff0d0eec4fca9fecf586bea4005e8f1de8cc9b8ef72e424ea96a309d123bef510b55a6a17a3b4b91a39d775e5cd - languageName: node - linkType: hard - -"@jridgewell/gen-mapping@npm:^0.3.12": - version: 0.3.13 - resolution: "@jridgewell/gen-mapping@npm:0.3.13" - dependencies: - "@jridgewell/sourcemap-codec": "npm:^1.5.0" - "@jridgewell/trace-mapping": "npm:^0.3.24" - checksum: 10c0/9a7d65fb13bd9aec1fbab74cda08496839b7e2ceb31f5ab922b323e94d7c481ce0fc4fd7e12e2610915ed8af51178bdc61e168e92a8c8b8303b030b03489b13b - languageName: node - linkType: hard - -"@jridgewell/gen-mapping@npm:^0.3.5": - version: 0.3.8 - resolution: "@jridgewell/gen-mapping@npm:0.3.8" - dependencies: - "@jridgewell/set-array": "npm:^1.2.1" - "@jridgewell/sourcemap-codec": "npm:^1.4.10" - "@jridgewell/trace-mapping": "npm:^0.3.24" - checksum: 10c0/c668feaf86c501d7c804904a61c23c67447b2137b813b9ce03eca82cb9d65ac7006d766c218685d76e3d72828279b6ee26c347aa1119dab23fbaf36aed51585a - languageName: node - linkType: hard - -"@jridgewell/resolve-uri@npm:^3.0.3, @jridgewell/resolve-uri@npm:^3.1.0": - version: 3.1.2 - resolution: "@jridgewell/resolve-uri@npm:3.1.2" - checksum: 10c0/d502e6fb516b35032331406d4e962c21fe77cdf1cbdb49c6142bcbd9e30507094b18972778a6e27cbad756209cfe34b1a27729e6fa08a2eb92b33943f680cf1e - languageName: node - linkType: hard - -"@jridgewell/set-array@npm:^1.2.1": - version: 1.2.1 - resolution: "@jridgewell/set-array@npm:1.2.1" - checksum: 10c0/2a5aa7b4b5c3464c895c802d8ae3f3d2b92fcbe84ad12f8d0bfbb1f5ad006717e7577ee1fd2eac00c088abe486c7adb27976f45d2941ff6b0b92b2c3302c60f4 - languageName: node - linkType: hard - -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14": - version: 1.5.0 - resolution: "@jridgewell/sourcemap-codec@npm:1.5.0" - checksum: 10c0/2eb864f276eb1096c3c11da3e9bb518f6d9fc0023c78344cdc037abadc725172c70314bdb360f2d4b7bffec7f5d657ce006816bc5d4ecb35e61b66132db00c18 - languageName: node - linkType: hard - -"@jridgewell/sourcemap-codec@npm:^1.5.0": - version: 1.5.5 - resolution: "@jridgewell/sourcemap-codec@npm:1.5.5" - checksum: 10c0/f9e538f302b63c0ebc06eecb1dd9918dd4289ed36147a0ddce35d6ea4d7ebbda243cda7b2213b6a5e1d8087a298d5cf630fb2bd39329cdecb82017023f6081a0 - languageName: node - linkType: hard - -"@jridgewell/trace-mapping@npm:0.3.9": - version: 0.3.9 - resolution: "@jridgewell/trace-mapping@npm:0.3.9" - dependencies: - "@jridgewell/resolve-uri": "npm:^3.0.3" - "@jridgewell/sourcemap-codec": "npm:^1.4.10" - checksum: 10c0/fa425b606d7c7ee5bfa6a31a7b050dd5814b4082f318e0e4190f991902181b4330f43f4805db1dd4f2433fd0ed9cc7a7b9c2683f1deeab1df1b0a98b1e24055b - languageName: node - linkType: hard - -"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": - version: 0.3.25 - resolution: "@jridgewell/trace-mapping@npm:0.3.25" - dependencies: - "@jridgewell/resolve-uri": "npm:^3.1.0" - "@jridgewell/sourcemap-codec": "npm:^1.4.14" - checksum: 10c0/3d1ce6ebc69df9682a5a8896b414c6537e428a1d68b02fcc8363b04284a8ca0df04d0ee3013132252ab14f2527bc13bea6526a912ecb5658f0e39fd2860b4df4 - languageName: node - linkType: hard - -"@jridgewell/trace-mapping@npm:^0.3.23, @jridgewell/trace-mapping@npm:^0.3.28": - version: 0.3.30 - resolution: "@jridgewell/trace-mapping@npm:0.3.30" - dependencies: - "@jridgewell/resolve-uri": "npm:^3.1.0" - "@jridgewell/sourcemap-codec": "npm:^1.4.14" - checksum: 10c0/3a1516c10f44613b9ba27c37a02ff8f410893776b2b3dad20a391b51b884dd60f97bbb56936d65d2ff8fe978510a0000266654ab8426bdb9ceb5fb4585b19e23 - languageName: node - linkType: hard - -"@microsoft/tsdoc-config@npm:0.17.1": - version: 0.17.1 - resolution: "@microsoft/tsdoc-config@npm:0.17.1" - dependencies: - "@microsoft/tsdoc": "npm:0.15.1" - ajv: "npm:~8.12.0" - jju: "npm:~1.4.0" - resolve: "npm:~1.22.2" - checksum: 10c0/a686355796f492f27af17e2a17d615221309caf4d9f9047a5a8f17f8625c467c4c81e2a7923ddafd71b892631d5e5013c4b8cc49c5867d3cc1d260fd90c1413d - languageName: node - linkType: hard - -"@microsoft/tsdoc@npm:0.15.1": - version: 0.15.1 - resolution: "@microsoft/tsdoc@npm:0.15.1" - checksum: 10c0/09948691fac56c45a0d1920de478d66a30371a325bd81addc92eea5654d95106ce173c440fea1a1bd5bb95b3a544b6d4def7bb0b5a846c05d043575d8369a20c - languageName: node - linkType: hard - -"@napi-rs/wasm-runtime@npm:^0.2.11": - version: 0.2.12 - resolution: "@napi-rs/wasm-runtime@npm:0.2.12" - dependencies: - "@emnapi/core": "npm:^1.4.3" - "@emnapi/runtime": "npm:^1.4.3" - "@tybys/wasm-util": "npm:^0.10.0" - checksum: 10c0/6d07922c0613aab30c6a497f4df297ca7c54e5b480e00035e0209b872d5c6aab7162fc49477267556109c2c7ed1eb9c65a174e27e9b87568106a87b0a6e3ca7d - languageName: node - linkType: hard - -"@nodelib/fs.scandir@npm:2.1.5": - version: 2.1.5 - resolution: "@nodelib/fs.scandir@npm:2.1.5" - dependencies: - "@nodelib/fs.stat": "npm:2.0.5" - run-parallel: "npm:^1.1.9" - checksum: 10c0/732c3b6d1b1e967440e65f284bd06e5821fedf10a1bea9ed2bb75956ea1f30e08c44d3def9d6a230666574edbaf136f8cfd319c14fd1f87c66e6a44449afb2eb - languageName: node - linkType: hard - -"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": - version: 2.0.5 - resolution: "@nodelib/fs.stat@npm:2.0.5" - checksum: 10c0/88dafe5e3e29a388b07264680dc996c17f4bda48d163a9d4f5c1112979f0ce8ec72aa7116122c350b4e7976bc5566dc3ddb579be1ceaacc727872eb4ed93926d - languageName: node - linkType: hard - -"@nodelib/fs.walk@npm:^1.2.3": - version: 1.2.8 - resolution: "@nodelib/fs.walk@npm:1.2.8" - dependencies: - "@nodelib/fs.scandir": "npm:2.1.5" - fastq: "npm:^1.6.0" - checksum: 10c0/db9de047c3bb9b51f9335a7bb46f4fcfb6829fb628318c12115fbaf7d369bfce71c15b103d1fc3b464812d936220ee9bc1c8f762d032c9f6be9acc99249095b1 - languageName: node - linkType: hard - -"@npmcli/agent@npm:^3.0.0": - version: 3.0.0 - resolution: "@npmcli/agent@npm:3.0.0" - dependencies: - agent-base: "npm:^7.1.0" - http-proxy-agent: "npm:^7.0.0" - https-proxy-agent: "npm:^7.0.1" - lru-cache: "npm:^10.0.1" - socks-proxy-agent: "npm:^8.0.3" - checksum: 10c0/efe37b982f30740ee77696a80c196912c274ecd2cb243bc6ae7053a50c733ce0f6c09fda085145f33ecf453be19654acca74b69e81eaad4c90f00ccffe2f9271 - languageName: node - linkType: hard - -"@npmcli/fs@npm:^4.0.0": - version: 4.0.0 - resolution: "@npmcli/fs@npm:4.0.0" - dependencies: - semver: "npm:^7.3.5" - checksum: 10c0/c90935d5ce670c87b6b14fab04a965a3b8137e585f8b2a6257263bd7f97756dd736cb165bb470e5156a9e718ecd99413dccc54b1138c1a46d6ec7cf325982fe5 - languageName: node - linkType: hard - -"@pkgr/core@npm:^0.2.9": - version: 0.2.9 - resolution: "@pkgr/core@npm:0.2.9" - checksum: 10c0/ac8e4e8138b1a7a4ac6282873aef7389c352f1f8b577b4850778f5182e4a39a5241facbe48361fec817f56d02b51691b383010843fb08b34a8e8ea3614688fd5 - languageName: node - linkType: hard - -"@shikijs/engine-oniguruma@npm:^3.13.0": - version: 3.13.0 - resolution: "@shikijs/engine-oniguruma@npm:3.13.0" - dependencies: - "@shikijs/types": "npm:3.13.0" - "@shikijs/vscode-textmate": "npm:^10.0.2" - checksum: 10c0/0cd0307028acf0a30fff7de642b84d4600aa33086f88952f1313f9ef56b604e067ebeb2e64f4e9025c06c68dfd6434c2c5da83d385af4792b622e6ad07f7613f - languageName: node - linkType: hard - -"@shikijs/langs@npm:^3.13.0": - version: 3.13.0 - resolution: "@shikijs/langs@npm:3.13.0" - dependencies: - "@shikijs/types": "npm:3.13.0" - checksum: 10c0/3fe59b55b5d1da9784cd93dc2eaae19249c5d218b39ce52c0c802b38894cdedcc55ccf813486a9362be0c97bbc0568a4f7bb2a62bf2ee0edbb2d52852878c8ed - languageName: node - linkType: hard - -"@shikijs/themes@npm:^3.13.0": - version: 3.13.0 - resolution: "@shikijs/themes@npm:3.13.0" - dependencies: - "@shikijs/types": "npm:3.13.0" - checksum: 10c0/b00052267de6f8acf09d01994823234ef4f75285d4c6587f039f5081490462a50ef73defb916add45fec1f469cf0c15ed53e5ada8ca9a48ebc7a243e4a76bbc6 - languageName: node - linkType: hard - -"@shikijs/types@npm:3.13.0, @shikijs/types@npm:^3.13.0": - version: 3.13.0 - resolution: "@shikijs/types@npm:3.13.0" - dependencies: - "@shikijs/vscode-textmate": "npm:^10.0.2" - "@types/hast": "npm:^3.0.4" - checksum: 10c0/5f0ceca1dad4f4dfb8c424f1aa78953ace7eb2215d82b863500f1ea023faf55acaa54373f3b59a8ada85f15c304cf658b95eae128c43505855d13607d979a726 - languageName: node - linkType: hard - -"@shikijs/vscode-textmate@npm:^10.0.2": - version: 10.0.2 - resolution: "@shikijs/vscode-textmate@npm:10.0.2" - checksum: 10c0/36b682d691088ec244de292dc8f91b808f95c89466af421cf84cbab92230f03c8348649c14b3251991b10ce632b0c715e416e992dd5f28ff3221dc2693fd9462 - languageName: node - linkType: hard - -"@sinclair/typebox@npm:^0.34.0": - version: 0.34.41 - resolution: "@sinclair/typebox@npm:0.34.41" - checksum: 10c0/0fb61fc2f90c25e30b19b0096eb8ab3ccef401d3e2acfce42168ff0ee877ba5981c8243fa6b1035ac756cde95316724e978b2837dd642d7e4e095de03a999c90 - languageName: node - linkType: hard - -"@sinonjs/commons@npm:^3.0.1": - version: 3.0.1 - resolution: "@sinonjs/commons@npm:3.0.1" - dependencies: - type-detect: "npm:4.0.8" - checksum: 10c0/1227a7b5bd6c6f9584274db996d7f8cee2c8c350534b9d0141fc662eaf1f292ea0ae3ed19e5e5271c8fd390d27e492ca2803acd31a1978be2cdc6be0da711403 - languageName: node - linkType: hard - -"@sinonjs/fake-timers@npm:^13.0.0": - version: 13.0.5 - resolution: "@sinonjs/fake-timers@npm:13.0.5" - dependencies: - "@sinonjs/commons": "npm:^3.0.1" - checksum: 10c0/a707476efd523d2138ef6bba916c83c4a377a8372ef04fad87499458af9f01afc58f4f245c5fd062793d6d70587309330c6f96947b5bd5697961c18004dc3e26 - languageName: node - linkType: hard - -"@tsconfig/node10@npm:^1.0.7": - version: 1.0.11 - resolution: "@tsconfig/node10@npm:1.0.11" - checksum: 10c0/28a0710e5d039e0de484bdf85fee883bfd3f6a8980601f4d44066b0a6bcd821d31c4e231d1117731c4e24268bd4cf2a788a6787c12fc7f8d11014c07d582783c - languageName: node - linkType: hard - -"@tsconfig/node12@npm:^1.0.7": - version: 1.0.11 - resolution: "@tsconfig/node12@npm:1.0.11" - checksum: 10c0/dddca2b553e2bee1308a056705103fc8304e42bb2d2cbd797b84403a223b25c78f2c683ec3e24a095e82cd435387c877239bffcb15a590ba817cd3f6b9a99fd9 - languageName: node - linkType: hard - -"@tsconfig/node14@npm:^1.0.0": - version: 1.0.3 - resolution: "@tsconfig/node14@npm:1.0.3" - checksum: 10c0/67c1316d065fdaa32525bc9449ff82c197c4c19092b9663b23213c8cbbf8d88b6ed6a17898e0cbc2711950fbfaf40388938c1c748a2ee89f7234fc9e7fe2bf44 - languageName: node - linkType: hard - -"@tsconfig/node16@npm:^1.0.2": - version: 1.0.4 - resolution: "@tsconfig/node16@npm:1.0.4" - checksum: 10c0/05f8f2734e266fb1839eb1d57290df1664fe2aa3b0fdd685a9035806daa635f7519bf6d5d9b33f6e69dd545b8c46bd6e2b5c79acb2b1f146e885f7f11a42a5bb - languageName: node - linkType: hard - -"@tybys/wasm-util@npm:^0.10.0": - version: 0.10.0 - resolution: "@tybys/wasm-util@npm:0.10.0" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/044feba55c1e2af703aa4946139969badb183ce1a659a75ed60bc195a90e73a3f3fc53bcd643497c9954597763ddb051fec62f80962b2ca6fc716ba897dc696e - languageName: node - linkType: hard - -"@types/babel__core@npm:^7.20.5": - version: 7.20.5 - resolution: "@types/babel__core@npm:7.20.5" - dependencies: - "@babel/parser": "npm:^7.20.7" - "@babel/types": "npm:^7.20.7" - "@types/babel__generator": "npm:*" - "@types/babel__template": "npm:*" - "@types/babel__traverse": "npm:*" - checksum: 10c0/bdee3bb69951e833a4b811b8ee9356b69a61ed5b7a23e1a081ec9249769117fa83aaaf023bb06562a038eb5845155ff663e2d5c75dd95c1d5ccc91db012868ff - languageName: node - linkType: hard - -"@types/babel__generator@npm:*": - version: 7.6.8 - resolution: "@types/babel__generator@npm:7.6.8" - dependencies: - "@babel/types": "npm:^7.0.0" - checksum: 10c0/f0ba105e7d2296bf367d6e055bb22996886c114261e2cb70bf9359556d0076c7a57239d019dee42bb063f565bade5ccb46009bce2044b2952d964bf9a454d6d2 - languageName: node - linkType: hard - -"@types/babel__template@npm:*": - version: 7.4.4 - resolution: "@types/babel__template@npm:7.4.4" - dependencies: - "@babel/parser": "npm:^7.1.0" - "@babel/types": "npm:^7.0.0" - checksum: 10c0/cc84f6c6ab1eab1427e90dd2b76ccee65ce940b778a9a67be2c8c39e1994e6f5bbc8efa309f6cea8dc6754994524cd4d2896558df76d92e7a1f46ecffee7112b - languageName: node - linkType: hard - -"@types/babel__traverse@npm:*": - version: 7.20.7 - resolution: "@types/babel__traverse@npm:7.20.7" - dependencies: - "@babel/types": "npm:^7.20.7" - checksum: 10c0/5386f0af44f8746b063b87418f06129a814e16bb2686965a575e9d7376b360b088b89177778d8c426012abc43dd1a2d8ec3218bfc382280c898682746ce2ffbd - languageName: node - linkType: hard - -"@types/estree@npm:^1.0.6": - version: 1.0.7 - resolution: "@types/estree@npm:1.0.7" - checksum: 10c0/be815254316882f7c40847336cd484c3bc1c3e34f710d197160d455dc9d6d050ffbf4c3bc76585dba86f737f020ab20bdb137ebe0e9116b0c86c7c0342221b8c - languageName: node - linkType: hard - -"@types/hast@npm:^3.0.4": - version: 3.0.4 - resolution: "@types/hast@npm:3.0.4" - dependencies: - "@types/unist": "npm:*" - checksum: 10c0/3249781a511b38f1d330fd1e3344eed3c4e7ea8eff82e835d35da78e637480d36fad37a78be5a7aed8465d237ad0446abc1150859d0fde395354ea634decf9f7 - languageName: node - linkType: hard - -"@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.1, @types/istanbul-lib-coverage@npm:^2.0.6": - version: 2.0.6 - resolution: "@types/istanbul-lib-coverage@npm:2.0.6" - checksum: 10c0/3948088654f3eeb45363f1db158354fb013b362dba2a5c2c18c559484d5eb9f6fd85b23d66c0a7c2fcfab7308d0a585b14dadaca6cc8bf89ebfdc7f8f5102fb7 - languageName: node - linkType: hard - -"@types/istanbul-lib-report@npm:*": - version: 3.0.3 - resolution: "@types/istanbul-lib-report@npm:3.0.3" - dependencies: - "@types/istanbul-lib-coverage": "npm:*" - checksum: 10c0/247e477bbc1a77248f3c6de5dadaae85ff86ac2d76c5fc6ab1776f54512a745ff2a5f791d22b942e3990ddbd40f3ef5289317c4fca5741bedfaa4f01df89051c - languageName: node - linkType: hard - -"@types/istanbul-reports@npm:^3.0.4": - version: 3.0.4 - resolution: "@types/istanbul-reports@npm:3.0.4" - dependencies: - "@types/istanbul-lib-report": "npm:*" - checksum: 10c0/1647fd402aced5b6edac87274af14ebd6b3a85447ef9ad11853a70fd92a98d35f81a5d3ea9fcb5dbb5834e800c6e35b64475e33fcae6bfa9acc70d61497c54ee - languageName: node - linkType: hard - -"@types/jest@npm:^30.0.0": - version: 30.0.0 - resolution: "@types/jest@npm:30.0.0" - dependencies: - expect: "npm:^30.0.0" - pretty-format: "npm:^30.0.0" - checksum: 10c0/20c6ce574154bc16f8dd6a97afacca4b8c4921a819496a3970382031c509ebe87a1b37b152a1b8475089b82d8ca951a9e95beb4b9bf78fbf579b1536f0b65969 - languageName: node - linkType: hard - -"@types/json-schema@npm:^7.0.15": - version: 7.0.15 - resolution: "@types/json-schema@npm:7.0.15" - checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db - languageName: node - linkType: hard - -"@types/node@npm:*": - version: 22.13.14 - resolution: "@types/node@npm:22.13.14" - dependencies: - undici-types: "npm:~6.20.0" - checksum: 10c0/fa2ab5b8277bfbcc86c42e46a3ea9871b0d559894cc9d955685d17178c9499f0b1bf03d1d1ea8d92ef2dda818988f4035acb8abf9dc15423a998fa56173ab804 - languageName: node - linkType: hard - -"@types/node@npm:24.7.2": - version: 24.7.2 - resolution: "@types/node@npm:24.7.2" - dependencies: - undici-types: "npm:~7.14.0" - checksum: 10c0/03f662f10e4b89bc97016e067101cbabe55025b54c24afb581fb50992d5eeaaf417bdae34bbc668ae8759d3cdbbbadf35fc8b9b29d26f52ede2525d48e919e49 - languageName: node - linkType: hard - -"@types/stack-utils@npm:^2.0.3": - version: 2.0.3 - resolution: "@types/stack-utils@npm:2.0.3" - checksum: 10c0/1f4658385ae936330581bcb8aa3a066df03867d90281cdf89cc356d404bd6579be0f11902304e1f775d92df22c6dd761d4451c804b0a4fba973e06211e9bd77c - languageName: node - linkType: hard - -"@types/unist@npm:*": - version: 3.0.3 - resolution: "@types/unist@npm:3.0.3" - checksum: 10c0/2b1e4adcab78388e088fcc3c0ae8700f76619dbcb4741d7d201f87e2cb346bfc29a89003cfea2d76c996e1061452e14fcd737e8b25aacf949c1f2d6b2bc3dd60 - languageName: node - linkType: hard - -"@types/yargs-parser@npm:*": - version: 21.0.3 - resolution: "@types/yargs-parser@npm:21.0.3" - checksum: 10c0/e71c3bd9d0b73ca82e10bee2064c384ab70f61034bbfb78e74f5206283fc16a6d85267b606b5c22cb2a3338373586786fed595b2009825d6a9115afba36560a0 - languageName: node - linkType: hard - -"@types/yargs@npm:^17.0.33": - version: 17.0.33 - resolution: "@types/yargs@npm:17.0.33" - dependencies: - "@types/yargs-parser": "npm:*" - checksum: 10c0/d16937d7ac30dff697801c3d6f235be2166df42e4a88bf730fa6dc09201de3727c0a9500c59a672122313341de5f24e45ee0ff579c08ce91928e519090b7906b - languageName: node - linkType: hard - -"@typescript-eslint/eslint-plugin@npm:8.28.0, @typescript-eslint/eslint-plugin@npm:^8.18.0": - version: 8.28.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.28.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.28.0" - "@typescript-eslint/type-utils": "npm:8.28.0" - "@typescript-eslint/utils": "npm:8.28.0" - "@typescript-eslint/visitor-keys": "npm:8.28.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.3.1" - natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^2.0.1" - peerDependencies: - "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 - eslint: ^8.57.0 || ^9.0.0 - typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/f01b7d231b01ec2c1cc7c40599ddceb329532f2876664a39dec9d25c0aed4cfdbef3ec07f26bac357df000d798f652af6fdb6a2481b6120e43bfa38f7c7a7c48 - languageName: node - linkType: hard - -"@typescript-eslint/parser@npm:8.28.0, @typescript-eslint/parser@npm:^8.18.0": - version: 8.28.0 - resolution: "@typescript-eslint/parser@npm:8.28.0" - dependencies: - "@typescript-eslint/scope-manager": "npm:8.28.0" - "@typescript-eslint/types": "npm:8.28.0" - "@typescript-eslint/typescript-estree": "npm:8.28.0" - "@typescript-eslint/visitor-keys": "npm:8.28.0" - debug: "npm:^4.3.4" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/4bde6887bbf3fe031c01e46db90f9f384a8cac2e67c2972b113a62d607db75e01db943601279aac847b9187960a038981814042cb02fd5aa27ea4613028f9313 - languageName: node - linkType: hard - -"@typescript-eslint/scope-manager@npm:8.28.0": - version: 8.28.0 - resolution: "@typescript-eslint/scope-manager@npm:8.28.0" - dependencies: - "@typescript-eslint/types": "npm:8.28.0" - "@typescript-eslint/visitor-keys": "npm:8.28.0" - checksum: 10c0/f3bd76b3f54e60f1efe108b233b2d818e44ecf0dc6422cc296542f784826caf3c66d51b8acc83d8c354980bd201e1d9aa1ea01011de96e0613d320c00e40ccfd - languageName: node - linkType: hard - -"@typescript-eslint/type-utils@npm:8.28.0": - version: 8.28.0 - resolution: "@typescript-eslint/type-utils@npm:8.28.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:8.28.0" - "@typescript-eslint/utils": "npm:8.28.0" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^2.0.1" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/b8936edc2153bf794efba39bfb06393a228217830051767360f4b691fed7c82f3831c4fc6deac6d78b90a58596e61f866c17eaee9dd793c3efda3ebdcf5a71d8 - languageName: node - linkType: hard - -"@typescript-eslint/types@npm:8.28.0": - version: 8.28.0 - resolution: "@typescript-eslint/types@npm:8.28.0" - checksum: 10c0/1f95895e20dac1cf063dc93c99142fd1871e53be816bcbbee93f22a05e6b2a82ca83c20ce3a551f65555910aa0956443a23268edbb004369d0d5cb282d13c377 - languageName: node - linkType: hard - -"@typescript-eslint/typescript-estree@npm:8.28.0": - version: 8.28.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.28.0" - dependencies: - "@typescript-eslint/types": "npm:8.28.0" - "@typescript-eslint/visitor-keys": "npm:8.28.0" - debug: "npm:^4.3.4" - fast-glob: "npm:^3.3.2" - is-glob: "npm:^4.0.3" - minimatch: "npm:^9.0.4" - semver: "npm:^7.6.0" - ts-api-utils: "npm:^2.0.1" - peerDependencies: - typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/97a91c95b1295926098c12e2d2c2abaa68994dc879da132dcce1e75ec9d7dee8187695eaa5241d09cbc42b5e633917b6d35c624e78e3d3ee9bda42d1318080b6 - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:8.28.0": - version: 8.28.0 - resolution: "@typescript-eslint/utils@npm:8.28.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.28.0" - "@typescript-eslint/types": "npm:8.28.0" - "@typescript-eslint/typescript-estree": "npm:8.28.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/d3425be7f86c1245a11f0ea39136af681027797417348d8e666d38c76646945eaed7b35eb8db66372b067dee8b02a855caf2c24c040ec9c31e59681ab223b59d - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:8.28.0": - version: 8.28.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.28.0" - dependencies: - "@typescript-eslint/types": "npm:8.28.0" - eslint-visitor-keys: "npm:^4.2.0" - checksum: 10c0/245a78ed983fe95fbd1b0f2d4cb9e9d1d964bddc0aa3e3d6ab10c19c4273855bfb27d840bb1fd55deb7ae3078b52f26592472baf6fd2c7019a5aa3b1da974f35 - languageName: node - linkType: hard - -"@ungap/structured-clone@npm:^1.3.0": - version: 1.3.0 - resolution: "@ungap/structured-clone@npm:1.3.0" - checksum: 10c0/0fc3097c2540ada1fc340ee56d58d96b5b536a2a0dab6e3ec17d4bfc8c4c86db345f61a375a8185f9da96f01c69678f836a2b57eeaa9e4b8eeafd26428e57b0a - languageName: node - linkType: hard - -"@unrs/resolver-binding-android-arm-eabi@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-android-arm-eabi@npm:1.11.1" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - -"@unrs/resolver-binding-android-arm64@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-android-arm64@npm:1.11.1" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"@unrs/resolver-binding-darwin-arm64@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-darwin-arm64@npm:1.11.1" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"@unrs/resolver-binding-darwin-x64@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-darwin-x64@npm:1.11.1" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"@unrs/resolver-binding-freebsd-x64@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-freebsd-x64@npm:1.11.1" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-arm-gnueabihf@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-arm-gnueabihf@npm:1.11.1" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-arm-musleabihf@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-arm-musleabihf@npm:1.11.1" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-arm64-gnu@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-arm64-gnu@npm:1.11.1" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-arm64-musl@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-arm64-musl@npm:1.11.1" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-ppc64-gnu@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-ppc64-gnu@npm:1.11.1" - conditions: os=linux & cpu=ppc64 & libc=glibc - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-riscv64-gnu@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-riscv64-gnu@npm:1.11.1" - conditions: os=linux & cpu=riscv64 & libc=glibc - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-riscv64-musl@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-riscv64-musl@npm:1.11.1" - conditions: os=linux & cpu=riscv64 & libc=musl - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-s390x-gnu@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-s390x-gnu@npm:1.11.1" - conditions: os=linux & cpu=s390x & libc=glibc - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-x64-gnu@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-x64-gnu@npm:1.11.1" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - -"@unrs/resolver-binding-linux-x64-musl@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-linux-x64-musl@npm:1.11.1" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - -"@unrs/resolver-binding-wasm32-wasi@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-wasm32-wasi@npm:1.11.1" - dependencies: - "@napi-rs/wasm-runtime": "npm:^0.2.11" - conditions: cpu=wasm32 - languageName: node - linkType: hard - -"@unrs/resolver-binding-win32-arm64-msvc@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-win32-arm64-msvc@npm:1.11.1" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@unrs/resolver-binding-win32-ia32-msvc@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-win32-ia32-msvc@npm:1.11.1" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@unrs/resolver-binding-win32-x64-msvc@npm:1.11.1": - version: 1.11.1 - resolution: "@unrs/resolver-binding-win32-x64-msvc@npm:1.11.1" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"abbrev@npm:^3.0.0": - version: 3.0.0 - resolution: "abbrev@npm:3.0.0" - checksum: 10c0/049704186396f571650eb7b22ed3627b77a5aedf98bb83caf2eac81ca2a3e25e795394b0464cfb2d6076df3db6a5312139eac5b6a126ca296ac53c5008069c28 - languageName: node - linkType: hard - -"acorn-jsx@npm:^5.3.2": - version: 5.3.2 - resolution: "acorn-jsx@npm:5.3.2" - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 10c0/4c54868fbef3b8d58927d5e33f0a4de35f59012fe7b12cf9dfbb345fb8f46607709e1c4431be869a23fb63c151033d84c4198fa9f79385cec34fcb1dd53974c1 - languageName: node - linkType: hard - -"acorn-walk@npm:^8.1.1": - version: 8.3.4 - resolution: "acorn-walk@npm:8.3.4" - dependencies: - acorn: "npm:^8.11.0" - checksum: 10c0/76537ac5fb2c37a64560feaf3342023dadc086c46da57da363e64c6148dc21b57d49ace26f949e225063acb6fb441eabffd89f7a3066de5ad37ab3e328927c62 - languageName: node - linkType: hard - -"acorn@npm:^8.11.0, acorn@npm:^8.14.0, acorn@npm:^8.4.1": - version: 8.14.1 - resolution: "acorn@npm:8.14.1" - bin: - acorn: bin/acorn - checksum: 10c0/dbd36c1ed1d2fa3550140000371fcf721578095b18777b85a79df231ca093b08edc6858d75d6e48c73e431c174dcf9214edbd7e6fa5911b93bd8abfa54e47123 - languageName: node - linkType: hard - -"acorn@npm:^8.15.0": - version: 8.15.0 - resolution: "acorn@npm:8.15.0" - bin: - acorn: bin/acorn - checksum: 10c0/dec73ff59b7d6628a01eebaece7f2bdb8bb62b9b5926dcad0f8931f2b8b79c2be21f6c68ac095592adb5adb15831a3635d9343e6a91d028bbe85d564875ec3ec - languageName: node - linkType: hard - -"agent-base@npm:^7.1.0, agent-base@npm:^7.1.2": - version: 7.1.3 - resolution: "agent-base@npm:7.1.3" - checksum: 10c0/6192b580c5b1d8fb399b9c62bf8343d76654c2dd62afcb9a52b2cf44a8b6ace1e3b704d3fe3547d91555c857d3df02603341ff2cb961b9cfe2b12f9f3c38ee11 - languageName: node - linkType: hard - -"ajv@npm:^6.12.4": - version: 6.12.6 - resolution: "ajv@npm:6.12.6" - dependencies: - fast-deep-equal: "npm:^3.1.1" - fast-json-stable-stringify: "npm:^2.0.0" - json-schema-traverse: "npm:^0.4.1" - uri-js: "npm:^4.2.2" - checksum: 10c0/41e23642cbe545889245b9d2a45854ebba51cda6c778ebced9649420d9205f2efb39cb43dbc41e358409223b1ea43303ae4839db682c848b891e4811da1a5a71 - languageName: node - linkType: hard - -"ajv@npm:^8.0.1": - version: 8.17.1 - resolution: "ajv@npm:8.17.1" - dependencies: - fast-deep-equal: "npm:^3.1.3" - fast-uri: "npm:^3.0.1" - json-schema-traverse: "npm:^1.0.0" - require-from-string: "npm:^2.0.2" - checksum: 10c0/ec3ba10a573c6b60f94639ffc53526275917a2df6810e4ab5a6b959d87459f9ef3f00d5e7865b82677cb7d21590355b34da14d1d0b9c32d75f95a187e76fff35 - languageName: node - linkType: hard - -"ajv@npm:~8.12.0": - version: 8.12.0 - resolution: "ajv@npm:8.12.0" - dependencies: - fast-deep-equal: "npm:^3.1.1" - json-schema-traverse: "npm:^1.0.0" - require-from-string: "npm:^2.0.2" - uri-js: "npm:^4.2.2" - checksum: 10c0/ac4f72adf727ee425e049bc9d8b31d4a57e1c90da8d28bcd23d60781b12fcd6fc3d68db5df16994c57b78b94eed7988f5a6b482fd376dc5b084125e20a0a622e - languageName: node - linkType: hard - -"ansi-escapes@npm:^4.3.2": - version: 4.3.2 - resolution: "ansi-escapes@npm:4.3.2" - dependencies: - type-fest: "npm:^0.21.3" - checksum: 10c0/da917be01871525a3dfcf925ae2977bc59e8c513d4423368645634bf5d4ceba5401574eb705c1e92b79f7292af5a656f78c5725a4b0e1cec97c4b413705c1d50 - languageName: node - linkType: hard - -"ansi-regex@npm:^5.0.1": - version: 5.0.1 - resolution: "ansi-regex@npm:5.0.1" - checksum: 10c0/9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 - languageName: node - linkType: hard - -"ansi-styles@npm:^4.0.0, ansi-styles@npm:^4.1.0": - version: 4.3.0 - resolution: "ansi-styles@npm:4.3.0" - dependencies: - color-convert: "npm:^2.0.1" - checksum: 10c0/895a23929da416f2bd3de7e9cb4eabd340949328ab85ddd6e484a637d8f6820d485f53933446f5291c3b760cbc488beb8e88573dd0f9c7daf83dccc8fe81b041 - languageName: node - linkType: hard - -"ansi-styles@npm:^5.2.0": - version: 5.2.0 - resolution: "ansi-styles@npm:5.2.0" - checksum: 10c0/9c4ca80eb3c2fb7b33841c210d2f20807f40865d27008d7c3f707b7f95cab7d67462a565e2388ac3285b71cb3d9bb2173de8da37c57692a362885ec34d6e27df - languageName: node - linkType: hard - -"anymatch@npm:^3.1.3": - version: 3.1.3 - resolution: "anymatch@npm:3.1.3" - dependencies: - normalize-path: "npm:^3.0.0" - picomatch: "npm:^2.0.4" - checksum: 10c0/57b06ae984bc32a0d22592c87384cd88fe4511b1dd7581497831c56d41939c8a001b28e7b853e1450f2bf61992dfcaa8ae2d0d161a0a90c4fb631ef07098fbac - languageName: node - linkType: hard - -"arg@npm:^4.1.0": - version: 4.1.3 - resolution: "arg@npm:4.1.3" - checksum: 10c0/070ff801a9d236a6caa647507bdcc7034530604844d64408149a26b9e87c2f97650055c0f049abd1efc024b334635c01f29e0b632b371ac3f26130f4cf65997a - languageName: node - linkType: hard - -"argparse@npm:^1.0.7": - version: 1.0.10 - resolution: "argparse@npm:1.0.10" - dependencies: - sprintf-js: "npm:~1.0.2" - checksum: 10c0/b2972c5c23c63df66bca144dbc65d180efa74f25f8fd9b7d9a0a6c88ae839db32df3d54770dcb6460cf840d232b60695d1a6b1053f599d84e73f7437087712de - languageName: node - linkType: hard - -"argparse@npm:^2.0.1": - version: 2.0.1 - resolution: "argparse@npm:2.0.1" - checksum: 10c0/c5640c2d89045371c7cedd6a70212a04e360fd34d6edeae32f6952c63949e3525ea77dbec0289d8213a99bbaeab5abfa860b5c12cf88a2e6cf8106e90dd27a7e - languageName: node - linkType: hard - -"astral-regex@npm:^2.0.0": - version: 2.0.0 - resolution: "astral-regex@npm:2.0.0" - checksum: 10c0/f63d439cc383db1b9c5c6080d1e240bd14dae745f15d11ec5da863e182bbeca70df6c8191cffef5deba0b566ef98834610a68be79ac6379c95eeb26e1b310e25 - languageName: node - linkType: hard - -"aws-cdk-lib@npm:^2.219.0": - version: 2.219.0 - resolution: "aws-cdk-lib@npm:2.219.0" - dependencies: - "@aws-cdk/asset-awscli-v1": "npm:2.2.242" - "@aws-cdk/asset-node-proxy-agent-v6": "npm:^2.1.0" - "@aws-cdk/cloud-assembly-schema": "npm:^48.6.0" - "@balena/dockerignore": "npm:^1.0.2" - case: "npm:1.6.3" - fs-extra: "npm:^11.3.1" - ignore: "npm:^5.3.2" - jsonschema: "npm:^1.5.0" - mime-types: "npm:^2.1.35" - minimatch: "npm:^3.1.2" - punycode: "npm:^2.3.1" - semver: "npm:^7.7.2" - table: "npm:^6.9.0" - yaml: "npm:1.10.2" - peerDependencies: - constructs: ^10.0.0 - checksum: 10c0/05cdd0da87475bedfdae40ab8772110c89af5c278e846e117a98db29df4b169c78f67eb2467e36a3a827531fc38124de6da95f4365f185c7c1419e62ae31f8d2 - languageName: node - linkType: hard - -"aws-cdk@npm:^2.1030.0": - version: 2.1030.0 - resolution: "aws-cdk@npm:2.1030.0" - dependencies: - fsevents: "npm:2.3.2" - dependenciesMeta: - fsevents: - optional: true - bin: - cdk: bin/cdk - checksum: 10c0/1e95edb1fe33da76e018e574049e79a6e9501bb9753090dad5b8cc5980e5bed9c214bc70ed8f0415603ddce36bf60c8443f5d9cfd75c8e497ae17323cc3842d1 - languageName: node - linkType: hard - -"aws4embeddedlinux-cdk-lib@workspace:.": - version: 0.0.0-use.local - resolution: "aws4embeddedlinux-cdk-lib@workspace:." - dependencies: - "@eslint/compat": "npm:^1.4.0" - "@eslint/eslintrc": "npm:^3.2.0" - "@eslint/js": "npm:^9.38.0" - "@types/jest": "npm:^30.0.0" - "@types/node": "npm:24.7.2" - "@typescript-eslint/eslint-plugin": "npm:^8.18.0" - "@typescript-eslint/parser": "npm:^8.18.0" - aws-cdk: "npm:^2.1030.0" - aws-cdk-lib: "npm:^2.219.0" - cdk-nag: "npm:^2.37.51" - constructs: "npm:^10.4.2" - eslint: "npm:^9.38.0" - eslint-config-prettier: "npm:^10.1.5" - eslint-plugin-prettier: "npm:^5.5.4" - eslint-plugin-simple-import-sort: "npm:^12.1.1" - eslint-plugin-tsdoc: "npm:^0.4.0" - globals: "npm:^16.4.0" - jest: "npm:^30.2.0" - prettier: "npm:^3.6.2" - ts-jest: "npm:^29.4.4" - ts-node: "npm:^10.9.2" - typedoc: "npm:^0.28.13" - typescript: "npm:~5.9.3" - typescript-eslint: "npm:^8.18.0" - languageName: unknown - linkType: soft - -"babel-jest@npm:30.2.0": - version: 30.2.0 - resolution: "babel-jest@npm:30.2.0" - dependencies: - "@jest/transform": "npm:30.2.0" - "@types/babel__core": "npm:^7.20.5" - babel-plugin-istanbul: "npm:^7.0.1" - babel-preset-jest: "npm:30.2.0" - chalk: "npm:^4.1.2" - graceful-fs: "npm:^4.2.11" - slash: "npm:^3.0.0" - peerDependencies: - "@babel/core": ^7.11.0 || ^8.0.0-0 - checksum: 10c0/673b8c87e5aec97c4f7372319c005d1e2b018e2f2e973378c7fb0a4f1e111f89872e6f1e49dd50aff6290cd881c865117ade67f2c78a356a8275ab21af47340d - languageName: node - linkType: hard - -"babel-plugin-istanbul@npm:^7.0.1": - version: 7.0.1 - resolution: "babel-plugin-istanbul@npm:7.0.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.0.0" - "@istanbuljs/load-nyc-config": "npm:^1.0.0" - "@istanbuljs/schema": "npm:^0.1.3" - istanbul-lib-instrument: "npm:^6.0.2" - test-exclude: "npm:^6.0.0" - checksum: 10c0/92975e3df12503b168695463b451468da0c20e117807221652eb8e33a26c160f3b9d4c5c4e65495657420e871c6a54e5e31f539e2e1da37ef2261d7ddd4b1dfd - languageName: node - linkType: hard - -"babel-plugin-jest-hoist@npm:30.2.0": - version: 30.2.0 - resolution: "babel-plugin-jest-hoist@npm:30.2.0" - dependencies: - "@types/babel__core": "npm:^7.20.5" - checksum: 10c0/a2bd862aaa4875127c02e6020d3da67556a8f25981060252668dda65cf9a146202937ae80d2e8612c3c47afe19ac85577647b8cc216faa98567c685525a3f203 - languageName: node - linkType: hard - -"babel-preset-current-node-syntax@npm:^1.2.0": - version: 1.2.0 - resolution: "babel-preset-current-node-syntax@npm:1.2.0" - dependencies: - "@babel/plugin-syntax-async-generators": "npm:^7.8.4" - "@babel/plugin-syntax-bigint": "npm:^7.8.3" - "@babel/plugin-syntax-class-properties": "npm:^7.12.13" - "@babel/plugin-syntax-class-static-block": "npm:^7.14.5" - "@babel/plugin-syntax-import-attributes": "npm:^7.24.7" - "@babel/plugin-syntax-import-meta": "npm:^7.10.4" - "@babel/plugin-syntax-json-strings": "npm:^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators": "npm:^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator": "npm:^7.8.3" - "@babel/plugin-syntax-numeric-separator": "npm:^7.10.4" - "@babel/plugin-syntax-object-rest-spread": "npm:^7.8.3" - "@babel/plugin-syntax-optional-catch-binding": "npm:^7.8.3" - "@babel/plugin-syntax-optional-chaining": "npm:^7.8.3" - "@babel/plugin-syntax-private-property-in-object": "npm:^7.14.5" - "@babel/plugin-syntax-top-level-await": "npm:^7.14.5" - peerDependencies: - "@babel/core": ^7.0.0 || ^8.0.0-0 - checksum: 10c0/94a4f81cddf9b051045d08489e4fff7336292016301664c138cfa3d9ffe3fe2ba10a24ad6ae589fd95af1ac72ba0216e1653555c187e694d7b17be0c002bea10 - languageName: node - linkType: hard - -"babel-preset-jest@npm:30.2.0": - version: 30.2.0 - resolution: "babel-preset-jest@npm:30.2.0" - dependencies: - babel-plugin-jest-hoist: "npm:30.2.0" - babel-preset-current-node-syntax: "npm:^1.2.0" - peerDependencies: - "@babel/core": ^7.11.0 || ^8.0.0-beta.1 - checksum: 10c0/fb2727bad450256146d63b5231b83a7638e73b96c9612296a20afd65fb8c76678ef9bc6fa56e81d1303109258aeb4fccea5b96568744059e47d3c6e3ebc98bd9 - languageName: node - linkType: hard - -"balanced-match@npm:^1.0.0": - version: 1.0.2 - resolution: "balanced-match@npm:1.0.2" - checksum: 10c0/9308baf0a7e4838a82bbfd11e01b1cb0f0cf2893bc1676c27c2a8c0e70cbae1c59120c3268517a8ae7fb6376b4639ef81ca22582611dbee4ed28df945134aaee - languageName: node - linkType: hard - -"brace-expansion@npm:^1.1.7": - version: 1.1.12 - resolution: "brace-expansion@npm:1.1.12" - dependencies: - balanced-match: "npm:^1.0.0" - concat-map: "npm:0.0.1" - checksum: 10c0/975fecac2bb7758c062c20d0b3b6288c7cc895219ee25f0a64a9de662dbac981ff0b6e89909c3897c1f84fa353113a721923afdec5f8b2350255b097f12b1f73 - languageName: node - linkType: hard - -"brace-expansion@npm:^2.0.1": - version: 2.0.1 - resolution: "brace-expansion@npm:2.0.1" - dependencies: - balanced-match: "npm:^1.0.0" - checksum: 10c0/b358f2fe060e2d7a87aa015979ecea07f3c37d4018f8d6deb5bd4c229ad3a0384fe6029bb76cd8be63c81e516ee52d1a0673edbe2023d53a5191732ae3c3e49f - languageName: node - linkType: hard - -"braces@npm:^3.0.3": - version: 3.0.3 - resolution: "braces@npm:3.0.3" - dependencies: - fill-range: "npm:^7.1.1" - checksum: 10c0/7c6dfd30c338d2997ba77500539227b9d1f85e388a5f43220865201e407e076783d0881f2d297b9f80951b4c957fcf0b51c1d2d24227631643c3f7c284b0aa04 - languageName: node - linkType: hard - -"browserslist@npm:^4.24.0": - version: 4.24.4 - resolution: "browserslist@npm:4.24.4" - dependencies: - caniuse-lite: "npm:^1.0.30001688" - electron-to-chromium: "npm:^1.5.73" - node-releases: "npm:^2.0.19" - update-browserslist-db: "npm:^1.1.1" - bin: - browserslist: cli.js - checksum: 10c0/db7ebc1733cf471e0b490b4f47e3e2ea2947ce417192c9246644e92c667dd56a71406cc58f62ca7587caf828364892e9952904a02b7aead752bc65b62a37cfe9 - languageName: node - linkType: hard - -"bs-logger@npm:^0.2.6": - version: 0.2.6 - resolution: "bs-logger@npm:0.2.6" - dependencies: - fast-json-stable-stringify: "npm:2.x" - checksum: 10c0/80e89aaaed4b68e3374ce936f2eb097456a0dddbf11f75238dbd53140b1e39259f0d248a5089ed456f1158984f22191c3658d54a713982f676709fbe1a6fa5a0 - languageName: node - linkType: hard - -"bser@npm:2.1.1": - version: 2.1.1 - resolution: "bser@npm:2.1.1" - dependencies: - node-int64: "npm:^0.4.0" - checksum: 10c0/24d8dfb7b6d457d73f32744e678a60cc553e4ec0e9e1a01cf614b44d85c3c87e188d3cc78ef0442ce5032ee6818de20a0162ba1074725c0d08908f62ea979227 - languageName: node - linkType: hard - -"buffer-from@npm:^1.0.0": - version: 1.1.2 - resolution: "buffer-from@npm:1.1.2" - checksum: 10c0/124fff9d66d691a86d3b062eff4663fe437a9d9ee4b47b1b9e97f5a5d14f6d5399345db80f796827be7c95e70a8e765dd404b7c3ff3b3324f98e9b0c8826cc34 - languageName: node - linkType: hard - -"cacache@npm:^19.0.1": - version: 19.0.1 - resolution: "cacache@npm:19.0.1" - dependencies: - "@npmcli/fs": "npm:^4.0.0" - fs-minipass: "npm:^3.0.0" - glob: "npm:^10.2.2" - lru-cache: "npm:^10.0.1" - minipass: "npm:^7.0.3" - minipass-collect: "npm:^2.0.1" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.4" - p-map: "npm:^7.0.2" - ssri: "npm:^12.0.0" - tar: "npm:^7.4.3" - unique-filename: "npm:^4.0.0" - checksum: 10c0/01f2134e1bd7d3ab68be851df96c8d63b492b1853b67f2eecb2c37bb682d37cb70bb858a16f2f0554d3c0071be6dfe21456a1ff6fa4b7eed996570d6a25ffe9c - languageName: node - linkType: hard - -"callsites@npm:^3.0.0, callsites@npm:^3.1.0": - version: 3.1.0 - resolution: "callsites@npm:3.1.0" - checksum: 10c0/fff92277400eb06c3079f9e74f3af120db9f8ea03bad0e84d9aede54bbe2d44a56cccb5f6cf12211f93f52306df87077ecec5b712794c5a9b5dac6d615a3f301 - languageName: node - linkType: hard - -"camelcase@npm:^5.3.1": - version: 5.3.1 - resolution: "camelcase@npm:5.3.1" - checksum: 10c0/92ff9b443bfe8abb15f2b1513ca182d16126359ad4f955ebc83dc4ddcc4ef3fdd2c078bc223f2673dc223488e75c99b16cc4d056624374b799e6a1555cf61b23 - languageName: node - linkType: hard - -"camelcase@npm:^6.3.0": - version: 6.3.0 - resolution: "camelcase@npm:6.3.0" - checksum: 10c0/0d701658219bd3116d12da3eab31acddb3f9440790c0792e0d398f0a520a6a4058018e546862b6fba89d7ae990efaeb97da71e1913e9ebf5a8b5621a3d55c710 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001688": - version: 1.0.30001707 - resolution: "caniuse-lite@npm:1.0.30001707" - checksum: 10c0/a1beaf84bad4f6617bbc5616d6bc0c9cab73e73f7e9e09b6466af5195b1bc393e0f6f19643d7a1c88bd3f4bfa122d7bea81cf6225ec3ade57d5b1dd3478c1a1b - languageName: node - linkType: hard - -"case@npm:1.6.3": - version: 1.6.3 - resolution: "case@npm:1.6.3" - checksum: 10c0/43fcbb1dff1c4add94dd2bc98bd923d6616f10bff6959adf686d192c3db7d7ced35410761e1ac94cc4a1f5c41c86406ad79d390805539e421e8a77e553f67223 - languageName: node - linkType: hard - -"cdk-nag@npm:^2.37.51": - version: 2.37.51 - resolution: "cdk-nag@npm:2.37.51" - peerDependencies: - aws-cdk-lib: ^2.176.0 - constructs: ^10.0.5 - checksum: 10c0/5ac37fae6b55bae37b923979c32e8fd38a5e5e4fb41a69cc91f43dc923c840857b7089ca046db71913b35e045e13739e77c025e876c168577753a2001e4936fa - languageName: node - linkType: hard - -"chalk@npm:^4.0.0, chalk@npm:^4.1.2": - version: 4.1.2 - resolution: "chalk@npm:4.1.2" - dependencies: - ansi-styles: "npm:^4.1.0" - supports-color: "npm:^7.1.0" - checksum: 10c0/4a3fef5cc34975c898ffe77141450f679721df9dde00f6c304353fa9c8b571929123b26a0e4617bde5018977eb655b31970c297b91b63ee83bb82aeb04666880 - languageName: node - linkType: hard - -"char-regex@npm:^1.0.2": - version: 1.0.2 - resolution: "char-regex@npm:1.0.2" - checksum: 10c0/57a09a86371331e0be35d9083ba429e86c4f4648ecbe27455dbfb343037c16ee6fdc7f6b61f433a57cc5ded5561d71c56a150e018f40c2ffb7bc93a26dae341e - languageName: node - linkType: hard - -"chownr@npm:^3.0.0": - version: 3.0.0 - resolution: "chownr@npm:3.0.0" - checksum: 10c0/43925b87700f7e3893296c8e9c56cc58f926411cce3a6e5898136daaf08f08b9a8eb76d37d3267e707d0dcc17aed2e2ebdf5848c0c3ce95cf910a919935c1b10 - languageName: node - linkType: hard - -"ci-info@npm:^4.2.0": - version: 4.3.0 - resolution: "ci-info@npm:4.3.0" - checksum: 10c0/60d3dfe95d75c01454ec1cfd5108617dd598a28a2a3e148bd7e1523c1c208b5f5a3007cafcbe293e6fd0a5a310cc32217c5dc54743eeabc0a2bec80072fc055c - languageName: node - linkType: hard - -"cjs-module-lexer@npm:^2.1.0": - version: 2.1.0 - resolution: "cjs-module-lexer@npm:2.1.0" - checksum: 10c0/91cf28686dc3948e4a06dfa03a2fccb14b7a97471ffe7ae0124f62060ddf2de28e8e997f60007babe6e122b1b06a47c01a1b72cc015f185824d9cac3ccfa5533 - languageName: node - linkType: hard - -"cliui@npm:^8.0.1": - version: 8.0.1 - resolution: "cliui@npm:8.0.1" - dependencies: - string-width: "npm:^4.2.0" - strip-ansi: "npm:^6.0.1" - wrap-ansi: "npm:^7.0.0" - checksum: 10c0/4bda0f09c340cbb6dfdc1ed508b3ca080f12992c18d68c6be4d9cf51756033d5266e61ec57529e610dacbf4da1c634423b0c1b11037709cc6b09045cbd815df5 - languageName: node - linkType: hard - -"co@npm:^4.6.0": - version: 4.6.0 - resolution: "co@npm:4.6.0" - checksum: 10c0/c0e85ea0ca8bf0a50cbdca82efc5af0301240ca88ebe3644a6ffb8ffe911f34d40f8fbcf8f1d52c5ddd66706abd4d3bfcd64259f1e8e2371d4f47573b0dc8c28 - languageName: node - linkType: hard - -"collect-v8-coverage@npm:^1.0.2": - version: 1.0.2 - resolution: "collect-v8-coverage@npm:1.0.2" - checksum: 10c0/ed7008e2e8b6852c5483b444a3ae6e976e088d4335a85aa0a9db2861c5f1d31bd2d7ff97a60469b3388deeba661a619753afbe201279fb159b4b9548ab8269a1 - languageName: node - linkType: hard - -"color-convert@npm:^2.0.1": - version: 2.0.1 - resolution: "color-convert@npm:2.0.1" - dependencies: - color-name: "npm:~1.1.4" - checksum: 10c0/37e1150172f2e311fe1b2df62c6293a342ee7380da7b9cfdba67ea539909afbd74da27033208d01d6d5cfc65ee7868a22e18d7e7648e004425441c0f8a15a7d7 - languageName: node - linkType: hard - -"color-name@npm:~1.1.4": - version: 1.1.4 - resolution: "color-name@npm:1.1.4" - checksum: 10c0/a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 - languageName: node - linkType: hard - -"concat-map@npm:0.0.1": - version: 0.0.1 - resolution: "concat-map@npm:0.0.1" - checksum: 10c0/c996b1cfdf95b6c90fee4dae37e332c8b6eb7d106430c17d538034c0ad9a1630cb194d2ab37293b1bdd4d779494beee7786d586a50bd9376fd6f7bcc2bd4c98f - languageName: node - linkType: hard - -"constructs@npm:^10.4.2": - version: 10.4.2 - resolution: "constructs@npm:10.4.2" - checksum: 10c0/dcd5edd631c7313964f89fffb7365e1eebaede16cbc9ae69eab5337710353913684b860ccc4b2a3dfaf147656f48f0ae7853ca94cb51833e152b46047ac7a4ff - languageName: node - linkType: hard - -"convert-source-map@npm:^2.0.0": - version: 2.0.0 - resolution: "convert-source-map@npm:2.0.0" - checksum: 10c0/8f2f7a27a1a011cc6cc88cc4da2d7d0cfa5ee0369508baae3d98c260bb3ac520691464e5bbe4ae7cdf09860c1d69ecc6f70c63c6e7c7f7e3f18ec08484dc7d9b - languageName: node - linkType: hard - -"create-require@npm:^1.1.0": - version: 1.1.1 - resolution: "create-require@npm:1.1.1" - checksum: 10c0/157cbc59b2430ae9a90034a5f3a1b398b6738bf510f713edc4d4e45e169bc514d3d99dd34d8d01ca7ae7830b5b8b537e46ae8f3c8f932371b0875c0151d7ec91 - languageName: node - linkType: hard - -"cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6": - version: 7.0.6 - resolution: "cross-spawn@npm:7.0.6" - dependencies: - path-key: "npm:^3.1.0" - shebang-command: "npm:^2.0.0" - which: "npm:^2.0.1" - checksum: 10c0/053ea8b2135caff68a9e81470e845613e374e7309a47731e81639de3eaeb90c3d01af0e0b44d2ab9d50b43467223b88567dfeb3262db942dc063b9976718ffc1 - languageName: node - linkType: hard - -"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4": - version: 4.4.0 - resolution: "debug@npm:4.4.0" - dependencies: - ms: "npm:^2.1.3" - peerDependenciesMeta: - supports-color: - optional: true - checksum: 10c0/db94f1a182bf886f57b4755f85b3a74c39b5114b9377b7ab375dc2cfa3454f09490cc6c30f829df3fc8042bc8b8995f6567ce5cd96f3bc3688bd24027197d9de - languageName: node - linkType: hard - -"dedent@npm:^1.6.0": - version: 1.6.0 - resolution: "dedent@npm:1.6.0" - peerDependencies: - babel-plugin-macros: ^3.1.0 - peerDependenciesMeta: - babel-plugin-macros: - optional: true - checksum: 10c0/671b8f5e390dd2a560862c4511dd6d2638e71911486f78cb32116551f8f2aa6fcaf50579ffffb2f866d46b5b80fd72470659ca5760ede8f967619ef7df79e8a5 - languageName: node - linkType: hard - -"deep-is@npm:^0.1.3": - version: 0.1.4 - resolution: "deep-is@npm:0.1.4" - checksum: 10c0/7f0ee496e0dff14a573dc6127f14c95061b448b87b995fc96c017ce0a1e66af1675e73f1d6064407975bc4ea6ab679497a29fff7b5b9c4e99cb10797c1ad0b4c - languageName: node - linkType: hard - -"deepmerge@npm:^4.3.1": - version: 4.3.1 - resolution: "deepmerge@npm:4.3.1" - checksum: 10c0/e53481aaf1aa2c4082b5342be6b6d8ad9dfe387bc92ce197a66dea08bd4265904a087e75e464f14d1347cf2ac8afe1e4c16b266e0561cc5df29382d3c5f80044 - languageName: node - linkType: hard - -"detect-newline@npm:^3.1.0": - version: 3.1.0 - resolution: "detect-newline@npm:3.1.0" - checksum: 10c0/c38cfc8eeb9fda09febb44bcd85e467c970d4e3bf526095394e5a4f18bc26dd0cf6b22c69c1fa9969261521c593836db335c2795218f6d781a512aea2fb8209d - languageName: node - linkType: hard - -"diff@npm:^4.0.1": - version: 4.0.2 - resolution: "diff@npm:4.0.2" - checksum: 10c0/81b91f9d39c4eaca068eb0c1eb0e4afbdc5bb2941d197f513dd596b820b956fef43485876226d65d497bebc15666aa2aa82c679e84f65d5f2bfbf14ee46e32c1 - languageName: node - linkType: hard - -"electron-to-chromium@npm:^1.5.73": - version: 1.5.126 - resolution: "electron-to-chromium@npm:1.5.126" - checksum: 10c0/0e481d2467ac603f2fbb365d1cddd1e2d43f5f8c11aa281395cf450cfefa7b5cbdde1b952201fdf04730aa14adaff53e4087f88c3ff671b08f0baee2c1179954 - languageName: node - linkType: hard - -"emittery@npm:^0.13.1": - version: 0.13.1 - resolution: "emittery@npm:0.13.1" - checksum: 10c0/1573d0ae29ab34661b6c63251ff8f5facd24ccf6a823f19417ae8ba8c88ea450325788c67f16c99edec8de4b52ce93a10fe441ece389fd156e88ee7dab9bfa35 - languageName: node - linkType: hard - -"emoji-regex@npm:^8.0.0": - version: 8.0.0 - resolution: "emoji-regex@npm:8.0.0" - checksum: 10c0/b6053ad39951c4cf338f9092d7bfba448cdfd46fe6a2a034700b149ac9ffbc137e361cbd3c442297f86bed2e5f7576c1b54cc0a6bf8ef5106cc62f496af35010 - languageName: node - linkType: hard - -"encoding@npm:^0.1.13": - version: 0.1.13 - resolution: "encoding@npm:0.1.13" - dependencies: - iconv-lite: "npm:^0.6.2" - checksum: 10c0/36d938712ff00fe1f4bac88b43bcffb5930c1efa57bbcdca9d67e1d9d6c57cfb1200fb01efe0f3109b2ce99b231f90779532814a81370a1bd3274a0f58585039 - languageName: node - linkType: hard - -"entities@npm:^4.4.0": - version: 4.5.0 - resolution: "entities@npm:4.5.0" - checksum: 10c0/5b039739f7621f5d1ad996715e53d964035f75ad3b9a4d38c6b3804bb226e282ffeae2443624d8fdd9c47d8e926ae9ac009c54671243f0c3294c26af7cc85250 - languageName: node - linkType: hard - -"env-paths@npm:^2.2.0": - version: 2.2.1 - resolution: "env-paths@npm:2.2.1" - checksum: 10c0/285325677bf00e30845e330eec32894f5105529db97496ee3f598478e50f008c5352a41a30e5e72ec9de8a542b5a570b85699cd63bd2bc646dbcb9f311d83bc4 - languageName: node - linkType: hard - -"err-code@npm:^2.0.2": - version: 2.0.3 - resolution: "err-code@npm:2.0.3" - checksum: 10c0/b642f7b4dd4a376e954947550a3065a9ece6733ab8e51ad80db727aaae0817c2e99b02a97a3d6cecc648a97848305e728289cf312d09af395403a90c9d4d8a66 - languageName: node - linkType: hard - -"error-ex@npm:^1.3.1": - version: 1.3.2 - resolution: "error-ex@npm:1.3.2" - dependencies: - is-arrayish: "npm:^0.2.1" - checksum: 10c0/ba827f89369b4c93382cfca5a264d059dfefdaa56ecc5e338ffa58a6471f5ed93b71a20add1d52290a4873d92381174382658c885ac1a2305f7baca363ce9cce - languageName: node - linkType: hard - -"escalade@npm:^3.1.1, escalade@npm:^3.2.0": - version: 3.2.0 - resolution: "escalade@npm:3.2.0" - checksum: 10c0/ced4dd3a78e15897ed3be74e635110bbf3b08877b0a41be50dcb325ee0e0b5f65fc2d50e9845194d7c4633f327e2e1c6cce00a71b617c5673df0374201d67f65 - languageName: node - linkType: hard - -"escape-string-regexp@npm:^2.0.0": - version: 2.0.0 - resolution: "escape-string-regexp@npm:2.0.0" - checksum: 10c0/2530479fe8db57eace5e8646c9c2a9c80fa279614986d16dcc6bcaceb63ae77f05a851ba6c43756d816c61d7f4534baf56e3c705e3e0d884818a46808811c507 - languageName: node - linkType: hard - -"escape-string-regexp@npm:^4.0.0": - version: 4.0.0 - resolution: "escape-string-regexp@npm:4.0.0" - checksum: 10c0/9497d4dd307d845bd7f75180d8188bb17ea8c151c1edbf6b6717c100e104d629dc2dfb687686181b0f4b7d732c7dfdc4d5e7a8ff72de1b0ca283a75bbb3a9cd9 - languageName: node - linkType: hard - -"eslint-config-prettier@npm:^10.1.5": - version: 10.1.5 - resolution: "eslint-config-prettier@npm:10.1.5" - peerDependencies: - eslint: ">=7.0.0" - bin: - eslint-config-prettier: bin/cli.js - checksum: 10c0/5486255428e4577e8064b40f27db299faf7312b8e43d7b4bc913a6426e6c0f5950cd519cad81ae24e9aecb4002c502bc665c02e3b52efde57af2debcf27dd6e0 - languageName: node - linkType: hard - -"eslint-plugin-prettier@npm:^5.5.4": - version: 5.5.4 - resolution: "eslint-plugin-prettier@npm:5.5.4" - dependencies: - prettier-linter-helpers: "npm:^1.0.0" - synckit: "npm:^0.11.7" - peerDependencies: - "@types/eslint": ">=8.0.0" - eslint: ">=8.0.0" - eslint-config-prettier: ">= 7.0.0 <10.0.0 || >=10.1.0" - prettier: ">=3.0.0" - peerDependenciesMeta: - "@types/eslint": - optional: true - eslint-config-prettier: - optional: true - checksum: 10c0/5cc780e0ab002f838ad8057409e86de4ff8281aa2704a50fa8511abff87028060c2e45741bc9cbcbd498712e8d189de8026e70aed9e20e50fe5ba534ee5a8442 - languageName: node - linkType: hard - -"eslint-plugin-simple-import-sort@npm:^12.1.1": - version: 12.1.1 - resolution: "eslint-plugin-simple-import-sort@npm:12.1.1" - peerDependencies: - eslint: ">=5.0.0" - checksum: 10c0/0ad1907ad9ddbadd1db655db0a9d0b77076e274b793a77b982c8525d808d868e6ecfce24f3a411e8a1fa551077387f9ebb38c00956073970ebd7ee6a029ce2b3 - languageName: node - linkType: hard - -"eslint-plugin-tsdoc@npm:^0.4.0": - version: 0.4.0 - resolution: "eslint-plugin-tsdoc@npm:0.4.0" - dependencies: - "@microsoft/tsdoc": "npm:0.15.1" - "@microsoft/tsdoc-config": "npm:0.17.1" - checksum: 10c0/c65b67b789597683456cd346414451618b9a2ed40f4d6b02223426914ba83c37083c8d330d15808ff5e448c755bdb254ff0ffb1971688304168ed8d22dbcc7d3 - languageName: node - linkType: hard - -"eslint-scope@npm:^8.4.0": - version: 8.4.0 - resolution: "eslint-scope@npm:8.4.0" - dependencies: - esrecurse: "npm:^4.3.0" - estraverse: "npm:^5.2.0" - checksum: 10c0/407f6c600204d0f3705bd557f81bd0189e69cd7996f408f8971ab5779c0af733d1af2f1412066b40ee1588b085874fc37a2333986c6521669cdbdd36ca5058e0 - languageName: node - linkType: hard - -"eslint-visitor-keys@npm:^3.4.3": - version: 3.4.3 - resolution: "eslint-visitor-keys@npm:3.4.3" - checksum: 10c0/92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 - languageName: node - linkType: hard - -"eslint-visitor-keys@npm:^4.2.0": - version: 4.2.0 - resolution: "eslint-visitor-keys@npm:4.2.0" - checksum: 10c0/2ed81c663b147ca6f578312919483eb040295bbab759e5a371953456c636c5b49a559883e2677112453728d66293c0a4c90ab11cab3428cf02a0236d2e738269 - languageName: node - linkType: hard - -"eslint-visitor-keys@npm:^4.2.1": - version: 4.2.1 - resolution: "eslint-visitor-keys@npm:4.2.1" - checksum: 10c0/fcd43999199d6740db26c58dbe0c2594623e31ca307e616ac05153c9272f12f1364f5a0b1917a8e962268fdecc6f3622c1c2908b4fcc2e047a106fe6de69dc43 - languageName: node - linkType: hard - -"eslint@npm:^9.38.0": - version: 9.38.0 - resolution: "eslint@npm:9.38.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.8.0" - "@eslint-community/regexpp": "npm:^4.12.1" - "@eslint/config-array": "npm:^0.21.1" - "@eslint/config-helpers": "npm:^0.4.1" - "@eslint/core": "npm:^0.16.0" - "@eslint/eslintrc": "npm:^3.3.1" - "@eslint/js": "npm:9.38.0" - "@eslint/plugin-kit": "npm:^0.4.0" - "@humanfs/node": "npm:^0.16.6" - "@humanwhocodes/module-importer": "npm:^1.0.1" - "@humanwhocodes/retry": "npm:^0.4.2" - "@types/estree": "npm:^1.0.6" - ajv: "npm:^6.12.4" - chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.6" - debug: "npm:^4.3.2" - escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^8.4.0" - eslint-visitor-keys: "npm:^4.2.1" - espree: "npm:^10.4.0" - esquery: "npm:^1.5.0" - esutils: "npm:^2.0.2" - fast-deep-equal: "npm:^3.1.3" - file-entry-cache: "npm:^8.0.0" - find-up: "npm:^5.0.0" - glob-parent: "npm:^6.0.2" - ignore: "npm:^5.2.0" - imurmurhash: "npm:^0.1.4" - is-glob: "npm:^4.0.0" - json-stable-stringify-without-jsonify: "npm:^1.0.1" - lodash.merge: "npm:^4.6.2" - minimatch: "npm:^3.1.2" - natural-compare: "npm:^1.4.0" - optionator: "npm:^0.9.3" - peerDependencies: - jiti: "*" - peerDependenciesMeta: - jiti: - optional: true - bin: - eslint: bin/eslint.js - checksum: 10c0/51b0978dce04233580263fd4b5c4f128ecffdcde44fbddfedb5bced48a60d4fc619f5ae91800a1461a78a860b14c77a5081b0b2cf628b705580b70126a11e14b - languageName: node - linkType: hard - -"espree@npm:^10.0.1": - version: 10.3.0 - resolution: "espree@npm:10.3.0" - dependencies: - acorn: "npm:^8.14.0" - acorn-jsx: "npm:^5.3.2" - eslint-visitor-keys: "npm:^4.2.0" - checksum: 10c0/272beeaca70d0a1a047d61baff64db04664a33d7cfb5d144f84bc8a5c6194c6c8ebe9cc594093ca53add88baa23e59b01e69e8a0160ab32eac570482e165c462 - languageName: node - linkType: hard - -"espree@npm:^10.4.0": - version: 10.4.0 - resolution: "espree@npm:10.4.0" - dependencies: - acorn: "npm:^8.15.0" - acorn-jsx: "npm:^5.3.2" - eslint-visitor-keys: "npm:^4.2.1" - checksum: 10c0/c63fe06131c26c8157b4083313cb02a9a54720a08e21543300e55288c40e06c3fc284bdecf108d3a1372c5934a0a88644c98714f38b6ae8ed272b40d9ea08d6b - languageName: node - linkType: hard - -"esprima@npm:^4.0.0": - version: 4.0.1 - resolution: "esprima@npm:4.0.1" - bin: - esparse: ./bin/esparse.js - esvalidate: ./bin/esvalidate.js - checksum: 10c0/ad4bab9ead0808cf56501750fd9d3fb276f6b105f987707d059005d57e182d18a7c9ec7f3a01794ebddcca676773e42ca48a32d67a250c9d35e009ca613caba3 - languageName: node - linkType: hard - -"esquery@npm:^1.5.0": - version: 1.6.0 - resolution: "esquery@npm:1.6.0" - dependencies: - estraverse: "npm:^5.1.0" - checksum: 10c0/cb9065ec605f9da7a76ca6dadb0619dfb611e37a81e318732977d90fab50a256b95fee2d925fba7c2f3f0523aa16f91587246693bc09bc34d5a59575fe6e93d2 - languageName: node - linkType: hard - -"esrecurse@npm:^4.3.0": - version: 4.3.0 - resolution: "esrecurse@npm:4.3.0" - dependencies: - estraverse: "npm:^5.2.0" - checksum: 10c0/81a37116d1408ded88ada45b9fb16dbd26fba3aadc369ce50fcaf82a0bac12772ebd7b24cd7b91fc66786bf2c1ac7b5f196bc990a473efff972f5cb338877cf5 - languageName: node - linkType: hard - -"estraverse@npm:^5.1.0, estraverse@npm:^5.2.0": - version: 5.3.0 - resolution: "estraverse@npm:5.3.0" - checksum: 10c0/1ff9447b96263dec95d6d67431c5e0771eb9776427421260a3e2f0fdd5d6bd4f8e37a7338f5ad2880c9f143450c9b1e4fc2069060724570a49cf9cf0312bd107 - languageName: node - linkType: hard - -"esutils@npm:^2.0.2": - version: 2.0.3 - resolution: "esutils@npm:2.0.3" - checksum: 10c0/9a2fe69a41bfdade834ba7c42de4723c97ec776e40656919c62cbd13607c45e127a003f05f724a1ea55e5029a4cf2de444b13009f2af71271e42d93a637137c7 - languageName: node - linkType: hard - -"execa@npm:^5.1.1": - version: 5.1.1 - resolution: "execa@npm:5.1.1" - dependencies: - cross-spawn: "npm:^7.0.3" - get-stream: "npm:^6.0.0" - human-signals: "npm:^2.1.0" - is-stream: "npm:^2.0.0" - merge-stream: "npm:^2.0.0" - npm-run-path: "npm:^4.0.1" - onetime: "npm:^5.1.2" - signal-exit: "npm:^3.0.3" - strip-final-newline: "npm:^2.0.0" - checksum: 10c0/c8e615235e8de4c5addf2fa4c3da3e3aa59ce975a3e83533b4f6a71750fb816a2e79610dc5f1799b6e28976c9ae86747a36a606655bf8cb414a74d8d507b304f - languageName: node - linkType: hard - -"exit-x@npm:^0.2.2": - version: 0.2.2 - resolution: "exit-x@npm:0.2.2" - checksum: 10c0/212a7a095ca5540e9581f1ef2d1d6a40df7a6027c8cc96e78ce1d16b86d1a88326d4a0eff8dff2b5ec1e68bb0c1edd5d0dfdde87df1869bf7514d4bc6a5cbd72 - languageName: node - linkType: hard - -"expect@npm:30.2.0": - version: 30.2.0 - resolution: "expect@npm:30.2.0" - dependencies: - "@jest/expect-utils": "npm:30.2.0" - "@jest/get-type": "npm:30.1.0" - jest-matcher-utils: "npm:30.2.0" - jest-message-util: "npm:30.2.0" - jest-mock: "npm:30.2.0" - jest-util: "npm:30.2.0" - checksum: 10c0/fe440b3a036e2de1a3ede84bc6a699925328056e74324fbd2fdd9ce7b7358d03e515ac8db559c33828bcb0b7887b493dbaaece565e67d88748685850da5d9209 - languageName: node - linkType: hard - -"expect@npm:^30.0.0": - version: 30.1.2 - resolution: "expect@npm:30.1.2" - dependencies: - "@jest/expect-utils": "npm:30.1.2" - "@jest/get-type": "npm:30.1.0" - jest-matcher-utils: "npm:30.1.2" - jest-message-util: "npm:30.1.0" - jest-mock: "npm:30.0.5" - jest-util: "npm:30.0.5" - checksum: 10c0/467c1b69549e75a1a09f3feec335e0dc968cd71370361b5d83248351cf77e705e8ddf38a4885e32a50237502ced7fcc9106462f59f33c4796462e95938b8ca19 - languageName: node - linkType: hard - -"exponential-backoff@npm:^3.1.1": - version: 3.1.2 - resolution: "exponential-backoff@npm:3.1.2" - checksum: 10c0/d9d3e1eafa21b78464297df91f1776f7fbaa3d5e3f7f0995648ca5b89c069d17055033817348d9f4a43d1c20b0eab84f75af6991751e839df53e4dfd6f22e844 - languageName: node - linkType: hard - -"fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": - version: 3.1.3 - resolution: "fast-deep-equal@npm:3.1.3" - checksum: 10c0/40dedc862eb8992c54579c66d914635afbec43350afbbe991235fdcb4e3a8d5af1b23ae7e79bef7d4882d0ecee06c3197488026998fb19f72dc95acff1d1b1d0 - languageName: node - linkType: hard - -"fast-diff@npm:^1.1.2": - version: 1.3.0 - resolution: "fast-diff@npm:1.3.0" - checksum: 10c0/5c19af237edb5d5effda008c891a18a585f74bf12953be57923f17a3a4d0979565fc64dbc73b9e20926b9d895f5b690c618cbb969af0cf022e3222471220ad29 - languageName: node - linkType: hard - -"fast-glob@npm:^3.3.2": - version: 3.3.3 - resolution: "fast-glob@npm:3.3.3" - dependencies: - "@nodelib/fs.stat": "npm:^2.0.2" - "@nodelib/fs.walk": "npm:^1.2.3" - glob-parent: "npm:^5.1.2" - merge2: "npm:^1.3.0" - micromatch: "npm:^4.0.8" - checksum: 10c0/f6aaa141d0d3384cf73cbcdfc52f475ed293f6d5b65bfc5def368b09163a9f7e5ec2b3014d80f733c405f58e470ee0cc451c2937685045cddcdeaa24199c43fe - languageName: node - linkType: hard - -"fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0": - version: 2.1.0 - resolution: "fast-json-stable-stringify@npm:2.1.0" - checksum: 10c0/7f081eb0b8a64e0057b3bb03f974b3ef00135fbf36c1c710895cd9300f13c94ba809bb3a81cf4e1b03f6e5285610a61abbd7602d0652de423144dfee5a389c9b - languageName: node - linkType: hard - -"fast-levenshtein@npm:^2.0.6": - version: 2.0.6 - resolution: "fast-levenshtein@npm:2.0.6" - checksum: 10c0/111972b37338bcb88f7d9e2c5907862c280ebf4234433b95bc611e518d192ccb2d38119c4ac86e26b668d75f7f3894f4ff5c4982899afced7ca78633b08287c4 - languageName: node - linkType: hard - -"fast-uri@npm:^3.0.1": - version: 3.0.6 - resolution: "fast-uri@npm:3.0.6" - checksum: 10c0/74a513c2af0584448aee71ce56005185f81239eab7a2343110e5bad50c39ad4fb19c5a6f99783ead1cac7ccaf3461a6034fda89fffa2b30b6d99b9f21c2f9d29 - languageName: node - linkType: hard - -"fastq@npm:^1.6.0": - version: 1.19.1 - resolution: "fastq@npm:1.19.1" - dependencies: - reusify: "npm:^1.0.4" - checksum: 10c0/ebc6e50ac7048daaeb8e64522a1ea7a26e92b3cee5cd1c7f2316cdca81ba543aa40a136b53891446ea5c3a67ec215fbaca87ad405f102dd97012f62916905630 - languageName: node - linkType: hard - -"fb-watchman@npm:^2.0.2": - version: 2.0.2 - resolution: "fb-watchman@npm:2.0.2" - dependencies: - bser: "npm:2.1.1" - checksum: 10c0/feae89ac148adb8f6ae8ccd87632e62b13563e6fb114cacb5265c51f585b17e2e268084519fb2edd133872f1d47a18e6bfd7e5e08625c0d41b93149694187581 - languageName: node - linkType: hard - -"file-entry-cache@npm:^8.0.0": - version: 8.0.0 - resolution: "file-entry-cache@npm:8.0.0" - dependencies: - flat-cache: "npm:^4.0.0" - checksum: 10c0/9e2b5938b1cd9b6d7e3612bdc533afd4ac17b2fc646569e9a8abbf2eb48e5eb8e316bc38815a3ef6a1b456f4107f0d0f055a614ca613e75db6bf9ff4d72c1638 - languageName: node - linkType: hard - -"fill-range@npm:^7.1.1": - version: 7.1.1 - resolution: "fill-range@npm:7.1.1" - dependencies: - to-regex-range: "npm:^5.0.1" - checksum: 10c0/b75b691bbe065472f38824f694c2f7449d7f5004aa950426a2c28f0306c60db9b880c0b0e4ed819997ffb882d1da02cfcfc819bddc94d71627f5269682edf018 - languageName: node - linkType: hard - -"find-up@npm:^4.0.0, find-up@npm:^4.1.0": - version: 4.1.0 - resolution: "find-up@npm:4.1.0" - dependencies: - locate-path: "npm:^5.0.0" - path-exists: "npm:^4.0.0" - checksum: 10c0/0406ee89ebeefa2d507feb07ec366bebd8a6167ae74aa4e34fb4c4abd06cf782a3ce26ae4194d70706f72182841733f00551c209fe575cb00bd92104056e78c1 - languageName: node - linkType: hard - -"find-up@npm:^5.0.0": - version: 5.0.0 - resolution: "find-up@npm:5.0.0" - dependencies: - locate-path: "npm:^6.0.0" - path-exists: "npm:^4.0.0" - checksum: 10c0/062c5a83a9c02f53cdd6d175a37ecf8f87ea5bbff1fdfb828f04bfa021441bc7583e8ebc0872a4c1baab96221fb8a8a275a19809fb93fbc40bd69ec35634069a - languageName: node - linkType: hard - -"flat-cache@npm:^4.0.0": - version: 4.0.1 - resolution: "flat-cache@npm:4.0.1" - dependencies: - flatted: "npm:^3.2.9" - keyv: "npm:^4.5.4" - checksum: 10c0/2c59d93e9faa2523e4fda6b4ada749bed432cfa28c8e251f33b25795e426a1c6dbada777afb1f74fcfff33934fdbdea921ee738fcc33e71adc9d6eca984a1cfc - languageName: node - linkType: hard - -"flatted@npm:^3.2.9": - version: 3.3.3 - resolution: "flatted@npm:3.3.3" - checksum: 10c0/e957a1c6b0254aa15b8cce8533e24165abd98fadc98575db082b786b5da1b7d72062b81bfdcd1da2f4d46b6ed93bec2434e62333e9b4261d79ef2e75a10dd538 - languageName: node - linkType: hard - -"fs-extra@npm:^11.3.1": - version: 11.3.1 - resolution: "fs-extra@npm:11.3.1" - dependencies: - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: 10c0/61e5b7285b1ca72c68dfe1058b2514294a922683afac2a80aa90540f9bd85370763d675e3b408ef500077d355956fece3bd24b546790e261c3d3015967e2b2d9 - languageName: node - linkType: hard - -"fs-minipass@npm:^3.0.0": - version: 3.0.3 - resolution: "fs-minipass@npm:3.0.3" - dependencies: - minipass: "npm:^7.0.3" - checksum: 10c0/63e80da2ff9b621e2cb1596abcb9207f1cf82b968b116ccd7b959e3323144cce7fb141462200971c38bbf2ecca51695069db45265705bed09a7cd93ae5b89f94 - languageName: node - linkType: hard - -"fs.realpath@npm:^1.0.0": - version: 1.0.0 - resolution: "fs.realpath@npm:1.0.0" - checksum: 10c0/444cf1291d997165dfd4c0d58b69f0e4782bfd9149fd72faa4fe299e68e0e93d6db941660b37dd29153bf7186672ececa3b50b7e7249477b03fdf850f287c948 - languageName: node - linkType: hard - -"fsevents@npm:2.3.2": - version: 2.3.2 - resolution: "fsevents@npm:2.3.2" - dependencies: - node-gyp: "npm:latest" - checksum: 10c0/be78a3efa3e181cda3cf7a4637cb527bcebb0bd0ea0440105a3bb45b86f9245b307dc10a2507e8f4498a7d4ec349d1910f4d73e4d4495b16103106e07eee735b - conditions: os=darwin - languageName: node - linkType: hard - -"fsevents@npm:^2.3.3": - version: 2.3.3 - resolution: "fsevents@npm:2.3.3" - dependencies: - node-gyp: "npm:latest" - checksum: 10c0/a1f0c44595123ed717febbc478aa952e47adfc28e2092be66b8ab1635147254ca6cfe1df792a8997f22716d4cbafc73309899ff7bfac2ac3ad8cf2e4ecc3ec60 - conditions: os=darwin - languageName: node - linkType: hard - -"fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin": - version: 2.3.2 - resolution: "fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin::version=2.3.2&hash=df0bf1" - dependencies: - node-gyp: "npm:latest" - conditions: os=darwin - languageName: node - linkType: hard - -"fsevents@patch:fsevents@npm%3A^2.3.3#optional!builtin": - version: 2.3.3 - resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" - dependencies: - node-gyp: "npm:latest" - conditions: os=darwin - languageName: node - linkType: hard - -"function-bind@npm:^1.1.2": - version: 1.1.2 - resolution: "function-bind@npm:1.1.2" - checksum: 10c0/d8680ee1e5fcd4c197e4ac33b2b4dce03c71f4d91717292785703db200f5c21f977c568d28061226f9b5900cbcd2c84463646134fd5337e7925e0942bc3f46d5 - languageName: node - linkType: hard - -"gensync@npm:^1.0.0-beta.2": - version: 1.0.0-beta.2 - resolution: "gensync@npm:1.0.0-beta.2" - checksum: 10c0/782aba6cba65b1bb5af3b095d96249d20edbe8df32dbf4696fd49be2583faf676173bf4809386588828e4dd76a3354fcbeb577bab1c833ccd9fc4577f26103f8 - languageName: node - linkType: hard - -"get-caller-file@npm:^2.0.5": - version: 2.0.5 - resolution: "get-caller-file@npm:2.0.5" - checksum: 10c0/c6c7b60271931fa752aeb92f2b47e355eac1af3a2673f47c9589e8f8a41adc74d45551c1bc57b5e66a80609f10ffb72b6f575e4370d61cc3f7f3aaff01757cde - languageName: node - linkType: hard - -"get-package-type@npm:^0.1.0": - version: 0.1.0 - resolution: "get-package-type@npm:0.1.0" - checksum: 10c0/e34cdf447fdf1902a1f6d5af737eaadf606d2ee3518287abde8910e04159368c268568174b2e71102b87b26c2020486f126bfca9c4fb1ceb986ff99b52ecd1be - languageName: node - linkType: hard - -"get-stream@npm:^6.0.0": - version: 6.0.1 - resolution: "get-stream@npm:6.0.1" - checksum: 10c0/49825d57d3fd6964228e6200a58169464b8e8970489b3acdc24906c782fb7f01f9f56f8e6653c4a50713771d6658f7cfe051e5eb8c12e334138c9c918b296341 - languageName: node - linkType: hard - -"glob-parent@npm:^5.1.2": - version: 5.1.2 - resolution: "glob-parent@npm:5.1.2" - dependencies: - is-glob: "npm:^4.0.1" - checksum: 10c0/cab87638e2112bee3f839ef5f6e0765057163d39c66be8ec1602f3823da4692297ad4e972de876ea17c44d652978638d2fd583c6713d0eb6591706825020c9ee - languageName: node - linkType: hard - -"glob-parent@npm:^6.0.2": - version: 6.0.2 - resolution: "glob-parent@npm:6.0.2" - dependencies: - is-glob: "npm:^4.0.3" - checksum: 10c0/317034d88654730230b3f43bb7ad4f7c90257a426e872ea0bf157473ac61c99bf5d205fad8f0185f989be8d2fa6d3c7dce1645d99d545b6ea9089c39f838e7f8 - languageName: node - linkType: hard - -"glob@npm:^9.3.5": - version: 9.3.5 - resolution: "glob@npm:9.3.5" - dependencies: - fs.realpath: "npm:^1.0.0" - minimatch: "npm:^8.0.2" - minipass: "npm:^4.2.4" - path-scurry: "npm:^1.6.1" - checksum: 10c0/2f6c2b9ee019ee21dc258ae97a88719614591e4c979cb4580b1b9df6f0f778a3cb38b4bdaf18dfa584637ea10f89a3c5f2533a5e449cf8741514ad18b0951f2e - languageName: node - linkType: hard - -"globals@npm:^11.1.0": - version: 11.12.0 - resolution: "globals@npm:11.12.0" - checksum: 10c0/758f9f258e7b19226bd8d4af5d3b0dcf7038780fb23d82e6f98932c44e239f884847f1766e8fa9cc5635ccb3204f7fa7314d4408dd4002a5e8ea827b4018f0a1 - languageName: node - linkType: hard - -"globals@npm:^14.0.0": - version: 14.0.0 - resolution: "globals@npm:14.0.0" - checksum: 10c0/b96ff42620c9231ad468d4c58ff42afee7777ee1c963013ff8aabe095a451d0ceeb8dcd8ef4cbd64d2538cef45f787a78ba3a9574f4a634438963e334471302d - languageName: node - linkType: hard - -"globals@npm:^16.4.0": - version: 16.4.0 - resolution: "globals@npm:16.4.0" - checksum: 10c0/a14b447a78b664b42f6d324e8675fcae6fe5e57924fecc1f6328dce08af9b2ca3a3138501e1b1f244a49814a732dc60cfc1aa24e714e0b64ac8bd18910bfac90 - languageName: node - linkType: hard - -"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.6": - version: 4.2.11 - resolution: "graceful-fs@npm:4.2.11" - checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 - languageName: node - linkType: hard - -"graphemer@npm:^1.4.0": - version: 1.4.0 - resolution: "graphemer@npm:1.4.0" - checksum: 10c0/e951259d8cd2e0d196c72ec711add7115d42eb9a8146c8eeda5b8d3ac91e5dd816b9cd68920726d9fd4490368e7ed86e9c423f40db87e2d8dfafa00fa17c3a31 - languageName: node - linkType: hard - -"handlebars@npm:^4.7.8": - version: 4.7.8 - resolution: "handlebars@npm:4.7.8" - dependencies: - minimist: "npm:^1.2.5" - neo-async: "npm:^2.6.2" - source-map: "npm:^0.6.1" - uglify-js: "npm:^3.1.4" - wordwrap: "npm:^1.0.0" - dependenciesMeta: - uglify-js: - optional: true - bin: - handlebars: bin/handlebars - checksum: 10c0/7aff423ea38a14bb379316f3857fe0df3c5d66119270944247f155ba1f08e07a92b340c58edaa00cfe985c21508870ee5183e0634dcb53dd405f35c93ef7f10d - languageName: node - linkType: hard - -"has-flag@npm:^4.0.0": - version: 4.0.0 - resolution: "has-flag@npm:4.0.0" - checksum: 10c0/2e789c61b7888d66993e14e8331449e525ef42aac53c627cc53d1c3334e768bcb6abdc4f5f0de1478a25beec6f0bd62c7549058b7ac53e924040d4f301f02fd1 - languageName: node - linkType: hard - -"hasown@npm:^2.0.2": - version: 2.0.2 - resolution: "hasown@npm:2.0.2" - dependencies: - function-bind: "npm:^1.1.2" - checksum: 10c0/3769d434703b8ac66b209a4cca0737519925bbdb61dd887f93a16372b14694c63ff4e797686d87c90f08168e81082248b9b028bad60d4da9e0d1148766f56eb9 - languageName: node - linkType: hard - -"html-escaper@npm:^2.0.0": - version: 2.0.2 - resolution: "html-escaper@npm:2.0.2" - checksum: 10c0/208e8a12de1a6569edbb14544f4567e6ce8ecc30b9394fcaa4e7bb1e60c12a7c9a1ed27e31290817157e8626f3a4f29e76c8747030822eb84a6abb15c255f0a0 - languageName: node - linkType: hard - -"http-cache-semantics@npm:^4.1.1": - version: 4.1.1 - resolution: "http-cache-semantics@npm:4.1.1" - checksum: 10c0/ce1319b8a382eb3cbb4a37c19f6bfe14e5bb5be3d09079e885e8c513ab2d3cd9214902f8a31c9dc4e37022633ceabfc2d697405deeaf1b8f3552bb4ed996fdfc - languageName: node - linkType: hard - -"http-proxy-agent@npm:^7.0.0": - version: 7.0.2 - resolution: "http-proxy-agent@npm:7.0.2" - dependencies: - agent-base: "npm:^7.1.0" - debug: "npm:^4.3.4" - checksum: 10c0/4207b06a4580fb85dd6dff521f0abf6db517489e70863dca1a0291daa7f2d3d2d6015a57bd702af068ea5cf9f1f6ff72314f5f5b4228d299c0904135d2aef921 - languageName: node - linkType: hard - -"https-proxy-agent@npm:^7.0.1": - version: 7.0.6 - resolution: "https-proxy-agent@npm:7.0.6" - dependencies: - agent-base: "npm:^7.1.2" - debug: "npm:4" - checksum: 10c0/f729219bc735edb621fa30e6e84e60ee5d00802b8247aac0d7b79b0bd6d4b3294737a337b93b86a0bd9e68099d031858a39260c976dc14cdbba238ba1f8779ac - languageName: node - linkType: hard - -"human-signals@npm:^2.1.0": - version: 2.1.0 - resolution: "human-signals@npm:2.1.0" - checksum: 10c0/695edb3edfcfe9c8b52a76926cd31b36978782062c0ed9b1192b36bebc75c4c87c82e178dfcb0ed0fc27ca59d434198aac0bd0be18f5781ded775604db22304a - languageName: node - linkType: hard - -"iconv-lite@npm:^0.6.2": - version: 0.6.3 - resolution: "iconv-lite@npm:0.6.3" - dependencies: - safer-buffer: "npm:>= 2.1.2 < 3.0.0" - checksum: 10c0/98102bc66b33fcf5ac044099d1257ba0b7ad5e3ccd3221f34dd508ab4070edff183276221684e1e0555b145fce0850c9f7d2b60a9fcac50fbb4ea0d6e845a3b1 - languageName: node - linkType: hard - -"ignore@npm:^5.2.0, ignore@npm:^5.3.1, ignore@npm:^5.3.2": - version: 5.3.2 - resolution: "ignore@npm:5.3.2" - checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 - languageName: node - linkType: hard - -"import-fresh@npm:^3.2.1": - version: 3.3.1 - resolution: "import-fresh@npm:3.3.1" - dependencies: - parent-module: "npm:^1.0.0" - resolve-from: "npm:^4.0.0" - checksum: 10c0/bf8cc494872fef783249709385ae883b447e3eb09db0ebd15dcead7d9afe7224dad7bd7591c6b73b0b19b3c0f9640eb8ee884f01cfaf2887ab995b0b36a0cbec - languageName: node - linkType: hard - -"import-local@npm:^3.2.0": - version: 3.2.0 - resolution: "import-local@npm:3.2.0" - dependencies: - pkg-dir: "npm:^4.2.0" - resolve-cwd: "npm:^3.0.0" - bin: - import-local-fixture: fixtures/cli.js - checksum: 10c0/94cd6367a672b7e0cb026970c85b76902d2710a64896fa6de93bd5c571dd03b228c5759308959de205083e3b1c61e799f019c9e36ee8e9c523b993e1057f0433 - languageName: node - linkType: hard - -"imurmurhash@npm:^0.1.4": - version: 0.1.4 - resolution: "imurmurhash@npm:0.1.4" - checksum: 10c0/8b51313850dd33605c6c9d3fd9638b714f4c4c40250cff658209f30d40da60f78992fb2df5dabee4acf589a6a82bbc79ad5486550754bd9ec4e3fc0d4a57d6a6 - languageName: node - linkType: hard - -"ip-address@npm:^9.0.5": - version: 9.0.5 - resolution: "ip-address@npm:9.0.5" - dependencies: - jsbn: "npm:1.1.0" - sprintf-js: "npm:^1.1.3" - checksum: 10c0/331cd07fafcb3b24100613e4b53e1a2b4feab11e671e655d46dc09ee233da5011284d09ca40c4ecbdfe1d0004f462958675c224a804259f2f78d2465a87824bc - languageName: node - linkType: hard - -"is-arrayish@npm:^0.2.1": - version: 0.2.1 - resolution: "is-arrayish@npm:0.2.1" - checksum: 10c0/e7fb686a739068bb70f860b39b67afc62acc62e36bb61c5f965768abce1873b379c563e61dd2adad96ebb7edf6651111b385e490cf508378959b0ed4cac4e729 - languageName: node - linkType: hard - -"is-core-module@npm:^2.16.0": - version: 2.16.1 - resolution: "is-core-module@npm:2.16.1" - dependencies: - hasown: "npm:^2.0.2" - checksum: 10c0/898443c14780a577e807618aaae2b6f745c8538eca5c7bc11388a3f2dc6de82b9902bcc7eb74f07be672b11bbe82dd6a6edded44a00cb3d8f933d0459905eedd - languageName: node - linkType: hard - -"is-extglob@npm:^2.1.1": - version: 2.1.1 - resolution: "is-extglob@npm:2.1.1" - checksum: 10c0/5487da35691fbc339700bbb2730430b07777a3c21b9ebaecb3072512dfd7b4ba78ac2381a87e8d78d20ea08affb3f1971b4af629173a6bf435ff8a4c47747912 - languageName: node - linkType: hard - -"is-fullwidth-code-point@npm:^3.0.0": - version: 3.0.0 - resolution: "is-fullwidth-code-point@npm:3.0.0" - checksum: 10c0/bb11d825e049f38e04c06373a8d72782eee0205bda9d908cc550ccb3c59b99d750ff9537982e01733c1c94a58e35400661f57042158ff5e8f3e90cf936daf0fc - languageName: node - linkType: hard - -"is-generator-fn@npm:^2.1.0": - version: 2.1.0 - resolution: "is-generator-fn@npm:2.1.0" - checksum: 10c0/2957cab387997a466cd0bf5c1b6047bd21ecb32bdcfd8996b15747aa01002c1c88731802f1b3d34ac99f4f6874b626418bd118658cf39380fe5fff32a3af9c4d - languageName: node - linkType: hard - -"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3": - version: 4.0.3 - resolution: "is-glob@npm:4.0.3" - dependencies: - is-extglob: "npm:^2.1.1" - checksum: 10c0/17fb4014e22be3bbecea9b2e3a76e9e34ff645466be702f1693e8f1ee1adac84710d0be0bd9f967d6354036fd51ab7c2741d954d6e91dae6bb69714de92c197a - languageName: node - linkType: hard - -"is-number@npm:^7.0.0": - version: 7.0.0 - resolution: "is-number@npm:7.0.0" - checksum: 10c0/b4686d0d3053146095ccd45346461bc8e53b80aeb7671cc52a4de02dbbf7dc0d1d2a986e2fe4ae206984b4d34ef37e8b795ebc4f4295c978373e6575e295d811 - languageName: node - linkType: hard - -"is-stream@npm:^2.0.0": - version: 2.0.1 - resolution: "is-stream@npm:2.0.1" - checksum: 10c0/7c284241313fc6efc329b8d7f08e16c0efeb6baab1b4cd0ba579eb78e5af1aa5da11e68559896a2067cd6c526bd29241dda4eb1225e627d5aa1a89a76d4635a5 - languageName: node - linkType: hard - -"isexe@npm:^2.0.0": - version: 2.0.0 - resolution: "isexe@npm:2.0.0" - checksum: 10c0/228cfa503fadc2c31596ab06ed6aa82c9976eec2bfd83397e7eaf06d0ccf42cd1dfd6743bf9aeb01aebd4156d009994c5f76ea898d2832c1fe342da923ca457d - languageName: node - linkType: hard - -"isexe@npm:^3.1.1": - version: 3.1.1 - resolution: "isexe@npm:3.1.1" - checksum: 10c0/9ec257654093443eb0a528a9c8cbba9c0ca7616ccb40abd6dde7202734d96bb86e4ac0d764f0f8cd965856aacbff2f4ce23e730dc19dfb41e3b0d865ca6fdcc7 - languageName: node - linkType: hard - -"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0": - version: 3.2.2 - resolution: "istanbul-lib-coverage@npm:3.2.2" - checksum: 10c0/6c7ff2106769e5f592ded1fb418f9f73b4411fd5a084387a5410538332b6567cd1763ff6b6cadca9b9eb2c443cce2f7ea7d7f1b8d315f9ce58539793b1e0922b - languageName: node - linkType: hard - -"istanbul-lib-instrument@npm:^6.0.0, istanbul-lib-instrument@npm:^6.0.2": - version: 6.0.3 - resolution: "istanbul-lib-instrument@npm:6.0.3" - dependencies: - "@babel/core": "npm:^7.23.9" - "@babel/parser": "npm:^7.23.9" - "@istanbuljs/schema": "npm:^0.1.3" - istanbul-lib-coverage: "npm:^3.2.0" - semver: "npm:^7.5.4" - checksum: 10c0/a1894e060dd2a3b9f046ffdc87b44c00a35516f5e6b7baf4910369acca79e506fc5323a816f811ae23d82334b38e3ddeb8b3b331bd2c860540793b59a8689128 - languageName: node - linkType: hard - -"istanbul-lib-report@npm:^3.0.0": - version: 3.0.1 - resolution: "istanbul-lib-report@npm:3.0.1" - dependencies: - istanbul-lib-coverage: "npm:^3.0.0" - make-dir: "npm:^4.0.0" - supports-color: "npm:^7.1.0" - checksum: 10c0/84323afb14392de8b6a5714bd7e9af845cfbd56cfe71ed276cda2f5f1201aea673c7111901227ee33e68e4364e288d73861eb2ed48f6679d1e69a43b6d9b3ba7 - languageName: node - linkType: hard - -"istanbul-lib-source-maps@npm:^5.0.0": - version: 5.0.6 - resolution: "istanbul-lib-source-maps@npm:5.0.6" - dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.23" - debug: "npm:^4.1.1" - istanbul-lib-coverage: "npm:^3.0.0" - checksum: 10c0/ffe75d70b303a3621ee4671554f306e0831b16f39ab7f4ab52e54d356a5d33e534d97563e318f1333a6aae1d42f91ec49c76b6cd3f3fb378addcb5c81da0255f - languageName: node - linkType: hard - -"istanbul-reports@npm:^3.1.3": - version: 3.1.7 - resolution: "istanbul-reports@npm:3.1.7" - dependencies: - html-escaper: "npm:^2.0.0" - istanbul-lib-report: "npm:^3.0.0" - checksum: 10c0/a379fadf9cf8dc5dfe25568115721d4a7eb82fbd50b005a6672aff9c6989b20cc9312d7865814e0859cd8df58cbf664482e1d3604be0afde1f7fc3ccc1394a51 - languageName: node - linkType: hard - -"jest-changed-files@npm:30.2.0": - version: 30.2.0 - resolution: "jest-changed-files@npm:30.2.0" - dependencies: - execa: "npm:^5.1.1" - jest-util: "npm:30.2.0" - p-limit: "npm:^3.1.0" - checksum: 10c0/0ce838f8bffdadcdc19028f4b7a24c04d2f9885ee5c5c1bb4746c205cb96649934090ef6492c3dc45b1be097672b4f8043ad141278bc82f390579fa3ea4c11fe - languageName: node - linkType: hard - -"jest-circus@npm:30.2.0": - version: 30.2.0 - resolution: "jest-circus@npm:30.2.0" - dependencies: - "@jest/environment": "npm:30.2.0" - "@jest/expect": "npm:30.2.0" - "@jest/test-result": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - chalk: "npm:^4.1.2" - co: "npm:^4.6.0" - dedent: "npm:^1.6.0" - is-generator-fn: "npm:^2.1.0" - jest-each: "npm:30.2.0" - jest-matcher-utils: "npm:30.2.0" - jest-message-util: "npm:30.2.0" - jest-runtime: "npm:30.2.0" - jest-snapshot: "npm:30.2.0" - jest-util: "npm:30.2.0" - p-limit: "npm:^3.1.0" - pretty-format: "npm:30.2.0" - pure-rand: "npm:^7.0.0" - slash: "npm:^3.0.0" - stack-utils: "npm:^2.0.6" - checksum: 10c0/32fc88e13d3e811a9af5ca02d31f7cc742e726a0128df0b023330d6dff6ac29bf981da09937162f7c0705cf327df8d24e46de84860f6817dbc134438315c2967 - languageName: node - linkType: hard - -"jest-cli@npm:30.2.0": - version: 30.2.0 - resolution: "jest-cli@npm:30.2.0" - dependencies: - "@jest/core": "npm:30.2.0" - "@jest/test-result": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - chalk: "npm:^4.1.2" - exit-x: "npm:^0.2.2" - import-local: "npm:^3.2.0" - jest-config: "npm:30.2.0" - jest-util: "npm:30.2.0" - jest-validate: "npm:30.2.0" - yargs: "npm:^17.7.2" - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - bin: - jest: ./bin/jest.js - checksum: 10c0/b722a98cdf7b0ff1c273dd4efbaf331d683335f1f338a76a24492574e582a4e5a12a9df66e41bf4c92c7cffe0f51b759818ecd42044cd9bbef67d40359240989 - languageName: node - linkType: hard - -"jest-config@npm:30.2.0": - version: 30.2.0 - resolution: "jest-config@npm:30.2.0" - dependencies: - "@babel/core": "npm:^7.27.4" - "@jest/get-type": "npm:30.1.0" - "@jest/pattern": "npm:30.0.1" - "@jest/test-sequencer": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - babel-jest: "npm:30.2.0" - chalk: "npm:^4.1.2" - ci-info: "npm:^4.2.0" - deepmerge: "npm:^4.3.1" - glob: "npm:^10.3.10" - graceful-fs: "npm:^4.2.11" - jest-circus: "npm:30.2.0" - jest-docblock: "npm:30.2.0" - jest-environment-node: "npm:30.2.0" - jest-regex-util: "npm:30.0.1" - jest-resolve: "npm:30.2.0" - jest-runner: "npm:30.2.0" - jest-util: "npm:30.2.0" - jest-validate: "npm:30.2.0" - micromatch: "npm:^4.0.8" - parse-json: "npm:^5.2.0" - pretty-format: "npm:30.2.0" - slash: "npm:^3.0.0" - strip-json-comments: "npm:^3.1.1" - peerDependencies: - "@types/node": "*" - esbuild-register: ">=3.4.0" - ts-node: ">=9.0.0" - peerDependenciesMeta: - "@types/node": - optional: true - esbuild-register: - optional: true - ts-node: - optional: true - checksum: 10c0/f02bb747e3382cdbb5a00abd583e9118a0b4f1d9d4cad01b5cc06b7fab9b817419ec183856cd791b2e9167051cad52b3d22ea34319a28c8f3e70a5ce73d05faa - languageName: node - linkType: hard - -"jest-diff@npm:30.1.2": - version: 30.1.2 - resolution: "jest-diff@npm:30.1.2" - dependencies: - "@jest/diff-sequences": "npm:30.0.1" - "@jest/get-type": "npm:30.1.0" - chalk: "npm:^4.1.2" - pretty-format: "npm:30.0.5" - checksum: 10c0/5baba5c54d044faf77540d2b97f947ce2a735c529bdca23ccd25669085ba3912eef2a8f66f4d765e8e416b1e10b95cb1dded0ebc1633efdbef37706b4e767ecb - languageName: node - linkType: hard - -"jest-diff@npm:30.2.0": - version: 30.2.0 - resolution: "jest-diff@npm:30.2.0" - dependencies: - "@jest/diff-sequences": "npm:30.0.1" - "@jest/get-type": "npm:30.1.0" - chalk: "npm:^4.1.2" - pretty-format: "npm:30.2.0" - checksum: 10c0/5fac2cd89a10b282c5a68fc6206a95dfff9955ed0b758d24ffb0edcb20fb2f98e1fa5045c5c4205d952712ea864c6a086654f80cdd500cce054a2f5daf5b4419 - languageName: node - linkType: hard - -"jest-docblock@npm:30.2.0": - version: 30.2.0 - resolution: "jest-docblock@npm:30.2.0" - dependencies: - detect-newline: "npm:^3.1.0" - checksum: 10c0/2578366604eef1b36d59ffe1fc52a710995571535d437f83d94ff94756a83f78e699c1ba004c38a34c01859d669fd6c64e865c23c5a7d5bf4837cfca4bef3dda - languageName: node - linkType: hard - -"jest-each@npm:30.2.0": - version: 30.2.0 - resolution: "jest-each@npm:30.2.0" - dependencies: - "@jest/get-type": "npm:30.1.0" - "@jest/types": "npm:30.2.0" - chalk: "npm:^4.1.2" - jest-util: "npm:30.2.0" - pretty-format: "npm:30.2.0" - checksum: 10c0/4fa7e88a2741daaebd58cf49f9add8bd6c68657d2c106a170ebe4d7f86082c9eede2b13924304277a92e02b31b59a3c34949877da077bc27712b57913bb88321 - languageName: node - linkType: hard - -"jest-environment-node@npm:30.2.0": - version: 30.2.0 - resolution: "jest-environment-node@npm:30.2.0" - dependencies: - "@jest/environment": "npm:30.2.0" - "@jest/fake-timers": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - jest-mock: "npm:30.2.0" - jest-util: "npm:30.2.0" - jest-validate: "npm:30.2.0" - checksum: 10c0/866ba2c04ccf003845a8ca1f372081d76923849ae8e06e50cdfed792e41a976b5f953e15f3af17ff51b111b9540cf846f7f582530ca724c2a2abf15d15a99728 - languageName: node - linkType: hard - -"jest-haste-map@npm:30.2.0": - version: 30.2.0 - resolution: "jest-haste-map@npm:30.2.0" - dependencies: - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - anymatch: "npm:^3.1.3" - fb-watchman: "npm:^2.0.2" - fsevents: "npm:^2.3.3" - graceful-fs: "npm:^4.2.11" - jest-regex-util: "npm:30.0.1" - jest-util: "npm:30.2.0" - jest-worker: "npm:30.2.0" - micromatch: "npm:^4.0.8" - walker: "npm:^1.0.8" - dependenciesMeta: - fsevents: - optional: true - checksum: 10c0/61b4ad5a59b4dfadac2f903f3d723d9017aada268c49b9222ec1e15c4892fd4c36af59b65f37f026d747d829672ab9679509fea5d4248d07a93b892963e1bb4e - languageName: node - linkType: hard - -"jest-leak-detector@npm:30.2.0": - version: 30.2.0 - resolution: "jest-leak-detector@npm:30.2.0" - dependencies: - "@jest/get-type": "npm:30.1.0" - pretty-format: "npm:30.2.0" - checksum: 10c0/68e2822aabe302983b65a08b19719a2444259af8a23ff20a6e2b6ce7759f55730f51c7cf16c65cb6be930c80a6cc70a4820239c84e8f333c9670a8e3a4a21801 - languageName: node - linkType: hard - -"jest-matcher-utils@npm:30.1.2": - version: 30.1.2 - resolution: "jest-matcher-utils@npm:30.1.2" - dependencies: - "@jest/get-type": "npm:30.1.0" - chalk: "npm:^4.1.2" - jest-diff: "npm:30.1.2" - pretty-format: "npm:30.0.5" - checksum: 10c0/c4f81fc7d72f94b18dff807adf787d6fd081c3e150148fbbcb1559c353b27890989bcf7e10b15d763625565175bf30019e93a014078ff291646a88a9acdfc9a4 - languageName: node - linkType: hard - -"jest-matcher-utils@npm:30.2.0": - version: 30.2.0 - resolution: "jest-matcher-utils@npm:30.2.0" - dependencies: - "@jest/get-type": "npm:30.1.0" - chalk: "npm:^4.1.2" - jest-diff: "npm:30.2.0" - pretty-format: "npm:30.2.0" - checksum: 10c0/f221c8afa04cee693a2be735482c5db4ec6f845f8ca3a04cb419be34c6257f4531dab89c836251f31d1859318c38997e8e9f34bf7b4cdcc8c7be8ae6e2ecb9f2 - languageName: node - linkType: hard - -"jest-message-util@npm:30.1.0": - version: 30.1.0 - resolution: "jest-message-util@npm:30.1.0" - dependencies: - "@babel/code-frame": "npm:^7.27.1" - "@jest/types": "npm:30.0.5" - "@types/stack-utils": "npm:^2.0.3" - chalk: "npm:^4.1.2" - graceful-fs: "npm:^4.2.11" - micromatch: "npm:^4.0.8" - pretty-format: "npm:30.0.5" - slash: "npm:^3.0.0" - stack-utils: "npm:^2.0.6" - checksum: 10c0/3884f7e772d64891eca63870f73b89af4e1dce715611c308e1115f7961ed378560bac66c5f9cbee025b06ca530dbd30685362cb8db7b5a48f5f53b75ba79023e - languageName: node - linkType: hard - -"jest-message-util@npm:30.2.0": - version: 30.2.0 - resolution: "jest-message-util@npm:30.2.0" - dependencies: - "@babel/code-frame": "npm:^7.27.1" - "@jest/types": "npm:30.2.0" - "@types/stack-utils": "npm:^2.0.3" - chalk: "npm:^4.1.2" - graceful-fs: "npm:^4.2.11" - micromatch: "npm:^4.0.8" - pretty-format: "npm:30.2.0" - slash: "npm:^3.0.0" - stack-utils: "npm:^2.0.6" - checksum: 10c0/9c4aae95f9e73a754e5ecababa06e5c00cf549ff1651bbbf9aadc671ee57e688b01606ef0e9932d9dfe3d4b8f4511b6e8d01e131a49d2f82761c820ab93ae519 - languageName: node - linkType: hard - -"jest-mock@npm:30.0.5": - version: 30.0.5 - resolution: "jest-mock@npm:30.0.5" - dependencies: - "@jest/types": "npm:30.0.5" - "@types/node": "npm:*" - jest-util: "npm:30.0.5" - checksum: 10c0/207fd79297f514a8e26ede9b4b5035e70212b8850a2f460b51d3cc58e8e7c9585bd2dbc5df2475a3321c4cd114b90e0b24190f00d6eeb88c8f088a8ed00416d5 - languageName: node - linkType: hard - -"jest-mock@npm:30.2.0": - version: 30.2.0 - resolution: "jest-mock@npm:30.2.0" - dependencies: - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - jest-util: "npm:30.2.0" - checksum: 10c0/dfc8eb87f4075242f1b31d9dcac606f945c4f6a245d2bb67273738d266bea6345e10de3afa675076d545361bc96b754f764cffb0ccc2e99767484bece981b2f8 - languageName: node - linkType: hard - -"jest-pnp-resolver@npm:^1.2.3": - version: 1.2.3 - resolution: "jest-pnp-resolver@npm:1.2.3" - peerDependencies: - jest-resolve: "*" - peerDependenciesMeta: - jest-resolve: - optional: true - checksum: 10c0/86eec0c78449a2de733a6d3e316d49461af6a858070e113c97f75fb742a48c2396ea94150cbca44159ffd4a959f743a47a8b37a792ef6fdad2cf0a5cba973fac - languageName: node - linkType: hard - -"jest-regex-util@npm:30.0.1": - version: 30.0.1 - resolution: "jest-regex-util@npm:30.0.1" - checksum: 10c0/f30c70524ebde2d1012afe5ffa5691d5d00f7d5ba9e43d588f6460ac6fe96f9e620f2f9b36a02d0d3e7e77bc8efb8b3450ae3b80ac53c8be5099e01bf54f6728 - languageName: node - linkType: hard - -"jest-resolve-dependencies@npm:30.2.0": - version: 30.2.0 - resolution: "jest-resolve-dependencies@npm:30.2.0" - dependencies: - jest-regex-util: "npm:30.0.1" - jest-snapshot: "npm:30.2.0" - checksum: 10c0/f98f2187b490f402dd9ed6b15b5d324b1220d250a5768d46b1f1582cef05b830311351532a7d19f1868a2ce0049856ae6c26587f3869995cae7850739088b879 - languageName: node - linkType: hard - -"jest-resolve@npm:30.2.0": - version: 30.2.0 - resolution: "jest-resolve@npm:30.2.0" - dependencies: - chalk: "npm:^4.1.2" - graceful-fs: "npm:^4.2.11" - jest-haste-map: "npm:30.2.0" - jest-pnp-resolver: "npm:^1.2.3" - jest-util: "npm:30.2.0" - jest-validate: "npm:30.2.0" - slash: "npm:^3.0.0" - unrs-resolver: "npm:^1.7.11" - checksum: 10c0/149576b81609a79889d08298a95d52920839f796d24f8701beacaf998a4916df205acf86b64d0bc294172a821b88d144facf44ae5a4cb3cfaa03fa06a3fc666d - languageName: node - linkType: hard - -"jest-runner@npm:30.2.0": - version: 30.2.0 - resolution: "jest-runner@npm:30.2.0" - dependencies: - "@jest/console": "npm:30.2.0" - "@jest/environment": "npm:30.2.0" - "@jest/test-result": "npm:30.2.0" - "@jest/transform": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - chalk: "npm:^4.1.2" - emittery: "npm:^0.13.1" - exit-x: "npm:^0.2.2" - graceful-fs: "npm:^4.2.11" - jest-docblock: "npm:30.2.0" - jest-environment-node: "npm:30.2.0" - jest-haste-map: "npm:30.2.0" - jest-leak-detector: "npm:30.2.0" - jest-message-util: "npm:30.2.0" - jest-resolve: "npm:30.2.0" - jest-runtime: "npm:30.2.0" - jest-util: "npm:30.2.0" - jest-watcher: "npm:30.2.0" - jest-worker: "npm:30.2.0" - p-limit: "npm:^3.1.0" - source-map-support: "npm:0.5.13" - checksum: 10c0/68cb5eb993b4a02143fc442c245b17567432709879ad5f859fec635ccdf4ad0ef128c9fc6765c1582b3f5136b36cad5c5dd173926081bfc527d490b27406383e - languageName: node - linkType: hard - -"jest-runtime@npm:30.2.0": - version: 30.2.0 - resolution: "jest-runtime@npm:30.2.0" - dependencies: - "@jest/environment": "npm:30.2.0" - "@jest/fake-timers": "npm:30.2.0" - "@jest/globals": "npm:30.2.0" - "@jest/source-map": "npm:30.0.1" - "@jest/test-result": "npm:30.2.0" - "@jest/transform": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - chalk: "npm:^4.1.2" - cjs-module-lexer: "npm:^2.1.0" - collect-v8-coverage: "npm:^1.0.2" - glob: "npm:^10.3.10" - graceful-fs: "npm:^4.2.11" - jest-haste-map: "npm:30.2.0" - jest-message-util: "npm:30.2.0" - jest-mock: "npm:30.2.0" - jest-regex-util: "npm:30.0.1" - jest-resolve: "npm:30.2.0" - jest-snapshot: "npm:30.2.0" - jest-util: "npm:30.2.0" - slash: "npm:^3.0.0" - strip-bom: "npm:^4.0.0" - checksum: 10c0/d77b7eb75485f2b4913f635aeffa8e3e1b9baafb7a7f901f3c212195beb31f519e4b03358b5e454caee5cc94a2b9952c962fa7e5b0ff2ed06009a661924fd23e - languageName: node - linkType: hard - -"jest-snapshot@npm:30.2.0": - version: 30.2.0 - resolution: "jest-snapshot@npm:30.2.0" - dependencies: - "@babel/core": "npm:^7.27.4" - "@babel/generator": "npm:^7.27.5" - "@babel/plugin-syntax-jsx": "npm:^7.27.1" - "@babel/plugin-syntax-typescript": "npm:^7.27.1" - "@babel/types": "npm:^7.27.3" - "@jest/expect-utils": "npm:30.2.0" - "@jest/get-type": "npm:30.1.0" - "@jest/snapshot-utils": "npm:30.2.0" - "@jest/transform": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - babel-preset-current-node-syntax: "npm:^1.2.0" - chalk: "npm:^4.1.2" - expect: "npm:30.2.0" - graceful-fs: "npm:^4.2.11" - jest-diff: "npm:30.2.0" - jest-matcher-utils: "npm:30.2.0" - jest-message-util: "npm:30.2.0" - jest-util: "npm:30.2.0" - pretty-format: "npm:30.2.0" - semver: "npm:^7.7.2" - synckit: "npm:^0.11.8" - checksum: 10c0/961b13a3c9dcf8c533fe2ab8375bcdf441bd8680a7a7878245d8d8a4697432d806f7817cfaa061904e0c6cc939a38f1fe9f5af868b86328e77833a58822b3b63 - languageName: node - linkType: hard - -"jest-util@npm:30.0.5": - version: 30.0.5 - resolution: "jest-util@npm:30.0.5" - dependencies: - "@jest/types": "npm:30.0.5" - "@types/node": "npm:*" - chalk: "npm:^4.1.2" - ci-info: "npm:^4.2.0" - graceful-fs: "npm:^4.2.11" - picomatch: "npm:^4.0.2" - checksum: 10c0/d3808b5f7720044d0464664c795e2b795ed82edf3b5871db74b8b603c3a0a38107668730348d26f92920ca3b8245a99cbbc2c93e77d0abb1f5e27524079a4ba8 - languageName: node - linkType: hard - -"jest-util@npm:30.2.0": - version: 30.2.0 - resolution: "jest-util@npm:30.2.0" - dependencies: - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - chalk: "npm:^4.1.2" - ci-info: "npm:^4.2.0" - graceful-fs: "npm:^4.2.11" - picomatch: "npm:^4.0.2" - checksum: 10c0/896d663554b35258a87ec1a0a0fdd8741fdf4f3239d09fc52fdd88fa5c411a5ece7903bbbbd7d5194743fcb69f62afc3287e90f57736a91e7df95ad421937936 - languageName: node - linkType: hard - -"jest-validate@npm:30.2.0": - version: 30.2.0 - resolution: "jest-validate@npm:30.2.0" - dependencies: - "@jest/get-type": "npm:30.1.0" - "@jest/types": "npm:30.2.0" - camelcase: "npm:^6.3.0" - chalk: "npm:^4.1.2" - leven: "npm:^3.1.0" - pretty-format: "npm:30.2.0" - checksum: 10c0/56566643d79ca07f021fa14cebb62c423ae405757cb8d742113ff0070f0761b80c77f665fac8d89622faaab71fc5452e1471939028187a88c8445303d7976255 - languageName: node - linkType: hard - -"jest-watcher@npm:30.2.0": - version: 30.2.0 - resolution: "jest-watcher@npm:30.2.0" - dependencies: - "@jest/test-result": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - "@types/node": "npm:*" - ansi-escapes: "npm:^4.3.2" - chalk: "npm:^4.1.2" - emittery: "npm:^0.13.1" - jest-util: "npm:30.2.0" - string-length: "npm:^4.0.2" - checksum: 10c0/51587968fabb5b180383d638a04db253b82d9cc3f53fbba06ba7b0544146178d50becc090aca7931e2d4eb9aa1624bb3fbd1a2571484c9391554404e8b5d8fe7 - languageName: node - linkType: hard - -"jest-worker@npm:30.2.0": - version: 30.2.0 - resolution: "jest-worker@npm:30.2.0" - dependencies: - "@types/node": "npm:*" - "@ungap/structured-clone": "npm:^1.3.0" - jest-util: "npm:30.2.0" - merge-stream: "npm:^2.0.0" - supports-color: "npm:^8.1.1" - checksum: 10c0/1ea47f6c682ba6cdbd50630544236aabccacf1d88335607206c10871a9777a45b0fc6336c8eb6344e32e69dd7681de17b2199b4d4552b00d48aade303627125c - languageName: node - linkType: hard - -"jest@npm:^30.2.0": - version: 30.2.0 - resolution: "jest@npm:30.2.0" - dependencies: - "@jest/core": "npm:30.2.0" - "@jest/types": "npm:30.2.0" - import-local: "npm:^3.2.0" - jest-cli: "npm:30.2.0" - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - bin: - jest: ./bin/jest.js - checksum: 10c0/af580c6e265d21870c2c98e31f17f2f5cb5c9e6cf9be26b95eaf4fad4140a01579f3b5844d4264cd8357eb24908e95f983ea84d20b8afef46e62aed3dd9452eb - languageName: node - linkType: hard - -"jju@npm:~1.4.0": - version: 1.4.0 - resolution: "jju@npm:1.4.0" - checksum: 10c0/f3f444557e4364cfc06b1abf8331bf3778b26c0c8552ca54429bc0092652172fdea26cbffe33e1017b303d5aa506f7ede8571857400efe459cb7439180e2acad - languageName: node - linkType: hard - -"js-tokens@npm:^4.0.0": - version: 4.0.0 - resolution: "js-tokens@npm:4.0.0" - checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed - languageName: node - linkType: hard - -"js-yaml@npm:^3.13.1": - version: 3.14.1 - resolution: "js-yaml@npm:3.14.1" - dependencies: - argparse: "npm:^1.0.7" - esprima: "npm:^4.0.0" - bin: - js-yaml: bin/js-yaml.js - checksum: 10c0/6746baaaeac312c4db8e75fa22331d9a04cccb7792d126ed8ce6a0bbcfef0cedaddd0c5098fade53db067c09fe00aa1c957674b4765610a8b06a5a189e46433b - languageName: node - linkType: hard - -"js-yaml@npm:^4.1.0": - version: 4.1.0 - resolution: "js-yaml@npm:4.1.0" - dependencies: - argparse: "npm:^2.0.1" - bin: - js-yaml: bin/js-yaml.js - checksum: 10c0/184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f - languageName: node - linkType: hard - -"jsbn@npm:1.1.0": - version: 1.1.0 - resolution: "jsbn@npm:1.1.0" - checksum: 10c0/4f907fb78d7b712e11dea8c165fe0921f81a657d3443dde75359ed52eb2b5d33ce6773d97985a089f09a65edd80b11cb75c767b57ba47391fee4c969f7215c96 - languageName: node - linkType: hard - -"jsesc@npm:^3.0.2": - version: 3.1.0 - resolution: "jsesc@npm:3.1.0" - bin: - jsesc: bin/jsesc - checksum: 10c0/531779df5ec94f47e462da26b4cbf05eb88a83d9f08aac2ba04206508fc598527a153d08bd462bae82fc78b3eaa1a908e1a4a79f886e9238641c4cdefaf118b1 - languageName: node - linkType: hard - -"json-buffer@npm:3.0.1": - version: 3.0.1 - resolution: "json-buffer@npm:3.0.1" - checksum: 10c0/0d1c91569d9588e7eef2b49b59851f297f3ab93c7b35c7c221e288099322be6b562767d11e4821da500f3219542b9afd2e54c5dc573107c1126ed1080f8e96d7 - languageName: node - linkType: hard - -"json-parse-even-better-errors@npm:^2.3.0": - version: 2.3.1 - resolution: "json-parse-even-better-errors@npm:2.3.1" - checksum: 10c0/140932564c8f0b88455432e0f33c4cb4086b8868e37524e07e723f4eaedb9425bdc2bafd71bd1d9765bd15fd1e2d126972bc83990f55c467168c228c24d665f3 - languageName: node - linkType: hard - -"json-schema-traverse@npm:^0.4.1": - version: 0.4.1 - resolution: "json-schema-traverse@npm:0.4.1" - checksum: 10c0/108fa90d4cc6f08243aedc6da16c408daf81793bf903e9fd5ab21983cda433d5d2da49e40711da016289465ec2e62e0324dcdfbc06275a607fe3233fde4942ce - languageName: node - linkType: hard - -"json-schema-traverse@npm:^1.0.0": - version: 1.0.0 - resolution: "json-schema-traverse@npm:1.0.0" - checksum: 10c0/71e30015d7f3d6dc1c316d6298047c8ef98a06d31ad064919976583eb61e1018a60a0067338f0f79cabc00d84af3fcc489bd48ce8a46ea165d9541ba17fb30c6 - languageName: node - linkType: hard - -"json-stable-stringify-without-jsonify@npm:^1.0.1": - version: 1.0.1 - resolution: "json-stable-stringify-without-jsonify@npm:1.0.1" - checksum: 10c0/cb168b61fd4de83e58d09aaa6425ef71001bae30d260e2c57e7d09a5fd82223e2f22a042dedaab8db23b7d9ae46854b08bb1f91675a8be11c5cffebef5fb66a5 - languageName: node - linkType: hard - -"json5@npm:^2.2.3": - version: 2.2.3 - resolution: "json5@npm:2.2.3" - bin: - json5: lib/cli.js - checksum: 10c0/5a04eed94810fa55c5ea138b2f7a5c12b97c3750bc63d11e511dcecbfef758003861522a070c2272764ee0f4e3e323862f386945aeb5b85b87ee43f084ba586c - languageName: node - linkType: hard - -"jsonfile@npm:^6.0.1": - version: 6.1.0 - resolution: "jsonfile@npm:6.1.0" - dependencies: - graceful-fs: "npm:^4.1.6" - universalify: "npm:^2.0.0" - dependenciesMeta: - graceful-fs: - optional: true - checksum: 10c0/4f95b5e8a5622b1e9e8f33c96b7ef3158122f595998114d1e7f03985649ea99cb3cd99ce1ed1831ae94c8c8543ab45ebd044207612f31a56fd08462140e46865 - languageName: node - linkType: hard - -"jsonschema@npm:^1.5.0": - version: 1.5.0 - resolution: "jsonschema@npm:1.5.0" - checksum: 10c0/c24ddb8d741f02efc0da3ad9b597a275f6b595062903d3edbfaa535c3f9c4c98613df68da5cb6635ed9aeab30d658986fea61d7662fc5b2b92840d5a1e21235e - languageName: node - linkType: hard - -"jsonschema@npm:~1.4.1": - version: 1.4.1 - resolution: "jsonschema@npm:1.4.1" - checksum: 10c0/c3422d3fc7d33ff7234a806ffa909bb6fb5d1cd664bea229c64a1785dc04cbccd5fc76cf547c6ab6dd7881dbcaf3540a6a9f925a5956c61a9cd3e23a3c1796ef - languageName: node - linkType: hard - -"keyv@npm:^4.5.4": - version: 4.5.4 - resolution: "keyv@npm:4.5.4" - dependencies: - json-buffer: "npm:3.0.1" - checksum: 10c0/aa52f3c5e18e16bb6324876bb8b59dd02acf782a4b789c7b2ae21107fab95fab3890ed448d4f8dba80ce05391eeac4bfabb4f02a20221342982f806fa2cf271e - languageName: node - linkType: hard - -"leven@npm:^3.1.0": - version: 3.1.0 - resolution: "leven@npm:3.1.0" - checksum: 10c0/cd778ba3fbab0f4d0500b7e87d1f6e1f041507c56fdcd47e8256a3012c98aaee371d4c15e0a76e0386107af2d42e2b7466160a2d80688aaa03e66e49949f42df - languageName: node - linkType: hard - -"levn@npm:^0.4.1": - version: 0.4.1 - resolution: "levn@npm:0.4.1" - dependencies: - prelude-ls: "npm:^1.2.1" - type-check: "npm:~0.4.0" - checksum: 10c0/effb03cad7c89dfa5bd4f6989364bfc79994c2042ec5966cb9b95990e2edee5cd8969ddf42616a0373ac49fac1403437deaf6e9050fbbaa3546093a59b9ac94e - languageName: node - linkType: hard - -"lines-and-columns@npm:^1.1.6": - version: 1.2.4 - resolution: "lines-and-columns@npm:1.2.4" - checksum: 10c0/3da6ee62d4cd9f03f5dc90b4df2540fb85b352081bee77fe4bbcd12c9000ead7f35e0a38b8d09a9bb99b13223446dd8689ff3c4959807620726d788701a83d2d - languageName: node - linkType: hard - -"linkify-it@npm:^5.0.0": - version: 5.0.0 - resolution: "linkify-it@npm:5.0.0" - dependencies: - uc.micro: "npm:^2.0.0" - checksum: 10c0/ff4abbcdfa2003472fc3eb4b8e60905ec97718e11e33cca52059919a4c80cc0e0c2a14d23e23d8c00e5402bc5a885cdba8ca053a11483ab3cc8b3c7a52f88e2d - languageName: node - linkType: hard - -"locate-path@npm:^5.0.0": - version: 5.0.0 - resolution: "locate-path@npm:5.0.0" - dependencies: - p-locate: "npm:^4.1.0" - checksum: 10c0/33a1c5247e87e022f9713e6213a744557a3e9ec32c5d0b5efb10aa3a38177615bf90221a5592674857039c1a0fd2063b82f285702d37b792d973e9e72ace6c59 - languageName: node - linkType: hard - -"locate-path@npm:^6.0.0": - version: 6.0.0 - resolution: "locate-path@npm:6.0.0" - dependencies: - p-locate: "npm:^5.0.0" - checksum: 10c0/d3972ab70dfe58ce620e64265f90162d247e87159b6126b01314dd67be43d50e96a50b517bce2d9452a79409c7614054c277b5232377de50416564a77ac7aad3 - languageName: node - linkType: hard - -"lodash.memoize@npm:^4.1.2": - version: 4.1.2 - resolution: "lodash.memoize@npm:4.1.2" - checksum: 10c0/c8713e51eccc650422716a14cece1809cfe34bc5ab5e242b7f8b4e2241c2483697b971a604252807689b9dd69bfe3a98852e19a5b89d506b000b4187a1285df8 - languageName: node - linkType: hard - -"lodash.merge@npm:^4.6.2": - version: 4.6.2 - resolution: "lodash.merge@npm:4.6.2" - checksum: 10c0/402fa16a1edd7538de5b5903a90228aa48eb5533986ba7fa26606a49db2572bf414ff73a2c9f5d5fd36b31c46a5d5c7e1527749c07cbcf965ccff5fbdf32c506 - languageName: node - linkType: hard - -"lodash.truncate@npm:^4.4.2": - version: 4.4.2 - resolution: "lodash.truncate@npm:4.4.2" - checksum: 10c0/4e870d54e8a6c86c8687e057cec4069d2e941446ccab7f40b4d9555fa5872d917d0b6aa73bece7765500a3123f1723bcdba9ae881b679ef120bba9e1a0b0ed70 - languageName: node - linkType: hard - -"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0": - version: 10.4.3 - resolution: "lru-cache@npm:10.4.3" - checksum: 10c0/ebd04fbca961e6c1d6c0af3799adcc966a1babe798f685bb84e6599266599cd95d94630b10262f5424539bc4640107e8a33aa28585374abf561d30d16f4b39fb - languageName: node - linkType: hard - -"lru-cache@npm:^5.1.1": - version: 5.1.1 - resolution: "lru-cache@npm:5.1.1" - dependencies: - yallist: "npm:^3.0.2" - checksum: 10c0/89b2ef2ef45f543011e38737b8a8622a2f8998cddf0e5437174ef8f1f70a8b9d14a918ab3e232cb3ba343b7abddffa667f0b59075b2b80e6b4d63c3de6127482 - languageName: node - linkType: hard - -"lunr@npm:^2.3.9": - version: 2.3.9 - resolution: "lunr@npm:2.3.9" - checksum: 10c0/77d7dbb4fbd602aac161e2b50887d8eda28c0fa3b799159cee380fbb311f1e614219126ecbbd2c3a9c685f1720a8109b3c1ca85cc893c39b6c9cc6a62a1d8a8b - languageName: node - linkType: hard - -"make-dir@npm:^4.0.0": - version: 4.0.0 - resolution: "make-dir@npm:4.0.0" - dependencies: - semver: "npm:^7.5.3" - checksum: 10c0/69b98a6c0b8e5c4fe9acb61608a9fbcfca1756d910f51e5dbe7a9e5cfb74fca9b8a0c8a0ffdf1294a740826c1ab4871d5bf3f62f72a3049e5eac6541ddffed68 - languageName: node - linkType: hard - -"make-error@npm:^1.1.1, make-error@npm:^1.3.6": - version: 1.3.6 - resolution: "make-error@npm:1.3.6" - checksum: 10c0/171e458d86854c6b3fc46610cfacf0b45149ba043782558c6875d9f42f222124384ad0b468c92e996d815a8a2003817a710c0a160e49c1c394626f76fa45396f - languageName: node - linkType: hard - -"make-fetch-happen@npm:^14.0.3": - version: 14.0.3 - resolution: "make-fetch-happen@npm:14.0.3" - dependencies: - "@npmcli/agent": "npm:^3.0.0" - cacache: "npm:^19.0.1" - http-cache-semantics: "npm:^4.1.1" - minipass: "npm:^7.0.2" - minipass-fetch: "npm:^4.0.0" - minipass-flush: "npm:^1.0.5" - minipass-pipeline: "npm:^1.2.4" - negotiator: "npm:^1.0.0" - proc-log: "npm:^5.0.0" - promise-retry: "npm:^2.0.1" - ssri: "npm:^12.0.0" - checksum: 10c0/c40efb5e5296e7feb8e37155bde8eb70bc57d731b1f7d90e35a092fde403d7697c56fb49334d92d330d6f1ca29a98142036d6480a12681133a0a1453164cb2f0 - languageName: node - linkType: hard - -"makeerror@npm:1.0.12": - version: 1.0.12 - resolution: "makeerror@npm:1.0.12" - dependencies: - tmpl: "npm:1.0.5" - checksum: 10c0/b0e6e599780ce6bab49cc413eba822f7d1f0dfebd1c103eaa3785c59e43e22c59018323cf9e1708f0ef5329e94a745d163fcbb6bff8e4c6742f9be9e86f3500c - languageName: node - linkType: hard - -"markdown-it@npm:^14.1.0": - version: 14.1.0 - resolution: "markdown-it@npm:14.1.0" - dependencies: - argparse: "npm:^2.0.1" - entities: "npm:^4.4.0" - linkify-it: "npm:^5.0.0" - mdurl: "npm:^2.0.0" - punycode.js: "npm:^2.3.1" - uc.micro: "npm:^2.1.0" - bin: - markdown-it: bin/markdown-it.mjs - checksum: 10c0/9a6bb444181d2db7016a4173ae56a95a62c84d4cbfb6916a399b11d3e6581bf1cc2e4e1d07a2f022ae72c25f56db90fbe1e529fca16fbf9541659dc53480d4b4 - languageName: node - linkType: hard - -"mdurl@npm:^2.0.0": - version: 2.0.0 - resolution: "mdurl@npm:2.0.0" - checksum: 10c0/633db522272f75ce4788440669137c77540d74a83e9015666a9557a152c02e245b192edc20bc90ae953bbab727503994a53b236b4d9c99bdaee594d0e7dd2ce0 - languageName: node - linkType: hard - -"merge-stream@npm:^2.0.0": - version: 2.0.0 - resolution: "merge-stream@npm:2.0.0" - checksum: 10c0/867fdbb30a6d58b011449b8885601ec1690c3e41c759ecd5a9d609094f7aed0096c37823ff4a7190ef0b8f22cc86beb7049196ff68c016e3b3c671d0dac91ce5 - languageName: node - linkType: hard - -"merge2@npm:^1.3.0": - version: 1.4.1 - resolution: "merge2@npm:1.4.1" - checksum: 10c0/254a8a4605b58f450308fc474c82ac9a094848081bf4c06778200207820e5193726dc563a0d2c16468810516a5c97d9d3ea0ca6585d23c58ccfff2403e8dbbeb - languageName: node - linkType: hard - -"micromatch@npm:^4.0.8": - version: 4.0.8 - resolution: "micromatch@npm:4.0.8" - dependencies: - braces: "npm:^3.0.3" - picomatch: "npm:^2.3.1" - checksum: 10c0/166fa6eb926b9553f32ef81f5f531d27b4ce7da60e5baf8c021d043b27a388fb95e46a8038d5045877881e673f8134122b59624d5cecbd16eb50a42e7a6b5ca8 - languageName: node - linkType: hard - -"mime-db@npm:1.52.0": - version: 1.52.0 - resolution: "mime-db@npm:1.52.0" - checksum: 10c0/0557a01deebf45ac5f5777fe7740b2a5c309c6d62d40ceab4e23da9f821899ce7a900b7ac8157d4548ddbb7beffe9abc621250e6d182b0397ec7f10c7b91a5aa - languageName: node - linkType: hard - -"mime-types@npm:^2.1.35": - version: 2.1.35 - resolution: "mime-types@npm:2.1.35" - dependencies: - mime-db: "npm:1.52.0" - checksum: 10c0/82fb07ec56d8ff1fc999a84f2f217aa46cb6ed1033fefaabd5785b9a974ed225c90dc72fff460259e66b95b73648596dbcc50d51ed69cdf464af2d237d3149b2 - languageName: node - linkType: hard - -"mimic-fn@npm:^2.1.0": - version: 2.1.0 - resolution: "mimic-fn@npm:2.1.0" - checksum: 10c0/b26f5479d7ec6cc2bce275a08f146cf78f5e7b661b18114e2506dd91ec7ec47e7a25bf4360e5438094db0560bcc868079fb3b1fb3892b833c1ecbf63f80c95a4 - languageName: node - linkType: hard - -"minimatch@npm:^3.0.4, minimatch@npm:^3.1.2": - version: 3.1.2 - resolution: "minimatch@npm:3.1.2" - dependencies: - brace-expansion: "npm:^1.1.7" - checksum: 10c0/0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 - languageName: node - linkType: hard - -"minimatch@npm:^8.0.2": - version: 8.0.4 - resolution: "minimatch@npm:8.0.4" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 10c0/a0a394c356dd5b4cb7f821720841a82fa6f07c9c562c5b716909d1b6ec5e56a7e4c4b5029da26dd256b7d2b3a3f38cbf9ddd8680e887b9b5282b09c05501c1ca - languageName: node - linkType: hard - -"minimatch@npm:^9.0.4, minimatch@npm:^9.0.5": - version: 9.0.5 - resolution: "minimatch@npm:9.0.5" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 10c0/de96cf5e35bdf0eab3e2c853522f98ffbe9a36c37797778d2665231ec1f20a9447a7e567cb640901f89e4daaa95ae5d70c65a9e8aa2bb0019b6facbc3c0575ed - languageName: node - linkType: hard - -"minimist@npm:^1.2.5": - version: 1.2.8 - resolution: "minimist@npm:1.2.8" - checksum: 10c0/19d3fcdca050087b84c2029841a093691a91259a47def2f18222f41e7645a0b7c44ef4b40e88a1e58a40c84d2ef0ee6047c55594d298146d0eb3f6b737c20ce6 - languageName: node - linkType: hard - -"minipass-collect@npm:^2.0.1": - version: 2.0.1 - resolution: "minipass-collect@npm:2.0.1" - dependencies: - minipass: "npm:^7.0.3" - checksum: 10c0/5167e73f62bb74cc5019594709c77e6a742051a647fe9499abf03c71dca75515b7959d67a764bdc4f8b361cf897fbf25e2d9869ee039203ed45240f48b9aa06e - languageName: node - linkType: hard - -"minipass-fetch@npm:^4.0.0": - version: 4.0.1 - resolution: "minipass-fetch@npm:4.0.1" - dependencies: - encoding: "npm:^0.1.13" - minipass: "npm:^7.0.3" - minipass-sized: "npm:^1.0.3" - minizlib: "npm:^3.0.1" - dependenciesMeta: - encoding: - optional: true - checksum: 10c0/a3147b2efe8e078c9bf9d024a0059339c5a09c5b1dded6900a219c218cc8b1b78510b62dae556b507304af226b18c3f1aeb1d48660283602d5b6586c399eed5c - languageName: node - linkType: hard - -"minipass-flush@npm:^1.0.5": - version: 1.0.5 - resolution: "minipass-flush@npm:1.0.5" - dependencies: - minipass: "npm:^3.0.0" - checksum: 10c0/2a51b63feb799d2bb34669205eee7c0eaf9dce01883261a5b77410c9408aa447e478efd191b4de6fc1101e796ff5892f8443ef20d9544385819093dbb32d36bd - languageName: node - linkType: hard - -"minipass-pipeline@npm:^1.2.4": - version: 1.2.4 - resolution: "minipass-pipeline@npm:1.2.4" - dependencies: - minipass: "npm:^3.0.0" - checksum: 10c0/cbda57cea20b140b797505dc2cac71581a70b3247b84480c1fed5ca5ba46c25ecc25f68bfc9e6dcb1a6e9017dab5c7ada5eab73ad4f0a49d84e35093e0c643f2 - languageName: node - linkType: hard - -"minipass-sized@npm:^1.0.3": - version: 1.0.3 - resolution: "minipass-sized@npm:1.0.3" - dependencies: - minipass: "npm:^3.0.0" - checksum: 10c0/298f124753efdc745cfe0f2bdfdd81ba25b9f4e753ca4a2066eb17c821f25d48acea607dfc997633ee5bf7b6dfffb4eee4f2051eb168663f0b99fad2fa4829cb - languageName: node - linkType: hard - -"minipass@npm:^3.0.0": - version: 3.3.6 - resolution: "minipass@npm:3.3.6" - dependencies: - yallist: "npm:^4.0.0" - checksum: 10c0/a114746943afa1dbbca8249e706d1d38b85ed1298b530f5808ce51f8e9e941962e2a5ad2e00eae7dd21d8a4aae6586a66d4216d1a259385e9d0358f0c1eba16c - languageName: node - linkType: hard - -"minipass@npm:^4.2.4": - version: 4.2.8 - resolution: "minipass@npm:4.2.8" - checksum: 10c0/4ea76b030d97079f4429d6e8a8affd90baf1b6a1898977c8ccce4701c5a2ba2792e033abc6709373f25c2c4d4d95440d9d5e9464b46b7b76ca44d2ce26d939ce - languageName: node - linkType: hard - -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4, minipass@npm:^7.1.2": - version: 7.1.2 - resolution: "minipass@npm:7.1.2" - checksum: 10c0/b0fd20bb9fb56e5fa9a8bfac539e8915ae07430a619e4b86ff71f5fc757ef3924b23b2c4230393af1eda647ed3d75739e4e0acb250a6b1eb277cf7f8fe449557 - languageName: node - linkType: hard - -"minizlib@npm:^3.0.1": - version: 3.0.1 - resolution: "minizlib@npm:3.0.1" - dependencies: - minipass: "npm:^7.0.4" - rimraf: "npm:^5.0.5" - checksum: 10c0/82f8bf70da8af656909a8ee299d7ed3b3372636749d29e105f97f20e88971be31f5ed7642f2e898f00283b68b701cc01307401cdc209b0efc5dd3818220e5093 - languageName: node - linkType: hard - -"mkdirp@npm:^3.0.1": - version: 3.0.1 - resolution: "mkdirp@npm:3.0.1" - bin: - mkdirp: dist/cjs/src/bin.js - checksum: 10c0/9f2b975e9246351f5e3a40dcfac99fcd0baa31fbfab615fe059fb11e51f10e4803c63de1f384c54d656e4db31d000e4767e9ef076a22e12a641357602e31d57d - languageName: node - linkType: hard - -"ms@npm:^2.1.3": - version: 2.1.3 - resolution: "ms@npm:2.1.3" - checksum: 10c0/d924b57e7312b3b63ad21fc5b3dc0af5e78d61a1fc7cfb5457edaf26326bf62be5307cc87ffb6862ef1c2b33b0233cdb5d4f01c4c958cc0d660948b65a287a48 - languageName: node - linkType: hard - -"napi-postinstall@npm:^0.3.0": - version: 0.3.3 - resolution: "napi-postinstall@npm:0.3.3" - bin: - napi-postinstall: lib/cli.js - checksum: 10c0/3f3297c002abd1f1c64730c442e9047e4b50335666bd2821e990e0546ab917f9cd000d3837930a81dbe89075495e884ed526918a85667abeef0654f659217cea - languageName: node - linkType: hard - -"natural-compare@npm:^1.4.0": - version: 1.4.0 - resolution: "natural-compare@npm:1.4.0" - checksum: 10c0/f5f9a7974bfb28a91afafa254b197f0f22c684d4a1731763dda960d2c8e375b36c7d690e0d9dc8fba774c537af14a7e979129bca23d88d052fbeb9466955e447 - languageName: node - linkType: hard - -"negotiator@npm:^1.0.0": - version: 1.0.0 - resolution: "negotiator@npm:1.0.0" - checksum: 10c0/4c559dd52669ea48e1914f9d634227c561221dd54734070791f999c52ed0ff36e437b2e07d5c1f6e32909fc625fe46491c16e4a8f0572567d4dd15c3a4fda04b - languageName: node - linkType: hard - -"neo-async@npm:^2.6.2": - version: 2.6.2 - resolution: "neo-async@npm:2.6.2" - checksum: 10c0/c2f5a604a54a8ec5438a342e1f356dff4bc33ccccdb6dc668d94fe8e5eccfc9d2c2eea6064b0967a767ba63b33763f51ccf2cd2441b461a7322656c1f06b3f5d - languageName: node - linkType: hard - -"node-gyp@npm:latest": - version: 11.1.0 - resolution: "node-gyp@npm:11.1.0" - dependencies: - env-paths: "npm:^2.2.0" - exponential-backoff: "npm:^3.1.1" - glob: "npm:^10.3.10" - graceful-fs: "npm:^4.2.6" - make-fetch-happen: "npm:^14.0.3" - nopt: "npm:^8.0.0" - proc-log: "npm:^5.0.0" - semver: "npm:^7.3.5" - tar: "npm:^7.4.3" - which: "npm:^5.0.0" - bin: - node-gyp: bin/node-gyp.js - checksum: 10c0/c38977ce502f1ea41ba2b8721bd5b49bc3d5b3f813eabfac8414082faf0620ccb5211e15c4daecc23ed9f5e3e9cc4da00e575a0bcfc2a95a069294f2afa1e0cd - languageName: node - linkType: hard - -"node-int64@npm:^0.4.0": - version: 0.4.0 - resolution: "node-int64@npm:0.4.0" - checksum: 10c0/a6a4d8369e2f2720e9c645255ffde909c0fbd41c92ea92a5607fc17055955daac99c1ff589d421eee12a0d24e99f7bfc2aabfeb1a4c14742f6c099a51863f31a - languageName: node - linkType: hard - -"node-releases@npm:^2.0.19": - version: 2.0.19 - resolution: "node-releases@npm:2.0.19" - checksum: 10c0/52a0dbd25ccf545892670d1551690fe0facb6a471e15f2cfa1b20142a5b255b3aa254af5f59d6ecb69c2bec7390bc643c43aa63b13bf5e64b6075952e716b1aa - languageName: node - linkType: hard - -"nopt@npm:^8.0.0": - version: 8.1.0 - resolution: "nopt@npm:8.1.0" - dependencies: - abbrev: "npm:^3.0.0" - bin: - nopt: bin/nopt.js - checksum: 10c0/62e9ea70c7a3eb91d162d2c706b6606c041e4e7b547cbbb48f8b3695af457dd6479904d7ace600856bf923dd8d1ed0696f06195c8c20f02ac87c1da0e1d315ef - languageName: node - linkType: hard - -"normalize-path@npm:^3.0.0": - version: 3.0.0 - resolution: "normalize-path@npm:3.0.0" - checksum: 10c0/e008c8142bcc335b5e38cf0d63cfd39d6cf2d97480af9abdbe9a439221fd4d749763bab492a8ee708ce7a194bb00c9da6d0a115018672310850489137b3da046 - languageName: node - linkType: hard - -"npm-run-path@npm:^4.0.1": - version: 4.0.1 - resolution: "npm-run-path@npm:4.0.1" - dependencies: - path-key: "npm:^3.0.0" - checksum: 10c0/6f9353a95288f8455cf64cbeb707b28826a7f29690244c1e4bb61ec573256e021b6ad6651b394eb1ccfd00d6ec50147253aba2c5fe58a57ceb111fad62c519ac - languageName: node - linkType: hard - -"onetime@npm:^5.1.2": - version: 5.1.2 - resolution: "onetime@npm:5.1.2" - dependencies: - mimic-fn: "npm:^2.1.0" - checksum: 10c0/ffcef6fbb2692c3c40749f31ea2e22677a876daea92959b8a80b521d95cca7a668c884d8b2045d1d8ee7d56796aa405c405462af112a1477594cc63531baeb8f - languageName: node - linkType: hard - -"optionator@npm:^0.9.3": - version: 0.9.4 - resolution: "optionator@npm:0.9.4" - dependencies: - deep-is: "npm:^0.1.3" - fast-levenshtein: "npm:^2.0.6" - levn: "npm:^0.4.1" - prelude-ls: "npm:^1.2.1" - type-check: "npm:^0.4.0" - word-wrap: "npm:^1.2.5" - checksum: 10c0/4afb687a059ee65b61df74dfe87d8d6815cd6883cb8b3d5883a910df72d0f5d029821f37025e4bccf4048873dbdb09acc6d303d27b8f76b1a80dd5a7d5334675 - languageName: node - linkType: hard - -"p-limit@npm:^2.2.0": - version: 2.3.0 - resolution: "p-limit@npm:2.3.0" - dependencies: - p-try: "npm:^2.0.0" - checksum: 10c0/8da01ac53efe6a627080fafc127c873da40c18d87b3f5d5492d465bb85ec7207e153948df6b9cbaeb130be70152f874229b8242ee2be84c0794082510af97f12 - languageName: node - linkType: hard - -"p-limit@npm:^3.0.2, p-limit@npm:^3.1.0": - version: 3.1.0 - resolution: "p-limit@npm:3.1.0" - dependencies: - yocto-queue: "npm:^0.1.0" - checksum: 10c0/9db675949dbdc9c3763c89e748d0ef8bdad0afbb24d49ceaf4c46c02c77d30db4e0652ed36d0a0a7a95154335fab810d95c86153105bb73b3a90448e2bb14e1a - languageName: node - linkType: hard - -"p-locate@npm:^4.1.0": - version: 4.1.0 - resolution: "p-locate@npm:4.1.0" - dependencies: - p-limit: "npm:^2.2.0" - checksum: 10c0/1b476ad69ad7f6059744f343b26d51ce091508935c1dbb80c4e0a2f397ffce0ca3a1f9f5cd3c7ce19d7929a09719d5c65fe70d8ee289c3f267cd36f2881813e9 - languageName: node - linkType: hard - -"p-locate@npm:^5.0.0": - version: 5.0.0 - resolution: "p-locate@npm:5.0.0" - dependencies: - p-limit: "npm:^3.0.2" - checksum: 10c0/2290d627ab7903b8b70d11d384fee714b797f6040d9278932754a6860845c4d3190603a0772a663c8cb5a7b21d1b16acb3a6487ebcafa9773094edc3dfe6009a - languageName: node - linkType: hard - -"p-map@npm:^7.0.2": - version: 7.0.3 - resolution: "p-map@npm:7.0.3" - checksum: 10c0/46091610da2b38ce47bcd1d8b4835a6fa4e832848a6682cf1652bc93915770f4617afc844c10a77d1b3e56d2472bb2d5622353fa3ead01a7f42b04fc8e744a5c - languageName: node - linkType: hard - -"p-try@npm:^2.0.0": - version: 2.2.0 - resolution: "p-try@npm:2.2.0" - checksum: 10c0/c36c19907734c904b16994e6535b02c36c2224d433e01a2f1ab777237f4d86e6289fd5fd464850491e940379d4606ed850c03e0f9ab600b0ebddb511312e177f - languageName: node - linkType: hard - -"parent-module@npm:^1.0.0": - version: 1.0.1 - resolution: "parent-module@npm:1.0.1" - dependencies: - callsites: "npm:^3.0.0" - checksum: 10c0/c63d6e80000d4babd11978e0d3fee386ca7752a02b035fd2435960ffaa7219dc42146f07069fb65e6e8bf1caef89daf9af7535a39bddf354d78bf50d8294f556 - languageName: node - linkType: hard - -"parse-json@npm:^5.2.0": - version: 5.2.0 - resolution: "parse-json@npm:5.2.0" - dependencies: - "@babel/code-frame": "npm:^7.0.0" - error-ex: "npm:^1.3.1" - json-parse-even-better-errors: "npm:^2.3.0" - lines-and-columns: "npm:^1.1.6" - checksum: 10c0/77947f2253005be7a12d858aedbafa09c9ae39eb4863adf330f7b416ca4f4a08132e453e08de2db46459256fb66afaac5ee758b44fe6541b7cdaf9d252e59585 - languageName: node - linkType: hard - -"path-exists@npm:^4.0.0": - version: 4.0.0 - resolution: "path-exists@npm:4.0.0" - checksum: 10c0/8c0bd3f5238188197dc78dced15207a4716c51cc4e3624c44fc97acf69558f5ebb9a2afff486fe1b4ee148e0c133e96c5e11a9aa5c48a3006e3467da070e5e1b - languageName: node - linkType: hard - -"path-key@npm:^3.0.0, path-key@npm:^3.1.0": - version: 3.1.1 - resolution: "path-key@npm:3.1.1" - checksum: 10c0/748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c - languageName: node - linkType: hard - -"path-parse@npm:^1.0.7": - version: 1.0.7 - resolution: "path-parse@npm:1.0.7" - checksum: 10c0/11ce261f9d294cc7a58d6a574b7f1b935842355ec66fba3c3fd79e0f036462eaf07d0aa95bb74ff432f9afef97ce1926c720988c6a7451d8a584930ae7de86e1 - languageName: node - linkType: hard - -"path-scurry@npm:^1.6.1": - version: 1.11.1 - resolution: "path-scurry@npm:1.11.1" - dependencies: - lru-cache: "npm:^10.2.0" - minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" - checksum: 10c0/32a13711a2a505616ae1cc1b5076801e453e7aae6ac40ab55b388bb91b9d0547a52f5aaceff710ea400205f18691120d4431e520afbe4266b836fadede15872d - languageName: node - linkType: hard - -"picocolors@npm:^1.0.0, picocolors@npm:^1.1.1": - version: 1.1.1 - resolution: "picocolors@npm:1.1.1" - checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 - languageName: node - linkType: hard - -"picomatch@npm:^2.0.4, picomatch@npm:^2.3.1": - version: 2.3.1 - resolution: "picomatch@npm:2.3.1" - checksum: 10c0/26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be - languageName: node - linkType: hard - -"picomatch@npm:^4.0.2": - version: 4.0.3 - resolution: "picomatch@npm:4.0.3" - checksum: 10c0/9582c951e95eebee5434f59e426cddd228a7b97a0161a375aed4be244bd3fe8e3a31b846808ea14ef2c8a2527a6eeab7b3946a67d5979e81694654f939473ae2 - languageName: node - linkType: hard - -"pirates@npm:^4.0.7": - version: 4.0.7 - resolution: "pirates@npm:4.0.7" - checksum: 10c0/a51f108dd811beb779d58a76864bbd49e239fa40c7984cd11596c75a121a8cc789f1c8971d8bb15f0dbf9d48b76c05bb62fcbce840f89b688c0fa64b37e8478a - languageName: node - linkType: hard - -"pkg-dir@npm:^4.2.0": - version: 4.2.0 - resolution: "pkg-dir@npm:4.2.0" - dependencies: - find-up: "npm:^4.0.0" - checksum: 10c0/c56bda7769e04907a88423feb320babaed0711af8c436ce3e56763ab1021ba107c7b0cafb11cde7529f669cfc22bffcaebffb573645cbd63842ea9fb17cd7728 - languageName: node - linkType: hard - -"prelude-ls@npm:^1.2.1": - version: 1.2.1 - resolution: "prelude-ls@npm:1.2.1" - checksum: 10c0/b00d617431e7886c520a6f498a2e14c75ec58f6d93ba48c3b639cf241b54232d90daa05d83a9e9b9fef6baa63cb7e1e4602c2372fea5bc169668401eb127d0cd - languageName: node - linkType: hard - -"prettier-linter-helpers@npm:^1.0.0": - version: 1.0.0 - resolution: "prettier-linter-helpers@npm:1.0.0" - dependencies: - fast-diff: "npm:^1.1.2" - checksum: 10c0/81e0027d731b7b3697ccd2129470ed9913ecb111e4ec175a12f0fcfab0096516373bf0af2fef132af50cafb0a905b74ff57996d615f59512bb9ac7378fcc64ab - languageName: node - linkType: hard - -"prettier@npm:^3.6.2": - version: 3.6.2 - resolution: "prettier@npm:3.6.2" - bin: - prettier: bin/prettier.cjs - checksum: 10c0/488cb2f2b99ec13da1e50074912870217c11edaddedeadc649b1244c749d15ba94e846423d062e2c4c9ae683e2d65f754de28889ba06e697ac4f988d44f45812 - languageName: node - linkType: hard - -"pretty-format@npm:30.0.5, pretty-format@npm:^30.0.0": - version: 30.0.5 - resolution: "pretty-format@npm:30.0.5" - dependencies: - "@jest/schemas": "npm:30.0.5" - ansi-styles: "npm:^5.2.0" - react-is: "npm:^18.3.1" - checksum: 10c0/9f6cf1af5c3169093866c80adbfdad32f69c692b62f24ba3ca8cdec8519336123323f896396f9fa40346a41b197c5f6be15aec4d8620819f12496afaaca93f81 - languageName: node - linkType: hard - -"pretty-format@npm:30.2.0": - version: 30.2.0 - resolution: "pretty-format@npm:30.2.0" - dependencies: - "@jest/schemas": "npm:30.0.5" - ansi-styles: "npm:^5.2.0" - react-is: "npm:^18.3.1" - checksum: 10c0/8fdacfd281aa98124e5df80b2c17223fdcb84433876422b54863a6849381b3059eb42b9806d92d2853826bcb966bcb98d499bea5b1e912d869a3c3107fd38d35 - languageName: node - linkType: hard - -"proc-log@npm:^5.0.0": - version: 5.0.0 - resolution: "proc-log@npm:5.0.0" - checksum: 10c0/bbe5edb944b0ad63387a1d5b1911ae93e05ce8d0f60de1035b218cdcceedfe39dbd2c697853355b70f1a090f8f58fe90da487c85216bf9671f9499d1a897e9e3 - languageName: node - linkType: hard - -"promise-retry@npm:^2.0.1": - version: 2.0.1 - resolution: "promise-retry@npm:2.0.1" - dependencies: - err-code: "npm:^2.0.2" - retry: "npm:^0.12.0" - checksum: 10c0/9c7045a1a2928094b5b9b15336dcd2a7b1c052f674550df63cc3f36cd44028e5080448175b6f6ca32b642de81150f5e7b1a98b728f15cb069f2dd60ac2616b96 - languageName: node - linkType: hard - -"punycode.js@npm:^2.3.1": - version: 2.3.1 - resolution: "punycode.js@npm:2.3.1" - checksum: 10c0/1d12c1c0e06127fa5db56bd7fdf698daf9a78104456a6b67326877afc21feaa821257b171539caedd2f0524027fa38e67b13dd094159c8d70b6d26d2bea4dfdb - languageName: node - linkType: hard - -"punycode@npm:^2.1.0, punycode@npm:^2.3.1": - version: 2.3.1 - resolution: "punycode@npm:2.3.1" - checksum: 10c0/14f76a8206bc3464f794fb2e3d3cc665ae416c01893ad7a02b23766eb07159144ee612ad67af5e84fa4479ccfe67678c4feb126b0485651b302babf66f04f9e9 - languageName: node - linkType: hard - -"pure-rand@npm:^7.0.0": - version: 7.0.1 - resolution: "pure-rand@npm:7.0.1" - checksum: 10c0/9cade41030f5ec95f5d55a11a71404cd6f46b69becaad892097cd7f58e2c6248cd0a933349ca7d21336ab629f1da42ffe899699b671bc4651600eaf6e57f837e - languageName: node - linkType: hard - -"queue-microtask@npm:^1.2.2": - version: 1.2.3 - resolution: "queue-microtask@npm:1.2.3" - checksum: 10c0/900a93d3cdae3acd7d16f642c29a642aea32c2026446151f0778c62ac089d4b8e6c986811076e1ae180a694cedf077d453a11b58ff0a865629a4f82ab558e102 - languageName: node - linkType: hard - -"react-is@npm:^18.3.1": - version: 18.3.1 - resolution: "react-is@npm:18.3.1" - checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072 - languageName: node - linkType: hard - -"require-directory@npm:^2.1.1": - version: 2.1.1 - resolution: "require-directory@npm:2.1.1" - checksum: 10c0/83aa76a7bc1531f68d92c75a2ca2f54f1b01463cb566cf3fbc787d0de8be30c9dbc211d1d46be3497dac5785fe296f2dd11d531945ac29730643357978966e99 - languageName: node - linkType: hard - -"require-from-string@npm:^2.0.2": - version: 2.0.2 - resolution: "require-from-string@npm:2.0.2" - checksum: 10c0/aaa267e0c5b022fc5fd4eef49d8285086b15f2a1c54b28240fdf03599cbd9c26049fee3eab894f2e1f6ca65e513b030a7c264201e3f005601e80c49fb2937ce2 - languageName: node - linkType: hard - -"resolve-cwd@npm:^3.0.0": - version: 3.0.0 - resolution: "resolve-cwd@npm:3.0.0" - dependencies: - resolve-from: "npm:^5.0.0" - checksum: 10c0/e608a3ebd15356264653c32d7ecbc8fd702f94c6703ea4ac2fb81d9c359180cba0ae2e6b71faa446631ed6145454d5a56b227efc33a2d40638ac13f8beb20ee4 - languageName: node - linkType: hard - -"resolve-from@npm:^4.0.0": - version: 4.0.0 - resolution: "resolve-from@npm:4.0.0" - checksum: 10c0/8408eec31a3112ef96e3746c37be7d64020cda07c03a920f5024e77290a218ea758b26ca9529fd7b1ad283947f34b2291c1c0f6aa0ed34acfdda9c6014c8d190 - languageName: node - linkType: hard - -"resolve-from@npm:^5.0.0": - version: 5.0.0 - resolution: "resolve-from@npm:5.0.0" - checksum: 10c0/b21cb7f1fb746de8107b9febab60095187781137fd803e6a59a76d421444b1531b641bba5857f5dc011974d8a5c635d61cec49e6bd3b7fc20e01f0fafc4efbf2 - languageName: node - linkType: hard - -"resolve@npm:~1.22.2": - version: 1.22.10 - resolution: "resolve@npm:1.22.10" - dependencies: - is-core-module: "npm:^2.16.0" - path-parse: "npm:^1.0.7" - supports-preserve-symlinks-flag: "npm:^1.0.0" - bin: - resolve: bin/resolve - checksum: 10c0/8967e1f4e2cc40f79b7e080b4582b9a8c5ee36ffb46041dccb20e6461161adf69f843b43067b4a375de926a2cd669157e29a29578191def399dd5ef89a1b5203 - languageName: node - linkType: hard - -"resolve@patch:resolve@npm%3A~1.22.2#optional!builtin": - version: 1.22.10 - resolution: "resolve@patch:resolve@npm%3A1.22.10#optional!builtin::version=1.22.10&hash=c3c19d" - dependencies: - is-core-module: "npm:^2.16.0" - path-parse: "npm:^1.0.7" - supports-preserve-symlinks-flag: "npm:^1.0.0" - bin: - resolve: bin/resolve - checksum: 10c0/52a4e505bbfc7925ac8f4cd91fd8c4e096b6a89728b9f46861d3b405ac9a1ccf4dcbf8befb4e89a2e11370dacd0160918163885cbc669369590f2f31f4c58939 - languageName: node - linkType: hard - -"retry@npm:^0.12.0": - version: 0.12.0 - resolution: "retry@npm:0.12.0" - checksum: 10c0/59933e8501727ba13ad73ef4a04d5280b3717fd650408460c987392efe9d7be2040778ed8ebe933c5cbd63da3dcc37919c141ef8af0a54a6e4fca5a2af177bfe - languageName: node - linkType: hard - -"reusify@npm:^1.0.4": - version: 1.1.0 - resolution: "reusify@npm:1.1.0" - checksum: 10c0/4eff0d4a5f9383566c7d7ec437b671cc51b25963bd61bf127c3f3d3f68e44a026d99b8d2f1ad344afff8d278a8fe70a8ea092650a716d22287e8bef7126bb2fa - languageName: node - linkType: hard - -"rimraf@npm:^5.0.5": - version: 5.0.10 - resolution: "rimraf@npm:5.0.10" - dependencies: - glob: "npm:^10.3.7" - bin: - rimraf: dist/esm/bin.mjs - checksum: 10c0/7da4fd0e15118ee05b918359462cfa1e7fe4b1228c7765195a45b55576e8c15b95db513b8466ec89129666f4af45ad978a3057a02139afba1a63512a2d9644cc - languageName: node - linkType: hard - -"run-parallel@npm:^1.1.9": - version: 1.2.0 - resolution: "run-parallel@npm:1.2.0" - dependencies: - queue-microtask: "npm:^1.2.2" - checksum: 10c0/200b5ab25b5b8b7113f9901bfe3afc347e19bb7475b267d55ad0eb86a62a46d77510cb0f232507c9e5d497ebda569a08a9867d0d14f57a82ad5564d991588b39 - languageName: node - linkType: hard - -"safer-buffer@npm:>= 2.1.2 < 3.0.0": - version: 2.1.2 - resolution: "safer-buffer@npm:2.1.2" - checksum: 10c0/7e3c8b2e88a1841c9671094bbaeebd94448111dd90a81a1f606f3f67708a6ec57763b3b47f06da09fc6054193e0e6709e77325415dc8422b04497a8070fa02d4 - languageName: node - linkType: hard - -"semver@npm:^6.3.1": - version: 6.3.1 - resolution: "semver@npm:6.3.1" - bin: - semver: bin/semver.js - checksum: 10c0/e3d79b609071caa78bcb6ce2ad81c7966a46a7431d9d58b8800cfa9cb6a63699b3899a0e4bcce36167a284578212d9ae6942b6929ba4aa5015c079a67751d42d - languageName: node - linkType: hard - -"semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0": - version: 7.7.1 - resolution: "semver@npm:7.7.1" - bin: - semver: bin/semver.js - checksum: 10c0/fd603a6fb9c399c6054015433051bdbe7b99a940a8fb44b85c2b524c4004b023d7928d47cb22154f8d054ea7ee8597f586605e05b52047f048278e4ac56ae958 - languageName: node - linkType: hard - -"semver@npm:^7.7.2": - version: 7.7.2 - resolution: "semver@npm:7.7.2" - bin: - semver: bin/semver.js - checksum: 10c0/aca305edfbf2383c22571cb7714f48cadc7ac95371b4b52362fb8eeffdfbc0de0669368b82b2b15978f8848f01d7114da65697e56cd8c37b0dab8c58e543f9ea - languageName: node - linkType: hard - -"shebang-command@npm:^2.0.0": - version: 2.0.0 - resolution: "shebang-command@npm:2.0.0" - dependencies: - shebang-regex: "npm:^3.0.0" - checksum: 10c0/a41692e7d89a553ef21d324a5cceb5f686d1f3c040759c50aab69688634688c5c327f26f3ecf7001ebfd78c01f3c7c0a11a7c8bfd0a8bc9f6240d4f40b224e4e - languageName: node - linkType: hard - -"shebang-regex@npm:^3.0.0": - version: 3.0.0 - resolution: "shebang-regex@npm:3.0.0" - checksum: 10c0/1dbed0726dd0e1152a92696c76c7f06084eb32a90f0528d11acd764043aacf76994b2fb30aa1291a21bd019d6699164d048286309a278855ee7bec06cf6fb690 - languageName: node - linkType: hard - -"signal-exit@npm:^3.0.3": - version: 3.0.7 - resolution: "signal-exit@npm:3.0.7" - checksum: 10c0/25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912 - languageName: node - linkType: hard - -"signal-exit@npm:^4.0.1": - version: 4.1.0 - resolution: "signal-exit@npm:4.1.0" - checksum: 10c0/41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 - languageName: node - linkType: hard - -"slash@npm:^3.0.0": - version: 3.0.0 - resolution: "slash@npm:3.0.0" - checksum: 10c0/e18488c6a42bdfd4ac5be85b2ced3ccd0224773baae6ad42cfbb9ec74fc07f9fa8396bd35ee638084ead7a2a0818eb5e7151111544d4731ce843019dab4be47b - languageName: node - linkType: hard - -"slice-ansi@npm:^4.0.0": - version: 4.0.0 - resolution: "slice-ansi@npm:4.0.0" - dependencies: - ansi-styles: "npm:^4.0.0" - astral-regex: "npm:^2.0.0" - is-fullwidth-code-point: "npm:^3.0.0" - checksum: 10c0/6c25678db1270d4793e0327620f1e0f9f5bea4630123f51e9e399191bc52c87d6e6de53ed33538609e5eacbd1fab769fae00f3705d08d029f02102a540648918 - languageName: node - linkType: hard - -"smart-buffer@npm:^4.2.0": - version: 4.2.0 - resolution: "smart-buffer@npm:4.2.0" - checksum: 10c0/a16775323e1404dd43fabafe7460be13a471e021637bc7889468eb45ce6a6b207261f454e4e530a19500cc962c4cc5348583520843b363f4193cee5c00e1e539 - languageName: node - linkType: hard - -"socks-proxy-agent@npm:^8.0.3": - version: 8.0.5 - resolution: "socks-proxy-agent@npm:8.0.5" - dependencies: - agent-base: "npm:^7.1.2" - debug: "npm:^4.3.4" - socks: "npm:^2.8.3" - checksum: 10c0/5d2c6cecba6821389aabf18728325730504bf9bb1d9e342e7987a5d13badd7a98838cc9a55b8ed3cb866ad37cc23e1086f09c4d72d93105ce9dfe76330e9d2a6 - languageName: node - linkType: hard - -"socks@npm:^2.8.3": - version: 2.8.4 - resolution: "socks@npm:2.8.4" - dependencies: - ip-address: "npm:^9.0.5" - smart-buffer: "npm:^4.2.0" - checksum: 10c0/00c3271e233ccf1fb83a3dd2060b94cc37817e0f797a93c560b9a7a86c4a0ec2961fb31263bdd24a3c28945e24868b5f063cd98744171d9e942c513454b50ae5 - languageName: node - linkType: hard - -"source-map-support@npm:0.5.13": - version: 0.5.13 - resolution: "source-map-support@npm:0.5.13" - dependencies: - buffer-from: "npm:^1.0.0" - source-map: "npm:^0.6.0" - checksum: 10c0/137539f8c453fa0f496ea42049ab5da4569f96781f6ac8e5bfda26937be9494f4e8891f523c5f98f0e85f71b35d74127a00c46f83f6a4f54672b58d53202565e - languageName: node - linkType: hard - -"source-map@npm:^0.6.0, source-map@npm:^0.6.1": - version: 0.6.1 - resolution: "source-map@npm:0.6.1" - checksum: 10c0/ab55398007c5e5532957cb0beee2368529618ac0ab372d789806f5718123cc4367d57de3904b4e6a4170eb5a0b0f41373066d02ca0735a0c4d75c7d328d3e011 - languageName: node - linkType: hard - -"sprintf-js@npm:^1.1.3": - version: 1.1.3 - resolution: "sprintf-js@npm:1.1.3" - checksum: 10c0/09270dc4f30d479e666aee820eacd9e464215cdff53848b443964202bf4051490538e5dd1b42e1a65cf7296916ca17640aebf63dae9812749c7542ee5f288dec - languageName: node - linkType: hard - -"sprintf-js@npm:~1.0.2": - version: 1.0.3 - resolution: "sprintf-js@npm:1.0.3" - checksum: 10c0/ecadcfe4c771890140da5023d43e190b7566d9cf8b2d238600f31bec0fc653f328da4450eb04bd59a431771a8e9cc0e118f0aa3974b683a4981b4e07abc2a5bb - languageName: node - linkType: hard - -"ssri@npm:^12.0.0": - version: 12.0.0 - resolution: "ssri@npm:12.0.0" - dependencies: - minipass: "npm:^7.0.3" - checksum: 10c0/caddd5f544b2006e88fa6b0124d8d7b28208b83c72d7672d5ade44d794525d23b540f3396108c4eb9280dcb7c01f0bef50682f5b4b2c34291f7c5e211fd1417d - languageName: node - linkType: hard - -"stack-utils@npm:^2.0.6": - version: 2.0.6 - resolution: "stack-utils@npm:2.0.6" - dependencies: - escape-string-regexp: "npm:^2.0.0" - checksum: 10c0/651c9f87667e077584bbe848acaecc6049bc71979f1e9a46c7b920cad4431c388df0f51b8ad7cfd6eed3db97a2878d0fc8b3122979439ea8bac29c61c95eec8a - languageName: node - linkType: hard - -"string-length@npm:^4.0.2": - version: 4.0.2 - resolution: "string-length@npm:4.0.2" - dependencies: - char-regex: "npm:^1.0.2" - strip-ansi: "npm:^6.0.0" - checksum: 10c0/1cd77409c3d7db7bc59406f6bcc9ef0783671dcbabb23597a1177c166906ef2ee7c8290f78cae73a8aec858768f189d2cb417797df5e15ec4eb5e16b3346340c - languageName: node - linkType: hard - -"string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": - version: 4.2.3 - resolution: "string-width@npm:4.2.3" - dependencies: - emoji-regex: "npm:^8.0.0" - is-fullwidth-code-point: "npm:^3.0.0" - strip-ansi: "npm:^6.0.1" - checksum: 10c0/1e525e92e5eae0afd7454086eed9c818ee84374bb80328fc41217ae72ff5f065ef1c9d7f72da41de40c75fa8bb3dee63d92373fd492c84260a552c636392a47b - languageName: node - linkType: hard - -"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": - version: 6.0.1 - resolution: "strip-ansi@npm:6.0.1" - dependencies: - ansi-regex: "npm:^5.0.1" - checksum: 10c0/1ae5f212a126fe5b167707f716942490e3933085a5ff6c008ab97ab2f272c8025d3aa218b7bd6ab25729ca20cc81cddb252102f8751e13482a5199e873680952 - languageName: node - linkType: hard - -"strip-bom@npm:^4.0.0": - version: 4.0.0 - resolution: "strip-bom@npm:4.0.0" - checksum: 10c0/26abad1172d6bc48985ab9a5f96c21e440f6e7e476686de49be813b5a59b3566dccb5c525b831ec54fe348283b47f3ffb8e080bc3f965fde12e84df23f6bb7ef - languageName: node - linkType: hard - -"strip-final-newline@npm:^2.0.0": - version: 2.0.0 - resolution: "strip-final-newline@npm:2.0.0" - checksum: 10c0/bddf8ccd47acd85c0e09ad7375409d81653f645fda13227a9d459642277c253d877b68f2e5e4d819fe75733b0e626bac7e954c04f3236f6d196f79c94fa4a96f - languageName: node - linkType: hard - -"strip-json-comments@npm:^3.1.1": - version: 3.1.1 - resolution: "strip-json-comments@npm:3.1.1" - checksum: 10c0/9681a6257b925a7fa0f285851c0e613cc934a50661fa7bb41ca9cbbff89686bb4a0ee366e6ecedc4daafd01e83eee0720111ab294366fe7c185e935475ebcecd - languageName: node - linkType: hard - -"supports-color@npm:^7.1.0": - version: 7.2.0 - resolution: "supports-color@npm:7.2.0" - dependencies: - has-flag: "npm:^4.0.0" - checksum: 10c0/afb4c88521b8b136b5f5f95160c98dee7243dc79d5432db7efc27efb219385bbc7d9427398e43dd6cc730a0f87d5085ce1652af7efbe391327bc0a7d0f7fc124 - languageName: node - linkType: hard - -"supports-color@npm:^8.1.1": - version: 8.1.1 - resolution: "supports-color@npm:8.1.1" - dependencies: - has-flag: "npm:^4.0.0" - checksum: 10c0/ea1d3c275dd604c974670f63943ed9bd83623edc102430c05adb8efc56ba492746b6e95386e7831b872ec3807fd89dd8eb43f735195f37b5ec343e4234cc7e89 - languageName: node - linkType: hard - -"supports-preserve-symlinks-flag@npm:^1.0.0": - version: 1.0.0 - resolution: "supports-preserve-symlinks-flag@npm:1.0.0" - checksum: 10c0/6c4032340701a9950865f7ae8ef38578d8d7053f5e10518076e6554a9381fa91bd9c6850193695c141f32b21f979c985db07265a758867bac95de05f7d8aeb39 - languageName: node - linkType: hard - -"synckit@npm:^0.11.7, synckit@npm:^0.11.8": - version: 0.11.11 - resolution: "synckit@npm:0.11.11" - dependencies: - "@pkgr/core": "npm:^0.2.9" - checksum: 10c0/f0761495953d12d94a86edf6326b3a565496c72f9b94c02549b6961fb4d999f4ca316ce6b3eb8ed2e4bfc5056a8de65cda0bd03a233333a35221cd2fdc0e196b - languageName: node - linkType: hard - -"table@npm:^6.9.0": - version: 6.9.0 - resolution: "table@npm:6.9.0" - dependencies: - ajv: "npm:^8.0.1" - lodash.truncate: "npm:^4.4.2" - slice-ansi: "npm:^4.0.0" - string-width: "npm:^4.2.3" - strip-ansi: "npm:^6.0.1" - checksum: 10c0/35646185712bb65985fbae5975dda46696325844b78735f95faefae83e86df0a265277819a3e67d189de6e858c509b54e66ca3958ffd51bde56ef1118d455bf4 - languageName: node - linkType: hard - -"tar@npm:^7.4.3": - version: 7.4.3 - resolution: "tar@npm:7.4.3" - dependencies: - "@isaacs/fs-minipass": "npm:^4.0.0" - chownr: "npm:^3.0.0" - minipass: "npm:^7.1.2" - minizlib: "npm:^3.0.1" - mkdirp: "npm:^3.0.1" - yallist: "npm:^5.0.0" - checksum: 10c0/d4679609bb2a9b48eeaf84632b6d844128d2412b95b6de07d53d8ee8baf4ca0857c9331dfa510390a0727b550fd543d4d1a10995ad86cdf078423fbb8d99831d - languageName: node - linkType: hard - -"test-exclude@npm:^6.0.0": - version: 6.0.0 - resolution: "test-exclude@npm:6.0.0" - dependencies: - "@istanbuljs/schema": "npm:^0.1.2" - glob: "npm:^7.1.4" - minimatch: "npm:^3.0.4" - checksum: 10c0/019d33d81adff3f9f1bfcff18125fb2d3c65564f437d9be539270ee74b994986abb8260c7c2ce90e8f30162178b09dbbce33c6389273afac4f36069c48521f57 - languageName: node - linkType: hard - -"tmpl@npm:1.0.5": - version: 1.0.5 - resolution: "tmpl@npm:1.0.5" - checksum: 10c0/f935537799c2d1922cb5d6d3805f594388f75338fe7a4a9dac41504dd539704ca4db45b883b52e7b0aa5b2fd5ddadb1452bf95cd23a69da2f793a843f9451cc9 - languageName: node - linkType: hard - -"to-regex-range@npm:^5.0.1": - version: 5.0.1 - resolution: "to-regex-range@npm:5.0.1" - dependencies: - is-number: "npm:^7.0.0" - checksum: 10c0/487988b0a19c654ff3e1961b87f471702e708fa8a8dd02a298ef16da7206692e8552a0250e8b3e8759270f62e9d8314616f6da274734d3b558b1fc7b7724e892 - languageName: node - linkType: hard - -"ts-api-utils@npm:^2.0.1": - version: 2.1.0 - resolution: "ts-api-utils@npm:2.1.0" - peerDependencies: - typescript: ">=4.8.4" - checksum: 10c0/9806a38adea2db0f6aa217ccc6bc9c391ddba338a9fe3080676d0d50ed806d305bb90e8cef0276e793d28c8a929f400abb184ddd7ff83a416959c0f4d2ce754f - languageName: node - linkType: hard - -"ts-jest@npm:^29.4.4": - version: 29.4.4 - resolution: "ts-jest@npm:29.4.4" - dependencies: - bs-logger: "npm:^0.2.6" - fast-json-stable-stringify: "npm:^2.1.0" - handlebars: "npm:^4.7.8" - json5: "npm:^2.2.3" - lodash.memoize: "npm:^4.1.2" - make-error: "npm:^1.3.6" - semver: "npm:^7.7.2" - type-fest: "npm:^4.41.0" - yargs-parser: "npm:^21.1.1" - peerDependencies: - "@babel/core": ">=7.0.0-beta.0 <8" - "@jest/transform": ^29.0.0 || ^30.0.0 - "@jest/types": ^29.0.0 || ^30.0.0 - babel-jest: ^29.0.0 || ^30.0.0 - jest: ^29.0.0 || ^30.0.0 - jest-util: ^29.0.0 || ^30.0.0 - typescript: ">=4.3 <6" - peerDependenciesMeta: - "@babel/core": - optional: true - "@jest/transform": - optional: true - "@jest/types": - optional: true - babel-jest: - optional: true - esbuild: - optional: true - jest-util: - optional: true - bin: - ts-jest: cli.js - checksum: 10c0/f99d612704cda98369f4a54d3db771bad5edd1390fded4f1691f3182f0c8ce8b7f827e5846952bd8bcd26df26c9fb18f11089de760956bdf357875a5f1d49fcc - languageName: node - linkType: hard - -"ts-node@npm:^10.9.2": - version: 10.9.2 - resolution: "ts-node@npm:10.9.2" - dependencies: - "@cspotcode/source-map-support": "npm:^0.8.0" - "@tsconfig/node10": "npm:^1.0.7" - "@tsconfig/node12": "npm:^1.0.7" - "@tsconfig/node14": "npm:^1.0.0" - "@tsconfig/node16": "npm:^1.0.2" - acorn: "npm:^8.4.1" - acorn-walk: "npm:^8.1.1" - arg: "npm:^4.1.0" - create-require: "npm:^1.1.0" - diff: "npm:^4.0.1" - make-error: "npm:^1.1.1" - v8-compile-cache-lib: "npm:^3.0.1" - yn: "npm:3.1.1" - peerDependencies: - "@swc/core": ">=1.2.50" - "@swc/wasm": ">=1.2.50" - "@types/node": "*" - typescript: ">=2.7" - peerDependenciesMeta: - "@swc/core": - optional: true - "@swc/wasm": - optional: true - bin: - ts-node: dist/bin.js - ts-node-cwd: dist/bin-cwd.js - ts-node-esm: dist/bin-esm.js - ts-node-script: dist/bin-script.js - ts-node-transpile-only: dist/bin-transpile.js - ts-script: dist/bin-script-deprecated.js - checksum: 10c0/5f29938489f96982a25ba650b64218e83a3357d76f7bede80195c65ab44ad279c8357264639b7abdd5d7e75fc269a83daa0e9c62fd8637a3def67254ecc9ddc2 - languageName: node - linkType: hard - -"tslib@npm:^2.4.0": - version: 2.8.1 - resolution: "tslib@npm:2.8.1" - checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 - languageName: node - linkType: hard - -"type-check@npm:^0.4.0, type-check@npm:~0.4.0": - version: 0.4.0 - resolution: "type-check@npm:0.4.0" - dependencies: - prelude-ls: "npm:^1.2.1" - checksum: 10c0/7b3fd0ed43891e2080bf0c5c504b418fbb3e5c7b9708d3d015037ba2e6323a28152ec163bcb65212741fa5d2022e3075ac3c76440dbd344c9035f818e8ecee58 - languageName: node - linkType: hard - -"type-detect@npm:4.0.8": - version: 4.0.8 - resolution: "type-detect@npm:4.0.8" - checksum: 10c0/8fb9a51d3f365a7de84ab7f73b653534b61b622aa6800aecdb0f1095a4a646d3f5eb295322127b6573db7982afcd40ab492d038cf825a42093a58b1e1353e0bd - languageName: node - linkType: hard - -"type-fest@npm:^0.21.3": - version: 0.21.3 - resolution: "type-fest@npm:0.21.3" - checksum: 10c0/902bd57bfa30d51d4779b641c2bc403cdf1371fb9c91d3c058b0133694fcfdb817aef07a47f40faf79039eecbaa39ee9d3c532deff244f3a19ce68cea71a61e8 - languageName: node - linkType: hard - -"type-fest@npm:^4.41.0": - version: 4.41.0 - resolution: "type-fest@npm:4.41.0" - checksum: 10c0/f5ca697797ed5e88d33ac8f1fec21921839871f808dc59345c9cf67345bfb958ce41bd821165dbf3ae591cedec2bf6fe8882098dfdd8dc54320b859711a2c1e4 - languageName: node - linkType: hard - -"typedoc@npm:^0.28.13": - version: 0.28.13 - resolution: "typedoc@npm:0.28.13" - dependencies: - "@gerrit0/mini-shiki": "npm:^3.12.0" - lunr: "npm:^2.3.9" - markdown-it: "npm:^14.1.0" - minimatch: "npm:^9.0.5" - yaml: "npm:^2.8.1" - peerDependencies: - typescript: 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x || 5.9.x - bin: - typedoc: bin/typedoc - checksum: 10c0/f4815cb21a62fadbfeb6f5ad6405d3c819b6bcb20bd1e125c5b1a1a7c7bfabbd9dd67d742f767ce95283e99814a361b86bcc632e9ffa595e51e057778def4d57 - languageName: node - linkType: hard - -"typescript-eslint@npm:^8.18.0": - version: 8.28.0 - resolution: "typescript-eslint@npm:8.28.0" - dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.28.0" - "@typescript-eslint/parser": "npm:8.28.0" - "@typescript-eslint/utils": "npm:8.28.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/bf1c1e4b2f21a95930758d5b285c39a394a50e3b6983f373413b93b80a6cb5aabc1d741780e60c63cb42ad5d645ea9c1e6d441d98174c5a2884ab88f4ac46df6 - languageName: node - linkType: hard - -"typescript@npm:~5.9.3": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/6bd7552ce39f97e711db5aa048f6f9995b53f1c52f7d8667c1abdc1700c68a76a308f579cd309ce6b53646deb4e9a1be7c813a93baaf0a28ccd536a30270e1c5 - languageName: node - linkType: hard - -"typescript@patch:typescript@npm%3A~5.9.3#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/ad09fdf7a756814dce65bc60c1657b40d44451346858eea230e10f2e95a289d9183b6e32e5c11e95acc0ccc214b4f36289dcad4bf1886b0adb84d711d336a430 - languageName: node - linkType: hard - -"uc.micro@npm:^2.0.0, uc.micro@npm:^2.1.0": - version: 2.1.0 - resolution: "uc.micro@npm:2.1.0" - checksum: 10c0/8862eddb412dda76f15db8ad1c640ccc2f47cdf8252a4a30be908d535602c8d33f9855dfcccb8b8837855c1ce1eaa563f7fa7ebe3c98fd0794351aab9b9c55fa - languageName: node - linkType: hard - -"uglify-js@npm:^3.1.4": - version: 3.19.3 - resolution: "uglify-js@npm:3.19.3" - bin: - uglifyjs: bin/uglifyjs - checksum: 10c0/83b0a90eca35f778e07cad9622b80c448b6aad457c9ff8e568afed978212b42930a95f9e1be943a1ffa4258a3340fbb899f41461131c05bb1d0a9c303aed8479 - languageName: node - linkType: hard - -"undici-types@npm:~6.20.0": - version: 6.20.0 - resolution: "undici-types@npm:6.20.0" - checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf - languageName: node - linkType: hard - -"undici-types@npm:~7.14.0": - version: 7.14.0 - resolution: "undici-types@npm:7.14.0" - checksum: 10c0/e7f3214b45d788f03c51ceb33817be99c65dae203863aa9386b3ccc47201a245a7955fc721fb581da9c888b6ebad59fa3f53405214afec04c455a479908f0f14 - languageName: node - linkType: hard - -"unique-filename@npm:^4.0.0": - version: 4.0.0 - resolution: "unique-filename@npm:4.0.0" - dependencies: - unique-slug: "npm:^5.0.0" - checksum: 10c0/38ae681cceb1408ea0587b6b01e29b00eee3c84baee1e41fd5c16b9ed443b80fba90c40e0ba69627e30855570a34ba8b06702d4a35035d4b5e198bf5a64c9ddc - languageName: node - linkType: hard - -"unique-slug@npm:^5.0.0": - version: 5.0.0 - resolution: "unique-slug@npm:5.0.0" - dependencies: - imurmurhash: "npm:^0.1.4" - checksum: 10c0/d324c5a44887bd7e105ce800fcf7533d43f29c48757ac410afd42975de82cc38ea2035c0483f4de82d186691bf3208ef35c644f73aa2b1b20b8e651be5afd293 - languageName: node - linkType: hard - -"universalify@npm:^2.0.0": - version: 2.0.1 - resolution: "universalify@npm:2.0.1" - checksum: 10c0/73e8ee3809041ca8b818efb141801a1004e3fc0002727f1531f4de613ea281b494a40909596dae4a042a4fb6cd385af5d4db2e137b1362e0e91384b828effd3a - languageName: node - linkType: hard - -"unrs-resolver@npm:^1.7.11": - version: 1.11.1 - resolution: "unrs-resolver@npm:1.11.1" - dependencies: - "@unrs/resolver-binding-android-arm-eabi": "npm:1.11.1" - "@unrs/resolver-binding-android-arm64": "npm:1.11.1" - "@unrs/resolver-binding-darwin-arm64": "npm:1.11.1" - "@unrs/resolver-binding-darwin-x64": "npm:1.11.1" - "@unrs/resolver-binding-freebsd-x64": "npm:1.11.1" - "@unrs/resolver-binding-linux-arm-gnueabihf": "npm:1.11.1" - "@unrs/resolver-binding-linux-arm-musleabihf": "npm:1.11.1" - "@unrs/resolver-binding-linux-arm64-gnu": "npm:1.11.1" - "@unrs/resolver-binding-linux-arm64-musl": "npm:1.11.1" - "@unrs/resolver-binding-linux-ppc64-gnu": "npm:1.11.1" - "@unrs/resolver-binding-linux-riscv64-gnu": "npm:1.11.1" - "@unrs/resolver-binding-linux-riscv64-musl": "npm:1.11.1" - "@unrs/resolver-binding-linux-s390x-gnu": "npm:1.11.1" - "@unrs/resolver-binding-linux-x64-gnu": "npm:1.11.1" - "@unrs/resolver-binding-linux-x64-musl": "npm:1.11.1" - "@unrs/resolver-binding-wasm32-wasi": "npm:1.11.1" - "@unrs/resolver-binding-win32-arm64-msvc": "npm:1.11.1" - "@unrs/resolver-binding-win32-ia32-msvc": "npm:1.11.1" - "@unrs/resolver-binding-win32-x64-msvc": "npm:1.11.1" - napi-postinstall: "npm:^0.3.0" - dependenciesMeta: - "@unrs/resolver-binding-android-arm-eabi": - optional: true - "@unrs/resolver-binding-android-arm64": - optional: true - "@unrs/resolver-binding-darwin-arm64": - optional: true - "@unrs/resolver-binding-darwin-x64": - optional: true - "@unrs/resolver-binding-freebsd-x64": - optional: true - "@unrs/resolver-binding-linux-arm-gnueabihf": - optional: true - "@unrs/resolver-binding-linux-arm-musleabihf": - optional: true - "@unrs/resolver-binding-linux-arm64-gnu": - optional: true - "@unrs/resolver-binding-linux-arm64-musl": - optional: true - "@unrs/resolver-binding-linux-ppc64-gnu": - optional: true - "@unrs/resolver-binding-linux-riscv64-gnu": - optional: true - "@unrs/resolver-binding-linux-riscv64-musl": - optional: true - "@unrs/resolver-binding-linux-s390x-gnu": - optional: true - "@unrs/resolver-binding-linux-x64-gnu": - optional: true - "@unrs/resolver-binding-linux-x64-musl": - optional: true - "@unrs/resolver-binding-wasm32-wasi": - optional: true - "@unrs/resolver-binding-win32-arm64-msvc": - optional: true - "@unrs/resolver-binding-win32-ia32-msvc": - optional: true - "@unrs/resolver-binding-win32-x64-msvc": - optional: true - checksum: 10c0/c91b112c71a33d6b24e5c708dab43ab80911f2df8ee65b87cd7a18fb5af446708e98c4b415ca262026ad8df326debcc7ca6a801b2935504d87fd6f0b9d70dce1 - languageName: node - linkType: hard - -"update-browserslist-db@npm:^1.1.1": - version: 1.1.3 - resolution: "update-browserslist-db@npm:1.1.3" - dependencies: - escalade: "npm:^3.2.0" - picocolors: "npm:^1.1.1" - peerDependencies: - browserslist: ">= 4.21.0" - bin: - update-browserslist-db: cli.js - checksum: 10c0/682e8ecbf9de474a626f6462aa85927936cdd256fe584c6df2508b0df9f7362c44c957e9970df55dfe44d3623807d26316ea2c7d26b80bb76a16c56c37233c32 - languageName: node - linkType: hard - -"uri-js@npm:^4.2.2": - version: 4.4.1 - resolution: "uri-js@npm:4.4.1" - dependencies: - punycode: "npm:^2.1.0" - checksum: 10c0/4ef57b45aa820d7ac6496e9208559986c665e49447cb072744c13b66925a362d96dd5a46c4530a6b8e203e5db5fe849369444440cb22ecfc26c679359e5dfa3c - languageName: node - linkType: hard - -"v8-compile-cache-lib@npm:^3.0.1": - version: 3.0.1 - resolution: "v8-compile-cache-lib@npm:3.0.1" - checksum: 10c0/bdc36fb8095d3b41df197f5fb6f11e3a26adf4059df3213e3baa93810d8f0cc76f9a74aaefc18b73e91fe7e19154ed6f134eda6fded2e0f1c8d2272ed2d2d391 - languageName: node - linkType: hard - -"v8-to-istanbul@npm:^9.0.1": - version: 9.3.0 - resolution: "v8-to-istanbul@npm:9.3.0" - dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.12" - "@types/istanbul-lib-coverage": "npm:^2.0.1" - convert-source-map: "npm:^2.0.0" - checksum: 10c0/968bcf1c7c88c04df1ffb463c179558a2ec17aa49e49376120504958239d9e9dad5281aa05f2a78542b8557f2be0b0b4c325710262f3b838b40d703d5ed30c23 - languageName: node - linkType: hard - -"walker@npm:^1.0.8": - version: 1.0.8 - resolution: "walker@npm:1.0.8" - dependencies: - makeerror: "npm:1.0.12" - checksum: 10c0/a17e037bccd3ca8a25a80cb850903facdfed0de4864bd8728f1782370715d679fa72e0a0f5da7c1c1379365159901e5935f35be531229da53bbfc0efdabdb48e - languageName: node - linkType: hard - -"which@npm:^2.0.1": - version: 2.0.2 - resolution: "which@npm:2.0.2" - dependencies: - isexe: "npm:^2.0.0" - bin: - node-which: ./bin/node-which - checksum: 10c0/66522872a768b60c2a65a57e8ad184e5372f5b6a9ca6d5f033d4b0dc98aff63995655a7503b9c0a2598936f532120e81dd8cc155e2e92ed662a2b9377cc4374f - languageName: node - linkType: hard - -"which@npm:^5.0.0": - version: 5.0.0 - resolution: "which@npm:5.0.0" - dependencies: - isexe: "npm:^3.1.1" - bin: - node-which: bin/which.js - checksum: 10c0/e556e4cd8b7dbf5df52408c9a9dd5ac6518c8c5267c8953f5b0564073c66ed5bf9503b14d876d0e9c7844d4db9725fb0dcf45d6e911e17e26ab363dc3965ae7b - languageName: node - linkType: hard - -"word-wrap@npm:^1.2.5": - version: 1.2.5 - resolution: "word-wrap@npm:1.2.5" - checksum: 10c0/e0e4a1ca27599c92a6ca4c32260e8a92e8a44f4ef6ef93f803f8ed823f486e0889fc0b93be4db59c8d51b3064951d25e43d434e95dc8c960cc3a63d65d00ba20 - languageName: node - linkType: hard - -"wordwrap@npm:^1.0.0": - version: 1.0.0 - resolution: "wordwrap@npm:1.0.0" - checksum: 10c0/7ed2e44f3c33c5c3e3771134d2b0aee4314c9e49c749e37f464bf69f2bcdf0cbf9419ca638098e2717cff4875c47f56a007532f6111c3319f557a2ca91278e92 - languageName: node - linkType: hard - -"wrap-ansi@npm:^7.0.0": - version: 7.0.0 - resolution: "wrap-ansi@npm:7.0.0" - dependencies: - ansi-styles: "npm:^4.0.0" - string-width: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - checksum: 10c0/d15fc12c11e4cbc4044a552129ebc75ee3f57aa9c1958373a4db0292d72282f54373b536103987a4a7594db1ef6a4f10acf92978f79b98c49306a4b58c77d4da - languageName: node - linkType: hard - -"write-file-atomic@npm:^5.0.1": - version: 5.0.1 - resolution: "write-file-atomic@npm:5.0.1" - dependencies: - imurmurhash: "npm:^0.1.4" - signal-exit: "npm:^4.0.1" - checksum: 10c0/e8c850a8e3e74eeadadb8ad23c9d9d63e4e792bd10f4836ed74189ef6e996763959f1249c5650e232f3c77c11169d239cbfc8342fc70f3fe401407d23810505d - languageName: node - linkType: hard - -"y18n@npm:^5.0.5": - version: 5.0.8 - resolution: "y18n@npm:5.0.8" - checksum: 10c0/4df2842c36e468590c3691c894bc9cdbac41f520566e76e24f59401ba7d8b4811eb1e34524d57e54bc6d864bcb66baab7ffd9ca42bf1eda596618f9162b91249 - languageName: node - linkType: hard - -"yallist@npm:^3.0.2": - version: 3.1.1 - resolution: "yallist@npm:3.1.1" - checksum: 10c0/c66a5c46bc89af1625476f7f0f2ec3653c1a1791d2f9407cfb4c2ba812a1e1c9941416d71ba9719876530e3340a99925f697142989371b72d93b9ee628afd8c1 - languageName: node - linkType: hard - -"yallist@npm:^4.0.0": - version: 4.0.0 - resolution: "yallist@npm:4.0.0" - checksum: 10c0/2286b5e8dbfe22204ab66e2ef5cc9bbb1e55dfc873bbe0d568aa943eb255d131890dfd5bf243637273d31119b870f49c18fcde2c6ffbb7a7a092b870dc90625a - languageName: node - linkType: hard - -"yallist@npm:^5.0.0": - version: 5.0.0 - resolution: "yallist@npm:5.0.0" - checksum: 10c0/a499c81ce6d4a1d260d4ea0f6d49ab4da09681e32c3f0472dee16667ed69d01dae63a3b81745a24bd78476ec4fcf856114cb4896ace738e01da34b2c42235416 - languageName: node - linkType: hard - -"yaml@npm:1.10.2": - version: 1.10.2 - resolution: "yaml@npm:1.10.2" - checksum: 10c0/5c28b9eb7adc46544f28d9a8d20c5b3cb1215a886609a2fd41f51628d8aaa5878ccd628b755dbcd29f6bb4921bd04ffbc6dcc370689bb96e594e2f9813d2605f - languageName: node - linkType: hard - -"yaml@npm:^2.8.1": - version: 2.8.1 - resolution: "yaml@npm:2.8.1" - bin: - yaml: bin.mjs - checksum: 10c0/7c587be00d9303d2ae1566e03bc5bc7fe978ba0d9bf39cc418c3139d37929dfcb93a230d9749f2cb578b6aa5d9ebebc322415e4b653cb83acd8bc0bc321707f3 - languageName: node - linkType: hard - -"yargs-parser@npm:^21.1.1": - version: 21.1.1 - resolution: "yargs-parser@npm:21.1.1" - checksum: 10c0/f84b5e48169479d2f402239c59f084cfd1c3acc197a05c59b98bab067452e6b3ea46d4dd8ba2985ba7b3d32a343d77df0debd6b343e5dae3da2aab2cdf5886b2 - languageName: node - linkType: hard - -"yargs@npm:^17.7.2": - version: 17.7.2 - resolution: "yargs@npm:17.7.2" - dependencies: - cliui: "npm:^8.0.1" - escalade: "npm:^3.1.1" - get-caller-file: "npm:^2.0.5" - require-directory: "npm:^2.1.1" - string-width: "npm:^4.2.3" - y18n: "npm:^5.0.5" - yargs-parser: "npm:^21.1.1" - checksum: 10c0/ccd7e723e61ad5965fffbb791366db689572b80cca80e0f96aad968dfff4156cd7cd1ad18607afe1046d8241e6fb2d6c08bf7fa7bfb5eaec818735d8feac8f05 - languageName: node - linkType: hard - -"yn@npm:3.1.1": - version: 3.1.1 - resolution: "yn@npm:3.1.1" - checksum: 10c0/0732468dd7622ed8a274f640f191f3eaf1f39d5349a1b72836df484998d7d9807fbea094e2f5486d6b0cd2414aad5775972df0e68f8604db89a239f0f4bf7443 - languageName: node - linkType: hard - -"yocto-queue@npm:^0.1.0": - version: 0.1.0 - resolution: "yocto-queue@npm:0.1.0" - checksum: 10c0/dceb44c28578b31641e13695d200d34ec4ab3966a5729814d5445b194933c096b7ced71494ce53a0e8820685d1d010df8b2422e5bf2cdea7e469d97ffbea306f - languageName: node - linkType: hard