multi-path-matcher
Advanced tools
Comparing version 2.0.14 to 2.0.15
{ | ||
"name": "multi-path-matcher", | ||
"version": "2.0.14", | ||
"version": "2.0.15", | ||
"publishConfig": { | ||
@@ -28,9 +28,9 @@ "access": "public" | ||
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m && c8 report -r lcov -o build/coverage --temp-directory build/tmp", | ||
"docs": "documentation readme src/multi-path-matcher.mjs --section=API", | ||
"lint": "documentation lint src/multi-path-matcher.mjs" | ||
"docs": "documentation readme ./src/multi-path-matcher.mjs --section=API", | ||
"lint": "documentation lint ./src/multi-path-matcher.mjs" | ||
}, | ||
"devDependencies": { | ||
"ava": "^3.8.2", | ||
"c8": "^7.1.2", | ||
"documentation": "^13.0.0", | ||
"c8": "^7.2.0", | ||
"documentation": "^13.0.1", | ||
"semantic-release": "^17.0.8" | ||
@@ -51,6 +51,6 @@ }, | ||
"inheritFrom": [ | ||
"arlac77/template-esm-only", | ||
"arlac77/template-github" | ||
"arlac77/template-arlac77-github", | ||
"arlac77/template-esm-only" | ||
] | ||
} | ||
} |
@@ -5,3 +5,2 @@ [![npm](https://img.shields.io/npm/v/multi-path-matcher.svg)](https://www.npmjs.com/package/multi-path-matcher) | ||
[![downloads](http://img.shields.io/npm/dm/multi-path-matcher.svg?style=flat-square)](https://npmjs.org/package/multi-path-matcher) | ||
[![GitHub Issues](https://img.shields.io/github/issues/arlac77/multi-path-matcher.svg?style=flat-square)](https://github.com/arlac77/multi-path-matcher/issues) | ||
[![Build Status](https://travis-ci.com/arlac77/multi-path-matcher.svg?branch=master)](https://travis-ci.com/arlac77/multi-path-matcher) | ||
@@ -39,5 +38,5 @@ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/arlac77/multi-path-matcher.git) | ||
matcher(compiled, "/a/b/c"); // routes[0] | ||
matcher(compiled, "/d/value1/e"); // routes[3] { att1: "value1" } | ||
matcher(compiled, "/d/value1/e/value2"); // routes[2] { att1: "value1", att2: "value2" } | ||
matcher(compiled, "/"); // routes[4] | ||
matcher(compiled, "/d/value1/e"); // routes[3] { att1: "value1" } | ||
matcher(compiled, "/d/value1/e/value2?sort=asc"); // routes[2] { att1: "value1", att2: "value2" } | ||
matcher(compiled, "/"); // routes[4] | ||
``` | ||
@@ -44,0 +43,0 @@ |
Sorry, the diff of this file is not supported yet
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
11068
176