Socket
Socket
Sign inDemoInstall

lowdb

Package Overview
Dependencies
7
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.1 to 0.12.2

2

index.js

@@ -23,3 +23,3 @@ 'use strict';

if (arg) {
v = arg.value ? arg.value() : arg;
v = _.isFunction(arg.value) ? arg.value() : arg;
}

@@ -26,0 +26,0 @@

{
"name": "lowdb",
"version": "0.12.1",
"version": "0.12.2",
"description": "JSON database for Node and the browser powered by lodash",

@@ -48,3 +48,3 @@ "keywords": [

"babel-preset-stage-3": "^6.3.13",
"husky": "^0.9.0",
"husky": "^0.10.2",
"sinon": "^1.17.2",

@@ -51,0 +51,0 @@ "standard": "^4.0.1",

@@ -150,3 +150,3 @@ # lowdb [![NPM version](https://badge.fury.io/js/lowdb.svg)](http://badge.fury.io/js/lowdb) [![Build Status](https://travis-ci.org/typicode/lowdb.svg?branch=master)](https://travis-ci.org/typicode/lowdb)

// set only storage.read or storage.write
const fileSync = require('lowdb/fileSync')
const fileSync = require('lowdb/file-sync')

@@ -335,5 +335,5 @@ // write-only

low('db.bson', { storage, format: {
serialize: BSON.serialize
serialize: BSON.serialize,
deserialize: BSON.deserialize
})
}})

@@ -340,0 +340,0 @@ // Alternative ES2015 short syntax

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