]> zoso.dev Git - buffer.git/commit
throw on negative .allocUnsafe() argument
authorFeross Aboukhadijeh <feross@feross.org>
Thu, 18 Aug 2016 03:20:34 +0000 (20:20 -0700)
committerFeross Aboukhadijeh <feross@feross.org>
Thu, 18 Aug 2016 03:20:34 +0000 (20:20 -0700)
commit80c1d498e2d54caa733b6c39f232693cd94d6801
treebb2a760a065602993be009d7eca5d41d7c54eba1
parentfb5b04ca3450fea87583399cab4e4a996900b002
throw on negative .allocUnsafe() argument

To match new behavior in node v6.4.0

https://github.com/nodejs/node/commit/8f90dcc1b8e4ac3d8597ea2ee3927f325c
c980d3
index.js