diff --git a/build_modules/CHANGELOG.md b/build_modules/CHANGELOG.md index a76c0efbb..fc5dc1a96 100644 --- a/build_modules/CHANGELOG.md +++ b/build_modules/CHANGELOG.md @@ -1,3 +1,7 @@ +## 5.0.7 + +- Fixes to support package:js version 0.7.0. + ## 5.0.6 - Allow version 3.4.x of the Dart SDK. diff --git a/build_modules/lib/src/module_library.dart b/build_modules/lib/src/module_library.dart index 157166994..5cece6118 100644 --- a/build_modules/lib/src/module_library.dart +++ b/build_modules/lib/src/module_library.dart @@ -155,7 +155,8 @@ class ModuleLibrary { if (parsed.directives.any((d) => d is UriBasedDirective && d.uri.stringValue?.startsWith('dart:_') == true && - id.package != 'dart_internal')) { + id.package != 'dart_internal' && + id.package != 'js')) { return ModuleLibrary._nonImportable(id); } if (_isPart(parsed)) { diff --git a/build_modules/pubspec.yaml b/build_modules/pubspec.yaml index 2b3110b38..fe9dfadac 100644 --- a/build_modules/pubspec.yaml +++ b/build_modules/pubspec.yaml @@ -1,5 +1,5 @@ name: build_modules -version: 5.0.6 +version: 5.0.7 description: >- Builders to analyze and split Dart code into individually compilable modules based on imports. diff --git a/build_runner/CHANGELOG.md b/build_runner/CHANGELOG.md index a6a40028b..a07a5a9d3 100644 --- a/build_runner/CHANGELOG.md +++ b/build_runner/CHANGELOG.md @@ -1,7 +1,8 @@ -## 2.4.8-wip +## 2.4.8 - Update README.md to point to the FAQ and other docs. - Print stack traces for `Error` subtype exceptions in non-verbose mode. +- Support latest version of `package:js`. ## 2.4.7 diff --git a/build_runner/pubspec.yaml b/build_runner/pubspec.yaml index 32b8b7204..98000a3b7 100644 --- a/build_runner/pubspec.yaml +++ b/build_runner/pubspec.yaml @@ -1,5 +1,5 @@ name: build_runner -version: 2.4.8-wip +version: 2.4.8 description: A build system for Dart code generation and modular compilation. repository: https://github.com/dart-lang/build/tree/master/build_runner @@ -29,7 +29,7 @@ dependencies: graphs: ^2.2.0 http_multi_server: ^3.0.0 io: ^1.0.0 - js: ^0.6.3 + js: '>=0.6.3 <0.8.0' logging: ^1.0.0 meta: ^1.3.0 mime: ^1.0.0 diff --git a/build_web_compilers/CHANGELOG.md b/build_web_compilers/CHANGELOG.md index 2c6d5ccaa..e4eba8b1b 100644 --- a/build_web_compilers/CHANGELOG.md +++ b/build_web_compilers/CHANGELOG.md @@ -1,3 +1,8 @@ +## 4.0.9 + +- Support latest version of `package:js`. +- Allow `dart:_js_annotations` on web platforms. + ## 4.0.8 - Allow version 3.4.x of the Dart SDK. diff --git a/build_web_compilers/lib/src/platforms.dart b/build_web_compilers/lib/src/platforms.dart index c36a0a6b9..7d0fe8637 100644 --- a/build_web_compilers/lib/src/platforms.dart +++ b/build_web_compilers/lib/src/platforms.dart @@ -6,6 +6,7 @@ import 'package:build_modules/build_modules.dart'; const _libraries = [ '_internal', + '_js_annotations', 'async', 'collection', 'convert', diff --git a/build_web_compilers/pubspec.yaml b/build_web_compilers/pubspec.yaml index 44ccddf8a..de2a74545 100644 --- a/build_web_compilers/pubspec.yaml +++ b/build_web_compilers/pubspec.yaml @@ -1,5 +1,5 @@ name: build_web_compilers -version: 4.0.8 +version: 4.0.9 description: Builder implementations wrapping the dart2js and DDC compilers. repository: https://github.com/dart-lang/build/tree/master/build_web_compilers @@ -15,7 +15,7 @@ dependencies: build_modules: ^5.0.0 collection: ^1.15.0 glob: ^2.0.0 - js: ^0.6.3 + js: '>=0.6.3 <0.8.0' logging: ^1.0.0 path: ^1.8.0 pool: ^1.5.0