-
Notifications
You must be signed in to change notification settings - Fork 326
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
update to package:web 0.5.1 #7956
Conversation
@@ -80,7 +80,7 @@ class EmbeddedExtensionControllerImpl extends EmbeddedExtensionController | |||
); | |||
_initialized = true; | |||
|
|||
_extensionIFrame = createIFrameElement() | |||
_extensionIFrame = HTMLIFrameElement() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this equivalent to what createIFrameElement
used to return? If so, LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup! createIFrameElement()
is now deprecated in favor of the HTMLIFrameElement()
constructor.
@@ -61,7 +61,7 @@ dependencies: | |||
vm_service_protos: ^1.0.0 | |||
# TODO https://github.com/dart-lang/sdk/issues/52853 - unpin this version | |||
vm_snapshot_analysis: ^0.7.6 | |||
web: ^0.4.1 | |||
web: ^0.5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should these versions be 0.5.1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tend to just specify the version required (here, 0.5.0
for the new API) rather than the latest bug fix version. Happy to be more specific here if desired.
This updates to the latest published version of
package:web
, and works around anunnecessary_cast
issue (https://github.com/flutter/devtools/compare/upgrade_package_web?expand=1#diff-8b45cb7b869f9836b4133c64a40f7d30a672febc77188e247035adcc23951763R42) that we'd otherwise hit in the next toll to google3.Pre-launch Checklist
///
).If you need help, consider asking for help on Discord.