Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 03165d1

Browse files
chore: Bump yn from 4.0.0 to 5.0.0 in /modules/runner-binaries-syncer/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] <[email protected]> * fix: remove yn Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niek Palm <[email protected]>
1 parent 9c2548d commit 03165d1

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

Diff for: modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"typescript": "^4.3.4"
3434
},
3535
"dependencies": {
36-
"node-fetch": "^2.6.1",
37-
"yn": "^4.0.0"
36+
"node-fetch": "^2.6.1"
3837
}
39-
}
38+
}

Diff for: modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/src/syncer/handler.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { PassThrough } from 'stream';
33
import fetch from 'node-fetch';
44
import { S3 } from 'aws-sdk';
55
import AWS from 'aws-sdk';
6-
import yn from 'yn';
76

87
const versionKey = 'name';
98

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

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

102101
const cacheObject: CacheObject = {
103102
bucket: process.env.S3_BUCKET_NAME as string,

Diff for: modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/yarn.lock

-5
Original file line numberDiff line numberDiff line change
@@ -4520,8 +4520,3 @@ [email protected]:
45204520
version "3.1.1"
45214521
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
45224522
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
4523-
4524-
yn@^4.0.0:
4525-
version "4.0.0"
4526-
resolved "https://registry.yarnpkg.com/yn/-/yn-4.0.0.tgz#611480051ea43b510da1dfdbe177ed159f00a979"
4527-
integrity sha512-huWiiCS4TxKc4SfgmTwW1K7JmXPPAmuXWYy4j9qjQo4+27Kni8mGhAAi1cloRWmBe2EqcLgt3IGqQoRL/MtPgg==

0 commit comments

Comments
 (0)