@nomicfoundation/edr 0.13.0 → 0.14.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 (3) hide show
  1. package/index.d.ts +1642 -1419
  2. package/index.js +620 -345
  3. package/package.json +32 -32
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@nomicfoundation/edr",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "devDependencies": {
5
- "@napi-rs/cli": "^2.18.4",
5
+ "@napi-rs/cli": "^3.7.0",
6
6
  "@nomicfoundation/ethereumjs-util": "^9.0.4",
7
- "@tsconfig/node20": "^20.1.6",
7
+ "@tsconfig/node22": "^22.0.0",
8
8
  "@types/chai": "^4.2.0",
9
9
  "@types/chai-as-promised": "^7.1.8",
10
10
  "@types/mocha": ">=9.1.0",
11
- "@types/node": "^20.0.0",
12
- "@typescript-eslint/eslint-plugin": "5.62.0",
13
- "@typescript-eslint/parser": "5.62.0",
11
+ "@types/node": "^22.0.0",
12
+ "@typescript-eslint/eslint-plugin": "8.62.1",
13
+ "@typescript-eslint/parser": "8.62.1",
14
14
  "chai": "^4.3.6",
15
15
  "chai-as-promised": "^7.1.1",
16
16
  "chalk": "^2.4.2",
@@ -21,13 +21,13 @@
21
21
  "eslint-plugin-prettier": "5.5.6",
22
22
  "ethers": "^6.1.0",
23
23
  "json-stream-stringify": "^3.1.4",
24
- "mocha": "^10.0.0",
24
+ "mocha": "^11.1.0",
25
25
  "prettier": "^3.2.5",
26
26
  "ts-node": "^10.8.0",
27
27
  "typescript": "~5.8.2"
28
28
  },
29
29
  "engines": {
30
- "node": ">= 20"
30
+ "node": ">= 22"
31
31
  },
32
32
  "exports": {
33
33
  ".": "./index.js",
@@ -42,30 +42,30 @@
42
42
  "license": "MIT",
43
43
  "main": "index.js",
44
44
  "napi": {
45
- "name": "edr",
46
- "triples": {
47
- "defaults": false,
48
- "additional": [
49
- "aarch64-apple-darwin",
50
- "x86_64-apple-darwin",
51
- "aarch64-unknown-linux-gnu",
52
- "aarch64-unknown-linux-musl",
53
- "x86_64-unknown-linux-gnu",
54
- "x86_64-unknown-linux-musl",
55
- "x86_64-pc-windows-msvc"
56
- ]
57
- }
45
+ "binaryName": "edr",
46
+ "targets": [
47
+ "aarch64-apple-darwin",
48
+ "x86_64-apple-darwin",
49
+ "aarch64-unknown-linux-gnu",
50
+ "aarch64-unknown-linux-musl",
51
+ "x86_64-unknown-linux-gnu",
52
+ "x86_64-unknown-linux-musl",
53
+ "x86_64-pc-windows-msvc"
54
+ ]
55
+ },
56
+ "repository": {
57
+ "type": "git",
58
+ "url": "NomicFoundation/edr.git"
58
59
  },
59
- "repository": "NomicFoundation/edr.git",
60
60
  "types": "index.d.ts",
61
61
  "dependencies": {
62
- "@nomicfoundation/edr-darwin-arm64": "0.13.0",
63
- "@nomicfoundation/edr-darwin-x64": "0.13.0",
64
- "@nomicfoundation/edr-linux-arm64-gnu": "0.13.0",
65
- "@nomicfoundation/edr-linux-arm64-musl": "0.13.0",
66
- "@nomicfoundation/edr-linux-x64-gnu": "0.13.0",
67
- "@nomicfoundation/edr-linux-x64-musl": "0.13.0",
68
- "@nomicfoundation/edr-win32-x64-msvc": "0.13.0"
62
+ "@nomicfoundation/edr-darwin-arm64": "0.14.0",
63
+ "@nomicfoundation/edr-darwin-x64": "0.14.0",
64
+ "@nomicfoundation/edr-linux-arm64-gnu": "0.14.0",
65
+ "@nomicfoundation/edr-linux-arm64-musl": "0.14.0",
66
+ "@nomicfoundation/edr-linux-x64-gnu": "0.14.0",
67
+ "@nomicfoundation/edr-linux-x64-musl": "0.14.0",
68
+ "@nomicfoundation/edr-win32-x64-msvc": "0.14.0"
69
69
  },
70
70
  "scripts": {
71
71
  "artifacts": "napi artifacts",
@@ -84,9 +84,9 @@
84
84
  "lint:fix": "pnpm run prettier --write",
85
85
  "pretest": "pnpm build:test",
86
86
  "prettier": "prettier --check \"test/**.ts\"",
87
- "test": "node --max-old-space-size=8192 node_modules/mocha/bin/_mocha --recursive \"test/**/*.ts\"",
88
- "testNoBuild": "node --max-old-space-size=8192 node_modules/mocha/bin/_mocha --recursive \"test/**/{,!(logs|mock)}.ts\"",
89
- "universal": "napi universal",
87
+ "test": "mocha --recursive \"test/**/*.ts\"",
88
+ "testNoBuild": "mocha --recursive \"test/**/{,!(logs|mock)}.ts\"",
89
+ "universal": "napi universalize",
90
90
  "version": "napi version"
91
91
  }
92
92
  }