From 7b1d2c3d2e74f4da92276bdc6238e71a357e44d9 Mon Sep 17 00:00:00 2001 From: cgombauld Date: Wed, 1 Oct 2025 08:41:44 +0200 Subject: [PATCH] chore(httpie): move from @myunisoft/httpie to @openally/httpie --- package.json | 2 +- workspaces/server/src/endpoints/bundle.ts | 2 +- workspaces/server/test/httpServer.test.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 25e01ba4..dbda0cde 100644 --- a/package.json +++ b/package.json @@ -67,11 +67,11 @@ }, "homepage": "https://github.com/NodeSecure/cli#readme", "devDependencies": { - "@myunisoft/httpie": "^5.0.0", "@nodesecure/size-satisfies": "^1.1.0", "@nodesecure/vis-network": "^1.4.0", "@openally/config.eslint": "^2.1.0", "@openally/config.typescript": "^1.0.3", + "@openally/httpie": "^1.0.0", "@types/node": "^24.0.3", "c8": "^10.1.2", "cross-env": "^7.0.3", diff --git a/workspaces/server/src/endpoints/bundle.ts b/workspaces/server/src/endpoints/bundle.ts index 8788c7b8..16d96e21 100644 --- a/workspaces/server/src/endpoints/bundle.ts +++ b/workspaces/server/src/endpoints/bundle.ts @@ -1,5 +1,5 @@ // Import Third-party Dependencies -import * as httpie from "@myunisoft/httpie"; +import * as httpie from "@openally/httpie"; import send from "@polka/send-type"; import type { Request, Response } from "express-serve-static-core"; diff --git a/workspaces/server/test/httpServer.test.ts b/workspaces/server/test/httpServer.test.ts index 8de2896a..2f350e5c 100644 --- a/workspaces/server/test/httpServer.test.ts +++ b/workspaces/server/test/httpServer.test.ts @@ -8,7 +8,7 @@ import assert from "node:assert"; import stream from "node:stream"; // Import Third-party Dependencies -import { get, post, MockAgent, getGlobalDispatcher, setGlobalDispatcher } from "@myunisoft/httpie"; +import { get, post, MockAgent, getGlobalDispatcher, setGlobalDispatcher } from "@openally/httpie"; import { CACHE_PATH } from "@nodesecure/cache"; import * as i18n from "@nodesecure/i18n"; import * as flags from "@nodesecure/flags"; @@ -215,7 +215,7 @@ describe("httpServer", { concurrency: 1 }, () => { test("PUT '/config' should update the config", async() => { const { data: actualConfig } = await get(new URL("/config", kHttpURL)); - // FIXME: use @mynusift/httpie instead of fetch. Atm it throws with put(). + // FIXME: use @openally/httpie instead of fetch. Atm it throws with put(). // https://github.com/nodejs/undici/issues/583 const { status } = await fetch(new URL("/config", kHttpURL), { method: "PUT",