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
4
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 2.0.2 to 2.0.3

76

lib/animated-routing-mixin.d.ts

@@ -49,2 +49,3 @@ export default animatedRoutingMixin;

outerText: string;
popover: string;
spellcheck: boolean;

@@ -55,2 +56,5 @@ title: string;

click(): void;
hidePopover(): void;
showPopover(): void;
togglePopover(force?: boolean): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;

@@ -87,5 +91,8 @@ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;

attachShadow(init: ShadowRootInit): ShadowRoot;
checkVisibility(options?: CheckVisibilityOptions): boolean;
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
closest<E extends Element = Element>(selectors: string): E;
computedStyleMap(): StylePropertyMapReadOnly;
getAttribute(qualifiedName: string): string;

@@ -99,7 +106,10 @@ getAttributeNS(namespace: string, localName: string): string;

getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;

@@ -162,20 +172,20 @@ hasAttribute(qualifiedName: string): boolean;

replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
readonly ATTRIBUTE_NODE: number;
readonly CDATA_SECTION_NODE: number;
readonly COMMENT_NODE: number;
readonly DOCUMENT_FRAGMENT_NODE: number;
readonly DOCUMENT_NODE: number;
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
readonly DOCUMENT_POSITION_CONTAINS: number;
readonly DOCUMENT_POSITION_DISCONNECTED: number;
readonly DOCUMENT_POSITION_FOLLOWING: number;
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
readonly DOCUMENT_POSITION_PRECEDING: number;
readonly DOCUMENT_TYPE_NODE: number;
readonly ELEMENT_NODE: number;
readonly ENTITY_NODE: number;
readonly ENTITY_REFERENCE_NODE: number;
readonly NOTATION_NODE: number;
readonly PROCESSING_INSTRUCTION_NODE: number;
readonly TEXT_NODE: number;
readonly ELEMENT_NODE: 1;
readonly ATTRIBUTE_NODE: 2;
readonly TEXT_NODE: 3;
readonly CDATA_SECTION_NODE: 4;
readonly ENTITY_REFERENCE_NODE: 5;
readonly ENTITY_NODE: 6;
readonly PROCESSING_INSTRUCTION_NODE: 7;
readonly COMMENT_NODE: 8;
readonly DOCUMENT_NODE: 9;
readonly DOCUMENT_TYPE_NODE: 10;
readonly DOCUMENT_FRAGMENT_NODE: 11;
readonly NOTATION_NODE: 12;
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
readonly DOCUMENT_POSITION_PRECEDING: 2;
readonly DOCUMENT_POSITION_FOLLOWING: 4;
readonly DOCUMENT_POSITION_CONTAINS: 8;
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
dispatchEvent(event: Event): boolean;

@@ -188,3 +198,2 @@ ariaAtomic: string;

ariaColIndex: string;
ariaColIndexText: string;
ariaColSpan: string;

@@ -213,3 +222,2 @@ ariaCurrent: string;

ariaRowIndex: string;
ariaRowIndexText: string;
ariaRowSpan: string;

@@ -239,13 +247,15 @@ ariaSelected: string;

prepend(...nodes: (string | Node)[]): void;
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
replaceChildren(...nodes: (string | Node)[]): void;
readonly assignedSlot: HTMLSlotElement;
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
readonly attributeStyleMap: StylePropertyMap;
readonly style: CSSStyleDeclaration;

@@ -271,3 +281,5 @@ contentEditable: string;

oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;

@@ -305,2 +317,3 @@ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;

onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
onpause: (this: GlobalEventHandlers, ev: Event) => any;

@@ -322,2 +335,3 @@ onplay: (this: GlobalEventHandlers, ev: Event) => any;

onscroll: (this: GlobalEventHandlers, ev: Event) => any;
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;

@@ -363,3 +377,3 @@ onseeked: (this: GlobalEventHandlers, ev: Event) => any;

};
import RouteTreeNode from "./route-tree-node.js";
import { Context } from "./page.js";
import RouteTreeNode from './route-tree-node.js';
import { Context } from './page.js';

@@ -132,3 +132,3 @@ export default RouteTreeNode;

}
import RouteData from "./route-data.js";
import { Context } from "./page.js";
import RouteData from './route-data.js';
import { Context } from './page.js';

@@ -27,3 +27,3 @@ export { BasicRoutingInterface as default };

}
import RouteTreeNode from "./route-tree-node.js";
import { Context } from "./page.js";
import RouteTreeNode from './route-tree-node.js';
import { Context } from './page.js';

