4

Previously relevant part in package-lock was looking this way

"requires": {
    "@babel/highlight": "7.0.0"
  }

But now it includes the caret(^) after running npm install.

"requires": {
    "@babel/highlight": "^7.0.0"
  }

(note - this contains only a small potion of package-lock)

Can anyone explain the reason for this?

thinuwan
  • 631
  • 2
  • 8
  • 20
  • 1
    Does this answer your question? [Why does \`npm install\` add / remove caret (^) to / from version numbers?](https://stackoverflow.com/questions/54091452/why-does-npm-install-add-remove-caret-to-from-version-numbers) – RobC Feb 14 '22 at 11:58

0 Answers0