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

boring-router

Package Overview
Dependencies
Maintainers
5
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boring-router - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

32

bld/library/route-match/route-match.js

@@ -549,2 +549,18 @@ "use strict";

}
for (let reactiveEntry of this._reactiveEntrySet) {
if (reactiveEntry.disposer) {
reactiveEntry.disposer();
console.warn('Unexpected disposer during enter phase.');
}
(0, _utils_1.tolerate)(() => {
switch (reactiveEntry.type) {
case 'autorun':
reactiveEntry.disposer = (0, mobx_1.autorun)(reactiveEntry.view, reactiveEntry.options);
break;
case 'reaction':
reactiveEntry.disposer = (0, mobx_1.reaction)(reactiveEntry.expression, reactiveEntry.effect, reactiveEntry.options);
break;
}
});
}
}

@@ -594,18 +610,2 @@ /** @internal */

}
for (let reactiveEntry of this._reactiveEntrySet) {
if (reactiveEntry.disposer) {
reactiveEntry.disposer();
console.warn('Unexpected disposer during afterEnter phase.');
}
(0, _utils_1.tolerate)(() => {
switch (reactiveEntry.type) {
case 'autorun':
reactiveEntry.disposer = (0, mobx_1.autorun)(reactiveEntry.view, reactiveEntry.options);
break;
case 'reaction':
reactiveEntry.disposer = (0, mobx_1.reaction)(reactiveEntry.expression, reactiveEntry.effect, reactiveEntry.options);
break;
}
});
}
}

@@ -612,0 +612,0 @@ /** @internal */

{
"name": "boring-router",
"version": "0.5.7",
"version": "0.5.8",
"description": "A type-safe MobX router with parallel routing support.",

@@ -37,3 +37,3 @@ "license": "MIT",

},
"gitHead": "8563c7cdfd550e38d284391cb4b689c7dc14b925"
"gitHead": "8c5732eae954466cc429d6a40fadb26c05c7eca0"
}

@@ -929,2 +929,27 @@ import {

}
for (let reactiveEntry of this._reactiveEntrySet) {
if (reactiveEntry.disposer) {
reactiveEntry.disposer();
console.warn('Unexpected disposer during enter phase.');
}
tolerate(() => {
switch (reactiveEntry.type) {
case 'autorun':
reactiveEntry.disposer = autorun(
reactiveEntry.view,
reactiveEntry.options,
);
break;
case 'reaction':
reactiveEntry.disposer = reaction(
reactiveEntry.expression,
reactiveEntry.effect,
reactiveEntry.options,
);
break;
}
});
}
}

@@ -988,27 +1013,2 @@

}
for (let reactiveEntry of this._reactiveEntrySet) {
if (reactiveEntry.disposer) {
reactiveEntry.disposer();
console.warn('Unexpected disposer during afterEnter phase.');
}
tolerate(() => {
switch (reactiveEntry.type) {
case 'autorun':
reactiveEntry.disposer = autorun(
reactiveEntry.view,
reactiveEntry.options,
);
break;
case 'reaction':
reactiveEntry.disposer = reaction(
reactiveEntry.expression,
reactiveEntry.effect,
reactiveEntry.options,
);
break;
}
});
}
}

@@ -1015,0 +1015,0 @@

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