diff --git a/CHANGELOG.md b/CHANGELOG.md index 86c9378..7e1739f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 3.0.5 + +* Revert switch to enable fast "sinks" on Wasm because it breaks `dart2js` with + server mode. + ## 3.0.4 * Fix WebAssembly support. diff --git a/lib/src/sha512.dart b/lib/src/sha512.dart index 97f8444..557954c 100644 --- a/lib/src/sha512.dart +++ b/lib/src/sha512.dart @@ -7,7 +7,7 @@ import 'dart:convert'; import 'digest.dart'; import 'hash.dart'; // ignore: uri_does_not_exist -import 'sha512_fastsinks.dart' if (dart.library.html) 'sha512_slowsinks.dart'; +import 'sha512_fastsinks.dart' if (dart.library.js) 'sha512_slowsinks.dart'; import 'utils.dart'; /// An implementation of the [SHA-384][rfc] hash function. diff --git a/pubspec.yaml b/pubspec.yaml index 483eaf5..424bf1f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: crypto -version: 3.0.4 +version: 3.0.5 description: Implementations of SHA, MD5, and HMAC cryptographic functions. repository: https://github.com/dart-lang/crypto topics: