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

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 Versions

1
7

1.5.0

Diff

Changelog

Source

1.5.0 / 2016-05-20

  • Handle partial token segments (better)
  • Allow compile to handle asterisk token segments
blakeembrey
published 1.4.0 •

Changelog

Source

1.4.0 / 2016-05-18

  • Handle RegExp unions in path matching groups
blakeembrey
published 1.3.0 •

Changelog

Source

1.3.0 / 2016-05-08

  • Clarify README language and named parameter token support
  • Support advanced Closure Compiler with type annotations
  • Add pretty paths options to compiled function output
  • Add TypeScript definition to project
  • Improved prefix handling with non-complete segment parameters (E.g. /:foo?-bar)
blakeembrey
published 1.2.1 •

Changelog

Source

1.2.1 / 2015-08-17

  • Encode values before validation with path compilation function
  • More examples of using compilation in README
blakeembrey
published 0.1.7 •

blakeembrey
published 0.1.6 •

blakeembrey
published 1.2.0 •

Changelog

Source

1.2.0 / 2015-05-20

  • Add support for matching an asterisk (*) as an unnamed match everything group ((.*))
blakeembrey
published 1.1.1 •

Changelog

Source

1.1.1 / 2015-05-11

  • Expose methods for working with path tokens
blakeembrey
published 1.1.0 •

Changelog

Source

1.1.0 / 2015-05-09

  • Expose the parser implementation to consumers
  • Implement a compiler function to generate valid strings
  • Huge refactor of tests to be more DRY and cover new parse and compile functions
  • Use chai in tests
  • Add .editorconfig
blakeembrey
published 0.1.5 •

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