Skip to content

Commit 8e1cbf8

Browse files
kevmoojakemac53
andauthored
Support latest pkg:js in pkg:build_runner and pkg:build_web_compilers (#3640)
Prepare both for publish Co-authored-by: Jake Macdonald <[email protected]>
1 parent 0816f59 commit 8e1cbf8

File tree

8 files changed

+19
-7
lines changed

8 files changed

+19
-7
lines changed

build_modules/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 5.0.7
2+
3+
- Fixes to support package:js version 0.7.0.
4+
15
## 5.0.6
26

37
- Allow version 3.4.x of the Dart SDK.

build_modules/lib/src/module_library.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ class ModuleLibrary {
155155
if (parsed.directives.any((d) =>
156156
d is UriBasedDirective &&
157157
d.uri.stringValue?.startsWith('dart:_') == true &&
158-
id.package != 'dart_internal')) {
158+
id.package != 'dart_internal' &&
159+
id.package != 'js')) {
159160
return ModuleLibrary._nonImportable(id);
160161
}
161162
if (_isPart(parsed)) {

build_modules/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: build_modules
2-
version: 5.0.6
2+
version: 5.0.7
33
description: >-
44
Builders to analyze and split Dart code into individually compilable modules
55
based on imports.

build_runner/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
## 2.4.8-wip
1+
## 2.4.8
22

33
- Update README.md to point to the FAQ and other docs.
44
- Print stack traces for `Error` subtype exceptions in non-verbose mode.
5+
- Support latest version of `package:js`.
56

67
## 2.4.7
78

build_runner/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: build_runner
2-
version: 2.4.8-wip
2+
version: 2.4.8
33
description: A build system for Dart code generation and modular compilation.
44
repository: https://github.com/dart-lang/build/tree/master/build_runner
55

@@ -29,7 +29,7 @@ dependencies:
2929
graphs: ^2.2.0
3030
http_multi_server: ^3.0.0
3131
io: ^1.0.0
32-
js: ^0.6.3
32+
js: '>=0.6.3 <0.8.0'
3333
logging: ^1.0.0
3434
meta: ^1.3.0
3535
mime: ^1.0.0

build_web_compilers/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 4.0.9
2+
3+
- Support latest version of `package:js`.
4+
- Allow `dart:_js_annotations` on web platforms.
5+
16
## 4.0.8
27

38
- Allow version 3.4.x of the Dart SDK.

build_web_compilers/lib/src/platforms.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import 'package:build_modules/build_modules.dart';
66

77
const _libraries = [
88
'_internal',
9+
'_js_annotations',
910
'async',
1011
'collection',
1112
'convert',

build_web_compilers/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: build_web_compilers
2-
version: 4.0.8
2+
version: 4.0.9
33
description: Builder implementations wrapping the dart2js and DDC compilers.
44
repository: https://github.com/dart-lang/build/tree/master/build_web_compilers
55

@@ -15,7 +15,7 @@ dependencies:
1515
build_modules: ^5.0.0
1616
collection: ^1.15.0
1717
glob: ^2.0.0
18-
js: ^0.6.3
18+
js: '>=0.6.3 <0.8.0'
1919
logging: ^1.0.0
2020
path: ^1.8.0
2121
pool: ^1.5.0

0 commit comments

Comments
 (0)