Comparing version 0.1.0 to 0.1.1
@@ -0,1 +1,11 @@ | ||
<a name="0.1.1"></a> | ||
## [0.1.1](https://github.com/nicojs/node-surrial/compare/v0.1.0...v0.1.1) (2018-02-16) | ||
### Bug Fixes | ||
* **buffer:** support binary data as buffer ([7dc94bb](https://github.com/nicojs/node-surrial/commit/7dc94bb)) | ||
<a name="0.1.0"></a> | ||
@@ -2,0 +12,0 @@ # 0.1.0 (2018-02-16) |
{ | ||
"name": "surrial", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Serialize anything. This is surreal!", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -97,3 +97,3 @@ "use strict"; | ||
function serializeBuffer(value) { | ||
return "Buffer.from(\"" + value.toString() + "\")"; | ||
return "Buffer.from(" + serialize(value.toString('binary')) + ", \"binary\")"; | ||
} | ||
@@ -100,0 +100,0 @@ function serializeClassInstance(instance) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26922