-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
dart:io can't be imported in Dartium #2851
Labels
Comments
The dart:io library contains IO classes for the standalone Dart VM, some of which are not available on the client. So dart:io can not be imported on the client (web browser). There is a lot of effort to make timer available on the client, tracked in issue #1880, but as of right now, one must use setTimeout. |
dart-bot
pushed a commit
that referenced
this issue
Mar 23, 2021
New commits included: ``` > git log --format="%C(auto) %h %s" 0e657414a472e74ca5dd76ae0db50cc060251dec..255a3091fc278b04be74d246a3bec8743ef4d0b7 255a3091 Vendor package:tar and package:chunked_stream (#2932) 86bf8b20 Handle relative git-url-paths correctly when --directory (#2919) 3716a681 Let `pub add` fail if extra arguments are passed (#2927) a03ac729 Minor cleanup to reduce risk of using path.current (#2924) e87b7b66 Added null check for name in UserInfo class (#2918) 056a8c9a pub deps --json (#2896) 53a69e27 Fix .packages entries of relative path deps when using --directory (#2916) d6308efc pub upgrade command shows count of discontinued packages (#2908) 51744805 Upgrade to the null safe versions of all dependencies (#2913) e0d538c7 Introduce .pubignore (#2787) 79f3a8b9 pub outdated: added clear message when no outdated packages. (#2898) 22463872 `cache clean` (#2904) 11e7b2ce `publish --dry-run` informs that the server might do more checks (#2883) b6977d50 Remove untrue assert (#2884) 35841f8d Merge branch 'cherry_picks_for_2_12' 0db3255b Don't fail on failed status listing (#2877) 53e8ecca Don't allow outdated taking arguments (#2872) e83a1dc1 Enable asserts when testing pub (#2754) 178f2edb Add --directory option (#2876) 5aadb70e Don't fail on failed status listing (#2877) 4bf8a927 Remove unused field (#2878) 73ad5426 Don't allow outdated taking arguments (#2872) 9a70949e Use Dart library to read and write tar files (#2817) 2f74230c Do not recommend decativating packages (#2871) b1697a27 Use full error message string in CommandResolutionFailedException (#2870) 16a6210d Upgrade `downgrade --help`: `downgrade` actually updates `pubspec.lock` (#2859) 6e240ea9 Use cached version listings as heuristic when prefetching (#2851) 58152f7c Allow trailing slash in PUB_HOSTED_URL (#2856) b1bf9a33 Handle poor package-listing responses robustly. (#2847) d941bd24 Fix request metadata when overriding dependencyType (#2848) ``` Change-Id: Id6ed5698330fc0cdb507e024eabc34f925ca9208 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192304 Commit-Queue: Sigurd Meldgaard <sigurdm@google.com> Reviewed-by: Jonas Jensen <jonasfj@google.com>
dart-bot
pushed a commit
that referenced
this issue
Mar 24, 2021
This reverts commit 633d4ac. Reason for revert: breaks dependency resolution in some cases. Original change's description: > Bump pub > > New commits included: > ``` > > git log --format="%C(auto) %h %s" 0e657414a472e74ca5dd76ae0db50cc060251dec..255a3091fc278b04be74d246a3bec8743ef4d0b7 > 255a3091 Vendor package:tar and package:chunked_stream (#2932) > 86bf8b20 Handle relative git-url-paths correctly when --directory (#2919) > 3716a681 Let `pub add` fail if extra arguments are passed (#2927) > a03ac729 Minor cleanup to reduce risk of using path.current (#2924) > e87b7b66 Added null check for name in UserInfo class (#2918) > 056a8c9a pub deps --json (#2896) > 53a69e27 Fix .packages entries of relative path deps when using --directory (#2916) > d6308efc pub upgrade command shows count of discontinued packages (#2908) > 51744805 Upgrade to the null safe versions of all dependencies (#2913) > e0d538c7 Introduce .pubignore (#2787) > 79f3a8b9 pub outdated: added clear message when no outdated packages. (#2898) > 22463872 `cache clean` (#2904) > 11e7b2ce `publish --dry-run` informs that the server might do more checks (#2883) > b6977d50 Remove untrue assert (#2884) > 35841f8d Merge branch 'cherry_picks_for_2_12' > 0db3255b Don't fail on failed status listing (#2877) > 53e8ecca Don't allow outdated taking arguments (#2872) > e83a1dc1 Enable asserts when testing pub (#2754) > 178f2edb Add --directory option (#2876) > 5aadb70e Don't fail on failed status listing (#2877) > 4bf8a927 Remove unused field (#2878) > 73ad5426 Don't allow outdated taking arguments (#2872) > 9a70949e Use Dart library to read and write tar files (#2817) > 2f74230c Do not recommend decativating packages (#2871) > b1697a27 Use full error message string in CommandResolutionFailedException (#2870) > 16a6210d Upgrade `downgrade --help`: `downgrade` actually updates `pubspec.lock` (#2859) > 6e240ea9 Use cached version listings as heuristic when prefetching (#2851) > 58152f7c Allow trailing slash in PUB_HOSTED_URL (#2856) > b1bf9a33 Handle poor package-listing responses robustly. (#2847) > d941bd24 Fix request metadata when overriding dependencyType (#2848) > ``` > > Change-Id: Id6ed5698330fc0cdb507e024eabc34f925ca9208 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192304 > Commit-Queue: Sigurd Meldgaard <sigurdm@google.com> > Reviewed-by: Jonas Jensen <jonasfj@google.com> TBR=sigurdm@google.com,jonasfj@google.com Change-Id: I364a26468a36438bbbc887e613241030decef4d3 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192748 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
dart-bot
pushed a commit
that referenced
this issue
May 11, 2021
New commits include: ``` $ git log --format="%C(auto) %h %s" 0e657414a472e74ca5dd76ae0db50cc060251dec..00c00e8adf9706bebe8f94483b7663c5f36f59d2 00c00e8a Vendor tar (#2987) 291705ca Being gradual migration to null-safety (#2988) c5f52a37 Fix CI (#2989) 74040a45 Update to analyzer 1.5.0, migrate from deprecated AnalysisSession.getParsedUnit() (#2975) ce951d70 Fix dry-run tests for publishing by ensuring there is a server to reject requests (#2978) 018c9650 Update LICENSE (#2944) 2614f15c Revert "Vendor package:tar and package:chunked_stream (#2932)" (#2940) 12d9f457 Handle package:tar cancellations 255a3091 Vendor package:tar and package:chunked_stream (#2932) 86bf8b20 Handle relative git-url-paths correctly when --directory (#2919) 3716a681 Let `pub add` fail if extra arguments are passed (#2927) a03ac729 Minor cleanup to reduce risk of using path.current (#2924) e87b7b66 Added null check for name in UserInfo class (#2918) 056a8c9a pub deps --json (#2896) 53a69e27 Fix .packages entries of relative path deps when using --directory (#2916) d6308efc pub upgrade command shows count of discontinued packages (#2908) 51744805 Upgrade to the null safe versions of all dependencies (#2913) e0d538c7 Introduce .pubignore (#2787) 79f3a8b9 pub outdated: added clear message when no outdated packages. (#2898) 22463872 `cache clean` (#2904) 11e7b2ce `publish --dry-run` informs that the server might do more checks (#2883) b6977d50 Remove untrue assert (#2884) 35841f8d Merge branch 'cherry_picks_for_2_12' 0db3255b Don't fail on failed status listing (#2877) 53e8ecca Don't allow outdated taking arguments (#2872) e83a1dc1 Enable asserts when testing pub (#2754) 178f2edb Add --directory option (#2876) 5aadb70e Don't fail on failed status listing (#2877) 4bf8a927 Remove unused field (#2878) 73ad5426 Don't allow outdated taking arguments (#2872) 9a70949e Use Dart library to read and write tar files (#2817) 2f74230c Do not recommend decativating packages (#2871) b1697a27 Use full error message string in CommandResolutionFailedException (#2870) 16a6210d Upgrade `downgrade --help`: `downgrade` actually updates `pubspec.lock` (#2859) 6e240ea9 Use cached version listings as heuristic when prefetching (#2851) 58152f7c Allow trailing slash in PUB_HOSTED_URL (#2856) b1bf9a33 Handle poor package-listing responses robustly. (#2847) d941bd24 Fix request metadata when overriding dependencyType (#2848) ``` Change-Id: Id7cc4c09e74c02a92bcafe1a9d9bab9431900540 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/199040 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Jonas Jensen <jonasfj@google.com>
copybara-service bot
pushed a commit
that referenced
this issue
Apr 24, 2023
…n, sse, stream_channel, test, tools, usage, webdev Revisions updated by `dart tools/rev_sdk_deps.dart`. async (https://github.com/dart-lang/async/compare/0127813..ce650b0): ce650b0 2023-04-19 Nate Bosch Regression test for error rejecting transaction (#230) characters (https://github.com/dart-lang/characters/compare/ba8d557..b306414): b306414 2023-04-19 Lasse R.H. Nielsen Add tools to update and generate tables and tests. (#72) convert (https://github.com/dart-lang/convert/compare/8812e40..855aeac): 855aeac 2023-04-10 Kevin Moore Require Dart 2.19, fix override param name, update lints (#81) crypto (https://github.com/dart-lang/crypto/compare/1cb1528..77491f5): 77491f5 2023-04-19 Lasse R.H. Nielsen Make `DigestSink` implement `Sink` (#146) dartdoc (https://github.com/dart-lang/dartdoc/compare/a0755f5..8e8b36e): 8e8b36e3 2023-04-19 Janice Collins Fix up documentation on comment reference parser to align with wiki (#2851) b9178fce 2023-04-19 dependabot[bot] Bump github/codeql-action from 2.2.11 to 2.2.12 (#3390) 37b981c4 2023-04-19 dependabot[bot] Bump actions/checkout from 3.5.0 to 3.5.2 (#3389) dadef24a 2023-04-10 dependabot[bot] Bump github/codeql-action from 2.2.9 to 2.2.11 (#3386) dda699a7 2023-04-10 Sam Rawlins Prepare mixin-like classes for Dart 3.0.0 (#3385) intl (https://github.com/dart-lang/intl/compare/a958db0..5d65e38): 5d65e38 2023-04-19 Moritz Update README.md 9972a89 2023-04-19 Moritz Update README.md 5c14faa 2023-04-18 Copybara-Service Merge pull request #584 from dart-lang:fixDateFormattingUrl 4ea644e 2023-04-17 Moritz Merge branch 'master' into fixDateFormattingUrl b0d5687 2023-04-17 dependabot[bot] Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#574) 92149be 2023-04-17 Moritz Merge branch 'master' into fixDateFormattingUrl 5203d6e 2023-04-17 Googler Internal change bab667f 2023-04-17 Moritz Typo b0896b1 2023-04-17 Moritz Fix bug 43507e1 2023-04-14 Googler Internal change d8844a0 2023-04-14 dependabot[bot] Bump actions/checkout from 3.3.0 to 3.5.2 (#579) 99ed16f 2023-04-13 Copybara-Service Merge pull request #572 from dart-lang:adaptBrowserTest 34e824c 2023-03-30 Moritz Adapt test to browser CLDR update markdown (https://github.com/dart-lang/markdown/compare/d437c85..5f98aea): 5f98aea 2023-04-20 Jonas Finnemann Jensen Throw, if `BlockSyntax.parseLines` loops indefinitely (#533) 86ebc2c 2023-04-19 Zhiguang Chen Fix `linkReferenceDefinitionPattern` (#532) sse (https://github.com/dart-lang/sse/compare/11e83a0..f947c3d): f947c3d 2023-04-10 Kevin Moore Require Dart 2.19, bump lints (#82) stream_channel (https://github.com/dart-lang/stream_channel/compare/74646ea..71d4690): 71d4690 2023-04-11 Tobe Osakwe Add example/example.dart (#52) test (https://github.com/dart-lang/test/compare/7832931..7fab079): 7fab0792 2023-04-19 Oleh Prypin Dart 3 compatibility: change `extends Iterator` to `implements Iterator` (#1997) 8f7682a5 2023-04-18 Nate Bosch Remove deprecation of test_api top level libraries (#1994) 7151486c 2023-04-14 Simon Binder Add support for Microsoft Edge (#1992) c1d686aa 2023-04-12 Parker Lougheed Fix "Improvements" link in `package:checks` migration guide (#1991) tools (https://github.com/dart-lang/tools/compare/545d7e1..5c9f45c): 5c9f45c 2023-04-20 Elias Yishak Move `dateStamp` getter to `utils.dart` (#83) usage (https://github.com/dart-lang/usage/compare/0698711..f97752f): f97752f 2023-04-10 Devon Carew update readme for deprecation (#192) webdev (https://github.com/dart-lang/webdev/compare/7546291..8b42c95): 8b42c950 2023-04-21 Anna Gringauze Cleanup record types display (#2070) 1cfb3bd6 2023-04-20 Elliott Brooks Update CONTRIBUTING docs (#2097) 941eda5b 2023-04-19 Elliott Brooks Add a test to make sure proper release procedure is followed for `dwds` and `webdev` (#2095) 2eb7c3ee 2023-04-17 Elliott Brooks Add Github workflow for Dart Code Metrics (#2092) 79a9bc9b 2023-04-17 Elliott Brooks Fix DCM analyzer warnings (#2094) 2a625039 2023-04-14 Elliott Brooks Add `vm_service` git package dependency override (#2078) 1fa19603 2023-04-12 Elliott Brooks Add CI check to remind contributor to update CHANGELOG (#2090) c7bb19e1 2023-04-12 Elliott Brooks Prevent PRs labeled `do-not-submit` from being merged (#2088) 3781ef9b 2023-04-10 Elliott Brooks Run mono_repo generate with version 6.5.3 (#2084) 843890c6 2023-04-10 Anna Gringauze Refactor record shape processing out of calculating record bound fields (#2074) Change-Id: I4ce65f9f79d5086c33c575e57eff300216392510 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/297800 Auto-Submit: Devon Carew <devoncarew@google.com> Reviewed-by: Moritz Sümmermann <mosum@google.com> Commit-Queue: Moritz Sümmermann <mosum@google.com>
This issue was closed.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Resource resource not loaded when trying to use the Timer class in Dartium.
The text was updated successfully, but these errors were encountered: