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

cache-manager-fs-hash

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-manager-fs-hash - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

CHANGELOG.md

2

index.js

@@ -1,1 +0,1 @@

module.exports = require('./lib');
module.exports = require('./src');
{
"name": "cache-manager-fs-hash",
"version": "0.0.7",
"version": "0.0.8",
"main": "index.js",
"engines": {
"node": ">=6.0.0"
"node": ">=8.0.0"
},

@@ -13,3 +13,3 @@ "description": "file system store for node cache manager",

"index.js",
"lib/*"
"src/*"
],

@@ -29,20 +29,12 @@ "keywords": [

"scripts": {
"build": "babel src --out-dir lib",
"prepare": "npm run build",
"pretest": "npm run build",
"test": "mocha --require @babel/register ./test/**/*.js"
"test": "mocha ./test/**/*.js"
},
"devDependencies": {
"@babel/cli": "^7.1.0",
"@babel/core": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"cache-manager": "^2.9.0",
"mocha": "^5.2.0",
"rimraf": "^2.6.2"
"cache-manager": "^3.2.1",
"mocha": "^7.1.1",
"rimraf": "^3.0.2"
},
"dependencies": {
"es6-promisify": "^6.0.0",
"lockfile": "^1.0.4"
}
}

@@ -35,4 +35,5 @@ # Node Cache Manager store for Filesystem

ttl: 60 * 60, //time to life in seconds
subdirs: true, //create subdirectories to reduce the
subdirs: true, //create subdirectories to reduce the
//files in a single dir (default: false)
zip: true, //zip files to save diskspace (default: false)
}

@@ -56,3 +57,3 @@ });

function getUserCached(userId) {
return diskCache.wrap(userId, function () {
return diskCache.wrap(userId /* cache key */, function () {
return getUser(userId);

@@ -81,2 +82,2 @@ });

cache-manager-fs-hash is licensed under the MIT license.
cache-manager-fs-hash is licensed under the MIT license.
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