regexparam
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -28,3 +28,3 @@ function parse(str, loose) { | ||
var RGX = /*#__PURE__*/ /(\/|^)([:*][^/]*?)(\?)?(?=[/.]|$)/g; | ||
var RGX = /(\/|^)([:*][^/]*?)(\?)?(?=[/.]|$)/g; | ||
@@ -31,0 +31,0 @@ // error if key missing? |
{ | ||
"name": "regexparam", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"repository": "lukeed/regexparam", | ||
@@ -27,3 +27,4 @@ "description": "A tiny (394B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
"require": "./dist/index.js", | ||
"default": "./dist/index.js" | ||
}, | ||
@@ -30,0 +31,0 @@ "./package.json": "./package.json" |
Sorry, the diff of this file is not supported yet
13840
7
88