mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
46c3d62ebd
spack: - Ensure that #1533 is fixed. (#1533) swc_ecma_parser: - Support `async override` in classes. (#1558) swc_ecma_transforms_compat: - `async_to_generator`: Preserve this in async object methods. (#1575) - `nullish_coaelscing`: Fix assignments. (#1570) - `export_namespace_from`: Preserve order of statements. (#1457) swc: - Disable aes. (#1583)
4 lines
126 B
JavaScript
4 lines
126 B
JavaScript
import { createHash, createHmac } from 'crypto-browserify';
|
|
var hash = createHash(algorithm);
|
|
var hmac = createHmac(fn, key);
|