commit | 432f8050ff1323be332618c0b234bbbbdaea9d45 | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Thu Sep 14 09:02:21 2023 +0000 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Thu Sep 14 02:10:28 2023 -0700 |
tree | 09325798c40265ca871c4dc29bb05934f5d48bb6 | |
parent | 718d91587df43b4763ae643b7e0355ceeb19c529 [diff] |
Bump html from 0.15.0 to 0.15.4 in /lib/web_ui (#45819) Bumps [html](https://github.com/dart-lang/html) from 0.15.0 to 0.15.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/html/blob/main/CHANGELOG.md">html's changelog</a>.</em></p> <blockquote> <h2>0.15.4</h2> <ul> <li>Widen the dependency on <code>package:csslib</code>.</li> <li>Require Dart <code>2.19</code>.</li> </ul> <h2>0.15.3</h2> <ul> <li>Added package topics to the pubspec file.</li> </ul> <h2>0.15.2</h2> <ul> <li>Add additional types at the API boundary (in <code>lib/parser.dart</code> and others).</li> <li>Adopted the <code>package:dart_flutter_team_lints</code> linting rules.</li> <li>Fixed an issue with <code>querySelector</code> where it would fail in some cases with descendant or sibling combinators (<a href="https://redirect.github.com/dart-lang/html/issues/157">#157</a>).</li> <li>Add an API example in <code>example/</code>.</li> </ul> <h2>0.15.1</h2> <ul> <li>Move <code>htmlSerializeEscape</code> to its own library, <code>package:html/html_escape.dart</code>, which is exported from <code>package:html/dom_parsing.dart</code>.</li> <li>Use more non-growable lists, and type annotations on List literals.</li> <li>Switch analysis option <code>implicit-casts: false</code> to <code>strict-casts: true</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dart-lang/html/commit/b3b820bc36ed17673268360d8b569bdc66c22123"><code>b3b820b</code></a> widen the dependency on 'package:csslib' (<a href="https://redirect.github.com/dart-lang/html/issues/217">#217</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/92eacabadf40aa24c8f4289682ef2822c5d7e414"><code>92eacab</code></a> blast_repo fixes (<a href="https://redirect.github.com/dart-lang/html/issues/216">#216</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/593d6f67ef93477312d85c403f5a9b5928467f9c"><code>593d6f6</code></a> Bump actions/checkout from 3.5.0 to 3.5.2 (<a href="https://redirect.github.com/dart-lang/html/issues/214">#214</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/5d87dc8a0638b9f494e7044dc78bd4520341ab6d"><code>5d87dc8</code></a> added package topics to the pubspec file (<a href="https://redirect.github.com/dart-lang/html/issues/215">#215</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/0438b26b90be4d491ec55586b6b841f41e4fbf1e"><code>0438b26</code></a> Dart 3 compatibility: turn classes into mixins (<a href="https://redirect.github.com/dart-lang/html/issues/208">#208</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/57b747d7052aba08901adb366ffb2836facaa04d"><code>57b747d</code></a> Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (<a href="https://redirect.github.com/dart-lang/html/issues/209">#209</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/51c9910beca8c91772ae2ff1e970b6a1e7c0cfcb"><code>51c9910</code></a> Bump actions/checkout from 3.3.0 to 3.5.0 (<a href="https://redirect.github.com/dart-lang/html/issues/210">#210</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/08643e9e2baac0f20ce4a3b8baed820107972270"><code>08643e9</code></a> prep for publishing 0.15.2 (<a href="https://redirect.github.com/dart-lang/html/issues/205">#205</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/0b8025c16e1e5a5bcd451fb3a81cd98df218dcd4"><code>0b8025c</code></a> add an api example (<a href="https://redirect.github.com/dart-lang/html/issues/204">#204</a>)</li> <li><a href="https://github.com/dart-lang/html/commit/f118e004dfe68a4d101246106e775c0231efb79a"><code>f118e00</code></a> lint with dart_flutter_team_lints (<a href="https://redirect.github.com/dart-lang/html/issues/201">#201</a>)</li> <li>Additional commits viewable in <a href="https://github.com/dart-lang/html/compare/0.15.0...v0.15.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> https://dart.googlesource.com/external/github.com/flutter/engine/+/e2df799c5d1209cb0f21dc4cd3f3f7178e4b5149
Monorepo is:
With depot_tools installed and on your path, create a directory for your monorepo checkout and run these commands to create a gclient solution in that directory:
mkdir monorepo cd monorepo gclient config --unmanaged https://dart.googlesource.com/monorepo gclient sync -D
This gives you a checkout in the monorepo directory that contains:
monorepo/ DEPS - the DEPS used for this gclient checkout commits.json - the pinned commits for Dart, flutter/engine, and flutter/flutter tools/ - scripts used to create monorepo DEPS engine/src/ - the flutter/buildroot repo flutter/ - the flutter/engine repo out/ - the build directory, where Flutter engine builds are created third_party/ - Flutter dependencies checked out by DEPS dart/ - the Dart SDK checkout. third_party - Dart dependencies, also used by Flutter flutter/ - the flutter/flutter repo
Flutter's instructions for building the engine are at Compiling the engine
They can be followed closely, with a few changes:
goma_ctl ensure_start
is sufficient.Example build commands that work on linux:
MONOREPO_PATH=$PWD if [[ ! $PATH =~ (^|:)$MONOREPO_PATH/flutter/bin(:|$) ]]; then PATH=$MONOREPO_PATH/flutter/bin:$PATH fi export GOMA_DIR=$(dirname $(command -v gclient))/.cipd_bin goma_ctl ensure_start pushd engine/src flutter/tools/gn --goma --no-prebuilt-dart-sdk --unoptimized --full-dart-sdk autoninja -C out/host_debug_unopt popd
The Flutter commands used to build and run apps will use the locally built Flutter engine and Dart SDK, instead of the one downloaded by the Flutter tool, if the --local-engine
option is provided.
For example, to build and run the Flutter spinning square sample on the web platform,
MONOREPO_PATH=$PWD cd flutter/examples/layers flutter --local-engine=host_debug_unopt \ -d chrome run widgets/spinning_square.dart cd $MONOREPO_PATH
To build for desktop, specify the desktop platform device in flutter run
as -d macos
or -d linux
or -d windows
. You may also need to run the command
flutter create --platforms=windows,macos,linux
on existing apps, such as sample apps. New apps created with flutter create
already include these support files. Details of desktop support are at Desktop Support for Flutter
Tests in the Flutter source tree can be run with the flutter test
command, run in the directory of a package containing tests. For example:
MONOREPO_PATH=$PWD cd flutter/packages/flutter flutter test --local-engine=host_debug_unopt cd $MONOREPO_PATH
Please file an issue or email the dart-engprod team with any problems with or questions about using monorepo.
We will update this documentation to address them.
flutter
commands may download the engine and Dart SDK files for the configured channel, even though they will be using the local engine and its SDK.gclient sync
needs to be run in an administrator session, because some installed dependencies create symlinks.