Socket
Socket
Sign inDemoInstall

json-buffer

Package Overview
Dependencies
3
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.8 to 2.0.9

4

index.js

@@ -21,4 +21,4 @@ var bops = require('bops')

for(var k in o) {
var isFunction = 'function' == typeof o[k]
if(Object.hasOwnProperty.call(o, k) && !isFunction) {
var ignore = 'function' == typeof o[k] || (!array && 'undefined' === typeof o[k])
if(Object.hasOwnProperty.call(o, k) && !ignore) {
if(!first)

@@ -25,0 +25,0 @@ s += ','

{
"name": "json-buffer",
"description": "JSON parse & stringify that supports binary via bops & base64",
"version": "2.0.8",
"version": "2.0.9",
"homepage": "https://github.com/dominictarr/json-buffer",

@@ -6,0 +6,0 @@ "repository": {

@@ -33,4 +33,7 @@

undefined: {
empty: undefined
empty: undefined, test: true
},
undefined2: {
first: 1, empty: undefined, test: true
},
undefinedArray: {

@@ -37,0 +40,0 @@ array: [undefined, 1, 'two']

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc