Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed deprecated and outdated dependencies #349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daniel-chambers
Copy link

We were getting warnings from npm such as

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

These stemmed from the rimraf package being quite out of date. So this PR updates rimraf and a few other deps to newer versions to remove these warnings.

Notably, I've upgraded typescript to the latest version, but this broke some tests that were using deprecated compiler functions (createLiteral). This has been fixed. ttypescript has been replaced with ts-patch which does the same thing but works with the new TypeScript version, and ts-nameof has been replaced with @typescript-nameof/nameof for the same reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant