Comparing version 7.0.3 to 7.0.4
@@ -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 |
{ | ||
"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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
338466
7101
5
10
2
+ Addedfs-path@0.0.24
+ Addedasync@0.9.2(transitive)
+ Addedfs-path@0.0.24(transitive)