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.1.1 to 4.2.0

11

CHANGELOG.md

@@ -0,1 +1,12 @@

<a name="4.2.0"></a>
# [4.2.0](https://github.com/troch/path-parser/compare/v4.1.1...v4.2.0) (2018-07-11)
### Features
* allow star as a param value ([14bb91c](https://github.com/troch/path-parser/commit/14bb91c))
* allow @ characters in path params ([d773d8e](https://github.com/troch/path-parser/commit/d773d8e))
<a name="4.1.1"></a>

@@ -2,0 +13,0 @@ ## [4.1.1](https://github.com/troch/path-parser/compare/v4.1.0...v4.1.1) (2018-06-05)

2

dist/cjs/path-parser.js

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

return '(' +
(match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|=+]+") +
(match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|=+\\*@]+") +
')';

@@ -35,0 +35,0 @@ };

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

return '(' +
(match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|=+]+") +
(match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|=+\\*@]+") +
')';

@@ -31,0 +31,0 @@ };

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

@@ -50,2 +50,3 @@ "main": "dist/cjs/path-parser.js",

"conventional-changelog": "~1.1.18",
"conventional-changelog-cli": "~2.0.1",
"husky": "~0.14.3",

@@ -52,0 +53,0 @@ "lint-staged": "~7.0.0",

Sorry, the diff of this file is not supported yet

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