diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 02e0cda..b409558 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:2.3.3 +FROM denoland/deno:2.3.5 # Install tools RUN apt-get update && \ diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 0554d31..5697b87 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -18,10 +18,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Deno v2.3.3 + - name: Setup Deno v2.3.5 uses: denoland/setup-deno@v1 with: - deno-version: v2.3.3 + deno-version: v2.3.5 - name: Setup LCOV run: sudo apt install -y lcov diff --git a/.github/workflows/re-release.yml b/.github/workflows/re-release.yml index 5db2ea1..f1a6346 100644 --- a/.github/workflows/re-release.yml +++ b/.github/workflows/re-release.yml @@ -21,10 +21,10 @@ jobs: fetch-depth: 0 ref: ${{ github.event.inputs.tag }} - - name: Setup Deno v2.3.3 + - name: Setup Deno v2.3.5 uses: denoland/setup-deno@v1 with: - deno-version: v2.3.3 + deno-version: v2.3.5 - name: Verify formatting run: deno task fmt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9871f77..aa01449 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Deno v2.3.3 + - name: Setup Deno v2.3.5 uses: denoland/setup-deno@v1 with: - deno-version: v2.3.3 + deno-version: v2.3.5 - name: Verify formatting run: deno task fmt diff --git a/Dockerfile b/Dockerfile index cf09e78..1eda64f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:alpine-2.3.3 +FROM denoland/deno:alpine-2.3.5 ENV APP_HOME=/home/app WORKDIR $APP_HOME diff --git a/deno.lock b/deno.lock index 8748df0..810fcfc 100644 --- a/deno.lock +++ b/deno.lock @@ -32,6 +32,7 @@ "jsr:@std/dotenv@0.225.2": "0.225.2", "jsr:@std/dotenv@0.225.3": "0.225.3", "jsr:@std/dotenv@0.225.4": "0.225.4", + "jsr:@std/dotenv@0.225.5": "0.225.5", "jsr:@std/encoding@0.223": "0.223.0", "jsr:@std/encoding@1": "1.0.10", "jsr:@std/encoding@1.0.0-rc.2": "1.0.0-rc.2", @@ -51,7 +52,7 @@ "jsr:@std/html@^1.0.4": "1.0.4", "jsr:@std/http@0.223": "0.223.0", "jsr:@std/http@0.224": "0.224.5", - "jsr:@std/http@1": "1.0.16", + "jsr:@std/http@1": "1.0.17", "jsr:@std/http@^1.0.16": "1.0.16", "jsr:@std/internal@^1.0.2": "1.0.2", "jsr:@std/internal@^1.0.3": "1.0.3", @@ -65,8 +66,8 @@ "jsr:@std/media-types@^1.1.0": "1.1.0", "jsr:@std/net@^1.0.4": "1.0.4", "jsr:@std/path@0.223": "0.223.0", - "jsr:@std/path@1": "1.0.9", - "jsr:@std/path@^1.0.8": "1.0.9", + "jsr:@std/path@1": "1.1.0", + "jsr:@std/path@^1.0.8": "1.1.0", "jsr:@std/path@^1.0.9": "1.0.9", "jsr:@std/path@~0.225.1": "0.225.2", "jsr:@std/streams@^1.0.9": "1.0.9", @@ -282,6 +283,9 @@ "@std/dotenv@0.225.4": { "integrity": "2a672c2b192abe535dcfea1ae89f219ee3979af6aad7d185cb19206ee9bc5caf" }, + "@std/dotenv@0.225.5": { + "integrity": "9ce6f9d0ec3311f74a32535aa1b8c62ed88b1ab91b7f0815797d77a6f60c922f" + }, "@std/encoding@0.223.0": { "integrity": "2b5615a75e00337ce113f34cf2f9b8c18182c751a8dcc8b1a2c2fc0e117bef00" }, @@ -384,6 +388,12 @@ "jsr:@std/streams" ] }, + "@std/http@1.0.17": { + "integrity": "98aec8ab4080d95c21f731e3008f69c29c5012d12f1b4e553f85935db601569f", + "dependencies": [ + "jsr:@std/encoding@^1.0.10" + ] + }, "@std/internal@1.0.2": { "integrity": "f4cabe2021352e8bfc24e6569700df87bf070914fc38d4b23eddd20108ac4495" }, @@ -450,6 +460,9 @@ "@std/path@1.0.9": { "integrity": "260a49f11edd3db93dd38350bf9cd1b4d1366afa98e81b86167b4e3dd750129e" }, + "@std/path@1.1.0": { + "integrity": "ddc94f8e3c275627281cbc23341df6b8bcc874d70374f75fec2533521e3d6886" + }, "@std/streams@1.0.9": { "integrity": "a9d26b1988cdd7aa7b1f4b51e1c36c1557f3f252880fa6cc5b9f37078b1a5035" }, diff --git a/resources/Switcher Management Feature.postman_collection.json b/resources/Switcher Management Feature.postman_collection.json index 55bf22c..e5376d7 100644 --- a/resources/Switcher Management Feature.postman_collection.json +++ b/resources/Switcher Management Feature.postman_collection.json @@ -31,7 +31,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\r\n \"feature\": \"PLACEHOLDER\",\r\n \"parameters\": {\r\n \"value\": \"test\"\r\n }\r\n}", + "raw": "{\r\n \"feature\": \"{{feature}}\",\r\n \"parameters\": {\r\n \"value\": \"{{value}}\"\r\n }\r\n}", "options": { "raw": { "language": "json" @@ -57,7 +57,7 @@ "header": [], "body": { "mode": "raw", - "raw": "{\r\n \"features\": [\r\n {\r\n \"feature\": \"PLACEHOLDER\"\r\n }\r\n ]\r\n}", + "raw": "{\r\n \"features\": [\r\n {\r\n \"feature\": \"{{feature}}\"\r\n }\r\n ]\r\n}", "options": { "raw": { "language": "json" diff --git a/src/deps.ts b/src/deps.ts index eb85729..971b928 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -1,5 +1,5 @@ export { Application, Context, type Middleware, type Next, Router } from 'jsr:@oak/oak@17.1.4'; export { Client } from 'jsr:@switcherapi/switcher-client-deno@2.1.0'; export { ValidatorFn, ValidatorMiddleware } from 'jsr:@trackerforce/validator4oak@1.2.0'; -export { load } from 'jsr:@std/dotenv@0.225.4'; +export { load } from 'jsr:@std/dotenv@0.225.5'; export { bold, cyan, green } from 'jsr:@std/fmt@1.0.8/colors';