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
5
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.1.0 to 3.1.3

2

lib/page.d.ts

@@ -202,3 +202,3 @@ /** The page instance */

method: string;
regexp: any;
regexp: RegExp;
keys: any[];

@@ -205,0 +205,0 @@ /**

@@ -18,3 +18,3 @@ /**

import {pathToRegexp} from 'path-to-regexp/dist.es2015/index.js';
import {pathToRegexp} from 'path-to-regexp';

@@ -21,0 +21,0 @@ /**

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

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

@@ -6,5 +6,5 @@ export default Router;

path: string;
params?: Array<string> | undefined;
authenticated?: boolean | undefined;
subRoutes?: Array<RouteConfig> | undefined;
params: (Array<string> | undefined);
authenticated: (boolean | undefined);
subRoutes: (Array<RouteConfig> | undefined);
};

@@ -27,3 +27,3 @@ declare class Router {

/** @param {!RouteTreeNode|undefined} root */
set routeTree(arg: RouteTreeNode);
set routeTree(root: RouteTreeNode);
/** @return {!RouteTreeNode|undefined} */

@@ -118,3 +118,30 @@ get routeTree(): RouteTreeNode;

import routingMixin from './lib/routing-mixin.js';
/**
* @fileoverview Router for banno web.
*
* Page.js is used to parse route paths and invoke callbacks
* when routes are entered or exited. This class provides
* support for storing the routing tree and registering the
* route callbacks with Page.js.
*
* Routes should form a tree. Example:
*
* _Root_
* / \
* A D
* / \ \
* B C E
*/
/**
* @typedef {{
* id: string,
* tagName: string,
* path: string,
* params: (Array<string>|undefined),
* authenticated: (boolean|undefined),
* subRoutes: (Array<RouteConfig>|undefined),
* }} RouteConfig
*/
declare let RouteConfig: any;
import { Page } from './lib/page.js';
export { animatedRoutingMixin, BasicRoutingInterface, Context, RouteData, RouteTreeNode, routingMixin };

@@ -19,10 +19,12 @@ /**

/**
* @typedef {Object} RouteConfig
* @property {string} id
* @property {string} tagName
* @property {string} path
* @property {Array<string>=} params
* @property {boolean=} authenticated
* @property {Array<RouteConfig>=} subRoutes
* @typedef {{
* id: string,
* tagName: string,
* path: string,
* params: (Array<string>|undefined),
* authenticated: (boolean|undefined),
* subRoutes: (Array<RouteConfig>|undefined),
* }} RouteConfig
*/
let RouteConfig;

@@ -29,0 +31,0 @@ import {Context, Page} from './lib/page.js';

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