Skip to content

Commit

Permalink
chore: Bump yn from 4.0.0 to 5.0.0 in /modules/runner-binaries-syncer…
Browse files Browse the repository at this point in the history
…/lambdas/runner-binaries-syncer (#1091)

* chore: Bump yn

Bumps [yn](https://github.com/sindresorhus/yn) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/sindresorhus/yn/releases)
- [Commits](sindresorhus/yn@v4.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: yn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: remove yn

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niek Palm <dev.npalm@gmail.com>
  • Loading branch information
dependabot[bot] and npalm authored Aug 19, 2021
1 parent 9c2548d commit 03165d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"typescript": "^4.3.4"
},
"dependencies": {
"node-fetch": "^2.6.1",
"yn": "^4.0.0"
"node-fetch": "^2.6.1"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { PassThrough } from 'stream';
import fetch from 'node-fetch';
import { S3 } from 'aws-sdk';
import AWS from 'aws-sdk';
import yn from 'yn';

const versionKey = 'name';

Expand Down Expand Up @@ -97,7 +96,7 @@ export const handle = async (): Promise<void> => {
const s3 = new AWS.S3();

const runnerArch = process.env.GITHUB_RUNNER_ARCHITECTURE || 'x64';
const fetchPrereleaseBinaries = yn(process.env.GITHUB_RUNNER_ALLOW_PRERELEASE_BINARIES, { default: false });
const fetchPrereleaseBinaries = JSON.parse(process.env.GITHUB_RUNNER_ALLOW_PRERELEASE_BINARIES || 'false');

const cacheObject: CacheObject = {
bucket: process.env.S3_BUCKET_NAME as string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4520,8 +4520,3 @@ yn@3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==

yn@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/yn/-/yn-4.0.0.tgz#611480051ea43b510da1dfdbe177ed159f00a979"
integrity sha512-huWiiCS4TxKc4SfgmTwW1K7JmXPPAmuXWYy4j9qjQo4+27Kni8mGhAAi1cloRWmBe2EqcLgt3IGqQoRL/MtPgg==

0 comments on commit 03165d1

Please sign in to comment.