Socket
Socket
Sign inDemoInstall

@algolia/cache-in-memory

Package Overview
Dependencies
Maintainers
60
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.9 to 4.0.0-beta.10

6

dist/cache-in-memory.cjs.js

@@ -7,3 +7,3 @@ 'use strict';

/* eslint-disable functional/immutable-data, functional/no-let, functional/prefer-readonly-type */
let cache = {};
const cache = {};
return {

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

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

@@ -35,0 +31,0 @@ }

function createInMemoryCache(options = { serializable: true }) {
/* eslint-disable functional/immutable-data, functional/no-let, functional/prefer-readonly-type */
let cache = {};
const cache = {};
return {

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

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

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

4

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

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

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