@dk/hipp 0.1.28 → 0.1.29

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 +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -241,20 +241,20 @@ PERFORMANCE OF THIS SOFTWARE.
241
241
  Verify this package with [@dk/hipp](https://www.npmjs.com/package/@dk/hipp):
242
242
 
243
243
  ```bash
244
- npx @dk/hipp verify @dk/hipp@0.1.28
244
+ npx @dk/hipp verify @dk/hipp@0.1.29
245
245
  ```
246
246
 
247
247
  ```json
248
248
  {
249
249
  "origin": "git@github.com:dmytri/hipp.git",
250
- "tag": "v0.1.28",
251
- "revision": "9c14060da439f9a4c2b040c282da594703525d14",
252
- "hash": "ee78fe3bba06ec7cff6f775c43c9cc4bf3fba4a3bfa64e28dd57879426890f11",
253
- "signature": "0Udja52eMvhKvlJxFpwxW927lV1QzyJhF/5kMdOeTnFXy+zQuqMSUBG0fHNo7PRZ9YEDWGzN+EnyeVL5+pyYBQ==",
250
+ "tag": "v0.1.29",
251
+ "revision": "33bc07a3b6621daa7220a3febde75ef5d3416518",
252
+ "hash": "af235d18cbc26f9bff5dac57a101b9722687dc7d8360c590aa81c96e23178654",
253
+ "signature": "Q5UmtBUV1DbII/oNmFcnWXzyLXndcVCGxpy4kKsnSHs+YZYyt69qg71fhHR+uy9ggzBCi3sc3nwtbEHEX+TXBg==",
254
254
  "name": "Dmytri Kleiner",
255
255
  "email": "dev@dmytri.to",
256
256
  "npm": "11.12.1",
257
257
  "node": "v25.8.2",
258
- "hipp": "0.1.28"
258
+ "hipp": "0.1.29"
259
259
  }
260
260
  ```
package/hipp.js CHANGED
@@ -767,8 +767,8 @@ if (isVerify) {
767
767
  }
768
768
  } catch {}
769
769
  }
770
- const hippPkgPath = path.join(path.dirname(process.argv[1]), 'package.json');
771
- const hippPkg = JSON.parse(fs.readFileSync(hippPkgPath, 'utf8'));
770
+ const hippModuleDir = path.dirname(require.resolve('@dk/hipp/package.json'));
771
+ const hippPkg = JSON.parse(fs.readFileSync(path.join(hippModuleDir, 'package.json'), 'utf8'));
772
772
  const spec = hippPkg.version === '0.0.0'
773
773
  ? hippPkg.name
774
774
  : `${hippPkg.name}@${hippPkg.version}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dk/hipp",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "High Integrity Package Publisher",
5
5
  "main": "hipp.js",
6
6
  "bin": {