From 547a481830a9022d2f8e8d42255217aff314bcb7 Mon Sep 17 00:00:00 2001 From: Bill Wallace Date: Fri, 11 Sep 2026 09:45:25 -0400 Subject: [PATCH 1/2] fix: restore the author metadata that npm drops from the package package.json declared the author as an array: "author": ["Michael Martinez", "Helmut Dersch"] npm does not accept an array there. `author` names one person, and `contributors` is the array. npm therefore dropped the field, and the published 2.2.0 carries no author at all: $ npm view @cornerstonejs/jpeg-lossless-decoder-js author --json {} So the package lost the attribution to the two people who wrote the decoder. The unscoped jpeg-lossless-decoder-js has the same defect, and this fork inherited it. Both names are kept, in the shape npm reads: "author": "Michael Martinez", "contributors": ["Helmut Dersch"] Michael Martinez wrote the JavaScript port and the selection value 2 to 7 support; Helmut Dersch wrote the original Java decoder. README.md's acknowledgments section is the source for both. Verified: `npm pkg get` normalizes the manifest to a string author and a contributors array, the packed tarball's package.json carries both, the lint passes and all 54 tests pass. Co-Authored-By: Claude Opus 5 (1M context) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 206e585..4ae9dfb 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,8 @@ "1.2.840.10008.1.2.4.57", "1.2.840.10008.1.2.4.70" ], - "author": [ - "Michael Martinez", + "author": "Michael Martinez", + "contributors": [ "Helmut Dersch" ], "license": "MIT", From a6a56da758df1d86b8c131a65d57735f49b6bdb2 Mon Sep 17 00:00:00 2001 From: Bill Wallace Date: Fri, 11 Sep 2026 10:03:26 -0400 Subject: [PATCH 2/2] fix: add Bill Wallace to the contributors list Bill Wallace maintains this fork: the byte-aligned-end-of-scan fix in 03bb80c0, and the work that publishes the fork as @cornerstonejs/jpeg-lossless-decoder-js. The entry is the name alone, which matches the two entries beside it. npm also accepts "Name (url)", and an entry in a published package is public, so the email stays out unless its owner asks for it. Co-Authored-By: Claude Opus 5 (1M context) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ae9dfb..8338107 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,8 @@ ], "author": "Michael Martinez", "contributors": [ - "Helmut Dersch" + "Helmut Dersch", + "Bill Wallace" ], "license": "MIT", "bugs": {