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

Adding tslib to dependencies #21

Merged
merged 1 commit into from
May 4, 2021
Merged

Adding tslib to dependencies #21

merged 1 commit into from
May 4, 2021

Conversation

scalvert
Copy link
Collaborator

@scalvert scalvert commented May 4, 2021

The compiled output depends on tslib, and when not present this generates an error (expectedly!). This fix adds tslib to jest-sarif's dependencies.

@scalvert scalvert added the bug Something isn't working label May 4, 2021
Copy link
Collaborator

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These helpers are being emitted due to importHelpers: true in tsconfig.json:

"importHelpers": true,

Was chatting with @scalvert about this out of band, and I think the two options are:

  1. add the tslib dep (which is what this PR does)
  2. change importHelpers to false (the default)

I don't feel super strongly either way, so this seems fine to me.

@scalvert scalvert merged commit cc08bf5 into main May 4, 2021
@scalvert scalvert deleted the tslib-to-dep branch May 4, 2021 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants