forked from raineorshine/solgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 26.8 KB
/
.eslintcache
1
[{"/Users/raine/projects/solgraph/.eslintrc.js":"1","/Users/raine/projects/solgraph/dist/bin.js":"2","/Users/raine/projects/solgraph/dist/index.js":"3","/Users/raine/projects/solgraph/solgraph.js":"4","/Users/raine/projects/solgraph/src/bin.js":"5","/Users/raine/projects/solgraph/src/index.js":"6","/Users/raine/projects/solgraph/test/index.js":"7"},{"size":422,"mtime":1670164339619,"results":"8","hashOfConfig":"9"},{"size":972,"mtime":1670164180314,"results":"10","hashOfConfig":"11"},{"size":7941,"mtime":1670164180361,"results":"12","hashOfConfig":"11"},{"size":46,"mtime":1530212886417,"results":"13","hashOfConfig":"9"},{"size":705,"mtime":1670164105941,"results":"14","hashOfConfig":"9"},{"size":4443,"mtime":1670165090851,"results":"15","hashOfConfig":"9"},{"size":925,"mtime":1670165175718,"results":"16","hashOfConfig":"9"},{"filePath":"17","messages":"18","suppressedMessages":"19","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1iz0uma",{"filePath":"20","messages":"21","suppressedMessages":"22","errorCount":12,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":12,"fixableWarningCount":0,"source":"23"},"1j44k1s",{"filePath":"24","messages":"25","suppressedMessages":"26","errorCount":68,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":54,"fixableWarningCount":0,"source":"27"},{"filePath":"28","messages":"29","suppressedMessages":"30","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"31","messages":"32","suppressedMessages":"33","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","suppressedMessages":"36","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"37","messages":"38","suppressedMessages":"39","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/raine/projects/solgraph/.eslintrc.js",[],[],"/Users/raine/projects/solgraph/dist/bin.js",["40","41","42","43","44","45","46","47","48","49","50","51"],[],"\"use strict\";\n\nvar _commander = _interopRequireDefault(require(\"commander\"));\nvar _fs = require(\"fs\");\nvar _package = _interopRequireDefault(require(\"../package.json\"));\nvar _index = _interopRequireDefault(require(\"./index.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nvar extendedHelp = \"\\n\\n\".concat(_package[\"default\"].description, \"\\n\\nExample:\\n$ cat MyContract.sol | solgraph > MyContract.dot\");\nvar program = _commander[\"default\"].version(_package[\"default\"].version).arguments('<file>').usage(extendedHelp).parse(process.argv);\nvar input = program.args[0] ?\n// filename from command line arguments\nnew Promise(function (resolve, reject) {\n (0, _fs.readFile)(program.args[0], 'utf-8', function (err, data) {\n if (err) {\n return reject(err);\n }\n resolve(data);\n });\n}) :\n// stdin\nrequire('get-stdin-promise');\ninput.then(function (source) {\n console.log((0, _index[\"default\"])(source));\n});","/Users/raine/projects/solgraph/dist/index.js",["52","53","54","55","56","57","58","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","91","92","93","94","95","96","97","98","99","100","101","102","103","104","105","106","107","108","109","110","111","112","113","114","115","116","117","118","119"],[],"\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar _graphlib = require(\"graphlib\");\nvar dot = _interopRequireWildcard(require(\"graphlib-dot\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\nvar solparser = require('@solidity-parser/parser');\nvar DEPRECATED = ['send', 'transfer'];\nvar deprecatedNodeName = function deprecatedNodeName(name) {\n return \"DEPRECATED(\".concat(name, \")\");\n};\nvar DEPRECATED_NODE_STYLE = {\n shape: 'rectangle'\n};\nvar EVENT_NODE_STYLE = {\n shape: 'hexagon'\n};\nvar COLORS = {\n CONSTANT: 'blue',\n CALL: 'orange',\n INTERNAL: 'gray',\n VIEW: 'yellow',\n PURE: 'green',\n PAYABLE: 'brown',\n DEPRECATED: 'red'\n};\nvar isDeprecated = function isDeprecated(name) {\n return DEPRECATED.includes(name);\n};\nvar prop = function prop(name) {\n return function (object) {\n return object[name];\n };\n};\nvar propEquals = function propEquals(name, values) {\n return function (object) {\n return Array.isArray(values) ? values.includes(object[name]) : object[name] === values;\n };\n};\nvar wrap = function wrap(val) {\n return Array.isArray(val) ? val : [val];\n};\n\n/** Converts an AST to array. */\nvar flatten = function flatten(ast) {\n var _ref;\n var children = wrap(ast.body || ast.expression || ast.left || ast.right || ast.literal || []);\n return (_ref = [ast]).concat.apply(_ref, _toConsumableArray(children.map(flatten)));\n};\n\n/** Finds all call expression nodes in an AST. */\nvar callees = function callees(node) {\n if (!(node.body && node.body.statements)) return [];\n var statements = node.body.statements;\n return statements.filter(function (statement) {\n return statement.type === 'EmitStatement' || statement.type === 'ExpressionStatement' && statement.expression.type === 'FunctionCall' && !['require', 'assert'].includes(statement.expression.expression.name);\n });\n};\n\n/** Determines the name of the graph node to render from the AST node. */\nvar graphNodeName = function graphNodeName(node) {\n return node.name || (node.isConstructor ? 'constructor' : node.isFallback ? 'fallback' : node.isReceiveEther ? 'receive' : 'UNKNOWN');\n};\nvar _default = function _default(source) {\n // parse the Solidity source\n var ast;\n try {\n ast = solparser.parse(source);\n } catch (e) {\n console.error('Parse error. Please report to https://github.com/sc-forks/solidity-parser.');\n console.error(e);\n process.exit(1);\n }\n\n // get a list of all function nodes\n var contracts = ast.children.filter(function (child) {\n return child.type === 'ContractDefinition';\n });\n var functionAndEventNodes = contracts.map(function (contract) {\n return contract.subNodes;\n }).flat().filter(propEquals('type', ['FunctionDefinition', 'EventDefinition']));\n\n // analyze the security of the functions\n var analyzedNodes = functionAndEventNodes.map(function (node) {\n var functionCallees = callees(node).map(function (statement) {\n switch (statement.type) {\n case 'EmitStatement':\n return statement.eventCall.expression.name;\n case 'ExpressionStatement':\n var expression = statement.expression.expression;\n if (expression.name) return expression.name;\n if (expression.type === 'MemberAccess') return expression.memberName;\n default:\n var msg = \"Unexpected statement type (\".concat(statement.type, \") in analyzed nodes.\");\n throw new Error(msg);\n }\n });\n return {\n name: graphNodeName(node),\n callees: functionCallees,\n send: functionCallees.includes('send'),\n transfer: functionCallees.includes('transfer'),\n constant: node.stateMutability && node.stateMutability === 'constant',\n internal: node.visibility && node.visibility === 'internal',\n view: node.stateMutability && node.stateMutability === 'view',\n pure: node.stateMutability && node.stateMutability === 'pure',\n payable: node.stateMutability && node.stateMutability === 'payable',\n event: node.type && node.type === 'EventDefinition'\n };\n });\n\n // generate a graph\n var digraph = new _graphlib.Graph();\n analyzedNodes.forEach(function (_ref2) {\n var name = _ref2.name,\n callees = _ref2.callees,\n send = _ref2.send,\n constant = _ref2.constant,\n internal = _ref2.internal,\n view = _ref2.view,\n pure = _ref2.pure,\n transfer = _ref2.transfer,\n payable = _ref2.payable,\n event = _ref2.event;\n // node\n digraph.setNode(name, event ? EVENT_NODE_STYLE : send ? {\n color: COLORS.DEPRECATED\n } : constant ? {\n color: COLORS.CONSTANT\n } : internal ? {\n color: COLORS.INTERNAL\n } : view ? {\n color: COLORS.VIEW\n } : pure ? {\n color: COLORS.PURE\n } : transfer ? {\n color: COLORS.DEPRECATED\n } : payable ? {\n color: COLORS.PAYABLE\n } : {});\n\n // edge\n callees.forEach(function (callee) {\n var calleeNodeName = isDeprecated(callee) ? deprecatedNodeName(callee) : callee;\n digraph.setEdge(name, calleeNodeName);\n });\n });\n\n // add deprecated native calls\n DEPRECATED.forEach(function (name) {\n if (analyzedNodes.some(prop(name))) {\n digraph.setNode(deprecatedNodeName(name), DEPRECATED_NODE_STYLE);\n }\n });\n return dot.write(digraph);\n};\nexports[\"default\"] = _default;","/Users/raine/projects/solgraph/solgraph.js",[],[],"/Users/raine/projects/solgraph/src/bin.js",[],[],"/Users/raine/projects/solgraph/src/index.js",[],[],"/Users/raine/projects/solgraph/test/index.js",[],[],{"ruleId":"120","severity":2,"message":"121","line":3,"column":1,"nodeType":"122","messageId":"123","endLine":3,"endColumn":63,"fix":"124"},{"ruleId":"120","severity":2,"message":"121","line":4,"column":1,"nodeType":"122","messageId":"123","endLine":4,"endColumn":25,"fix":"125"},{"ruleId":"120","severity":2,"message":"121","line":5,"column":1,"nodeType":"122","messageId":"123","endLine":5,"endColumn":67,"fix":"126"},{"ruleId":"120","severity":2,"message":"121","line":6,"column":1,"nodeType":"122","messageId":"123","endLine":6,"endColumn":60,"fix":"127"},{"ruleId":"128","severity":2,"message":"129","line":7,"column":1,"nodeType":"130","messageId":"131","endLine":8,"endColumn":1,"fix":"132"},{"ruleId":"120","severity":2,"message":"121","line":8,"column":1,"nodeType":"122","messageId":"123","endLine":8,"endColumn":133,"fix":"133"},{"ruleId":"134","severity":2,"message":"135","line":8,"column":43,"nodeType":"136","messageId":"137","endLine":8,"endColumn":52,"fix":"138"},{"ruleId":"120","severity":2,"message":"121","line":9,"column":1,"nodeType":"122","messageId":"123","endLine":9,"endColumn":134,"fix":"139"},{"ruleId":"134","severity":2,"message":"135","line":9,"column":26,"nodeType":"136","messageId":"137","endLine":9,"endColumn":35,"fix":"140"},{"ruleId":"134","severity":2,"message":"135","line":9,"column":54,"nodeType":"136","messageId":"137","endLine":9,"endColumn":63,"fix":"141"},{"ruleId":"120","severity":2,"message":"121","line":10,"column":1,"nodeType":"122","messageId":"123","endLine":21,"endColumn":30,"fix":"142"},{"ruleId":"134","severity":2,"message":"135","line":23,"column":26,"nodeType":"136","messageId":"137","endLine":23,"endColumn":35,"fix":"143"},{"ruleId":"128","severity":2,"message":"129","line":3,"column":1,"nodeType":"130","messageId":"131","endLine":4,"endColumn":1,"fix":"144"},{"ruleId":"145","severity":2,"message":"146","line":3,"column":52,"nodeType":"147","messageId":"148","endLine":3,"endColumn":335},{"ruleId":"149","severity":2,"message":"150","line":3,"column":59,"nodeType":"151","messageId":"152","endLine":3,"endColumn":66},{"ruleId":"153","severity":2,"message":"154","line":3,"column":69,"nodeType":"155","messageId":"156","endLine":3,"endColumn":96,"fix":"157"},{"ruleId":"158","severity":2,"message":"159","line":3,"column":80,"nodeType":"155","messageId":"160","endLine":3,"endColumn":82,"fix":"161"},{"ruleId":"153","severity":2,"message":"154","line":3,"column":100,"nodeType":"155","messageId":"156","endLine":3,"endColumn":134,"fix":"162"},{"ruleId":"158","severity":2,"message":"159","line":3,"column":109,"nodeType":"155","messageId":"160","endLine":3,"endColumn":111,"fix":"163"},{"ruleId":"153","severity":2,"message":"154","line":3,"column":208,"nodeType":"155","messageId":"156","endLine":3,"endColumn":235,"fix":"164"},{"ruleId":"158","severity":2,"message":"159","line":3,"column":219,"nodeType":"155","messageId":"160","endLine":3,"endColumn":221,"fix":"165"},{"ruleId":"166","severity":2,"message":"167","line":3,"column":320,"nodeType":"168","messageId":"169","endLine":3,"endColumn":321},{"ruleId":"170","severity":2,"message":"171","line":4,"column":1,"nodeType":"172","endLine":6,"endColumn":3},{"ruleId":"134","severity":2,"message":"135","line":7,"column":9,"nodeType":"136","messageId":"137","endLine":7,"endColumn":18,"fix":"173"},{"ruleId":"174","severity":2,"message":"175","line":7,"column":22,"nodeType":"176","messageId":"177","endLine":7,"endColumn":28},{"ruleId":"120","severity":2,"message":"121","line":8,"column":1,"nodeType":"122","messageId":"123","endLine":8,"endColumn":37,"fix":"178"},{"ruleId":"120","severity":2,"message":"121","line":9,"column":1,"nodeType":"122","messageId":"123","endLine":9,"endColumn":60,"fix":"179"},{"ruleId":"128","severity":2,"message":"129","line":10,"column":1,"nodeType":"130","messageId":"131","endLine":11,"endColumn":1,"fix":"180"},{"ruleId":"120","severity":2,"message":"121","line":10,"column":98,"nodeType":"122","messageId":"123","endLine":10,"endColumn":136,"fix":"181"},{"ruleId":"120","severity":2,"message":"121","line":10,"column":137,"nodeType":"122","messageId":"123","endLine":10,"endColumn":174,"fix":"182"},{"ruleId":"149","severity":2,"message":"183","line":10,"column":183,"nodeType":"151","messageId":"152","endLine":10,"endColumn":207},{"ruleId":"128","severity":2,"message":"129","line":11,"column":1,"nodeType":"130","messageId":"131","endLine":12,"endColumn":1,"fix":"184"},{"ruleId":"120","severity":2,"message":"121","line":11,"column":220,"nodeType":"122","messageId":"123","endLine":11,"endColumn":270,"fix":"185"},{"ruleId":"120","severity":2,"message":"121","line":11,"column":327,"nodeType":"122","messageId":"123","endLine":11,"endColumn":343,"fix":"186"},{"ruleId":"120","severity":2,"message":"121","line":11,"column":344,"nodeType":"122","messageId":"123","endLine":11,"endColumn":429,"fix":"187"},{"ruleId":"188","severity":2,"message":"189","line":11,"column":430,"nodeType":"190","endLine":11,"endColumn":731},{"ruleId":"120","severity":2,"message":"121","line":11,"column":435,"nodeType":"122","messageId":"123","endLine":11,"endColumn":442,"fix":"191"},{"ruleId":"120","severity":2,"message":"121","line":11,"column":528,"nodeType":"122","messageId":"123","endLine":11,"endColumn":612,"fix":"192"},{"ruleId":"170","severity":2,"message":"171","line":11,"column":651,"nodeType":"172","endLine":11,"endColumn":691},{"ruleId":"134","severity":2,"message":"135","line":11,"column":739,"nodeType":"136","messageId":"137","endLine":11,"endColumn":748,"fix":"193"},{"ruleId":"128","severity":2,"message":"129","line":12,"column":1,"nodeType":"130","messageId":"131","endLine":13,"endColumn":1,"fix":"194"},{"ruleId":"128","severity":2,"message":"129","line":13,"column":1,"nodeType":"130","messageId":"131","endLine":14,"endColumn":1,"fix":"195"},{"ruleId":"128","severity":2,"message":"129","line":14,"column":1,"nodeType":"130","messageId":"131","endLine":15,"endColumn":1,"fix":"196"},{"ruleId":"120","severity":2,"message":"121","line":14,"column":131,"nodeType":"122","messageId":"123","endLine":14,"endColumn":186,"fix":"197"},{"ruleId":"128","severity":2,"message":"129","line":15,"column":1,"nodeType":"130","messageId":"131","endLine":16,"endColumn":1,"fix":"198"},{"ruleId":"128","severity":2,"message":"129","line":16,"column":1,"nodeType":"130","messageId":"131","endLine":17,"endColumn":1,"fix":"199"},{"ruleId":"128","severity":2,"message":"129","line":17,"column":1,"nodeType":"130","messageId":"131","endLine":18,"endColumn":1,"fix":"200"},{"ruleId":"188","severity":2,"message":"189","line":17,"column":95,"nodeType":"201","endLine":17,"endColumn":169},{"ruleId":"120","severity":2,"message":"121","line":17,"column":100,"nodeType":"122","messageId":"123","endLine":17,"endColumn":132},{"ruleId":"120","severity":2,"message":"121","line":18,"column":1,"nodeType":"122","messageId":"123","endLine":18,"endColumn":52,"fix":"202"},{"ruleId":"120","severity":2,"message":"121","line":19,"column":1,"nodeType":"122","messageId":"123","endLine":19,"endColumn":39,"fix":"203"},{"ruleId":"120","severity":2,"message":"121","line":20,"column":1,"nodeType":"122","messageId":"123","endLine":22,"endColumn":3,"fix":"204"},{"ruleId":"120","severity":2,"message":"121","line":23,"column":1,"nodeType":"122","messageId":"123","endLine":25,"endColumn":3,"fix":"205"},{"ruleId":"120","severity":2,"message":"121","line":26,"column":1,"nodeType":"122","messageId":"123","endLine":28,"endColumn":3,"fix":"206"},{"ruleId":"120","severity":2,"message":"121","line":29,"column":1,"nodeType":"122","messageId":"123","endLine":37,"endColumn":3,"fix":"207"},{"ruleId":"120","severity":2,"message":"121","line":38,"column":1,"nodeType":"122","messageId":"123","endLine":40,"endColumn":3,"fix":"208"},{"ruleId":"120","severity":2,"message":"121","line":41,"column":1,"nodeType":"122","messageId":"123","endLine":45,"endColumn":3,"fix":"209"},{"ruleId":"120","severity":2,"message":"121","line":46,"column":1,"nodeType":"122","messageId":"123","endLine":50,"endColumn":3,"fix":"210"},{"ruleId":"120","severity":2,"message":"121","line":51,"column":1,"nodeType":"122","messageId":"123","endLine":53,"endColumn":3,"fix":"211"},{"ruleId":"120","severity":2,"message":"121","line":56,"column":1,"nodeType":"122","messageId":"123","endLine":60,"endColumn":3,"fix":"212"},{"ruleId":"213","severity":2,"message":"214","line":56,"column":5,"nodeType":"151","messageId":"215","endLine":56,"endColumn":12},{"ruleId":"120","severity":2,"message":"121","line":57,"column":3,"nodeType":"122","messageId":"123","endLine":57,"endColumn":12,"fix":"216"},{"ruleId":"120","severity":2,"message":"121","line":58,"column":3,"nodeType":"122","messageId":"123","endLine":58,"endColumn":97,"fix":"217"},{"ruleId":"120","severity":2,"message":"121","line":63,"column":1,"nodeType":"122","messageId":"123","endLine":69,"endColumn":3,"fix":"218"},{"ruleId":"120","severity":2,"message":"121","line":65,"column":3,"nodeType":"122","messageId":"123","endLine":65,"endColumn":41,"fix":"219"},{"ruleId":"120","severity":2,"message":"121","line":72,"column":1,"nodeType":"122","messageId":"123","endLine":74,"endColumn":3,"fix":"220"},{"ruleId":"120","severity":2,"message":"121","line":75,"column":1,"nodeType":"122","messageId":"123","endLine":167,"endColumn":3,"fix":"221"},{"ruleId":"120","severity":2,"message":"121","line":77,"column":3,"nodeType":"122","messageId":"123","endLine":77,"endColumn":11,"fix":"222"},{"ruleId":"120","severity":2,"message":"121","line":87,"column":3,"nodeType":"122","messageId":"123","endLine":89,"endColumn":6,"fix":"223"},{"ruleId":"120","severity":2,"message":"121","line":90,"column":3,"nodeType":"122","messageId":"123","endLine":92,"endColumn":83,"fix":"224"},{"ruleId":"120","severity":2,"message":"121","line":95,"column":3,"nodeType":"122","messageId":"123","endLine":121,"endColumn":6,"fix":"225"},{"ruleId":"120","severity":2,"message":"121","line":96,"column":5,"nodeType":"122","messageId":"123","endLine":108,"endColumn":8,"fix":"226"},{"ruleId":"120","severity":2,"message":"121","line":101,"column":11,"nodeType":"122","messageId":"123","endLine":101,"endColumn":60},{"ruleId":"227","severity":2,"message":"228","line":104,"column":9,"nodeType":"229","messageId":"230","endLine":106,"endColumn":32},{"ruleId":"120","severity":2,"message":"121","line":105,"column":11,"nodeType":"122","messageId":"123","endLine":105,"endColumn":98},{"ruleId":"120","severity":2,"message":"121","line":124,"column":3,"nodeType":"122","messageId":"123","endLine":124,"endColumn":39,"fix":"231"},{"ruleId":"232","severity":2,"message":"233","line":126,"column":5,"nodeType":"122","messageId":"234","endLine":135,"endColumn":27,"fix":"235"},{"ruleId":"120","severity":2,"message":"121","line":126,"column":5,"nodeType":"122","messageId":"123","endLine":135,"endColumn":27,"fix":"236"},{"ruleId":"120","severity":2,"message":"121","line":155,"column":7,"nodeType":"122","messageId":"123","endLine":155,"endColumn":87,"fix":"237"},{"ruleId":"134","severity":2,"message":"135","line":168,"column":9,"nodeType":"136","messageId":"137","endLine":168,"endColumn":18,"fix":"238"},"no-var","Unexpected var, use let or const instead.","VariableDeclaration","unexpectedVar",{"range":"239","text":"240"},{"range":"241","text":"240"},{"range":"242","text":"240"},{"range":"243","text":"240"},"jsdoc/require-jsdoc","Missing JSDoc comment.","FunctionDeclaration","missingJsDoc",{"range":"244","text":"245"},{"range":"246","text":"240"},"dot-notation","[\"default\"] is better written in dot notation.","Literal","useDot",{"range":"247","text":"248"},{"range":"249","text":"240"},{"range":"250","text":"248"},{"range":"251","text":"248"},{"range":"252","text":"240"},{"range":"253","text":"248"},{"range":"254","text":"245"},"no-return-assign","Return statement should not contain assignment.","ReturnStatement","returnAssignment","no-func-assign","'_typeof' is a function.","Identifier","isAFunction","yoda","Expected literal to be on the right side of ==.","BinaryExpression","expected",{"range":"255","text":"256"},"eqeqeq","Expected '===' and instead saw '=='.","unexpected",{"range":"257","text":"258"},{"range":"259","text":"260"},{"range":"261","text":"258"},{"range":"262","text":"256"},{"range":"263","text":"258"},"no-sequences","Unexpected use of comma operator.","SequenceExpression","unexpectedCommaExpression","fp/no-mutating-methods","The use of method `Object.defineProperty` is not allowed as it will mutate its arguments","CallExpression",{"range":"264","text":"248"},"no-void","Expected 'undefined' and instead saw 'void'.","UnaryExpression","noVoid",{"range":"265","text":"240"},{"range":"266","text":"240"},{"range":"267","text":"245"},{"range":"268","text":"240"},{"range":"269","text":"240"},"'_getRequireWildcardCache' is a function.",{"range":"270","text":"245"},{"range":"271","text":"240"},{"range":"272","text":"240"},{"range":"273","text":"240"},"fp/no-loops","Unallowed use of `for` loop","ForInStatement",{"range":"274","text":"240"},{"range":"275","text":"240"},{"range":"276","text":"248"},{"range":"277","text":"245"},{"range":"278","text":"245"},{"range":"279","text":"245"},{"range":"280","text":"240"},{"range":"281","text":"245"},{"range":"282","text":"245"},{"range":"283","text":"245"},"ForStatement",{"range":"284","text":"240"},{"range":"285","text":"240"},{"range":"286","text":"240"},{"range":"287","text":"240"},{"range":"288","text":"240"},{"range":"289","text":"240"},{"range":"290","text":"240"},{"range":"291","text":"240"},{"range":"292","text":"240"},{"range":"293","text":"240"},{"range":"294","text":"240"},"no-unused-vars","'flatten' is assigned a value but never used.","unusedVar",{"range":"295","text":"240"},{"range":"296","text":"240"},{"range":"297","text":"240"},{"range":"298","text":"240"},{"range":"299","text":"240"},{"range":"300","text":"240"},{"range":"301","text":"240"},{"range":"302","text":"240"},{"range":"303","text":"240"},{"range":"304","text":"240"},{"range":"305","text":"240"},"no-fallthrough","Expected a 'break' statement before 'default'.","SwitchCase","default",{"range":"306","text":"240"},"one-var","Split initialized 'var' declarations into multiple statements.","splitInitialized",{"range":"307","text":"308"},{"range":"309","text":"240"},{"range":"310","text":"240"},{"range":"311","text":"248"},[15,18],"let",[78,81],[103,106],[170,173],[230,230],"/**\n *\n */\n",[328,331],[369,380],".default",[461,464],[485,496],[513,524],[595,598],[946,957],[15,15],[83,110],"typeof Symbol == \"function\"",[94,96],"===",[114,148],"typeof Symbol.iterator == \"symbol\"",[123,125],[222,249],[233,235],[424,435],[446,449],[483,486],[543,543],[640,643],[679,682],[879,879],[1098,1101],[1205,1208],[1222,1225],[1313,1316],[1406,1409],[1616,1627],[1691,1691],[1845,1845],[2036,2036],[2166,2169],[2453,2453],[2612,2612],[2704,2704],[2888,2891],[2940,2943],[2979,2982],[3085,3088],[3139,3142],[3186,3189],[3337,3340],[3425,3428],[3520,3523],[3702,3705],[3814,3817],[3854,3857],[3866,3869],[4102,4105],[4198,4201],[4583,4586],[4774,4777],[4850,4853],[5103,5106],[5214,5217],[5437,5440],[5505,5508],[6709,6712],[6814,7058],";\n var callees = _ref2.callees;\n var send = _ref2.send;\n var constant = _ref2.constant;\n var internal = _ref2.internal;\n var view = _ref2.view;\n var pure = _ref2.pure;\n var transfer = _ref2.transfer;\n var payable = _ref2.payable;\n var ",[6793,6796],[7540,7543],[7918,7929]]