]> zoso.dev Git - buffer.git/log
buffer.git
4 years agoDelete codespell.yml
Feross Aboukhadijeh [Tue, 27 Oct 2020 21:26:29 +0000 (14:26 -0700)]
Delete codespell.yml

4 years agoFix another typo
Peter Newman [Fri, 7 Aug 2020 11:40:35 +0000 (12:40 +0100)]
Fix another typo

4 years agoFix another typo
Peter Newman [Fri, 7 Aug 2020 11:39:49 +0000 (12:39 +0100)]
Fix another typo

4 years agoFix some typos
Peter Newman [Fri, 7 Aug 2020 11:39:12 +0000 (12:39 +0100)]
Fix some typos

4 years agoAdd codespell action
Peter Newman [Fri, 7 Aug 2020 11:36:38 +0000 (12:36 +0100)]
Add codespell action

4 years ago5.6.0
Feross Aboukhadijeh [Wed, 15 Apr 2020 00:02:19 +0000 (17:02 -0700)]
5.6.0

4 years agoMerge pull request #263 from feross/remove-species
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

4 years agoRemove 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

4 years agoupdate authors
Feross Aboukhadijeh [Fri, 6 Mar 2020 19:55:36 +0000 (11:55 -0800)]
update authors

4 years ago5.5.0
Feross Aboukhadijeh [Fri, 6 Mar 2020 19:55:36 +0000 (11:55 -0800)]
5.5.0

4 years agoadd back support for browsers without SharedArrayBuffer
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

4 years agoMerge pull request #257 from feross/greenkeeper/airtap-3.0.0
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 πŸš€

4 years agoMerge pull request #259 from mischnic/sharedarraybuffer
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

4 years agoFix Buffer.from for SharedArrayBuffer
Niklas Mischkulnig [Tue, 25 Feb 2020 14:01:34 +0000 (15:01 +0100)]
Fix Buffer.from for SharedArrayBuffer

4 years agochore(package): update airtap to version 3.0.0
greenkeeper[bot] [Fri, 17 Jan 2020 10:48:09 +0000 (10:48 +0000)]
chore(package): update airtap to version 3.0.0

5 years agoAdd enterprise language (#249)
Feross Aboukhadijeh [Thu, 17 Oct 2019 03:16:22 +0000 (20:16 -0700)]
Add enterprise language (#249)

Add enterprise language

5 years agoAdd enterprise language
Blaine Bublitz [Thu, 17 Oct 2019 03:12:02 +0000 (21:12 -0600)]
Add enterprise language

5 years agoUpdate README.md
Feross Aboukhadijeh [Thu, 3 Oct 2019 00:22:38 +0000 (17:22 -0700)]
Update README.md

5 years ago5.4.3
Feross Aboukhadijeh [Thu, 12 Sep 2019 02:55:19 +0000 (19:55 -0700)]
5.4.3

5 years agoUse lookup table for faster hex encoding (#245)
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

5 years agofix variable name for hexSlice
Kirill Fomichev [Wed, 11 Sep 2019 20:31:07 +0000 (23:31 +0300)]
fix variable name for hexSlice

5 years agoUse lookup table for faster hex encoding
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

5 years ago5.4.2
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:48:55 +0000 (14:48 -0700)]
5.4.2

5 years agoCordova support: Check for existence of Symbol.for
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

5 years agoupdate authors
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:35:15 +0000 (14:35 -0700)]
update authors

5 years ago5.4.1
Feross Aboukhadijeh [Tue, 27 Aug 2019 21:35:14 +0000 (14:35 -0700)]
5.4.1

5 years agoMerge pull request #242 from ukstv/master
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)

5 years agoMerge pull request #243 from geastwood/fill-boolean
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

5 years agoBoolean as fill using Buffer.alloc
Fei Liu [Tue, 27 Aug 2019 15:46:39 +0000 (17:46 +0200)]
Boolean as fill using Buffer.alloc

5 years agoAdd reverse() method, and allow Buffer.from(Uint8Array)
Sergey Ukustov [Tue, 27 Aug 2019 12:50:41 +0000 (16:50 +0400)]
Add reverse() method, and allow Buffer.from(Uint8Array)

5 years agoadd security reporting link
Feross Aboukhadijeh [Tue, 20 Aug 2019 02:09:59 +0000 (19:09 -0700)]
add security reporting link

5 years agoupdate authors
Feross Aboukhadijeh [Tue, 13 Aug 2019 20:23:46 +0000 (13:23 -0700)]
update authors

5 years ago5.4.0
Feross Aboukhadijeh [Tue, 13 Aug 2019 20:23:45 +0000 (13:23 -0700)]
5.4.0

