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

aurelia-route-recognizer

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-route-recognizer - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

bower.json
{
"name": "aurelia-route-recognizer",
"version": "1.3.0",
"version": "1.3.1",
"description": "A lightweight JavaScript library that matches paths against registered routes. It includes support for dynamic and star segments and nested handlers.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,2 +5,10 @@ import {

} from 'aurelia-path';
/*
* An object that is indexed and used for route generation, particularly for dynamic routes.
*/
export declare interface RouteGenerator {
segments: Array<StaticSegment | DynamicSegment | StarSegment | EpsilonSegment>;
handlers: HandlerEntry[];
}
export declare interface RouteHandler {

@@ -29,13 +37,2 @@ name: string;

/**
* An object that is indexed and used for route generation, particularly for dynamic routes.
*/
/**
* An object that is indexed and used for route generation, particularly for dynamic routes.
*/
export declare interface RouteGenerator {
segments: Segment[];
handlers: HandlerEntry[];
}
// A State has a character specification and (`charSpec`) and a list of possible

@@ -170,3 +167,3 @@ // subsequent states (`nextStates`).

*/
recognize(path: string): RecognizeResults;
recognize(path: string): RecognizedRoute[] | void;
}

@@ -188,2 +188,10 @@ import {buildQueryString,parseQueryString} from 'aurelia-path';

/*
* An object that is indexed and used for route generation, particularly for dynamic routes.
*/
interface RouteGenerator {
segments: Array<StaticSegment | DynamicSegment | StarSegment | EpsilonSegment>;
handlers: HandlerEntry[];
}
interface RouteHandler {

@@ -216,12 +224,3 @@ name: string;

type Segment = StaticSegment | DynamicSegment | StarSegment | EpsilonSegment;
/**
* An object that is indexed and used for route generation, particularly for dynamic routes.
*/
interface RouteGenerator {
segments: Segment[];
handlers: HandlerEntry[];
}
/**
* Class that parses route patterns and matches path strings.

@@ -425,3 +424,3 @@ *

*/
recognize(path: string): RecognizeResults {
recognize(path: string): RecognizedRoute[] | void {
let states = [this.rootState];

@@ -428,0 +427,0 @@ let queryParams = {};

@@ -0,1 +1,6 @@

<a name="1.3.1"></a>
## [1.3.1](https://github.com/aurelia/route-recognizer/compare/1.3.0...1.3.1) (2018-11-20)
<a name="1.3.0"></a>

@@ -2,0 +7,0 @@ # [1.3.0](https://github.com/aurelia/route-recognizer/compare/1.2.0...1.3.0) (2018-11-20)

{
"name": "aurelia-route-recognizer",
"version": "1.3.0",
"version": "1.3.1",
"description": "A lightweight JavaScript library that matches paths against registered routes. It includes support for dynamic and star segments and nested handlers.",

@@ -5,0 +5,0 @@ "keywords": [

import { StaticSegment, DynamicSegment, StarSegment, EpsilonSegment } from './segments';
/*
* An object that is indexed and used for route generation, particularly for dynamic routes.
*/
interface RouteGenerator {
segments: Array<StaticSegment | DynamicSegment | StarSegment | EpsilonSegment>;
handlers: HandlerEntry[];
}
interface RouteHandler {

@@ -29,10 +37,1 @@ name: string;

}
type Segment = StaticSegment | DynamicSegment | StarSegment | EpsilonSegment;
/**
* An object that is indexed and used for route generation, particularly for dynamic routes.
*/
interface RouteGenerator {
segments: Segment[];
handlers: HandlerEntry[];
}

@@ -209,3 +209,3 @@ import {buildQueryString, parseQueryString} from 'aurelia-path';

*/
recognize(path: string): RecognizeResults {
recognize(path: string): RecognizedRoute[] | void {
let states = [this.rootState];

@@ -212,0 +212,0 @@ let queryParams = {};

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