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

ladda-cache

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ladda-cache - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

src/.tern-port

4

dist/bundle.js

@@ -662,3 +662,5 @@ module.exports =

if (shouldUseQueryCache(apiFn.plural, apiFn.byId)) {
(0, _datastore.addCollection)(datastore, createQueryForCollection(type, query, apiFn.name), data);
[apiFn.name].concat(apiFn.cacheAliases || []).map(function (fnName) {
(0, _datastore.addCollection)(datastore, createQueryForCollection(type, query, fnName), data);
});
} else {

@@ -665,0 +667,0 @@ (0, _datastore.addItem)(datastore, (0, _query.createQuery)(type, query), data);

{
"name": "ladda-cache",
"version": "0.0.7",
"version": "0.0.8",
"description": "Data fetching layaer with support for caching",

@@ -5,0 +5,0 @@ "main": "dist/bundle.js",

@@ -55,3 +55,5 @@ import { createQuery } from 'query';

if (shouldUseQueryCache(apiFn.plural, apiFn.byId)) {
addCollection(datastore, createQueryForCollection(type, query, apiFn.name), data);
[apiFn.name].concat(apiFn.cacheAliases || []).map((fnName) => {
addCollection(datastore, createQueryForCollection(type, query, fnName), data);
});
} else {

@@ -58,0 +60,0 @@ addItem(datastore, createQuery(type, query), data);

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