Skip to content

Update 'buffer' to v5.x

Browser support

buffer v5.x drops support for IE8-10.

This allows us to remove the Object implementation and rely on a single fast implementation based on Typed Arrays, greatly simplifying the maintanence of the buffer package.

Typed arrays are supported by 97.08% of the U.S. browser market and 92.02% of the global browser market. Source: http://caniuse.com/#search=typed This number continues to increase at a steady rate each month.

If IE8-10 support is critical to your web app, you can continue to rely on browserify v13.

Bundle size

This change shrinks the size of buffer modestly.

55.1kb -> 52.1kb (full size, with comments) 7.0kb -> 6.7kb (minified, gzipped)

Bug fixes

buffer v5.x contains several important fixes including:

Semver

This should be released as semver major.

Merge request reports

Loading