mirror of
https://github.com/scratchfoundation/scratch-parser.git
synced 2025-08-28 22:18:45 -04:00
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:
parent
ac57b1c749
commit
e8369be7f5
15 changed files with 43 additions and 72 deletions
6
index.js
6
index.js
|
@ -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([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue