Socket
Socket
Sign inDemoInstall

path-to-regexp

Package Overview
Dependencies
0
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12356Next

1.3.0

Diff

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 •

blakeembrey
published 0.1.4 •

blakeembrey
published 1.0.3 •

Changelog

Source

1.0.3 / 2015-01-17

  • Optimised function runtime
  • Added files to package.json
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc