Bump path-to-regexp and express
Bumps path-to-regexp to 8.2.0 and updates ancestor dependency express. These dependencies need to be updated together.
Updates path-to-regexp from 0.1.10 to 8.2.0
Release notes
Sourced from path-to-regexp's releases.
8.2.0
Fixed
- Allowing
path-to-regexpto run on older browsers by targeting ES2015
- Target ES2015 5969033
- Also saved 0.22kb (10%!) by removing the private class field down level
- Remove
sflag from regexp 51dbd45https://github.com/pillarjs/path-to-regexp/compare/v8.1.0...v8.2.0
v8.1.0
Added
- Adds
pathToRegexpmethod back for generating a regex- Adds
stringifymethod for convertingTokenDatainto a path stringhttps://github.com/pillarjs/path-to-regexp/compare/v8.0.0...v8.1.0
Simpler API
Heads up! This is a fairly large change (again) and I need to apologize in advance. If I foresaw what this version would have ended up being I would not have released version 7. A longer blog post and explanation will be incoming this week, but the pivot has been due to work on Express.js v5 and this will the finalized syntax used in Express moving forward.
Edit: The post is out - https://blakeembrey.com/posts/2024-09-web-redos/
Added
- Adds key names to wildcards using
*namesyntax, aligns with:behavior but using an asterisk insteadChanged
- Removes group suffixes of
?,+, and*- only optional exists moving forward (use wildcards for+,{*foo}for*)- Parameter names follow JS identifier rules and allow unicode characters
Added
- Parameter names can now be quoted, e.g.
:"foo-bar"- Match accepts an array of values, so the signature is now
string | TokenData | Array<string | TokenData>Removed
- Removes
loosemode- Removes regular expression overrides of parameters
https://github.com/pillarjs/path-to-regexp/compare/v7.1.0...v8.0.0
Support array inputs (again)
Added
- Support array inputs for
matchandpathToRegexp3fdd88fhttps://github.com/pillarjs/path-to-regexp/compare/v7.1.0...v7.2.0
... (truncated)
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)1.7.0 / 2016-11-08
- Allow a
delimiteroption to be passed in withtokensToRegExpwhich will be used for "non-ending" token match situations1.6.0 / 2016-10-03
- Populate
RegExp.keyswhen using thetokensToRegExpmethod (making it consistent with the main export)- Allow a
delimiteroption to be passed in withparse- Updated TypeScript definition with
KeysandOptionsupdated1.5.3 / 2016-06-15
... (truncated)
Commits
776c8988.2.0678756aDumb down code for negatee85fe27Upgrade deps5969033Target ES201551dbd45Remove s flag from regexpdf39d6cAppend backtrack, ignore bench in coveraged6c3658Update express 4 compatibility guidec3026448.1.07b4598cDocument stringify methodd6150f5Add pathToRegexp method back- Additional commits viewable in compare view
Updates express from 4.21.1 to 4.21.2
Release notes
Sourced from express's releases.
4.21.2
What's Changed
- Add funding field (v4) by
@bjohansebasin expressjs/express#6065- deps: [email protected] by
@blakeembreyin expressjs/express#5956- deps: bump [email protected] by
@jonchurchin expressjs/express#6209- Release: 4.21.2 by
@UlisesGasconin expressjs/express#6094Full Changelog: https://github.com/expressjs/express/compare/4.21.1...4.21.2
Changelog
Sourced from express's changelog.
4.21.2 / 2024-11-06
- deps: [email protected]
- Fix backtracking protection
- deps: [email protected]
- Throws an error on invalid path values
Commits
1faf2284.21.22e0fb64deps: bump [email protected] (#6209)59fc270deps: [email protected] (#5956)51fc39cdocs: add funding (#6065)- See full diff in compare view
Maintainer changes
This version was pushed to npm by jonchurch, a new releaser for express since your current version.
You can trigger a rebase of this PR 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.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Deploying samples with
Cloudflare Pages
| Latest commit: |
170c769
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://af8ea6f9.samples.pages.dev |
| Branch Preview URL: | https://dependabot-npm-and-yarn-mult.samples.pages.dev |
@dependabot rebase
Looks like these dependencies are up-to-date now, so this is no longer needed.