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

Remove tslib dependency from packages #832

Merged
merged 2 commits into from
Jan 11, 2021

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 10, 2021

Edit by @oliviertassinari

It looks like tslib was added by mistake in #44 and #103. If it was on purpose we need to talk about the process. A case needs to be made before we add/remove dependencies. It should happen into a single focus pull request (not inside a large refactoring mixing different things).

As far as I understand it, tslib shouldn't be present because:

  1. tslib is required when using the --importHelpers option which we don't: https://www.npmjs.com/package/tslib.
  2. if we do want to inline the helpers, for bundle size reasons, then @babel/runtime should be used (for consistency with the other components & minimizing bundle size).

Closes #47

Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](microsoft/tslib@2.0.3...2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Update of dependencies label Jan 10, 2021
@oliviertassinari oliviertassinari changed the title Bump tslib from 2.0.3 to 2.1.0 Remove tslib Jan 10, 2021
@oliviertassinari oliviertassinari force-pushed the dependabot/npm_and_yarn/tslib-2.1.0 branch from 006f636 to 2056f89 Compare January 10, 2021 16:22
@oliviertassinari oliviertassinari merged commit 6232c6f into master Jan 11, 2021
@oliviertassinari oliviertassinari deleted the dependabot/npm_and_yarn/tslib-2.1.0 branch January 11, 2021 15:16
@oliviertassinari oliviertassinari changed the title Remove tslib Remove tslib dependency from packages Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-evaluate requirement for tslib as a dependency
3 participants