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

Still up to date? #14

Open
sarink opened this issue Jan 12, 2022 · 1 comment
Open

Still up to date? #14

sarink opened this issue Jan 12, 2022 · 1 comment

Comments

@sarink
Copy link

sarink commented Jan 12, 2022

This repo hasn't been touched in 2 years, is everything still up to date with the latest typescript lib configuration and core-js polyfills? If not, are there any alternatives?

@Lazerbeak12345
Copy link

I looked through, and it seems that the answer to your question isn't a yes-no answer. It's up to date for version 3.9 of TypeScript. That could mean it's up to date for version 4 as well - but that doesn't mean it is. I personally doubt that there will be much of a regression, but it's a hard call to make.

Of note is that the last few commits or so haven't changed much. Going back it was 861b766 ("Update libs to TypeScript 3.8.1-rc") that was the last commit to actually change what core-js libs were imported. Take this with a grain of salt, though: there's been a major version release of typescript since then, and from what I've seen it introduces a fair bit of breaking changes.

As for alternatives (I've been looking for my own project), it seems that there are two that really stand out:

  • Importing core-js or core-js-pure directly (manual lib selection)
  • Babel might be able to do that for you - but that means you'll be piping all tsc output through babel, and will greatly increase your devDependancies size.

Between those two (three if you include taking the risk of using this library in the current state), I'm presently unsure which is the better option (for my use case), or if there are any other viable options.

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

No branches or pull requests

2 participants