Skip to content

Conversation

@bjohansebas
Copy link
Member

as was discovered here expressjs/expressjs.com#2092, params will have an object with a prototype depending on whether its path is a string or a regexp, this PR tries to unify so that both are without a prototype, given that for a string path the params are created without a prototype here, whereas when it's a regexp it's created here

we consider this a breaking change? I don't think so, the impact would be minimal and I don't think anyone is accessing the prototype of params

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant