Socket
Socket
Sign inDemoInstall

nocache

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nocache - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

2

index.js
module.exports = function nocache() {
return function nocache(req, res, next) {
return function nocache(_, res, next) {
res.setHeader("Surrogate-Control", "no-store");

@@ -4,0 +4,0 @@ res.setHeader(

@@ -8,3 +8,3 @@ {

"description": "Middleware to destroy caching",
"version": "3.0.3",
"version": "3.0.4",
"license": "MIT",

@@ -32,9 +32,2 @@ "keywords": [

"typings": "index.d.ts",
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"index.js",
"index.d.ts"
],
"scripts": {

@@ -50,6 +43,6 @@ "pretest": "npm run lint",

"connect": "^3.7.0",
"eslint": "^8.11.0",
"prettier": "^2.6.0",
"supertest": "^6.2.2"
"eslint": "^8.16.0",
"prettier": "^2.6.2",
"supertest": "^6.2.3"
}
}
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