4919729f00
This reverts commit9e1997971e. Reason for revert: Breaks Dart -> Engine roll? See: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20linux_web_engine/1821/overview https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20Engine%20Drone/666824/overview Original change's description: > Reland "[pkg:js/dart:js_interop] Move annotations to dart:_js_annotations" > > This is a reland of commitfbe9c21972> > This fixes the issue with the duplicate allowPlatformPrivateLibraryAccess. > > Original change's description: > > [pkg:js/dart:js_interop] Move annotations to dart:_js_annotations > > > > This moves package:js annotations to the internal library that > > Flutter has been using already. This gives us a single location > > for all package:js annotations. We also introduce a @JS annotation > > in dart:js_interop since we can no longer use dart:_js_annotations > > to avoid the breaking change in semantics. > > > > CoreLibraryReviewExempt: Backend-specific internal library. > > Change-Id: I9ca55c807d7d192004a6da99f63a72d598fe4f12 > > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/284760 > > Commit-Queue: Srujan Gaddam <srujzs@google.com> > > Reviewed-by: Samuel Rawlins <srawlins@google.com> > > Reviewed-by: Johnni Winther <johnniwinther@google.com> > > Reviewed-by: Joshua Litt <joshualitt@google.com> > > CoreLibraryReviewExempt: Relanding. > Change-Id: I40ff2a00682fccbd7dd44a364b5046aaac0f3bac > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/293203 > Reviewed-by: Joshua Litt <joshualitt@google.com> > Commit-Queue: Srujan Gaddam <srujzs@google.com> > Reviewed-by: Johnni Winther <johnniwinther@google.com> > Reviewed-by: Samuel Rawlins <srawlins@google.com> Change-Id: Ide8609575c73d714f3ae4f9ea9ffc74e228fa189 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/293962 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Samuel Rawlins <srawlins@google.com> Reviewed-by: Leaf Petersen <leafp@google.com> Commit-Queue: Zach Anderson <zra@google.com>
18 lines
559 B
YAML
18 lines
559 B
YAML
name: js
|
|
version: 0.6.9-dev
|
|
description: Annotations to create static Dart interfaces for JavaScript APIs.
|
|
repository: https://github.com/dart-lang/sdk/tree/main/pkg/js
|
|
|
|
environment:
|
|
sdk: ">=3.0.0-217.0.dev <4.0.0"
|
|
|
|
dependencies:
|
|
meta: ^1.7.0
|
|
|
|
# We use 'any' version constraints here as we get our package versions from
|
|
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
|
|
# best practice for packages is to specify their compatible version ranges.
|
|
# See also https://dart.dev/tools/pub/dependencies.
|
|
dev_dependencies:
|
|
lints: any
|