|
20 | 20 | "scripts": {
|
21 | 21 | "lint": "aegir lint",
|
22 | 22 | "build": "aegir build",
|
| 23 | + "build:proto": "npm run build:proto:circuit && npm run build:proto:plaintext && npm run build:proto:address-book && npm run build:proto:proto-book && npm run build:proto:peer-record && npm run build:proto:envelope", |
| 24 | + "build:proto:circuit": "pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/circuit/protocol/index.js ./src/circuit/protocol/index.proto", |
| 25 | + "build:proto:plaintext": "pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/insecure/proto.js ./src/insecure/proto.proto", |
| 26 | + "build:proto:address-book": "pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/peer-store/persistent/pb/address-book.js ./src/peer-store/persistent/pb/address-book.proto", |
| 27 | + "build:proto:proto-book": "pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/peer-store/persistent/pb/proto-book.js ./src/peer-store/persistent/pb/proto-book.proto", |
| 28 | + "build:proto:peer-record": "pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/record/peer-record/peer-record.js ./src/record/peer-record/peer-record.proto", |
| 29 | + "build:proto:envelope": "pbjs -t static-module -w commonjs --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/record/envelope/envelope.js ./src/record/envelope/envelope.proto", |
| 30 | + "build:proto-types": "npm run build:proto-types:circuit && npm run build:proto-types:plaintext && npm run build:proto-types:address-book && npm run build:proto-types:proto-book && npm run build:proto-types:peer-record && npm run build:proto-types:envelope", |
| 31 | + "build:proto-types:circuit": "pbts -o src/circuit/protocol/index.d.ts src/circuit/protocol/index.js", |
| 32 | + "build:proto-types:plaintext": "pbts -o src/insecure/proto.d.ts src/insecure/proto.js", |
| 33 | + "build:proto-types:address-book": "pbts -o src/peer-store/persistent/pb/address-book.d.ts src/peer-store/persistent/pb/address-book.js", |
| 34 | + "build:proto-types:proto-book": "pbts -o src/peer-store/persistent/pb/proto-book.d.ts src/peer-store/persistent/pb/proto-book.js", |
| 35 | + "build:proto-types:peer-record": "pbts -o src/record/peer-record/peer-record.d.ts src/record/peer-record/peer-record.js", |
| 36 | + "build:proto-types:envelope": "pbts -o src/record/envelope/envelope.d.ts src/record/envelope/envelope.js", |
23 | 37 | "test": "aegir test",
|
24 | 38 | "test:ts": "aegir build --no-bundle && npm run test --prefix test/ts-use",
|
25 | 39 | "test:node": "aegir test -t node -f \"./test/**/*.{node,spec}.js\"",
|
|
48 | 62 | "homepage": "https://libp2p.io",
|
49 | 63 | "license": "MIT",
|
50 | 64 | "engines": {
|
51 |
| - "node": ">=12.0.0", |
52 |
| - "npm": ">=6.0.0" |
| 65 | + "node": ">=14.0.0" |
53 | 66 | },
|
54 | 67 | "browser": {
|
55 | 68 | "@motrix/nat-api": false
|
|
82 | 95 | "it-filter": "^1.0.1",
|
83 | 96 | "it-first": "^1.0.4",
|
84 | 97 | "it-handshake": "^1.0.2",
|
85 |
| - "it-length-prefixed": "^3.1.0", |
| 98 | + "it-length-prefixed": "^4.0.0", |
86 | 99 | "it-map": "^1.0.4",
|
87 | 100 | "it-merge": "1.0.0",
|
88 | 101 | "it-pipe": "^1.1.0",
|
89 | 102 | "it-protocol-buffers": "^0.2.0",
|
90 | 103 | "it-take": "1.0.0",
|
91 | 104 | "libp2p-crypto": "^0.19.0",
|
92 | 105 | "libp2p-interfaces": "^0.9.0",
|
93 |
| - "libp2p-utils": "libp2p/js-libp2p-utils#feat/add-types", |
| 106 | + "libp2p-utils": "^0.3.0", |
94 | 107 | "mafmt": "^8.0.0",
|
95 | 108 | "merge-options": "^3.0.4",
|
96 | 109 | "moving-average": "^1.0.0",
|
97 |
| - "multiaddr": "^8.1.0", |
| 110 | + "multiaddr": "^8.1.2", |
98 | 111 | "multicodec": "^3.0.1",
|
99 | 112 | "multihashing-async": "^2.1.2",
|
100 | 113 | "multistream-select": "^1.0.0",
|
|
106 | 119 | "p-settle": "^4.1.1",
|
107 | 120 | "peer-id": "^0.14.2",
|
108 | 121 | "private-ip": "^2.1.0",
|
| 122 | + "protobufjs": "^6.10.2", |
109 | 123 | "protons": "^2.0.0",
|
110 | 124 | "retimer": "^3.0.0",
|
111 | 125 | "sanitize-filename": "^1.6.3",
|
|
121 | 135 | "@types/node-forge": "^0.9.7",
|
122 | 136 | "@types/varint": "^6.0.0",
|
123 | 137 | "abortable-iterator": "^3.0.0",
|
124 |
| - "aegir": "^32.1.0", |
| 138 | + "aegir": "^33.0.0", |
125 | 139 | "chai-bytes": "^0.1.2",
|
126 | 140 | "chai-string": "^1.5.0",
|
127 | 141 | "delay": "^5.0.0",
|
|
0 commit comments