@@ -45,2 +45,3 @@ /**

outerText: string;
popover: string;
spellcheck: boolean;

@@ -51,2 +52,5 @@ title: string;

click(): void;
hidePopover(): void;
showPopover(): void;
togglePopover(force?: boolean): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;

@@ -84,5 +88,8 @@ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;

attachShadow(init: ShadowRootInit): ShadowRoot;
checkVisibility(options?: CheckVisibilityOptions): boolean;
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
closest<E extends Element = Element>(selectors: string): E;
computedStyleMap(): StylePropertyMapReadOnly;
getAttribute(qualifiedName: string): string;

@@ -96,7 +103,10 @@ getAttributeNS(namespace: string, localName: string): string;

getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;

@@ -159,20 +169,20 @@ hasAttribute(qualifiedName: string): boolean;

replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
readonly ATTRIBUTE_NODE: number;
readonly CDATA_SECTION_NODE: number;
readonly COMMENT_NODE: number;
readonly DOCUMENT_FRAGMENT_NODE: number;
readonly DOCUMENT_NODE: number;
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
readonly DOCUMENT_POSITION_CONTAINS: number;
readonly DOCUMENT_POSITION_DISCONNECTED: number;
readonly DOCUMENT_POSITION_FOLLOWING: number;
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
readonly DOCUMENT_POSITION_PRECEDING: number;
readonly DOCUMENT_TYPE_NODE: number;
readonly ELEMENT_NODE: number;
readonly ENTITY_NODE: number;
readonly ENTITY_REFERENCE_NODE: number;
readonly NOTATION_NODE: number;
readonly PROCESSING_INSTRUCTION_NODE: number;
readonly TEXT_NODE: number;
readonly ELEMENT_NODE: 1;
readonly ATTRIBUTE_NODE: 2;
readonly TEXT_NODE: 3;
readonly CDATA_SECTION_NODE: 4;
readonly ENTITY_REFERENCE_NODE: 5;
readonly ENTITY_NODE: 6;
readonly PROCESSING_INSTRUCTION_NODE: 7;
readonly COMMENT_NODE: 8;
readonly DOCUMENT_NODE: 9;
readonly DOCUMENT_TYPE_NODE: 10;
readonly DOCUMENT_FRAGMENT_NODE: 11;
readonly NOTATION_NODE: 12;
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
readonly DOCUMENT_POSITION_PRECEDING: 2;
readonly DOCUMENT_POSITION_FOLLOWING: 4;
readonly DOCUMENT_POSITION_CONTAINS: 8;
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
dispatchEvent(event: Event): boolean;

@@ -185,3 +195,2 @@ ariaAtomic: string;

ariaColIndex: string;
ariaColIndexText: string;
ariaColSpan: string;

@@ -210,3 +219,2 @@ ariaCurrent: string;

ariaRowIndex: string;
ariaRowIndexText: string;
ariaRowSpan: string;

@@ -236,13 +244,15 @@ ariaSelected: string;

prepend(...nodes: (string | Node)[]): void;
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
replaceChildren(...nodes: (string | Node)[]): void;
readonly assignedSlot: HTMLSlotElement;
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
readonly attributeStyleMap: StylePropertyMap;
readonly style: CSSStyleDeclaration;

@@ -268,3 +278,5 @@ contentEditable: string;

oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;

@@ -302,2 +314,3 @@ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;

onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
onpause: (this: GlobalEventHandlers, ev: Event) => any;

@@ -319,2 +332,3 @@ onplay: (this: GlobalEventHandlers, ev: Event) => any;

onscroll: (this: GlobalEventHandlers, ev: Event) => any;
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;

@@ -355,5 +369,5 @@ onseeked: (this: GlobalEventHandlers, ev: Event) => any;

};
import BasicRoutingInterface from "./routing-interface.js";
import RouteTreeNode from "./route-tree-node.js";
import { Context } from "./page.js";
import BasicRoutingInterface from './routing-interface.js';
import RouteTreeNode from './route-tree-node.js';
import { Context } from './page.js';
export { routingMixin as default, BasicRoutingInterface };
{
"name": "@jack-henry/web-component-router",
"version": "2.0.2",
"version": "2.0.3",
"description": "Web Components Router",

@@ -34,13 +34,16 @@ "main": "router.js",

"resolutions": {
"@types/node": "^18.11.18"
"@types/node": "^18.11.18",
"socket.io-parser": "^4.2.3",
"qs":"^6.7.3",
"engine.io": "^6.4.2"
},
"devDependencies": {
"@polymer/polymer": "^3.4.1",
"jasmine-core": "4.x",
"karma": "6.x",
"karma-chrome-launcher": "^3.1.0",
"jasmine-core": "^5.x",
"karma": "^6.x",
"karma-chrome-launcher": "^3.2.0",
"karma-jasmine": "5.x",
"karma-spec-reporter": "^0.0.34",
"typescript": "^4.9.4"
"karma-spec-reporter": "^0.0.36",
"typescript": "^5.2.2"
}
}

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

/** @type {!Set<!function(!Error=):?>} */
routeChangeCompleteCallbacks_: Set<(arg0?: Error | undefined) => unknown>;
routeChangeCompleteCallbacks_: Set<(arg0: Error | undefined) => unknown>;
page: Page;

@@ -98,9 +98,9 @@ /** @param {!RouteTreeNode|undefined} root */

}
import animatedRoutingMixin from "./lib/animated-routing-mixin.js";
import BasicRoutingInterface from "./lib/routing-interface.js";
import { Context } from "./lib/page.js";
import RouteData from "./lib/route-data.js";
import RouteTreeNode from "./lib/route-tree-node.js";
import routingMixin from "./lib/routing-mixin.js";
import { Page } from "./lib/page.js";
import animatedRoutingMixin from './lib/animated-routing-mixin.js';
import BasicRoutingInterface from './lib/routing-interface.js';
import { Context } from './lib/page.js';
import RouteData from './lib/route-data.js';
import RouteTreeNode from './lib/route-tree-node.js';
import routingMixin from './lib/routing-mixin.js';
import { Page } from './lib/page.js';
export { animatedRoutingMixin, BasicRoutingInterface, Context, RouteData, RouteTreeNode, routingMixin };
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