Compare commits

...

7 Commits

Author SHA1 Message Date
7e7150d0e8 Merge pull request #147 from peter-evans/dev
Default token to github.token
2020-04-01 19:09:39 +09:00
eb99d45ce6 Default token to github.token 2020-04-01 18:50:53 +09:00
115b7391e1 Revert "Update documentation"
This reverts commit 628c2d7d35.
2020-03-30 17:36:34 +09:00
8305970523 Merge pull request #146 from peter-evans/renovate/jest-monorepo
Update dependency jest to v25.2.4
2020-03-30 09:02:53 +09:00
32f5c5dd5f Update dependency jest to v25.2.4 2020-03-29 20:05:26 +00:00
628c2d7d35 Update documentation 2020-03-29 21:34:47 +09:00
37582e8764 Update documentation 2020-03-29 21:27:56 +09:00
7 changed files with 142 additions and 165 deletions

View File

@ -13,7 +13,6 @@ jobs:
id: cpr
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Add report file
committer: Peter Evans <peter-evans@users.noreply.github.com>
title: '[Example] Add report file'

View File

@ -27,22 +27,20 @@ Create Pull Request action will:
```yml
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
You can also pin to a [specific release](https://github.com/peter-evans/create-pull-request/releases) version in the format `@v2.x.x`
### Action inputs
With the exception of `token`, all inputs are **optional**. If not set, sensible default values will be used.
All inputs are **optional**. If not set, sensible default values will be used.
**Note**: If you want pull requests created by this action to trigger an `on: push` or `on: pull_request` workflow then you must use a [Personal Access Token](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) instead of the default `GITHUB_TOKEN`. Alternatively, allow the action to [push using SSH](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#push-using-ssh-deploy-keys) by configuring a deploy key.
| Name | Description | Default |
| --- | --- | --- |
| `token` | `GITHUB_TOKEN` or a `repo` scoped [PAT](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). | |
| `path` | Relative path under `$GITHUB_WORKSPACE` to the repository. | `$GITHUB_WORKSPACE` |
| `token` | `GITHUB_TOKEN` or a `repo` scoped [PAT](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). | `GITHUB_TOKEN` |
| `path` | Relative path under `GITHUB_WORKSPACE` to the repository. | `GITHUB_WORKSPACE` |
| `commit-message` | The message to use when committing changes. | `[create-pull-request] automated change` |
| `committer` | The committer name and email address in the format `Display Name <email@address.com>`. | Defaults to the GitHub Actions bot user. See [Committer and author](#committer-and-author) for details. |
| `author` | The author name and email address in the format `Display Name <email@address.com>`. | Defaults to the GitHub Actions bot user. See [Committer and author](#committer-and-author) for details. |
@ -56,7 +54,7 @@ With the exception of `token`, all inputs are **optional**. If not set, sensible
| `project` | The name of the project for which a card should be created. Requires `project-column`. | |
| `project-column` | The name of the project column under which a card should be created. Requires `project`. | |
| `branch` | The branch name. See [Branch naming](#branch-naming) for details. | `create-pull-request/patch` |
| `request-to-parent` | Create the pull request in the parent repository of the checked out fork. | `false` |
| `request-to-parent` | Create the pull request in the parent repository of the checked out fork. See [push pull request branches to a fork](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#push-pull-request-branches-to-a-fork) for details. | `false` |
| `base` | Sets the pull request base branch. | Defaults to the branch checked out in the workflow. |
| `branch-suffix` | The branch suffix type. Valid values are `random`, `timestamp` and `short-commit-hash`. See [Branch naming](#branch-naming) for details. | |
@ -69,8 +67,6 @@ Note that in order to read the step output the action step must have an id.
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Check outputs
run: |
echo "Pull Request Number - ${{ env.PULL_REQUEST_NUMBER }}"
@ -120,7 +116,6 @@ In most cases, where the committer and author are the same, just the committer c
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
committer: Peter Evans <peter-evans@users.noreply.github.com>
```
@ -144,8 +139,6 @@ As well as relying on the action to handle uncommitted changes, you can addition
run: date +%s > report.txt
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
## Reference Example

