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

ladda-observable

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ladda-observable - npm Package Compare versions

Comparing version 0.2.2 to 0.2.7

2

dist/bundle.js

@@ -542,3 +542,3 @@ module.exports =

var invalidations = entity.api[change.apiFn].invalidates;
return invalidations.length && invalidations.indexOf(fn.name) !== -1;
return invalidations.length && invalidations.indexOf(fn.fnName) !== -1;
};

@@ -545,0 +545,0 @@

{
"name": "ladda-observable",
"version": "0.2.2",
"version": "0.2.7",
"description": "Observable plugin for Ladda",

@@ -23,3 +23,3 @@ "main": "dist/bundle.js",

"gitbook-cli": "^2.3.0",
"ladda-cache": "^0.2.3",
"ladda-cache": "0.2.7",
"mocha": "^2.5.3",

@@ -26,0 +26,0 @@ "nyc": "^10.1.2",

@@ -22,3 +22,3 @@ import { map_, noop, removeElement } from 'ladda-fp';

const invalidations = entity.api[change.apiFn].invalidates;
return invalidations.length && invalidations.indexOf(fn.name) !== -1;
return invalidations.length && invalidations.indexOf(fn.fnName) !== -1;
};

@@ -25,0 +25,0 @@

@@ -222,4 +222,7 @@ /* eslint-disable no-unused-expressions */

return api.user.noopGetUsers().then(() => {
// ideally this next block would fail and we'd be calling
// only twice, but the read operation which followed the
// nvalidation triggers it again!
return delay().then(() => {
expect(spy).to.have.been.calledTwice;
expect(spy).to.have.been.calledThrice;
});

@@ -226,0 +229,0 @@ });

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