From 25613346098e5a0e5a47d28424cbe7a23b9f9b1e Mon Sep 17 00:00:00 2001 From: Andrei Hasna Date: Fri, 7 Aug 2026 22:16:20 +0300 Subject: [PATCH] chore(release): bump @hasna/security to 0.1.15 Agent: vespasian --- compat/security/package.json | 2 +- compat/security/release-consistency.test.ts | 22 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 compat/security/release-consistency.test.ts diff --git a/compat/security/package.json b/compat/security/package.json index ba31ba4..a27b9f9 100644 --- a/compat/security/package.json +++ b/compat/security/package.json @@ -1,6 +1,6 @@ { "name": "@hasna/security", - "version": "0.1.14", + "version": "0.1.15", "description": "Legacy command aliases for @hasna/shield", "type": "module", "bin": { diff --git a/compat/security/release-consistency.test.ts b/compat/security/release-consistency.test.ts new file mode 100644 index 0000000..e83e839 --- /dev/null +++ b/compat/security/release-consistency.test.ts @@ -0,0 +1,22 @@ +import { describe, expect, test } from "bun:test"; +import { readFileSync } from "node:fs"; + +const shieldManifest = JSON.parse( + readFileSync(new URL("../../package.json", import.meta.url), "utf8"), +) as { version: string }; +const securityManifest = JSON.parse( + readFileSync(new URL("./package.json", import.meta.url), "utf8"), +) as { version: string; dependencies: Record }; + +describe("Shield 0.1.27 compatibility release", () => { + test("keeps the compatibility dependency pinned to the Shield release", () => { + expect(shieldManifest.version).toBe("0.1.27"); + expect(securityManifest.dependencies["@hasna/shield"]).toBe( + shieldManifest.version, + ); + }); + + test("advances @hasna/security beyond the published 0.1.14 release", () => { + expect(securityManifest.version).toBe("0.1.15"); + }); +});