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

zukeeper

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zukeeper - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

15

index.js

@@ -0,1 +1,3 @@

import { create } from "zustand";
function zukeeper(createFunction) {

@@ -8,6 +10,9 @@ return (set, get) => {

store[key] = (...args) => {
console.log('action dispatched', key);
let currstate = get();
window.postMessage({
body: 'Innit',
state: JSON.stringify(currstate)
});
functionDefinition(...args);
const currstate = get();
console.log('state', currstate);
currstate = get();
window.postMessage({

@@ -19,4 +24,4 @@ body: 'Data',

};
}
}
};
};
return store;

@@ -23,0 +28,0 @@ };

{
"name": "zukeeper",
"version": "0.0.0",
"version": "0.1.0",
"description": "Dev Tools for Zustand",
"main": "index.ts",
"main": "index.js",
"scripts": {

@@ -11,3 +11,3 @@ "test": "test"

"type": "git",
"url": "https://github.com/oslabs-beta/Zukeeper/tree/main/npm.git"
"url": "https://github.com/oslabs-beta/Zukeeper/tree/main/npm"
},

@@ -14,0 +14,0 @@ "keywords": [

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