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

@jack-henry/web-component-router

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jack-henry/web-component-router - npm Package Compare versions

Comparing version 3.8.0 to 3.9.0

6

lib/route-data.d.ts

@@ -11,5 +11,5 @@ export default RouteData;

* @param {boolean=} requiresAuthentication
* @param {function():Promise<undefined>=} beforeEnter
* @param {function():(Promise<unknown>|undefined)=} beforeEnter
*/
constructor(id: string, tagName: string, path: string, namedParameters?: Array<string> | undefined, requiresAuthentication?: boolean | undefined, beforeEnter?: (() => Promise<undefined>) | undefined);
constructor(id: string, tagName: string, path: string, namedParameters?: Array<string> | undefined, requiresAuthentication?: boolean | undefined, beforeEnter?: (() => (Promise<unknown> | undefined)) | undefined);
id: string;

@@ -24,3 +24,3 @@ tagName: string;

requiresAuthentication: boolean;
beforeEnter: () => Promise<void>;
beforeEnter: () => (Promise<unknown> | undefined);
}

@@ -11,3 +11,3 @@ /** @fileoverview Basic data for a route */

* @param {boolean=} requiresAuthentication
* @param {function():Promise<undefined>=} beforeEnter
* @param {function():(Promise<unknown>|undefined)=} beforeEnter
*/

@@ -14,0 +14,0 @@ constructor(id, tagName, path, namedParameters, requiresAuthentication, beforeEnter) {

{
"name": "@jack-henry/web-component-router",
"version": "3.8.0",
"version": "3.9.0",
"description": "Web Components Router",

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

@@ -48,3 +48,3 @@ # @jack-henry/web-component-router

* @param {boolean=} requiresAuthentication (optional - defaults true)
* @param {function():Promise<undefined>=} beforeEnter Optionally allows you to dynamically import the component for a given route. The route-mixin.js will call your beforeEnter on routeEnter if the component does not exist in the dom.
* @param {function():(Promise<unknown>|undefined)=} beforeEnter Optionally allows you to dynamically import the component for a given route. The route-mixin.js will call your beforeEnter on routeEnter if the component does not exist in the dom.
*/

@@ -51,0 +51,0 @@ const routeData = new RouteData(

@@ -9,3 +9,3 @@ export default Router;

subRoutes: (Array<RouteConfig> | undefined);
beforeEnter: (() => Promise<undefined> | undefined);
beforeEnter?: (() => Promise<unknown> | undefined);
};

@@ -12,0 +12,0 @@ declare class Router {

@@ -26,3 +26,3 @@ /**

* subRoutes: (Array<RouteConfig>|undefined),
* beforeEnter: (function():Promise<undefined>|undefined)
* beforeEnter?: (function():Promise<unknown>|undefined)
* }} RouteConfig

@@ -29,0 +29,0 @@ */

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