2020/05/14 sync tweaks#1898
Conversation
PiperOrigin-RevId: 311549333
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
e9ee6d9 to
818e67c
Compare
818e67c to
eec0b8b
Compare
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
6dd6480 to
0ef6faa
Compare
Using code_builder version 3.3.0+ breaks the test "should handle relative paths in a test directory" (reflector_test.dart). Every code_builder version 3.0.1+ emits two imports during this test, but starting from version 3.3.0, the imports are emitted in a different order.
Since AngularDart 6.0.0, map and list literals are no longer supported inside templates and cause compilation errors.
During instantiation of NgTestBed, generic type is not specialized:
var testBed = NgTestBed.forComponent(...);
The way methods of NgTestBed are currently invoked violate analyzer's
'argument_type_not_assignable' rule (see below for reference).
await fixture.update((AccessorTestComponent c) { ... });
The appropriate with respect to analuzer rules invocation is the
following:
await fixture.update((c) { ... });
During instantiation of NgTestBed, generic type is not specialized:
var testBed = NgTestBed.forComponent(...);
The way methods of NgTestBed are currently invoked violate analyzer's
'argument_type_not_assignable' rule (see below for reference).
await fixture.update((AccessorTestComponent c) { ... });
The appropriate with respect to analuzer rules invocation is the
following:
await fixture.update((c) { ... });
As the result of this commit, more tests for PKG="_tests" are passing. PiperOrigin-RevId: 312745372
safe_html package is unavailable so the following does not compile: SafeHtml get content => SafeHtml.sanitize(comment['content']); Apply alternative approach using angular.security: SafeHtml get content => _sanitizer.bypassSecurityTrustHtml(comment['content']);
PiperOrigin-RevId: 312350039
Used `dart tool/update.dart`
Url sanitizer takes an unsafe_url and turns it into 'unsafe:$unsafe_url'. See implementation: angular/lib/src/security/url_sanitizer.dart#L35
Sanitization implementation completely removes iframe's srcdoc if it contains unsafe HTML.
57c9668 to
6ae1889
Compare
API changes introduced to analyzer 0.39.15 broke angular_analyzer_plugin build.
bf5582b to
e69cadf
Compare
kevmoo
left a comment
There was a problem hiding this comment.
until we're ready to publish, we should keep -dev postfixes on versions
* Bump version to 0.6.0-dev * Add CHANGELOG.md
* Bump version to 0.5.0-dev * Add CHANGELOG.md * Add missing deps to pubspec.yaml - angular_ast: ^0.6.0 - csslib: ^0.16.1
* Bump version to 6.0.0 * Add CHANGELOG.md * Bump angular_ast and angular_compiler versions in pubspec.yaml - angular_ast: 0.6.0 - angular_compiler: 0.5.0
* Bump version to 1.0.0-dev * Add CHANGELOG.md * Modify pubspec.yaml - angular_ast: ^0.6.0 - add 'matcher: ^0.12.9' to dev deps
* Bump version to 1.0.0-dev * Modify pubspec.yaml - angular_analyzer_plugin: '1.0.0'
* Bump version to 3.0.0-dev * Add CHANGELOG.md * Modify pubspec.yaml - angular: ^6.0.0
* Bump version to 3.0.0-dev * Add CHANGELOG.md * Modify pubspec.yaml - angular: ^6.0.0 - angular_test: ^3.0.0
* Bump version to 2.0.0-dev * Add CHANGELOG.md * Modify pubspec.yaml - angular: ^6.0.0 - angular_test: ^3.0.0
e69cadf to
370deb5
Compare
No description provided.