Skip to content

Commit

Permalink
update build_modules and build_web_compilers for the latest package:js
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 committed Jan 11, 2024
1 parent cf4b392 commit eebf616
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions build_modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion build_modules/lib/src/module_library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
2 changes: 1 addition & 1 deletion build_modules/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions build_web_compilers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 4.0.9

- Support latest version of `package:js`.
- Allow `dart:_js_annotations` on web platforms.

## 4.0.8

Expand Down
1 change: 1 addition & 0 deletions build_web_compilers/lib/src/platforms.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:build_modules/build_modules.dart';

const _libraries = [
'_internal',
'_js_annotations',
'async',
'collection',
'convert',
Expand Down

0 comments on commit eebf616

Please sign in to comment.