Socket
Socket
Sign inDemoInstall

path-parser

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-parser - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

10

CHANGELOG.md

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

<a name="4.0.4"></a>
## [4.0.4](https://github.com/troch/path-parser/compare/v4.0.3...v4.0.4) (2018-04-09)
### Bug Fixes
* match pipe characters in parameters (Firefox) ([d6e6d27](https://github.com/troch/path-parser/commit/d6e6d27))
<a name="4.0.3"></a>

@@ -2,0 +12,0 @@ ## [4.0.3](https://github.com/troch/path-parser/compare/v4.0.2...v4.0.3) (2018-04-03)

2

dist/cjs/path-parser.js

@@ -31,3 +31,3 @@ 'use strict';

var defaultOrConstrained = function (match) {
return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':]+") + ')';
return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|]+") + ')';
};

@@ -34,0 +34,0 @@ var rules = [

@@ -27,3 +27,3 @@ import { build, parse } from 'search-params';

var defaultOrConstrained = function (match) {
return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':]+") + ')';
return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|]+") + ')';
};

@@ -30,0 +30,0 @@ var rules = [

{
"name": "path-parser",
"version": "4.0.3",
"version": "4.0.4",
"description": "A small utility to parse, match and generate paths",

@@ -5,0 +5,0 @@ "main": "dist/cjs/path-parser.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