UNPKG

skypager-project

Version:
2,199 lines (2,177 loc) 608 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.l = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // identity function for calling harmory imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ // define getter function for harmory exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ }; /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 141); /******/ }) /************************************************************************/ /******/ ({ /***/ 141: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(50); /***/ }, /***/ 50: /***/ function(module, exports) { module.exports = { "path": "/Users/jonathan/Skypager/packages/skypager-project/src/git/index.js", "ast": { "type": "File", "start": 0, "end": 3700, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 138, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 3700, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 138, "column": 0 } }, "sourceType": "module", "body": [ { "type": "VariableDeclaration", "start": 0, "end": 26, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6, "end": 26, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 26 } }, "id": { "type": "Identifier", "start": 6, "end": 8, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 8 }, "identifierName": "fs" }, "name": "fs" }, "init": { "type": "CallExpression", "start": 13, "end": 26, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 26 } }, "callee": { "type": "Identifier", "start": 13, "end": 20, "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 20 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 21, "end": 25, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 25 } }, "extra": { "rawValue": "fs", "raw": "'fs'" }, "value": "fs" } ] } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 27, "end": 55, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 33, "end": 55, "loc": { "start": { "line": 2, "column": 6 }, "end": { "line": 2, "column": 28 } }, "id": { "type": "Identifier", "start": 33, "end": 37, "loc": { "start": { "line": 2, "column": 6 }, "end": { "line": 2, "column": 10 }, "identifierName": "path" }, "name": "path" }, "init": { "type": "CallExpression", "start": 40, "end": 55, "loc": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 28 } }, "callee": { "type": "Identifier", "start": 40, "end": 47, "loc": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 20 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 48, "end": 54, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 27 } }, "extra": { "rawValue": "path", "raw": "'path'" }, "value": "path" } ] } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 56, "end": 84, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 62, "end": 84, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 28 } }, "id": { "type": "Identifier", "start": 62, "end": 66, "loc": { "start": { "line": 3, "column": 6 }, "end": { "line": 3, "column": 10 }, "identifierName": "zlib" }, "name": "zlib" }, "init": { "type": "CallExpression", "start": 69, "end": 84, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 28 } }, "callee": { "type": "Identifier", "start": 69, "end": 76, "loc": { "start": { "line": 3, "column": 13 }, "end": { "line": 3, "column": 20 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 77, "end": 83, "loc": { "start": { "line": 3, "column": 21 }, "end": { "line": 3, "column": 27 } }, "extra": { "rawValue": "zlib", "raw": "'zlib'" }, "value": "zlib" } ] } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 86, "end": 108, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 92, "end": 108, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 22 } }, "id": { "type": "Identifier", "start": 92, "end": 99, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 13 }, "identifierName": "GIT_DIR" }, "name": "GIT_DIR" }, "init": { "type": "StringLiteral", "start": 102, "end": 108, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 22 } }, "extra": { "rawValue": ".git", "raw": "'.git'" }, "value": ".git" } } ], "kind": "var" }, { "type": "FunctionDeclaration", "start": 110, "end": 501, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 25, "column": 1 } }, "id": { "type": "Identifier", "start": 119, "end": 127, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 17 }, "identifierName": "findRepo" }, "name": "findRepo" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 128, "end": 140, "loc": { "start": { "line": 7, "column": 18 }, "end": { "line": 7, "column": 30 }, "identifierName": "startingPath" }, "name": "startingPath" } ], "body": { "type": "BlockStatement", "start": 142, "end": 501, "loc": { "start": { "line": 7, "column": 32 }, "end": { "line": 25, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 146, "end": 167, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 150, "end": 157, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 13 } }, "id": { "type": "Identifier", "start": 150, "end": 157, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 13 }, "identifierName": "gitPath" }, "name": "gitPath" }, "init": { "type": "UnaryExpression", "operator": "void", "argument": { "type": "NumericLiteral", "value": 0 }, "prefix": true } }, { "type": "VariableDeclarator", "start": 159, "end": 167, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 23 } }, "id": { "type": "Identifier", "start": 159, "end": 167, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 23 }, "identifierName": "lastPath" }, "name": "lastPath" }, "init": { "type": "UnaryExpression", "operator": "void", "argument": { "type": "NumericLiteral", "value": 0 }, "prefix": true } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 170, "end": 200, "loc": { "start": { "line": 9, "column": 2 }, "end": { "line": 9, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 174, "end": 200, "loc": { "start": { "line": 9, "column": 6 }, "end": { "line": 9, "column": 32 } }, "id": { "type": "Identifier", "start": 174, "end": 185, "loc": { "start": { "line": 9, "column": 6 }, "end": { "line": 9, "column": 17 }, "identifierName": "currentPath" }, "name": "currentPath" }, "init": { "type": "Identifier", "start": 188, "end": 200, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 32 }, "identifierName": "startingPath" }, "name": "startingPath" } } ], "kind": "var" }, { "type": "IfStatement", "start": 204, "end": 253, "loc": { "start": { "line": 11, "column": 2 }, "end": { "line": 11, "column": 51 } }, "test": { "type": "UnaryExpression", "start": 208, "end": 220, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 18 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 209, "end": 220, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 18 }, "identifierName": "currentPath" }, "name": "currentPath" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 222, "end": 253, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 51 } }, "body": [ { "type": "ExpressionStatement", "start": 224, "end": 251, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 224, "end": 251, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", "start": 224, "end": 235, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 33 }, "identifierName": "currentPath" }, "name": "currentPath" }, "right": { "type": "CallExpression", "start": 238, "end": 251, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 238, "end": 249, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 47 } }, "object": { "type": "Identifier", "start": 238, "end": 245, "loc": { "start": { "line": 11, "column": 36 }, "end": { "line": 11, "column": 43 }, "identifierName": "process" }, "name": "process" }, "property": { "type": "Identifier", "start": 246, "end": 249, "loc": { "start": { "line": 11, "column": 44 }, "end": { "line": 11, "column": 47 }, "identifierName": "cwd" }, "name": "cwd" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": null }, { "type": "DoWhileStatement", "start": 257, "end": 484, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 22, "column": 36 } }, "body": { "type": "BlockStatement", "start": 260, "end": 451, "loc": { "start": { "line": 13, "column": 5 }, "end": { "line": 22, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 266, "end": 307, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 266, "end": 307, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", "start": 266, "end": 273, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 11 }, "identifierName": "gitPath" }, "name": "gitPath" }, "right": { "type": "CallExpression", "start": 276, "end": 307, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 276, "end": 285, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 23 } }, "object": { "type": "Identifier", "start": 276, "end": 280, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 18 }, "identifierName": "path" }, "name": "path" }, "property": { "type": "Identifier", "start": 281, "end": 285, "loc": { "start": { "line": 14, "column": 19 }, "end": { "line": 14, "column": 23 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 286, "end": 297, "loc": { "start": { "line": 14, "column": 24 }, "end": { "line": 14, "column": 35 }, "identifierName": "currentPath" }, "name": "currentPath" }, { "type": "Identifier", "start": 299, "end": 306, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 44 }, "identifierName": "GIT_DIR" }, "name": "GIT_DIR" } ] } } }, { "type": "IfStatement", "start": 313, "end": 369, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 18, "column": 5 } }, "test": { "type": "CallExpression", "start": 317, "end": 339, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 317, "end": 330, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 21 } }, "object": { "type": "Identifier", "start": 317, "end": 319, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 10 }, "identifierName": "fs" }, "name": "fs" }, "property": { "type": "Identifier", "start": 320, "end": 330, "loc": { "start": { "line": 16, "column": 11 }, "end": { "line": 16, "column": 21 }, "identifierName": "existsSync" }, "name": "existsSync" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 331, "end": 338, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 29 }, "identifierName": "gitPath" }, "name": "gitPath" } ] }, "consequent": { "type": "BlockStatement", "start": 341, "end": 369, "loc": { "start": { "line": 16, "column": 32 }, "end": { "line": 18, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 349, "end": 363, "loc": { "start": { "line": 17, "column": 6 }, "end": { "line": 17, "column": 20 } }, "argument": { "type": "Identifier", "start": 356, "end": 363, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 20 }, "identifierName": "gitPath" }, "name": "gitPath" } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 375, "end": 397, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 375, "end": 397, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 26 } }, "operator": "=", "left": { "type": "Identifier", "start": 375, "end": 383, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 12 }, "identifierName": "lastPath" }, "name": "lastPath" }, "right": { "type": "Identifier", "start": 386, "end": 397, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 26 }, "identifierName": "currentPath" }, "name": "currentPath" } } }, { "type": "ExpressionStatement", "start": 402, "end": 447, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 402, "end": 447, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 49 } }, "operator": "=", "left": { "type": "Identifier", "start": 402, "end": 413, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 15 }, "identifierName": "currentPath" }, "name": "currentPath" }, "right": { "type": "CallExpression", "start": 416, "end": 447, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 416, "end": 428, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 30 } }, "object": { "type": "Identifier", "start": 416, "end": 420, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 22 }, "identifierName": "path" }, "name": "path" }, "property": { "type": "Identifier", "start": 421, "end": 428, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 30 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 429, "end": 440, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 42 }, "identifierName": "currentPath" }, "name": "currentPath" }, { "type": "StringLiteral", "start": 442, "end": 446, "loc": { "start": { "line": 21, "column": 44 }, "end": { "line": 21, "column": 48 } }, "extra": { "rawValue": "..", "raw": "'..'" }, "value": ".." } ] } } } ], "directives": [] }, "test": { "type": "BinaryExpression", "start": 459, "end": 483, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "column": 35 } }, "left": { "type": "Identifier", "start": 459, "end": 467, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "column": 19 }, "identifierName": "lastPath" }, "name": "lastPath" }, "operator": "!==", "right": { "type": "Identifier", "start": 472, "end": 483, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 35 }, "identifierName": "currentPath" }, "name": "currentPath" } } }, { "type": "ReturnStatement", "start": 488, "end": 499, "loc": { "start": { "line": 24, "column": 2 }, "end": { "line": 24, "column": 13 } }, "argument": { "type": "NullLiteral", "start": 495, "end": 499, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 13 } } } } ], "directives": [] } }, { "type": "FunctionDeclaration", "start": 503, "end": 952, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 39, "column": 1 } }, "id": { "type": "Identifier", "start": 512, "end": 525, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 22 }, "identifierName": "findPackedTag" }, "name": "findPackedTag" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 526, "end": 533, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 30 }, "identifierName": "gitPath" }, "name": "gitPath" }, { "type": "Identifier", "start": 535, "end": 538, "loc": { "start": { "line": 27, "column": 32 }, "end": { "line": 27, "column": 35 }, "identifierName": "sha" }, "name": "sha" } ], "body": { "type": "BlockStatement", "start": 540, "end": 952, "loc": { "start": { "line": 27, "column": 37 }, "end": { "line": 39, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 544, "end": 604, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 550, "end": 604, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 62 } }, "id": { "type": "Identifier", "start": 550, "end": 568, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 26 }, "identifierName": "packedRefsFilePath" }, "name": "packedRefsFilePath" }, "init": { "type": "CallExpression", "start": 571, "end": 604, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 571, "end": 580, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 38 } }, "object": { "type": "Identifier", "start": 571, "end": 575, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 33 }, "identifierName": "path" }, "name": "path" }, "property": { "type": "Identifier", "start": 576, "end": 580, "loc": { "start": { "line": 28, "column": 34 }, "end": { "line": 28, "column": 38 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 581, "end": 588, "loc": { "start": { "line": 28, "column": 39 }, "end": { "line": 28, "column": 46 }, "identifierName": "gitPath" }, "name": "gitPath" }, { "type": "StringLiteral", "start": 590, "end": 603, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 61 } }, "extra": { "rawValue": "packed-refs", "raw": "'packed-refs'" }, "value": "packed-refs" } ] } } ], "kind": "var" }, { "type": "IfStatement", "start": 607, "end": 950, "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 38, "column": 3 } }, "test": { "type": "CallExpression", "start": 611, "end": 644, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 611, "end": 624, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 19 } }, "object": { "type": "Identifier", "start": 611, "end": 613, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 8 }, "identifierName": "fs" }, "name": "fs" }, "property": { "type": "Identifier", "start": 614, "end": 624, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 19 }, "identifierName": "existsSync" }, "name": "existsSync" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 625, "end": 643, "loc": { "start": { "line": 29, "column": 20 }, "end": { "line": 29, "column": 38 }, "identifierName": "packedRefsFilePath" }, "name": "packedRefsFilePath" } ] }, "consequent": { "type": "BlockStatement", "start": 646, "end": 950, "loc": { "start": { "line": 29, "column": 41 }, "end": { "line": 38, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 652, "end": 730, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 658, "end": 730, "loc": { "start": { "line": 30, "column": 10 }, "end": { "line": 30, "column": 82 } }, "id": { "type": "Identifier", "start": 658, "end": 672, "loc": { "start": { "line": 30, "column": 10 }, "end": { "line": 30, "column": 24 }, "identifierName": "packedRefsFile" }, "name": "packedRefsFile" }, "init": { "type": "CallExpression", "start": 675, "end": 730, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 82 } }, "callee": { "type": "MemberExpression", "start": 675, "end": 690, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 42 } }, "object": { "type": "Identifier", "start": 675, "end": 677, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 29 }, "identifierName": "fs" }, "name": "fs" }, "property": { "type": "Identifier", "start": 678, "end": 690, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 42 }, "identifierName": "readFileSync" }, "name": "readFileSync" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 691, "end": 709, "loc": { "start": { "line": 30, "column": 43 }, "end": { "line": 30, "column": 61 }, "identifierName": "packedRefsFilePath" }, "name": "packedRefsFilePath" }, { "type": "ObjectExpression", "start": 711, "end": 729, "loc": { "start": { "line": 30, "column": 63 }, "end": { "line": 30, "column": 81 } }, "properties": [ { "type": "ObjectProperty", "start": 712, "end": 728, "loc": { "start": { "line": 30, "column": 64 }, "end": { "line": 30, "column": 80 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 712, "end": 720, "loc": { "start": { "line": 30, "column": 64 }, "end": { "line": 30, "column": 72 }, "identifierName": "encoding" }, "name": "encoding" }, "value": { "type": "StringLiteral", "start": 722, "end": 728, "loc": { "start": { "line": 30, "column": 74 }, "end": { "line": 30, "column": 80 } }, "extra": { "rawValue": "utf8", "raw": "'utf8'" }, "value": "utf8" } } ] } ] } } ], "kind": "var" }, { "type": "VariableDeclaration", "start": 735, "end": 881, "loc": { "start": { "line": 31, "column": 4 }, "end": { "line": 33, "column": 9 } }, "declarations": [ { "type": "VariableDeclarator", "start": 741, "end": 881, "loc": { "start": { "line": 31, "column": 10 }, "end": { "line": 33, "column": 9 } }, "id": { "type": "Identifier", "start": 741, "end": 748, "loc": { "start": { "line": 31, "column": 10 }, "end": { "line": 31, "column": 17 }, "identifierName": "tagLine" }, "name": "tagLine" }, "init": { "type": "MemberExpression", "start": 751, "end": 881, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 33, "column": 9 } }, "object": { "type": "CallExpression", "start": 751, "end": 878, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 33, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 751, "end": 784, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 53 } }, "object": { "type": "CallExpression", "start": 751, "end": 777, "loc": {