uri-template-lite
Advanced tools
Comparing version 19.12.0 to 20.5.0
@@ -5,3 +5,3 @@ | ||
/** | ||
* @version 19.12.0 | ||
* @version 20.5.0 | ||
* @author Lauri Rooden <lauri@rooden.ee> | ||
@@ -25,3 +25,3 @@ * @license MIT License | ||
, escapeRe = /[$-\/?[-^{|}]/g | ||
, expandRe = /\{([#&+.\/;?]?)((?:[\w%.]+(\*|:\d+)?,?)+)\}/g | ||
, expandRe = /\{([#&+.\/;?]?)((?:[-\w%.]+(\*|:\d+)?,?)+)\}/g | ||
, parseRe = RegExp(expandRe.source + "|.[^{]*?", "g") | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "uri-template-lite", | ||
"version": "19.12.0", | ||
"version": "20.5.0", | ||
"license": "MIT", | ||
@@ -16,3 +16,2 @@ "author": "Lauri Rooden <lauri@rooden.ee>", | ||
"main": "index.js", | ||
"readmeFilename": "README.md", | ||
"files": [ | ||
@@ -19,0 +18,0 @@ "index.js" |
@@ -38,3 +38,3 @@ [1]: https://badgen.net/travis/litejs/uri-template-lite | ||
template.match("http://other.com/?query=mycelium") | ||
// Returns false | ||
// Returns null | ||
``` | ||
@@ -46,6 +46,6 @@ | ||
To use it in the browser, include uri-template-min.js in your site | ||
To use it in the browser, include uri-template.js in your site | ||
```html | ||
<script src=uri-template-min.js></script> | ||
<script src=uri-template.js></script> | ||
``` | ||
@@ -52,0 +52,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
6827