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

@mashroom/mashroom-browser-cache

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mashroom/mashroom-browser-cache - npm Package Compare versions

Comparing version 1.0.94 to 1.1.0

16

package.json

@@ -7,3 +7,3 @@ {

"license": "MIT",
"version": "1.0.94",
"version": "1.1.0",
"files": [

@@ -14,8 +14,8 @@ "dist/**",

"devDependencies": {
"@babel/cli": "^7.4.4",
"@mashroom/mashroom": "1.0.94",
"@mashroom/mashroom-security": "1.0.94",
"@mashroom/mashroom-utils": "1.0.94",
"eslint": "^5.16.0",
"jest": "^24.8.0"
"@babel/cli": "^7.6.0",
"@mashroom/mashroom": "1.1.0",
"@mashroom/mashroom-security": "1.1.0",
"@mashroom/mashroom-utils": "1.1.0",
"eslint": "^6.4.0",
"jest": "^24.9.0"
},

@@ -31,3 +31,3 @@ "jest": {

"scripts": {
"lint": "eslint src test",
"lint": "eslint src test --fix",
"test": "jest",

@@ -34,0 +34,0 @@ "build": "babel src -d dist"

@@ -19,4 +19,9 @@

const cacheControlService: MashroomCacheControlService = req.pluginContext.services.browserCache.cacheControl;
await cacheControlService.addCacheControlHeader(req, res);
export default async (req: ExpressRequest, res: ExpressResponse) => {
const cacheControlService: MashroomCacheControlService = req.pluginContext.services.browserCache.cacheControl;
await cacheControlService.addCacheControlHeader(req, res);
// ..
};
```

@@ -23,0 +28,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