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.8.0 to 1.8.1

5

dist/MashroomCacheControlService.js

@@ -42,3 +42,6 @@ "use strict";

authenticated = !!user;
publicResource = !authenticated;
if (cachingPolicy === 'PRIVATE_IF_AUTHENTICATED' && authenticated) {
publicResource = false;
}
}

@@ -45,0 +48,0 @@

8

package.json

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

"license": "MIT",
"version": "1.8.0",
"version": "1.8.1",
"files": [

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

"@babel/cli": "^7.14.8",
"@mashroom/mashroom": "1.8.0",
"@mashroom/mashroom-security": "1.8.0",
"@mashroom/mashroom-utils": "1.8.0",
"@mashroom/mashroom": "1.8.1",
"@mashroom/mashroom-security": "1.8.1",
"@mashroom/mashroom-utils": "1.8.1",
"@types/express": "^4.17.13",

@@ -20,0 +20,0 @@ "@types/jest": "^26.0.24",

import type {Request, Response} from 'express';
export type CachingPolicy = 'ALWAYS' | 'NEVER' | 'ONLY_FOR_ANONYMOUS_USERS';
export type CachingPolicy = 'SHARED' | 'PRIVATE_IF_AUTHENTICATED' | 'NEVER' | 'ONLY_FOR_ANONYMOUS_USERS';

@@ -6,0 +6,0 @@ export interface MashroomCacheControlService {

@@ -5,3 +5,3 @@ // @flow

export type CachingPolicy = 'ALWAYS' | 'NEVER' | 'ONLY_FOR_ANONYMOUS_USERS';
export type CachingPolicy = 'SHARED' | 'PRIVATE_IF_AUTHENTICATED' | 'NEVER' | 'ONLY_FOR_ANONYMOUS_USERS';

@@ -8,0 +8,0 @@ export interface MashroomCacheControlService {

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