From 332602e1953b7af08cd0609999d516f33b09844d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Dec 2025 22:03:40 +0000 Subject: [PATCH 1/2] Bump denoland/deno from alpine-2.5.6 to alpine-2.6.3 Bumps denoland/deno from alpine-2.5.6 to alpine-2.6.3. --- updated-dependencies: - dependency-name: denoland/deno dependency-version: alpine-2.6.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 570d237..02957a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:alpine-2.5.6@sha256:b9c7668c78fe393893f00b0fc8ba3d0f2e1bbb8f891a79a963b3b713ab110767 +FROM denoland/deno:alpine-2.6.3@sha256:d59199e51eabbdd41620fed54d6ba576ddce59f072300165193a87a303333106 # Label the container LABEL maintainer="Justin Chase " From ae675ef6de1898649d5d1d1034869b8a0480b080 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Dec 2025 09:31:17 -0600 Subject: [PATCH 2/2] Fix test failures after Deno 2.6.3 upgrade (#139) * Initial plan * Plan to fix test failures after Deno 2.6.3 upgrade Co-authored-by: justinmchase <10974+justinmchase@users.noreply.github.com> * Fix test failures by updating assert imports to @std/assert Co-authored-by: justinmchase <10974+justinmchase@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: justinmchase <10974+justinmchase@users.noreply.github.com> --- deno.json | 2 +- deno.lock | 31 +++++++++++++++++++++++-------- main.test.ts | 2 +- src/commands/options.test.ts | 2 +- src/commands/set.test.ts | 2 +- src/hooks/post.test.ts | 2 +- src/util/increment.test.ts | 2 +- src/util/version.test.ts | 2 +- 8 files changed, 30 insertions(+), 15 deletions(-) diff --git a/deno.json b/deno.json index 1734d69..2f4e0de 100644 --- a/deno.json +++ b/deno.json @@ -7,7 +7,7 @@ "jsonc-parser": "npm:jsonc-parser@^3.2.1", "semver": "jsr:@std/semver@^1.0.6", "path": "jsr:@std/path@^1.0.6", - "assert": "jsr:@std/assert@^1.0.6", + "assert": "jsr:@std/assert@^1.0.14", "testing/bdd": "jsr:@std/testing@^1.0.3/bdd", "testing/mock": "jsr:@std/testing@^1.0.3/mock", "yaml": "jsr:@std/yaml@^1.0.5", diff --git a/deno.lock b/deno.lock index 598caf0..330d9b0 100644 --- a/deno.lock +++ b/deno.lock @@ -1,30 +1,46 @@ { "version": "5", "specifiers": { + "jsr:@std/assert@^1.0.14": "1.0.16", + "jsr:@std/assert@^1.0.15": "1.0.16", "jsr:@std/fmt@^1.0.8": "1.0.8", - "jsr:@std/internal@^1.0.10": "1.0.12", - "jsr:@std/path@^1.0.6": "1.1.2", - "jsr:@std/semver@^1.0.6": "1.0.6", + "jsr:@std/internal@^1.0.12": "1.0.12", + "jsr:@std/path@^1.0.6": "1.1.3", + "jsr:@std/semver@^1.0.6": "1.0.7", + "jsr:@std/testing@^1.0.3": "1.0.16", "jsr:@std/yaml@^1.0.5": "1.0.10", "npm:json5@^2.2.3": "2.2.3", "npm:jsonc-parser@^3.2.1": "3.3.1", "npm:yargs@^17.7.2": "17.7.2" }, "jsr": { + "@std/assert@1.0.16": { + "integrity": "6a7272ed1eaa77defe76e5ff63ca705d9c495077e2d5fd0126d2b53fc5bd6532", + "dependencies": [ + "jsr:@std/internal" + ] + }, "@std/fmt@1.0.8": { "integrity": "71e1fc498787e4434d213647a6e43e794af4fd393ef8f52062246e06f7e372b7" }, "@std/internal@1.0.12": { "integrity": "972a634fd5bc34b242024402972cd5143eac68d8dffaca5eaa4dba30ce17b027" }, - "@std/path@1.1.2": { - "integrity": "c0b13b97dfe06546d5e16bf3966b1cadf92e1cc83e56ba5476ad8b498d9e3038", + "@std/path@1.1.3": { + "integrity": "b015962d82a5e6daea980c32b82d2c40142149639968549c649031a230b1afb3", "dependencies": [ "jsr:@std/internal" ] }, - "@std/semver@1.0.6": { - "integrity": "b7c98ae2843547cf3f7ac37f3995889e6e4cee0a97b57b57f17f62722843303c" + "@std/semver@1.0.7": { + "integrity": "7d5f65391762dc4358abde80fc3354086ddb40101f140295e60f290c138887d0" + }, + "@std/testing@1.0.16": { + "integrity": "a917ffdeb5924c9be436dc78bc32e511760e14d3a96e49c607fc5ecca86d0092", + "dependencies": [ + "jsr:@std/assert@^1.0.15", + "jsr:@std/internal" + ] }, "@std/yaml@1.0.10": { "integrity": "245706ea3511cc50c8c6d00339c23ea2ffa27bd2c7ea5445338f8feff31fa58e" @@ -123,7 +139,6 @@ "workspace": { "dependencies": [ "jsr:@std/assert@^1.0.14", - "jsr:@std/assert@^1.0.6", "jsr:@std/fmt@^1.0.8", "jsr:@std/path@^1.0.6", "jsr:@std/semver@^1.0.6", diff --git a/main.test.ts b/main.test.ts index 551a313..a3652cf 100644 --- a/main.test.ts +++ b/main.test.ts @@ -1,5 +1,5 @@ import { describe, it } from "testing/bdd"; -import { assertEquals } from "assert"; +import { assertEquals } from "@std/assert"; describe("main", () => { it("MAIN00 - filters empty arguments", () => { diff --git a/src/commands/options.test.ts b/src/commands/options.test.ts index c3fcb82..3939fee 100644 --- a/src/commands/options.test.ts +++ b/src/commands/options.test.ts @@ -1,5 +1,5 @@ import { describe, it } from "testing/bdd"; -import { assertEquals } from "assert"; +import { assertEquals } from "@std/assert"; import { build, config, json, output, prerelease } from "./options.ts"; describe("options", () => { diff --git a/src/commands/set.test.ts b/src/commands/set.test.ts index 37367c4..d69849c 100644 --- a/src/commands/set.test.ts +++ b/src/commands/set.test.ts @@ -6,7 +6,7 @@ import { returnsNext, stub, } from "testing/mock"; -import { assertRejects } from "assert"; +import { assertRejects } from "@std/assert"; import type { Arguments } from "yargs"; import { set } from "./set.ts"; import { testContext } from "../util/testContext.ts"; diff --git a/src/hooks/post.test.ts b/src/hooks/post.test.ts index 5db3a99..933280c 100644 --- a/src/hooks/post.test.ts +++ b/src/hooks/post.test.ts @@ -1,5 +1,5 @@ import { parse } from "semver"; -import { assertEquals } from "assert"; +import { assertEquals } from "@std/assert"; import { resolvesNext, stub } from "testing/mock"; import * as YAML from "yaml"; import { IContext } from "../context.ts"; diff --git a/src/util/increment.test.ts b/src/util/increment.test.ts index e5de21a..6c8354b 100644 --- a/src/util/increment.test.ts +++ b/src/util/increment.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "assert"; +import { assertEquals } from "@std/assert"; import { format, parse } from "semver"; import { increment, IncrementKind, IncrementOptions } from "./increment.ts"; diff --git a/src/util/version.test.ts b/src/util/version.test.ts index 0392508..1479f24 100644 --- a/src/util/version.test.ts +++ b/src/util/version.test.ts @@ -1,5 +1,5 @@ import { format, parse } from "semver"; -import { assertEquals, AssertionError, assertRejects } from "assert"; +import { assertEquals, AssertionError, assertRejects } from "@std/assert"; import { assertSpyCall, resolvesNext, stub } from "testing/mock"; import { IContext } from "../context.ts"; import { printVersion, readVersionFile, writeVersionFile } from "./version.ts";