@metamask/object-multiplex
Advanced tools
Comparing version 1.3.0 to 2.0.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2
19
0
13174
158
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
- Removedend-of-stream@^1.4.4
- Removedcore-util-is@1.0.3(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
Updatedreadable-stream@^3.6.2