Skip to content

Commit 41fce66

Browse files
committed
Fix #190: polyfill Buffer in lib/parse.js for node v4 <4.5
1 parent ec2581a commit 41fce66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/parse.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const maxMetaEntrySize = 1024 * 1024
2929
const Entry = require('./read-entry.js')
3030
const Pax = require('./pax.js')
3131
const zlib = require('minizlib')
32+
const Buffer = require('./buffer.js')
3233

3334
const gzipHeader = Buffer.from([0x1f, 0x8b])
3435
const STATE = Symbol('state')

0 commit comments

Comments
 (0)