mirror of
https://github.com/JonasunderscoreJones/api.jonasjones.dev.git
synced 2025-10-24 04:29:19 +02:00
Initial commit (by create-cloudflare CLI)
This commit is contained in:
commit
58a42872a0
1745 changed files with 741893 additions and 0 deletions
15
node_modules/rollup-plugin-node-polyfills/polyfills/readable-stream/passthrough.js
generated
vendored
Normal file
15
node_modules/rollup-plugin-node-polyfills/polyfills/readable-stream/passthrough.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
import {Transform} from './transform';
|
||||
|
||||
import {inherits} from 'util';
|
||||
inherits(PassThrough, Transform);
|
||||
export default PassThrough;
|
||||
export function PassThrough(options) {
|
||||
if (!(this instanceof PassThrough)) return new PassThrough(options);
|
||||
|
||||
Transform.call(this, options);
|
||||
}
|
||||
|
||||
PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
||||
cb(null, chunk);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue