New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koa-cash

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-cash - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

6

index.js

@@ -97,5 +97,2 @@ 'use strict'

const fresh = this.request.fresh
if (fresh) this.response.status = 304
const obj = {

@@ -108,2 +105,5 @@ body,

const fresh = this.request.fresh
if (fresh) this.response.status = 304
if (compressible(obj.type) && this.response.length >= threshold) {

@@ -110,0 +110,0 @@ obj.gzip = yield compress(body)

{
"name": "koa-cash",
"description": "HTTP response caching for Koa",
"version": "2.1.0",
"version": "2.1.1",
"dependencies": {

@@ -17,3 +17,3 @@ "bluebird": "^3.1.1",

"mocha": "^3.1.2",
"standard": "^7.0.0",
"standard": "^8.6.0",
"supertest": "^1.1.0"

@@ -20,0 +20,0 @@ },

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