mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
crypto: rename symbols to match guidelines
PR-URL: https://github.com/nodejs/node/pull/22770 Refs: https://github.com/nodejs/node/pull/22684 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
ff17b39008
commit
9b58b79372
1 file changed
+2
-2
@@ -23,8 +23,8 @@ const { inherits } = require('util');
|
||||
const { normalizeEncoding } = require('internal/util');
|
||||
const { isArrayBufferView } = require('internal/util/types');
|
||||
const LazyTransform = require('internal/streams/lazy_transform');
|
||||
const kState = Symbol('state');
|
||||
const kFinalized = Symbol('finalized');
|
||||
const kState = Symbol('kState');
|
||||
const kFinalized = Symbol('kFinalized');
|
||||
|
||||
function Hash(algorithm, options) {
|
||||
if (!(this instanceof Hash))
|
||||
|
||||
Reference in new issue
Block a user