Files
sdk/pkg/js_shared
Mayank Patke 2c90e5dde9 [js_shared] Update pubspec to 3.8 and reformat.
Change-Id: Ifb1e56982515e9e6b5d344749357e5bfb5641bfc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427566
Commit-Queue: Nate Biggs <natebiggs@google.com>
Auto-Submit: Mayank Patke <fishythefish@google.com>
Reviewed-by: Nate Biggs <natebiggs@google.com>
2025-05-08 14:20:23 -07:00
..

Package js_shared:

This code is a compile time dependency of dart2js and DDC. It is imported as a package: import by both compilers.

There is an exact copy in the SDK of the libraries in the pkg/js_shared/lib/synced sub-directory. Those libraries are imported as dart: imports by the dart2js and DDC runtime libraries.

Important: all code under pkg/js_shared/lib/synced must be kept in sync with the runtime (in sdk/lib/_internal/js_shared/lib/synced) at all times. The test/in_sync_test.dart test verifies this.