Skip to content

Commit

Permalink
Bump switcher4deno@1.0.9 and Deno runtime to 1.42.2 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
petruki committed Apr 25, 2024
1 parent 6ce5d38 commit 440d8dc
Show file tree
Hide file tree
Showing 8 changed files with 128 additions and 128 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Deno v1.41.0
- name: Setup Deno v1.42.2
uses: denoland/setup-deno@v1
with:
deno-version: v1.41.0
deno-version: v1.42.2

- name: Setup LCOV
run: sudo apt install -y lcov
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/re-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.inputs.tag }}

- name: Setup Deno v1.41.0
- name: Setup Deno v1.42.2
uses: denoland/setup-deno@v1
with:
deno-version: v1.41.0
deno-version: v1.42.2

- name: Verify formatting
run: deno task fmt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Denov1.41.0
- name: Setup Denov1.42.2
uses: denoland/setup-deno@v1
with:
deno-version: v1.41.0
deno-version: v1.42.2

- name: Verify formatting
run: deno task fmt
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM denoland/deno:alpine-1.41.0
FROM denoland/deno:alpine-1.42.2

ENV APP_HOME=/home/app
WORKDIR $APP_HOME
Expand Down
230 changes: 115 additions & 115 deletions deno.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/deps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export { Application, Router } from 'https://deno.land/x/oak@14.2.0/mod.ts';
export type { Middleware, Next } from 'https://deno.land/x/oak@14.2.0/mod.ts';
export { Context } from 'https://deno.land/x/oak@14.2.0/context.ts';
export { load } from 'https://deno.land/std@0.218.2/dotenv/mod.ts';
export { checkValue, Switcher } from 'https://deno.land/x/switcher4deno@v1.0.7/mod.ts';
export { bold, cyan, green } from 'https://deno.land/std@0.218.2/fmt/colors.ts';
export { load } from 'https://deno.land/std@0.223.0/dotenv/mod.ts';
export { bold, cyan, green } from 'https://deno.land/std@0.223.0/fmt/colors.ts';
export { checkValue, Switcher } from 'https://deno.land/x/switcher4deno@v1.0.9/mod.ts';
export { ValidatorFn, ValidatorMiddleware } from 'https://deno.land/x/validator4oak@v1.0.0/mod.ts';
2 changes: 1 addition & 1 deletion src/services/feature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class FeatureService {
entries.push(checkValue(params.value));
}

return await switcher.isItOn(featureName, entries);
return await switcher.isItOn(featureName, entries) as boolean;
}

terminateSnapshotAutoUpdate() {
Expand Down
4 changes: 2 additions & 2 deletions test/deps.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { testing } from 'https://deno.land/x/oak@14.2.0/mod.ts';
export type { Middleware } from 'https://deno.land/x/oak@14.2.0/mod.ts';
export { assert, assertEquals, assertFalse, assertObjectMatch } from 'https://deno.land/std@0.218.2/assert/mod.ts';
export { assert, assertEquals, assertFalse, assertObjectMatch } from 'https://deno.land/std@0.223.0/assert/mod.ts';
export { superoak } from 'https://deno.land/x/superoak@4.8.1/mod.ts';
export { Switcher } from 'https://deno.land/x/switcher4deno@v1.0.7/mod.ts';
export { Switcher } from 'https://deno.land/x/switcher4deno@v1.0.9/mod.ts';

0 comments on commit 440d8dc

Please sign in to comment.