This commit is contained in:
2026-03-03 15:23:00 +00:00
parent 5e3726de39
commit 8e223bfbec
3689 changed files with 955330 additions and 1011 deletions

29
node_modules/@hapi/wreck/lib/tap.js generated vendored Executable file
View File

@@ -0,0 +1,29 @@
'use strict';
const Stream = require('stream');
const Payload = require('./payload');
const internals = {};
module.exports = internals.Tap = class extends Stream.Transform {
constructor() {
super();
this.buffers = [];
}
_transform(chunk, encoding, next) {
this.buffers.push(chunk);
next(null, chunk);
}
collect() {
return new Payload(this.buffers);
}
};