@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.
- package/README.md +6 -6
- package/hipp.js +1 -1
- 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
|
@@ -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);
|