4 ms·
Well the package.json only specifies the top level dependencies not all of the dependencies in the tree. So the .lock is probably a better representation of the
by ehnto 5y ago
Well the package.json only specifies the top level dependencies not all of the dependencies in the tree. So the .lock is probably a better representation of the actual dependency tree. It's not uncommon to include one library and get an extra 10, 20+ dependencies you don't even know about unless you care enough to check.