Tell us what’s happening:
I don’t understand what I’m doing wrong here. I added the major.minor.patch of 2.10.2 on the moment dependency but my answer is somehow wrong?
Your code so far
“dependencies”: {
“moment”: “^2.10.2”,
“express”: “^4.14.0”
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.
Challenge: Manage npm Dependencies By Understanding Semantic Versioning
I was actually thinking of an issue with a different package (HelmetJS issue) but I guess it will affect any version number where the test does not allow for it.
My guess is some if not most, of the tests, are checking a string literal with an exact match for the version number (something === ‘something’).