]> zoso.dev Git - buffer.git/commit
BREAKING: Drop IE11, Safari 9-10 support
authorFeross Aboukhadijeh <feross@feross.org>
Wed, 4 Nov 2020 00:21:35 +0000 (14:21 -1000)
committerFeross Aboukhadijeh <feross@feross.org>
Wed, 4 Nov 2020 00:21:35 +0000 (14:21 -1000)
commit840160f352ff0d8e88d4ac308a1640fd278f50fc
tree1f5cb58434e11be6930ae752c01ba1dbe74d860b
parent170479221119bec1d706f1a5bb06417964746bde
BREAKING: Drop IE11, Safari 9-10 support

Since Buffer now supports the BigInt methods and the code for that uses the exponentiation operator, I'm going to drop support for IE11 and Safari 9-10.

Further changes I needed to make:

- Use consistent shifting to floor the offset numbers, like we do for other methods
- Remove all BigInt literals in favor of using a BigInt constructor â€“ this fixes parse errors in older browsers like Safari 11
- Disable Node tests in Safari 11 and 12 since they use BigInt literal syntax

This commit contains fixes for PR #267
README.md
bin/airtap-new.yml [moved from bin/airtap-es6.yml with 77% similarity]
bin/airtap-old.yml [moved from bin/airtap-es5.yml with 56% similarity]
bin/test.js
index.js
package.json