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

fix: pin typescript dependency to 3.8.3 #107

Merged
merged 1 commit into from
Aug 12, 2020
Merged

Conversation

dpopp07
Copy link
Member

@dpopp07 dpopp07 commented Aug 12, 2020

v3.9 of typescript includes changes that break our code. The top-level exports in index.js are generated without "setters", so individual components of this core module cannot be mocked in tests.

This does not impact normal operation of the code (that I'm aware of - there's reason to redefine any components when using them) but it causes issues in the generated unit tests for SDKs that rely on this package. These tests mock out individual components to isolate behavior. By pinning the dependency to 3.8.3, we can continue to mock these components.

FYI @apaparazzi0329

v3.9 of typescript includes changes that break our code - the exports are generated without "setters", so individual components of this core module cannot be mocked
this does not impact operation of the core but it causes issues in the generated unit tests for sdks
@dpopp07 dpopp07 requested a review from padamstx August 12, 2020 18:54
Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

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

LGTM

@dpopp07 dpopp07 merged commit ef27bc9 into master Aug 12, 2020
@dpopp07 dpopp07 deleted the dp/fix-dependencies branch August 12, 2020 19:20
ibm-devx-automation pushed a commit that referenced this pull request Aug 12, 2020
## [2.4.5](v2.4.4...v2.4.5) (2020-08-12)

### Bug Fixes

* pin typescript dependency to 3.8.3 ([#107](#107)) ([ef27bc9](ef27bc9))
@ibm-devx-automation
Copy link

🎉 This PR is included in version 2.4.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants