[Snyk] Upgrade actions-toolkit from 4.0.0 to 6.0.1#2
Open
trustcloud-bot wants to merge 1 commit intomasterfrom
Open
[Snyk] Upgrade actions-toolkit from 4.0.0 to 6.0.1#2trustcloud-bot wants to merge 1 commit intomasterfrom
trustcloud-bot wants to merge 1 commit intomasterfrom
Conversation
Snyk has created this PR to upgrade actions-toolkit from 4.0.0 to 6.0.1. See this package in npm: actions-toolkit See this project in Snyk: https://app.snyk.io/org/trustcloud/project/8ff453c2-1ca3-4f81-b00e-06086b878149?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade actions-toolkit from 4.0.0 to 6.0.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 3 versions ahead of your current version.
The recommended version was released on 4 years ago.
Issues fixed by the recommended upgrade:
SNYK-JS-INFLIGHT-6095116
SNYK-JS-MINIMATCH-3050818
Release notes
Package name: actions-toolkit
-
6.0.1 - 2020-10-01
- Bump node-fetch from 2.6.0 to 2.6.1 (#132) @ dependabot
- Bump @ actions/core from 1.2.4 to 1.2.6 (#133) @ dependabot
-
6.0.0 - 2020-08-09
- Improve types for context.issue/pull_request (#131) @ JasonEtco
- fix: return never from exit functions (#129) @ likern
-
5.0.0 - 2020-06-08
- Fix deprecated issue/pull number context (#118) @ mheap
- Moar tests (#126) @ JasonEtco
- Toolkit#runInWorkspace => Toolkit#exec (#123) @ JasonEtco
- Remove Store (#125) @ JasonEtco
- Support github_token input in addition to env.GITHUB_TOKEN (#124) @ JasonEtco
- feat(outputs): add outputs proxy to the toolkit (#120) @ abouroubi
- Improve Toolkit#readFile (#121) @ JasonEtco
- Updoots (#122) @ JasonEtco
-
4.0.0 - 2020-04-04
from actions-toolkit GitHub release notesJust a couple of dependency updates for security!
What’s Changed
This release includes two TypeScript changes - in an abundance of caution I've marked it as a new major version, but there aren't any changes other than the two PRs below. Have fun!
What’s Changed
Breaking Changes
There are a couple of major improvements that are unfortunately breaking changes:
tools.context.issuereturns a different objectThanks to @ mheap,
tools.context.issuenow returns{ owner, repo, issue_number }instead of{ owner, repo, number }. This is due to a change in the Octokit SDK. To have parity with pull requests, there is now alsotools.context.pullRequest, which returns{ owner, repo, pull_number }.See #118 for more information!
Toolkit#getFileis nowToolkit#readFileThe
getFilemethod has been renamed toreadFile, and the behavior has changed. It now usesfs.promises.readFileunder the hood, so it returns a promise:See #121 for more information!
tools.storehas been removedThis feature was added before the Actions runtime had a way to share data between actions. That now exists in the platform, as "outputs"! See #125 for the removal of
Store, and #120 for it's "replacement",tools.outputs(thanks to @ abouroubi ✨):Toolkit#runInWorkspaceis nowToolkit#execThis method was useful, but
@ actions/execis built more with the Actions runner in mind. So, nowToolkit#execcalls@ actions/exec! This will be more stable for the finicky, ephemeral environments of Actions.See #123 for more information!
What’s Changed
This release only upgrades the bundled version of
@ octokit/resttov17. See #109 for more details, but the breaking changes are best found in the@ octokit/restrelease!Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: