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

incache

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

incache - npm Package Compare versions

Comparing version 7.0.3 to 7.0.4

3

CHANGELOG.md

@@ -7,2 +7,5 @@ # Change Log

## [7.0.4] - 2018-02-28
- **Improved** `save` method, now create the full path if not exists
## [7.0.3] - 2018-02-24

@@ -9,0 +12,0 @@ - **Improved** performance for `set` method

3

package.json
{
"name": "incache",
"version": "7.0.3",
"version": "7.0.4",
"description": "Powerful key/value in-memory storage or on disk to persist some data",

@@ -65,2 +65,3 @@ "main": "index.js",

"flak": "^1.0.0",
"fs-path": "0.0.24",
"object-sizeof": "^1.2.0",

@@ -67,0 +68,0 @@ "uuid": "^3.1.0"

const helper = require('./helper');
const Flak = require('flak');
const fs = require('fs');
const fsPath = require('fs-path');
const uuid = require('uuid/v1');

@@ -289,3 +290,3 @@ const clone = require('clone');

if (helper.isServer())
fs.writeFileSync(path, dataString);
fsPath.writeFileSync(path, dataString);
else

@@ -292,0 +293,0 @@ window.localStorage.setItem(path, dataString);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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