Socket
Socket
Sign inDemoInstall

@metamask/object-multiplex

Package Overview
Dependencies
Maintainers
12
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/object-multiplex - npm Package Compare versions

Comparing version 1.3.0 to 2.0.0

7

dist/ObjectMultiplex.js

@@ -8,3 +8,2 @@ "use strict";

const readable_stream_1 = require("readable-stream");
const end_of_stream_1 = __importDefault(require("end-of-stream"));
const once_1 = __importDefault(require("once"));

@@ -80,6 +79,6 @@ const Substream_1 = require("./Substream");

function anyStreamEnd(stream, _cb) {
const cb = once_1.default(_cb);
end_of_stream_1.default(stream, { readable: false }, cb);
end_of_stream_1.default(stream, { writable: false }, cb);
const cb = (0, once_1.default)(_cb);
(0, readable_stream_1.finished)(stream, { readable: false }, cb);
(0, readable_stream_1.finished)(stream, { writable: false }, cb);
}
//# sourceMappingURL=ObjectMultiplex.js.map
{
"name": "@metamask/object-multiplex",
"version": "1.3.0",
"version": "2.0.0",
"description": "Simple stream multiplexing for objectMode.",

@@ -12,3 +12,3 @@ "main": "dist/index.js",

"engines": {
"node": ">=12.0.0"
"node": "^16.20 || ^18.16 || >=20"
},

@@ -32,8 +32,7 @@ "files": [

"dependencies": {
"end-of-stream": "^1.4.4",
"once": "^1.4.0",
"readable-stream": "^2.3.3"
"readable-stream": "^3.6.2"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^1.0.6",
"@lavamoat/allow-scripts": "^2.5.1",
"@metamask/auto-changelog": "^2.3.0",

@@ -43,18 +42,16 @@ "@metamask/eslint-config": "^6.0.0",

"@metamask/eslint-config-typescript": "^6.0.0",
"@types/end-of-stream": "^1.4.0",
"@types/node": "^14.14.9",
"@types/node": "^16",
"@types/once": "^1.4.0",
"@types/readable-stream": "^2.3.9",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "^7.27.0",
"@types/readable-stream": "4.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.3.0",
"pump": "^1.0.2",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"tape": "^4.8.0",
"typescript": "^4.1.2"
"tape": "^4.17.0",
"typescript": "~4.8.4"
},

@@ -61,0 +58,0 @@ "lavamoat": {

@@ -30,3 +30,3 @@ # @metamask/object-multiplex

- Install [Node.js](https://nodejs.org) version 12
- Install [Node.js](https://nodejs.org) version 18
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.

@@ -33,0 +33,0 @@ - Install [Yarn v1](https://yarnpkg.com/en/docs/install)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc