Socket
Socket
Sign inDemoInstall

path-to-regexp

Package Overview
Dependencies
Maintainers
30
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.2.5 to 1.0.0

2

component.json
{
"name": "path-to-regexp",
"description": "Express style path to RegExp utility",
"version": "0.2.5",
"version": "1.0.0",
"keywords": [

@@ -6,0 +6,0 @@ "express",

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

1.0.0 / 2014-08-17
==================
* No more API changes
0.2.5 / 2014-08-07

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

{
"name": "path-to-regexp",
"description": "Express style path to RegExp utility",
"version": "0.2.5",
"version": "1.0.0",
"scripts": {

@@ -25,5 +25,5 @@ "test": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec"

"devDependencies": {
"istanbul": "~0.2.6",
"mocha": "~1.18.2"
"istanbul": "^0.3.0",
"mocha": "^1.21.4"
}
}

@@ -26,5 +26,5 @@ # Path-to-RegExp

- **options**
- **options.sensitive** When set to `true` the route will be case sensitive.
- **options.strict** When set to `true` a slash is allowed to be trailing the path.
- **options.end** When set to `false` the path will match at the beginning.
- **sensitive** When `true` the route will be case sensitive. (default: `false`)
- **strict** When `false` the trailing slash is optional. (default: `false`)
- **end** When `false` the path will match at the beginning. (default: `true`)

@@ -31,0 +31,0 @@ ```javascript

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