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 1.0.0-rc.5 to 1.0.0-rc.6

es/resetAll.js

2

es/entity.js

@@ -24,3 +24,3 @@ import { useEntity } from './useEntity';

applyPlugins(newEntity, meta);
newEntity.init(); // Save reference to this entity for use with useEntityBoundary hook
newEntity.init(); // Save reference to this entity for use with `resetAll`

@@ -27,0 +27,0 @@ store.push(newEntity);

export { default as entity } from './entity';
export { default as useEntity } from './useEntity';
export { default as useEntityBoundary } from './useEntityBoundary';
export { strictEqual, shallowEqual } from './utils';
export { default as plugin } from './plugin';
export { default as plugin } from './plugin';
export { default as resetAll } from './resetAll';

@@ -32,3 +32,3 @@ "use strict";

applyPlugins(newEntity, meta);
newEntity.init(); // Save reference to this entity for use with useEntityBoundary hook
newEntity.init(); // Save reference to this entity for use with `resetAll`

@@ -35,0 +35,0 @@ _store.store.push(newEntity);

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

exports.__esModule = true;
exports.shallowEqual = exports.strictEqual = exports.plugin = exports.useEntityBoundary = exports.useEntity = exports.entity = void 0;
exports.shallowEqual = exports.strictEqual = exports.resetAll = exports.plugin = exports.useEntity = exports.entity = void 0;

@@ -17,6 +17,2 @@ var _entity = _interopRequireDefault(require("./entity"));

var _useEntityBoundary = _interopRequireDefault(require("./useEntityBoundary"));
exports.useEntityBoundary = _useEntityBoundary["default"];
var _utils = require("./utils");

@@ -29,2 +25,6 @@

exports.plugin = _plugin["default"];
exports.plugin = _plugin["default"];
var _resetAll = _interopRequireDefault(require("./resetAll"));
exports.resetAll = _resetAll["default"];
{
"name": "simpler-state",
"version": "1.0.0-rc.5",
"version": "1.0.0-rc.6",
"description": "The simplest app state management for React",

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