3 Commits

  1. 6
      index.js
  2. 4
      package.json
  3. 1
      src/create-defer.js
  4. 21
      yarn.lock

6
index.js

@ -49,9 +49,6 @@ module.exports = function convert(stream) {
}
};
// FIXME: Duplex APIs
function fromReadable(stream) {
let readable = wireUpReadableInterface(stream);
@ -171,3 +168,6 @@ function fromTransform(stream) {
buffer()
]);
}
module.exports.fromReadable = fromReadable;
module.exports.fromWritable = fromWritable;

4
package.json

@ -1,6 +1,6 @@
{
"name": "@promistream/from-node-stream",
"version": "0.1.1",
"version": "0.1.2",
"main": "index.js",
"repository": "http://git.cryto.net/promistream/from-node-stream.git",
"author": "Sven Slootweg <admin@cryto.net>",
@ -13,7 +13,7 @@
"@promistream/pipe": "^0.1.1",
"@promistream/propagate-abort": "^0.1.3",
"@promistream/propagate-peek": "^0.1.0",
"@promistream/simple-sink": "^0.1.0",
"@promistream/simple-sink": "^0.2.0",
"@promistream/simple-source": "^0.1.1",
"bluebird": "^3.7.2",
"debug": "^4.3.1",

1
src/create-defer.js

@ -1,5 +1,6 @@
"use strict";
// FIXME: Can we use p-defer here instead?
module.exports = function createDefer() {
let resolveFunc, rejectFunc;

21
yarn.lock

@ -118,6 +118,22 @@
"@validatem/wrap-value-as-option" "^0.1.0"
bluebird "^3.5.4"
"@promistream/simple-sink@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@promistream/simple-sink/-/simple-sink-0.2.0.tgz#74cf5fadbd98dc3dd7b237f7816ea5a1fdc2147d"
integrity sha512-QEFpCoZRbTqVzicetUxImQQKgzJ2gfOxyFcAs/LudSxU7TXzsPkYKqLnXteNWk8UZ6gZkmCW80jLW7DfjqVnbQ==
dependencies:
"@promistream/is-aborted" "^0.1.1"
"@promistream/is-end-of-stream" "^0.1.1"
"@promistream/propagate-abort" "^0.1.6"
"@promistream/propagate-peek" "^0.1.1"
"@validatem/core" "^0.3.11"
"@validatem/is-function" "^0.1.0"
"@validatem/required" "^0.1.1"
"@validatem/wrap-value-as-option" "^0.1.0"
bluebird "^3.5.4"
result-buffer "^0.1.0"
"@promistream/simple-source@^0.1.0", "@promistream/simple-source@^0.1.1":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@promistream/simple-source/-/simple-source-0.1.3.tgz#8139ed088f8249eb9a93287fc04213008325cf06"
@ -638,6 +654,11 @@ p-timeout@^3.1.0:
dependencies:
p-finally "^1.0.0"
result-buffer@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/result-buffer/-/result-buffer-0.1.0.tgz#8b7ad5bc6c3e1352415e724194198edff90d6f36"
integrity sha512-asH3ChOeuCXK4LXhvtAINa6qj5TWuQ353wslgUwqrx6Zb0+WhI5coJ6sESF/IOuaAoHdf9st2Mlv7XmREUHaNw==
split-filter-n@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/split-filter-n/-/split-filter-n-1.1.2.tgz#268be1ec9c4d93dfb27b030c06165ac1b6f70f66"

Loading…
Cancel
Save