]>
zoso.dev Git - buffer.git/log
Deklan Webster [Thu, 5 Nov 2020 22:34:10 +0000 (17:34 -0500)]
Add BigInt operations to types
Feross Aboukhadijeh [Wed, 4 Nov 2020 21:58:44 +0000 (11:58 -1000)]
update authors
Feross Aboukhadijeh [Wed, 4 Nov 2020 21:58:43 +0000 (11:58 -1000)]
6.0.1
Feross Aboukhadijeh [Wed, 4 Nov 2020 21:17:24 +0000 (11:17 -1000)]
avoid unnecessary buffer copy
Feross Aboukhadijeh [Wed, 4 Nov 2020 21:13:45 +0000 (11:13 -1000)]
standard
Feross Aboukhadijeh [Wed, 4 Nov 2020 21:13:58 +0000 (22:13 +0100)]
Merge pull request #273 from jkkang-kosac/master
add length check in Buffer.concat
jkkang [Wed, 4 Nov 2020 10:31:35 +0000 (19:31 +0900)]
add length check
Feross Aboukhadijeh [Wed, 4 Nov 2020 09:28:12 +0000 (23:28 -1000)]
update authors
Feross Aboukhadijeh [Wed, 4 Nov 2020 09:28:11 +0000 (23:28 -1000)]
6.0.0
Feross Aboukhadijeh [Wed, 4 Nov 2020 09:14:25 +0000 (23:14 -1000)]
travis: fix configuration
Feross Aboukhadijeh [Wed, 4 Nov 2020 00:25:42 +0000 (14:25 -1000)]
temporarily disable missing safari 14 browser
Feross Aboukhadijeh [Wed, 4 Nov 2020 00:21:35 +0000 (14:21 -1000)]
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
Feross Aboukhadijeh [Wed, 4 Nov 2020 00:19:07 +0000 (14:19 -1000)]
Merge branch 'shuse2-rw-bigint'
Feross Aboukhadijeh [Tue, 3 Nov 2020 23:28:20 +0000 (13:28 -1000)]
handle offset flooring consistently
Feross Aboukhadijeh [Tue, 3 Nov 2020 23:10:35 +0000 (13:10 -1000)]
Merge branch 'rw-bigint' of https://github.com/shuse2/buffer into shuse2-rw-bigint
Feross Aboukhadijeh [Thu, 29 Oct 2020 05:04:55 +0000 (19:04 -1000)]
standard
Feross Aboukhadijeh [Thu, 29 Oct 2020 03:38:37 +0000 (17:38 -1000)]
standard
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:57:54 +0000 (11:57 -1000)]
update authors
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:57:53 +0000 (11:57 -1000)]
5.7.0
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:51:43 +0000 (11:51 -1000)]
Fixes for PR #253 to increase browser compat
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:49:13 +0000 (11:49 -1000)]
standard
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:32:54 +0000 (11:32 -1000)]
standard
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:48:30 +0000 (22:48 +0100)]
Merge pull request #253 from koush/master
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:39:36 +0000 (22:39 +0100)]
Merge pull request #265 from seishun/remove-descending
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:35:58 +0000 (22:35 +0100)]
Merge pull request #250 from roaringUnicorn/master
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:33:31 +0000 (22:33 +0100)]
Merge pull request #270 from mathmakgakpak/patch-1
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:33:18 +0000 (22:33 +0100)]
Merge pull request #269 from peternewman/patch-1
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:30:50 +0000 (11:30 -1000)]
update authors
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:30:50 +0000 (11:30 -1000)]
5.6.2
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:30:49 +0000 (22:30 +0100)]
Merge pull request #254 from ljharb/patch-1
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:26:29 +0000 (14:26 -0700)]
Delete codespell.yml
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:24:09 +0000 (22:24 +0100)]
Merge pull request #266 from gyzerok/patch-1
remove redundant latin1Write function
Feross Aboukhadijeh [Mon, 26 Oct 2020 20:58:03 +0000 (10:58 -1000)]
Update README.md
Feross Aboukhadijeh [Fri, 23 Oct 2020 20:45:58 +0000 (10:45 -1000)]
package metadata
Feross Aboukhadijeh [Fri, 23 Oct 2020 20:45:57 +0000 (10:45 -1000)]
5.6.1
Feross Aboukhadijeh [Fri, 23 Oct 2020 20:39:55 +0000 (10:39 -1000)]
fix tests – use same proto
Feross Aboukhadijeh [Fri, 23 Oct 2020 20:37:19 +0000 (10:37 -1000)]
through2 4
Feross Aboukhadijeh [Fri, 23 Oct 2020 20:36:11 +0000 (10:36 -1000)]
tape 5
Feross Aboukhadijeh [Fri, 23 Oct 2020 20:35:41 +0000 (10:35 -1000)]
browserify 17
Feross Aboukhadijeh [Fri, 23 Oct 2020 20:35:30 +0000 (10:35 -1000)]
bump deps
Feross Aboukhadijeh [Wed, 21 Oct 2020 23:45:51 +0000 (13:45 -1000)]
standard
mathmakgakpak [Sun, 18 Oct 2020 15:28:17 +0000 (17:28 +0200)]
add aliases
Peter Newman [Fri, 7 Aug 2020 11:40:35 +0000 (12:40 +0100)]
Fix another typo
Peter Newman [Fri, 7 Aug 2020 11:39:49 +0000 (12:39 +0100)]
Fix another typo
Peter Newman [Fri, 7 Aug 2020 11:39:12 +0000 (12:39 +0100)]
Fix some typos
Peter Newman [Fri, 7 Aug 2020 11:36:38 +0000 (12:36 +0100)]
Add codespell action
shuse2 [Sun, 21 Jun 2020 11:25:47 +0000 (13:25 +0200)]
:white_check_mark: Update assertion method to capture error
Fedor Nezhivoi [Sat, 20 Jun 2020 01:25:32 +0000 (11:25 +1000)]
remove redundant latin1Write function
Nikolai Vavilov [Fri, 1 May 2020 18:14:40 +0000 (21:14 +0300)]
Remove descending copy from end
Uint8Array.prototype.set handles overlapping ranges on its own.
Feross Aboukhadijeh [Wed, 15 Apr 2020 00:02:19 +0000 (17:02 -0700)]
5.6.0
Feross Aboukhadijeh [Tue, 14 Apr 2020 23:54:17 +0000 (16:54 -0700)]
Merge pull request #263 from feross/remove-species
Remove unneeded Symbol.species code
Feross Aboukhadijeh [Tue, 14 Apr 2020 22:29:46 +0000 (15:29 -0700)]
Remove unneeded Symbol.species code
We now handle calls like:
new Buffer(arraybuffer, 2, 8) so there's no need for this workaround originally implemented in: https://github.com/feross/buffer/pull/97
More info: https://bugs.chromium.org/p/v8/issues/detail?id=4665#c4
Fixes #260. Supersedes #261
Feross Aboukhadijeh [Fri, 6 Mar 2020 19:55:36 +0000 (11:55 -0800)]
update authors
Feross Aboukhadijeh [Fri, 6 Mar 2020 19:55:36 +0000 (11:55 -0800)]
5.5.0
Feross Aboukhadijeh [Fri, 6 Mar 2020 19:49:35 +0000 (11:49 -0800)]
add back support for browsers without SharedArrayBuffer
SharedArrayBuffer support originally added in https://github.com/feross/buffer/pull/259
Feross Aboukhadijeh [Fri, 6 Mar 2020 19:30:53 +0000 (11:30 -0800)]
Merge pull request #257 from feross/greenkeeper/airtap-3.0.0
Update airtap to the latest version 🚀
Feross Aboukhadijeh [Fri, 6 Mar 2020 19:26:20 +0000 (11:26 -0800)]
Merge pull request #259 from mischnic/sharedarraybuffer
Fix Buffer.from for SharedArrayBuffer
Niklas Mischkulnig [Tue, 25 Feb 2020 14:01:34 +0000 (15:01 +0100)]
Fix Buffer.from for SharedArrayBuffer
greenkeeper[bot] [Fri, 17 Jan 2020 10:48:09 +0000 (10:48 +0000)]
chore(package): update airtap to version 3.0.0
Koushik Dutta [Wed, 8 Jan 2020 21:27:39 +0000 (13:27 -0800)]
Add fast path for Buffer.concat with Uint8Array.
Previous implementation would copy the Uint8Array into a new Buffer object,
and then concatenate it. It is faster to use the Uint8Array.set (which Buffer.copy
uses internally) anyways.
Jordan Harband [Fri, 20 Dec 2019 07:13:14 +0000 (23:13 -0800)]
[Fix] `Symbol.for` is a syntax error in older browsers
For example, Opera 10.6.
Introduced when fixing #241.
Koushik Dutta [Sat, 7 Dec 2019 00:28:35 +0000 (16:28 -0800)]
Add fromArrayView for TypedArrays and DataViews. Fast path for Uint8Array.
clement [Thu, 24 Oct 2019 14:22:55 +0000 (16:22 +0200)]
If bytes.length is odd, the last 8 bits must be ignored (same as node.js)
Feross Aboukhadijeh [Thu, 17 Oct 2019 03:16:22 +0000 (20:16 -0700)]
Add enterprise language (#249)
Add enterprise language
Blaine Bublitz [Thu, 17 Oct 2019 03:12:02 +0000 (21:12 -0600)]
Add enterprise language
Feross Aboukhadijeh [Thu, 3 Oct 2019 00:22:38 +0000 (17:22 -0700)]
Update README.md
Kirill Fomichev [Thu, 19 Sep 2019 15:03:03 +0000 (18:03 +0300)]
add rw BigInt64 methods
Feross Aboukhadijeh [Thu, 12 Sep 2019 02:55:19 +0000 (19:55 -0700)]
5.4.3
Feross Aboukhadijeh [Thu, 12 Sep 2019 02:46:06 +0000 (19:46 -0700)]
Use lookup table for faster hex encoding (#245)
Use lookup table for faster hex encoding
Kirill Fomichev [Wed, 11 Sep 2019 20:31:07 +0000 (23:31 +0300)]
fix variable name for hexSlice
Kirill Fomichev [Wed, 11 Sep 2019 15:58:51 +0000 (18:58 +0300)]
Use lookup table for faster hex encoding
Lookup table faster ~9-12 times than toString('hex') for each byte.
See https://github.com/feross/buffer/issues/219
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:48:55 +0000 (14:48 -0700)]
5.4.2
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:42:50 +0000 (14:42 -0700)]
Cordova support: Check for existence of Symbol.for
Fixes: https://github.com/feross/buffer/issues/241
See: https://github.com/feross/buffer/pull/204#issuecomment-
520986017
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:35:15 +0000 (14:35 -0700)]
update authors
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:35:14 +0000 (14:35 -0700)]
5.4.1
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:28:19 +0000 (14:28 -0700)]
Merge pull request #242 from ukstv/master
Add reverse() method, and allow Buffer.from(Uint8Array)
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:23:29 +0000 (14:23 -0700)]
Merge pull request #243 from geastwood/fill-boolean
Boolean as fill using Buffer.alloc
Fei Liu [Tue, 27 Aug 2019 15:46:39 +0000 (17:46 +0200)]
Boolean as fill using Buffer.alloc
Sergey Ukustov [Tue, 27 Aug 2019 12:50:41 +0000 (16:50 +0400)]
Add reverse() method, and allow Buffer.from(Uint8Array)
Feross Aboukhadijeh [Tue, 20 Aug 2019 02:09:59 +0000 (19:09 -0700)]
add security reporting link
Feross Aboukhadijeh [Tue, 13 Aug 2019 20:23:46 +0000 (13:23 -0700)]
update authors
Feross Aboukhadijeh [Tue, 13 Aug 2019 20:23:45 +0000 (13:23 -0700)]
5.4.0
Feross Aboukhadijeh [Tue, 13 Aug 2019 19:55:45 +0000 (12:55 -0700)]
Merge pull request #204 from goto-bus-stop/inspect-symbol
Use `util.inspect.custom` symbol if available.
Renée Kooi [Tue, 13 Aug 2019 08:27:57 +0000 (10:27 +0200)]
Use nodejs.util.inspect.custom symbol
Renée Kooi [Tue, 13 Aug 2019 08:24:49 +0000 (10:24 +0200)]
Merge branch 'master' into inspect-symbol
Feross Aboukhadijeh [Tue, 13 Aug 2019 07:05:56 +0000 (00:05 -0700)]
add missing `new`
Feross Aboukhadijeh [Mon, 12 Aug 2019 02:14:00 +0000 (19:14 -0700)]
update authors
Feross Aboukhadijeh [Mon, 12 Aug 2019 02:13:59 +0000 (19:13 -0700)]
5.3.0
Feross Aboukhadijeh [Mon, 12 Aug 2019 02:06:41 +0000 (19:06 -0700)]
Merge pull request #238 from kumavis/master
use "Object.setPrototypeOf" instead of "__proto__"
kumavis [Sun, 11 Aug 2019 23:22:37 +0000 (07:22 +0800)]
use Object.setPrototypeOf instead of __proto__
Feross Aboukhadijeh [Mon, 5 Aug 2019 23:06:24 +0000 (16:06 -0700)]
Update FUNDING.yml
Feross Aboukhadijeh [Fri, 12 Jul 2019 18:09:48 +0000 (11:09 -0700)]
Merge pull request #234 from feross/greenkeeper/airtap-2.0.3
Update airtap to the latest version 🚀
Feross Aboukhadijeh [Fri, 12 Jul 2019 18:09:04 +0000 (11:09 -0700)]
Update package.json
greenkeeper[bot] [Fri, 12 Jul 2019 10:02:59 +0000 (10:02 +0000)]
chore(package): update airtap to version 2.0.3
Feross Aboukhadijeh [Thu, 11 Jul 2019 20:26:48 +0000 (13:26 -0700)]
Update README.md
Feross Aboukhadijeh [Thu, 11 Jul 2019 20:19:40 +0000 (13:19 -0700)]
fix standalone link
Feross Aboukhadijeh [Fri, 5 Jul 2019 21:44:28 +0000 (14:44 -0700)]
standard
Feross Aboukhadijeh [Fri, 5 Jul 2019 18:04:40 +0000 (11:04 -0700)]
Merge pull request #231 from feross/greenkeeper/airtap-2.0.2
chore(package): update airtap to version 2.0.2
Feross Aboukhadijeh [Fri, 5 Jul 2019 18:04:35 +0000 (11:04 -0700)]
Merge pull request #232 from feross/greenkeeper/through2-3.0.1
chore(package): update through2 to version 3.0.1
Feross Aboukhadijeh [Fri, 5 Jul 2019 17:49:24 +0000 (10:49 -0700)]
Merge pull request #225 from feross/greenkeeper/concat-stream-2.0.0
Update concat-stream to the latest version 🚀