我正在使用node_swiz模块,该模块又使用验证器模块.
我想对验证器模块进行更改,但我使用npm install来安装模块/依赖项.
我可以只更改node_modules中的验证器模块,还是重新创建node_modules依赖项,并在我发布到heroku或下次运行npm install时获取最新版本?
结构如下所示:
myNodeApplication
- node_modules
- swiz
- node_modules
- validator [this is the library I want to edit]
Run Code Online (Sandbox Code Playgroud)
谢谢您的帮助!