exposure-keys 1.8.5 → 1.9.0

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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -8
package/README.md CHANGED
@@ -9,7 +9,7 @@ Run `yarn add exposure-keys` or `npm install exposure-keys`.
9
9
  ## Usage
10
10
 
11
11
  ```ts
12
- import * as fs from 'fs';
12
+ import * as fs from 'node:fs';
13
13
  import {loadZip, loadKeys, loadSignature} from 'exposure-keys';
14
14
 
15
15
  (async () => {
package/package.json CHANGED
@@ -7,12 +7,11 @@
7
7
  "description": "Temporary Exposure Keys (TEK) library",
8
8
  "devDependencies": {
9
9
  "protobufjs-cli": "1.1.2",
10
- "rimraf": "5.0.7",
11
- "ts-node": "10.9.2",
12
- "typescript": "5.5.2"
10
+ "rimraf": "6.0.1",
11
+ "typescript": "5.5.4"
13
12
  },
14
13
  "engines": {
15
- "node": ">= 10.9"
14
+ "node": ">= 18.0"
16
15
  },
17
16
  "files": [
18
17
  "dist",
@@ -33,7 +32,6 @@
33
32
  "typescript"
34
33
  ],
35
34
  "license": "GPL-3.0",
36
- "main": "dist/index.js",
37
35
  "name": "exposure-keys",
38
36
  "repository": "https://github.com/ffflorian/node-packages/tree/main/packages/exposure-keys",
39
37
  "scripts": {
@@ -42,8 +40,9 @@
42
40
  "build:ts": "tsc",
43
41
  "clean": "rimraf dist",
44
42
  "dist": "yarn clean && yarn build",
45
- "start": "ts-node src/cli.ts"
43
+ "start": "node --loader ts-node/esm src/cli.ts -d"
46
44
  },
47
- "version": "1.8.5",
48
- "gitHead": "f7a6a79286e4eb85392b5f2d33942ab166142109"
45
+ "type": "module",
46
+ "version": "1.9.0",
47
+ "gitHead": "f1a74d8ec9721d5b52a00e41b2ec73278e048290"
49
48
  }