Skip to content

Commit

Permalink
chore: Bump yn from 4.0.0 to 5.0.0 in /modules/runners/lambdas/runners (
Browse files Browse the repository at this point in the history
#1087)

* chore: Bump yn from 4.0.0 to 5.0.0 in /modules/runners/lambdas/runners

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 third-party lib '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 18, 2021
1 parent e79db67 commit 5867e7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 2 additions & 3 deletions modules/runners/lambdas/runners/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@types/node": "^16.6.1",
"aws-sdk": "^2.970.0",
"cron-parser": "^3.3.0",
"typescript": "^4.2.3",
"yn": "^4.0.0"
"typescript": "^4.2.3"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function removeRunner(

export async function scaleDown(): Promise<void> {
const scaleDownConfigs = JSON.parse(process.env.SCALE_DOWN_CONFIG) as [ScalingDownConfig];
const enableOrgLevel = yn(process.env.ENABLE_ORGANIZATION_RUNNERS, { default: true });
const enableOrgLevel = JSON.parse(process.env.ENABLE_ORGANIZATION_RUNNERS || 'true') as boolean;
const environment = process.env.ENVIRONMENT;
const minimumRunningTimeInMinutes = process.env.MINIMUM_RUNNING_TIME_IN_MINUTES;
let idleCounter = getIdleRunnerCount(scaleDownConfigs);
Expand Down
5 changes: 0 additions & 5 deletions modules/runners/lambdas/runners/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4531,8 +4531,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 5867e7c

Please sign in to comment.