What is the purpose of the `package-lock.json` file in a Node.js project?
-
A
It prevents other developers from installing new packages
-
B
It locks the exact versions of all installed dependencies for reproducible installs
-
C
It lists only the direct dependencies of the project
-
D
It stores npm authentication tokens for private registries