Skip to content

Commit 15388c8

Browse files
author
Ilya Radchenko
committed
Merge pull request #29 from janruehling/fixMd5Dependency
Fix md5 dependency and update case
2 parents 0058fb0 + b4621d6 commit 15388c8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/install-globals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var path = require('path');
44
var fs = require('fs-extra');
5-
var md5 = require('MD5');
5+
var md5 = require('md5');
66
var npmCommand = require('./npm-command');
77

88
function installGlobals(config, context, globalDir, done) {

lib/package-hash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var path = require('path');
44
var fs = require('fs-extra');
5-
var md5 = require('MD5');
5+
var md5 = require('md5');
66

77
function packageHash(dir, done) {
88
fs.readFile(path.join(dir, 'package.json'), 'utf8', function (err, packagejson) {

lib/update-global-cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
var path = require('path');
4-
var md5 = require('MD5');
4+
var md5 = require('md5');
55

66
function updateGlobalCache(globals, context, dataDir, done) {
77
var dest = path.join(dataDir, 'node_modules');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dependencies": {
2020
"npm": "^2.7.1",
2121
"n": "^1.3.0",
22-
"MD5": "^1.1.0",
22+
"md5": "^2.0.0",
2323
"async": "^1.0.0",
2424
"fs-extra": "^0.8.1"
2525
},

0 commit comments

Comments
 (0)