Description
Hello!
First of all, thank you for this great tool and your awesome work!
However, I'm having a bug when updating my project:
What / Why
It looks like npm update --depth=9999
command goes into some kind of a loop until it gets out of memory and the process is terminated with the error JavaScript heap out of memory
.
I'm not using any weird commands or combination of options. Actually this command is documented by npm. The excerpt from the official documentation:
As of npm@2.6.1, the npm update will only inspect top-level packages. Prior versions of npm would also recursively inspect all dependencies. To get the old behavior, use npm --depth 9999 update.
So, this command looks like the only way to update the entire dependency tree, and it's broken. This creates a situation where one of the fundamental functions of the npm (updating dependencies) is not working. I consider this a critical bug.
When
When I run npm update --depth=9999
in my project.
Where
Sadly, I can't publish the repository due to it's proprietary nature. However, here's manifest, lock-file and the verbose update log output.
$ node --version
v12.18.3
$ npm --version
6.14.7
$ cat /etc/issue
Ubuntu 18.04.4 LTS
$ uname -a
Linux invader 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux