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

microcosm

Package Overview
Dependencies
Maintainers
4
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

microcosm - npm Package Compare versions

Comparing version 12.13.0-alpha.1 to 12.13.0-alpha.2

4

es/microcosm.js

@@ -1429,3 +1429,4 @@ /**

DomainEngine.prototype.add = function add (key , config , options ) {
DomainEngine.prototype.add = function add (key , config , options ) {
var deepOptions = merge(

@@ -1534,2 +1535,3 @@ this.repo.options,

EffectEngine.prototype.add = function add (config , options ) {
var deepOptions = merge(this.repo.options, config.defaults, options);

@@ -1536,0 +1538,0 @@ var effect = createOrClone(config, deepOptions, this.repo);

@@ -1433,3 +1433,4 @@ 'use strict';

DomainEngine.prototype.add = function add (key , config , options ) {
DomainEngine.prototype.add = function add (key , config , options ) {
var deepOptions = merge(

@@ -1538,2 +1539,3 @@ this.repo.options,

EffectEngine.prototype.add = function add (config , options ) {
var deepOptions = merge(this.repo.options, config.defaults, options);

@@ -1540,0 +1542,0 @@ var effect = createOrClone(config, deepOptions, this.repo);

{
"name": "microcosm",
"version": "12.13.0-alpha.1",
"version": "12.13.0-alpha.2",
"description": "Flux with actions at center stage. Write optimistic updates, cancel requests, and track changes with ease.",

@@ -5,0 +5,0 @@ "main": "microcosm.js",

@@ -1487,3 +1487,10 @@ 'use strict';

DomainEngine.prototype.add = function add (key , config , options ) {
DomainEngine.prototype.add = function add (key , config , options ) {
console.assert(
!options || options.constructor === Object,
("repo.addDomain(\"" + key + "\", domain, options) expected a plain object."),
'Instead got',
get(options, 'constructor.name', 'Unknown')
);
var deepOptions = merge(

@@ -1592,2 +1599,8 @@ this.repo.options,

EffectEngine.prototype.add = function add (config , options ) {
console.assert(
!options || options.constructor === Object,
'repo.addEffect(Effect, options) expected a plain object. Instead got',
get(options, 'constructor.name', 'Unknown')
);
var deepOptions = merge(this.repo.options, config.defaults, options);

@@ -1594,0 +1607,0 @@ var effect = createOrClone(config, deepOptions, this.repo);

{
"name": "microcosm",
"version": "12.13.0-alpha.1",
"version": "12.13.0-alpha.2",
"description": "Flux with actions at center stage. Write optimistic updates, cancel requests, and track changes with ease.",

@@ -5,0 +5,0 @@ "main": "microcosm.js",

@@ -1435,3 +1435,4 @@ (function (global, factory) {

DomainEngine.prototype.add = function add (key , config , options ) {
DomainEngine.prototype.add = function add (key , config , options ) {
var deepOptions = merge(

@@ -1540,2 +1541,3 @@ this.repo.options,

EffectEngine.prototype.add = function add (config , options ) {
var deepOptions = merge(this.repo.options, config.defaults, options);

@@ -1542,0 +1544,0 @@ var effect = createOrClone(config, deepOptions, this.repo);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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