Socket
Socket
Sign inDemoInstall

@algolia/cache-in-memory

Package Overview
Dependencies
Maintainers
61
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algolia/cache-in-memory - npm Package Compare versions

Comparing version 4.0.0-beta.13 to 4.0.0-beta.14

7

dist/cache-in-memory.cjs.js

@@ -6,3 +6,4 @@ 'use strict';

function createInMemoryCache(options = { serializable: true }) {
const cache = {};
// eslint-disable-next-line functional/no-let
let cache = {};
return {

@@ -30,2 +31,6 @@ get(key, defaultValue, events = {

},
clear() {
cache = {};
return Promise.resolve();
},
};

@@ -32,0 +37,0 @@ }

function createInMemoryCache(options = { serializable: true }) {
const cache = {};
// eslint-disable-next-line functional/no-let
let cache = {};
return {

@@ -25,2 +26,6 @@ get(key, defaultValue, events = {

},
clear() {
cache = {};
return Promise.resolve();
},
};

@@ -27,0 +32,0 @@ }

4

package.json
{
"name": "@algolia/cache-in-memory",
"version": "4.0.0-beta.13",
"version": "4.0.0-beta.14",
"private": false,

@@ -16,4 +16,4 @@ "description": "Promise-based cache library using memory.",

"dependencies": {
"@algolia/cache-common": "4.0.0-beta.13"
"@algolia/cache-common": "4.0.0-beta.14"
}
}
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