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

@mashroom/mashroom-storage

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-storage - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

dist/memorycache/MashroomStorageMemoryCacheWrapper.js

@@ -44,2 +44,3 @@ "use strict";

if (this.config.enabled === true) {
// Could be disabled per collection
return this.getCollectionProperties(name).enabled !== false;

@@ -57,2 +58,3 @@ }

if (this.config.invalidateOnUpdate === true) {
// Could be disabled per collection
return this.getCollectionProperties(name).invalidateOnUpdate !== false;

@@ -59,0 +61,0 @@ }

10

package.json

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

"license": "MIT",
"version": "1.5.1",
"version": "1.5.2",
"files": [

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

"dependencies": {
"@mashroom/mashroom-utils": "1.5.1"
"@mashroom/mashroom-utils": "1.5.2"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@mashroom/mashroom": "1.5.1",
"@mashroom/mashroom-memory-cache": "1.5.1",
"@mashroom/mashroom": "1.5.2",
"@mashroom/mashroom-memory-cache": "1.5.2",
"@types/jest": "^25.2.2",

@@ -51,3 +51,3 @@ "eslint": "^7.0.0",

"memoryCache": {
"enabled": true,
"enabled": false,
"ttlSec": 120,

@@ -54,0 +54,0 @@ "invalidateOnUpdate": true,

@@ -38,3 +38,3 @@

"memoryCache": {
"enabled": true,
"enabled": false,
"ttlSec": 120,

@@ -44,2 +44,3 @@ "invalidateOnUpdate": true,

"mashroom-portal-pages": {
"enabled": true,
"ttlSec": 300

@@ -56,3 +57,3 @@ }

* _memoryCache_: Use the memory cache to improve the performance. Requires *@mashroom/mashroom-memory-cache* to be installed.
* _enabled_: Enable the store. If you set this to false you can still enable caching on some collections (default: true)
* _enabled_: Enable cache (of all) collections. The preferred way is to set this to false and enable caching per collection (default: false)
* _ttlSec_: The default TTL in seconds. Can be overwritten per collection (default: 120)

@@ -59,0 +60,0 @@ + _invalidateOnUpdate_: Clear the cache for the whole collection if an entry gets updated (default: true).

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