@dk/hipp 0.1.24 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/hipp.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -238,20 +238,20 @@ PERFORMANCE OF THIS SOFTWARE.
238
238
  Verify this package with [@dk/hipp](https://www.npmjs.com/package/@dk/hipp):
239
239
 
240
240
  ```bash
241
- npx @dk/hipp verify @dk/hipp@0.1.24
241
+ npx @dk/hipp verify @dk/hipp@0.1.25
242
242
  ```
243
243
 
244
244
  ```json
245
245
  {
246
246
  "origin": "git@github.com:dmytri/hipp.git",
247
- "tag": "v0.1.24",
248
- "revision": "5e933090af3b384fe51e114207ea240f0124d0a1",
249
- "hash": "588c38d438bdc3aa7e8ffa9f5805b4542e65789daa113d8c7f78c3ecc31884fc",
250
- "signature": "LGsyEmAATa79Z8TbPl5xjGMUBTJO7A1jpq+2/XvO8M6u/RNdUGntfb03T8jjc/l9K0XxNCaVmC/pYIZhBB8rDQ==",
247
+ "tag": "v0.1.25",
248
+ "revision": "5fa7dc41c11b4b47fd1de03410f7a335e3c828f5",
249
+ "hash": "dbf3588fd5ebf5ca22dd75d01495d00f36bd03e404d4c0c510928d5f08ddad40",
250
+ "signature": "71Jr5jQ7z5FOzRS6OcFses7vc7RYalNFChdz/89pITRhBcHtmzcRdDtVxd1/OFUuw9GAx1hOcafC056feLMrBw==",
251
251
  "name": "Dmytri Kleiner",
252
252
  "email": "dev@dmytri.to",
253
253
  "npm": "11.12.1",
254
254
  "node": "v25.8.2",
255
- "hipp": "0.0.0"
255
+ "hipp": "0.1.25"
256
256
  }
257
257
  ```
package/hipp.js CHANGED
@@ -684,7 +684,7 @@ async function run() {
684
684
  const nodeVersion = process.version;
685
685
  const hippPkgPath = path.join(path.dirname(process.argv[1]), 'package.json');
686
686
  const hippPkg = JSON.parse(fs.readFileSync(hippPkgPath, 'utf8'));
687
- const hippVersion = hippPkg.version;
687
+ const hippVersion = hippPkg.version === '0.0.0' ? version : hippPkg.version;
688
688
  const originUrl = provenance.remoteUrl;
689
689
  const dataToSign = buildSignData(tarballHash, originUrl, rawTag, revision, name, email);
690
690
  const signature = signContent(dataToSign, privateKey);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dk/hipp",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "High Integrity Package Publisher",
5
5
  "main": "hipp.js",
6
6
  "bin": {