Skip to content

Commit

Permalink
use readable-stream instead of stream
Browse files Browse the repository at this point in the history
  • Loading branch information
taymoork2 committed Apr 20, 2020
1 parent 1389f6d commit 23d06aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/data-stream.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*global module, process*/
var Buffer = require('safe-buffer').Buffer;
var Stream = require('stream');
var Stream = require('readable-stream');
var util = require('util');

function DataStream(data) {
Expand Down
2 changes: 1 addition & 1 deletion lib/sign-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var Buffer = require('safe-buffer').Buffer;
var DataStream = require('./data-stream');
var jwa = require('jwa');
var Stream = require('stream');
var Stream = require('readable-stream');
var toString = require('./tostring');
var util = require('util');

Expand Down
2 changes: 1 addition & 1 deletion lib/verify-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var Buffer = require('safe-buffer').Buffer;
var DataStream = require('./data-stream');
var jwa = require('jwa');
var Stream = require('stream');
var Stream = require('readable-stream');
var toString = require('./tostring');
var util = require('util');
var JWS_REGEX = /^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;
Expand Down

0 comments on commit 23d06aa

Please sign in to comment.