code_transformers 0.5.1+5
code_transformers: ^0.5.1+5 copied to clipboard
Collection of utilities related to creating barback transformers.
0.5.1+5 #
- Support the latest
analyzerpackage.
0.5.1+4 #
- Support the latest
analyzerpackage.
0.5.1+3 #
- Support the latest
cli_utilpackage.
0.5.1+2 #
- Support the latest
analyzerpackage.
0.5.1+1 #
- Updated mock SDK sources to include FutureOr
0.5.1 #
- Resolver has a new method which can check whether an Asset is a Dart library source
0.5.0+2 #
- Resolver no longer returns a partial LibraryElement for assets which are not libraries
0.5.0+1 #
- Stop using deprecated analyzer apis.
0.5.0 #
- Always use a single
Resolverinstance. Fixes an issue where running with the 'build' package in file watching mode would treat some files as never changing. - Breaking Change: remove the
useSharedSourcesargument to Resolvers ctor since sources are always shared.
0.4.2+4 #
- Update to work with analyzer 0.29.x and transform_test 0.2.x
0.4.2+3 #
- Update to work with analyzer 0.28.x.
0.4.2+2 #
- Update to work with analyzer 0.23.x.
0.4.2+1 #
- Contains a fix for the
useSharedSourcesoption that could result in null library elements when running on multiple entry points.
0.4.1 #
- Added a fix for #24890.
- All constants in all libraries will once again be resolved by default.
- Added a new
resolveAllLibrariesoption toResolver#resolveandResolvers#get. Iffalseis passed then constants will not be resolved in non entry points. This saves significant time if constants are not needed.
- Added a
useSharedSourcesoption toResolvers. This gives a significant speed increase, but must be used carefully.- If used, then all
Resolverinstances created from the sameResolversinstance will share the same sources cache. - This should be generally safe to use if the
Resolversinstance is created in the constructor of yourTransformer. - This option should probably not be used with a static or shared
Resolversinstance.
- If used, then all
0.4.0 #
- Remove dependency on
test, and move all test related apis to a newtransformer_testpackage which is now a dev dependency.
0.3.1 #
- Update to analyzer
>=0.27.0 <0.28.0.
0.3.0+1 #
- Upgrade
testto a real dependency.
0.3.0 #
- Re-release
0.2.10release as0.3.0.
0.2.11 #
- Revert
0.2.10release, will be re-released as0.3.0since it is actually a breaking change.
0.2.10 #
- Update to use the
testpackage instead of theunittestpackage.
0.2.9+4 #
- Republish 0.2.9+2 under new version.
0.2.9+3 #
- Republish of 0.2.9 to ensure nobody gets 0.2.9+1 in the future.
0.2.9+2 #
- Update to analyzer '>=0.26.0 <0.27.0'
0.2.9+1 #
- Update to analyzer '<0.27.0'
- This version will be reverted as it wasn't compatible with <0.26.0.
0.2.9 #
- Update to analyzer
<=0.26.0.
0.2.8 #
- Add
benchmarks.dartfile which exposes aTransformerBenchmark. This can be used to implement simple benchmarks of transformer code.
0.2.7+1 #
- Fixes for missing overrides after upgrade to analzyer 0.24.0
0.2.7 #
- Added default set of mockSdkSources and upgraded to analyzer 0.24.0
0.2.6 #
- Added
assetIdToUrito assets.dart.
0.2.5 #
- Improvements to
dartSdkDirectoryso it has a better chance of success. BuildLoggernow acceptsAggregateTransformorTransform. If passing in anAggregateTransformyou must also pass in anAssetIdto use as the primary input.
0.2.4 #
- Added some basic string formatting options to
testPhasesto make it a bit less strict if desired.
0.2.3+2 #
- Added logic to discover the location of the dart SDK when the dart binary is a symlink.
0.2.3 #
- Added support for logging stable error messages from transformers.
0.2.2 #
- Added two transformers, 'delete_file' and 'remove_sourcemap_comment'.
0.2.0+3 #
- Raise the lower bound on the source_maps constraint to exclude incompatible versions.
0.2.0+2 #
- Widen the constraint on source_maps.
0.2.0+1 #
- Widen the constraint on barback.
0.2.0 #
- Switch from
source_maps'Spanclass tosource_span'sSourceSpanclass.