]>
zoso.dev Git - buffer.git/log
Chris Duncan [Wed, 20 Nov 2024 18:41:07 +0000 (10:41 -0800)]
Package lockfile does not appear in original repo, so add it to gitignore so it stops popping up when dependencies are installed or updated.
Chris Duncan [Wed, 20 Nov 2024 16:48:36 +0000 (08:48 -0800)]
Add Linux-compatible 'open' command to perf script.
Chris Duncan [Wed, 20 Nov 2024 16:46:34 +0000 (08:46 -0800)]
Update airtap dependency.
Chris Duncan [Thu, 7 Nov 2024 22:43:59 +0000 (14:43 -0800)]
Register lowercase buffer instead of Buffer for a little more consistency with original module.
Chris Duncan [Thu, 7 Nov 2024 22:35:30 +0000 (14:35 -0800)]
Register Buffer to IIFE global namespace.
Chris Duncan [Thu, 7 Nov 2024 22:29:24 +0000 (14:29 -0800)]
Build minified CJS, ESM, and IIFE bundles with esbuild.
Chris Duncan [Thu, 7 Nov 2024 21:08:28 +0000 (13:08 -0800)]
Update dependencies.
Chris Duncan [Thu, 7 Nov 2024 20:45:58 +0000 (12:45 -0800)]
Update license header.
Chris Duncan [Thu, 7 Nov 2024 20:37:31 +0000 (12:37 -0800)]
Remove line breaks in MIT license.
Chris Duncan [Thu, 7 Nov 2024 20:34:08 +0000 (12:34 -0800)]
Move licenses into REUSE-compliant folder.
Christopher Jeffrey (JJ) [Sat, 2 Mar 2024 04:28:05 +0000 (23:28 -0500)]
Add node.js attribution to LICENSE (#355)
Christopher Jeffrey (JJ) [Fri, 1 Mar 2024 12:14:42 +0000 (07:14 -0500)]
Remove `global` accesses. See #347 (#354)
Christopher Jeffrey (JJ) [Thu, 8 Feb 2024 01:09:59 +0000 (20:09 -0500)]
Fix issues surrounding type checking for Uint8Arrays and Buffers (#346)
Christopher Jeffrey (JJ) [Mon, 5 Feb 2024 06:12:57 +0000 (01:12 -0500)]
Remove class syntax for better babelification (#345)
Christopher Jeffrey (JJ) [Mon, 5 Feb 2024 03:16:47 +0000 (22:16 -0500)]
Export missing globals for compat (#347)
Christopher Jeffrey (JJ) [Sun, 4 Feb 2024 23:46:28 +0000 (18:46 -0500)]
Remove dead ._arr code (#350)
Christopher Jeffrey (JJ) [Thu, 1 Feb 2024 00:54:40 +0000 (19:54 -0500)]
Optimize hexWrite with an array lookup table (#343)
Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com>
Linus Unnebäck [Tue, 23 Jan 2024 11:06:40 +0000 (12:06 +0100)]
Fix failing tests for #303 (unreleased) (#341)
Daniel Cousens [Tue, 23 Jan 2024 10:54:53 +0000 (21:54 +1100)]
add standard script
Daniel Cousens [Tue, 23 Jan 2024 10:52:13 +0000 (21:52 +1100)]
Remove standard from tests, prefer node testing for first-pass CI (#332)
Linus Unnebäck [Tue, 23 Jan 2024 10:47:31 +0000 (11:47 +0100)]
Fix linting errors (#340)
Daniel Cousens [Sat, 14 Oct 2023 01:40:22 +0000 (12:40 +1100)]
Apply patches from #280 and #281 (#334)
Co-authored-by: Andreas Thomas <dev@chronark.com>
Jonathan Underwood [Wed, 11 Oct 2023 04:45:05 +0000 (21:45 -0700)]
Fix fromHex invalid hex behavior (#303)
Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com>
Patrick McAndrew [Sun, 8 Oct 2023 12:12:18 +0000 (13:12 +0100)]
add missing Buffer constants (#312)
Rachel Simone Weil [Sun, 8 Oct 2023 02:30:12 +0000 (21:30 -0500)]
Updates README.md with more inclusive language (#288)
This change replaces "a sanity check" with "an additional check."
Justification:
> The phrase sanity check is ableist, and unnecessarily references mental health in our code bases. It denotes that people with mental illnesses are inferior, wrong, or incorrect, and the phrase sanity continues to be used by employers and other individuals to discriminate against these people.
Via [Ableist language](https://gist.github.com/seanmhanson/
fe370c2d8bd2b3228680e38899baf5cc #:~:text=The%20phrase%20sanity%20check%20is,to%20discriminate%20against%20these%20people.)
See also: [Google developer documentation style guide: Writing inclusive documentation](https://developers.google.com/style/inclusive-documentation)
Dominik Moritz [Sun, 8 Oct 2023 02:29:46 +0000 (22:29 -0400)]
Fix typo (#295)
Bradley Odell [Sun, 8 Oct 2023 02:29:34 +0000 (19:29 -0700)]
Redefined subarray in index.d.ts to return Buffer (#298)
André Werlang [Sun, 8 Oct 2023 02:28:10 +0000 (23:28 -0300)]
Update README notice about node.js compatibility (#327)
Daniel Cousens [Sun, 8 Oct 2023 02:27:44 +0000 (13:27 +1100)]
Add node verisons 16, 18 and 20 (#331)
Feross Aboukhadijeh [Thu, 11 Feb 2021 18:10:47 +0000 (10:10 -0800)]
readme
Feross Aboukhadijeh [Thu, 11 Feb 2021 03:36:01 +0000 (19:36 -0800)]
remove travis; add github actions
Feross Aboukhadijeh [Thu, 11 Feb 2021 03:32:36 +0000 (19:32 -0800)]
small perf improvement
Feross Aboukhadijeh [Mon, 23 Nov 2020 02:51:19 +0000 (16:51 -1000)]
update authors
Feross Aboukhadijeh [Mon, 23 Nov 2020 02:51:19 +0000 (16:51 -1000)]
6.0.3
Feross Aboukhadijeh [Mon, 23 Nov 2020 02:45:12 +0000 (03:45 +0100)]
Merge pull request #277 from martinheidegger/patch-1
Types: Using Uint8Array instead of Buffer
Martin Heidegger [Sat, 21 Nov 2020 02:05:07 +0000 (11:05 +0900)]
Types: Using Uint8Array instead of Buffer
The API supports at various places to use Uint8Arrays to be used instead of Buffers. This PR loosens the type restrictions on a few instances where I noticed that an Uint8Array would suffice.
Feross Aboukhadijeh [Mon, 9 Nov 2020 22:04:31 +0000 (12:04 -1000)]
update authors
Feross Aboukhadijeh [Mon, 9 Nov 2020 22:04:31 +0000 (12:04 -1000)]
6.0.2
Feross Aboukhadijeh [Mon, 9 Nov 2020 20:54:14 +0000 (21:54 +0100)]
Merge pull request #274 from deklanw/master
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.