This repository was archived by the owner on Aug 18, 2018. It is now read-only.
File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.4.1
2
+
3
+ * Added a fix for [ #24890 ] ( https://github.com/dart-lang/sdk/issues/24890 ) .
4
+ * All constants in all libraries will once again be resolved by default.
5
+ * Added a new ` resolveAllLibraries ` option to ` Resolver#resolve ` and
6
+ ` Resolvers#get ` . If ` false ` is passed then constants will not be resolved in
7
+ non entry points. This saves significant time if constants are not needed.
8
+ * Added a ` useSharedSources ` option to ` Resolvers ` . This gives a significant
9
+ speed increase, but must be used carefully.
10
+ * If used, then all ` Resolver ` instances created from the same ` Resolvers `
11
+ instance will share the same sources cache.
12
+ * This should be generally safe to use if the ` Resolvers ` instance is created
13
+ in the constructor of your ` Transformer ` .
14
+ * This option should probably not be used with a static or shared ` Resolvers `
15
+ instance.
16
+
1
17
## 0.4.0
2
18
3
19
* Remove dependency on ` test ` , and move all test related apis to a new
Original file line number Diff line number Diff line change 1
1
name : code_transformers
2
- version : 0.4.0
2
+ version : 0.4.1
3
3
author :
Dart Team <[email protected] >
4
4
description : Collection of utilities related to creating barback transformers.
5
5
homepage : https://github.com/dart-lang/code-transformers
Original file line number Diff line number Diff line change 1
1
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
-
5
4
@TestOn ('vm' )
6
5
library code_transformers.test.remove_sourcemap_comment_test;
7
6
8
7
import 'package:barback/barback.dart' ;
9
8
import 'package:code_transformers/src/remove_sourcemap_comment.dart' ;
9
+ import 'package:test/test.dart' ;
10
10
import 'package:transformer_test/utils.dart' ;
11
11
12
12
final phases = [
You can’t perform that action at this time.
0 commit comments