uri-template-lite
Advanced tools
Comparing version 19.11.0 to 19.12.0
@@ -5,3 +5,3 @@ | ||
/** | ||
* @version 19.11.0 | ||
* @version 19.12.0 | ||
* @author Lauri Rooden <lauri@rooden.ee> | ||
@@ -14,2 +14,3 @@ * @license MIT License | ||
!function(URI) { | ||
"use strict"; | ||
@@ -85,3 +86,2 @@ /** | ||
var self = this | ||
self.template = template | ||
//if (!(self instanceof Template)) return new Template(template) | ||
@@ -124,2 +124,3 @@ /*** PARSE ***/ | ||
, fn = Function("$", "var t,o={};" + fnStr + "return o") | ||
self.template = template | ||
self.match = function(uri) { | ||
@@ -126,0 +127,0 @@ var match = re.exec(uri) |
{ | ||
"name": "uri-template-lite", | ||
"version": "19.11.0", | ||
"version": "19.12.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Lauri Rooden <lauri@rooden.ee>", |
@@ -1,15 +0,16 @@ | ||
[1]: https://secure.travis-ci.org/litejs/uri-template-lite.png | ||
[1]: https://badgen.net/travis/litejs/uri-template-lite | ||
[2]: https://travis-ci.org/litejs/uri-template-lite | ||
[3]: https://coveralls.io/repos/litejs/uri-template-lite/badge.png | ||
[3]: https://badgen.net/coveralls/c/github/litejs/uri-template-lite | ||
[4]: https://coveralls.io/r/litejs/uri-template-lite | ||
[6]: https://www.buymeacoffee.com/lauriro | ||
[5]: https://badgen.net/packagephobia/install/uri-template-lite@19.11.0 | ||
[6]: https://packagephobia.now.sh/result?p=uri-template-lite | ||
[7]: https://badgen.net/badge/icon/Buy%20Me%20A%20Tea/orange?icon=kofi&label | ||
[8]: https://www.buymeacoffee.com/lauriro | ||
[RFC 6570]: http://tools.ietf.org/html/rfc6570 | ||
[size]: https://packagephobia.now.sh/badge?p=uri-template-lite | ||
[size-src]: https://packagephobia.now.sh/result?p=uri-template-lite | ||
URI Template Lite – [![Build][1]][2] [![Coverage][3]][4] [![Size][5]][6] [![Buy Me A Tea][7]][8] | ||
================= | ||
URI Template – [![Build][1]][2] [![Coverage][3]][4] [![size][size]][size-src] <a href="https://www.buymeacoffee.com/lauriro" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" alt="Buy Me A Tea" width="170"></a> | ||
============ | ||
URI Template [RFC 6570][] expansion and extraction. | ||
@@ -88,3 +89,3 @@ | ||
[Coveralls coverage](https://coveralls.io/github/litejs/uri-template-lite) | | ||
[Buy Me A Tea][6] | ||
[Buy Me A Tea][8] | ||
@@ -91,0 +92,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
114
100
0
6870