dart_codemod
dart_codemod copied to clipboard
Update dependencies to lastest
Motivation
We wanted to use lint use_null_aware_elements. When we enabled this lint and applied the changes to use the new 'Null-Aware Element' syntax, we see the error
[SEVERE] Suggestor.generatePatches() threw unexpectedly.
Invalid argument(s): File ".../cool_widget.dart" produced diagnostics when parsed:
MISSING_IDENTIFIER: Expected an identifier. - 36:11
EXPECTED_TOKEN: Expected to find ':'. - 36:22
MISSING_IDENTIFIER: Expected an identifier. - 36:22
After the update of analyzer and dart_style, the new ? Syntax is parsed without any errors.
Changes
Update to latest dependencies.
Release Notes
Review
See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.
Please review:
QA Checklist
- [ ] Tests were updated and provide good coverage of the changeset and other affected code
- [ ] Manual testing was performed if needed
- [ ] Steps from PR author:
- [ ] Anything falling under manual testing criteria outlined in CONTRIBUTING.md
Merge Checklist
While we perform many automated checks before auto-merging, some manual checks are needed:
- [ ] A Frontend Frameworks Architecture member has reviewed these changes
- [ ] There are no unaddressed comments - this check can be automated if reviewers use the "Request Changes" feature
- [ ] For release PRs - Version metadata in Rosie comment is correct