Comparing version 3.0.3 to 3.0.4
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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3272
5