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.1.3 to 1.1.4

10

dist/MashroomCacheControlService.js

@@ -14,7 +14,6 @@ "use strict";

this._maxAgeSec = maxAgeSec;
this._logger = loggerFactory('mashroom.browserCache.service');
const logger = loggerFactory('mashroom.browserCache.service');
if (devMode) {
this._logger.info('Disabling browser cache because some packages are in dev mode');
logger.info('Disabling browser cache because some packages are in dev mode');
this._disabled = true;

@@ -25,5 +24,6 @@ }

async addCacheControlHeader(request, response) {
const logger = request.pluginContext.loggerFactory('mashroom.browserCache.service');
if (request.method !== 'GET') {
this._logger.warn(`Browser caching not possible for ${request.method} requests`);
logger.warn(`Browser caching not possible for ${request.method} requests`);
return;

@@ -30,0 +30,0 @@ }

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

"license": "MIT",
"version": "1.1.3",
"version": "1.1.4",
"files": [

@@ -15,5 +15,5 @@ "dist/**",

"@babel/cli": "^7.6.0",
"@mashroom/mashroom": "1.1.3",
"@mashroom/mashroom-security": "1.1.3",
"@mashroom/mashroom-utils": "1.1.3",
"@mashroom/mashroom": "1.1.4",
"@mashroom/mashroom-security": "1.1.4",
"@mashroom/mashroom-utils": "1.1.4",
"eslint": "^6.4.0",

@@ -20,0 +20,0 @@ "jest": "^24.9.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