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

simple-node-framework

Package Overview
Dependencies
Maintainers
0
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-node-framework - npm Package Compare versions

Comparing version 6.0.27 to 6.0.28

7

lib/cache.js

@@ -54,2 +54,4 @@ const Loggable = require('./base/loggable');

let timer = this.timer.start();
return this.redis

@@ -59,3 +61,6 @@ .get(key)

(cache) => {
if(this.config.cache.logHits) this.log.debug(`Hit from cache [${key}]`);
if (this.config.cache.logHits) {
const interval = this.timer.writeLog(timer, `Cache: [${key}]`);
this.log.debug(`Hit from cache [${key}]`, { natural: { responseTime: interval.milliseconds } });
}
res.status(cache.status).set(cache.headers).send(cache.body);

@@ -62,0 +67,0 @@ },

2

package.json
{
"name": "simple-node-framework",
"version": "6.0.27",
"version": "6.0.28",
"keywords": [

@@ -5,0 +5,0 @@ "basic",

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