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

path-to-regexp

Package Overview
Dependencies
Maintainers
32
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-to-regexp - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

5

History.md

@@ -0,1 +1,6 @@

1.5.2 / 2016-06-15
==================
* Escape `\\` in string segments of regexp
1.5.1 / 2016-06-08

@@ -2,0 +7,0 @@ ==================

2

index.js

@@ -27,3 +27,3 @@ var isarray = require('isarray')

// "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
'([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^()])+)\\))?|\\(((?:\\\\.|[^()])+)\\))([+*?])?|(\\*))'
'([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'
].join('|'), 'g')

@@ -30,0 +30,0 @@

{
"name": "path-to-regexp",
"description": "Express style path to RegExp utility",
"version": "1.5.2",
"version": "1.5.3",
"main": "index.js",

@@ -6,0 +6,0 @@ "typings": "index.d.ts",

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