-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Break Change] upgrate path-to-regexp
V6
to V8
, or not ?
#97
Comments
path-to-regexp
V6
to V8
, or not ?path-to-regexp
V6
to V8
, or not ?
一直用的 registry.npmmirror.com 的源,今天偶尔切换到官方源,才发现安装依赖后会有漏洞提醒
本地开发时使用,该漏洞 path-to-regexp outputs backtracking regular expressions 的影响不大。
|
@pfdgithub 感谢提醒! |
如果 path-to-regexp 遵循 semver 规范,使用 |
@pfdgithub 不大敢写成 |
path-to-regexp
has undergone significant changes recently, with two major version updates in a short period, both of which include breaking changes. Upgrading hastily could have a really bad impact on users of the plugin.The current plugin has been using the
v6
version of the API, and the dynamic route matching rules are vastly different from those inv8
, which would render existingurl
configurations with dynamic parameters completely ineffective. This might be unacceptable for current users.So, I'm not sure whether to proceed with the update. I'd appreciate your thoughts and suggestions.
path-to-regexp
在近期发生了重大的变更,在短期内进行了两次重大版本变更,且都带有破坏性更新。贸然升级,这可能给插件的用户们带来非常糟糕的影响。当前插件一直使用的是
v6
版本的 API,在动态路由匹配规则上,和v8
的规则差别非常大,这会导致 现有的 带动态参数的url
配置 完全失效。这对于当前的用户来说可能是不可接受的。因此我不确定是否进行更新,希望您发表您的看法和建议。
The text was updated successfully, but these errors were encountered: