find-my-way
Advanced tools
Comparing version 4.3.1 to 4.3.2
@@ -157,2 +157,3 @@ import { IncomingMessage, ServerResponse } from 'http'; | ||
prettyPrint(): string; | ||
prettyPrint(opts: { commonPrefix?: boolean }): string; | ||
@@ -159,0 +160,0 @@ all: ShortHandRoute<V>; |
{ | ||
"name": "find-my-way", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "Crazy fast http radix based router", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -39,3 +39,3 @@ # find-my-way | ||
<a name="constructor"></a> | ||
#### FindMyway([options]) | ||
#### FindMyWay([options]) | ||
Instance a new router.<br> | ||
@@ -123,3 +123,3 @@ You can pass a default route with the option `defaultRoute`. | ||
router.prettyPrintRouteArray() | ||
router.prettyPrint() | ||
@@ -126,0 +126,0 @@ //└── / (-) |
@@ -61,2 +61,4 @@ import { expectType } from 'tsd' | ||
expectType<string>(router.prettyPrint()) | ||
expectType<string>(router.prettyPrint({ commonPrefix: false })) | ||
expectType<string>(router.prettyPrint({ commonPrefix: true })) | ||
} | ||
@@ -63,0 +65,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
244832
6185