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

simpler-state

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpler-state - npm Package Compare versions

Comparing version 2.0.0-rc.4 to 2.0.0-rc.5

es/core/index.js

11

es/index.js

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

export { default as entity } from './core/entity';
export { default as useEntity } from './core/useEntity';
export { strictEqual, shallowEqual } from './core/equality';
export { default as alias } from './plugins/alias';
export { default as persistence } from './plugins/persistence';
export { enableInspector } from './tools/inspector';
export { enableStore } from './tools/store';
export { default as resetAll } from './tools/resetAll';
export * from './core';
export * from './plugins';
export * from './tools';
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.useEntity = exports.strictEqual = exports.shallowEqual = exports.resetAll = exports.persistence = exports.entity = exports.enableStore = exports.enableInspector = exports.alias = void 0;
var _entity = _interopRequireDefault(require("./core/entity"));
exports.entity = _entity.default;
var _useEntity = _interopRequireDefault(require("./core/useEntity"));
exports.useEntity = _useEntity.default;
var _equality = require("./core/equality");
exports.strictEqual = _equality.strictEqual;
exports.shallowEqual = _equality.shallowEqual;
var _alias = _interopRequireDefault(require("./plugins/alias"));
exports.alias = _alias.default;
var _persistence = _interopRequireDefault(require("./plugins/persistence"));
exports.persistence = _persistence.default;
var _inspector = require("./tools/inspector");
exports.enableInspector = _inspector.enableInspector;
var _store = require("./tools/store");
exports.enableStore = _store.enableStore;
var _resetAll = _interopRequireDefault(require("./tools/resetAll"));
exports.resetAll = _resetAll.default;
var _core = require("./core");
Object.keys(_core).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _core[key]) return;
exports[key] = _core[key];
});
var _plugins = require("./plugins");
Object.keys(_plugins).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _plugins[key]) return;
exports[key] = _plugins[key];
});
var _tools = require("./tools");
Object.keys(_tools).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _tools[key]) return;
exports[key] = _tools[key];
});
{
"name": "simpler-state",
"version": "2.0.0-rc.4",
"version": "2.0.0-rc.5",
"description": "The simplest app state management for React",

@@ -19,5 +19,35 @@ "keywords": [

"homepage": "https://simpler-state.js.org",
"main": "lib/index.js",
"module": "es/index.js",
"typings": "types/index.d.ts",
"main": "./lib/core/index.js",
"module": "./es/core/index.js",
"types": "./types/core/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"default": "./lib/core/index.js",
"module": "./es/core/index.js",
"types": "./types/core/index.d.ts",
"import": {
"default": "./es/core/index.js",
"types": "./types/core/index.d.ts"
}
},
"./plugins": {
"default": "./lib/plugins/index.js",
"module": "./es/plugins/index.js",
"types": "./types/plugins/index.d.ts",
"import": {
"default": "./es/plugins/index.js",
"types": "./types/plugins/index.d.ts"
}
},
"./tools": {
"default": "./lib/tools/index.js",
"module": "./es/tools/index.js",
"types": "./types/tools/index.d.ts",
"import": {
"default": "./es/tools/index.js",
"types": "./types/tools/index.d.ts"
}
}
},
"files": [

@@ -46,3 +76,3 @@ "lib",

"@babel/runtime": "^7.21.0",
"use-sync-external-store": "^1.0.0"
"use-sync-external-store": "^1.2.0"
},

@@ -49,0 +79,0 @@ "devDependencies": {

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

export { default as entity } from './core/entity';
export { default as useEntity } from './core/useEntity';
export { strictEqual, shallowEqual } from './core/equality';
export { default as alias } from './plugins/alias';
export { default as persistence } from './plugins/persistence';
export { enableInspector } from './tools/inspector';
export { enableStore } from './tools/store';
export { default as resetAll } from './tools/resetAll';
export * from './core';
export * from './plugins';
export * from './tools';
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