next-typed-routes
Advanced tools
Comparing version 1.0.0 to 1.0.1
# Changelog | ||
## 1.0.1 (2019-10-09) | ||
- Fix `createRoute` function parse #5 - [@jagaapple](https://github.com/jagaapple) | ||
## 1.0.0 (2019-10-09) | ||
@@ -3,0 +7,0 @@ - Initial public release - [@jagaapple](https://github.com/jagaapple) |
@@ -22,3 +22,3 @@ "use strict"; | ||
const newSegment = (() => { | ||
const matches = segment.match(/_(.*?)_/); | ||
const matches = segment.match(/\[(.*?)\]/); | ||
if (matches == undefined) | ||
@@ -25,0 +25,0 @@ return segment; |
{ | ||
"name": "next-typed-routes", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Type safe route utilities for Next.js.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
20814