There was an error while loading. Please reload this page.
1 parent 9fefb52 commit 018e1dcCopy full SHA for 018e1dc
pkgs/crypto/CHANGELOG.md
@@ -2,6 +2,7 @@
2
3
- Run `dart format` with the new style.
4
- Performance improvements.
5
+- Updated web conditional import to use `js_interop` to support WebAssembly.
6
7
## 3.0.6
8
pkgs/crypto/lib/src/sha512.dart
@@ -6,8 +6,8 @@ import 'dart:convert';
import 'digest.dart';
import 'hash.dart';
9
-// ignore: uri_does_not_exist
10
-import 'sha512_fastsinks.dart' if (dart.library.js) 'sha512_slowsinks.dart';
+import 'sha512_fastsinks.dart'
+ if (dart.library.js_interop) 'sha512_slowsinks.dart';
11
import 'utils.dart';
12
13
/// An implementation of the [SHA-384][rfc] hash function.
0 commit comments