1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00
setup-python/node_modules/pn/stream.js
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

14 lines
615 B
JavaScript

var stream = require("stream");
var promisify = require("./_promisify.js");
var bind = function(c, f) { return f && f.bind(c); };
Object.defineProperties(module.exports, {
Duplex: { enumerable: true, value: stream.Duplex },
PassThrough: { enumerable: true, value: stream.PassThrough },
Readable: { enumerable: true, value: stream.Readable },
Stream: { enumerable: true, value: stream.Stream },
Transform: { enumerable: true, value: stream.Transform },
Writable: { enumerable: true, value: stream.Writable },
//_isUint8Array: // skipping
//_uint8ArrayToBuffer: // skipping
//super_: // skipping
});