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

apollo-cache-router

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-cache-router - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

7

lib/bundle.umd.js

@@ -145,3 +145,8 @@ (function (global, factory) {

RoutingCache.prototype.performTransaction = function (transaction) {
transaction(this);
var _this = this;
this.caches.forEach(function (cache) {
return cache.performTransaction(function () {
transaction(_this);
});
});
};

@@ -148,0 +153,0 @@ RoutingCache.prototype.recordOptimisticTransaction = function (transaction, id) {

@@ -139,3 +139,8 @@ "use strict";

RoutingCache.prototype.performTransaction = function (transaction) {
transaction(this);
var _this = this;
this.caches.forEach(function (cache) {
return cache.performTransaction(function () {
transaction(_this);
});
});
};

@@ -142,0 +147,0 @@ RoutingCache.prototype.recordOptimisticTransaction = function (transaction, id) {

2

package.json
{
"name": "apollo-cache-router",
"version": "1.1.3",
"version": "1.1.4",
"description": "Apollo Cache Router",

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

@@ -169,3 +169,7 @@ import { ApolloCache, Cache, Transaction } from 'apollo-cache';

public performTransaction(transaction: Transaction<any>): void {
transaction(this);
this.caches.forEach(cache =>
cache.performTransaction(() => {
transaction(this);
})
);
}

@@ -172,0 +176,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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