diff options
author | Guy Bedford <guybedford@gmail.com> | 2020-11-09 06:25:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 09:25:13 -0500 |
commit | 8b7f5531ee1ccde897e87890e9aabc554fedb9dd (patch) | |
tree | 117a85b98d1488c290d8acc392cfb99b1b21f8e0 /std/node/_crypto | |
parent | 293cae5e1ff2a5768e2f3a73cc18f99acc3fbfbd (diff) |
feat(std/node): consistent Node.js builtin shapes (#8274)
Diffstat (limited to 'std/node/_crypto')
-rw-r--r-- | std/node/_crypto/pbkdf2.ts | 2 | ||||
-rw-r--r-- | std/node/_crypto/randomBytes.ts | 2 | ||||
-rw-r--r-- | std/node/_crypto/types.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/std/node/_crypto/pbkdf2.ts b/std/node/_crypto/pbkdf2.ts index 15b5eec3a..80aacdaf2 100644 --- a/std/node/_crypto/pbkdf2.ts +++ b/std/node/_crypto/pbkdf2.ts @@ -1,5 +1,5 @@ import { createHash } from "../../hash/mod.ts"; -import Buffer from "../buffer.ts"; +import { Buffer } from "../buffer.ts"; import { MAX_ALLOC } from "./constants.ts"; import { HASH_DATA } from "./types.ts"; diff --git a/std/node/_crypto/randomBytes.ts b/std/node/_crypto/randomBytes.ts index 7b8276151..28c7e454e 100644 --- a/std/node/_crypto/randomBytes.ts +++ b/std/node/_crypto/randomBytes.ts @@ -1,4 +1,4 @@ -import Buffer from "../buffer.ts"; +import { Buffer } from "../buffer.ts"; export const MAX_RANDOM_VALUES = 65536; export const MAX_SIZE = 4294967295; diff --git a/std/node/_crypto/types.ts b/std/node/_crypto/types.ts index 093fccadc..e56d8416c 100644 --- a/std/node/_crypto/types.ts +++ b/std/node/_crypto/types.ts @@ -1,3 +1,3 @@ -import Buffer from "../buffer.ts"; +import { Buffer } from "../buffer.ts"; export type HASH_DATA = string | ArrayBufferView | Buffer; |