refactor: Refactor library to use latest scratch eslint rules and update all dependencies

Refactors library to use latest scratch eslint rules. Updates all dependencies to latest versions
which requires minor changes to the JSON schema, tests, and supported engine (8+)

BREAKING CHANGE: Module no longer supports less than Node 8
This commit is contained in:
Andrew Sliwinski 2018-03-24 11:09:43 -04:00
parent ac57b1c749
commit e8369be7f5
15 changed files with 43 additions and 72 deletions

View file

@ -8,10 +8,8 @@ var analyze = require('./lib/analyze');
/**
* Unpacks, parses, validates, and analyzes Scratch projects. If successful,
* will return a valid Scratch project object with appended metadata.
*
* @param {Buffer | string} Input buffer or string representing scratch project
*
* @return {Object}
* @param {Buffer | string} input Buffer or string representing project
* @param {Function} callback Returns error or project data
*/
module.exports = function (input, callback) {
async.waterfall([