GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — build: upgrade jasmine (and related typings) to latest version by gkalpak · Pull Request #19904 · angular/angular Conversation
|
|
You can preview 3e2ed3c at https://pr19904-3e2ed3c.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
3e2ed3c to
bc82db9
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Come on clang-format! 😞
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
😞 😞 😞
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can preview bc82db9 at https://pr19904-bc82db9.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
bc82db9 to
c0746ed
Compare
|
You can preview c0746ed at https://pr19904-c0746ed.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
c0746ed to
c4c20ae
Compare
c4c20ae to
9316f5b
Compare
|
You can preview c4c20ae at https://pr19904-c4c20ae.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can preview 9316f5b at https://pr19904-9316f5b.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9316f5b to
5a78966
Compare
|
You can preview 5a78966 at https://pr19904-5a78966.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This relies on timezone (e.g. failed on my UTC+2 timezone 😞).
Using 12 as the hour it is more resilient to timezone differences (albeit not entirely immune) and thus more likely to pass when run locally.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
yes, I had to change the match to use a regexp that doesn't check the last values, but I didn't think about the hour that could go to the other day. It's fine to use 12 instead of 22
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I noticed that there are several occurrences where types were a little loose or not-specific in compiler-cli-related stuff. For example nullable/"undefined-able" values typed as non-nullable (e.g. here, here, here) or values whose properties could be more strictly typed (e.g. the changes in this file), etc.
Is this expected/intentional, @tbosch, @chuckjaz?
Obviously, I don't understand enough about the implications of changing the types of these APIs 😁
Just bringing it up as my instinctive, very-high-level-understanding reaction/thought.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you leave TODO review comments anywhere where as any as is needed?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you add comment // Work around for: https://github.com/jasmine/jasmine/issues/1573
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is a public API change ({key: string} --> {key: any}) plus using the already public Params type for that.
But I think it is necessary, because this is what actually happens (i.e. the values are not restricted to string).
If a more specific type is desirable, I can dig deeper into what the possible types are and update (from a quick look it might just be string | string[]).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@jasonaden will have to take a look at this. it looks like a breaking change to me, which we can't do now. Jason is this the same api change you were trying to make during v5 RC?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just to be clear, the public API type is wrong. It claims that queryParams values are always strings, but this is not the case. So, your app might typecheck fine, but break at runtime. But this change might indeed cause an app not to compile any more (for good reasons 😉)
LMK if it is better to remove it (and use as any in the tests to work around it).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just to be more clear, Params is alias for {[key: string]: any}, so it is wider than the previous type.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@vikerman (or anyone else working on jasminewd), should these changes be ported to DefinitelyTyped?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, you can send me a PR against the upstream typings on DefinitelyTyped, I'm a committer there
Sorry, something went wrong.
There was an error while loading. Please reload this page.
5a78966 to
8a3b7da
Compare
|
You can preview 8a3b7da at https://pr19904-8a3b7da.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
8a3b7da to
4e2adb2
Compare
1fdac95 to
97dfaf3
Compare
|
You can preview 1fdac95 at https://pr19904-1fdac95.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can preview 97dfaf3 at https://pr19904-97dfaf3.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
97dfaf3 to
0f35833
Compare
|
You can preview 0f35833 at https://pr19904-0f35833.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
0f35833 to
1a3f52c
Compare
|
You can preview 1a3f52c at https://pr19904-1a3f52c.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can preview b3a3be0 at https://pr19904-b3a3be0.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can preview 8071de3 at https://pr19904-8071de3.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can preview 0ebba85 at https://pr19904-0ebba85.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| */ | ||
|
|
||
| import {AsyncTestCompleter, describe, expect, iit, inject, it} from '@angular/core/testing/src/testing_internal'; | ||
| import {AsyncTestCompleter, describe, expect, fit, inject, it} from '@angular/core/testing/src/testing_internal'; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Oops?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
fixed
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What was the problem??? 😕
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
AFAICT, everything was fine before (and Travis agrees with me 😛).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, had to revert my fit => iit change.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| */ | ||
|
|
||
| import {ddescribe, describe, iit, it} from '@angular/core/testing/src/testing_internal'; | ||
| import {ddescribe, describe, fit, it} from '@angular/core/testing/src/testing_internal'; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Oops?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
fixed
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
😕
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can preview edb5217 at https://pr19904-edb5217.ngbuilds.io/. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
CLAs look good, thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.