summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/tar/node_modules/minipass/bench/lib/extend-transform.js
blob: 1d2d24026d5346d5389a0c9b717f280e5b39a70a (plain)
1
2
3
4
5
6
7
8
9
10
11
'use strict'
const stream = require('stream')
module.exports = class ExtendTransform extends stream.Transform {
  constructor (opts) {
    super(opts)
  }
  _transform (data, enc, done) {
    this.push(data, enc)
    done()
  }
}