Socket
Socket
Sign inDemoInstall

rel-events

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rel-events - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

4

__tests__/events.test.js

@@ -199,2 +199,3 @@ // eslint-disable-next-line import/named

expect(TestEvent._chainEvents).not.toBeCalled();
expect(reducers.testEvent(undefined, { type: 'notThisOne' })).toEqual(

@@ -205,3 +206,2 @@ EventManager.initialState,

expect(TestEvent._chainEvents).not.toBeCalled();
expect(reducers.testEvent({}, { type: 'TEST_EVENT' })).toEqual({ test: 'it works!' });

@@ -230,2 +230,3 @@ expect(EventManager.onDispatch).toBeCalled();

expect(TestEvent._chainEvents).not.toBeCalled();
expect(reducers.otherEvent(undefined, { type: 'notThisOne' })).toEqual(

@@ -236,3 +237,2 @@ EventManager.initialState,

expect(TestEvent._chainEvents).not.toBeCalled();
expect(reducers.otherEvent({}, { type: 'TEST_EVENT' })).toEqual({ test: 'it works!' });

@@ -239,0 +239,0 @@ expect(EventManager.onDispatch).toBeCalled();

@@ -99,2 +99,4 @@ "use strict";

_this._chainEvents(action);
return state;

@@ -101,0 +103,0 @@ };

@@ -95,2 +95,3 @@ import { connect } from 'react-redux';

}
this._chainEvents(action);
return state;

@@ -97,0 +98,0 @@ };

{
"name": "rel-events",
"version": "0.4.5",
"version": "0.4.6",
"description": "The relevant React Events Library. Events framework based on redux to decouple our from business logic and make state management easy.",

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

@@ -6,3 +6,3 @@ # rel-events

*To read the docs, [go to our docs folder](https://github.com/labcodes/rel-events/tree/master/docs). :)*
*To see the app demo, [go to out codesandbox page](https://codesandbox.io/s/rel-events-example-w6yji?fontsize=12)!*
*To see the app demo, [go to our codesandbox page](https://codesandbox.io/s/rel-events-example-w6yji?fontsize=12)!*

@@ -9,0 +9,0 @@ Welcome to the `rel-events` github repo!

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