Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump path-to-regexp from 3.2.0 to 6.2.0 #125

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 20, 2020

Bumps path-to-regexp from 3.2.0 to 6.2.0.

Release notes

Sourced from path-to-regexp's releases.

Named Capturing Groups

Added

  • Support named capturing groups for RegExps (#225)

Fixed

  • Update strict flag documentation (#227)
  • Ignore test files when bundling (#220)

Use /#? as Default Delimiter

Fixed

  • Use /#? as default delimiter to avoid matching on query or fragment parameters
    • If you are matching non-paths (e.g. hostnames), you can adjust delimiter: '.'

Custom Prefix and Suffix Groups

Note: The path syntax has been stabilized with this release, no breaking changes in paths is expected.

This release reverts the prefix behavior added in v3 back to the behavior seen in v2. For the most part, path matching is backward compatible with v2 with these enhancements:

  1. Support for nested non-capturing groups in regexp, e.g. /(abc(?=d))
  2. Support for custom prefix and suffix groups using /{abc(.*)def}
  3. Tokens in an unexpected position will throw an error
    • Things like /test(foo previously would worked, now it expects ( to be closed
    • You can escape the character for the previous behavior, e.g. /test\(foo

Changed

  • Revert using any character as prefix, support prefixes option to configure this (starts as /. which acts like every version since 0.x again)
  • Add support for {} to capture prefix/suffix explicitly, enables custom use-cases like /:attr1{-:attr2}?

Remove Default Encode URI Component

No changes to path rules since 3.x, except support for nested RegEx parts in 4.x.

Changed

  • Rename RegexpOptions interface to TokensToRegexpOptions
  • Remove normalizePathname from library, document solution in README
  • Encode using identity function as default, not encodeURIComponent

Decode URI

Removed

  • Remove whitelist in favor of decodeURI (advanced behavior can happen outside path-to-regexp)

Remove String#normalize

Fixed

  • Remove usage of String.prototype.normalize to continue supporting IE

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 20, 2020
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch from 8409294 to bf7b465 Compare November 25, 2020 09:46
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 4 times, most recently from 6db21ed to cc82624 Compare December 14, 2020 11:48
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 5 times, most recently from 7f87433 to 1f648fb Compare December 23, 2020 09:12
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 2 times, most recently from 7b156e9 to 88b0023 Compare December 30, 2020 10:44
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 3 times, most recently from 9d9638a to 3663ae4 Compare January 11, 2021 10:04
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 8 times, most recently from 2ce948a to 18d32f4 Compare January 18, 2021 09:53
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 4 times, most recently from 63634eb to e9487ce Compare January 26, 2021 13:30
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 2 times, most recently from dcac23e to 223fc12 Compare February 1, 2021 10:24
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 5 times, most recently from 4eb1ac2 to 616e32e Compare October 2, 2021 11:17
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 4 times, most recently from e85d3a8 to 027fb79 Compare October 13, 2021 12:41
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 3 times, most recently from 81acfd8 to 69b5a5a Compare October 21, 2021 12:32
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch from 69b5a5a to 45cf13d Compare October 26, 2021 06:51
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 2 times, most recently from e8168d5 to 6a11575 Compare November 15, 2021 16:43
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 2 times, most recently from 46e7712 to 2892d47 Compare November 25, 2021 08:43
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch from 2892d47 to b98000e Compare January 19, 2022 13:06
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 2 times, most recently from eb582c2 to afc0bc4 Compare January 28, 2022 16:42
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch from afc0bc4 to 9090513 Compare February 2, 2022 17:52
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 2 times, most recently from 7b43448 to 3d20d6a Compare February 11, 2022 11:58
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch 2 times, most recently from 332d7f4 to 22ccfd1 Compare February 21, 2022 12:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch from 22ccfd1 to 9522cff Compare March 9, 2022 16:11
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 9, 2022

Superseded by #1200.

@dependabot dependabot bot closed this May 9, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/path-to-regexp-6.2.0 branch May 9, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants