I noticed in my package.json that some versions have the ^
operator in the dependency version such as:
"prettier": "^2.2.1",
But then some packages do not use this operator such as:
"typescript": "4.1.3"
I know the meaning of the operator but I installed both of these packages via npm install -D <package>
and did not modify package.json myself so how was the inclusion of this operator determined?