Socket
Socket
Sign inDemoInstall

path-to-regexp

Package Overview
Dependencies
Maintainers
5
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 0.1.7 to 0.1.8

4

index.js

@@ -10,3 +10,3 @@ /**

*/
var MATCHING_GROUP_REGEXP = /\((?!\?)/g;
var MATCHING_GROUP_REGEXP = /\((?:\?<(.*?)>)?(?!\?)/g;

@@ -44,3 +44,3 @@ /**

keys.push({
name: name++,
name: m[1] || name++,
optional: false,

@@ -47,0 +47,0 @@ offset: m.index

{
"name": "path-to-regexp",
"description": "Express style path to RegExp utility",
"version": "0.1.7",
"version": "0.1.8",
"files": [

@@ -6,0 +6,0 @@ "index.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