Socket
Socket
Sign inDemoInstall

next-typed-routes

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-typed-routes - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md
# 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)

2

lib/route-creator.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc