yargs-parser
Advanced tools
Comparing version 1.1.0 to 1.1.1-alpha
var camelCase = require('camelcase') | ||
var findUp = require('find-up') | ||
var rootPath = require('app-root-path') | ||
var pkgConf = require('pkg-conf') | ||
@@ -15,3 +15,3 @@ var path = require('path') | ||
var aliases = combineAliases(opts.alias || {}) | ||
var configuration = loadConfiguration(opts.cwd || path.resolve(path.dirname(__filename), '../')) | ||
var configuration = loadConfiguration(opts.cwd || rootPath.path) | ||
var defaults = opts.default || {} | ||
@@ -567,3 +567,3 @@ var envPrefix = opts.envPrefix | ||
}, | ||
cwd: findUp.sync('package.json', {cwd: cwd}) | ||
cwd: cwd | ||
}) | ||
@@ -570,0 +570,0 @@ } |
{ | ||
"name": "yargs-parser", | ||
"version": "1.1.0", | ||
"version": "1.1.1-alpha", | ||
"description": "the mighty option parser used by yargs", | ||
@@ -36,6 +36,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"app-root-path": "^1.0.0", | ||
"camelcase": "^2.0.1", | ||
"find-up": "^1.1.0", | ||
"pkg-conf": "^1.1.1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75254
2
+ Addedapp-root-path@^1.0.0
+ Addedapp-root-path@1.4.0(transitive)
- Removedfind-up@^1.1.0