From 4bab7cb0a3de1ca2717d47709c7184e9fd31e7a9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 18:40:58 +0000 Subject: [PATCH 1/2] chore: use object form for package.json bin Silences npm's misleading "script name ... was invalid and removed" publish warning; the published bin is unchanged. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PiGRtA44mDWPhGNex1cSia --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 712daf8..3567575 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "type": "module", "exports": "./lib/asar.js", "types": "./lib/asar.d.ts", - "bin": "./bin/asar.mjs", + "bin": { + "asar": "bin/asar.mjs" + }, "files": [ "bin", "lib" From 76d6774fcb87a502368ec6505ecef8e1caa961e9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 12 Nov 2026 18:48:18 +0000 Subject: [PATCH 2/2] chore: update yarn.lock for bin change Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PiGRtA44mDWPhGNex1cSia --- yarn.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 95fb952..5c93d19 100644 --- a/yarn.lock +++ b/yarn.lock @@ -35,7 +35,7 @@ __metadata: electron: built: true bin: - asar: ./bin/asar.mjs + asar: bin/asar.mjs languageName: unknown linkType: soft