View File

@ -3,7 +3,7 @@ description: 'Creates a pull request for changes to your repository in the actio
inputs:
token:
description: 'GITHUB_TOKEN or a repo scoped PAT'
required: true
default: ${{ github.token }}
path:
description: 'Relative path under $GITHUB_WORKSPACE to the repository.'
commit-message:

View File

@ -177,21 +177,21 @@ How to use SSH (deploy keys) with create-pull-request action:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
### Push pull request branches to a fork
To enforce security, you can use a dedicated user using [machine account](https://help.github.com/en/github/site-policy/github-terms-of-service#3-account-requirements).
This user has no access to the main repository, it will use their own fork to push code and create the pull request.
Instead of pushing pull request branches to the repository you want to update, you can push them to a fork of that repository.
This allows you to employ the [principle of least privilege](https://en.wikipedia.org/wiki/Principle_of_least_privilege) by using a dedicated user acting as a [machine account](https://help.github.com/en/github/site-policy/github-terms-of-service#3-account-requirements).
This user has no access to the main repository.
It will use their own fork to push code and create the pull request.
1. Create a new github user, then login with this user.
2. fork the repository.
3. create a [Personal Access Token (PAT)](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).
4. logout and go back to your main user.
5. Add a secret to the repository containing the above PAT.
6. As shown in the example below, switch the git remote to the fork's url after checkout and set the action input `request-on-parent` to `true`.
1. Create a new GitHub user and login.
2. Fork the repository that you will be creating pull requests in.
3. Create a [Personal Access Token (PAT)](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).
4. Logout and log back in to your main user account.
5. Add a secret to your repository containing the above PAT.
6. As shown in the following example workflow, switch the git remote to the fork's URL after checkout and set the action input `request-on-parent` to `true`.
```yaml
- uses: actions/checkout@v2
@ -234,8 +234,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
**Ubuntu container example:**
@ -259,8 +257,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
### Creating pull requests on tag push
@ -294,7 +290,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: master
- name: Delete tag branch
@ -322,6 +317,4 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
```

View File

@ -45,7 +45,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: update authors
title: Update AUTHORS
body: Credit new contributors by updating AUTHORS
@ -78,7 +77,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: production-promotion
```
@ -110,7 +108,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: update dependencies
title: Automated Dependency Updates
body: This is an auto-generated PR with dependency updates.
@ -161,7 +158,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update swagger-ui to ${{ steps.swagger-ui.outputs.release_tag }}
title: Update SwaggerUI to ${{ steps.swagger-ui.outputs.release_tag }}
body: |
@ -204,7 +200,6 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: update local website copy
title: Automated Updates to Local Website Copy
body: This is an auto-generated PR with website updates.
@ -299,7 +294,6 @@ jobs:
if: steps.autopep8.outputs.exit-code == 2
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: autopep8 action fixes
title: Fixes by autopep8 action
body: This is an auto-generated PR with fixes by autopep8.
@ -358,7 +352,6 @@ The recommended method is to use [`set-output`](https://help.github.com/en/githu
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: ${{ steps.vars.outputs.pr_title }}
body: ${{ steps.vars.outputs.pr_body }}
```
@ -374,7 +367,6 @@ Alternatively, [`set-env`](https://help.github.com/en/github/automating-your-wor
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: ${{ env.PULL_REQUEST_TITLE }}
body: ${{ env.PULL_REQUEST_BODY }}
```

252
package-lock.json generated
View File

@ -407,33 +407,33 @@
}
},
"@jest/core": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/@jest/core/-/core-25.2.3.tgz",
"integrity": "sha512-Ifz3aEkGvZhwijLMmWa7sloZVEMdxpzjFv3CKHv3eRYRShTN8no6DmyvvxaZBjLalOlRalJ7HDgc733J48tSuw==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/@jest/core/-/core-25.2.4.tgz",
"integrity": "sha512-WcWYShl0Bqfcb32oXtjwbiR78D/djhMdJW+ulp4/bmHgeODcsieqUJfUH+kEv8M7VNV77E6jds5aA+WuGh1nmg==",
"dev": true,
"requires": {
"@jest/console": "^25.2.3",
"@jest/reporters": "^25.2.3",
"@jest/test-result": "^25.2.3",
"@jest/transform": "^25.2.3",
"@jest/reporters": "^25.2.4",
"@jest/test-result": "^25.2.4",
"@jest/transform": "^25.2.4",
"@jest/types": "^25.2.3",
"ansi-escapes": "^4.2.1",
"chalk": "^3.0.0",
"exit": "^0.1.2",
"graceful-fs": "^4.2.3",
"jest-changed-files": "^25.2.3",
"jest-config": "^25.2.3",
"jest-config": "^25.2.4",
"jest-haste-map": "^25.2.3",
"jest-message-util": "^25.2.3",
"jest-message-util": "^25.2.4",
"jest-regex-util": "^25.2.1",
"jest-resolve": "^25.2.3",
"jest-resolve-dependencies": "^25.2.3",
"jest-runner": "^25.2.3",
"jest-runtime": "^25.2.3",
"jest-snapshot": "^25.2.3",
"jest-resolve-dependencies": "^25.2.4",
"jest-runner": "^25.2.4",
"jest-runtime": "^25.2.4",
"jest-snapshot": "^25.2.4",
"jest-util": "^25.2.3",
"jest-validate": "^25.2.3",
"jest-watcher": "^25.2.3",
"jest-watcher": "^25.2.4",
"micromatch": "^4.0.2",
"p-each-series": "^2.1.0",
"realpath-native": "^2.0.0",
@ -513,39 +513,39 @@
}
},
"@jest/environment": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/@jest/environment/-/environment-25.2.3.tgz",
"integrity": "sha512-zRypAMQnNo8rD0rCbI9+5xf+Lu+uvunKZNBcIWjb3lTATSomKbgYO+GYewGDYn7pf+30XCNBc6SH1rnBUN1ioA==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/@jest/environment/-/environment-25.2.4.tgz",
"integrity": "sha512-wA4xlhD19/gukkDpJ5HQsTle0pgnzI5qMFEjw267lpTDC8d9N7Ihqr5pI+l0p8Qn1SQhai+glSqxrGdzKy4jxw==",
"dev": true,
"requires": {
"@jest/fake-timers": "^25.2.3",
"@jest/fake-timers": "^25.2.4",
"@jest/types": "^25.2.3",
"jest-mock": "^25.2.3"
}
},
"@jest/fake-timers": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.2.3.tgz",
"integrity": "sha512-B6Qxm86fl613MV8egfvh1mRTMu23hMNdOUjzPhKl/4Nm5cceHz6nwLn0nP0sJXI/ue1vu71aLbtkgVBCgc2hYA==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.2.4.tgz",
"integrity": "sha512-oC1TJiwfMcBttVN7Wz+VZnqEAgYTiEMu0QLOXpypR89nab0uCB31zm/QeBZddhSstn20qe3yqOXygp6OwvKT/Q==",
"dev": true,
"requires": {
"@jest/types": "^25.2.3",
"jest-message-util": "^25.2.3",
"jest-message-util": "^25.2.4",
"jest-mock": "^25.2.3",
"jest-util": "^25.2.3",
"lolex": "^5.0.0"
}
},
"@jest/reporters": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-25.2.3.tgz",
"integrity": "sha512-S0Zca5e7tTfGgxGRvBh6hktNdOBzqc6HthPzYHPRFYVW81SyzCqHTaNZydtDIVehb9s6NlyYZpcF/I2vco+lNw==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-25.2.4.tgz",
"integrity": "sha512-VHbLxM03jCc+bTLOluW/IqHR2G0Cl0iATwIQbuZtIUast8IXO4fD0oy4jpVGpG5b20S6REA8U3BaQoCW/CeVNQ==",
"dev": true,
"requires": {
"@bcoe/v8-coverage": "^0.2.3",
"@jest/console": "^25.2.3",
"@jest/test-result": "^25.2.3",
"@jest/transform": "^25.2.3",
"@jest/test-result": "^25.2.4",
"@jest/transform": "^25.2.4",
"@jest/types": "^25.2.3",
"chalk": "^3.0.0",
"collect-v8-coverage": "^1.0.0",
@ -632,34 +632,34 @@
}
},
"@jest/test-result": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-25.2.3.tgz",
"integrity": "sha512-cNYidqERTcT+xqZZ5FPSvji7Bd2YYq9M/VJCEUmgTVRFZRPOPSu65crEzQJ4czcDChEJ9ovzZ65r3UBlajnh3w==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-25.2.4.tgz",
"integrity": "sha512-AI7eUy+q2lVhFnaibDFg68NGkrxVWZdD6KBr9Hm6EvN0oAe7GxpEwEavgPfNHQjU2mi6g+NsFn/6QPgTUwM1qg==",
"dev": true,
"requires": {
"@jest/console": "^25.2.3",
"@jest/transform": "^25.2.3",
"@jest/transform": "^25.2.4",
"@jest/types": "^25.2.3",
"@types/istanbul-lib-coverage": "^2.0.0",
"collect-v8-coverage": "^1.0.0"
}
},
"@jest/test-sequencer": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.2.3.tgz",
"integrity": "sha512-trHwV/wCrxWyZyNyNBUQExsaHyBVQxJwH3butpEcR+KBJPfaTUxtpXaxfs38IXXAhH68J4kPZgAaRRfkFTLunA==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.2.4.tgz",
"integrity": "sha512-TEZm/Rkd6YgskdpTJdYLBtu6Gc11tfWPuSpatq0duH77ekjU8dpqX2zkPdY/ayuHxztV5LTJoV5BLtI9mZfXew==",
"dev": true,
"requires": {
"@jest/test-result": "^25.2.3",
"@jest/test-result": "^25.2.4",
"jest-haste-map": "^25.2.3",
"jest-runner": "^25.2.3",
"jest-runtime": "^25.2.3"
"jest-runner": "^25.2.4",
"jest-runtime": "^25.2.4"
}
},
"@jest/transform": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.2.3.tgz",
"integrity": "sha512-w1nfAuYP4OAiEDprFkE/2iwU86jL/hK3j1ylMcYOA3my5VOHqX0oeBcBxS2fUKWse2V4izuO2jqes0yNTDMlzw==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.2.4.tgz",
"integrity": "sha512-6eRigvb+G6bs4kW5j1/y8wu4nCrmVuIe0epPBbiWaYlwawJ8yi1EIyK3d/btDqmBpN5GpN4YhR6iPPnDmkYdTA==",
"dev": true,
"requires": {
"@babel/core": "^7.1.0",
@ -1089,12 +1089,12 @@
"dev": true
},
"babel-jest": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.2.3.tgz",
"integrity": "sha512-03JjvEwuDrEz/A45K8oggAv+Vqay0xcOdNTJxYFxiuZvB5vlHKo1iZg9Pi5vQTHhNCKpGLb7L/jvUUafyh9j7g==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.2.4.tgz",
"integrity": "sha512-+yDzlyJVWrqih9i2Cvjpt7COaN8vUwCsKGtxJLzg6I0xhxD54K8mvDUCliPKLufyzHh/c5C4MRj4Vk7VMjOjIg==",
"dev": true,
"requires": {
"@jest/transform": "^25.2.3",
"@jest/transform": "^25.2.4",
"@jest/types": "^25.2.3",
"@types/babel__core": "^7.1.0",
"babel-plugin-istanbul": "^6.0.0",
@ -1934,16 +1934,16 @@
}
},
"expect": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/expect/-/expect-25.2.3.tgz",
"integrity": "sha512-kil4jFRFAK2ySyCyXPqYrphc3EiiKKFd9BthrkKAyHcqr1B84xFTuj5kO8zL+eHRRjT2jQsOPExO0+1Q/fuUXg==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/expect/-/expect-25.2.4.tgz",
"integrity": "sha512-hfuPhPds4yOsZtIw4kwAg70r0hqGmpqekgA+VX7pf/3wZ6FY+xIOXZhNsPMMMsspYG/YIsbAiwqsdnD4Ht+bCA==",
"dev": true,
"requires": {
"@jest/types": "^25.2.3",
"ansi-styles": "^4.0.0",
"jest-get-type": "^25.2.1",
"jest-matcher-utils": "^25.2.3",
"jest-message-util": "^25.2.3",
"jest-message-util": "^25.2.4",
"jest-regex-util": "^25.2.1"
},
"dependencies": {
@ -2380,9 +2380,9 @@
}
},
"html-escaper": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.1.tgz",
"integrity": "sha512-hNX23TjWwD3q56HpWjUHOKj1+4KKlnjv9PcmBUYKVpga+2cnb9nDx/B1o0yO4n+RZXZdiNxzx6B24C9aNMTkkQ==",
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
"dev": true
},
"http-signature": {
@ -2739,14 +2739,14 @@
}
},
"jest": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest/-/jest-25.2.3.tgz",
"integrity": "sha512-UbUmyGeZt0/sCIj/zsWOY0qFfQsx2qEFIZp0iEj8yVH6qASfR22fJOf12gFuSPsdSufam+llZBB0MdXWCg6EEQ==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest/-/jest-25.2.4.tgz",
"integrity": "sha512-Lu4LXxf4+durzN/IFilcAoQSisOwgHIXgl9vffopePpSSwFqfj1Pj4y+k3nL8oTbnvjxgDIsEcepy6he4bWqnQ==",
"dev": true,
"requires": {
"@jest/core": "^25.2.3",
"@jest/core": "^25.2.4",
"import-local": "^3.0.2",
"jest-cli": "^25.2.3"
"jest-cli": "^25.2.4"
},
"dependencies": {
"ansi-styles": {
@ -2791,19 +2791,19 @@
"dev": true
},
"jest-cli": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-25.2.3.tgz",
"integrity": "sha512-T7G0TOkFj0wr33ki5xoq3bxkKC+liwJfjV9SmYIKBozwh91W4YjL1o1dgVCUTB1+sKJa/DiAY0p+eXYE6v2RGw==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-25.2.4.tgz",
"integrity": "sha512-zeY2pRDWKj2LZudIncvvguwLMEdcnJqc2jJbwza1beqi80qqLvkPF/BjbFkK2sIV3r+mfTJS+7ITrvK6pCdRjg==",
"dev": true,
"requires": {
"@jest/core": "^25.2.3",
"@jest/test-result": "^25.2.3",
"@jest/core": "^25.2.4",
"@jest/test-result": "^25.2.4",
"@jest/types": "^25.2.3",
"chalk": "^3.0.0",
"exit": "^0.1.2",
"import-local": "^3.0.2",
"is-ci": "^2.0.0",
"jest-config": "^25.2.3",
"jest-config": "^25.2.4",
"jest-util": "^25.2.3",
"jest-validate": "^25.2.3",
"prompts": "^2.0.1",
@ -2925,22 +2925,22 @@
}
},
"jest-config": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-config/-/jest-config-25.2.3.tgz",
"integrity": "sha512-UpTNxN8DgmLLCXFizGuvwIw+ZAPB0T3jbKaFEkzJdGqhSsQrVrk1lxhZNamaVIpWirM2ptYmqwUzvoobGCEkiQ==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-config/-/jest-config-25.2.4.tgz",
"integrity": "sha512-fxy3nIpwJqOUQJRVF/q+pNQb6dv5b9YufOeCbpPZJ/md1zXpiupbhfehpfODhnKOfqbzSiigtSLzlWWmbRxnqQ==",
"dev": true,
"requires": {
"@babel/core": "^7.1.0",
"@jest/test-sequencer": "^25.2.3",
"@jest/test-sequencer": "^25.2.4",
"@jest/types": "^25.2.3",
"babel-jest": "^25.2.3",
"babel-jest": "^25.2.4",
"chalk": "^3.0.0",
"deepmerge": "^4.2.2",
"glob": "^7.1.1",
"jest-environment-jsdom": "^25.2.3",
"jest-environment-node": "^25.2.3",
"jest-environment-jsdom": "^25.2.4",
"jest-environment-node": "^25.2.4",
"jest-get-type": "^25.2.1",
"jest-jasmine2": "^25.2.3",
"jest-jasmine2": "^25.2.4",
"jest-regex-util": "^25.2.1",
"jest-resolve": "^25.2.3",
"jest-util": "^25.2.3",
@ -3141,13 +3141,13 @@
}
},
"jest-environment-jsdom": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.2.3.tgz",
"integrity": "sha512-TLg7nizxIYJafz6tOBAVSmO5Ekswf6Cf3Soseov+mgonXfdYi1I0OZlHlZMJb2fGyXem2ndYFCLrMkwcWPKAnQ==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.2.4.tgz",
"integrity": "sha512-5dm+tNwrLmhELdjAwiQnVGf/U9iFMWdTL4/wyrMg2HU6RQnCiuxpWbIigLHUhuP1P2Ak0F4k3xhjrikboKyShA==",
"dev": true,
"requires": {
"@jest/environment": "^25.2.3",
"@jest/fake-timers": "^25.2.3",
"@jest/environment": "^25.2.4",
"@jest/fake-timers": "^25.2.4",
"@jest/types": "^25.2.3",
"jest-mock": "^25.2.3",
"jest-util": "^25.2.3",
@ -3155,13 +3155,13 @@
}
},
"jest-environment-node": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.2.3.tgz",
"integrity": "sha512-Tu/wlGXfoLtBR4Ym+isz58z3TJkMYX4VnFTkrsxaTGYAxNLN7ArCwL51Ki0WrMd89v+pbCLDj/hDjrb4a2sOrw==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.2.4.tgz",
"integrity": "sha512-Jkc5Y8goyXPrLRHnrUlqC7P4o5zn2m4zw6qWoRJ59kxV1f2a5wK+TTGhrhCwnhW/Ckpdl/pm+LufdvhJkvJbiw==",
"dev": true,
"requires": {
"@jest/environment": "^25.2.3",
"@jest/fake-timers": "^25.2.3",
"@jest/environment": "^25.2.4",
"@jest/fake-timers": "^25.2.4",
"@jest/types": "^25.2.3",
"jest-mock": "^25.2.3",
"jest-util": "^25.2.3",
@ -3206,25 +3206,25 @@
}
},
"jest-jasmine2": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.2.3.tgz",
"integrity": "sha512-x9PEGPFdnkSwJj1UG4QxG9JxFdyP8fuJ/UfKXd/eSpK8w9x7MP3VaQDuPQF0UQhCT0YeOITEPkQyqS+ptt0suA==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.2.4.tgz",
"integrity": "sha512-juoKrmNmLwaheNbAg71SuUF9ovwUZCFNTpKVhvCXWk+SSeORcIUMptKdPCoLXV3D16htzhTSKmNxnxSk4SrTjA==",
"dev": true,
"requires": {
"@babel/traverse": "^7.1.0",
"@jest/environment": "^25.2.3",
"@jest/environment": "^25.2.4",
"@jest/source-map": "^25.2.1",
"@jest/test-result": "^25.2.3",
"@jest/test-result": "^25.2.4",
"@jest/types": "^25.2.3",
"chalk": "^3.0.0",
"co": "^4.6.0",
"expect": "^25.2.3",
"expect": "^25.2.4",
"is-generator-fn": "^2.0.0",
"jest-each": "^25.2.3",
"jest-matcher-utils": "^25.2.3",
"jest-message-util": "^25.2.3",
"jest-runtime": "^25.2.3",
"jest-snapshot": "^25.2.3",
"jest-message-util": "^25.2.4",
"jest-runtime": "^25.2.4",
"jest-snapshot": "^25.2.4",
"jest-util": "^25.2.3",
"pretty-format": "^25.2.3",
"throat": "^5.0.0"
@ -3357,13 +3357,13 @@
}
},
"jest-message-util": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.2.3.tgz",
"integrity": "sha512-DcyDmdO5LVIeS0ngRvd7rk701XL60dAakUeQJ1tQRby27fyLYXD+V0nqVaC194W7fIlohjVQOZPHmKXIjn+Byw==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.2.4.tgz",
"integrity": "sha512-9wWMH3Bf+GVTv0GcQLmH/FRr0x0toptKw9TA8U5YFLVXx7Tq9pvcNzTyJrcTJ+wLqNbMPPJlJNft4MnlcrtF5Q==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
"@jest/test-result": "^25.2.3",
"@jest/test-result": "^25.2.4",
"@jest/types": "^25.2.3",
"@types/stack-utils": "^1.0.1",
"chalk": "^3.0.0",
@ -3512,37 +3512,37 @@
}
},
"jest-resolve-dependencies": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.2.3.tgz",
"integrity": "sha512-mcWlvjXLlNzgdE9EQxHuaeWICNxozanim87EfyvPwTY0ryWusFZbgF6F8u3E0syJ4FFSooEm0lQ6fgYcnPGAFw==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.2.4.tgz",
"integrity": "sha512-qhUnK4PfNHzNdca7Ub1mbAqE0j5WNyMTwxBZZJjQlUrdqsiYho/QGK65FuBkZuSoYtKIIqriR9TpGrPEc3P5Gg==",
"dev": true,
"requires": {
"@jest/types": "^25.2.3",
"jest-regex-util": "^25.2.1",
"jest-snapshot": "^25.2.3"
"jest-snapshot": "^25.2.4"
}
},
"jest-runner": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-25.2.3.tgz",
"integrity": "sha512-E+u2Zm2TmtTOFEbKs5jllLiV2fwiX77cYc08RdyYZNe/s06wQT3P47aV6a8Rv61L7E2Is7OmozLd0KI/DITRpg==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-25.2.4.tgz",
"integrity": "sha512-5xaIfqqxck9Wg2CV4b9KmJtf/sWO7zWQx7O+34GCLGPzoPcVmB3mZtdrQI1/jS3Reqjru9ycLjgLHSf6XoxRqA==",
"dev": true,
"requires": {
"@jest/console": "^25.2.3",
"@jest/environment": "^25.2.3",
"@jest/test-result": "^25.2.3",
"@jest/environment": "^25.2.4",
"@jest/test-result": "^25.2.4",
"@jest/types": "^25.2.3",
"chalk": "^3.0.0",
"exit": "^0.1.2",
"graceful-fs": "^4.2.3",
"jest-config": "^25.2.3",
"jest-config": "^25.2.4",
"jest-docblock": "^25.2.3",
"jest-haste-map": "^25.2.3",
"jest-jasmine2": "^25.2.3",
"jest-jasmine2": "^25.2.4",
"jest-leak-detector": "^25.2.3",
"jest-message-util": "^25.2.3",
"jest-message-util": "^25.2.4",
"jest-resolve": "^25.2.3",
"jest-runtime": "^25.2.3",
"jest-runtime": "^25.2.4",
"jest-util": "^25.2.3",
"jest-worker": "^25.2.1",
"source-map-support": "^0.5.6",
@ -3602,16 +3602,16 @@
}
},
"jest-runtime": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.2.3.tgz",
"integrity": "sha512-PZRFeUVF08N24v2G73SDF0b0VpLG7cRNOJ3ggj5TnArBVHkkrWzM3z7txB9OupWu7OO8bH/jFogk6sSjnHLFXQ==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.2.4.tgz",
"integrity": "sha512-6ehOUizgIghN+aV5YSrDzTZ+zJ9omgEjJbTHj3Jqes5D52XHfhzT7cSfdREwkNjRytrR7mNwZ7pRauoyNLyJ8Q==",
"dev": true,
"requires": {
"@jest/console": "^25.2.3",
"@jest/environment": "^25.2.3",
"@jest/environment": "^25.2.4",
"@jest/source-map": "^25.2.1",
"@jest/test-result": "^25.2.3",
"@jest/transform": "^25.2.3",
"@jest/test-result": "^25.2.4",
"@jest/transform": "^25.2.4",
"@jest/types": "^25.2.3",
"@types/yargs": "^15.0.0",
"chalk": "^3.0.0",
@ -3619,13 +3619,13 @@
"exit": "^0.1.2",
"glob": "^7.1.3",
"graceful-fs": "^4.2.3",
"jest-config": "^25.2.3",
"jest-config": "^25.2.4",
"jest-haste-map": "^25.2.3",
"jest-message-util": "^25.2.3",
"jest-message-util": "^25.2.4",
"jest-mock": "^25.2.3",
"jest-regex-util": "^25.2.1",
"jest-resolve": "^25.2.3",
"jest-snapshot": "^25.2.3",
"jest-snapshot": "^25.2.4",
"jest-util": "^25.2.3",
"jest-validate": "^25.2.3",
"realpath-native": "^2.0.0",
@ -3693,20 +3693,20 @@
"dev": true
},
"jest-snapshot": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.2.3.tgz",
"integrity": "sha512-HlFVbE6vOZ541mtkwjuAe0rfx9EWhB+QXXneLNOP/s3LlHxGQtX7WFXY5OiH4CkAnCc6BpzLNYS9nfINNRb4Zg==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.2.4.tgz",
"integrity": "sha512-nIwpW7FZCq5p0AE3Oyqyb6jL0ENJixXzJ5/CD/XRuOqp3gS5OM3O/k+NnTrniCXxPFV4ry6s9HNfiPQBi0wcoA==",
"dev": true,
"requires": {
"@babel/types": "^7.0.0",
"@jest/types": "^25.2.3",
"@types/prettier": "^1.19.0",
"chalk": "^3.0.0",
"expect": "^25.2.3",
"expect": "^25.2.4",
"jest-diff": "^25.2.3",
"jest-get-type": "^25.2.1",
"jest-matcher-utils": "^25.2.3",
"jest-message-util": "^25.2.3",
"jest-message-util": "^25.2.4",
"jest-resolve": "^25.2.3",
"make-dir": "^3.0.0",
"natural-compare": "^1.4.0",
@ -3897,12 +3897,12 @@
}
},
"jest-watcher": {
"version": "25.2.3",
"resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.2.3.tgz",
"integrity": "sha512-F6ERbdvJk8nbaRon9lLQVl4kp+vToCCHmy+uWW5QQ8/8/g2jkrZKJQnlQINrYQp0ewg31Bztkhs4nxsZMx6wDg==",
"version": "25.2.4",
"resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.2.4.tgz",
"integrity": "sha512-p7g7s3zqcy69slVzQYcphyzkB2FBmJwMbv6k6KjI5mqd6KnUnQPfQVKuVj2l+34EeuxnbXqnrjtUFmxhcL87rg==",
"dev": true,
"requires": {
"@jest/test-result": "^25.2.3",
"@jest/test-result": "^25.2.4",
"@jest/types": "^25.2.3",
"ansi-escapes": "^4.2.1",
"chalk": "^3.0.0",
@ -5807,9 +5807,9 @@
"dev": true
},
"v8-to-istanbul": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.1.2.tgz",
"integrity": "sha512-G9R+Hpw0ITAmPSr47lSlc5A1uekSYzXxTMlFxso2xoffwo4jQnzbv1p9yXIinO8UMZKfAFewaCHwWvnH4Jb4Ug==",
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.1.3.tgz",
"integrity": "sha512-sAjOC+Kki6aJVbUOXJbcR0MnbfjvBzwKZazEJymA2IX49uoOdEdk+4fBq5cXgYgiyKtAyrrJNtBZdOeDIF+Fng==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "^2.0.1",

View File

@ -31,6 +31,6 @@
"devDependencies": {
"@zeit/ncc": "0.22.0",
"eslint": "6.8.0",
"jest": "25.2.3"
"jest": "25.2.4"
}
}