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

react-observable-mixin

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-observable-mixin - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

.publish/example.css

9

lib/RxObservableMixin.js

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

observablesSubscribeOnNext: function observablesSubscribeOnNext(state) {
if (!this.observablesSubscription) return;
if (this.observablesSubscription && this.observablesSubscription.isStopped) return;

@@ -89,4 +89,2 @@ if (this.componentWillReceiveStateFromObservables) this.componentWillReceiveStateFromObservables(state);

observablesSubscribeOnError: function observablesSubscribeOnError(error) {
if (!this.observablesSubscription) return;
if (this.componentWillReceiveErrorFromObservables) this.componentWillReceiveErrorFromObservables(error);

@@ -124,8 +122,5 @@ },

unsubscribeFromObservables: function unsubscribeFromObservables() {
if (this.observablesSubscription) {
this.observablesSubscription.dispose();
this.observablesSubscription = null;
}
if (this.observablesSubscription) this.observablesSubscription.dispose();
}
};
module.exports = exports['default'];
{
"name": "react-observable-mixin",
"version": "1.0.3",
"version": "1.0.4",
"description": "Container like observable mixin for ReactJS.",

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

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