Skip to content

Commit

Permalink
Merge pull request #169 from jordanyaker/master
Browse files Browse the repository at this point in the history
Removed pkginfo dependency.
  • Loading branch information
gangstead committed Dec 16, 2016
2 parents d550674 + 6ebf54a commit b732102
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/prompt.js
Expand Up @@ -32,7 +32,7 @@ readline.Interface.prototype.setPrompt = function(prompt, length) {
//
// Expose version using `pkginfo`
//
require('pkginfo')(module, 'version');
module.exports.version = require('../package.json').version;

var stdin, stdout, history = [];
var prompt = module.exports = Object.create(events.EventEmitter.prototype);
Expand Down Expand Up @@ -771,11 +771,11 @@ function convert(schema) {
if(typeof schema.message !== 'undefined'){
schema.description = schema.message;
}

if(typeof schema.warning !== 'undefined'){
schema.message = schema.warning;
}

if (typeof schema.validator === 'function') {
schema.conform = schema.validator;
} else {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -13,11 +13,10 @@
},
"dependencies": {
"colors": "^1.1.2",
"pkginfo": "0.x.x",
"read": "1.0.x",
"revalidator": "0.1.x",
"utile": "0.3.x",
"winston": "2.1.x"
"winston": "2.x"
},
"devDependencies": {
"vows": "0.7.0"
Expand Down

0 comments on commit b732102

Please sign in to comment.