Skip to content

Commit

Permalink
Revert wasm using fast path due to dart-lang/sdk/issues/55266 (#181)
Browse files Browse the repository at this point in the history
Preparing to publish 3.0.5

Revert "Switch sha512 to use fastpath with wasm (#165)"

This reverts commit 69d13c9.
  • Loading branch information
kevmoo authored Aug 15, 2024
1 parent 3200166 commit eede7d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/sha512.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit eede7d6

Please sign in to comment.