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.3 to 0.5.4

2

bld/library/route-match/route-match.d.ts

@@ -63,3 +63,3 @@ import { IAutorunOptions, IReactionDisposer, IReactionOptions, IReactionPublic } from 'mobx';

export declare type RouteReactionEffect<T> = (value: T, previousValue: T, reaction: IReactionPublic) => void;
export declare type RouteReactionOptions<T> = IReactionOptions<T> | undefined;
export declare type RouteReactionOptions<T, FireImmediately extends boolean = boolean> = IReactionOptions<T, FireImmediately> | undefined;
export declare type RouteHookRemovalCallback = () => void;

@@ -66,0 +66,0 @@ export declare type RouteBeforeEnterOrUpdateCallback<TRouteMatch extends RouteMatch = RouteMatch> = (next: TRouteMatch['$next']) => Promise<boolean | void> | boolean | void;

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

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

"jest": "^27.1.1",
"mobx": "^6.3.3",
"mobx": "^6.3.5",
"ts-jest": "^27.0.5"

@@ -38,3 +38,3 @@ },

},
"gitHead": "99fbeaaac90007ecb991e15d8476fa7d5b6c5efa"
"gitHead": "7dd3171add1618777dfbb69ad45c90997ccfa105"
}

@@ -158,9 +158,15 @@ import {

export type RouteReactionOptions<T> = IReactionOptions<T> | undefined;
export type RouteReactionOptions<
T,
FireImmediately extends boolean = boolean,
> = IReactionOptions<T, FireImmediately> | undefined;
interface RouteReactionEntry<T = unknown> {
interface RouteReactionEntry<
T = unknown,
FireImmediately extends boolean = boolean,
> {
type: 'reaction';
expression: RouteReactionExpression<T>;
effect: RouteReactionEffect<T>;
options: RouteReactionOptions<T> | undefined;
options: RouteReactionOptions<T, FireImmediately> | undefined;
disposer: RouteReactiveDisposer | undefined;

@@ -167,0 +173,0 @@ }

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