From 25c672b8ace0c281a7745011c7700ee0d04756f5 Mon Sep 17 00:00:00 2001 From: Roger Floriano <31597636+petruki@users.noreply.github.com> Date: Sun, 3 Nov 2024 18:50:30 -0800 Subject: [PATCH] Bump deps - CI Deno runtime to 2.0.4 (#79) --- .github/workflows/master.yml | 2 +- deno.lock | 64 ++++++++++++++++++++---------------- src/deps.ts | 2 +- test/deps.ts | 10 +++--- test/playground/index.ts | 2 +- 5 files changed, 44 insertions(+), 36 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index af07790..6482a41 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -49,7 +49,7 @@ jobs: strategy: fail-fast: false matrix: - deno-version: [v1.46.3, v2.0.0] + deno-version: [v1.46.3, v2.0.4] os: [ ubuntu-latest, windows-latest ] runs-on: ${{ matrix.os }} if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" diff --git a/deno.lock b/deno.lock index 5c470df..a3d6aaa 100644 --- a/deno.lock +++ b/deno.lock @@ -1,32 +1,40 @@ { - "version": "3", - "packages": { - "specifiers": { - "jsr:@std/fs@1.0.2": "jsr:@std/fs@1.0.2", - "jsr:@std/fs@1.0.4": "jsr:@std/fs@1.0.4", - "jsr:@std/path@^1.0.3": "jsr:@std/path@1.0.3", - "jsr:@std/path@^1.0.6": "jsr:@std/path@1.0.6" + "version": "4", + "specifiers": { + "jsr:@std/fs@1.0.2": "1.0.2", + "jsr:@std/fs@1.0.4": "1.0.4", + "jsr:@std/fs@1.0.5": "1.0.5", + "jsr:@std/path@^1.0.3": "1.0.3", + "jsr:@std/path@^1.0.6": "1.0.6", + "jsr:@std/path@^1.0.7": "1.0.8" + }, + "jsr": { + "@std/fs@1.0.2": { + "integrity": "af57555c7a224a6f147d5cced5404692974f7a628ced8eda67e0d22d92d474ec", + "dependencies": [ + "jsr:@std/path@^1.0.3" + ] + }, + "@std/fs@1.0.4": { + "integrity": "2907d32d8d1d9e540588fd5fe0ec21ee638134bd51df327ad4e443aaef07123c", + "dependencies": [ + "jsr:@std/path@^1.0.6" + ] + }, + "@std/fs@1.0.5": { + "integrity": "41806ad6823d0b5f275f9849a2640d87e4ef67c51ee1b8fb02426f55e02fd44e", + "dependencies": [ + "jsr:@std/path@^1.0.7" + ] }, - "jsr": { - "@std/fs@1.0.2": { - "integrity": "af57555c7a224a6f147d5cced5404692974f7a628ced8eda67e0d22d92d474ec", - "dependencies": [ - "jsr:@std/path@^1.0.3" - ] - }, - "@std/fs@1.0.4": { - "integrity": "2907d32d8d1d9e540588fd5fe0ec21ee638134bd51df327ad4e443aaef07123c", - "dependencies": [ - "jsr:@std/path@^1.0.6" - ] - }, - "@std/path@1.0.3": { - "integrity": "cd89d014ce7eb3742f2147b990f6753ee51d95276bfc211bc50c860c1bc7df6f" - }, - "@std/path@1.0.6": { - "integrity": "ab2c55f902b380cf28e0eec501b4906e4c1960d13f00e11cfbcd21de15f18fed" - } + "@std/path@1.0.3": { + "integrity": "cd89d014ce7eb3742f2147b990f6753ee51d95276bfc211bc50c860c1bc7df6f" + }, + "@std/path@1.0.6": { + "integrity": "ab2c55f902b380cf28e0eec501b4906e4c1960d13f00e11cfbcd21de15f18fed" + }, + "@std/path@1.0.8": { + "integrity": "548fa456bb6a04d3c1a1e7477986b6cffbce95102d0bb447c67c4ee70e0364be" } - }, - "remote": {} + } } diff --git a/src/deps.ts b/src/deps.ts index ad21a04..3ca1e90 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -1 +1 @@ -export { existsSync } from 'jsr:@std/fs@1.0.4'; +export { existsSync } from 'jsr:@std/fs@1.0.5'; diff --git a/test/deps.ts b/test/deps.ts index 012cd05..09cf119 100644 --- a/test/deps.ts +++ b/test/deps.ts @@ -6,8 +6,8 @@ export { assertExists, assertNotEquals, assertArrayIncludes -} from 'jsr:@std/assert@1.0.6';; -export { assertSpyCalls, spy } from 'jsr:@std/testing@1.0.3/mock'; +} from 'jsr:@std/assert@1.0.7';; +export { assertSpyCalls, spy } from 'jsr:@std/testing@1.0.4/mock'; export { describe, it, @@ -15,7 +15,7 @@ export { beforeEach, beforeAll, afterEach -} from 'jsr:@std/testing@1.0.3/bdd'; -export { delay } from 'jsr:@std/async@1.0.5/delay'; -export { existsSync } from 'jsr:@std/fs@1.0.4'; +} from 'jsr:@std/testing@1.0.4/bdd'; +export { delay } from 'jsr:@std/async@1.0.8/delay'; +export { existsSync } from 'jsr:@std/fs@1.0.5'; export * as mf from 'https://deno.land/x/mock_fetch@0.3.0/mod.ts'; \ No newline at end of file diff --git a/test/playground/index.ts b/test/playground/index.ts index 69f58b1..0522afc 100644 --- a/test/playground/index.ts +++ b/test/playground/index.ts @@ -2,7 +2,7 @@ import { Switcher, Client } from '../../mod.ts' import { sleep } from "../helper/utils.ts"; const SWITCHER_KEY = 'MY_SWITCHER'; -const apiKey = 'JDJiJDA4JEFweTZjSTR2bE9pUjNJOUYvRy9raC4vRS80Q2tzUnk1d3o1aXFmS2o5eWJmVW11cjR0ODNT'; +const apiKey = '[API_KEY]'; const domain = 'Playground'; const component = 'switcher-playground'; const environment = 'default';