This repository was archived by the owner on Jul 10, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 27
27
"mimelib" : " https://github.com/whiteout-io/mimelib/tarball/amd" ,
28
28
"encoding" : " https://github.com/whiteout-io/encoding/tarball/amd" ,
29
29
"mime" : " https://github.com/whiteout-io/node-mime/tarball/amd" ,
30
+ "node-shims" : " https://github.com/whiteout-io/node-shims/tarball/master" ,
30
31
"amdefine" : " >=0.0.8" ,
31
32
"setimmediate" : " >=1.0.1"
32
33
},
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ define(function (require) {
8
8
* @version 0.2.23
9
9
*/
10
10
11
- var Stream = require ( "stream" ) . Stream ,
12
- utillib = require ( "util" ) ,
11
+ var shims = require ( 'node-shims' ) ,
12
+ Stream = shims . Stream ,
13
+ utillib = shims . util ,
14
+ crypto = shims . crypto ,
13
15
mimelib = require ( "mimelib" ) ,
14
16
datetime = require ( "./datetime" ) ,
15
17
encodinglib = require ( "encoding" ) ,
16
- Streams = require ( "./streams" ) ,
17
- crypto = require ( "crypto" ) ,
18
18
mime = require ( "mime" ) ;
19
19
20
20
require ( "setimmediate" ) ;
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ if (typeof define !== 'function') { var define = require('amdefine')(module); }
2
2
3
3
define ( function ( require ) {
4
4
5
- var Stream = require ( 'stream' ) . Stream ,
6
- utillib = require ( 'util' ) ,
5
+ var shims = require ( 'node-shims' ) ,
6
+ Stream = shims . Stream ,
7
+ utillib = shims . util ,
8
+ crypto = shims . crypto ,
7
9
mimelib = require ( "mimelib" ) ,
8
- encodinglib = require ( "encoding" ) ,
9
- crypto = require ( "crypto" ) ;
10
+ encodinglib = require ( "encoding" ) ;
10
11
11
12
function Base64Stream ( ) {
12
13
Stream . call ( this ) ;
You can’t perform that action at this time.
0 commit comments