├── .actrc ├── .codeclimate.yml ├── .env.test.example ├── .eslintignore ├── .eslintrc.yml ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── having-a-question-.md ├── dependabot.yml └── workflows │ ├── auto-git-release-production.yml │ ├── auto-git-release-staging.yml │ ├── check-build.yml │ ├── run-integration-test.yml │ └── update-codeclimate-coverage.yml ├── .gitignore ├── .idea └── jsLibraryMappings.xml ├── .nvmrc ├── .prettierignore ├── .prettierrc.js ├── CHANGELOG.md ├── LICENSE ├── README.md ├── __tests__ ├── config.test.ts └── main.test.ts ├── action.yml ├── github-action-runtime ├── LICENSE ├── index.js ├── index.js.map └── sourcemap-register.js ├── jest.config.js ├── jest.setup.js ├── lib ├── awaitVercelDeployment.js ├── config.js ├── main.js └── types │ └── VercelDeployment.js ├── node_modules └── .yarn-integrity ├── package.json ├── src ├── awaitVercelDeployment.ts ├── config.ts ├── main.ts └── types │ └── VercelDeployment.ts ├── tsconfig.eslint.json ├── tsconfig.json └── yarn.lock /.actrc: -------------------------------------------------------------------------------- 1 | --env-file .env.test 2 | --secret-file .env.test 3 | -------------------------------------------------------------------------------- /.codeclimate.yml: -------------------------------------------------------------------------------- 1 | # XXX See https://docs.codeclimate.com/docs/advanced-configuration 2 | version: "2" 3 | checks: 4 | argument-count: 5 | enabled: true 6 | config: 7 | threshold: 4 8 | complex-logic: 9 | enabled: true 10 | config: 11 | threshold: 4 12 | file-lines: 13 | enabled: true 14 | config: 15 | threshold: 400 # 250 by default 16 | method-complexity: 17 | enabled: true 18 | config: 19 | threshold: 10 20 | method-count: 21 | enabled: true 22 | config: 23 | threshold: 20 24 | method-lines: 25 | enabled: true 26 | config: 27 | threshold: 200 # 25 by default 28 | nested-control-flow: 29 | enabled: true 30 | config: 31 | threshold: 4 32 | return-statements: 33 | enabled: true 34 | config: 35 | threshold: 4 36 | 37 | plugins: 38 | # eslint: # https://docs.codeclimate.com/docs/eslint 39 | # enabled: true 40 | # channel: "eslint-4" # Depends on installed ESLint version - See https://docs.codeclimate.com/docs/eslint#section-eslint-versions 41 | duplication: # https://docs.codeclimate.com/docs/duplication 42 | enabled: true 43 | config: 44 | languages: 45 | javascript: 46 | mass_threshold: 50 # See https://docs.codeclimate.com/docs/duplication#section-understand-the-engine 47 | fixme: # https://docs.codeclimate.com/docs/fixme 48 | enabled: true 49 | config: 50 | strings: # Skip "XXX" as we don't use it for things to fix but rather for highlighting comments (DX) 51 | - FIXME 52 | - BUG 53 | - TODO 54 | - HACK 55 | git-legal: # https://docs.codeclimate.com/docs/git-legal 56 | enabled: true 57 | # tslint: # https://docs.codeclimate.com/docs/tslint 58 | # enabled: true 59 | # config: tslint.json 60 | 61 | # See https://docs.codeclimate.com/docs/excluding-files-and-folders 62 | exclude_patterns: 63 | - "**/*.test.*" 64 | - "**/*.spec.*" 65 | - "__tests__/" 66 | - "lib/" 67 | 68 | # Default CC excluded paths: 69 | - "config/" 70 | - "db/" 71 | - "dist/" 72 | - "features/" 73 | - "**/node_modules/" 74 | - "script/" 75 | - "**/spec/" 76 | - "**/test/" 77 | - "**/tests/" 78 | - "**/vendor/" 79 | - "**/*.d.ts" 80 | - "**/*.js.map" 81 | -------------------------------------------------------------------------------- /.env.test.example: -------------------------------------------------------------------------------- 1 | # Create a token from https://vercel.com/account/tokens 2 | # The token must be generated from the Vercel account that owns the domain used by local tests (see VERCEL_DOMAIN defined below) 3 | # XXX In our case (at Unly), the token should be generated from a user account that belongs to the Vercel "Unly OSS" team. 4 | VERCEL_TOKEN= 5 | 6 | # Domain used for local testing, when running `yarn test`. 7 | VERCEL_DOMAIN=nrn-v2-mst-aptd-gcms-lcz-sty-c1-hfq88g3jt.vercel.app 8 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | src/**/*.test* 4 | src/gql/** 5 | src/propTypes/** 6 | src/svg/** 7 | src/types/** 8 | src/components/svg/** 9 | -------------------------------------------------------------------------------- /.eslintrc.yml: -------------------------------------------------------------------------------- 1 | --- 2 | env: 3 | browser: true 4 | commonjs: true 5 | es6: true 6 | node: true 7 | extends: 8 | - plugin:@typescript-eslint/recommended 9 | globals: 10 | Atomics: readonly 11 | SharedArrayBuffer: readonly 12 | plugins: 13 | - jest 14 | parser: '@typescript-eslint/parser' 15 | parserOptions: 16 | project: ./tsconfig.eslint.json 17 | rules: # See https://eslint.org/docs/rules 18 | semi: 19 | - error 20 | - always # Always put commas, to avoid multilines git diff when new lines are added 21 | quotes: 22 | - error 23 | - single # Prefer simple quotes 24 | - allowTemplateLiterals: true # Allow the use of `` instead of '' and don't try to replace it, even when `` isn't needed 25 | comma-spacing: 26 | - error 27 | - before: false 28 | after: true 29 | indent: 30 | - error 31 | - 2 32 | - SwitchCase: 1 33 | arrow-parens: 34 | - error 35 | - always 36 | max-len: 0 # Disable line length checks, because the IDE is already configured to warn about it, and it's a waste of time to check for lines that are too long, especially in comments (like this one!) 37 | strict: 'off' 38 | no-console: 0 39 | allowArrowFunctions: 0 40 | no-unused-vars: 0 # Disabled, already handled by @typescript-eslint/no-unused-vars 41 | import/prefer-default-export: 0 # When there is only a single export from a module, don't enforce a default export, but rather let developer choose what's best 42 | no-else-return: 0 # Don't enforce, let developer choose. Sometimes we like to specifically use "return" for the sake of comprehensibility and avoid ambiguity 43 | no-underscore-dangle: 0 # Allow _ before/after variables and functions, convention for something meant to be "private" 44 | arrow-body-style: 0 # Don't enforce, let developer choose. Sometimes we like to specifically use "return" for ease of debugging and printing 45 | quote-props: 46 | - warn 47 | - consistent-as-needed # Enforce consistency with quotes on props, either all must be quoted, or all unquoted for a given object 48 | no-extra-boolean-cast: 0 # Don't enforce, let developer choose. Using "!!!" is sometimes useful (edge cases), and has a semantic value (dev intention) 49 | object-curly-newline: 50 | - warn 51 | - ObjectExpression: 52 | multiline: true 53 | minProperties: 5 54 | consistent: true 55 | ObjectPattern: 56 | multiline: true 57 | minProperties: 5 58 | consistent: true 59 | ImportDeclaration: 60 | multiline: true 61 | minProperties: 8 # Doesn't play so well with webstorm, which wraps based on the number of chars in the row, not based on the number of props #sucks 62 | consistent: true 63 | ExportDeclaration: 64 | multiline: true 65 | minProperties: 5 66 | consistent: true 67 | linebreak-style: 68 | - error 69 | - unix 70 | '@typescript-eslint/ban-ts-comment': warn # ts-ignore are sometimes the only way to bypass a TS issue, we trust we will use them for good and not abuse them 71 | '@typescript-eslint/no-use-before-define': warn 72 | '@typescript-eslint/no-unused-vars': 73 | - warn 74 | - vars: 'all' # We don't want unused variables (noise) - XXX Note that this will be a duplicate of "no-unused-vars" rule 75 | args: 'none' # Sometimes it's useful to have unused arguments for later use, such as describing what args are available (DX) 76 | ignoreRestSiblings: true # Sometimes it's useful to have unused props for later use, such as describing what props are available (DX) 77 | '@typescript-eslint/ban-types': 78 | - error 79 | - extendDefaults: true 80 | types: 81 | '{}': false # Allow writing `type Props = {}` - See https://github.com/typescript-eslint/typescript-eslint/issues/2063#issuecomment-632833366 82 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | dist/** -diff linguist-generated=true -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | liberapay: unlyEd 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/having-a-question-.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Having a question? 3 | about: Use the community Discussions 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | Please ask questions in the [Discussions](https://github.com/UnlyEd/github-action-await-vercel/discussions)! :) 11 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Keeping your actions up to date with Dependabot 2 | # You can use Dependabot to keep the actions you use updated to the latest versions. 3 | # See https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot#enabling-dependabot-version-updates-for-actions 4 | 5 | version: 2 6 | updates: 7 | # Enable version updates for npm 8 | - package-ecosystem: 'github-actions' 9 | # Look for `package.json` and `lock` files in the `root` directory 10 | directory: '/' 11 | # Check the npm registry for updates every day (weekdays) 12 | schedule: 13 | interval: 'daily' 14 | -------------------------------------------------------------------------------- /.github/workflows/auto-git-release-production.yml: -------------------------------------------------------------------------------- 1 | # Summary: 2 | # Automatically tag and release when changes land on the "main" branch. 3 | # It uses "semantic-version" to resolve the next version to use, and then we use GitHub CLI to create or update the releases. 4 | # 5 | # See https://github.com/PaulHatch/semantic-version https://github.com/PaulHatch/semantic-version/tree/v5.0.2 6 | # See https://github.com/softprops/action-gh-release https://github.com/softprops/action-gh-release/tree/v1 7 | 8 | name: 'Auto release' 9 | on: 10 | push: 11 | branches: 12 | - main 13 | 14 | jobs: 15 | tag-and-release: 16 | runs-on: ubuntu-latest 17 | steps: 18 | - name: Fetching all commits for the current branch 19 | uses: actions/checkout@v3 20 | with: 21 | fetch-depth: 0 # Force fetch all commits - See https://github.com/PaulHatch/semantic-version#important-note-regarding-the-checkout-action 22 | 23 | - run: "echo \"GITHUB_SHA: ${{ github.sha }}\"" 24 | 25 | # Outputs documentation: https://github.com/PaulHatch/semantic-version/blob/master/src/main.ts#L22-L33 26 | - name: Resolving next Release Candidate version using semantic-version 27 | uses: paulhatch/semantic-version@v5.0.3 28 | id: next_semantic_version 29 | with: # See https://github.com/PaulHatch/semantic-version#usage 30 | tag_prefix: "v" # The prefix to use to identify tags 31 | major_pattern: "(MAJOR)" # A string which, if present in a git commit, indicates that a change represents a major (breaking) change 32 | minor_pattern: "(MINOR)" # Same as above except indicating a minor change 33 | version_format: "${major}.${minor}.${patch}-rc.${increment}" # A string to determine the format of the version output 34 | bump_each_commit: true # If this input is set to true, every commit will be treated as a new version, bumping the patch, minor, or major version based on the commit message. 35 | 36 | - name: Printing semantic-version outputs (for debugging) 37 | run: | 38 | echo "Most useful outputs:" 39 | echo "Next version: ${{steps.next_semantic_version.outputs.version}}" 40 | echo "Next version tag: ${{steps.next_semantic_version.outputs.version_tag}}" 41 | echo -e "\n All outputs:" 42 | echo "version: ${{steps.next_semantic_version.outputs.version}}" 43 | echo "major: ${{steps.next_semantic_version.outputs.major}}" 44 | echo "minor: ${{steps.next_semantic_version.outputs.minor}}" 45 | echo "patch: ${{steps.next_semantic_version.outputs.patch}}" 46 | echo "increment: ${{steps.next_semantic_version.outputs.increment}}" 47 | echo "version_type: ${{steps.next_semantic_version.outputs.version_type}}" 48 | echo "changed: ${{steps.next_semantic_version.outputs.changed}}" 49 | echo "authors: ${{steps.next_semantic_version.outputs.authors}}" 50 | echo "version_tag: ${{steps.next_semantic_version.outputs.version_tag}}" 51 | echo "previous_commit: ${{steps.next_semantic_version.outputs.previous_commit}}" 52 | echo "current_commit: ${{steps.next_semantic_version.outputs.current_commit}}" 53 | 54 | - name: Creating Git release tag for the "${{steps.next_semantic_version.outputs.version_tag}}" version 55 | run: | 56 | gh release create ${{steps.next_semantic_version.outputs.version_tag}} \ 57 | --title "${{steps.next_semantic_version.outputs.version_tag}}" \ 58 | --latest \ 59 | --generate-notes \ 60 | --target "${{github.sha}}" 61 | env: 62 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 63 | 64 | # Check if the major version already exists (if it doesn't, we'll create it - if it does, we'll update it) 65 | - name: Check if tag "v${{steps.next_semantic_version.outputs.major}}" exists 66 | uses: mukunku/tag-exists-action@v1.2.0 67 | id: majorTagExists 68 | with: # See https://github.com/mukunku/tag-exists-action#inputs 69 | tag: "v${{steps.next_semantic_version.outputs.major}}" 70 | 71 | - run: "echo \"Check if majorTagExists: ${{ steps.majorTagExists.outputs.exists }}\"" 72 | 73 | # See https://cli.github.com/manual/gh_release_create 74 | - name: Creating new release for the major "v${{steps.next_semantic_version.outputs.major}}" version 75 | if: ${{ steps.majorTagExists.outputs.exists == 'false' }} 76 | run: | 77 | gh release create v${{steps.next_semantic_version.outputs.major}} \ 78 | --title "v${{steps.next_semantic_version.outputs.major}} MAJOR release (auto-updated)" \ 79 | --generate-notes \ 80 | --target "${{github.sha}}" 81 | env: 82 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 83 | 84 | # See https://cli.github.com/manual/gh_release_edit 85 | - name: Recreating existing release for the major "v${{steps.next_semantic_version.outputs.major}}" version 86 | if: ${{ steps.majorTagExists.outputs.exists == 'true' }} 87 | run: | 88 | # Delete and create the release again 89 | gh release delete v${{steps.next_semantic_version.outputs.major}} --cleanup-tag --yes 90 | 91 | gh release create v${{steps.next_semantic_version.outputs.major}} \ 92 | --title "v${{steps.next_semantic_version.outputs.major}} MAJOR release (auto-updated)" \ 93 | --generate-notes \ 94 | --target "${{github.sha}}" 95 | env: 96 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 97 | 98 | # Check if the minor version already exists (if it doesn't, we'll create it - if it does, we'll update it) 99 | - name: Check if tag "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}" exists 100 | uses: mukunku/tag-exists-action@v1.2.0 101 | id: minorTagExists 102 | with: # See https://github.com/mukunku/tag-exists-action#inputs 103 | tag: "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}" 104 | 105 | - run: "echo \"Check if minorTagExists: ${{ steps.minorTagExists.outputs.exists }}\"" 106 | 107 | # See https://cli.github.com/manual/gh_release_create 108 | - name: Creating new release for the minor "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}" version 109 | if: ${{ steps.minorTagExists.outputs.exists == 'false' }} 110 | run: | 111 | gh release create v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}} \ 112 | --title "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}} MINOR release (auto-updated)" \ 113 | --generate-notes \ 114 | --target "${{github.sha}}" 115 | env: 116 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 117 | 118 | # See https://cli.github.com/manual/gh_release_edit 119 | - name: Recreating existing release for the minor "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}" version 120 | if: ${{ steps.minorTagExists.outputs.exists == 'true' }} 121 | run: | 122 | # Delete and create the release again 123 | gh release delete v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}} --cleanup-tag --yes 124 | 125 | gh release create v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}} \ 126 | --title "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}} MINOR release (auto-updated)" \ 127 | --generate-notes \ 128 | --target "${{github.sha}}" 129 | env: 130 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 131 | -------------------------------------------------------------------------------- /.github/workflows/auto-git-release-staging.yml: -------------------------------------------------------------------------------- 1 | # Summary: 2 | # Automatically tag and release when changes land on the "main" branch. 3 | # It uses "semantic-version" to resolve the next version to use, and then we use GitHub CLI to create or update the releases. 4 | # 5 | # See https://github.com/PaulHatch/semantic-version https://github.com/PaulHatch/semantic-version/tree/v5.0.2 6 | # See https://github.com/softprops/action-gh-release https://github.com/softprops/action-gh-release/tree/v1 7 | 8 | name: 'Auto release (release candidate)' 9 | on: 10 | push: 11 | branches-ignore: 12 | - main 13 | 14 | jobs: 15 | tag-and-release: 16 | runs-on: ubuntu-latest 17 | steps: 18 | - name: Fetching all commits for the current branch 19 | uses: actions/checkout@v3 20 | with: 21 | fetch-depth: 0 # Force fetch all commits - See https://github.com/PaulHatch/semantic-version#important-note-regarding-the-checkout-action 22 | 23 | - run: "echo \"GITHUB_SHA: ${{ github.sha }}\"" 24 | 25 | # Outputs documentation: https://github.com/PaulHatch/semantic-version/blob/master/src/main.ts#L22-L33 26 | - name: Resolving next Release Candidate version using semantic-version 27 | uses: paulhatch/semantic-version@v5.0.3 28 | id: next_semantic_version 29 | with: # See https://github.com/PaulHatch/semantic-version#usage 30 | tag_prefix: "v" # The prefix to use to identify tags 31 | major_pattern: "(MAJOR)" # A string which, if present in a git commit, indicates that a change represents a major (breaking) change 32 | minor_pattern: "(MINOR)" # Same as above except indicating a minor change 33 | version_format: "${major}.${minor}.${patch}-rc.${increment}" # A string to determine the format of the version output 34 | bump_each_commit: false # If this input is set to true, every commit will be treated as a new version, bumping the patch, minor, or major version based on the commit message. 35 | 36 | - name: Printing semantic-version outputs (for debugging) 37 | run: | 38 | echo "Most useful outputs:" 39 | echo "Next version: ${{steps.next_semantic_version.outputs.version}}" 40 | echo "Next version tag: ${{steps.next_semantic_version.outputs.version_tag}}" 41 | echo -e "\n All outputs:" 42 | echo "version: ${{steps.next_semantic_version.outputs.version}}" 43 | echo "major: ${{steps.next_semantic_version.outputs.major}}" 44 | echo "minor: ${{steps.next_semantic_version.outputs.minor}}" 45 | echo "patch: ${{steps.next_semantic_version.outputs.patch}}" 46 | echo "increment: ${{steps.next_semantic_version.outputs.increment}}" 47 | echo "version_type: ${{steps.next_semantic_version.outputs.version_type}}" 48 | echo "changed: ${{steps.next_semantic_version.outputs.changed}}" 49 | echo "authors: ${{steps.next_semantic_version.outputs.authors}}" 50 | echo "version_tag: ${{steps.next_semantic_version.outputs.version_tag}}" 51 | echo "previous_commit: ${{steps.next_semantic_version.outputs.previous_commit}}" 52 | echo "current_commit: ${{steps.next_semantic_version.outputs.current_commit}}" 53 | 54 | # Check if the major version already exists (if it doesn't, we'll create it - if it does, we'll update it) 55 | - name: Check if tag "v${{steps.next_semantic_version.outputs.major}}-rc" exists 56 | uses: mukunku/tag-exists-action@v1.2.0 57 | id: majorTagExists 58 | with: # See https://github.com/mukunku/tag-exists-action#inputs 59 | tag: "v${{steps.next_semantic_version.outputs.major}}-rc" 60 | 61 | - run: "echo \"Check if majorTagExists: ${{ steps.majorTagExists.outputs.exists }}\"" 62 | 63 | # See https://cli.github.com/manual/gh_release_create 64 | - name: Creating new release for the major "v${{steps.next_semantic_version.outputs.major}}-rc" version 65 | if: ${{ steps.majorTagExists.outputs.exists == 'false' }} 66 | run: | 67 | gh release create v${{steps.next_semantic_version.outputs.major}}-rc \ 68 | --title "v${{steps.next_semantic_version.outputs.major}}-rc MAJOR release (auto-updated)" \ 69 | --generate-notes \ 70 | --prerelease \ 71 | --target "${{github.sha}}" 72 | env: 73 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 74 | 75 | # See https://cli.github.com/manual/gh_release_edit 76 | - name: Recreating existing release for the major "v${{steps.next_semantic_version.outputs.major}}-rc" version 77 | if: ${{ steps.majorTagExists.outputs.exists == 'true' }} 78 | run: | 79 | # Delete and create the release again 80 | gh release delete v${{steps.next_semantic_version.outputs.major}}-rc --cleanup-tag --yes 81 | 82 | gh release create v${{steps.next_semantic_version.outputs.major}}-rc \ 83 | --title "v${{steps.next_semantic_version.outputs.major}}-rc MAJOR release (auto-updated)" \ 84 | --generate-notes \ 85 | --prerelease \ 86 | --target "${{github.sha}}" 87 | env: 88 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 89 | 90 | # Check if the minor version already exists (if it doesn't, we'll create it - if it does, we'll update it) 91 | - name: Check if tag "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc" exists 92 | uses: mukunku/tag-exists-action@v1.2.0 93 | id: minorTagExists 94 | with: # See https://github.com/mukunku/tag-exists-action#inputs 95 | tag: "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc" 96 | 97 | - run: "echo \"Check if minorTagExists: ${{ steps.minorTagExists.outputs.exists }}\"" 98 | 99 | # See https://cli.github.com/manual/gh_release_create 100 | - name: Creating new release for the minor "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc" version 101 | if: ${{ steps.minorTagExists.outputs.exists == 'false' }} 102 | run: | 103 | gh release create v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc \ 104 | --title "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc MINOR release (auto-updated)" \ 105 | --generate-notes \ 106 | --prerelease \ 107 | --target "${{github.sha}}" 108 | env: 109 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 110 | 111 | # See https://cli.github.com/manual/gh_release_edit 112 | - name: Recreating existing release for the minor "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc" version 113 | if: ${{ steps.minorTagExists.outputs.exists == 'true' }} 114 | run: | 115 | # Delete and create the release again 116 | gh release delete v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc --cleanup-tag --yes 117 | 118 | gh release create v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc \ 119 | --title "v${{steps.next_semantic_version.outputs.major}}.${{steps.next_semantic_version.outputs.minor}}-rc MINOR release (auto-updated)" \ 120 | --generate-notes \ 121 | --prerelease \ 122 | --target "${{github.sha}}" 123 | env: 124 | GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" 125 | -------------------------------------------------------------------------------- /.github/workflows/check-build.yml: -------------------------------------------------------------------------------- 1 | # Summary: 2 | # Test if the GitHub Action builds correctly. 3 | # Makes sure the GitHub Action builds when being built by GitHub Actions. 4 | # 5 | # See https://github.com/actions/checkout https://github.com/actions/checkout/releases/tag/v3 6 | 7 | name: 'GitHub Action build test' 8 | on: 9 | pull_request: 10 | push: 11 | 12 | jobs: 13 | run-build-test: 14 | strategy: 15 | matrix: 16 | version: [ 16, 18, 20 ] 17 | runs-on: ubuntu-latest 18 | steps: 19 | - uses: actions/checkout@v3 20 | - run: | 21 | yarn 22 | yarn build:once 23 | -------------------------------------------------------------------------------- /.github/workflows/run-integration-test.yml: -------------------------------------------------------------------------------- 1 | # Summary: 2 | # Test the GitHub Action using an integration test. 3 | # Makes sure the GitHub Action works properly when running on a clean machine, without building anything (integration test). 4 | # This integration test will break if the Vercel project or deployment are deleted, or if the VERCEl_TOKEN doesn't have access to the deployment url. 5 | # 6 | # See https://github.com/actions/checkout https://github.com/actions/checkout/releases/tag/v3 7 | 8 | name: 'GitHub Action integration test' 9 | on: 10 | pull_request: 11 | push: 12 | 13 | jobs: 14 | run-integration-test: 15 | strategy: 16 | matrix: 17 | version: [ 16, 18, 20 ] 18 | runs-on: ubuntu-latest 19 | steps: 20 | - uses: actions/checkout@v3 21 | - run: yarn # Install all dependencies 22 | - uses: ./ 23 | env: 24 | VERCEL_TOKEN: ${{ secrets.VERCEl_TOKEN }} 25 | with: 26 | # Testing whether some existing vercel deployment is properly deployed 27 | deployment-url: "nextjs-bzyss249z.vercel.app" # In our case (at Unly), the "VERCEL_DOMAIN" secret value should probably use the same value 28 | timeout: 10 29 | -------------------------------------------------------------------------------- /.github/workflows/update-codeclimate-coverage.yml: -------------------------------------------------------------------------------- 1 | # Summary: 2 | # Run Unit and coverage tests, then upload it to Code Climate dashboard 3 | # 4 | # See https://github.com/actions/checkout https://github.com/actions/checkout/releases/tag/v3 5 | # See https://github.com/paambaati/codeclimate-action https://github.com/paambaati/codeclimate-action/tree/v3.2.0 6 | 7 | name: Update Code Climate test coverage 8 | 9 | on: 10 | push: 11 | branches: 12 | - main # Change this branch name by your CodeClimate "main" branch use 13 | 14 | jobs: 15 | # Configures the deployment environment, install dependencies (like node, npm, etc.) that are requirements for the upcoming jobs 16 | # Ex: Necessary to run `yarn test:coverage` 17 | setup-environment: 18 | name: Setup deployment environment (Ubuntu 22.04 - Node 20.x) 19 | runs-on: ubuntu-latest 20 | steps: 21 | - name: Installing node.js 22 | uses: actions/setup-node@v3 # Used to install node environment - XXX https://github.com/actions/setup-node 23 | with: 24 | node-version: 20 # Use the same node.js version as the one Vercel's uses (currently node20.x) 25 | run-tests-coverage: 26 | name: Run tests coverage and send report to Code Climate 27 | runs-on: ubuntu-latest 28 | steps: 29 | - uses: actions/checkout@v3 30 | - name: Installing dependencies 31 | run: yarn install 32 | - uses: paambaati/codeclimate-action@v3.2.0 33 | env: 34 | # XXX Necessary for running tests properly (required). Do not generate the token from a Vercel account with actual production usage. (use a dummy account) 35 | VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # XXX Define this secret in "Github repo > Settings > Secrets", you can get it from Vercel at https://vercel.com/account/tokens 36 | VERCEL_DOMAIN: ${{ secrets.VERCEL_DOMAIN }} # XXX Define this secret in "Github repo > Settings > Secrets", it should use a domain the VERCEL_TOKEN you provided has access to 37 | CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} # XXX Define this secret in "Github repo > Settings > Secrets", you can get it from Code Climate in "Repo settings > Test coverage". 38 | with: 39 | coverageCommand: yarn test:coverage 40 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.gitignore.io/api/webstorm 2 | 3 | ### WebStorm ### 4 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm 5 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 6 | 7 | # User-specific stuff 8 | .idea/**/workspace.xml 9 | .idea/**/tasks.xml 10 | .idea/**/usage.statistics.xml 11 | .idea/**/dictionaries 12 | .idea/**/shelf 13 | 14 | # Sensitive or high-churn files 15 | .idea/**/dataSources/ 16 | .idea/**/dataSources.ids 17 | .idea/**/dataSources.local.xml 18 | .idea/**/sqlDataSources.xml 19 | .idea/**/dynamic.xml 20 | .idea/**/uiDesigner.xml 21 | .idea/**/dbnavigator.xml 22 | 23 | # Gradle 24 | .idea/**/gradle.xml 25 | .idea/**/libraries 26 | 27 | # Gradle and Maven with auto-import 28 | # When using Gradle or Maven with auto-import, you should exclude module files, 29 | # since they will be recreated, and may cause churn. Uncomment if using 30 | # auto-import. 31 | # .idea/modules.xml 32 | # .idea/*.iml 33 | # .idea/modules 34 | 35 | # CMake 36 | cmake-build-*/ 37 | 38 | # Mongo Explorer plugin 39 | .idea/**/mongoSettings.xml 40 | 41 | # File-based project format 42 | *.iws 43 | 44 | # IntelliJ 45 | out/ 46 | 47 | # mpeltonen/sbt-idea plugin 48 | .idea_modules/ 49 | 50 | # JIRA plugin 51 | atlassian-ide-plugin.xml 52 | 53 | # Cursive Clojure plugin 54 | .idea/replstate.xml 55 | 56 | # Crashlytics plugin (for Android Studio and IntelliJ) 57 | com_crashlytics_export_strings.xml 58 | crashlytics.properties 59 | crashlytics-build.properties 60 | fabric.properties 61 | 62 | # Editor-based Rest Client 63 | .idea/httpRequests 64 | 65 | ### WebStorm Patch ### 66 | # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 67 | 68 | # TODO Comment those if you've cloned the project and are using WebStorm as they should be tracked in your project, but shouldn't be tracked in the boilerplate to avoid conflicts when cloning 69 | *.iml 70 | modules.xml 71 | .idea/misc.xml 72 | .idea/codeStyles 73 | *.ipr 74 | vcs.xml 75 | 76 | # Sonarlint plugin 77 | .idea/sonarlint 78 | 79 | .idea/inspectionProfiles/Project_Default.xml 80 | 81 | 82 | # End of https://www.gitignore.io/api/webstorm 83 | 84 | ######################### CUSTOM/MANUAL ############################# 85 | 86 | # See https://help.github.com/ignore-files/ for more about ignoring files. 87 | 88 | # IDE plugins 89 | .idea/markdown-navigator*/** 90 | 91 | # package directories 92 | #node_modules # XXX Necessary for GitHub Actions 93 | jspm_packages 94 | 95 | # Serverless directories 96 | .serverless 97 | .webpack 98 | .next 99 | dist 100 | 101 | .DS_Store 102 | .sls-simulate-registry 103 | 104 | # Builds 105 | build 106 | .firebase 107 | coverage/ 108 | 109 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 110 | 111 | # dependencies 112 | /.pnp 113 | .pnp.js 114 | 115 | # testing 116 | /coverage 117 | 118 | # Environment variables 119 | .env* 120 | .env*.local 121 | !.env*.example 122 | 123 | # debug 124 | npm-debug.log* 125 | yarn-debug.log* 126 | yarn-error.log* 127 | 128 | # Tmp files (cache, etc.) 129 | *.cache 130 | github-action-runtime/stats.json 131 | 132 | # NPM modules 133 | node_modules/ 134 | -------------------------------------------------------------------------------- /.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v20 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .github/ 2 | coverage/ 3 | node_modules/ 4 | lib/ 5 | README.md 6 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | printWidth: 160, 3 | trailingComma: 'all', 4 | semi: true, 5 | singleQuote: true, 6 | quoteProps: 'consistent', 7 | }; 8 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | === 3 | 4 | Please visit [our releases page](../../releases). 5 | 6 | Each release is automatic, using the workflow [`.github/workflows/auto-git-release-production.yml`](/blob/main/.github/workflows/auto-git-release-production.yml). 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Unly 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Unly logo 2 | [![Maintainability](https://api.codeclimate.com/v1/badges/c0cb5c0cecadfb391a1a/maintainability)](https://codeclimate.com/github/UnlyEd/github-action-await-vercel/maintainability) 3 | [![Test Coverage](https://api.codeclimate.com/v1/badges/c0cb5c0cecadfb391a1a/test_coverage)](https://codeclimate.com/github/UnlyEd/github-action-await-vercel/test_coverage) 4 | 5 | ![GitHub Action integration test](https://github.com/UnlyEd/github-action-await-vercel/workflows/GitHub%20Action%20integration%20test/badge.svg) 6 | ![GitHub Action build test](https://github.com/UnlyEd/github-action-await-vercel/workflows/GitHub%20Action%20build%20test/badge.svg) 7 | ![Update Code Climate test coverage](https://github.com/UnlyEd/github-action-await-vercel/workflows/Update%20Code%20Climate%20test%20coverage/badge.svg) 8 | 9 | # GitHub Action - Await for a Vercel deployment (to be ready) 10 | 11 | ## Code snippet example (minimal example) 12 | 13 | ```yaml 14 | jobs: 15 | wait-for-vercel-deployment: 16 | runs-on: ubuntu-latest 17 | steps: 18 | - uses: UnlyEd/github-action-await-vercel@v1 # TODO best practices recommend to use a fixed version instead of @v1 for production usage (i.e: @v1.2.32) 19 | id: await-vercel 20 | env: 21 | VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} 22 | with: 23 | deployment-url: nextjs-bzyss249z.vercel.app # TODO Replace by the domain you want to test 24 | timeout: 10 # Wait for 10 seconds before failing 25 | poll-interval: 1 # Wait for 1 second before each retry 26 | 27 | - name: Display deployment status 28 | run: "echo The deployment at ${{ fromJson(steps.await-vercel.outputs.deploymentDetails).url }} is ${{ fromJson(steps.await-vercel.outputs.deploymentDetails).readyState }}" 29 | ``` 30 | 31 | _See the [Examples section](#examples) for more advanced examples._ 32 | 33 | ## What does this GitHub Action do? 34 | It waits until a Vercel deployment domain is marked as "READY". _(See [`readyState === 'READY'`](https://vercel.com/docs/api#endpoints/deployments/create-a-new-deployment/response-parameters))_ 35 | 36 | You must know the domain url you want to await for and provide it as `deployment-url` input. 37 | 38 | ## Why/when should you use it? 39 | If you're using Vercel to deploy your apps, and you use some custom deployment pipeline using GitHub Actions, 40 | you might need to wait for a deployment to be ready before running other processes _(e.g: Your end-to-end tests using [Cypress](https://www.cypress.io/))_. 41 | 42 | > For instance, if you don't wait for the deployment to be ready, 43 | then you might sometimes run your E2E tests suite against the Vercel's login page, instead of your actual deployment. 44 | 45 | If your GitHub Actions sometimes succeeds but sometimes fails, then you probably need to await for the domain to be ready. 46 | This action might help doing so, as it will wait until the Vercel deployment is really ready, before starting your next GitHub Action step. 47 | 48 | ## What else does this action do? 49 | This action automatically forwards the Vercel API response, which contains [additional information about the deployment](https://vercel.com/docs/api#endpoints/deployments/get-a-single-deployment/response-parameters). 50 | This can be quite helpful if you need them, and will avoid for you to have yet to make another call to the Vercel API. 51 | 52 | ## Considered alternatives 53 | 54 | ### 1. [`wait-for-vercel`](https://github.com/mskelton/wait-for-vercel-action) 55 | 56 | Before building our own GitHub Action, we tried using [`wait-for-vercel`](https://github.com/mskelton/wait-for-vercel-action), but it didn't handle our use case properly. 57 | 58 | Part of the issue is that it fetches **all deployments for a team/project**, which leads to **extra issues when you have multiple deployments running in parallel**. _(as it won't necessarily fetch the domain you expect, it's a bit random when multiple deployments are running in parallel)_ 59 | 60 | > **If you are/were using `wait-for-vercel`**, please note `github-action-await-vercel` works slightly differently, as it requires the `deployment-url` input, while `wait-for-vercel` didn't. 61 | > But this ensures you await for the proper domain to be deployed, and is safe, even when multiple deployments are running in parallel. 62 | 63 | ## Getting started 64 | To get started with this GitHub Action, you'll need: 65 | - To configure a Vercel secret, for the GitHub Action to be authorized to fetch your deployments 66 | - To provide a few required options (like, the domain you want to await for) 67 | 68 | ### GitHub project configuration 69 | You should declare those variables as **[GitHub Secrets](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets)**. 70 | 71 | Name | Description 72 | --- | --- 73 | `VERCEL_TOKEN` | Your [vercel token](https://vercel.com/account/tokens) is required to fetch the Vercel API on your behalf and get the status of your deployment. [See usage in code](https://github.com/UnlyEd/github-action-await-vercel/search?q=VERCEL_TOKEN) 74 | 75 | > _**N.B**: You don't have to use a GitHub Secret to provide the `VERCEL_TOKEN`. But you should do so, as it's a good security practice, because this way the token will be [hidden in the logs (encrypted)](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets)._ 76 | 77 | ### Action's API 78 | 79 | #### Inputs 80 | Name | Required | Default | Description 81 | --- | --- |--- |--- 82 | `deployment-url`|✅| |Deployment domain (e.g: `my-app-hfq88g3jt.vercel.app`, `my-app.vercel.app`, etc.). 83 | `timeout`|✖️|`10`|Duration (in seconds) the action waits for the deployment status to reach either `READY` or `ERROR` state. 84 | `poll-interval`|✖️|`1`|Duration (in seconds) the action waits in between polled Vercel API requests. 85 | 86 | > **Tip**: You might want to adapt the `timeout` to your use case. 87 | > - For instance, if you're calling this action **right after having triggered the Vercel deployment**, then it'll go through `INITIALIZING > ANALYZING > BUILDING > DEPLOYING` phases before reaching `READY` or `ERROR` state. 88 | > This might take quite some time (depending on your project), and increasing the timeout to `600` (10mn) (or similar) is probably what you'll want to do in such case, because you need to take into account the time it'll take for Vercel to deploy. 89 | > - The default of `10` seconds is because we _assume_ you'll call this action after the deployment has reached `BUILDING` state, and the time it takes for Vercel to reach `READY` or `ERROR` from `BUILDING` is rather short. 90 | 91 | > **Tip**: `poll-interval` prevents spamming Vercel's API such that the number of requests stays within their rate limits. [Vercel allows](https://vercel.com/docs/concepts/limits/overview#rate-limits) 500 deployment retrievals every minute, and the 1-second default value will allow for about 8 concurrent executions of this GitHub Action. 92 | 93 | #### Outputs 94 | This action forwards the [Vercel API response](https://vercel.com/docs/api#endpoints/deployments/get-a-single-deployment/response-parameters) as return value. 95 | 96 | Name | Description 97 | --- | --- 98 | `deploymentDetails` | [JSON object](https://vercel.com/docs/api#endpoints/deployments/get-a-single-deployment/response-parameters). You can also use our [TS type](./blob/main/src/types/VercelDeployment.ts). 99 | 100 | ## Examples 101 | 102 | ### 1. Manually set a hardcoded Vercel deployment url as `deployment-url` (as GitHub env variable) 103 | In the below example, we show you how to: 104 | 105 | 1. **Step 1**: Forward `VERCEL_DEPLOYMENT_URL` as an ENV variable, using ` >> $GITHUB_ENV"` which stores the value into the GitHub Actions env vars. 106 | Of course, you might do it differently. It doesn't really matter as long as `VERCEL_DEPLOYMENT_URL` is set. 107 | 1. **Step 2**: Then, we use the `UnlyEd/github-action-await-vercel@v1` GitHub Action, which waits for the deployment url to be ready. 108 | 1. **Step 3**: Finally, we show an example on how to read the deployment's information returned by the Vercel API (which have been forwarded). 109 | 110 | ```yaml 111 | on: 112 | pull_request: 113 | push: 114 | branches: 115 | - main 116 | 117 | jobs: 118 | wait-for-vercel-deployment: 119 | runs-on: ubuntu-latest 120 | steps: 121 | - name: Retrieve deployment URL (example on how to set an ENV var) 122 | run: "echo VERCEL_DEPLOYMENT_URL=nextjs-bzyss249z.vercel.app >> $GITHUB_ENV" 123 | 124 | - uses: UnlyEd/github-action-await-vercel@v1 # TODO best practices recommend to use a fixed version instead of @v1 for production usage (i.e: @v1.2.32) 125 | id: await-vercel 126 | env: 127 | VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} 128 | with: 129 | deployment-url: ${{ env.VERCEL_DEPLOYMENT_URL }} 130 | timeout: 10 # Wait for 10 seconds before failing 131 | 132 | - name: Displays the deployment name (example on how to read information about the deployment) 133 | run: "echo The deployment at ${{ fromJson(steps.await-vercel.outputs.deploymentDetails).url }} is ${{ fromJson(steps.await-vercel.outputs.deploymentDetails).readyState }}" 134 | ``` 135 | 136 | Check the documentation to see what information [`deploymentDetails`](https://vercel.com/docs/api#endpoints/deployments/get-a-single-deployment/response-parameters) contains. 137 | 138 | ### 2. Dynamically resolve the Vercel deployment url 139 | 140 | This is a real-world use case example, from [Next Right Now](https://github.com/UnlyEd/next-right-now). 141 | 142 | The workflow is a bit more complicated: 143 | 1. All Vercel deployments for the team are fetched dynamically. 144 | 1. Then the latest deployment url is extracted and used as `deployment-url` input by `github-action-await-vercel`. 145 | 1. Once the deployment is ready, the `run-2e2-tests` job is started (using Cypress). 146 | 147 | [See code](https://github.com/UnlyEd/next-right-now/blob/v4.0.12-v2-mst-aptd-at-lcz-sty/.github/workflows/deploy-vercel-staging.yml#L174-L236) 148 | 149 | --- 150 | 151 | # Advanced debugging 152 | 153 | > Learn how to enable logging, from within the `github-action-await-vercel` action. 154 | 155 | ## How to enable debug logs 156 | 157 | Our GitHub Action is written using the GitHub Actions native [`core.debug` API](https://github.com/actions/toolkit/blob/main/docs/action-debugging.md#step-debug-logs). 158 | 159 | Therefore, it allows you to enable logging whenever you need to debug **what's happening within our action**. 160 | 161 | **To enable debug mode**, you have to set a [**GitHub Secret**](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets#creating-encrypted-secrets), such as: 162 | 163 | - `ACTIONS_STEP_DEBUG` of value `true` 164 | 165 | Please see [the official documentation](https://github.com/actions/toolkit/blob/main/docs/action-debugging.md#how-to-access-step-debug-logs) for more information. 166 | 167 | > Enabling debugging using `ACTIONS_STEP_DEBUG` will also enable debugging for all other GitHub Actions you use that are using the `core.debug` API. 168 | 169 | --- 170 | 171 | # Contributing 172 | 173 | We gladly accept PRs, but please open an issue first, so we can discuss it beforehand. 174 | 175 | ## Working locally 176 | 177 | ### Configuring local tests 178 | You'll need to create a `.env.test` file based on `.env.test.example`. 179 | Then, you'll need to create and add your own Vercel token there (`VERCEL_TOKEN`), and change the `VERCEL_DOMAIN` being tested to a domain you own (any Vercel domain will do). 180 | 181 | > Local tests rely on the **environment variable** `VERCEL_TOKEN`, and must use your own Vercel account and credentials. 182 | > 183 | > Integration tests (on GitHub) rely on the **GitHub secret** `VERCEL_TOKEN` instead, and use a dedicated Vercel account. 184 | 185 | --- 186 | 187 | # Changelog 188 | 189 | [Changelog](./CHANGELOG.md) 190 | 191 | --- 192 | 193 | # Releases versioning 194 | 195 | We follow Semantic Versioning. (`major.minor.patch`) 196 | 197 | Our versioning process is completely automated, any changes landing on the `main` branch will trigger a 198 | new [release](../../releases). 199 | 200 | - `(MAJOR)`: Behavioral change of the existing API that would result in a breaking change. 201 | - E.g: Removing an input, or changing the output would result in a breaking change and thus would be released as a 202 | new MAJOR version. 203 | - `(MINOR)`: Behavioral change of the existing API that would **not** result in a breaking change. 204 | - E.g: Adding an optional input would result in a non-breaking change and thus would be released as a new MINOR 205 | version. 206 | - `Patch`: Any other change. 207 | - E.g: Documentation, tests, refactoring, bug fix, etc. 208 | 209 | ## Releases versions: 210 | 211 | The examples above use an auto-updated major version tag (`@v1`). 212 | It is also possible to use the `@latest` tag. (RC stands for "Release candidate", which is similar to a Beta version) 213 | 214 | While those options can be useful, we intend to give some "production-grade" best practices. 215 | 216 | - **Do NOT use `@latest` for production**, ever. While only "supposed-to-be-stable" versions will be tagged 217 | as `@latest`, it could harbor bugs nonetheless. 218 | - You can use auto-upgrading major version, such as `@v1` or `@v1.2`, but this is not always the best practice, see our 219 | explanations below. 220 | 221 | ### Special tags and best practices for production-grade apps 222 | 223 | Here are a few useful options you can use to pin a more-or-less specific version of our GitHub Action, alongside some " 224 | production-grade" best practices. 225 | 226 | - `@{COMMIT-SHA}`, e.g: `@1271dc3fc4c4c8bc62ba5a4e248dac95cb82d0e3`, recommended for all production-grade apps, it's the 227 | only truly safe way to pinpoint a version that cannot change against your will (**SAFEST**) 228 | - `@{MAJOR}-{MINOR}-{PATCH}`, e.g: `@v1.2.31`, while not as safe as the `COMMIT-SHA` way, it's what most people use ( 229 | SAFER) 230 | - `@{MAJOR}`, e.g: `@v1`, can be used on production, but we do not advise to do so (SAFE-ISH) 231 | - `@{MAJOR}-rc`, e.g: `@v1-rc`, **reserved for development mode**, useful when debugging on a specific prerelease 232 | version (UNSAFE) 233 | - `@{MAJOR}.{MINOR}`, e.g: `@v1.2`, can be used on production, but we do not advise to do so (SAFE-ISH) 234 | - `@{MAJOR}.{MINOR}-rc`, e.g: `@v1.2-rc`, **reserved for development mode**, useful when debugging on a specific 235 | prerelease 236 | version (UNSAFE) 237 | - `@latest`, **reserved for development mode**, useful when debugging (UNSAFE) 238 | 239 | **"But, what is the issue with the `@{MAJOR}-{MINOR}-{PATCH}` way to pin a specific version"?** 240 | 241 | > Well, if this repository gets hacked by a 3rd party, **they can easily change all Git tags to a different commit**, 242 | which could contain malicious code. 243 | 244 | That's why **pinning a specific commit SHA is the only truly safe option**. This way, the code you're using **cannot be 245 | changed against your will**. 246 | 247 | Most people won't care about this and will use a MAJOR version tag instead anyway, such as `@v1`. It's common, but not 248 | often the best practice. 249 | 250 | It all comes down to the risks you're ready to take, and it's up to you to decide what's best in your situation. 251 | 252 | --- 253 | 254 | # License 255 | 256 | [MIT](./LICENSE) 257 | 258 | --- 259 | 260 | # Vulnerability disclosure 261 | 262 | [See our policy](https://github.com/UnlyEd/Unly). 263 | 264 | --- 265 | 266 | # Contributors and maintainers 267 | 268 | This project is being authored by: 269 | 270 | - [Unly] Ambroise Dhenain ([Vadorequest](https://github.com/vadorequest)) **(active)** 271 | - Hugo Martin ([Demmonius](https://github.com/demmonius)) **(active)** 272 | 273 | --- 274 | 275 | # **[ABOUT UNLY]** Unly logo 276 | 277 | > [Unly](https://unly.org) is a socially responsible company, fighting inequality and facilitating access to higher education. 278 | > Unly is committed to making education more inclusive, through responsible funding for students. 279 | 280 | We provide technological solutions to help students find the necessary funding for their studies. 281 | 282 | We proudly participate in many TechForGood initiatives. To support and learn more about our actions to make education accessible, visit : 283 | 284 | - https://twitter.com/UnlyEd 285 | - https://www.facebook.com/UnlyEd/ 286 | - https://www.linkedin.com/company/unly 287 | - [Interested to work with us?](https://jobs.zenploy.io/unly/about) 288 | 289 | Tech tips and tricks from our CTO on our [Medium page](https://medium.com/unly-org/tech/home)! 290 | 291 | # TECHFORGOOD #EDUCATIONFORALL 292 | -------------------------------------------------------------------------------- /__tests__/config.test.ts: -------------------------------------------------------------------------------- 1 | import { millisecondsFromInput } from '../src/config'; 2 | 3 | describe('millisecondsFromInput', () => { 4 | let prevEnvValue: string | undefined; 5 | 6 | beforeEach(() => { 7 | prevEnvValue = process.env.INPUT_TIMEOUT; 8 | process.env.INPUT_TIMEOUT = '10'; 9 | }); 10 | 11 | afterEach(() => { 12 | process.env.INPUT_TIMEOUT = prevEnvValue; 13 | }); 14 | 15 | it('should convert seconds string to milliseconds', () => { 16 | expect(millisecondsFromInput('timeout')).toBe(10_000); 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /__tests__/main.test.ts: -------------------------------------------------------------------------------- 1 | import * as cp from 'child_process'; 2 | import * as path from 'path'; 3 | import * as process from 'process'; 4 | import { BUILD_DIR, BUILD_MAIN_FILENAME } from '../src/config'; 5 | 6 | /** 7 | * Enhance the Node.js environment "global" variable to add our own types 8 | * 9 | * @see https://stackoverflow.com/a/42304473/2391795 10 | */ 11 | declare global { 12 | let muteConsole: () => any; 13 | let muteConsoleButLog: () => any; 14 | let unmuteConsole: () => any; 15 | } 16 | 17 | /** 18 | * Executes the compiled version of the Action's main file. (.js) 19 | * 20 | * The goal is to test the file that is actually executed by GitHub Action. 21 | * Additionally, we could also test the TS files, but we didn't do it to avoid over-complicating things (didn't seem necessary). 22 | * 23 | * @param options 24 | */ 25 | function exec_lib(options: cp.ExecFileSyncOptions): string { 26 | /** 27 | * Path of the node.js binary being used. 28 | * 29 | * @example/usr/local/Cellar/node/14.3.0/bin/node 30 | */ 31 | const nodeBinaryPath = process.execPath; 32 | 33 | /** 34 | * Path of the compiled version of the Action file entrypoint. 35 | * 36 | * @example .../github-action-await-vercel/lib/main.js 37 | */ 38 | const mainFilePath = path.join(__dirname, '..', BUILD_DIR, BUILD_MAIN_FILENAME); 39 | 40 | try { 41 | // console.debug(`Running command "${nodeBinaryPath} ${mainFilePath}"`); 42 | return cp 43 | .execFileSync(nodeBinaryPath, [mainFilePath], { 44 | env: { 45 | NODE_ENV: 'test', 46 | ...options.env, 47 | }, 48 | ...options, 49 | }) 50 | .toString(); 51 | } catch (e) { 52 | console.error(e?.output?.toString()); 53 | console.error(e); 54 | throw e; 55 | } 56 | } 57 | 58 | describe('Functional test', () => { 59 | const CORRECT_DOMAIN = `${process.env.VERCEL_DOMAIN}`; 60 | const WRONG_DOMAIN = 'i-am-wrong.vercel.app'; 61 | 62 | describe('should pass when', () => { 63 | beforeEach(() => { 64 | // @ts-ignore 65 | global.console = global.unmuteConsole(); 66 | }); 67 | 68 | describe('using a valid Vercel domain', () => { 69 | const MAX_TIMEOUT = '2'; // Max timeout in seconds, as string 70 | const options: cp.ExecFileSyncOptions = { 71 | env: { 72 | 'INPUT_DEPLOYMENT-URL': CORRECT_DOMAIN, 73 | 'INPUT_TIMEOUT': MAX_TIMEOUT, 74 | 'INPUT_POLL-INTERVAL': '1', 75 | 'VERCEL_TOKEN': process.env.VERCEL_TOKEN, 76 | }, 77 | }; 78 | /* Github starts actions by using the program, not only a function. A nice way to test would is to exec `node ../lib/main.js` 79 | We already prepared valid inputs to try the action. 80 | Then, from this command, we can get a string which contains every logs/actions performed in it. 81 | We are not interested by debug lines so we remove them. 82 | */ 83 | const filteredContent = exec_lib(options) 84 | .split('\n') 85 | .filter((lineDisplayed) => !lineDisplayed.startsWith('::debug::')) 86 | .join(); 87 | 88 | test('should not return an error', () => { 89 | expect(filteredContent.includes('name=deploymentDetails::')).toBe(true); 90 | }); 91 | test('should return deployment detail', () => { 92 | expect(filteredContent.includes('deploymentDetails')).toBe(true); 93 | }); 94 | }); 95 | }); 96 | 97 | describe('should not pass when', () => { 98 | beforeEach(() => { 99 | // @ts-ignore 100 | global.console = global.muteConsole(); 101 | }); 102 | 103 | describe('using a wrong Vercel domain', () => { 104 | const MAX_TIMEOUT = '2'; // Max timeout in seconds, as string 105 | const options: cp.ExecFileSyncOptions = { 106 | env: { 107 | 'INPUT_DEPLOYMENT-URL': 'i-am-wrong-domain.vercel.app', 108 | 'INPUT_TIMEOUT': MAX_TIMEOUT, 109 | 'INPUT_POLL-INTERVAL': '1', 110 | 'VERCEL_TOKEN': process.env.VERCEL_TOKEN, 111 | }, 112 | }; 113 | test('should return an error', () => { 114 | try { 115 | exec_lib(options); 116 | //This should never happen 117 | expect(false).toBe(true); 118 | } catch (error) { 119 | const errorString: string = error.stdout.toString(); 120 | expect(errorString.includes('not_found')).toBe(true); 121 | } 122 | }); 123 | }); 124 | 125 | describe('using a wrong Vercel token', () => { 126 | const MAX_TIMEOUT = '5'; // Max timeout in seconds, as string 127 | const options: cp.ExecFileSyncOptions = { 128 | env: { 129 | 'INPUT_DEPLOYMENT-URL': WRONG_DOMAIN, 130 | 'INPUT_TIMEOUT': MAX_TIMEOUT, 131 | 'INPUT_POLL-INTERVAL': '1', 132 | 'VERCEL_TOKEN': 'not valid', 133 | }, 134 | }; 135 | test('should return an error', () => { 136 | try { 137 | exec_lib(options); 138 | //This should never happen 139 | expect(false).toBe(true); 140 | } catch (error) { 141 | const errorString: string = error.stdout.toString(); 142 | expect(errorString.includes('not_found')).toBe(true); 143 | } 144 | }); 145 | }); 146 | }); 147 | }); 148 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: 'Await for Vercel deployment' 2 | description: 'Awaits for a Vercel deployment to be ready' 3 | branding: 4 | icon: activity 5 | color: black 6 | inputs: 7 | deployment-url: 8 | description: 'Url you want to wait for' 9 | required: true 10 | timeout: 11 | description: 'Duration (in seconds) to wait for a terminal deployment status' 12 | required: false 13 | default: '10' 14 | poll-interval: 15 | description: 'Duration (in seconds) to wait in between polled Vercel API requests' 16 | required: false 17 | default: '1' 18 | outputs: 19 | deploymentDetails: 20 | description: 'Forwarded Vercel API response - See https://vercel.com/docs/api#endpoints/deployments/get-a-single-deployment/response-parameters' 21 | runs: 22 | using: 'node20' 23 | main: 'github-action-runtime/index.js' 24 | -------------------------------------------------------------------------------- /github-action-runtime/LICENSE: -------------------------------------------------------------------------------- 1 | @actions/core 2 | MIT 3 | The MIT License (MIT) 4 | 5 | Copyright 2019 GitHub 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 10 | 11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | 13 | @actions/http-client 14 | MIT 15 | Actions Http Client for Node.js 16 | 17 | Copyright (c) GitHub, Inc. 18 | 19 | All rights reserved. 20 | 21 | MIT License 22 | 23 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 24 | associated documentation files (the "Software"), to deal in the Software without restriction, 25 | including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 26 | and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, 27 | subject to the following conditions: 28 | 29 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 32 | LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 33 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 34 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 35 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 36 | 37 | 38 | @adobe/node-fetch-retry 39 | Apache-2.0 40 | Apache License 41 | Version 2.0, January 2004 42 | http://www.apache.org/licenses/ 43 | 44 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 45 | 46 | 1. Definitions. 47 | 48 | "License" shall mean the terms and conditions for use, reproduction, 49 | and distribution as defined by Sections 1 through 9 of this document. 50 | 51 | "Licensor" shall mean the copyright owner or entity authorized by 52 | the copyright owner that is granting the License. 53 | 54 | "Legal Entity" shall mean the union of the acting entity and all 55 | other entities that control, are controlled by, or are under common 56 | control with that entity. For the purposes of this definition, 57 | "control" means (i) the power, direct or indirect, to cause the 58 | direction or management of such entity, whether by contract or 59 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 60 | outstanding shares, or (iii) beneficial ownership of such entity. 61 | 62 | "You" (or "Your") shall mean an individual or Legal Entity 63 | exercising permissions granted by this License. 64 | 65 | "Source" form shall mean the preferred form for making modifications, 66 | including but not limited to software source code, documentation 67 | source, and configuration files. 68 | 69 | "Object" form shall mean any form resulting from mechanical 70 | transformation or translation of a Source form, including but 71 | not limited to compiled object code, generated documentation, 72 | and conversions to other media types. 73 | 74 | "Work" shall mean the work of authorship, whether in Source or 75 | Object form, made available under the License, as indicated by a 76 | copyright notice that is included in or attached to the work 77 | (an example is provided in the Appendix below). 78 | 79 | "Derivative Works" shall mean any work, whether in Source or Object 80 | form, that is based on (or derived from) the Work and for which the 81 | editorial revisions, annotations, elaborations, or other modifications 82 | represent, as a whole, an original work of authorship. For the purposes 83 | of this License, Derivative Works shall not include works that remain 84 | separable from, or merely link (or bind by name) to the interfaces of, 85 | the Work and Derivative Works thereof. 86 | 87 | "Contribution" shall mean any work of authorship, including 88 | the original version of the Work and any modifications or additions 89 | to that Work or Derivative Works thereof, that is intentionally 90 | submitted to Licensor for inclusion in the Work by the copyright owner 91 | or by an individual or Legal Entity authorized to submit on behalf of 92 | the copyright owner. For the purposes of this definition, "submitted" 93 | means any form of electronic, verbal, or written communication sent 94 | to the Licensor or its representatives, including but not limited to 95 | communication on electronic mailing lists, source code control systems, 96 | and issue tracking systems that are managed by, or on behalf of, the 97 | Licensor for the purpose of discussing and improving the Work, but 98 | excluding communication that is conspicuously marked or otherwise 99 | designated in writing by the copyright owner as "Not a Contribution." 100 | 101 | "Contributor" shall mean Licensor and any individual or Legal Entity 102 | on behalf of whom a Contribution has been received by Licensor and 103 | subsequently incorporated within the Work. 104 | 105 | 2. Grant of Copyright License. Subject to the terms and conditions of 106 | this License, each Contributor hereby grants to You a perpetual, 107 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 108 | copyright license to reproduce, prepare Derivative Works of, 109 | publicly display, publicly perform, sublicense, and distribute the 110 | Work and such Derivative Works in Source or Object form. 111 | 112 | 3. Grant of Patent License. Subject to the terms and conditions of 113 | this License, each Contributor hereby grants to You a perpetual, 114 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 115 | (except as stated in this section) patent license to make, have made, 116 | use, offer to sell, sell, import, and otherwise transfer the Work, 117 | where such license applies only to those patent claims licensable 118 | by such Contributor that are necessarily infringed by their 119 | Contribution(s) alone or by combination of their Contribution(s) 120 | with the Work to which such Contribution(s) was submitted. If You 121 | institute patent litigation against any entity (including a 122 | cross-claim or counterclaim in a lawsuit) alleging that the Work 123 | or a Contribution incorporated within the Work constitutes direct 124 | or contributory patent infringement, then any patent licenses 125 | granted to You under this License for that Work shall terminate 126 | as of the date such litigation is filed. 127 | 128 | 4. Redistribution. You may reproduce and distribute copies of the 129 | Work or Derivative Works thereof in any medium, with or without 130 | modifications, and in Source or Object form, provided that You 131 | meet the following conditions: 132 | 133 | (a) You must give any other recipients of the Work or 134 | Derivative Works a copy of this License; and 135 | 136 | (b) You must cause any modified files to carry prominent notices 137 | stating that You changed the files; and 138 | 139 | (c) You must retain, in the Source form of any Derivative Works 140 | that You distribute, all copyright, patent, trademark, and 141 | attribution notices from the Source form of the Work, 142 | excluding those notices that do not pertain to any part of 143 | the Derivative Works; and 144 | 145 | (d) If the Work includes a "NOTICE" text file as part of its 146 | distribution, then any Derivative Works that You distribute must 147 | include a readable copy of the attribution notices contained 148 | within such NOTICE file, excluding those notices that do not 149 | pertain to any part of the Derivative Works, in at least one 150 | of the following places: within a NOTICE text file distributed 151 | as part of the Derivative Works; within the Source form or 152 | documentation, if provided along with the Derivative Works; or, 153 | within a display generated by the Derivative Works, if and 154 | wherever such third-party notices normally appear. The contents 155 | of the NOTICE file are for informational purposes only and 156 | do not modify the License. You may add Your own attribution 157 | notices within Derivative Works that You distribute, alongside 158 | or as an addendum to the NOTICE text from the Work, provided 159 | that such additional attribution notices cannot be construed 160 | as modifying the License. 161 | 162 | You may add Your own copyright statement to Your modifications and 163 | may provide additional or different license terms and conditions 164 | for use, reproduction, or distribution of Your modifications, or 165 | for any such Derivative Works as a whole, provided Your use, 166 | reproduction, and distribution of the Work otherwise complies with 167 | the conditions stated in this License. 168 | 169 | 5. Submission of Contributions. Unless You explicitly state otherwise, 170 | any Contribution intentionally submitted for inclusion in the Work 171 | by You to the Licensor shall be under the terms and conditions of 172 | this License, without any additional terms or conditions. 173 | Notwithstanding the above, nothing herein shall supersede or modify 174 | the terms of any separate license agreement you may have executed 175 | with Licensor regarding such Contributions. 176 | 177 | 6. Trademarks. This License does not grant permission to use the trade 178 | names, trademarks, service marks, or product names of the Licensor, 179 | except as required for reasonable and customary use in describing the 180 | origin of the Work and reproducing the content of the NOTICE file. 181 | 182 | 7. Disclaimer of Warranty. Unless required by applicable law or 183 | agreed to in writing, Licensor provides the Work (and each 184 | Contributor provides its Contributions) on an "AS IS" BASIS, 185 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 186 | implied, including, without limitation, any warranties or conditions 187 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 188 | PARTICULAR PURPOSE. You are solely responsible for determining the 189 | appropriateness of using or redistributing the Work and assume any 190 | risks associated with Your exercise of permissions under this License. 191 | 192 | 8. Limitation of Liability. In no event and under no legal theory, 193 | whether in tort (including negligence), contract, or otherwise, 194 | unless required by applicable law (such as deliberate and grossly 195 | negligent acts) or agreed to in writing, shall any Contributor be 196 | liable to You for damages, including any direct, indirect, special, 197 | incidental, or consequential damages of any character arising as a 198 | result of this License or out of the use or inability to use the 199 | Work (including but not limited to damages for loss of goodwill, 200 | work stoppage, computer failure or malfunction, or any and all 201 | other commercial damages or losses), even if such Contributor 202 | has been advised of the possibility of such damages. 203 | 204 | 9. Accepting Warranty or Additional Liability. While redistributing 205 | the Work or Derivative Works thereof, You may choose to offer, 206 | and charge a fee for, acceptance of support, warranty, indemnity, 207 | or other liability obligations and/or rights consistent with this 208 | License. However, in accepting such obligations, You may act only 209 | on Your own behalf and on Your sole responsibility, not on behalf 210 | of any other Contributor, and only if You agree to indemnify, 211 | defend, and hold each Contributor harmless for any liability 212 | incurred by, or claims asserted against, such Contributor by reason 213 | of your accepting any such warranty or additional liability. 214 | 215 | END OF TERMS AND CONDITIONS 216 | 217 | APPENDIX: How to apply the Apache License to your work. 218 | 219 | To apply the Apache License to your work, attach the following 220 | boilerplate notice, with the fields enclosed by brackets "[]" 221 | replaced with your own identifying information. (Don't include 222 | the brackets!) The text should be enclosed in the appropriate 223 | comment syntax for the file format. We also recommend that a 224 | file or class name and description of purpose be included on the 225 | same "printed page" as the copyright notice for easier 226 | identification within third-party archives. 227 | 228 | Copyright 2020 Adobe 229 | 230 | Licensed under the Apache License, Version 2.0 (the "License"); 231 | you may not use this file except in compliance with the License. 232 | You may obtain a copy of the License at 233 | 234 | http://www.apache.org/licenses/LICENSE-2.0 235 | 236 | Unless required by applicable law or agreed to in writing, software 237 | distributed under the License is distributed on an "AS IS" BASIS, 238 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 239 | See the License for the specific language governing permissions and 240 | limitations under the License. 241 | 242 | @vercel/ncc 243 | MIT 244 | Copyright 2018 ZEIT, Inc. 245 | 246 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 247 | 248 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 249 | 250 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 251 | 252 | abort-controller 253 | MIT 254 | MIT License 255 | 256 | Copyright (c) 2017 Toru Nagashima 257 | 258 | Permission is hereby granted, free of charge, to any person obtaining a copy 259 | of this software and associated documentation files (the "Software"), to deal 260 | in the Software without restriction, including without limitation the rights 261 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 262 | copies of the Software, and to permit persons to whom the Software is 263 | furnished to do so, subject to the following conditions: 264 | 265 | The above copyright notice and this permission notice shall be included in all 266 | copies or substantial portions of the Software. 267 | 268 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 269 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 270 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 271 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 272 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 273 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 274 | SOFTWARE. 275 | 276 | 277 | event-target-shim 278 | MIT 279 | The MIT License (MIT) 280 | 281 | Copyright (c) 2015 Toru Nagashima 282 | 283 | Permission is hereby granted, free of charge, to any person obtaining a copy 284 | of this software and associated documentation files (the "Software"), to deal 285 | in the Software without restriction, including without limitation the rights 286 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 287 | copies of the Software, and to permit persons to whom the Software is 288 | furnished to do so, subject to the following conditions: 289 | 290 | The above copyright notice and this permission notice shall be included in all 291 | copies or substantial portions of the Software. 292 | 293 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 294 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 295 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 296 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 297 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 298 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 299 | SOFTWARE. 300 | 301 | 302 | 303 | node-fetch 304 | MIT 305 | The MIT License (MIT) 306 | 307 | Copyright (c) 2016 David Frank 308 | 309 | Permission is hereby granted, free of charge, to any person obtaining a copy 310 | of this software and associated documentation files (the "Software"), to deal 311 | in the Software without restriction, including without limitation the rights 312 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 313 | copies of the Software, and to permit persons to whom the Software is 314 | furnished to do so, subject to the following conditions: 315 | 316 | The above copyright notice and this permission notice shall be included in all 317 | copies or substantial portions of the Software. 318 | 319 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 320 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 321 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 322 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 323 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 324 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 325 | SOFTWARE. 326 | 327 | 328 | 329 | tr46 330 | MIT 331 | 332 | tunnel 333 | MIT 334 | The MIT License (MIT) 335 | 336 | Copyright (c) 2012 Koichi Kobayashi 337 | 338 | Permission is hereby granted, free of charge, to any person obtaining a copy 339 | of this software and associated documentation files (the "Software"), to deal 340 | in the Software without restriction, including without limitation the rights 341 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 342 | copies of the Software, and to permit persons to whom the Software is 343 | furnished to do so, subject to the following conditions: 344 | 345 | The above copyright notice and this permission notice shall be included in 346 | all copies or substantial portions of the Software. 347 | 348 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 349 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 350 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 351 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 352 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 353 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 354 | THE SOFTWARE. 355 | 356 | 357 | uuid 358 | MIT 359 | The MIT License (MIT) 360 | 361 | Copyright (c) 2010-2020 Robert Kieffer and other contributors 362 | 363 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 364 | 365 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 366 | 367 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 368 | 369 | 370 | webidl-conversions 371 | BSD-2-Clause 372 | # The BSD 2-Clause License 373 | 374 | Copyright (c) 2014, Domenic Denicola 375 | All rights reserved. 376 | 377 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 378 | 379 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 380 | 381 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 382 | 383 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 384 | 385 | 386 | whatwg-url 387 | MIT 388 | The MIT License (MIT) 389 | 390 | Copyright (c) 2015–2016 Sebastian Mayr 391 | 392 | Permission is hereby granted, free of charge, to any person obtaining a copy 393 | of this software and associated documentation files (the "Software"), to deal 394 | in the Software without restriction, including without limitation the rights 395 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 396 | copies of the Software, and to permit persons to whom the Software is 397 | furnished to do so, subject to the following conditions: 398 | 399 | The above copyright notice and this permission notice shall be included in 400 | all copies or substantial portions of the Software. 401 | 402 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 403 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 404 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 405 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 406 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 407 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 408 | THE SOFTWARE. 409 | -------------------------------------------------------------------------------- /github-action-runtime/sourcemap-register.js: -------------------------------------------------------------------------------- 1 | (()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},274:(e,r,n)=>{var t=n(339);var o=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var t=n(190);var o=5;var i=1<>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r="";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},680:(e,r,n)=>{var t=n(339);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},758:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n{var t;var o=n(339);var i=n(345);var a=n(274).I;var u=n(449);var s=n(758).U;function SourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(i){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,"line");var n={source:o.getArg(e,"source"),originalLine:r,originalColumn:o.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var t=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(e.column===undefined){var s=u.originalLine;while(u&&u.originalLine===s){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}else{var l=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==l){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}}return t};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sources");var u=o.getArg(n,"names",[]);var s=o.getArg(n,"sourceRoot",null);var l=o.getArg(n,"sourcesContent",null);var c=o.getArg(n,"mappings");var p=o.getArg(n,"file",null);if(t!=this._version){throw new Error("Unsupported version: "+t)}if(s){s=o.normalize(s)}i=i.map(String).map(o.normalize).map((function(e){return s&&o.isAbsolute(s)&&o.isAbsolute(e)?o.relative(s,e):e}));this._names=a.fromArray(u.map(String),true);this._sources=a.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return o.computeSourceURL(s,e,r)}));this.sourceRoot=s;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n1){v.source=l+_[1];l+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=a+_[3];a=v.originalColumn;if(_.length>4){v.name=c+_[4];c+=_[4]}}m.push(v);if(typeof v.originalLine==="number"){d.push(v)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(d,o.compareByOriginalPositions);this.__originalMappings=d};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,a){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[t]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[t])}return i.search(e,r,o,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,"source",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var a=o.getArg(t,"name",null);if(a!==null){a=this._names.at(a)}return{source:i,line:o.getArg(t,"originalLine",null),column:o.getArg(t,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var a=t.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!i.path||i.path=="/")&&this._sources.has("/"+t)){return this.sourcesContent[this._sources.indexOf("/"+t)]}}if(r){return null}else{throw new Error('"'+t+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};var t=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sections");if(t!=this._version){throw new Error("Unsupported version: "+t)}this._sources=new a;this._names=new a;var u={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=o.getArg(e,"offset");var t=o.getArg(n,"line");var i=o.getArg(n,"column");if(t{var t=n(449);var o=n(339);var i=n(274).I;var a=n(680).H;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,"file",null);this._sourceRoot=o.getArg(e,"sourceRoot",null);this._skipValidation=o.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)}));e.sources.forEach((function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var a=e.sourceContentFor(t);if(a!=null){n.setSourceContent(t,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,"generated");var n=o.getArg(e,"original",null);var t=o.getArg(e,"source",null);var i=o.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=r;if(r==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}t=e.file}var a=this._sourceRoot;if(a!=null){t=o.relative(a,t)}var u=new i;var s=new i;this._mappings.unsortedForEach((function(r){if(r.source===t&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=o.join(n,r.source)}if(a!=null){r.source=o.relative(a,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var l=r.source;if(l!=null&&!u.has(l)){u.add(l)}var c=r.name;if(c!=null&&!s.has(c)){s.add(c)}}),this);this._sources=u;this._names=s;e.sources.forEach((function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(a!=null){r=o.relative(a,r)}this.setSourceContent(r,t)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!t){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var a=0;var u=0;var s="";var l;var c;var p;var f;var g=this._mappings.toArray();for(var h=0,d=g.length;h0){if(!o.compareByGeneratedPositionsInflated(c,g[h-1])){continue}l+=","}}l+=t.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){f=this._sources.indexOf(c.source);l+=t.encode(f-u);u=f;l+=t.encode(c.originalLine-1-i);i=c.originalLine-1;l+=t.encode(c.originalColumn-n);n=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);l+=t.encode(p-a);a=p}}s+=l}return s};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.h=SourceMapGenerator},351:(e,r,n)=>{var t;var o=n(591).h;var i=n(339);var a=/(\r?\n)/;var u=10;var s="$$$isSourceNode$$$";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[s]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var o=e.split(a);var u=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return u=0;r--){this.prepend(e[r])}}else if(e[s]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,t=this.children.length;n0){r=[];for(n=0;n{function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var t=/^data:.+\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\/+/);for(var a,u=0,s=i.length-1;s>=0;s--){a=i[s];if(a==="."){i.splice(s,1)}else if(a===".."){u++}else if(u>0){if(a===""){i.splice(s+1,u);u=0}else{i.splice(s,2);u--}}}n=i.join("/");if(n===""){n=o?"/":"."}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||"/"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(r.indexOf(e+"/")!==0){var t=e.lastIndexOf("/");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++n}return Array(n+1).join("../")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(n){var t=urlParse(n);if(!t){throw new Error("sourceMapURL could not be parsed")}if(t.path){var o=t.path.lastIndexOf("/");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},997:(e,r,n)=>{n(591).h;r.SourceMapConsumer=n(952).SourceMapConsumer;n(351)},284:(e,r,n)=>{e=n.nmd(e);var t=n(997).SourceMapConsumer;var o=n(17);var i;try{i=n(147);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(650);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var h=[];var d=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function globalProcessVersion(){if(typeof process==="object"&&process!==null){return process.version}else{return""}}function globalProcessStderr(){if(typeof process==="object"&&process!==null){return process.stderr}}function globalProcessExit(e){if(typeof process==="object"&&process!==null&&typeof process.exit==="function"){return process.exit(e)}}function handlerExec(e){return function(r){for(var n=0;n"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"")}}else if(u){o+="new "+(i||"")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=" ("+r+")"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNative()){r.curPosition=null;return e}var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var t=e.getLineNumber();var o=e.getColumnNumber()-1;var i=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var a=i.test(globalProcessVersion())?0:62;if(t===1&&o>a&&!isInBrowser()&&!e.isEval()){o-=a}var u=mapSourcePosition({source:n,line:t,column:o});r.curPosition=u;e=cloneCallSite(e);var s=e.getFunctionName;e.getFunctionName=function(){if(r.nextPosition==null){return s()}return r.nextPosition.name||s()};e.getFileName=function(){return u.source};e.getLineNumber=function(){return u.line};e.getColumnNumber=function(){return u.column+1};e.getScriptNameOrSourceURL=function(){return u.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,r){if(l){p={};f={}}var n=e.name||"Error";var t=e.message||"";var o=n+": "+t;var i={nextPosition:null,curPosition:null};var a=[];for(var u=r.length-1;u>=0;u--){a.push("\n at "+wrapCallSite(r[u],i));i.nextPosition=i.curPosition}i.curPosition=i.nextPosition=null;return o+a.reverse().join("")}function getErrorSource(e){var r=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(r){var n=r[1];var t=+r[2];var o=+r[3];var a=p[n];if(!a&&i&&i.existsSync(n)){try{a=i.readFileSync(n,"utf8")}catch(e){a=""}}if(a){var u=a.split(/(?:\r\n|\r|\n)/)[t-1];if(u){return n+":"+t+"\n"+u+"\n"+new Array(o).join(" ")+"^"}}}return null}function printErrorAndExit(e){var r=getErrorSource(e);var n=globalProcessStderr();if(n&&n._handle&&n._handle.setBlocking){n._handle.setBlocking(true)}if(r){console.error();console.error(r)}console.error(e.stack);globalProcessExit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(r){if(r==="uncaughtException"){var n=arguments[1]&&arguments[1].stack;var t=this.listeners(r).length>0;if(n&&!t){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var S=h.slice(0);var _=d.slice(0);r.wrapCallSite=wrapCallSite;r.getErrorSource=getErrorSource;r.mapSourcePosition=mapSourcePosition;r.retrieveSourceMap=v;r.install=function(r){r=r||{};if(r.environment){c=r.environment;if(["node","browser","auto"].indexOf(c)===-1){throw new Error("environment "+c+" was unknown. Available options are {auto, browser, node}")}}if(r.retrieveFile){if(r.overrideRetrieveFile){h.length=0}h.unshift(r.retrieveFile)}if(r.retrieveSourceMap){if(r.overrideRetrieveSourceMap){d.length=0}d.unshift(r.retrieveSourceMap)}if(r.hookRequire&&!isInBrowser()){var n=dynamicRequire(e,"module");var t=n.prototype._compile;if(!t.__sourceMapSupport){n.prototype._compile=function(e,r){p[r]=e;f[r]=undefined;return t.call(this,e,r)};n.prototype._compile.__sourceMapSupport=true}}if(!l){l="emptyCacheBetweenOperations"in r?r.emptyCacheBetweenOperations:false}if(!u){u=true;Error.prepareStackTrace=prepareStackTrace}if(!s){var o="handleUncaughtExceptions"in r?r.handleUncaughtExceptions:true;try{var i=dynamicRequire(e,"worker_threads");if(i.isMainThread===false){o=false}}catch(e){}if(o&&hasGlobalProcessEventEmitter()){s=true;shimEmitUncaughtException()}}};r.resetRetrieveHandlers=function(){h.length=0;d.length=0;h=S.slice(0);d=_.slice(0);v=handlerExec(d);m=handlerExec(h)}},147:e=>{"use strict";e.exports=require("fs")},17:e=>{"use strict";e.exports=require("path")}};var r={};function __webpack_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={id:n,loaded:false,exports:{}};var i=true;try{e[n](o,o.exports,__webpack_require__);i=false}finally{if(i)delete r[n]}o.loaded=true;return o.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var n={};(()=>{__webpack_require__(284).install()})();module.exports=n})(); -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | clearMocks: true, 3 | moduleFileExtensions: ['js', 'ts'], 4 | testEnvironment: 'node', 5 | testMatch: ['**/*.test.ts'], 6 | testRunner: 'jest-circus/runner', 7 | transform: { 8 | '^.+\\.ts$': 'ts-jest', 9 | }, 10 | verbose: true, 11 | setupFilesAfterEnv: [ 12 | './jest.setup.js', 13 | ], 14 | }; 15 | -------------------------------------------------------------------------------- /jest.setup.js: -------------------------------------------------------------------------------- 1 | // XXX Unlike what could be expected, once an ENV var is found by dotenv, it won't be overridden 2 | // So, the order must be from the most important to the less important 3 | // See https://github.com/motdotla/dotenv/issues/256#issuecomment-598676663 4 | // eslint-disable-next-line @typescript-eslint/no-var-requires 5 | require('dotenv').config({ path: '.env.test.local' }); 6 | // eslint-disable-next-line @typescript-eslint/no-var-requires 7 | require('dotenv').config({ path: '.env.test' }); 8 | 9 | // Backup of the native console object for later re-use 10 | global._console = global.console; 11 | 12 | // Force mute console by returning a mock object that mocks the props we use 13 | global.muteConsole = () => { 14 | return { 15 | debug: jest.fn(), 16 | error: jest.fn(), 17 | info: jest.fn(), 18 | log: jest.fn(), 19 | warn: jest.fn(), 20 | }; 21 | }; 22 | 23 | // Force mute console by returning a mock object that mocks the props we use, except for "log" 24 | global.muteConsoleButLog = () => { 25 | return { 26 | debug: jest.fn(), 27 | error: jest.fn(), 28 | info: jest.fn(), 29 | log: _console.log, 30 | warn: jest.fn(), 31 | }; 32 | }; 33 | 34 | // Restore previously made "console" object 35 | global.unmuteConsole = () => _console; 36 | 37 | // Mock __non_webpack_require__ to use the standard node.js "require" 38 | global['__non_webpack_require__'] = require; 39 | -------------------------------------------------------------------------------- /lib/awaitVercelDeployment.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | var desc = Object.getOwnPropertyDescriptor(m, k); 5 | if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 6 | desc = { enumerable: true, get: function() { return m[k]; } }; 7 | } 8 | Object.defineProperty(o, k2, desc); 9 | }) : (function(o, m, k, k2) { 10 | if (k2 === undefined) k2 = k; 11 | o[k2] = m[k]; 12 | })); 13 | var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { 14 | Object.defineProperty(o, "default", { enumerable: true, value: v }); 15 | }) : function(o, v) { 16 | o["default"] = v; 17 | }); 18 | var __importStar = (this && this.__importStar) || function (mod) { 19 | if (mod && mod.__esModule) return mod; 20 | var result = {}; 21 | if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); 22 | __setModuleDefault(result, mod); 23 | return result; 24 | }; 25 | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { 26 | function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } 27 | return new (P || (P = Promise))(function (resolve, reject) { 28 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } 29 | function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } 30 | function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } 31 | step((generator = generator.apply(thisArg, _arguments || [])).next()); 32 | }); 33 | }; 34 | var __importDefault = (this && this.__importDefault) || function (mod) { 35 | return (mod && mod.__esModule) ? mod : { "default": mod }; 36 | }; 37 | Object.defineProperty(exports, "__esModule", { value: true }); 38 | const core = __importStar(require("@actions/core")); 39 | const node_fetch_retry_1 = __importDefault(require("@adobe/node-fetch-retry")); 40 | const promises_1 = require("timers/promises"); 41 | const config_1 = require("./config"); 42 | /** 43 | * Awaits for the Vercel deployment to be in a "ready" state. 44 | * 45 | * When the `timeout` is reached, the Promise is rejected (the action will fail) 46 | */ 47 | const awaitVercelDeployment = ({ url, timeout, pollInterval }) => { 48 | return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () { 49 | let deployment = {}; 50 | const timeoutTime = new Date().getTime() + timeout; 51 | while (new Date().getTime() < timeoutTime) { 52 | const retryMaxDuration = timeoutTime - new Date().getTime(); // constrain retries by remaining timeout duration 53 | core.debug(`Retrieving deployment (retryMaxDuration=${retryMaxDuration}ms)`); 54 | deployment = yield (0, node_fetch_retry_1.default)(`${config_1.VERCEL_BASE_API_ENDPOINT}/v11/now/deployments/get?url=${url}`, { 55 | headers: { 56 | Authorization: `Bearer ${process.env.VERCEL_TOKEN}`, 57 | }, 58 | retryOptions: { retryMaxDuration }, 59 | }).then((data) => data.json()); 60 | core.debug(`Received these data from Vercel: ${JSON.stringify(deployment)}`); 61 | if (deployment.readyState === 'READY' || deployment.readyState === 'ERROR') { 62 | core.debug('Deployment has been found'); 63 | return resolve(deployment); 64 | } 65 | core.debug(`Waiting ${pollInterval}ms`); 66 | yield (0, promises_1.setTimeout)(pollInterval); 67 | } 68 | core.debug(`Last deployment response: ${JSON.stringify(deployment)}`); 69 | return reject('Timeout has been reached'); 70 | })); 71 | }; 72 | exports.default = awaitVercelDeployment; 73 | -------------------------------------------------------------------------------- /lib/config.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.millisecondsFromInput = exports.BUILD_MAIN_FILENAME = exports.BUILD_DIR = exports.VERCEL_BASE_API_ENDPOINT = void 0; 4 | const core_1 = require("@actions/core"); 5 | exports.VERCEL_BASE_API_ENDPOINT = 'https://api.vercel.com'; 6 | /** 7 | * Directory where the compiled version (JS) of the TS code is stored. 8 | * 9 | * XXX Should match the package.json:main value. 10 | */ 11 | exports.BUILD_DIR = 'lib'; 12 | /** 13 | * Name of the Action's entrypoint. 14 | * 15 | * XXX Should match the package.json:main value. 16 | */ 17 | exports.BUILD_MAIN_FILENAME = 'main.js'; 18 | /** 19 | * Return the value of the specified action `input`, converted from seconds to milliseconds. 20 | */ 21 | function millisecondsFromInput(input) { 22 | return +(0, core_1.getInput)(input) * 1000; 23 | } 24 | exports.millisecondsFromInput = millisecondsFromInput; 25 | -------------------------------------------------------------------------------- /lib/main.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | var desc = Object.getOwnPropertyDescriptor(m, k); 5 | if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 6 | desc = { enumerable: true, get: function() { return m[k]; } }; 7 | } 8 | Object.defineProperty(o, k2, desc); 9 | }) : (function(o, m, k, k2) { 10 | if (k2 === undefined) k2 = k; 11 | o[k2] = m[k]; 12 | })); 13 | var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { 14 | Object.defineProperty(o, "default", { enumerable: true, value: v }); 15 | }) : function(o, v) { 16 | o["default"] = v; 17 | }); 18 | var __importStar = (this && this.__importStar) || function (mod) { 19 | if (mod && mod.__esModule) return mod; 20 | var result = {}; 21 | if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); 22 | __setModuleDefault(result, mod); 23 | return result; 24 | }; 25 | var __importDefault = (this && this.__importDefault) || function (mod) { 26 | return (mod && mod.__esModule) ? mod : { "default": mod }; 27 | }; 28 | Object.defineProperty(exports, "__esModule", { value: true }); 29 | const core = __importStar(require("@actions/core")); 30 | const awaitVercelDeployment_1 = __importDefault(require("./awaitVercelDeployment")); 31 | const config_1 = require("./config"); 32 | /** 33 | * Runs configuration checks to make sure everything is properly configured. 34 | * If anything isn't properly configured, will stop the workflow. 35 | */ 36 | const runConfigChecks = () => { 37 | if (!process.env.VERCEL_TOKEN) { 38 | const message = process.env.NODE_ENV === 'test' 39 | ? `VERCEL_TOKEN environment variable is not defined. Please define it in the ".env.test" file. See https://vercel.com/account/tokens` 40 | : `VERCEL_TOKEN environment variable is not defined. Please create a GitHub "VERCEL_TOKEN" secret. See https://vercel.com/account/tokens`; 41 | core.setFailed(message); 42 | throw new Error(message); 43 | } 44 | }; 45 | /** 46 | * Runs the GitHub Action. 47 | */ 48 | const run = () => { 49 | if (!core.isDebug()) { 50 | core.info('Debug mode is disabled. Read more at https://github.com/UnlyEd/github-action-await-vercel#how-to-enable-debug-logs'); 51 | } 52 | try { 53 | const url = core.getInput('deployment-url'); 54 | core.debug(`Url to wait for: ${url}`); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true https://github.com/actions/toolkit/blob/master/docs/action-debugging.md#how-to-access-step-debug-logs 55 | const timeout = (0, config_1.millisecondsFromInput)('timeout'); 56 | core.debug(`Timeout used: ${timeout}`); 57 | const pollInterval = (0, config_1.millisecondsFromInput)('poll-interval'); 58 | core.debug(`Poll interval used: ${pollInterval}`); 59 | (0, awaitVercelDeployment_1.default)({ url, timeout, pollInterval }) 60 | .then((deployment) => { 61 | core.setOutput('deploymentDetails', deployment); 62 | }) 63 | .catch((error) => { 64 | core.setFailed(error); 65 | }); 66 | } 67 | catch (error) { 68 | core.setFailed(error.message); 69 | } 70 | }; 71 | runConfigChecks(); 72 | run(); 73 | -------------------------------------------------------------------------------- /lib/types/VercelDeployment.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/.yarn-integrity: -------------------------------------------------------------------------------- 1 | { 2 | "systemParams": "darwin-arm64-108", 3 | "modulesFolders": [ 4 | "node_modules" 5 | ], 6 | "flags": [], 7 | "linkedModules": [ 8 | "@unly/chatbot-dialog-engine", 9 | "@unly/universal-language-detector", 10 | "iso3166-1", 11 | "poc-nextjs-reaflow", 12 | "reaflow", 13 | "utils" 14 | ], 15 | "topLevelPatterns": [ 16 | "@actions/core@1.10.0", 17 | "@adobe/node-fetch-retry@2.2.0", 18 | "@babel/parser@7.20.7", 19 | "@types/jest@29.2.5", 20 | "@types/node-fetch@^2.6.2", 21 | "@types/node@18.11.18", 22 | "@typescript-eslint/parser@5.48.0", 23 | "@vercel/ncc@0.36.0", 24 | "concurrently@7.6.0", 25 | "dotenv@16.0.3", 26 | "eslint-plugin-github@4.6.0", 27 | "eslint-plugin-jest@27.2.1", 28 | "eslint-plugin-prettier@4.2.1", 29 | "eslint@8.31.0", 30 | "jest-circus@29.3.1", 31 | "jest@29.3.1", 32 | "js-yaml@4.1.0", 33 | "node-fetch@2.6.7", 34 | "prettier@2.8.2", 35 | "ts-jest@29.0.3", 36 | "typescript@4.9.4" 37 | ], 38 | "lockfileEntries": { 39 | "@actions/core@1.10.0": "https://registry.yarnpkg.com/@actions/core/-/core-1.10.0.tgz#44551c3c71163949a2f06e94d9ca2157a0cfac4f", 40 | "@actions/http-client@^2.0.1": "https://registry.yarnpkg.com/@actions/http-client/-/http-client-2.0.1.tgz#873f4ca98fe32f6839462a6f046332677322f99c", 41 | "@adobe/node-fetch-retry@2.2.0": "https://registry.yarnpkg.com/@adobe/node-fetch-retry/-/node-fetch-retry-2.2.0.tgz#08fe9cc1885de8c0ac4b9157ed26ea07691dd90d", 42 | "@ampproject/remapping@^2.1.0": "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d", 43 | "@babel/code-frame@^7.0.0": "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a", 44 | "@babel/code-frame@^7.12.13": "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a", 45 | "@babel/code-frame@^7.18.6": "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a", 46 | "@babel/compat-data@^7.20.5": "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.10.tgz#9d92fa81b87542fff50e848ed585b4212c1d34ec", 47 | "@babel/core@^7.11.6": "https://registry.yarnpkg.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d", 48 | "@babel/core@^7.12.3": "https://registry.yarnpkg.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d", 49 | "@babel/generator@^7.20.7": "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a", 50 | "@babel/generator@^7.7.2": "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.7.tgz#f8ef57c8242665c5929fe2e8d82ba75460187b4a", 51 | "@babel/helper-compilation-targets@^7.20.7": "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb", 52 | "@babel/helper-environment-visitor@^7.18.9": "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be", 53 | "@babel/helper-function-name@^7.19.0": "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c", 54 | "@babel/helper-hoist-variables@^7.18.6": "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678", 55 | "@babel/helper-module-imports@^7.18.6": "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e", 56 | "@babel/helper-module-transforms@^7.20.11": "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0", 57 | "@babel/helper-plugin-utils@^7.0.0": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629", 58 | "@babel/helper-plugin-utils@^7.10.4": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629", 59 | "@babel/helper-plugin-utils@^7.12.13": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629", 60 | "@babel/helper-plugin-utils@^7.14.5": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629", 61 | "@babel/helper-plugin-utils@^7.18.6": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629", 62 | "@babel/helper-plugin-utils@^7.19.0": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629", 63 | "@babel/helper-plugin-utils@^7.8.0": "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629", 64 | "@babel/helper-simple-access@^7.20.2": "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9", 65 | "@babel/helper-split-export-declaration@^7.18.6": "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075", 66 | "@babel/helper-string-parser@^7.19.4": "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63", 67 | "@babel/helper-validator-identifier@^7.18.6": "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2", 68 | "@babel/helper-validator-identifier@^7.19.1": "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2", 69 | "@babel/helper-validator-option@^7.18.6": "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8", 70 | "@babel/helpers@^7.20.7": "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.7.tgz#04502ff0feecc9f20ecfaad120a18f011a8e6dce", 71 | "@babel/highlight@^7.18.6": "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf", 72 | "@babel/parser@7.20.7": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b", 73 | "@babel/parser@^7.1.0": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b", 74 | "@babel/parser@^7.14.7": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b", 75 | "@babel/parser@^7.20.7": "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.7.tgz#66fe23b3c8569220817d5feb8b9dcdc95bb4f71b", 76 | "@babel/plugin-syntax-async-generators@^7.8.4": "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d", 77 | "@babel/plugin-syntax-bigint@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea", 78 | "@babel/plugin-syntax-class-properties@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10", 79 | "@babel/plugin-syntax-import-meta@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51", 80 | "@babel/plugin-syntax-json-strings@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a", 81 | "@babel/plugin-syntax-jsx@^7.7.2": "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0", 82 | "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699", 83 | "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9", 84 | "@babel/plugin-syntax-numeric-separator@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97", 85 | "@babel/plugin-syntax-object-rest-spread@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871", 86 | "@babel/plugin-syntax-optional-catch-binding@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1", 87 | "@babel/plugin-syntax-optional-chaining@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a", 88 | "@babel/plugin-syntax-top-level-await@^7.8.3": "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c", 89 | "@babel/plugin-syntax-typescript@^7.7.2": "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7", 90 | "@babel/runtime-corejs3@^7.10.2": "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.20.7.tgz#a1e5ea3d758ba6beb715210142912e3f29981d84", 91 | "@babel/runtime@^7.10.2": "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd", 92 | "@babel/runtime@^7.18.9": "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd", 93 | "@babel/template@^7.18.10": "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8", 94 | "@babel/template@^7.20.7": "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8", 95 | "@babel/template@^7.3.3": "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8", 96 | "@babel/traverse@^7.20.10": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5", 97 | "@babel/traverse@^7.20.12": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5", 98 | "@babel/traverse@^7.20.7": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5", 99 | "@babel/traverse@^7.7.2": "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.12.tgz#7f0f787b3a67ca4475adef1f56cb94f6abd4a4b5", 100 | "@babel/types@^7.0.0": "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f", 101 | "@babel/types@^7.18.6": "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f", 102 | "@babel/types@^7.19.0": "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f", 103 | "@babel/types@^7.20.2": "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f", 104 | "@babel/types@^7.20.7": "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f", 105 | "@babel/types@^7.3.0": "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f", 106 | "@babel/types@^7.3.3": "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f", 107 | "@bcoe/v8-coverage@^0.2.3": "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39", 108 | "@eslint/eslintrc@^1.4.1": "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e", 109 | "@github/browserslist-config@^1.0.0": "https://registry.yarnpkg.com/@github/browserslist-config/-/browserslist-config-1.0.0.tgz#952fe6da3e6b8ed6a368f3a1a08a9d2ef84e8d04", 110 | "@humanwhocodes/config-array@^0.11.8": "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9", 111 | "@humanwhocodes/module-importer@^1.0.1": "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c", 112 | "@humanwhocodes/object-schema@^1.2.1": "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45", 113 | "@istanbuljs/load-nyc-config@^1.0.0": "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced", 114 | "@istanbuljs/schema@^0.1.2": "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98", 115 | "@jest/console@^29.3.1": "https://registry.yarnpkg.com/@jest/console/-/console-29.3.1.tgz#3e3f876e4e47616ea3b1464b9fbda981872e9583", 116 | "@jest/core@^29.3.1": "https://registry.yarnpkg.com/@jest/core/-/core-29.3.1.tgz#bff00f413ff0128f4debec1099ba7dcd649774a1", 117 | "@jest/environment@^29.3.1": "https://registry.yarnpkg.com/@jest/environment/-/environment-29.3.1.tgz#eb039f726d5fcd14698acd072ac6576d41cfcaa6", 118 | "@jest/expect-utils@^29.3.1": "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.3.1.tgz#531f737039e9b9e27c42449798acb5bba01935b6", 119 | "@jest/expect@^29.3.1": "https://registry.yarnpkg.com/@jest/expect/-/expect-29.3.1.tgz#456385b62894349c1d196f2d183e3716d4c6a6cd", 120 | "@jest/fake-timers@^29.3.1": "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.3.1.tgz#b140625095b60a44de820876d4c14da1aa963f67", 121 | "@jest/globals@^29.3.1": "https://registry.yarnpkg.com/@jest/globals/-/globals-29.3.1.tgz#92be078228e82d629df40c3656d45328f134a0c6", 122 | "@jest/reporters@^29.3.1": "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.3.1.tgz#9a6d78c109608e677c25ddb34f907b90e07b4310", 123 | "@jest/schemas@^29.0.0": "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.0.0.tgz#5f47f5994dd4ef067fb7b4188ceac45f77fe952a", 124 | "@jest/source-map@^29.2.0": "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.2.0.tgz#ab3420c46d42508dcc3dc1c6deee0b613c235744", 125 | "@jest/test-result@^29.3.1": "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.3.1.tgz#92cd5099aa94be947560a24610aa76606de78f50", 126 | "@jest/test-sequencer@^29.3.1": "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.3.1.tgz#fa24b3b050f7a59d48f7ef9e0b782ab65123090d", 127 | "@jest/transform@^29.3.1": "https://registry.yarnpkg.com/@jest/transform/-/transform-29.3.1.tgz#1e6bd3da4af50b5c82a539b7b1f3770568d6e36d", 128 | "@jest/types@^29.3.1": "https://registry.yarnpkg.com/@jest/types/-/types-29.3.1.tgz#7c5a80777cb13e703aeec6788d044150341147e3", 129 | "@jridgewell/gen-mapping@^0.1.0": "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996", 130 | "@jridgewell/gen-mapping@^0.3.2": "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9", 131 | "@jridgewell/resolve-uri@3.1.0": "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78", 132 | "@jridgewell/set-array@^1.0.0": "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72", 133 | "@jridgewell/set-array@^1.0.1": "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72", 134 | "@jridgewell/sourcemap-codec@1.4.14": "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24", 135 | "@jridgewell/sourcemap-codec@^1.4.10": "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24", 136 | "@jridgewell/trace-mapping@^0.3.12": "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985", 137 | "@jridgewell/trace-mapping@^0.3.15": "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985", 138 | "@jridgewell/trace-mapping@^0.3.9": "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985", 139 | "@nodelib/fs.scandir@2.1.5": "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5", 140 | "@nodelib/fs.stat@2.0.5": "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b", 141 | "@nodelib/fs.stat@^2.0.2": "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b", 142 | "@nodelib/fs.walk@^1.2.3": "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a", 143 | "@nodelib/fs.walk@^1.2.8": "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a", 144 | "@sinclair/typebox@^0.24.1": "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f", 145 | "@sinonjs/commons@^1.7.0": "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9", 146 | "@sinonjs/fake-timers@^9.1.2": "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c", 147 | "@types/babel__core@^7.1.14": "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.20.tgz#e168cdd612c92a2d335029ed62ac94c95b362359", 148 | "@types/babel__generator@*": "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7", 149 | "@types/babel__template@*": "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969", 150 | "@types/babel__traverse@*": "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d", 151 | "@types/babel__traverse@^7.0.6": "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.18.3.tgz#dfc508a85781e5698d5b33443416b6268c4b3e8d", 152 | "@types/graceful-fs@^4.1.3": "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae", 153 | "@types/istanbul-lib-coverage@*": "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44", 154 | "@types/istanbul-lib-coverage@^2.0.0": "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44", 155 | "@types/istanbul-lib-coverage@^2.0.1": "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44", 156 | "@types/istanbul-lib-report@*": "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686", 157 | "@types/istanbul-reports@^3.0.0": "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff", 158 | "@types/jest@29.2.5": "https://registry.yarnpkg.com/@types/jest/-/jest-29.2.5.tgz#c27f41a9d6253f288d1910d3c5f09484a56b73c0", 159 | "@types/json-schema@^7.0.9": "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3", 160 | "@types/json5@^0.0.29": "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee", 161 | "@types/node-fetch@^2.6.2": "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.2.tgz#d1a9c5fd049d9415dce61571557104dec3ec81da", 162 | "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f", 163 | "@types/node@18.11.18": "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f", 164 | "@types/prettier@^2.1.5": "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0", 165 | "@types/semver@^7.3.12": "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91", 166 | "@types/stack-utils@^2.0.0": "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c", 167 | "@types/yargs-parser@*": "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b", 168 | "@types/yargs@^17.0.8": "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.19.tgz#8dbecdc9ab48bee0cb74f6e3327de3fa0d0c98ae", 169 | "@typescript-eslint/eslint-plugin@^5.1.0": "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.48.1.tgz#deee67e399f2cb6b4608c935777110e509d8018c", 170 | "@typescript-eslint/parser@5.48.0": "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.0.tgz#02803355b23884a83e543755349809a50b7ed9ba", 171 | "@typescript-eslint/parser@^5.1.0": "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.1.tgz#d0125792dab7e232035434ab8ef0658154db2f10", 172 | "@typescript-eslint/scope-manager@5.48.0": "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.0.tgz#607731cb0957fbc52fd754fd79507d1b6659cecf", 173 | "@typescript-eslint/scope-manager@5.48.1": "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.1.tgz#39c71e4de639f5fe08b988005beaaf6d79f9d64d", 174 | "@typescript-eslint/type-utils@5.48.1": "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.48.1.tgz#5d94ac0c269a81a91ad77c03407cea2caf481412", 175 | "@typescript-eslint/types@5.48.0": "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.0.tgz#d725da8dfcff320aab2ac6f65c97b0df30058449", 176 | "@typescript-eslint/types@5.48.1": "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.1.tgz#efd1913a9aaf67caf8a6e6779fd53e14e8587e14", 177 | "@typescript-eslint/typescript-estree@5.48.0": "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.0.tgz#a7f04bccb001003405bb5452d43953a382c2fac2", 178 | "@typescript-eslint/typescript-estree@5.48.1": "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.1.tgz#9efa8ee2aa471c6ab62e649f6e64d8d121bc2056", 179 | "@typescript-eslint/utils@5.48.1": "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.1.tgz#20f2f4e88e9e2a0961cbebcb47a1f0f7da7ba7f9", 180 | "@typescript-eslint/utils@^5.10.0": "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.1.tgz#20f2f4e88e9e2a0961cbebcb47a1f0f7da7ba7f9", 181 | "@typescript-eslint/visitor-keys@5.48.0": "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.0.tgz#4446d5e7f6cadde7140390c0e284c8702d944904", 182 | "@typescript-eslint/visitor-keys@5.48.1": "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.1.tgz#79fd4fb9996023ef86849bf6f904f33eb6c8fccb", 183 | "@vercel/ncc@0.36.0": "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.36.0.tgz#1f262b86fc4f0770bbc0fc1d331d5aaa1bd47334", 184 | "abort-controller@^3.0.0": "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392", 185 | "acorn-jsx@^5.3.2": "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937", 186 | "acorn@^8.8.0": "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73", 187 | "ajv@^6.10.0": "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4", 188 | "ajv@^6.12.4": "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4", 189 | "ansi-escapes@^4.2.1": "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e", 190 | "ansi-regex@^5.0.1": "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304", 191 | "ansi-styles@^3.2.1": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d", 192 | "ansi-styles@^4.0.0": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937", 193 | "ansi-styles@^4.1.0": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937", 194 | "ansi-styles@^5.0.0": "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b", 195 | "anymatch@^3.0.3": "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e", 196 | "argparse@^1.0.7": "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911", 197 | "argparse@^2.0.1": "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38", 198 | "aria-query@^4.2.2": "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b", 199 | "array-includes@^3.1.4": "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f", 200 | "array-includes@^3.1.5": "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f", 201 | "array-union@^2.1.0": "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d", 202 | "array.prototype.flat@^1.2.5": "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2", 203 | "ast-types-flow@^0.0.7": "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad", 204 | "asynckit@^0.4.0": "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79", 205 | "available-typed-arrays@^1.0.5": "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7", 206 | "axe-core@^4.4.3": "https://registry.yarnpkg.com/axe-core/-/axe-core-4.6.2.tgz#6e566ab2a3d29e415f5115bc0fd2597a5eb3e5e3", 207 | "axobject-query@^2.2.0": "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be", 208 | "babel-jest@^29.3.1": "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.3.1.tgz#05c83e0d128cd48c453eea851482a38782249f44", 209 | "babel-plugin-istanbul@^6.1.1": "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73", 210 | "babel-plugin-jest-hoist@^29.2.0": "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.2.0.tgz#23ee99c37390a98cfddf3ef4a78674180d823094", 211 | "babel-preset-current-node-syntax@^1.0.0": "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b", 212 | "babel-preset-jest@^29.2.0": "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.2.0.tgz#3048bea3a1af222e3505e4a767a974c95a7620dc", 213 | "balanced-match@^1.0.0": "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee", 214 | "brace-expansion@^1.1.7": "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd", 215 | "braces@^3.0.2": "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107", 216 | "browserslist@^4.21.0": "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987", 217 | "browserslist@^4.21.3": "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987", 218 | "bs-logger@0.x": "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8", 219 | "bser@2.1.1": "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05", 220 | "buffer-from@^1.0.0": "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5", 221 | "call-bind@^1.0.0": "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c", 222 | "call-bind@^1.0.2": "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c", 223 | "callsites@^3.0.0": "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73", 224 | "camelcase@^5.3.1": "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320", 225 | "camelcase@^6.2.0": "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a", 226 | "caniuse-lite@^1.0.30001400": "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001442.tgz#40337f1cf3be7c637b061e2f78582dc1daec0614", 227 | "chalk@^2.0.0": "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424", 228 | "chalk@^4.0.0": "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01", 229 | "chalk@^4.1.0": "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01", 230 | "char-regex@^1.0.2": "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf", 231 | "ci-info@^3.2.0": "https://registry.yarnpkg.com/ci-info/-/ci-info-3.7.1.tgz#708a6cdae38915d597afdf3b145f2f8e1ff55f3f", 232 | "cjs-module-lexer@^1.0.0": "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40", 233 | "cliui@^8.0.1": "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa", 234 | "co@^4.6.0": "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184", 235 | "collect-v8-coverage@^1.0.0": "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59", 236 | "color-convert@^1.9.0": "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8", 237 | "color-convert@^2.0.1": "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3", 238 | "color-name@1.1.3": "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25", 239 | "color-name@~1.1.4": "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2", 240 | "combined-stream@^1.0.8": "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f", 241 | "concat-map@0.0.1": "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b", 242 | "concurrently@7.6.0": "https://registry.yarnpkg.com/concurrently/-/concurrently-7.6.0.tgz#531a6f5f30cf616f355a4afb8f8fcb2bba65a49a", 243 | "convert-source-map@^1.6.0": "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f", 244 | "convert-source-map@^1.7.0": "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f", 245 | "convert-source-map@^2.0.0": "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a", 246 | "core-js-pure@^3.25.1": "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.27.1.tgz#ede4a6b8440585c7190062757069c01d37a19dca", 247 | "cross-spawn@^7.0.2": "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6", 248 | "cross-spawn@^7.0.3": "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6", 249 | "damerau-levenshtein@^1.0.8": "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7", 250 | "date-fns@^2.29.1": "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8", 251 | "debug@^2.6.9": "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f", 252 | "debug@^3.2.7": "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a", 253 | "debug@^4.1.0": "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865", 254 | "debug@^4.1.1": "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865", 255 | "debug@^4.3.2": "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865", 256 | "debug@^4.3.4": "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865", 257 | "dedent@^0.7.0": "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c", 258 | "deep-is@^0.1.3": "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831", 259 | "deepmerge@^4.2.2": "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955", 260 | "define-properties@^1.1.3": "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1", 261 | "define-properties@^1.1.4": "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1", 262 | "delayed-stream@~1.0.0": "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619", 263 | "detect-newline@^3.0.0": "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651", 264 | "diff-sequences@^29.3.1": "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.3.1.tgz#104b5b95fe725932421a9c6e5b4bef84c3f2249e", 265 | "dir-glob@^3.0.1": "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f", 266 | "doctrine@^2.1.0": "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d", 267 | "doctrine@^3.0.0": "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961", 268 | "dotenv@16.0.3": "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07", 269 | "electron-to-chromium@^1.4.251": "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592", 270 | "emittery@^0.13.1": "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad", 271 | "emoji-regex@^8.0.0": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37", 272 | "emoji-regex@^9.2.2": "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72", 273 | "error-ex@^1.3.1": "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf", 274 | "es-abstract@^1.19.0": "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.0.tgz#dd1b69ea5bfc3c27199c9753efd4de015102c252", 275 | "es-abstract@^1.20.4": "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.0.tgz#dd1b69ea5bfc3c27199c9753efd4de015102c252", 276 | "es-set-tostringtag@^2.0.0": "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8", 277 | "es-shim-unscopables@^1.0.0": "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241", 278 | "es-to-primitive@^1.2.1": "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a", 279 | "escalade@^3.1.1": "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40", 280 | "escape-string-regexp@^1.0.5": "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4", 281 | "escape-string-regexp@^2.0.0": "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344", 282 | "escape-string-regexp@^4.0.0": "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34", 283 | "eslint-config-prettier@>=8.0.0": "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz#dec1d29ab728f4fa63061774e1672ac4e363d207", 284 | "eslint-import-resolver-node@^0.3.6": "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd", 285 | "eslint-module-utils@^2.7.3": "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974", 286 | "eslint-plugin-escompat@^3.3.3": "https://registry.yarnpkg.com/eslint-plugin-escompat/-/eslint-plugin-escompat-3.3.4.tgz#86d99b1f681b760fbee0a775de318b854d230110", 287 | "eslint-plugin-eslint-comments@^3.2.0": "https://registry.yarnpkg.com/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.2.0.tgz#9e1cd7b4413526abb313933071d7aba05ca12ffa", 288 | "eslint-plugin-filenames@^1.3.2": "https://registry.yarnpkg.com/eslint-plugin-filenames/-/eslint-plugin-filenames-1.3.2.tgz#7094f00d7aefdd6999e3ac19f72cea058e590cf7", 289 | "eslint-plugin-github@4.6.0": "https://registry.yarnpkg.com/eslint-plugin-github/-/eslint-plugin-github-4.6.0.tgz#9117c464d3537cbfa784ad25f71e7f1c3b822dd0", 290 | "eslint-plugin-i18n-text@^1.0.1": "https://registry.yarnpkg.com/eslint-plugin-i18n-text/-/eslint-plugin-i18n-text-1.0.1.tgz#69ce14f9af7d135cbe8114b1b144a57bb83291dc", 291 | "eslint-plugin-import@^2.25.2": "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b", 292 | "eslint-plugin-jest@27.2.1": "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-27.2.1.tgz#b85b4adf41c682ea29f1f01c8b11ccc39b5c672c", 293 | "eslint-plugin-jsx-a11y@^6.6.0": "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.6.1.tgz#93736fc91b83fdc38cc8d115deedfc3091aef1ff", 294 | "eslint-plugin-no-only-tests@^3.0.0": "https://registry.yarnpkg.com/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-3.1.0.tgz#f38e4935c6c6c4842bf158b64aaa20c366fe171b", 295 | "eslint-plugin-prettier@4.2.1": "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b", 296 | "eslint-plugin-prettier@^4.0.0": "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b", 297 | "eslint-rule-documentation@>=1.0.0": "https://registry.yarnpkg.com/eslint-rule-documentation/-/eslint-rule-documentation-1.0.23.tgz#4e0886145597a78d24524ec7e0cf18c6fedc23a8", 298 | "eslint-scope@^5.1.1": "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c", 299 | "eslint-scope@^7.1.1": "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642", 300 | "eslint-utils@^3.0.0": "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672", 301 | "eslint-visitor-keys@^2.0.0": "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303", 302 | "eslint-visitor-keys@^3.3.0": "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826", 303 | "eslint@8.31.0": "https://registry.yarnpkg.com/eslint/-/eslint-8.31.0.tgz#75028e77cbcff102a9feae1d718135931532d524", 304 | "espree@^9.4.0": "https://registry.yarnpkg.com/espree/-/espree-9.4.1.tgz#51d6092615567a2c2cff7833445e37c28c0065bd", 305 | "esprima@^4.0.0": "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71", 306 | "esquery@^1.4.0": "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5", 307 | "esrecurse@^4.3.0": "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921", 308 | "estraverse@^4.1.1": "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d", 309 | "estraverse@^5.1.0": "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123", 310 | "estraverse@^5.2.0": "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123", 311 | "esutils@^2.0.2": "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64", 312 | "event-target-shim@^5.0.0": "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789", 313 | "execa@^5.0.0": "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd", 314 | "exit@^0.1.2": "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c", 315 | "expect@^29.0.0": "https://registry.yarnpkg.com/expect/-/expect-29.3.1.tgz#92877aad3f7deefc2e3f6430dd195b92295554a6", 316 | "expect@^29.3.1": "https://registry.yarnpkg.com/expect/-/expect-29.3.1.tgz#92877aad3f7deefc2e3f6430dd195b92295554a6", 317 | "fast-deep-equal@^3.1.1": "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525", 318 | "fast-deep-equal@^3.1.3": "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525", 319 | "fast-diff@^1.1.2": "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03", 320 | "fast-glob@^3.2.9": "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80", 321 | "fast-json-stable-stringify@2.x": "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633", 322 | "fast-json-stable-stringify@^2.0.0": "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633", 323 | "fast-json-stable-stringify@^2.1.0": "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633", 324 | "fast-levenshtein@^2.0.6": "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917", 325 | "fastq@^1.6.0": "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a", 326 | "fb-watchman@^2.0.0": "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c", 327 | "file-entry-cache@^6.0.1": "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027", 328 | "fill-range@^7.0.1": "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40", 329 | "find-up@^4.0.0": "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19", 330 | "find-up@^4.1.0": "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19", 331 | "find-up@^5.0.0": "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc", 332 | "flat-cache@^3.0.4": "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11", 333 | "flatted@^3.1.0": "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787", 334 | "for-each@^0.3.3": "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e", 335 | "form-data@^3.0.0": "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f", 336 | "fs.realpath@^1.0.0": "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f", 337 | "fsevents@^2.3.2": "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a", 338 | "function-bind@^1.1.1": "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d", 339 | "function.prototype.name@^1.1.5": "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621", 340 | "functions-have-names@^1.2.2": "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834", 341 | "gensync@^1.0.0-beta.2": "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0", 342 | "get-caller-file@^2.0.5": "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e", 343 | "get-intrinsic@^1.0.2": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385", 344 | "get-intrinsic@^1.1.1": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385", 345 | "get-intrinsic@^1.1.3": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385", 346 | "get-package-type@^0.1.0": "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a", 347 | "get-stream@^6.0.0": "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7", 348 | "get-symbol-description@^1.0.0": "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6", 349 | "glob-parent@^5.1.2": "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4", 350 | "glob-parent@^6.0.2": "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3", 351 | "glob@^7.1.3": "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b", 352 | "glob@^7.1.4": "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b", 353 | "globals@^11.1.0": "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e", 354 | "globals@^13.19.0": "https://registry.yarnpkg.com/globals/-/globals-13.19.0.tgz#7a42de8e6ad4f7242fbcca27ea5b23aca367b5c8", 355 | "globalthis@^1.0.3": "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf", 356 | "globby@^11.1.0": "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b", 357 | "gopd@^1.0.1": "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c", 358 | "graceful-fs@^4.2.9": "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c", 359 | "grapheme-splitter@^1.0.4": "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e", 360 | "has-bigints@^1.0.1": "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa", 361 | "has-bigints@^1.0.2": "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa", 362 | "has-flag@^3.0.0": "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd", 363 | "has-flag@^4.0.0": "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b", 364 | "has-property-descriptors@^1.0.0": "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861", 365 | "has-proto@^1.0.1": "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0", 366 | "has-symbols@^1.0.2": "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8", 367 | "has-symbols@^1.0.3": "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8", 368 | "has-tostringtag@^1.0.0": "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25", 369 | "has@^1.0.3": "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796", 370 | "html-escaper@^2.0.0": "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453", 371 | "human-signals@^2.1.0": "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0", 372 | "ignore@^5.0.5": "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324", 373 | "ignore@^5.2.0": "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324", 374 | "import-fresh@^3.0.0": "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b", 375 | "import-fresh@^3.2.1": "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b", 376 | "import-local@^3.0.2": "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4", 377 | "imurmurhash@^0.1.4": "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea", 378 | "inflight@^1.0.4": "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9", 379 | "inherits@2": "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c", 380 | "internal-slot@^1.0.4": "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.4.tgz#8551e7baf74a7a6ba5f749cfb16aa60722f0d6f3", 381 | "is-array-buffer@^3.0.0": "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.1.tgz#deb1db4fcae48308d54ef2442706c0393997052a", 382 | "is-arrayish@^0.2.1": "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d", 383 | "is-bigint@^1.0.1": "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3", 384 | "is-boolean-object@^1.1.0": "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719", 385 | "is-callable@^1.1.3": "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055", 386 | "is-callable@^1.1.4": "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055", 387 | "is-callable@^1.2.7": "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055", 388 | "is-core-module@^2.8.1": "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144", 389 | "is-core-module@^2.9.0": "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144", 390 | "is-date-object@^1.0.1": "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f", 391 | "is-extglob@^2.1.1": "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2", 392 | "is-fullwidth-code-point@^3.0.0": "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d", 393 | "is-generator-fn@^2.0.0": "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118", 394 | "is-glob@^4.0.0": "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084", 395 | "is-glob@^4.0.1": "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084", 396 | "is-glob@^4.0.3": "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084", 397 | "is-negative-zero@^2.0.2": "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150", 398 | "is-number-object@^1.0.4": "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc", 399 | "is-number@^7.0.0": "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b", 400 | "is-path-inside@^3.0.3": "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283", 401 | "is-regex@^1.1.4": "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958", 402 | "is-shared-array-buffer@^1.0.2": "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79", 403 | "is-stream@^2.0.0": "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077", 404 | "is-string@^1.0.5": "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd", 405 | "is-string@^1.0.7": "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd", 406 | "is-symbol@^1.0.2": "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c", 407 | "is-symbol@^1.0.3": "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c", 408 | "is-typed-array@^1.1.10": "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f", 409 | "is-typed-array@^1.1.9": "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f", 410 | "is-weakref@^1.0.2": "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2", 411 | "isexe@^2.0.0": "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10", 412 | "istanbul-lib-coverage@^3.0.0": "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3", 413 | "istanbul-lib-coverage@^3.2.0": "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3", 414 | "istanbul-lib-instrument@^5.0.4": "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d", 415 | "istanbul-lib-instrument@^5.1.0": "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d", 416 | "istanbul-lib-report@^3.0.0": "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6", 417 | "istanbul-lib-source-maps@^4.0.0": "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551", 418 | "istanbul-reports@^3.1.3": "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae", 419 | "jest-changed-files@^29.2.0": "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.2.0.tgz#b6598daa9803ea6a4dce7968e20ab380ddbee289", 420 | "jest-circus@29.3.1": "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.3.1.tgz#177d07c5c0beae8ef2937a67de68f1e17bbf1b4a", 421 | "jest-circus@^29.3.1": "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.3.1.tgz#177d07c5c0beae8ef2937a67de68f1e17bbf1b4a", 422 | "jest-cli@^29.3.1": "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.3.1.tgz#e89dff427db3b1df50cea9a393ebd8640790416d", 423 | "jest-config@^29.3.1": "https://registry.yarnpkg.com/jest-config/-/jest-config-29.3.1.tgz#0bc3dcb0959ff8662957f1259947aedaefb7f3c6", 424 | "jest-diff@^29.3.1": "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.3.1.tgz#d8215b72fed8f1e647aed2cae6c752a89e757527", 425 | "jest-docblock@^29.2.0": "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.2.0.tgz#307203e20b637d97cee04809efc1d43afc641e82", 426 | "jest-each@^29.3.1": "https://registry.yarnpkg.com/jest-each/-/jest-each-29.3.1.tgz#bc375c8734f1bb96625d83d1ca03ef508379e132", 427 | "jest-environment-node@^29.3.1": "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.3.1.tgz#5023b32472b3fba91db5c799a0d5624ad4803e74", 428 | "jest-get-type@^29.2.0": "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.2.0.tgz#726646f927ef61d583a3b3adb1ab13f3a5036408", 429 | "jest-haste-map@^29.3.1": "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.3.1.tgz#af83b4347f1dae5ee8c2fb57368dc0bb3e5af843", 430 | "jest-leak-detector@^29.3.1": "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.3.1.tgz#95336d020170671db0ee166b75cd8ef647265518", 431 | "jest-matcher-utils@^29.3.1": "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.3.1.tgz#6e7f53512f80e817dfa148672bd2d5d04914a572", 432 | "jest-message-util@^29.3.1": "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.3.1.tgz#37bc5c468dfe5120712053dd03faf0f053bd6adb", 433 | "jest-mock@^29.3.1": "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.3.1.tgz#60287d92e5010979d01f218c6b215b688e0f313e", 434 | "jest-pnp-resolver@^1.2.2": "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e", 435 | "jest-regex-util@^29.2.0": "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.2.0.tgz#82ef3b587e8c303357728d0322d48bbfd2971f7b", 436 | "jest-resolve-dependencies@^29.3.1": "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.3.1.tgz#a6a329708a128e68d67c49f38678a4a4a914c3bf", 437 | "jest-resolve@^29.3.1": "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.3.1.tgz#9a4b6b65387a3141e4a40815535c7f196f1a68a7", 438 | "jest-runner@^29.3.1": "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.3.1.tgz#a92a879a47dd096fea46bb1517b0a99418ee9e2d", 439 | "jest-runtime@^29.3.1": "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.3.1.tgz#21efccb1a66911d6d8591276a6182f520b86737a", 440 | "jest-snapshot@^29.3.1": "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.3.1.tgz#17bcef71a453adc059a18a32ccbd594b8cc4e45e", 441 | "jest-util@^29.0.0": "https://registry.yarnpkg.com/jest-util/-/jest-util-29.3.1.tgz#1dda51e378bbcb7e3bc9d8ab651445591ed373e1", 442 | "jest-util@^29.3.1": "https://registry.yarnpkg.com/jest-util/-/jest-util-29.3.1.tgz#1dda51e378bbcb7e3bc9d8ab651445591ed373e1", 443 | "jest-validate@^29.3.1": "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.3.1.tgz#d56fefaa2e7d1fde3ecdc973c7f7f8f25eea704a", 444 | "jest-watcher@^29.3.1": "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.3.1.tgz#3341547e14fe3c0f79f9c3a4c62dbc3fc977fd4a", 445 | "jest-worker@^29.3.1": "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.3.1.tgz#e9462161017a9bb176380d721cab022661da3d6b", 446 | "jest@29.3.1": "https://registry.yarnpkg.com/jest/-/jest-29.3.1.tgz#c130c0d551ae6b5459b8963747fed392ddbde122", 447 | "js-sdsl@^4.1.4": "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.2.0.tgz#278e98b7bea589b8baaf048c20aeb19eb7ad09d0", 448 | "js-tokens@^4.0.0": "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499", 449 | "js-yaml@4.1.0": "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602", 450 | "js-yaml@^3.13.1": "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537", 451 | "js-yaml@^4.1.0": "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602", 452 | "jsesc@^2.5.1": "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4", 453 | "json-parse-even-better-errors@^2.3.0": "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d", 454 | "json-schema-traverse@^0.4.1": "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660", 455 | "json-stable-stringify-without-jsonify@^1.0.1": "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651", 456 | "json5@^1.0.1": "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593", 457 | "json5@^2.2.1": "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283", 458 | "json5@^2.2.2": "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283", 459 | "jsx-ast-utils@^3.3.2": "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz#76b3e6e6cece5c69d49a5792c3d01bd1a0cdc7ea", 460 | "kleur@^3.0.3": "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e", 461 | "language-subtag-registry@^0.3.20": "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d", 462 | "language-tags@^1.0.5": "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.7.tgz#41cc248730f3f12a452c2e2efe32bc0bbce67967", 463 | "leven@^3.1.0": "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2", 464 | "levn@^0.4.1": "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade", 465 | "lines-and-columns@^1.1.6": "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632", 466 | "locate-path@^5.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0", 467 | "locate-path@^6.0.0": "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286", 468 | "lodash.camelcase@4.3.0": "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6", 469 | "lodash.kebabcase@4.1.1": "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36", 470 | "lodash.memoize@4.x": "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe", 471 | "lodash.merge@^4.6.2": "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a", 472 | "lodash.snakecase@4.1.1": "https://registry.yarnpkg.com/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz#39d714a35357147837aefd64b5dcbb16becd8f8d", 473 | "lodash.upperfirst@4.3.1": "https://registry.yarnpkg.com/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz#1365edf431480481ef0d1c68957a5ed99d49f7ce", 474 | "lodash@^4.17.21": "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c", 475 | "lru-cache@^5.1.1": "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920", 476 | "lru-cache@^6.0.0": "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94", 477 | "make-dir@^3.0.0": "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f", 478 | "make-error@1.x": "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2", 479 | "makeerror@1.0.12": "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a", 480 | "merge-stream@^2.0.0": "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60", 481 | "merge2@^1.3.0": "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae", 482 | "merge2@^1.4.1": "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae", 483 | "micromatch@^4.0.4": "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6", 484 | "mime-db@1.52.0": "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70", 485 | "mime-types@^2.1.12": "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a", 486 | "mimic-fn@^2.1.0": "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b", 487 | "minimatch@^3.0.4": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b", 488 | "minimatch@^3.0.5": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b", 489 | "minimatch@^3.1.1": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b", 490 | "minimatch@^3.1.2": "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b", 491 | "minimist@^1.2.0": "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18", 492 | "minimist@^1.2.6": "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18", 493 | "ms@2.0.0": "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8", 494 | "ms@2.1.2": "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009", 495 | "ms@^2.1.1": "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2", 496 | "natural-compare-lite@^1.4.0": "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4", 497 | "natural-compare@^1.4.0": "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7", 498 | "node-fetch@2.6.7": "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad", 499 | "node-fetch@^2.6.7": "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6", 500 | "node-int64@^0.4.0": "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b", 501 | "node-releases@^2.0.6": "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.8.tgz#0f349cdc8fcfa39a92ac0be9bc48b7706292b9ae", 502 | "normalize-path@^3.0.0": "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65", 503 | "npm-run-path@^4.0.1": "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea", 504 | "object-inspect@^1.12.2": "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea", 505 | "object-inspect@^1.9.0": "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea", 506 | "object-keys@^1.1.1": "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e", 507 | "object.assign@^4.1.3": "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f", 508 | "object.assign@^4.1.4": "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f", 509 | "object.values@^1.1.5": "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d", 510 | "once@^1.3.0": "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1", 511 | "onetime@^5.1.2": "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e", 512 | "optionator@^0.9.1": "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499", 513 | "p-limit@^2.2.0": "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1", 514 | "p-limit@^3.0.2": "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b", 515 | "p-limit@^3.1.0": "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b", 516 | "p-locate@^4.1.0": "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07", 517 | "p-locate@^5.0.0": "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834", 518 | "p-try@^2.0.0": "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6", 519 | "parent-module@^1.0.0": "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2", 520 | "parse-json@^5.2.0": "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd", 521 | "path-exists@^4.0.0": "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3", 522 | "path-is-absolute@^1.0.0": "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f", 523 | "path-key@^3.0.0": "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375", 524 | "path-key@^3.1.0": "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375", 525 | "path-parse@^1.0.7": "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735", 526 | "path-type@^4.0.0": "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b", 527 | "picocolors@^1.0.0": "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c", 528 | "picomatch@^2.0.4": "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42", 529 | "picomatch@^2.2.3": "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42", 530 | "picomatch@^2.3.1": "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42", 531 | "pirates@^4.0.4": "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b", 532 | "pkg-dir@^4.2.0": "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3", 533 | "prelude-ls@^1.2.1": "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396", 534 | "prettier-linter-helpers@^1.0.0": "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b", 535 | "prettier@2.8.2": "https://registry.yarnpkg.com/prettier/-/prettier-2.8.2.tgz#c4ea1b5b454d7c4b59966db2e06ed7eec5dfd160", 536 | "prettier@^2.2.1": "https://registry.yarnpkg.com/prettier/-/prettier-2.8.2.tgz#c4ea1b5b454d7c4b59966db2e06ed7eec5dfd160", 537 | "pretty-format@^29.0.0": "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.3.1.tgz#1841cac822b02b4da8971dacb03e8a871b4722da", 538 | "pretty-format@^29.3.1": "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.3.1.tgz#1841cac822b02b4da8971dacb03e8a871b4722da", 539 | "prompts@^2.0.1": "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069", 540 | "punycode@^2.1.0": "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec", 541 | "queue-microtask@^1.2.2": "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243", 542 | "react-is@^18.0.0": "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b", 543 | "regenerator-runtime@^0.13.11": "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9", 544 | "regexp.prototype.flags@^1.4.3": "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac", 545 | "regexpp@^3.2.0": "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2", 546 | "require-directory@^2.1.1": "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42", 547 | "resolve-cwd@^3.0.0": "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d", 548 | "resolve-from@^4.0.0": "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6", 549 | "resolve-from@^5.0.0": "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69", 550 | "resolve.exports@^1.1.0": "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9", 551 | "resolve@^1.20.0": "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177", 552 | "resolve@^1.22.0": "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177", 553 | "reusify@^1.0.4": "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76", 554 | "rimraf@^3.0.2": "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a", 555 | "run-parallel@^1.1.9": "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee", 556 | "rxjs@^7.0.0": "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4", 557 | "safe-regex-test@^1.0.0": "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295", 558 | "semver@7.x": "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798", 559 | "semver@^6.0.0": "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d", 560 | "semver@^6.3.0": "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d", 561 | "semver@^7.3.5": "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798", 562 | "semver@^7.3.7": "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798", 563 | "shebang-command@^2.0.0": "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea", 564 | "shebang-regex@^3.0.0": "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172", 565 | "shell-quote@^1.7.3": "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.4.tgz#33fe15dee71ab2a81fcbd3a52106c5cfb9fb75d8", 566 | "side-channel@^1.0.4": "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf", 567 | "signal-exit@^3.0.3": "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9", 568 | "signal-exit@^3.0.7": "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9", 569 | "sisteransi@^1.0.5": "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed", 570 | "slash@^3.0.0": "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634", 571 | "source-map-support@0.5.13": "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932", 572 | "source-map@^0.6.0": "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263", 573 | "source-map@^0.6.1": "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263", 574 | "spawn-command@^0.0.2-1": "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0", 575 | "sprintf-js@~1.0.2": "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c", 576 | "stack-utils@^2.0.3": "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f", 577 | "string-length@^4.0.1": "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a", 578 | "string-width@^4.1.0": "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010", 579 | "string-width@^4.2.0": "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010", 580 | "string-width@^4.2.3": "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010", 581 | "string.prototype.trimend@^1.0.6": "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533", 582 | "string.prototype.trimstart@^1.0.6": "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4", 583 | "strip-ansi@^6.0.0": "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9", 584 | "strip-ansi@^6.0.1": "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9", 585 | "strip-bom@^3.0.0": "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3", 586 | "strip-bom@^4.0.0": "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878", 587 | "strip-final-newline@^2.0.0": "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad", 588 | "strip-json-comments@^3.1.0": "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006", 589 | "strip-json-comments@^3.1.1": "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006", 590 | "supports-color@^5.3.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f", 591 | "supports-color@^7.1.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da", 592 | "supports-color@^8.0.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c", 593 | "supports-color@^8.1.0": "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c", 594 | "supports-preserve-symlinks-flag@^1.0.0": "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09", 595 | "svg-element-attributes@^1.3.1": "https://registry.yarnpkg.com/svg-element-attributes/-/svg-element-attributes-1.3.1.tgz#0c55afac6284291ab563d0913c062cf78a8c0ddb", 596 | "test-exclude@^6.0.0": "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e", 597 | "text-table@^0.2.0": "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4", 598 | "tmpl@1.0.5": "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc", 599 | "to-fast-properties@^2.0.0": "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e", 600 | "to-regex-range@^5.0.1": "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4", 601 | "tr46@~0.0.3": "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a", 602 | "tree-kill@^1.2.2": "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc", 603 | "ts-jest@29.0.3": "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.0.3.tgz#63ea93c5401ab73595440733cefdba31fcf9cb77", 604 | "tsconfig-paths@^3.14.1": "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a", 605 | "tslib@^1.8.1": "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00", 606 | "tslib@^2.1.0": "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e", 607 | "tsutils@^3.21.0": "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623", 608 | "tunnel@^0.0.6": "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c", 609 | "type-check@^0.4.0": "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1", 610 | "type-check@~0.4.0": "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1", 611 | "type-detect@4.0.8": "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c", 612 | "type-fest@^0.20.2": "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4", 613 | "type-fest@^0.21.3": "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37", 614 | "typed-array-length@^1.0.4": "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb", 615 | "typescript@4.9.4": "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78", 616 | "unbox-primitive@^1.0.2": "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e", 617 | "update-browserslist-db@^1.0.9": "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3", 618 | "uri-js@^4.2.2": "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e", 619 | "uuid@^8.3.2": "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2", 620 | "v8-to-istanbul@^9.0.1": "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4", 621 | "walker@^1.0.8": "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f", 622 | "webidl-conversions@^3.0.0": "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871", 623 | "whatwg-url@^5.0.0": "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d", 624 | "which-boxed-primitive@^1.0.2": "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6", 625 | "which-typed-array@^1.1.9": "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6", 626 | "which@^2.0.1": "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1", 627 | "word-wrap@^1.2.3": "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c", 628 | "wrap-ansi@^7.0.0": "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43", 629 | "wrappy@1": "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f", 630 | "write-file-atomic@^4.0.1": "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd", 631 | "y18n@^5.0.5": "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55", 632 | "yallist@^3.0.2": "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd", 633 | "yallist@^4.0.0": "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72", 634 | "yargs-parser@^21.0.1": "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35", 635 | "yargs-parser@^21.1.1": "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35", 636 | "yargs@^17.3.1": "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541", 637 | "yocto-queue@^0.1.0": "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" 638 | }, 639 | "files": [], 640 | "artifacts": {} 641 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "github-action-await-vercel", 3 | "private": true, 4 | "description": "GitHub Action - Awaits for a Vercel deployment to be ready", 5 | "homepage": "https://github.com/UnlyEd/github-action-await-vercel", 6 | "main": "lib/main.js", 7 | "scripts": { 8 | "start": "yarn build", 9 | "build": "concurrently -p '{name}' -n 'tsc,ncc' -c 'gray.bgWhite,yellow.bgBlue' \"tsc --watch\" \"yarn build:gha-runtime --watch\"", 10 | "build:once": "tsc", 11 | "build:gha-runtime": "ncc build lib/main.js -o github-action-runtime --minify --source-map --license LICENSE --stats-out 'github-action-runtime/stats.json'", 12 | "format": "prettier --write **/*.ts", 13 | "format:preview": "prettier --check **/*.ts", 14 | "lint": "eslint src/**/*.ts", 15 | "package": "ncc build --source-map --license licenses.txt", 16 | "bump:major": "git commit --allow-empty -m \"(MAJOR) Fake commit, bumps major version\"", 17 | "bump:minor": "git commit --allow-empty -m \"(MINOR) Fake commit, bumps minor version\"", 18 | "test": "NODE_ENV=test jest --watch", 19 | "test:once": "NODE_ENV=test jest", 20 | "test:coverage": "NODE_ENV=test jest --coverage", 21 | "test:config": "NODE_ENV=test jest --showConfig", 22 | "act:actions:list": "act --version && act --list" 23 | }, 24 | "repository": { 25 | "type": "git", 26 | "url": "git+https://github.com/UnlyEd/github-action-await-vercel.git" 27 | }, 28 | "keywords": [ 29 | "github", 30 | "github actions", 31 | "actions", 32 | "vercel deployment", 33 | "vercel", 34 | "await", 35 | "deployment" 36 | ], 37 | "author": "UnlyEd", 38 | "license": "MIT", 39 | "dependencies": { 40 | "@actions/core": "1.10.0", 41 | "@adobe/node-fetch-retry": "2.2.0", 42 | "dotenv": "16.0.3", 43 | "eslint-plugin-prettier": "4.2.1", 44 | "node-fetch": "2.6.7" 45 | }, 46 | "devDependencies": { 47 | "@babel/parser": "7.20.7", 48 | "@types/jest": "29.2.5", 49 | "@types/node": "18.11.18", 50 | "@types/node-fetch": "^2.6.2", 51 | "@typescript-eslint/parser": "5.48.0", 52 | "@vercel/ncc": "0.36.0", 53 | "concurrently": "7.6.0", 54 | "eslint": "8.31.0", 55 | "eslint-plugin-github": "4.6.0", 56 | "eslint-plugin-jest": "27.2.1", 57 | "jest": "29.3.1", 58 | "jest-circus": "29.3.1", 59 | "js-yaml": "4.1.0", 60 | "prettier": "2.8.2", 61 | "ts-jest": "29.0.3", 62 | "typescript": "4.9.4" 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /src/awaitVercelDeployment.ts: -------------------------------------------------------------------------------- 1 | import * as core from '@actions/core'; 2 | import fetch from '@adobe/node-fetch-retry'; 3 | import { setTimeout } from 'timers/promises'; 4 | import { VERCEL_BASE_API_ENDPOINT } from './config'; 5 | import { VercelDeployment } from './types/VercelDeployment'; 6 | 7 | interface Options { 8 | /** Base url of the Vercel deployment to await for */ 9 | url: string; 10 | /** Duration (in milliseconds) to wait for a terminal deployment status */ 11 | timeout: number; 12 | /** Duration (in milliseconds) to wait in between polled Vercel API requests */ 13 | pollInterval: number; 14 | } 15 | 16 | /** 17 | * Awaits for the Vercel deployment to be in a "ready" state. 18 | * 19 | * When the `timeout` is reached, the Promise is rejected (the action will fail) 20 | */ 21 | const awaitVercelDeployment = ({ url, timeout, pollInterval }: Options): Promise => { 22 | return new Promise(async (resolve, reject) => { 23 | let deployment: VercelDeployment = {}; 24 | const timeoutTime = new Date().getTime() + timeout; 25 | 26 | while (new Date().getTime() < timeoutTime) { 27 | const retryMaxDuration = timeoutTime - new Date().getTime(); // constrain retries by remaining timeout duration 28 | 29 | core.debug(`Retrieving deployment (retryMaxDuration=${retryMaxDuration}ms)`); 30 | deployment = await fetch(`${VERCEL_BASE_API_ENDPOINT}/v11/now/deployments/get?url=${url}`, { 31 | headers: { 32 | Authorization: `Bearer ${process.env.VERCEL_TOKEN}`, 33 | }, 34 | retryOptions: { retryMaxDuration }, 35 | }).then((data) => data.json()); 36 | 37 | core.debug(`Received these data from Vercel: ${JSON.stringify(deployment)}`); 38 | 39 | if (deployment.readyState === 'READY' || deployment.readyState === 'ERROR') { 40 | core.debug('Deployment has been found'); 41 | return resolve(deployment); 42 | } 43 | 44 | core.debug(`Waiting ${pollInterval}ms`); 45 | await setTimeout(pollInterval); 46 | } 47 | 48 | core.debug(`Last deployment response: ${JSON.stringify(deployment)}`); 49 | 50 | return reject('Timeout has been reached'); 51 | }); 52 | }; 53 | 54 | export default awaitVercelDeployment; 55 | -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- 1 | import { getInput } from '@actions/core'; 2 | 3 | export const VERCEL_BASE_API_ENDPOINT = 'https://api.vercel.com'; 4 | 5 | /** 6 | * Directory where the compiled version (JS) of the TS code is stored. 7 | * 8 | * XXX Should match the package.json:main value. 9 | */ 10 | export const BUILD_DIR = 'lib'; 11 | 12 | /** 13 | * Name of the Action's entrypoint. 14 | * 15 | * XXX Should match the package.json:main value. 16 | */ 17 | export const BUILD_MAIN_FILENAME = 'main.js'; 18 | 19 | /** 20 | * Return the value of the specified action `input`, converted from seconds to milliseconds. 21 | */ 22 | export function millisecondsFromInput(input: string): number { 23 | return +getInput(input) * 1000; 24 | } 25 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import * as core from '@actions/core'; 2 | import awaitVercelDeployment from './awaitVercelDeployment'; 3 | import { millisecondsFromInput } from './config'; 4 | import { VercelDeployment } from './types/VercelDeployment'; 5 | 6 | /** 7 | * Runs configuration checks to make sure everything is properly configured. 8 | * If anything isn't properly configured, will stop the workflow. 9 | */ 10 | const runConfigChecks = () => { 11 | if (!process.env.VERCEL_TOKEN) { 12 | const message = 13 | process.env.NODE_ENV === 'test' 14 | ? `VERCEL_TOKEN environment variable is not defined. Please define it in the ".env.test" file. See https://vercel.com/account/tokens` 15 | : `VERCEL_TOKEN environment variable is not defined. Please create a GitHub "VERCEL_TOKEN" secret. See https://vercel.com/account/tokens`; 16 | core.setFailed(message); 17 | throw new Error(message); 18 | } 19 | }; 20 | 21 | /** 22 | * Runs the GitHub Action. 23 | */ 24 | const run = (): void => { 25 | if (!core.isDebug()) { 26 | core.info('Debug mode is disabled. Read more at https://github.com/UnlyEd/github-action-await-vercel#how-to-enable-debug-logs'); 27 | } 28 | 29 | try { 30 | const url: string = core.getInput('deployment-url'); 31 | core.debug(`Url to wait for: ${url}`); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true https://github.com/actions/toolkit/blob/master/docs/action-debugging.md#how-to-access-step-debug-logs 32 | 33 | const timeout: number = millisecondsFromInput('timeout'); 34 | core.debug(`Timeout used: ${timeout}`); 35 | 36 | const pollInterval: number = millisecondsFromInput('poll-interval'); 37 | core.debug(`Poll interval used: ${pollInterval}`); 38 | 39 | awaitVercelDeployment({ url, timeout, pollInterval }) 40 | .then((deployment: VercelDeployment) => { 41 | core.setOutput('deploymentDetails', deployment); 42 | }) 43 | .catch((error) => { 44 | core.setFailed(error); 45 | }); 46 | } catch (error) { 47 | core.setFailed(error.message); 48 | } 49 | }; 50 | 51 | runConfigChecks(); 52 | run(); 53 | -------------------------------------------------------------------------------- /src/types/VercelDeployment.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Vercel deployment shape returned by the Vercel API. 3 | * 4 | * @see https://vercel.com/docs/api#endpoints/deployments/get-a-single-deployment/response-parameters 5 | */ 6 | export type VercelDeployment = { 7 | id?: string; 8 | url?: string; 9 | name?: string; 10 | meta?: { [key: string]: string }; 11 | regions?: string[]; 12 | routes?: { src: string; dest: string }[]; 13 | functions?: { [functionPath: string]: { memory: number } }; 14 | plan?: string; 15 | public?: boolean; 16 | ownerId?: string; 17 | readyState?: 'INITIALIZING' | 'ANALYZING' | 'BUILDING' | 'DEPLOYING' | 'READY' | 'ERROR'; 18 | createdAt?: Date; 19 | createdIn?: string; 20 | env?: string[]; 21 | build?: { 22 | env?: string[]; 23 | }; 24 | target?: 'staging' | 'production'; 25 | alias?: string[]; 26 | aliasError?: { code: string; message: string }; 27 | aliasAssigned?: boolean; 28 | } 29 | -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "exclude": ["node_modules"] 4 | } 5 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ 4 | "target": "es6", 5 | /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ 6 | "module": "commonjs", 7 | /* Redirect output structure to the directory. */ 8 | "outDir": "./lib", 9 | /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 10 | "rootDir": "./src", 11 | /* Enable all strict type-checking options. */ 12 | "strict": true, 13 | /* Raise error on expressions and declarations with an implied 'any' type. */ 14 | "noImplicitAny": true, 15 | /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 16 | "esModuleInterop": true, 17 | /* Avoid errors on try/catch */ 18 | "useUnknownInCatchVariables": false 19 | }, 20 | "exclude": [ 21 | "node_modules", 22 | "**/*.test.ts" 23 | ] 24 | } 25 | --------------------------------------------------------------------------------