New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kpdux

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kpdux - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

21

index.js

@@ -34,2 +34,20 @@ import Store from "./makes/Store";

export const mixin = function(mixin) {
return function(component) {
for(let i in mixin) {
if(!component.prototype[i]) {
component.prototype[i] = mixin[i];
}
// else {
// component.prototype[i] = (function(name, func, func1) {
// func.apply(this, arguments);
// func1.apply(this, arguments);
// })(i, mixin[i], component.prototype[i]);
// }
}
return component;
};
};
export const compose = function() {

@@ -61,3 +79,4 @@ let composes = [];

"compose": compose,
"createStore": createStore
"createStore": createStore,
"mixin": mixin
};

2

package.json
{
"name": "kpdux",
"version": "1.0.5",
"version": "1.0.6",
"author": "Kris Papercut <kearis666@gmail.com>",

@@ -5,0 +5,0 @@ "license": "ISC",

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