0

I wish to know version of package before updating the package using npm. I have updated a package to latest version and have some compatibility issues. what command should I use to know last version of installed package before update.

Rubén
  • 34,714
  • 9
  • 70
  • 166
James
  • 318
  • 1
  • 10
  • Does this answer your question? [How to undo npm update?](https://stackoverflow.com/questions/27954247/how-to-undo-npm-update) – Sean Aug 15 '23 at 13:21

1 Answers1

0

NPM doesn’t provide such a command.

If you want to track your changes, you need to use a version control system such as Git.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335