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

react-simple-di

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

react-simple-di - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

CHANGELOG.md
# ChangeLog
### v1.0.1
* Fix issue of re-binding context to action multiple times as we apply conext multiple time.
See: [#2](https://github.com/kadirahq/react-simple-di/issues/2)
### v1.0.0
Initial Version.
Initial Version.

5

dist/index.js

@@ -32,8 +32,9 @@ 'use strict';

var actionMap = _actions[key];
var newActionMap = {};
for (var actionName in actionMap) {
if (actionMap.hasOwnProperty(actionName)) {
actionMap[actionName] = actionMap[actionName].bind(null, context);
newActionMap[actionName] = actionMap[actionName].bind(null, context);
}
}
actions[key] = actionMap;
actions[key] = newActionMap;
}

@@ -40,0 +41,0 @@ }

{
"name": "react-simple-di",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple Dependancy Injection Solution for React",

@@ -5,0 +5,0 @@ "repository": {

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