@@ -51,7 +51,7 @@ const {
5151 isArrayBufferView,
5252} = require ( 'internal/util/types' ) ;
5353
54- const LazyTransform = require ( 'internal/streams/lazy_transform ' ) ;
54+ const Transform = require ( 'internal/streams/transform ' ) ;
5555
5656const kState = Symbol ( 'kState' ) ;
5757const kFinalized = Symbol ( 'kFinalized' ) ;
@@ -69,11 +69,11 @@ function Hash(algorithm, options) {
6969 this [ kState ] = {
7070 [ kFinalized ] : false ,
7171 } ;
72- ReflectApply ( LazyTransform , this , [ options ] ) ;
72+ ReflectApply ( Transform , this , [ options ] ) ;
7373}
7474
75- ObjectSetPrototypeOf ( Hash . prototype , LazyTransform . prototype ) ;
76- ObjectSetPrototypeOf ( Hash , LazyTransform ) ;
75+ ObjectSetPrototypeOf ( Hash . prototype , Transform . prototype ) ;
76+ ObjectSetPrototypeOf ( Hash , Transform ) ;
7777
7878Hash . prototype . copy = function copy ( options ) {
7979 const state = this [ kState ] ;
@@ -133,11 +133,11 @@ function Hmac(hmac, key, options) {
133133 this [ kState ] = {
134134 [ kFinalized ] : false ,
135135 } ;
136- ReflectApply ( LazyTransform , this , [ options ] ) ;
136+ ReflectApply ( Transform , this , [ options ] ) ;
137137}
138138
139- ObjectSetPrototypeOf ( Hmac . prototype , LazyTransform . prototype ) ;
140- ObjectSetPrototypeOf ( Hmac , LazyTransform ) ;
139+ ObjectSetPrototypeOf ( Hmac . prototype , Transform . prototype ) ;
140+ ObjectSetPrototypeOf ( Hmac , Transform ) ;
141141
142142Hmac . prototype . update = Hash . prototype . update ;
143143
0 commit comments