Showing
1 changed file
with
6 additions
and
2 deletions
... | @@ -9,7 +9,11 @@ | ... | @@ -9,7 +9,11 @@ |
9 | "author": "", | 9 | "author": "", |
10 | "license": "ISC", | 10 | "license": "ISC", |
11 | "dependencies": { | 11 | "dependencies": { |
12 | - "mongoose": "^5.0.11", | 12 | + "mongoose": "^5.0.11", // what is Caret Symbole? SemVer - Major.Minor.Patch |
13 | - "underscore": "^1.8.3" | 13 | + "underscore": "^1.8.3" // Patch - bug fix, Minor - New feature without broke Previous API Structure, Major - New feature change structure |
14 | +// Caret ^5.0.11 === 5.x , if there was just minor changes, install with updated one | ||
15 | +// Tilda ~1.8.3 === 1.8.x, only accept patched one, not minor or magor changed version | ||
16 | +// if don't assgin caret or tilda, package won't automatically updated | ||
17 | + | ||
14 | } | 18 | } |
15 | } | 19 | } | ... | ... |
-
Please register or login to post a comment