]>
zoso.dev Git - buffer.git/log
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 🚀
Feross Aboukhadijeh [Fri, 5 Jul 2019 17:45:30 +0000 (10:45 -0700)]
Update FUNDING.yml
Feross Aboukhadijeh [Fri, 5 Jul 2019 17:44:58 +0000 (10:44 -0700)]
add FUNDING.yml
Feross Aboukhadijeh [Tue, 26 Mar 2019 05:14:42 +0000 (22:14 -0700)]
add tidelift link
greenkeeper[bot] [Fri, 1 Mar 2019 00:56:20 +0000 (00:56 +0000)]
chore(package): update through2 to version 3.0.1
Closes #220
greenkeeper[bot] [Sat, 23 Feb 2019 09:37:04 +0000 (09:37 +0000)]
chore(package): update airtap to version 2.0.2
Closes #226
greenkeeper[bot] [Fri, 21 Dec 2018 15:44:09 +0000 (15:44 +0000)]
chore(package): update concat-stream to version 2.0.0
Feross Aboukhadijeh [Thu, 30 Aug 2018 21:45:07 +0000 (14:45 -0700)]
authors
Feross Aboukhadijeh [Thu, 30 Aug 2018 21:41:57 +0000 (14:41 -0700)]
5.2.1
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
Feross Aboukhadijeh [Wed, 29 Aug 2018 02:41:26 +0000 (19:41 -0700)]
standard
Vladimir Borovik [Fri, 3 Aug 2018 10:13:01 +0000 (13:13 +0300)]
fixed types declaration #213
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
Feross Aboukhadijeh [Fri, 27 Jul 2018 07:16:37 +0000 (00:16 -0700)]
authors
Feross Aboukhadijeh [Fri, 27 Jul 2018 07:05:55 +0000 (00:05 -0700)]
5.2.0
Feross Aboukhadijeh [Fri, 27 Jul 2018 06:39:28 +0000 (23:39 -0700)]
npmignore
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
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
ranbochen [Thu, 26 Jul 2018 13:20:10 +0000 (21:20 +0800)]
Update index.d.ts
Buffer is a subclass of Uint8Array
greenkeeper[bot] [Tue, 17 Jul 2018 08:47:49 +0000 (08:47 +0000)]
chore(package): update uglify-js to version 3.4.5
greenkeeper[bot] [Sat, 7 Jul 2018 09:30:17 +0000 (09:30 +0000)]
chore(package): update airtap to version 0.1.0
Closes #205
Renée Kooi [Wed, 20 Jun 2018 12:05:19 +0000 (14:05 +0200)]
Reset INSPECT_MAX_BYTES after buffer-inspect test.
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
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
greenkeeper[bot] [Fri, 25 May 2018 11:32:27 +0000 (11:32 +0000)]
chore(package): update airtap to version 0.0.7
Closes #199
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 🚀
greenkeeper[bot] [Sun, 6 May 2018 11:36:22 +0000 (11:36 +0000)]
chore(package): update airtap to version 0.0.5
Feross Aboukhadijeh [Sat, 28 Apr 2018 00:14:18 +0000 (17:14 -0700)]
style
Feross Aboukhadijeh [Sat, 28 Apr 2018 00:04:21 +0000 (02:04 +0200)]
Merge pull request #194 from machinomy/master
Add TypeScript declaration file
ukstv [Fri, 27 Apr 2018 10:48:46 +0000 (12:48 +0200)]
Add TypeScript declaration file
Feross Aboukhadijeh [Sat, 17 Mar 2018 11:18:59 +0000 (13:18 +0200)]
airtap@0.0.4
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 🌴
Feross Aboukhadijeh [Thu, 8 Mar 2018 19:36:33 +0000 (11:36 -0800)]
remove greenkeeper badge
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
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)
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:44:54 +0000 (17:44 -0800)]
uglify-js@3
greenkeeper[bot] [Fri, 23 Feb 2018 01:44:32 +0000 (01:44 +0000)]
docs(readme): add Greenkeeper badge
greenkeeper[bot] [Fri, 23 Feb 2018 01:44:29 +0000 (01:44 +0000)]
chore(package): update dependencies
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:44:25 +0000 (17:44 -0800)]
airtap@0.0.2
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:44:17 +0000 (17:44 -0800)]
browserify@16
Feross Aboukhadijeh [Fri, 23 Feb 2018 01:41:45 +0000 (17:41 -0800)]
is-buffer@2
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
Сковорода Никита Андреевич [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.
Feross Aboukhadijeh [Wed, 21 Feb 2018 18:48:12 +0000 (10:48 -0800)]
Merge pull request #185 from feross/airtap
Replace zuul with airtap
Feross Aboukhadijeh [Wed, 21 Feb 2018 18:41:23 +0000 (10:41 -0800)]
zuul -> airtap
Feross Aboukhadijeh [Sun, 18 Feb 2018 01:17:09 +0000 (17:17 -0800)]
standard
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:42:12 +0000 (01:42 -0800)]
test on node lts
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:32:28 +0000 (01:32 -0800)]
remove stray const for Safari 9 support
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:27:35 +0000 (01:27 -0800)]
Fix isInstance() in IE11
Confirm that function.name is not undefined
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:12:49 +0000 (01:12 -0800)]
Skip destructive test-buffer-inspect.js test
Feross Aboukhadijeh [Fri, 16 Feb 2018 09:04:55 +0000 (01:04 -0800)]
Fix Buffer.inspect() output to match Node.js (test-buffer-prototype-inspect.js)
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:58:28 +0000 (00:58 -0800)]
Buffer.isBuffer(Buffer.prototype) should be false
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:58:17 +0000 (00:58 -0800)]
error message fix
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:58:12 +0000 (00:58 -0800)]
parent, offset are enumerable to match Node.js
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:47:03 +0000 (00:47 -0800)]
Match Node.js Buffer.from() argument handling (test-buffer-from.js)
- Handle new String() and new Boolean() using valueOf()
- Use Symbol.toPrimitive() if it exists
- Be slightly stricter with accepting .length props
- Match error messages
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:42:59 +0000 (00:42 -0800)]
style
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:42:50 +0000 (00:42 -0800)]
document that numberIsNaN is for IE11
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:17:47 +0000 (00:17 -0800)]
Fix error messages for invalid sizes (test-buffer-slow.js)
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:14:25 +0000 (00:14 -0800)]
Fix error message from new Buffer(num) (test-buffer-new.js)
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:12:41 +0000 (00:12 -0800)]
Support Uint8Array arguments to buf.compare() (test-buffer-compare.js)
Feross Aboukhadijeh [Fri, 16 Feb 2018 08:08:40 +0000 (00:08 -0800)]
convert isArrayBuffer() to generic isInstance() function
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:58:34 +0000 (23:58 -0800)]
style
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:58:11 +0000 (23:58 -0800)]
replace 'instanceof Buffer' with Buffer.isBuffer()
To support buffers that come from other contexts like iframes, or Buffers that come from multiple version of buffer embedded in the same browserify bundle
Always use Buffer.isBuffer!!!
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:52:19 +0000 (23:52 -0800)]
Update buf.compare() error message (test-buffer-compare-offset.js)
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:50:27 +0000 (23:50 -0800)]
Match node.js Buffer.byteLength() behavior
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:39:36 +0000 (23:39 -0800)]
Ignore test-buffer-bindingobj-no-zerofill.js
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:38:11 +0000 (23:38 -0800)]
Update error message for test-buffer-bad-overload.js
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:35:33 +0000 (23:35 -0800)]
skip irrelevant test file: test-buffer-sharedarraybuffer.js
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:35:03 +0000 (23:35 -0800)]
Pull in new test files from Node.js core that are passing!
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:22:02 +0000 (23:22 -0800)]
add semi
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:21:32 +0000 (23:21 -0800)]
download-node-tests: don't delete common.js
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:16:28 +0000 (23:16 -0800)]
5.1.0
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:10:21 +0000 (23:10 -0800)]
Drop Node 0.10 support
Fix https://github.com/feross/buffer/issues/184
Feross Aboukhadijeh [Fri, 16 Feb 2018 07:09:57 +0000 (23:09 -0800)]
Buffer.concat() accepts Uint8Array instances
Fix https://github.com/feross/buffer/issues/173
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:53:13 +0000 (22:53 -0800)]
readme: update browser support list
Fixes: https://github.com/feross/buffer/issues/182
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:49:34 +0000 (22:49 -0800)]
do not run ES6 tests on iOS 9.3, only run ES5 tests
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:46:40 +0000 (22:46 -0800)]
Use TypedArrayView.copyWithin() when available
Fixes https://github.com/feross/buffer/issues/174
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:45:55 +0000 (22:45 -0800)]
fix yml syntax for list, so iPhone tests run
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:35:29 +0000 (22:35 -0800)]
only test major ios versions
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:35:05 +0000 (22:35 -0800)]
skip ES6 tests in Safari 9, only run ES5 tests
The Node.js tests contain the const keyword, which doesn't work in Safari 9 in strict mode :(
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:21:51 +0000 (22:21 -0800)]
Remove special-case copy() for len < 1000
For https://github.com/feross/buffer/issues/174
Feross Aboukhadijeh [Fri, 16 Feb 2018 06:16:55 +0000 (22:16 -0800)]
test ios 9.3+, safari 9+, last two Edge versions
Fixes https://github.com/feross/buffer/issues/182
Feross Aboukhadijeh [Fri, 16 Feb 2018 05:56:28 +0000 (21:56 -0800)]
more robust check for invalid arguments to copy()
Feross Aboukhadijeh [Fri, 16 Feb 2018 05:52:40 +0000 (21:52 -0800)]
Remove unneeded char from regex
We're already finding the first = and discarding it and everything that follows in the split() call a few lines below. There should be no = left in the string to remove.