Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

surrial

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

surrial - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

CHANGELOG.md

@@ -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)

2

package.json
{
"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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc