Commit 6231e94
committed
Check in package-lock.json
Previously package-lock.json was gitignored. At one point the recommended
practice was for libraries to not commit it, because committing it would
prevent CI from detecting incompatible new versions of dependencies. That
may have been good advice before it became common for attackers to publish
malicious versions of legitimate packages via compromised maintainer
accounts. Checking in a lockfile protects Jasmine developers against that
threat by preventing new versions from being accidentaly installed.1 parent 4459e94 commit 6231e94
2 files changed
Lines changed: 2273 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
0 commit comments