Comparing version 3.5.1 to 3.5.2
@@ -0,1 +1,5 @@ | ||
v3.5.2 (2017-10-04) | ||
------------------- | ||
[fix] Prevent slow unsafe alloc for Buffers | ||
v3.5.1 (2017-10-04) | ||
@@ -2,0 +6,0 @@ ------------------- |
@@ -469,3 +469,4 @@ 'use strict' | ||
const LocalBuffer = global.Buffer = Contextify.readonly(host.Buffer, { | ||
allocUnsafe: function(size) { return this.alloc(size) } | ||
allocUnsafe: function(size) { return this.alloc(size) }, | ||
allocUnsafeSlow: function(size) { return this.alloc(size) } | ||
}); | ||
@@ -472,0 +473,0 @@ |
@@ -16,3 +16,3 @@ { | ||
], | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"main": "index.js", | ||
@@ -19,0 +19,0 @@ "repository": { |
60089
1350