getsentry / getsentry/sentry-javascript
Pin dependencies
Open
Core
Type: Improvement
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
### Description
We should start pinning all our dependencies more aggressively, given the recent supply chain attacks and other problems arising from bumping dependencies. Some things to consider
- latest/next/canary tests need to be excempt from pinning
- we keep some dependency versions `^`-declared on purpose so that users can potentially install more recent (minor/patch) versions of the package and deduplicate the installed version. This concerns our bundler plugins mostly. A couple of OTel packages have the same strategy. We should re-evaluate if this makes sense on a package-by-package level.
Contributor guide
Assessment
This issue has not been assessed yet.