egg
egg copied to clipboard
egg-bin依赖的espower-source存在政治敏感代码
egg-bin依赖的espower-source里依赖es5-ext,这个包 https://github.com/medikoo/es5-ext/blob/main/_postinstall.js 存在政治敏感代码,有其他替代品么
@atian25
+1
egg-bin依赖的espower-source里依赖es5-ext,这个包 https://github.com/medikoo/es5-ext/blob/main/_postinstall.js 存在政治敏感代码,有其他替代品么
+1
这个依赖链有点广。
espower 那个是 power-assert 那边的,很难有替代品。
https://github.com/cnpm/bug-versions/pull/205/files 先临时 bug-version 了,通过 cnpm 安装的不会执行它的 script。
我们晚点看看要不要停止这个包的后续更新。
https://github.com/medikoo/es5-ext/issues/186
可以不用替代,锁定版本就好了,在package.json的dependencies里加一项: "es5-ext": "<=0.10.53" 然后刷新下node_modules就好了