We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434628f commit 932a22dCopy full SHA for 932a22d
core/streams/src/index.js
@@ -1,13 +1,11 @@
1
-'use strict';
2
-
3
-const Stream = require('stream');
+import { PassThrough } from 'stream';
4
5
/**
6
* This stream is used to read tarballs from repository.
7
* @param {*} options
8
* @return {Stream}
9
*/
10
-class ReadTarball extends Stream.PassThrough {
+class ReadTarball extends PassThrough {
11
12
13
*
@@ -25,7 +23,7 @@ class ReadTarball extends Stream.PassThrough {
25
23
26
24
27
28
-class UploadTarball extends Stream.PassThrough {
+class UploadTarball extends PassThrough {
29
30
31
0 commit comments