Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: removing our dependency on
trim
(#1029)
[![PR App][icn]][demo] | :-------------------:| ## 🧰 Changes Installing the markdown package throws these warnings from NPM for the `trim` package: ``` npm warn deprecated [email protected]: Use String.prototype.trim() instead npm warn deprecated [email protected]: Use String.prototype.trim() instead npm warn deprecated [email protected]: Use String.prototype.trim() instead ``` It seems that we're no longer using `trim` anymore(?) so I'm removing it from being a dependency. ##### Before ``` > npm ls trim @readme/[email protected] ├─┬ @readme/markdown-legacy@npm:@readme/[email protected] │ └─┬ [email protected] │ └── [email protected] └── [email protected] ``` ##### After ``` @readme/[email protected] └─┬ @readme/markdown-legacy@npm:@readme/[email protected] └─┬ [email protected] └── [email protected] ``` ## 🧬 QA & Testing All tests were still passing and the dist still gets built fine with `npm run build`. [demo]: https://markdown-pr-PR_NUMBER.herokuapp.com [prod]: https://SUBDOMAIN.readme.io [icn]: https://user-images.githubusercontent.com/886627/160426047-1bee9488-305a-4145-bb2b-09d8b757d38a.svg
- Loading branch information