5 years agoMerge pull request #204 from goto-bus-stop/inspect-symbol
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.

5 years agoUse nodejs.util.inspect.custom symbol
RenΓ©e Kooi [Tue, 13 Aug 2019 08:27:57 +0000 (10:27 +0200)]
Use nodejs.util.inspect.custom symbol

5 years agoMerge branch 'master' into inspect-symbol
RenΓ©e Kooi [Tue, 13 Aug 2019 08:24:49 +0000 (10:24 +0200)]
Merge branch 'master' into inspect-symbol

5 years agoadd missing `new`
Feross Aboukhadijeh [Tue, 13 Aug 2019 07:05:56 +0000 (00:05 -0700)]
add missing `new`

5 years agoupdate authors
Feross Aboukhadijeh [Mon, 12 Aug 2019 02:14:00 +0000 (19:14 -0700)]
update authors

5 years ago5.3.0
Feross Aboukhadijeh [Mon, 12 Aug 2019 02:13:59 +0000 (19:13 -0700)]
5.3.0

5 years agoMerge pull request #238 from kumavis/master
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__"

5 years agouse Object.setPrototypeOf instead of __proto__
kumavis [Sun, 11 Aug 2019 23:22:37 +0000 (07:22 +0800)]
use Object.setPrototypeOf instead of __proto__

5 years agoUpdate FUNDING.yml
Feross Aboukhadijeh [Mon, 5 Aug 2019 23:06:24 +0000 (16:06 -0700)]
Update FUNDING.yml

5 years agoMerge pull request #234 from feross/greenkeeper/airtap-2.0.3
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 πŸš€

5 years agoUpdate package.json
Feross Aboukhadijeh [Fri, 12 Jul 2019 18:09:04 +0000 (11:09 -0700)]
Update package.json

5 years agochore(package): update airtap to version 2.0.3
greenkeeper[bot] [Fri, 12 Jul 2019 10:02:59 +0000 (10:02 +0000)]
chore(package): update airtap to version 2.0.3

5 years agoUpdate README.md
Feross Aboukhadijeh [Thu, 11 Jul 2019 20:26:48 +0000 (13:26 -0700)]
Update README.md

5 years agofix standalone link
Feross Aboukhadijeh [Thu, 11 Jul 2019 20:19:40 +0000 (13:19 -0700)]
fix standalone link

5 years agostandard
Feross Aboukhadijeh [Fri, 5 Jul 2019 21:44:28 +0000 (14:44 -0700)]
standard

5 years agoMerge pull request #231 from feross/greenkeeper/airtap-2.0.2
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

5 years agoMerge pull request #232 from feross/greenkeeper/through2-3.0.1
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

5 years agoMerge pull request #225 from feross/greenkeeper/concat-stream-2.0.0
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 πŸš€

5 years agoUpdate FUNDING.yml
Feross Aboukhadijeh [Fri, 5 Jul 2019 17:45:30 +0000 (10:45 -0700)]
Update FUNDING.yml

5 years agoadd FUNDING.yml
Feross Aboukhadijeh [Fri, 5 Jul 2019 17:44:58 +0000 (10:44 -0700)]
add FUNDING.yml

5 years agoadd tidelift link
Feross Aboukhadijeh [Tue, 26 Mar 2019 05:14:42 +0000 (22:14 -0700)]
add tidelift link

5 years agochore(package): update through2 to version 3.0.1
greenkeeper[bot] [Fri, 1 Mar 2019 00:56:20 +0000 (00:56 +0000)]
chore(package): update through2 to version 3.0.1

Closes #220

5 years agochore(package): update airtap to version 2.0.2
greenkeeper[bot] [Sat, 23 Feb 2019 09:37:04 +0000 (09:37 +0000)]
chore(package): update airtap to version 2.0.2

Closes #226

5 years agochore(package): update concat-stream to version 2.0.0
greenkeeper[bot] [Fri, 21 Dec 2018 15:44:09 +0000 (15:44 +0000)]
chore(package): update concat-stream to version 2.0.0

6 years agoauthors
Feross Aboukhadijeh [Thu, 30 Aug 2018 21:45:07 +0000 (14:45 -0700)]
authors

6 years ago5.2.1
Feross Aboukhadijeh [Thu, 30 Aug 2018 21:41:57 +0000 (14:41 -0700)]
5.2.1

6 years agoMerge pull request #214 from borovik96/types-declaration-#213
Feross Aboukhadijeh [Thu, 30 Aug 2018 21:35:23 +0000 (14:35 -0700)]
Merge pull request #214 from borovik96/types-declaration-#213

