Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Commit eede7d6

Browse files
authored
Revert wasm using fast path due to dart-lang/sdk/issues/55266 (#181)
Preparing to publish 3.0.5 Revert "Switch sha512 to use fastpath with wasm (#165)" This reverts commit 69d13c9.
1 parent 3200166 commit eede7d6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.0.5
2+
3+
* Revert switch to enable fast "sinks" on Wasm because it breaks `dart2js` with
4+
server mode.
5+
16
## 3.0.4
27

38
* Fix WebAssembly support.

lib/src/sha512.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'dart:convert';
77
import 'digest.dart';
88
import 'hash.dart';
99
// ignore: uri_does_not_exist
10-
import 'sha512_fastsinks.dart' if (dart.library.html) 'sha512_slowsinks.dart';
10+
import 'sha512_fastsinks.dart' if (dart.library.js) 'sha512_slowsinks.dart';
1111
import 'utils.dart';
1212

1313
/// An implementation of the [SHA-384][rfc] hash function.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: crypto
2-
version: 3.0.4
2+
version: 3.0.5
33
description: Implementations of SHA, MD5, and HMAC cryptographic functions.
44
repository: https://github.com/dart-lang/crypto
55
topics:

0 commit comments

Comments
 (0)