@dk/hipp 0.1.23 â 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.
- package/README.md +6 -6
- package/hipp.js +3 -2
- 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.
|
|
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.
|
|
248
|
-
"revision": "
|
|
249
|
-
"hash": "
|
|
250
|
-
"signature": "
|
|
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.
|
|
255
|
+
"hipp": "0.1.25"
|
|
256
256
|
}
|
|
257
257
|
```
|
package/hipp.js
CHANGED
|
@@ -575,7 +575,8 @@ async function runVerify(packageSpec) {
|
|
|
575
575
|
log.info(`đ Tag: ${tag}`);
|
|
576
576
|
if (npmVer || nodeVer || hippVer) {
|
|
577
577
|
const parts = [];
|
|
578
|
-
|
|
578
|
+
const displayHipp = hippVer === '0.0.0' ? tagVersion : hippVer;
|
|
579
|
+
if (hippVer) parts.push(`hipp: ${displayHipp}`);
|
|
579
580
|
if (npmVer) parts.push(`npm: ${npmVer}`);
|
|
580
581
|
if (nodeVer) parts.push(`node: ${nodeVer}`);
|
|
581
582
|
log.info(`âšī¸ ${parts.join(' | ')}`);
|
|
@@ -683,7 +684,7 @@ async function run() {
|
|
|
683
684
|
const nodeVersion = process.version;
|
|
684
685
|
const hippPkgPath = path.join(path.dirname(process.argv[1]), 'package.json');
|
|
685
686
|
const hippPkg = JSON.parse(fs.readFileSync(hippPkgPath, 'utf8'));
|
|
686
|
-
const hippVersion = hippPkg.version;
|
|
687
|
+
const hippVersion = hippPkg.version === '0.0.0' ? version : hippPkg.version;
|
|
687
688
|
const originUrl = provenance.remoteUrl;
|
|
688
689
|
const dataToSign = buildSignData(tarballHash, originUrl, rawTag, revision, name, email);
|
|
689
690
|
const signature = signContent(dataToSign, privateKey);
|