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.15 to 1.0.16

2

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

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

@@ -22,7 +22,25 @@ # kpdux

"reduces": {
"REDUCER/TYPE": function(state, action) {
if(/* */) {
return {
/* */
...state
};
}
return state;
}
},
"middlewares": {
"MIDDLEWARE/TYPE": async function(action) {
let state = this.getState();
await this.exampleAction();
}
},
"getters": {
getToken(state) {
return state.token;
}
},
"mutations": {

@@ -40,2 +58,5 @@ setToken(state, token) {

this.setToken("your token");
},
async exampleAction() {
}

@@ -85,5 +106,3 @@ }

const putStateToProps = (state) => {
return {
"token": state.auth.token
};
return {};
};

@@ -93,2 +112,6 @@

return {
// getters
"token": state.auth.getToken(),
// actions
"login": store.auth.login

@@ -95,0 +118,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