Merge branch 'v0.10'
[platform/upstream/nodejs.git] / lib / crypto.js
index 9fd7ad6..c8bc69b 100644 (file)
@@ -155,7 +155,10 @@ function LazyTransform(options) {
 }
 util.inherits(LazyTransform, stream.Transform);
 
-['read', 'write', 'end'].forEach(function(action, i, actions) {
+var transformMethods = ['read', 'write', 'end', 'pipe', 'unpipe',
+  'setEncoding', 'pause', 'resume'];
+
+transformMethods.forEach(function(action, i, actions) {
   LazyTransform.prototype[action] = function() {
     stream.Transform.call(this, this._options);