Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

route-node

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

route-node - npm Package Compare versions

Comparing version 3.4.1 to 3.4.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="3.4.2"></a>
## [3.4.2](https://github.com/troch/route-node/compare/v3.4.1...v3.4.2) (2018-10-16)
### Bug Fixes
* fix TypeError when there is no match for path ([338df8c](https://github.com/troch/route-node/commit/338df8c))
<a name="3.4.1"></a>

@@ -2,0 +12,0 @@ ## [3.4.1](https://github.com/troch/route-node/compare/v3.4.0...v3.4.1) (2018-10-04)

3

dist/cjs/route-node.js

@@ -159,2 +159,5 @@ 'use strict';

}
else {
remainingPath = segment;
}
if (!strictTrailingSlash && !child.children.length) {

@@ -161,0 +164,0 @@ remainingPath = remainingPath.replace(/^\/\?/, '?');

@@ -157,2 +157,5 @@ import { build, omit, parse } from 'search-params';

}
else {
remainingPath = segment;
}
if (!strictTrailingSlash && !child.children.length) {

@@ -159,0 +162,0 @@ remainingPath = remainingPath.replace(/^\/\?/, '?');

@@ -619,2 +619,5 @@ (function (global, factory) {

}
else {
remainingPath = segment;
}
if (!strictTrailingSlash && !child.children.length) {

@@ -621,0 +624,0 @@ remainingPath = remainingPath.replace(/^\/\?/, '?');

@@ -63,4 +63,8 @@ import { omit, parse } from 'search-params'

// regexp character.
if (segment.toLowerCase().indexOf(consumedPath.toLowerCase()) === 0) {
if (
segment.toLowerCase().indexOf(consumedPath.toLowerCase()) === 0
) {
remainingPath = segment.slice(consumedPath.length)
} else {
remainingPath = segment
}

@@ -67,0 +71,0 @@

2

package.json
{
"name": "route-node",
"version": "3.4.1",
"version": "3.4.2",
"description": "A package to create a tree of named routes",

@@ -5,0 +5,0 @@ "main": "dist/cjs/route-node.js",

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