fixed types declaration #213

6 years agostandard
Feross Aboukhadijeh [Wed, 29 Aug 2018 02:41:26 +0000 (19:41 -0700)]
standard

6 years agofixed types declaration #213
Vladimir Borovik [Fri, 3 Aug 2018 10:13:01 +0000 (13:13 +0300)]
fixed types declaration #213

6 years agoMerge pull request #212 from feross/greenkeeper/uglify-js-3.4.5
Feross Aboukhadijeh [Fri, 27 Jul 2018 07:59:08 +0000 (00:59 -0700)]
Merge pull request #212 from feross/greenkeeper/uglify-js-3.4.5

chore(package): update uglify-js to version 3.4.5

6 years agoauthors
Feross Aboukhadijeh [Fri, 27 Jul 2018 07:16:37 +0000 (00:16 -0700)]
authors

6 years ago5.2.0
Feross Aboukhadijeh [Fri, 27 Jul 2018 07:05:55 +0000 (00:05 -0700)]
5.2.0

6 years agonpmignore
Feross Aboukhadijeh [Fri, 27 Jul 2018 06:39:28 +0000 (23:39 -0700)]
npmignore

6 years agoMerge pull request #211 from feross/greenkeeper/airtap-0.1.0
Feross Aboukhadijeh [Fri, 27 Jul 2018 06:58:56 +0000 (23:58 -0700)]
Merge pull request #211 from feross/greenkeeper/airtap-0.1.0

chore(package): update airtap to version 0.1.0

6 years agoMerge pull request #210 from ranbochen/patch-1
Feross Aboukhadijeh [Fri, 27 Jul 2018 06:35:52 +0000 (23:35 -0700)]
Merge pull request #210 from ranbochen/patch-1

Update index.d.ts

6 years agoUpdate index.d.ts
ranbochen [Thu, 26 Jul 2018 13:20:10 +0000 (21:20 +0800)]
Update index.d.ts

Buffer is a subclass of Uint8Array

6 years agochore(package): update uglify-js to version 3.4.5
greenkeeper[bot] [Tue, 17 Jul 2018 08:47:49 +0000 (08:47 +0000)]
chore(package): update uglify-js to version 3.4.5

6 years agochore(package): update airtap to version 0.1.0
greenkeeper[bot] [Sat, 7 Jul 2018 09:30:17 +0000 (09:30 +0000)]
chore(package): update airtap to version 0.1.0

Closes #205

6 years agoReset INSPECT_MAX_BYTES after buffer-inspect test.
RenΓ©e Kooi [Wed, 20 Jun 2018 12:05:19 +0000 (14:05 +0200)]
Reset INSPECT_MAX_BYTES after buffer-inspect test.

6 years agoUse `util.inspect.custom` symbol if available.
RenΓ©e Kooi [Wed, 20 Jun 2018 11:38:45 +0000 (13:38 +0200)]
Use `util.inspect.custom` symbol if available.

Ports the `buffer-inspect` test from Node core.
Adds a `Buffer.prototype[util.inspect.custom]` method, which is an alias
to `Buffer.prototype.inspect`. Node already doesn't have an `.inspect`
method on Buffers anymore, but since this module has to work in browsers
that do not have Symbols, it seems better to keep it around.

In Node, this will use the builtin `util.inspect.custom` symbol. In the
browser, it will use `Symbol.for('util.inspect.custom')`. The browser
version of `util` will also use the `inspect-custom-symbol` module in
the near future.

If https://github.com/nodejs/node/pull/20857 gets merged,
`Symbol.for('util.inspect.custom')` will be used everywhere and the
dependency on `inspect-custom-symbol` could probably be dropped.

The motivation for this is API parity and the fact that Node is
removing support for the old `.inspect` method:
https://github.com/nodejs/node/pull/20722

6 years agoMerge pull request #200 from feross/greenkeeper/airtap-0.0.7
Feross Aboukhadijeh [Sat, 9 Jun 2018 23:29:53 +0000 (16:29 -0700)]
Merge pull request #200 from feross/greenkeeper/airtap-0.0.7

chore(package): update airtap to version 0.0.7

6 years agochore(package): update airtap to version 0.0.7
greenkeeper[bot] [Fri, 25 May 2018 11:32:27 +0000 (11:32 +0000)]
chore(package): update airtap to version 0.0.7

Closes #199

6 years agoMerge pull request #195 from feross/greenkeeper/airtap-0.0.5
Feross Aboukhadijeh [Thu, 10 May 2018 00:11:56 +0000 (17:11 -0700)]
Merge pull request #195 from feross/greenkeeper/airtap-0.0.5

Update airtap to the latest version πŸš€

6 years agochore(package): update airtap to version 0.0.5
greenkeeper[bot] [Sun, 6 May 2018 11:36:22 +0000 (11:36 +0000)]
chore(package): update airtap to version 0.0.5

6 years agostyle
Feross Aboukhadijeh [Sat, 28 Apr 2018 00:14:18 +0000 (17:14 -0700)]
style

6 years agoMerge pull request #194 from machinomy/master
Feross Aboukhadijeh [Sat, 28 Apr 2018 00:04:21 +0000 (02:04 +0200)]
Merge pull request #194 from machinomy/master

Add TypeScript declaration file

6 years agoAdd TypeScript declaration file
ukstv [Fri, 27 Apr 2018 10:48:46 +0000 (12:48 +0200)]
Add TypeScript declaration file

6 years agoairtap@0.0.4
Feross Aboukhadijeh [Sat, 17 Mar 2018 11:18:59 +0000 (13:18 +0200)]
airtap@0.0.4

6 years agoMerge pull request #188 from feross/greenkeeper/initial
Feross Aboukhadijeh [Thu, 8 Mar 2018 19:44:37 +0000 (11:44 -0800)]
Merge pull request #188 from feross/greenkeeper/initial

Update dependencies to enable Greenkeeper πŸŒ΄

6 years agoremove greenkeeper badge
Feross Aboukhadijeh [Thu, 8 Mar 2018 19:36:33 +0000 (11:36 -0800)]
remove greenkeeper badge

6 years agoMerge pull request #191 from feross/airtap-test
Feross Aboukhadijeh [Fri, 2 Mar 2018 20:54:30 +0000 (12:54 -0800)]
Merge pull request #191 from feross/airtap-test

airtap: always run browser test

6 years agoairtap: always run browser test
Feross Aboukhadijeh [Fri, 2 Mar 2018 20:43:06 +0000 (12:43 -0800)]
airtap: always run browser test

Rely on airtap to automatically skip browser tests when Travis secure variables are not available (in PRs)

6 years agouglify-js@3
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:44:54 +0000 (17:44 -0800)]
uglify-js@3

6 years agodocs(readme): add Greenkeeper badge
greenkeeper[bot] [Fri, 23 Feb 2018 01:44:32 +0000 (01:44 +0000)]
docs(readme): add Greenkeeper badge

6 years agochore(package): update dependencies
greenkeeper[bot] [Fri, 23 Feb 2018 01:44:29 +0000 (01:44 +0000)]
chore(package): update dependencies

6 years agoairtap@0.0.2
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:44:25 +0000 (17:44 -0800)]
airtap@0.0.2

6 years agobrowserify@16
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:44:17 +0000 (17:44 -0800)]
browserify@16

6 years agois-buffer@2
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:41:45 +0000 (17:41 -0800)]
is-buffer@2

6 years agoMerge pull request #186 from ChALkeR/patch-1
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:41:11 +0000 (17:41 -0800)]
Merge pull request #186 from ChALkeR/patch-1

new Buffer -> Buffer.from

6 years agonew Buffer -> Buffer.from
Π‘ΠΊΠΎΠ²ΠΎΡ€ΠΎΠ΄Π° Никита АндрССвич [Thu, 22 Feb 2018 16:29:45 +0000 (19:29 +0300)]
new Buffer -> Buffer.from

This is benign due to the module nature, but just for consistency.

6 years agoMerge pull request #185 from feross/airtap
Feross Aboukhadijeh [Wed, 21 Feb 2018 18:48:12 +0000 (10:48 -0800)]
Merge pull request #185 from feross/airtap

Replace zuul with airtap

6 years agozuul -> airtap
Feross Aboukhadijeh [Wed, 21 Feb 2018 18:41:23 +0000 (10:41 -0800)]
zuul -> airtap

6 years agostandard
Feross Aboukhadijeh [Sun, 18 Feb 2018 01:17:09 +0000 (17:17 -0800)]
standard

6 years agotest on node lts
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:42:12 +0000 (01:42 -0800)]
test on node lts

6 years agoremove stray const for Safari 9 support
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:32:28 +0000 (01:32 -0800)]
remove stray const for Safari 9 support

6 years agoFix isInstance() in IE11
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:27:35 +0000 (01:27 -0800)]
Fix isInstance() in IE11

Confirm that function.name is not undefined

6 years agoSkip destructive test-buffer-inspect.js test
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:12:49 +0000 (01:12 -0800)]
Skip destructive test-buffer-inspect.js test