Skip to content

Commit

Permalink
add default export to buffer.js. this was upstreamed in ionic-team/ro…
Browse files Browse the repository at this point in the history
  • Loading branch information
habdelra committed Feb 2, 2021
1 parent b76ae9c commit 3965441
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/polyfills/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2143,3 +2143,11 @@ export {
isBuffer,
_kMaxLength as kMaxLength,
};

export default {
Buffer,
INSPECT_MAX_BYTES,
SlowBuffer,
isBuffer,
kMaxLength: _kMaxLength,
};

0 comments on commit 3965441

Please sign in to comment.