partnr
partnr copied to clipboard
Bump path-to-regexp from 1.7.0 to 1.9.0
Bumps path-to-regexp from 1.7.0 to 1.9.0.
Release notes
Sourced from path-to-regexp's releases.
Fix backtracking in 1.x
Fixed
- Add backtrack protection to 1.x release (#320) 925ac8e
- Fix
re.exec(&[#39](https://github.com/pillarjs/path-to-regexp/issues/39);/test/route&[#39](https://github.com/pillarjs/path-to-regexp/issues/39);)result (#267) 32a14b0https://github.com/pillarjs/path-to-regexp/compare/v1.8.0...v1.9.0
Backport token to function options
Added
- Backport
TokensToFunctionOptions
Changelog
Sourced from path-to-regexp's changelog.
Moved to GitHub Releases
3.0.0 / 2019-01-13
- Always use prefix character as delimiter token, allowing any character to be a delimiter (e.g.
/:att1-:att2-:att3-:att4-:att5)- Remove
partialsupport, prefer escaping the prefix delimiter explicitly (e.g.\\/(apple-)?icon-:res(\\d+).png)2.4.0 / 2018-08-26
- Support
startoption to disable anchoring from beginning of the string2.3.0 / 2018-08-20
- Use
delimiterwhen processing repeated matching groups (e.g.foo/barhas no prefix, but has a delimiter)2.2.1 / 2018-04-24
- Allow empty string with
end: falseto match both relative and absolute paths2.2.0 / 2018-03-06
- Pass
tokenas second argument toencodeoption (e.g.encode(value, token))2.1.0 / 2017-10-20
- Handle non-ending paths where the final character is a delimiter
- E.g.
/foo/before required either/foo/or/foo//to match in non-ending mode2.0.0 / 2017-08-23
- New option! Ability to set
endsWithto match paths like/test?query=stringup to the query string- New option! Set
delimitersfor specific characters to be treated as parameter prefixes (e.g./:test)- Remove
isarraydependency- Explicitly handle trailing delimiters instead of trimming them (e.g.
/test/is now treated as/test/instead of/testwhen matching)- Remove overloaded
keysargument that acceptedoptions- Remove
keyslist attached to theRegExpoutput- Remove asterisk functionality (it's a real pain to properly encode)
- Change
tokensToFunction(e.g.compile) to accept anencodefunction for pretty encoding (e.g. pass your own implementation)
Commits
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.