-
Notifications
You must be signed in to change notification settings - Fork 24
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
Semver dependency on typescript in minor range is a breaking change: TypeError: getFileSystemEntries is not a function #49
Comments
I reported the breaking change to the typescript folks in microsoft/TypeScript#17891. However, we will still have to address to mitigate failures for all of our users. This repeated pattern of breaking changes within the same major version in |
Thanks for taking a look @rwjblue . Speaking of failures for users, would the PR patch #50 be a quick way to mitigate the failures. At least until a lasting resolution is made? I assume other users have a critical dependency on this since it will break all continuous integration builds, and any clean builds |
fixes #49: updates ts dependency to patch range
broccoli-typescript-compiler has a permissive package.json that depends on TypeScript version
^2.3.3
. Thisminor
range dependency currently allows Yarn to install TS 2.5.0 which is at release candidaterc
stage.https://registry.yarnpkg.com/typescript revision: 1052-fb9eebd5b091190020c3c186ce299827
Unfortunately, this actually breaks the broccoli build step because there is an incompatible api change:
in typescript.js, the function signature
matchFiles
in @2.5.0 rc, accepts an additional argumentdepth
:https://github.com/Microsoft/TypeScript/blob/v2.5-rc/src/compiler/core.ts#L2073
versus the current/latest @2.4.2 signature
https://github.com/Microsoft/TypeScript/blob/v2.4.2/src/compiler/core.ts#L2023
You'll notice that the
depth
parameter was not previuosly presentThis cause the broccoli build to throw:
TypeError: getFileSystemEntries is not a function
EDIT: updated with TS repo source links
The text was updated successfully, but these errors were encountered: