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

koa-incache

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-incache - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

.idea/markdown-navigator.xml

3

CHANGELOG.md

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

## [0.3.1] - 2018-10-15
- Changed key for caching from `path` to `originalUrl`
## [0.3.0] - 2017-09-07

@@ -9,0 +12,0 @@ - Updated dependencies

2

index.js

@@ -10,3 +10,3 @@ const InCache = require('incache');

save: true,
cachedProperty: 'path',
cachedProperty: 'originalUrl',
storeName: 'koa-incache',

@@ -13,0 +13,0 @@ filePath: '.koa-incache',

{
"name": "koa-incache",
"version": "0.3.0",
"version": "0.3.1",
"description": "Koa cache middleware",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -40,3 +40,3 @@ <div align="center">

#### Routing
The **cache is made** using `ctx.path` as key
The **cache is made** using `ctx.originalUrl` as key
```javascript

@@ -43,0 +43,0 @@ const fs = require('fs');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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