Comparing version 0.4.1 to 0.5.0
@@ -7,5 +7,5 @@ 'use strict' | ||
var fs$readFile = require('fs-promise').readFile | ||
var fs$readFile = Bluebird.promisify(require('fs').readFile) | ||
var j = require('path').join | ||
var realpath = require('fs-promise').realpath | ||
var realpath = Bluebird.promisify(require('fs').realpath) | ||
var resolvePath = require('path').resolve | ||
@@ -12,0 +12,0 @@ |
@@ -5,7 +5,8 @@ 'use strict' | ||
var Bluebird = require('bluebird') | ||
var dirname = require('path').dirname | ||
var getFileStats = require('fs-promise').stat | ||
var getFileStats = Bluebird.promisify(require('fs').stat) | ||
var resolvePath = require('path').resolve | ||
var Bluebird = require('bluebird') | ||
var debug = require('debug')('app-conf') | ||
@@ -80,3 +81,3 @@ var flatten = require('lodash/flatten') | ||
name: name, | ||
appDir: opts && opts.appDir || DEFAULT_APP_DIR | ||
appDir: (opts && opts.appDir) || DEFAULT_APP_DIR | ||
}) | ||
@@ -83,0 +84,0 @@ }).then(flatten).each(function (file) { |
{ | ||
"name": "app-conf", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "", | ||
@@ -19,6 +19,6 @@ "keywords": [], | ||
"devDependencies": { | ||
"mocha": "^3.0.0", | ||
"mock-fs": "^3.11.0", | ||
"mocha": "^3.4.2", | ||
"mock-fs": "^4.4.1", | ||
"must": "^0.13.1", | ||
"standard": "^8.0.0" | ||
"standard": "^10.0.2" | ||
}, | ||
@@ -33,9 +33,8 @@ "files": [ | ||
"bluebird": "^3.4.0", | ||
"debug": "^2.2.0", | ||
"fs-promise": "^0.5.0", | ||
"glob": "^7", | ||
"debug": "^2.6.8", | ||
"glob": "^7.1.2", | ||
"lodash": "^4.13.1", | ||
"make-error": "^1", | ||
"xdg-basedir": "^2.0.0" | ||
"make-error": "^1.3.0", | ||
"xdg-basedir": "^3.0.0" | ||
} | ||
} |
@@ -100,3 +100,3 @@ 'use strict' | ||
if (!(buffer instanceof Buffer)) { | ||
buffer = new Buffer(buffer) | ||
buffer = Buffer.from(buffer) | ||
} | ||
@@ -103,0 +103,0 @@ |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
10414
6
+ Addedxdg-basedir@3.0.0(transitive)
- Removedfs-promise@^0.5.0
- Removedany-promise@1.3.0(transitive)
- Removedfs-extra@0.26.7(transitive)
- Removedfs-promise@0.5.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedjsonfile@2.4.0(transitive)
- Removedklaw@1.3.1(transitive)
- Removedmz@2.7.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedthenify@3.3.1(transitive)
- Removedthenify-all@1.6.0(transitive)
- Removedxdg-basedir@2.0.0(transitive)
Updateddebug@^2.6.8
Updatedglob@^7.1.2
Updatedmake-error@^1.3.0
Updatedxdg-basedir@^3.0.0