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

@storex/core

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storex/core - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

lib/core/index.d.ts

3

lib/index.d.ts

@@ -1,2 +0,1 @@

export * from "./binding";
export * from "./react";
export * from "./core";

@@ -6,4 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./binding"));
__export(require("./react"));
__export(require("./core"));
//# sourceMappingURL=index.js.map

@@ -1,23 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const React = require("react");
const enzyme_1 = require("enzyme");
const enzyme = require("enzyme");
const examples_1 = require("./examples");
const react_1 = require("./react");
const Adapter = require("enzyme-adapter-react-16");
enzyme.configure({ adapter: new Adapter() });
let store = new examples_1.StoreIns();
const test = () => {
const Comp = (React.createElement(react_1.StoreWrapper, { store: store }, (_store) => (React.createElement("ul", null, _store.args1.map(str => React.createElement("li", { key: str }, str))))));
const arg = "arg1";
const wrapper = enzyme_1.shallow(Comp);
store.action1(arg);
setTimeout(() => {
console.log(wrapper.text());
// expect(wrapper.text()).toContain(arg);
wrapper.unmount();
}, 2);
};
test();
//# sourceMappingURL=main.js.map
{
"name": "@storex/core",
"version": "1.0.0",
"version": "1.0.1",
"description": "Binding store to your app",
"main": "lib/main.js",
"main": "lib/index.js",
"scope": "@storex",

@@ -7,0 +7,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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