Skip to content

Commit

Permalink
deps: Update to streams3 API
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Oct 26, 2023
1 parent 26a9040 commit bc91486
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 83 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
},
"dependencies": {
"@metamask/json-rpc-engine": "^7.1.1",
"@metamask/object-multiplex": "^1.1.0",
"@metamask/object-multiplex": "^2.0.0",
"@metamask/rpc-errors": "^6.0.0",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^8.1.0",
"detect-browser": "^5.2.0",
"extension-port-stream": "^2.1.1",
"fast-deep-equal": "^3.1.3",
"is-stream": "^2.0.0",
"json-rpc-middleware-stream": "^4.2.1",
"is-stream": "^3.0.0",
"json-rpc-middleware-stream": "^5.0.1",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
Expand Down
107 changes: 27 additions & 80 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1080,14 +1080,13 @@ __metadata:
languageName: node
linkType: hard

"@metamask/object-multiplex@npm:^1.1.0":
version: 1.2.0
resolution: "@metamask/object-multiplex@npm:1.2.0"
"@metamask/object-multiplex@npm:^2.0.0":
version: 2.0.0
resolution: "@metamask/object-multiplex@npm:2.0.0"
dependencies:
end-of-stream: ^1.4.4
once: ^1.4.0
readable-stream: ^2.3.3
checksum: 7c622639cc164c3b780294d790311e4bcb327faf14626717728022e95da5834f32fe4e242d8f4e7d9b8c2b83f0c76450922786b2f6ef50e777bfe119b78bdab7
readable-stream: ^3.6.2
checksum: 54baea752a3ac7c2742c376512e00d4902d383e9da8787574d3b21eb0081523309e24e3915a98f3ae0341d65712b6832d2eb7eeb862f4ef0da1ead52dcde5387
languageName: node
linkType: hard

Expand All @@ -1102,7 +1101,7 @@ __metadata:
"@metamask/eslint-config-nodejs": ^11.0.1
"@metamask/eslint-config-typescript": ^11.0.0
"@metamask/json-rpc-engine": ^7.1.1
"@metamask/object-multiplex": ^1.1.0
"@metamask/object-multiplex": ^2.0.0
"@metamask/rpc-errors": ^6.0.0
"@metamask/safe-event-emitter": ^3.0.0
"@metamask/utils": ^8.1.0
Expand All @@ -1125,12 +1124,12 @@ __metadata:
eslint-plugin-prettier: ^4.2.1
extension-port-stream: ^2.1.1
fast-deep-equal: ^3.1.3
is-stream: ^2.0.0
is-stream: ^3.0.0
jest: ^28.1.3
jest-chrome: ^0.7.1
jest-environment-jsdom: ^29.5.0
jest-it-up: ^2.0.2
json-rpc-middleware-stream: ^4.2.1
json-rpc-middleware-stream: ^5.0.1
prettier: ^2.7.1
prettier-plugin-packagejson: ^2.3.0
rimraf: ^3.0.2
Expand All @@ -1152,13 +1151,6 @@ __metadata:
languageName: node
linkType: hard

"@metamask/safe-event-emitter@npm:^2.0.0":
version: 2.0.0
resolution: "@metamask/safe-event-emitter@npm:2.0.0"
checksum: 8b717ac5d53df0027c05509f03d0534700b5898dd1c3a53fb2dc4c0499ca5971b14aae67f522d09eb9f509e77f50afa95fdb3eda1afbff8b071c18a3d2905e93
languageName: node
linkType: hard

"@metamask/safe-event-emitter@npm:^3.0.0":
version: 3.0.0
resolution: "@metamask/safe-event-emitter@npm:3.0.0"
Expand Down Expand Up @@ -2600,13 +2592,6 @@ __metadata:
languageName: node
linkType: hard

"core-util-is@npm:~1.0.0":
version: 1.0.2
resolution: "core-util-is@npm:1.0.2"
checksum: 7a4c925b497a2c91421e25bf76d6d8190f0b2359a9200dbeed136e63b2931d6294d3b1893eda378883ed363cd950f44a12a401384c609839ea616befb7927dab
languageName: node
linkType: hard

"cosmiconfig@npm:^7.0.0":
version: 7.1.0
resolution: "cosmiconfig@npm:7.1.0"
Expand Down Expand Up @@ -2923,15 +2908,6 @@ __metadata:
languageName: node
linkType: hard

"end-of-stream@npm:^1.4.4":
version: 1.4.4
resolution: "end-of-stream@npm:1.4.4"
dependencies:
once: ^1.4.0
checksum: 530a5a5a1e517e962854a31693dbb5c0b2fc40b46dad2a56a2deec656ca040631124f4795823acc68238147805f8b021abbe221f4afed5ef3c8e8efc2024908b
languageName: node
linkType: hard

"entities@npm:^4.4.0":
version: 4.5.0
resolution: "entities@npm:4.5.0"
Expand Down Expand Up @@ -4049,7 +4025,7 @@ __metadata:
languageName: node
linkType: hard

"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:~2.0.3":
"inherits@npm:2, inherits@npm:^2.0.3":
version: 2.0.4
resolution: "inherits@npm:2.0.4"
checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1
Expand Down Expand Up @@ -4263,6 +4239,13 @@ __metadata:
languageName: node
linkType: hard

"is-stream@npm:^3.0.0":
version: 3.0.0
resolution: "is-stream@npm:3.0.0"
checksum: 172093fe99119ffd07611ab6d1bcccfe8bc4aa80d864b15f43e63e54b7abc71e779acd69afdb854c4e2a67fdc16ae710e370eda40088d1cfc956a50ed82d8f16
languageName: node
linkType: hard

"is-string@npm:^1.0.5, is-string@npm:^1.0.7":
version: 1.0.7
resolution: "is-string@npm:1.0.7"
Expand Down Expand Up @@ -4312,13 +4295,6 @@ __metadata:
languageName: node
linkType: hard

"isarray@npm:~1.0.0":
version: 1.0.0
resolution: "isarray@npm:1.0.0"
checksum: f032df8e02dce8ec565cf2eb605ea939bdccea528dbcf565cdf92bfa2da9110461159d86a537388ef1acef8815a330642d7885b29010e8f7eac967c9993b65ab
languageName: node
linkType: hard

"isexe@npm:^2.0.0":
version: 2.0.0
resolution: "isexe@npm:2.0.0"
Expand Down Expand Up @@ -5010,13 +4986,15 @@ __metadata:
languageName: node
linkType: hard

"json-rpc-middleware-stream@npm:^4.2.1":
version: 4.2.1
resolution: "json-rpc-middleware-stream@npm:4.2.1"
"json-rpc-middleware-stream@npm:^5.0.1":
version: 5.0.1
resolution: "json-rpc-middleware-stream@npm:5.0.1"
dependencies:
"@metamask/safe-event-emitter": ^2.0.0
readable-stream: ^2.3.3
checksum: 207c34ba2c55ff072864422ba48b03f49dd1bc488f0d9c017c7474d3f2514bd4b1cc14daf5324f96887cdaf8e5c1018701960f55fb45e9c3224e3d7db9f70765
"@metamask/json-rpc-engine": ^7.1.1
"@metamask/safe-event-emitter": ^3.0.0
"@metamask/utils": ^8.1.0
readable-stream: ^3.6.2
checksum: 1cfb8ef5fbb3daa15015213e380e79f043a4208d6ea5533a99b3f3c8aeb01270bfdce5b37003362745a059edbd418d9ca3548fab5fa83355641be2f392303084
languageName: node
linkType: hard

Expand Down Expand Up @@ -5907,13 +5885,6 @@ __metadata:
languageName: node
linkType: hard

"process-nextick-args@npm:~2.0.0":
version: 2.0.1
resolution: "process-nextick-args@npm:2.0.1"
checksum: 1d38588e520dab7cea67cbbe2efdd86a10cc7a074c09657635e34f035277b59fbb57d09d8638346bf7090f8e8ebc070c96fa5fd183b777fff4f5edff5e9466cf
languageName: node
linkType: hard

"promise-inflight@npm:^1.0.1":
version: 1.0.1
resolution: "promise-inflight@npm:1.0.1"
Expand Down Expand Up @@ -5996,22 +5967,7 @@ __metadata:
languageName: node
linkType: hard

"readable-stream@npm:^2.3.3":
version: 2.3.7
resolution: "readable-stream@npm:2.3.7"
dependencies:
core-util-is: ~1.0.0
inherits: ~2.0.3
isarray: ~1.0.0
process-nextick-args: ~2.0.0
safe-buffer: ~5.1.1
string_decoder: ~1.1.1
util-deprecate: ~1.0.1
checksum: e4920cf7549a60f8aaf694d483a0e61b2a878b969d224f89b3bc788b8d920075132c4b55a7494ee944c7b6a9a0eada28a7f6220d80b0312ece70bbf08eeca755
languageName: node
linkType: hard

"readable-stream@npm:^3.6.0":
"readable-stream@npm:^3.6.0, readable-stream@npm:^3.6.2":
version: 3.6.2
resolution: "readable-stream@npm:3.6.2"
dependencies:
Expand Down Expand Up @@ -6165,7 +6121,7 @@ __metadata:
languageName: node
linkType: hard

"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1":
"safe-buffer@npm:~5.1.1":
version: 5.1.2
resolution: "safe-buffer@npm:5.1.2"
checksum: f2f1f7943ca44a594893a852894055cf619c1fbcb611237fc39e461ae751187e7baf4dc391a72125e0ac4fb2d8c5c0b3c71529622e6a58f46b960211e704903c
Expand Down Expand Up @@ -6531,15 +6487,6 @@ __metadata:
languageName: node
linkType: hard

"string_decoder@npm:~1.1.1":
version: 1.1.1
resolution: "string_decoder@npm:1.1.1"
dependencies:
safe-buffer: ~5.1.0
checksum: 9ab7e56f9d60a28f2be697419917c50cac19f3e8e6c28ef26ed5f4852289fe0de5d6997d29becf59028556f2c62983790c1d9ba1e2a3cc401768ca12d5183a5b
languageName: node
linkType: hard

"strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1":
version: 6.0.1
resolution: "strip-ansi@npm:6.0.1"
Expand Down Expand Up @@ -7005,7 +6952,7 @@ __metadata:
languageName: node
linkType: hard

"util-deprecate@npm:^1.0.1, util-deprecate@npm:~1.0.1":
"util-deprecate@npm:^1.0.1":
version: 1.0.2
resolution: "util-deprecate@npm:1.0.2"
checksum: 474acf1146cb2701fe3b074892217553dfcf9a031280919ba1b8d651a068c9b15d863b7303cb15bd00a862b498e6cf4ad7b4a08fb134edd5a6f7641681cb54a2
Expand Down

0 comments on commit bc91486

Please sign in to comment.