From 3120b8024ab3fca4a8a2f8645234959dd0e3fe1e Mon Sep 17 00:00:00 2001 From: Glenn Vandeuren Date: Sat, 11 Mar 2017 00:06:20 +0100 Subject: [PATCH] :trollface: Version: 0.2.0-alpha.1 --- bin/backed.js | 33 +- docs/ast/source/backed.js.json | 6152 +++++----- docs/ast/source/server.js.json | 15786 +++++++++++++------------ docs/badge.svg | 4 +- docs/class/src/server.js~Server.html | 104 +- docs/coverage.json | 9 +- docs/dump.json | 180 +- docs/file/src/server.js.html | 33 +- docs/package.json | 2 +- docs/script/search_index.js | 6 + docs/source.html | 12 +- package.json | 2 +- 12 files changed, 12199 insertions(+), 10124 deletions(-) diff --git a/bin/backed.js b/bin/backed.js index 4431e7e..fe245c9 100644 --- a/bin/backed.js +++ b/bin/backed.js @@ -180,19 +180,22 @@ class Server { * @param {object} server - configuration * @param {string} server.entry path to where your build is located * @param {string} server.docs path to where your docs are located - * @param {string} server.path src path of the component * @param {string} server.bowerPath path to bower_components * @param {string} server.nodeModulesPath path to node_modules * @param {string} server.demo path to the demo - * @param {string} server.index path to your index.html file we serve a helper/docs index by default + * @param {string} server.index path to your index.html file we serve a helper/docs index by default (not support for now) + * @param {array} server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used. */ - serve(server) { + serve(server = { + entry: '/', + demo: 'demo', + docs: 'docs', + use: [{path: null, static: null}], + bowerPath: 'bower_components', + nodeModulesPath: 'node_modules', + index: null}) { if (server) { - if (server.elementLocation) { - logger.warn('Deprecated::server.elementLocation, support ends @0.2.0 [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'); - app.use(`/${server.elementLocation}`, express.static( - this.appLocation(server.path, 'some-element.js'))); - } + this.handleOldOptions(server); if (server.use) { for (let use of server.use) { app.use(use.path, express.static(this.appLocation(use.static || use.path))); @@ -208,13 +211,13 @@ class Server { // this.appLocation(server.path, 'some-element.js'))); app.use('/', express.static( - this.appLocation(server.entry, 'dist'))); + this.appLocation(server.entry))); app.use('/demo', express.static( - this.appLocation(server.demo, 'demo'))); + this.appLocation(server.demo))); app.use('/docs', express.static( - this.appLocation(server.docs, 'docs'))); + this.appLocation(server.docs))); app.use('/package.json', express.static( this.appLocation('package.json') @@ -243,7 +246,7 @@ class Server { logger.log(`${global.config.name}::serving app from http://localhost:${server.port}/${server.entry.replace('/', '')}`); }); } else { - return logger.warn(`${global.config.name}::server config not found [example](https://github.com/vandeurenglenn/backed-cli/config/backed.json)`); + return logger.warn(`${global.config.name}::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)`); } } @@ -263,6 +266,12 @@ class Server { root += `\\${path}`; return root; } + + handleOldOptions(options) { + if (options.path || options.elementLocation) { + logger.warn(`${options.path ? 'server.path' : 'server.elementLocation'} is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'`); + } + } } const {readFileSync} = require('fs'); diff --git a/docs/ast/source/backed.js.json b/docs/ast/source/backed.js.json index 392798e..7c937c3 100644 --- a/docs/ast/source/backed.js.json +++ b/docs/ast/source/backed.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 993, + "end": 1078, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 37, + "line": 43, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 993, + "end": 1078, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 37, + "line": 43, "column": 0 } }, @@ -671,7 +671,7 @@ { "type": "VariableDeclaration", "start": 251, - "end": 279, + "end": 277, "loc": { "start": { "line": 9, @@ -679,14 +679,14 @@ }, "end": { "line": 9, - "column": 28 + "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 257, - "end": 278, + "end": 276, "loc": { "start": { "line": 9, @@ -694,13 +694,13 @@ }, "end": { "line": 9, - "column": 27 + "column": 25 } }, "id": { "type": "Identifier", "start": 257, - "end": 263, + "end": 262, "loc": { "start": { "line": 9, @@ -708,89 +708,6 @@ }, "end": { "line": 9, - "column": 12 - }, - "identifierName": "config" - }, - "name": "config" - }, - "init": { - "type": "NewExpression", - "start": 266, - "end": 278, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 27 - } - }, - "callee": { - "type": "Identifier", - "start": 270, - "end": 276, - "loc": { - "start": { - "line": 9, - "column": 19 - }, - "end": { - "line": 9, - "column": 25 - }, - "identifierName": "Config" - }, - "name": "Config" - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 280, - "end": 306, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 10, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 286, - "end": 305, - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 25 - } - }, - "id": { - "type": "Identifier", - "start": 286, - "end": 291, - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, "column": 11 }, "identifierName": "utils" @@ -799,29 +716,29 @@ }, "init": { "type": "NewExpression", - "start": 294, - "end": 305, + "start": 265, + "end": 276, "loc": { "start": { - "line": 10, + "line": 9, "column": 14 }, "end": { - "line": 10, + "line": 9, "column": 25 } }, "callee": { "type": "Identifier", - "start": 298, - "end": 303, + "start": 269, + "end": 274, "loc": { "start": { - "line": 10, + "line": 9, "column": 18 }, "end": { - "line": 10, + "line": 9, "column": 23 }, "identifierName": "Utils" @@ -836,197 +753,197 @@ }, { "type": "ExpressionStatement", - "start": 308, - "end": 612, + "start": 279, + "end": 583, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 18, + "line": 17, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 308, - "end": 611, + "start": 279, + "end": 582, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 18, + "line": 17, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 308, - "end": 597, + "start": 279, + "end": 568, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 18, + "line": 17, "column": 8 } }, "object": { "type": "CallExpression", - "start": 308, - "end": 588, + "start": 279, + "end": 559, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 17, + "line": 16, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 308, - "end": 552, + "start": 279, + "end": 523, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 17, + "line": 16, "column": 9 } }, "object": { "type": "CallExpression", - "start": 308, - "end": 542, + "start": 279, + "end": 513, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 16, + "line": 15, "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 308, - "end": 453, + "start": 279, + "end": 424, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 16, + "line": 15, "column": 9 } }, "object": { "type": "CallExpression", - "start": 308, - "end": 443, + "start": 279, + "end": 414, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 15, + "line": 14, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 308, - "end": 400, + "start": 279, + "end": 371, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 15, + "line": 14, "column": 9 } }, "object": { "type": "CallExpression", - "start": 308, - "end": 390, + "start": 279, + "end": 361, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 14, + "line": 13, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 308, - "end": 347, + "start": 279, + "end": 318, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 14, + "line": 13, "column": 9 } }, "object": { "type": "CallExpression", - "start": 308, - "end": 337, + "start": 279, + "end": 308, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 13, + "line": 12, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 308, - "end": 328, + "start": 279, + "end": 299, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 13, + "line": 12, "column": 10 } }, "object": { "type": "Identifier", - "start": 308, - "end": 317, + "start": 279, + "end": 288, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 12, + "line": 11, "column": 9 }, "identifierName": "commander" @@ -1035,15 +952,15 @@ }, "property": { "type": "Identifier", - "start": 321, - "end": 328, + "start": 292, + "end": 299, "loc": { "start": { - "line": 13, + "line": 12, "column": 3 }, "end": { - "line": 13, + "line": 12, "column": 10 }, "identifierName": "version" @@ -1055,15 +972,15 @@ "arguments": [ { "type": "Identifier", - "start": 329, - "end": 336, + "start": 300, + "end": 307, "loc": { "start": { - "line": 13, + "line": 12, "column": 11 }, "end": { - "line": 13, + "line": 12, "column": 18 }, "identifierName": "version" @@ -1074,15 +991,15 @@ }, "property": { "type": "Identifier", - "start": 341, - "end": 347, + "start": 312, + "end": 318, "loc": { "start": { - "line": 14, + "line": 13, "column": 3 }, "end": { - "line": 14, + "line": 13, "column": 9 }, "identifierName": "option" @@ -1094,15 +1011,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 348, - "end": 361, + "start": 319, + "end": 332, "loc": { "start": { - "line": 14, + "line": 13, "column": 10 }, "end": { - "line": 14, + "line": 13, "column": 23 } }, @@ -1114,15 +1031,15 @@ }, { "type": "StringLiteral", - "start": 363, - "end": 389, + "start": 334, + "end": 360, "loc": { "start": { - "line": 14, + "line": 13, "column": 25 }, "end": { - "line": 14, + "line": 13, "column": 51 } }, @@ -1136,15 +1053,15 @@ }, "property": { "type": "Identifier", - "start": 394, - "end": 400, + "start": 365, + "end": 371, "loc": { "start": { - "line": 15, + "line": 14, "column": 3 }, "end": { - "line": 15, + "line": 14, "column": 9 }, "identifierName": "option" @@ -1156,15 +1073,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 401, - "end": 414, + "start": 372, + "end": 385, "loc": { "start": { - "line": 15, + "line": 14, "column": 10 }, "end": { - "line": 15, + "line": 14, "column": 23 } }, @@ -1176,15 +1093,15 @@ }, { "type": "StringLiteral", - "start": 416, - "end": 442, + "start": 387, + "end": 413, "loc": { "start": { - "line": 15, + "line": 14, "column": 25 }, "end": { - "line": 15, + "line": 14, "column": 51 } }, @@ -1198,15 +1115,15 @@ }, "property": { "type": "Identifier", - "start": 447, - "end": 453, + "start": 418, + "end": 424, "loc": { "start": { - "line": 16, + "line": 15, "column": 3 }, "end": { - "line": 16, + "line": 15, "column": 9 }, "identifierName": "option" @@ -1218,15 +1135,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 454, - "end": 466, + "start": 425, + "end": 437, "loc": { "start": { - "line": 16, + "line": 15, "column": 10 }, "end": { - "line": 16, + "line": 15, "column": 22 } }, @@ -1238,15 +1155,15 @@ }, { "type": "StringLiteral", - "start": 468, - "end": 541, + "start": 439, + "end": 512, "loc": { "start": { - "line": 16, + "line": 15, "column": 24 }, "end": { - "line": 16, + "line": 15, "column": 97 } }, @@ -1260,15 +1177,15 @@ }, "property": { "type": "Identifier", - "start": 546, - "end": 552, + "start": 517, + "end": 523, "loc": { "start": { - "line": 17, + "line": 16, "column": 3 }, "end": { - "line": 17, + "line": 16, "column": 9 }, "identifierName": "option" @@ -1280,15 +1197,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 553, - "end": 566, + "start": 524, + "end": 537, "loc": { "start": { - "line": 17, + "line": 16, "column": 10 }, "end": { - "line": 17, + "line": 16, "column": 23 } }, @@ -1300,15 +1217,15 @@ }, { "type": "StringLiteral", - "start": 568, - "end": 587, + "start": 539, + "end": 558, "loc": { "start": { - "line": 17, + "line": 16, "column": 25 }, "end": { - "line": 17, + "line": 16, "column": 44 } }, @@ -1322,15 +1239,15 @@ }, "property": { "type": "Identifier", - "start": 592, - "end": 597, + "start": 563, + "end": 568, "loc": { "start": { - "line": 18, + "line": 17, "column": 3 }, "end": { - "line": 18, + "line": 17, "column": 8 }, "identifierName": "parse" @@ -1342,29 +1259,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 598, - "end": 610, + "start": 569, + "end": 581, "loc": { "start": { - "line": 18, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 17, "column": 21 } }, "object": { "type": "Identifier", - "start": 598, - "end": 605, + "start": 569, + "end": 576, "loc": { "start": { - "line": 18, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 17, "column": 16 }, "identifierName": "process" @@ -1373,15 +1290,15 @@ }, "property": { "type": "Identifier", - "start": 606, - "end": 610, + "start": 577, + "end": 581, "loc": { "start": { - "line": 18, + "line": 17, "column": 17 }, "end": { - "line": 18, + "line": 17, "column": 21 }, "identifierName": "argv" @@ -1395,44 +1312,44 @@ }, { "type": "VariableDeclaration", - "start": 614, - "end": 642, + "start": 585, + "end": 613, "loc": { "start": { - "line": 20, + "line": 19, "column": 0 }, "end": { - "line": 20, + "line": 19, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 618, - "end": 641, + "start": 589, + "end": 612, "loc": { "start": { - "line": 20, + "line": 19, "column": 4 }, "end": { - "line": 20, + "line": 19, "column": 27 } }, "id": { "type": "Identifier", - "start": 618, - "end": 623, + "start": 589, + "end": 594, "loc": { "start": { - "line": 20, + "line": 19, "column": 4 }, "end": { - "line": 20, + "line": 19, "column": 9 }, "identifierName": "build" @@ -1441,29 +1358,29 @@ }, "init": { "type": "MemberExpression", - "start": 626, - "end": 641, + "start": 597, + "end": 612, "loc": { "start": { - "line": 20, + "line": 19, "column": 12 }, "end": { - "line": 20, + "line": 19, "column": 27 } }, "object": { "type": "Identifier", - "start": 626, - "end": 635, + "start": 597, + "end": 606, "loc": { "start": { - "line": 20, + "line": 19, "column": 12 }, "end": { - "line": 20, + "line": 19, "column": 21 }, "identifierName": "commander" @@ -1472,15 +1389,15 @@ }, "property": { "type": "Identifier", - "start": 636, - "end": 641, + "start": 607, + "end": 612, "loc": { "start": { - "line": 20, + "line": 19, "column": 22 }, "end": { - "line": 20, + "line": 19, "column": 27 }, "identifierName": "build" @@ -1495,44 +1412,44 @@ }, { "type": "VariableDeclaration", - "start": 643, - "end": 688, + "start": 614, + "end": 659, "loc": { "start": { - "line": 21, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 647, - "end": 687, + "start": 618, + "end": 658, "loc": { "start": { - "line": 21, + "line": 20, "column": 4 }, "end": { - "line": 21, + "line": 20, "column": 44 } }, "id": { "type": "Identifier", - "start": 647, - "end": 651, + "start": 618, + "end": 622, "loc": { "start": { - "line": 21, + "line": 20, "column": 4 }, "end": { - "line": 21, + "line": 20, "column": 8 }, "identifierName": "copy" @@ -1541,43 +1458,43 @@ }, "init": { "type": "LogicalExpression", - "start": 654, - "end": 687, + "start": 625, + "end": 658, "loc": { "start": { - "line": 21, + "line": 20, "column": 11 }, "end": { - "line": 21, + "line": 20, "column": 44 } }, "left": { "type": "MemberExpression", - "start": 654, - "end": 669, + "start": 625, + "end": 640, "loc": { "start": { - "line": 21, + "line": 20, "column": 11 }, "end": { - "line": 21, + "line": 20, "column": 26 } }, "object": { "type": "Identifier", - "start": 654, - "end": 663, + "start": 625, + "end": 634, "loc": { "start": { - "line": 21, + "line": 20, "column": 11 }, "end": { - "line": 21, + "line": 20, "column": 20 }, "identifierName": "commander" @@ -1586,15 +1503,15 @@ }, "property": { "type": "Identifier", - "start": 664, - "end": 669, + "start": 635, + "end": 640, "loc": { "start": { - "line": 21, + "line": 20, "column": 21 }, "end": { - "line": 21, + "line": 20, "column": 26 }, "identifierName": "build" @@ -1606,29 +1523,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 673, - "end": 687, + "start": 644, + "end": 658, "loc": { "start": { - "line": 21, + "line": 20, "column": 30 }, "end": { - "line": 21, + "line": 20, "column": 44 } }, "object": { "type": "Identifier", - "start": 673, - "end": 682, + "start": 644, + "end": 653, "loc": { "start": { - "line": 21, + "line": 20, "column": 30 }, "end": { - "line": 21, + "line": 20, "column": 39 }, "identifierName": "commander" @@ -1637,15 +1554,15 @@ }, "property": { "type": "Identifier", - "start": 683, - "end": 687, + "start": 654, + "end": 658, "loc": { "start": { - "line": 21, + "line": 20, "column": 40 }, "end": { - "line": 21, + "line": 20, "column": 44 }, "identifierName": "copy" @@ -1661,44 +1578,44 @@ }, { "type": "VariableDeclaration", - "start": 689, - "end": 717, + "start": 660, + "end": 688, "loc": { "start": { - "line": 22, + "line": 21, "column": 0 }, "end": { - "line": 22, + "line": 21, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 693, - "end": 716, + "start": 664, + "end": 687, "loc": { "start": { - "line": 22, + "line": 21, "column": 4 }, "end": { - "line": 22, + "line": 21, "column": 27 } }, "id": { "type": "Identifier", - "start": 693, - "end": 698, + "start": 664, + "end": 669, "loc": { "start": { - "line": 22, + "line": 21, "column": 4 }, "end": { - "line": 22, + "line": 21, "column": 9 }, "identifierName": "serve" @@ -1707,29 +1624,29 @@ }, "init": { "type": "MemberExpression", - "start": 701, - "end": 716, + "start": 672, + "end": 687, "loc": { "start": { - "line": 22, + "line": 21, "column": 12 }, "end": { - "line": 22, + "line": 21, "column": 27 } }, "object": { "type": "Identifier", - "start": 701, - "end": 710, + "start": 672, + "end": 681, "loc": { "start": { - "line": 22, + "line": 21, "column": 12 }, "end": { - "line": 22, + "line": 21, "column": 21 }, "identifierName": "commander" @@ -1738,15 +1655,15 @@ }, "property": { "type": "Identifier", - "start": 711, - "end": 716, + "start": 682, + "end": 687, "loc": { "start": { - "line": 22, + "line": 21, "column": 22 }, "end": { - "line": 22, + "line": 21, "column": 27 }, "identifierName": "serve" @@ -1761,44 +1678,44 @@ }, { "type": "VariableDeclaration", - "start": 718, - "end": 746, + "start": 689, + "end": 717, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, + "line": 22, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 722, - "end": 745, + "start": 693, + "end": 716, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, + "line": 22, "column": 27 } }, "id": { "type": "Identifier", - "start": 722, - "end": 727, + "start": 693, + "end": 698, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, + "line": 22, "column": 9 }, "identifierName": "debug" @@ -1807,29 +1724,29 @@ }, "init": { "type": "MemberExpression", - "start": 730, - "end": 745, + "start": 701, + "end": 716, "loc": { "start": { - "line": 23, + "line": 22, "column": 12 }, "end": { - "line": 23, + "line": 22, "column": 27 } }, "object": { "type": "Identifier", - "start": 730, - "end": 739, + "start": 701, + "end": 710, "loc": { "start": { - "line": 23, + "line": 22, "column": 12 }, "end": { - "line": 23, + "line": 22, "column": 21 }, "identifierName": "commander" @@ -1838,15 +1755,15 @@ }, "property": { "type": "Identifier", - "start": 740, - "end": 745, + "start": 711, + "end": 716, "loc": { "start": { - "line": 23, + "line": 22, "column": 22 }, "end": { - "line": 23, + "line": 22, "column": 27 }, "identifierName": "debug" @@ -1860,311 +1777,218 @@ "kind": "let" }, { - "type": "ExpressionStatement", - "start": 748, - "end": 785, + "type": "VariableDeclaration", + "start": 718, + "end": 731, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 25, - "column": 37 + "line": 23, + "column": 13 } }, - "expression": { - "type": "AssignmentExpression", - "start": 748, - "end": 784, - "loc": { - "start": { - "line": 25, - "column": 0 - }, - "end": { - "line": 25, - "column": 36 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 748, - "end": 760, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 722, + "end": 730, "loc": { "start": { - "line": 25, - "column": 0 + "line": 23, + "column": 4 }, "end": { - "line": 25, + "line": 23, "column": 12 } }, - "object": { - "type": "Identifier", - "start": 748, - "end": 754, - "loc": { - "start": { - "line": 25, - "column": 0 - }, - "end": { - "line": 25, - "column": 6 - }, - "identifierName": "global" - }, - "name": "global" - }, - "property": { + "id": { "type": "Identifier", - "start": 755, - "end": 760, + "start": 722, + "end": 730, "loc": { "start": { - "line": 25, - "column": 7 + "line": 23, + "column": 4 }, "end": { - "line": 25, + "line": 23, "column": 12 }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - }, - "right": { - "type": "LogicalExpression", - "start": 763, - "end": 784, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 36 - } - }, - "left": { - "type": "Identifier", - "start": 763, - "end": 768, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 20 - }, - "identifierName": "debug" + "identifierName": "iterator" }, - "name": "debug" + "name": "iterator" }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 772, - "end": 784, - "loc": { - "start": { - "line": 25, - "column": 24 - }, - "end": { - "line": 25, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 772, - "end": 778, - "loc": { - "start": { - "line": 25, - "column": 24 - }, - "end": { - "line": 25, - "column": 30 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 779, - "end": 784, - "loc": { - "start": { - "line": 25, - "column": 31 - }, - "end": { - "line": 25, - "column": 36 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - } + "init": null } - } + ], + "kind": "let" }, { - "type": "IfStatement", - "start": 786, - "end": 864, + "type": "FunctionDeclaration", + "start": 733, + "end": 1041, "loc": { "start": { - "line": 26, + "line": 25, "column": 0 }, "end": { - "line": 29, + "line": 39, "column": 1 } }, - "test": { + "id": { "type": "Identifier", - "start": 790, - "end": 795, + "start": 744, + "end": 747, "loc": { "start": { - "line": 26, - "column": 4 + "line": 25, + "column": 11 }, "end": { - "line": 26, - "column": 9 + "line": 25, + "column": 14 }, - "identifierName": "build" + "identifierName": "run" }, - "name": "build" + "name": "run" }, - "consequent": { + "generator": true, + "expression": false, + "async": false, + "params": [], + "body": { "type": "BlockStatement", - "start": 797, - "end": 864, + "start": 750, + "end": 1041, "loc": { "start": { - "line": 26, - "column": 11 + "line": 25, + "column": 17 }, "end": { - "line": 29, + "line": 39, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 801, - "end": 837, + "start": 754, + "end": 796, "loc": { "start": { - "line": 27, + "line": 26, "column": 2 }, "end": { - "line": 27, - "column": 38 + "line": 26, + "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 807, - "end": 836, + "start": 760, + "end": 795, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, - "column": 37 + "line": 26, + "column": 43 } }, "id": { "type": "Identifier", - "start": 807, - "end": 814, + "start": 760, + "end": 766, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, - "column": 15 + "line": 26, + "column": 14 }, - "identifierName": "builder" + "identifierName": "config" }, - "name": "builder" + "name": "config" }, "init": { - "type": "NewExpression", - "start": 817, - "end": 836, + "type": "YieldExpression", + "start": 769, + "end": 795, "loc": { "start": { - "line": 27, - "column": 18 + "line": 26, + "column": 17 }, "end": { - "line": 27, - "column": 37 + "line": 26, + "column": 43 } }, - "callee": { - "type": "Identifier", - "start": 821, - "end": 828, + "delegate": false, + "argument": { + "type": "NewExpression", + "start": 775, + "end": 795, "loc": { "start": { - "line": 27, - "column": 22 + "line": 26, + "column": 23 }, "end": { - "line": 27, - "column": 29 - }, - "identifierName": "Builder" + "line": 26, + "column": 43 + } }, - "name": "Builder" - }, - "arguments": [ - { + "callee": { "type": "Identifier", - "start": 829, - "end": 835, + "start": 779, + "end": 785, "loc": { "start": { - "line": 27, - "column": 30 + "line": 26, + "column": 27 }, "end": { - "line": 27, - "column": 36 + "line": 26, + "column": 33 }, - "identifierName": "config" + "identifierName": "Config" }, - "name": "config" - } - ] + "name": "Config" + }, + "arguments": [ + { + "type": "Identifier", + "start": 786, + "end": 794, + "loc": { + "start": { + "line": 26, + "column": 34 + }, + "end": { + "line": 26, + "column": 42 + }, + "identifierName": "iterator" + }, + "name": "iterator" + } + ] + } } } ], @@ -2172,259 +1996,141 @@ }, { "type": "ExpressionStatement", - "start": 840, - "end": 862, + "start": 799, + "end": 836, "loc": { "start": { - "line": 28, + "line": 27, "column": 2 }, "end": { - "line": 28, - "column": 24 + "line": 27, + "column": 39 } }, "expression": { - "type": "CallExpression", - "start": 840, - "end": 861, + "type": "AssignmentExpression", + "start": 799, + "end": 835, "loc": { "start": { - "line": 28, + "line": 27, "column": 2 }, "end": { - "line": 28, - "column": 23 + "line": 27, + "column": 38 } }, - "callee": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 840, - "end": 853, + "start": 799, + "end": 811, "loc": { "start": { - "line": 28, + "line": 27, "column": 2 }, "end": { - "line": 28, - "column": 15 + "line": 27, + "column": 14 } }, "object": { "type": "Identifier", - "start": 840, - "end": 847, + "start": 799, + "end": 805, "loc": { "start": { - "line": 28, + "line": 27, "column": 2 }, "end": { - "line": 28, - "column": 9 + "line": 27, + "column": 8 }, - "identifierName": "builder" + "identifierName": "global" }, - "name": "builder" + "name": "global" }, "property": { "type": "Identifier", - "start": 848, - "end": 853, + "start": 806, + "end": 811, "loc": { "start": { - "line": 28, - "column": 10 + "line": 27, + "column": 9 }, "end": { - "line": 28, - "column": 15 + "line": 27, + "column": 14 }, - "identifierName": "build" + "identifierName": "debug" }, - "name": "build" + "name": "debug" }, "computed": false }, - "arguments": [ - { - "type": "Identifier", - "start": 854, - "end": 860, - "loc": { - "start": { - "line": 28, - "column": 16 - }, - "end": { - "line": 28, - "column": 22 - }, - "identifierName": "config" - }, - "name": "config" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 865, - "end": 915, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 32, - "column": 1 - } - }, - "test": { - "type": "Identifier", - "start": 869, - "end": 873, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 30, - "column": 8 - }, - "identifierName": "copy" - }, - "name": "copy" - }, - "consequent": { - "type": "BlockStatement", - "start": 875, - "end": 915, - "loc": { - "start": { - "line": 30, - "column": 10 - }, - "end": { - "line": 32, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 879, - "end": 913, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 36 - } - }, - "expression": { - "type": "CallExpression", - "start": 879, - "end": 912, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 879, - "end": 896, + "right": { + "type": "LogicalExpression", + "start": 814, + "end": 835, "loc": { "start": { - "line": 31, - "column": 2 + "line": 27, + "column": 17 }, "end": { - "line": 31, - "column": 19 + "line": 27, + "column": 38 } }, - "object": { - "type": "Identifier", - "start": 879, - "end": 884, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 7 - }, - "identifierName": "utils" - }, - "name": "utils" - }, - "property": { + "left": { "type": "Identifier", - "start": 885, - "end": 896, + "start": 814, + "end": 819, "loc": { "start": { - "line": 31, - "column": 8 + "line": 27, + "column": 17 }, "end": { - "line": 31, - "column": 19 + "line": 27, + "column": 22 }, - "identifierName": "copySources" + "identifierName": "debug" }, - "name": "copySources" + "name": "debug" }, - "computed": false - }, - "arguments": [ - { + "operator": "||", + "right": { "type": "MemberExpression", - "start": 897, - "end": 911, + "start": 823, + "end": 835, "loc": { "start": { - "line": 31, - "column": 20 + "line": 27, + "column": 26 }, "end": { - "line": 31, - "column": 34 + "line": 27, + "column": 38 } }, "object": { "type": "Identifier", - "start": 897, - "end": 903, + "start": 823, + "end": 829, "loc": { "start": { - "line": 31, - "column": 20 + "line": 27, + "column": 26 }, "end": { - "line": 31, - "column": 26 + "line": 27, + "column": 32 }, "identifierName": "config" }, @@ -2432,306 +2138,1196 @@ }, "property": { "type": "Identifier", - "start": 904, - "end": 911, + "start": 830, + "end": 835, "loc": { "start": { - "line": 31, - "column": 27 + "line": 27, + "column": 33 }, "end": { - "line": 31, - "column": 34 + "line": 27, + "column": 38 }, - "identifierName": "sources" + "identifierName": "debug" }, - "name": "sources" + "name": "debug" }, "computed": false } - ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 916, - "end": 992, - "loc": { - "start": { - "line": 33, - "column": 0 - }, - "end": { - "line": 36, - "column": 1 - } - }, - "test": { - "type": "Identifier", - "start": 920, - "end": 925, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 9 - }, - "identifierName": "serve" - }, - "name": "serve" - }, - "consequent": { - "type": "BlockStatement", - "start": 927, - "end": 992, - "loc": { - "start": { - "line": 33, - "column": 11 }, - "end": { - "line": 36, - "column": 1 - } - }, - "body": [ { - "type": "VariableDeclaration", - "start": 931, - "end": 959, + "type": "IfStatement", + "start": 840, + "end": 897, "loc": { "start": { - "line": 34, + "line": 29, "column": 2 }, "end": { - "line": 34, - "column": 30 + "line": 31, + "column": 3 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 937, - "end": 958, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 29 - } + "test": { + "type": "Identifier", + "start": 844, + "end": 849, + "loc": { + "start": { + "line": 29, + "column": 6 }, - "id": { - "type": "Identifier", - "start": 937, - "end": 943, + "end": { + "line": 29, + "column": 11 + }, + "identifierName": "build" + }, + "name": "build" + }, + "consequent": { + "type": "BlockStatement", + "start": 851, + "end": 897, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 31, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 857, + "end": 893, "loc": { "start": { - "line": 34, - "column": 8 + "line": 30, + "column": 4 }, "end": { - "line": 34, - "column": 14 - }, - "identifierName": "server" + "line": 30, + "column": 40 + } }, - "name": "server" + "expression": { + "type": "YieldExpression", + "start": 857, + "end": 892, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 39 + } + }, + "delegate": false, + "argument": { + "type": "NewExpression", + "start": 863, + "end": 892, + "loc": { + "start": { + "line": 30, + "column": 10 + }, + "end": { + "line": 30, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 867, + "end": 874, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 21 + }, + "identifierName": "Builder" + }, + "name": "Builder" + }, + "arguments": [ + { + "type": "Identifier", + "start": 875, + "end": 881, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 28 + }, + "identifierName": "config" + }, + "name": "config" + }, + { + "type": "Identifier", + "start": 883, + "end": 891, + "loc": { + "start": { + "line": 30, + "column": 30 + }, + "end": { + "line": 30, + "column": 38 + }, + "identifierName": "iterator" + }, + "name": "iterator" + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 900, + "end": 954, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 34, + "column": 3 + } + }, + "test": { + "type": "Identifier", + "start": 904, + "end": 908, + "loc": { + "start": { + "line": 32, + "column": 6 }, - "init": { - "type": "NewExpression", - "start": 946, - "end": 958, + "end": { + "line": 32, + "column": 10 + }, + "identifierName": "copy" + }, + "name": "copy" + }, + "consequent": { + "type": "BlockStatement", + "start": 910, + "end": 954, + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 34, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 916, + "end": 950, "loc": { "start": { - "line": 34, - "column": 17 + "line": 33, + "column": 4 }, "end": { - "line": 34, - "column": 29 + "line": 33, + "column": 38 } }, - "callee": { - "type": "Identifier", - "start": 950, - "end": 956, + "expression": { + "type": "CallExpression", + "start": 916, + "end": 949, "loc": { "start": { - "line": 34, - "column": 21 + "line": 33, + "column": 4 }, "end": { - "line": 34, - "column": 27 + "line": 33, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 916, + "end": 933, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 916, + "end": 921, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 9 + }, + "identifierName": "utils" + }, + "name": "utils" + }, + "property": { + "type": "Identifier", + "start": 922, + "end": 933, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 21 + }, + "identifierName": "copySources" + }, + "name": "copySources" }, - "identifierName": "Server" + "computed": false }, - "name": "Server" - }, - "arguments": [] + "arguments": [ + { + "type": "MemberExpression", + "start": 934, + "end": 948, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 934, + "end": 940, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 28 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 941, + "end": 948, + "loc": { + "start": { + "line": 33, + "column": 29 + }, + "end": { + "line": 33, + "column": 36 + }, + "identifierName": "sources" + }, + "name": "sources" + }, + "computed": false + } + ] + } } - } - ], - "kind": "const" + ], + "directives": [] + }, + "alternate": null }, { - "type": "ExpressionStatement", - "start": 962, - "end": 990, + "type": "IfStatement", + "start": 957, + "end": 1039, "loc": { "start": { "line": 35, "column": 2 }, "end": { - "line": 35, - "column": 30 + "line": 38, + "column": 3 } }, - "expression": { - "type": "CallExpression", - "start": 962, - "end": 989, + "test": { + "type": "Identifier", + "start": 961, + "end": 966, "loc": { "start": { "line": 35, - "column": 2 + "column": 6 }, "end": { "line": 35, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 962, - "end": 974, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 962, - "end": 968, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 8 - }, - "identifierName": "server" - }, - "name": "server" + "column": 11 }, - "property": { - "type": "Identifier", - "start": 969, - "end": 974, - "loc": { - "start": { - "line": 35, - "column": 9 - }, - "end": { - "line": 35, - "column": 14 - }, - "identifierName": "serve" - }, - "name": "serve" + "identifierName": "serve" + }, + "name": "serve" + }, + "consequent": { + "type": "BlockStatement", + "start": 968, + "end": 1039, + "loc": { + "start": { + "line": 35, + "column": 13 }, - "computed": false + "end": { + "line": 38, + "column": 3 + } }, - "arguments": [ + "body": [ { - "type": "MemberExpression", - "start": 975, - "end": 988, + "type": "VariableDeclaration", + "start": 974, + "end": 1002, "loc": { "start": { - "line": 35, - "column": 15 + "line": 36, + "column": 4 }, "end": { - "line": 35, - "column": 28 + "line": 36, + "column": 32 } }, - "object": { - "type": "Identifier", - "start": 975, - "end": 981, - "loc": { - "start": { - "line": 35, - "column": 15 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 980, + "end": 1001, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 31 + } }, - "end": { - "line": 35, - "column": 21 + "id": { + "type": "Identifier", + "start": 980, + "end": 986, + "loc": { + "start": { + "line": 36, + "column": 10 + }, + "end": { + "line": 36, + "column": 16 + }, + "identifierName": "server" + }, + "name": "server" }, - "identifierName": "config" - }, - "name": "config" + "init": { + "type": "NewExpression", + "start": 989, + "end": 1001, + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 36, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 993, + "end": 999, + "loc": { + "start": { + "line": 36, + "column": 23 + }, + "end": { + "line": 36, + "column": 29 + }, + "identifierName": "Server" + }, + "name": "Server" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 1007, + "end": 1035, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 32 + } }, - "property": { - "type": "Identifier", - "start": 982, - "end": 988, + "expression": { + "type": "CallExpression", + "start": 1007, + "end": 1034, "loc": { "start": { - "line": 35, - "column": 22 + "line": 37, + "column": 4 }, "end": { - "line": 35, - "column": 28 + "line": 37, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1007, + "end": 1019, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 1007, + "end": 1013, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 10 + }, + "identifierName": "server" + }, + "name": "server" + }, + "property": { + "type": "Identifier", + "start": 1014, + "end": 1019, + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 16 + }, + "identifierName": "serve" + }, + "name": "serve" }, - "identifierName": "server" + "computed": false }, - "name": "server" - }, - "computed": false + "arguments": [ + { + "type": "MemberExpression", + "start": 1020, + "end": 1033, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 1020, + "end": 1026, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 23 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1027, + "end": 1033, + "loc": { + "start": { + "line": 37, + "column": 24 + }, + "end": { + "line": 37, + "column": 30 + }, + "identifierName": "server" + }, + "name": "server" + }, + "computed": false + } + ] + } } - ] - } + ], + "directives": [] + }, + "alternate": null } ], "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 1043, + "end": 1060, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 17 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1043, + "end": 1059, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 16 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1043, + "end": 1051, + "loc": { + "start": { + "line": 41, + "column": 0 + }, + "end": { + "line": 41, + "column": 8 + }, + "identifierName": "iterator" + }, + "name": "iterator" + }, + "right": { + "type": "CallExpression", + "start": 1054, + "end": 1059, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 1054, + "end": 1057, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 14 + }, + "identifierName": "run" + }, + "name": "run" + }, + "arguments": [] + } + } + }, + { + "type": "ExpressionStatement", + "start": 1061, + "end": 1077, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 16 + } + }, + "expression": { + "type": "CallExpression", + "start": 1061, + "end": 1076, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 15 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1061, + "end": 1074, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 1061, + "end": 1069, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 8 + }, + "identifierName": "iterator" + }, + "name": "iterator" + }, + "property": { + "type": "Identifier", + "start": 1070, + "end": 1074, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 13 + }, + "identifierName": "next" + }, + "name": "next" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "process", + "start": 0, + "end": 7, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "title", + "start": 8, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 14, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "backed", + "start": 16, + "end": 24, + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 24 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 26, + "end": 31, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "commander", + "start": 32, + "end": 41, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 42, + "end": 43, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 44, + "end": 51, + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 51, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "commander", + "start": 52, + "end": 63, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 63, + "end": 64, + "loc": { + "start": { + "line": 2, + "column": 37 + }, + "end": { + "line": 2, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 64, + "end": 65, + "loc": { + "start": { + "line": 2, + "column": 38 + }, + "end": { + "line": 2, + "column": 39 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 66, + "end": 71, + "loc": { + "start": { + "line": 3, + "column": 0 }, - "alternate": null + "end": { + "line": 3, + "column": 5 + } } - ], - "directives": [] - }, - "comments": [], - "tokens": [ + }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2740,51 +3336,50 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 0, - "end": 7, + "start": 72, + "end": 73, "loc": { "start": { - "line": 1, - "column": 0 + "line": 3, + "column": 6 }, "end": { - "line": 1, + "line": 3, "column": 7 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7, - "end": 8, + "value": "version", + "start": 73, + "end": 80, "loc": { "start": { - "line": 1, + "line": 3, "column": 7 }, "end": { - "line": 1, - "column": 8 + "line": 3, + "column": 14 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2792,17 +3387,16 @@ "postfix": false, "binop": null }, - "value": "title", - "start": 8, - "end": 13, + "start": 80, + "end": 81, "loc": { "start": { - "line": 1, - "column": 8 + "line": 3, + "column": 14 }, "end": { - "line": 1, - "column": 13 + "line": 3, + "column": 15 } } }, @@ -2820,16 +3414,67 @@ "updateContext": null }, "value": "=", - "start": 14, - "end": 15, + "start": 82, + "end": 83, "loc": { "start": { - "line": 1, - "column": 14 + "line": 3, + "column": 16 }, "end": { - "line": 1, - "column": 15 + "line": 3, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 84, + "end": 91, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 3, + "column": 25 + }, + "end": { + "line": 3, + "column": 26 } } }, @@ -2846,17 +3491,42 @@ "binop": null, "updateContext": null }, - "value": "backed", - "start": 16, - "end": 24, + "value": "./../package.json", + "start": 92, + "end": 111, "loc": { "start": { - "line": 1, - "column": 16 + "line": 3, + "column": 26 }, "end": { - "line": 1, - "column": 24 + "line": 3, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 111, + "end": 112, + "loc": { + "start": { + "line": 3, + "column": 45 + }, + "end": { + "line": 3, + "column": 46 } } }, @@ -2873,23 +3543,23 @@ "binop": null, "updateContext": null }, - "start": 24, - "end": 25, + "start": 112, + "end": 113, "loc": { "start": { - "line": 1, - "column": 24 + "line": 3, + "column": 46 }, "end": { - "line": 1, - "column": 25 + "line": 3, + "column": 47 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2900,17 +3570,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 26, - "end": 31, + "value": "import", + "start": 115, + "end": 121, "loc": { "start": { - "line": 2, + "line": 5, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 5, + "column": 6 } } }, @@ -2926,77 +3596,131 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 32, - "end": 41, + "value": "Builder", + "start": 122, + "end": 129, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 130, + "end": 134, + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./builder.js", + "start": 135, + "end": 149, "loc": { "start": { - "line": 2, - "column": 6 + "line": 5, + "column": 20 }, "end": { - "line": 2, - "column": 15 + "line": 5, + "column": 34 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 42, - "end": 43, + "start": 149, + "end": 150, "loc": { "start": { - "line": 2, - "column": 16 + "line": 5, + "column": 34 }, "end": { - "line": 2, - "column": 17 + "line": 5, + "column": 35 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 44, - "end": 51, + "value": "import", + "start": 151, + "end": 157, "loc": { "start": { - "line": 2, - "column": 18 + "line": 6, + "column": 0 }, "end": { - "line": 2, - "column": 25 + "line": 6, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3005,22 +3729,23 @@ "postfix": false, "binop": null }, - "start": 51, - "end": 52, + "value": "Server", + "start": 158, + "end": 164, "loc": { "start": { - "line": 2, - "column": 25 + "line": 6, + "column": 7 }, "end": { - "line": 2, - "column": 26 + "line": 6, + "column": 13 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3028,45 +3753,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "commander", - "start": 52, - "end": 63, + "value": "from", + "start": 165, + "end": 169, "loc": { "start": { - "line": 2, - "column": 26 + "line": 6, + "column": 14 }, "end": { - "line": 2, - "column": 37 + "line": 6, + "column": 18 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 63, - "end": 64, + "value": "./server.js", + "start": 170, + "end": 183, "loc": { "start": { - "line": 2, - "column": 37 + "line": 6, + "column": 19 }, "end": { - "line": 2, - "column": 38 + "line": 6, + "column": 32 } } }, @@ -3083,23 +3809,23 @@ "binop": null, "updateContext": null }, - "start": 64, - "end": 65, + "start": 183, + "end": 184, "loc": { "start": { - "line": 2, - "column": 38 + "line": 6, + "column": 32 }, "end": { - "line": 2, - "column": 39 + "line": 6, + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3110,24 +3836,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 66, - "end": 71, + "value": "import", + "start": 185, + "end": 191, "loc": { "start": { - "line": 3, + "line": 7, "column": 0 }, "end": { - "line": 3, - "column": 5 + "line": 7, + "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3136,16 +3862,17 @@ "postfix": false, "binop": null }, - "start": 72, - "end": 73, + "value": "Config", + "start": 192, + "end": 198, "loc": { "start": { - "line": 3, - "column": 6 + "line": 7, + "column": 7 }, "end": { - "line": 3, - "column": 7 + "line": 7, + "column": 13 } } }, @@ -3161,155 +3888,132 @@ "postfix": false, "binop": null }, - "value": "version", - "start": 73, - "end": 80, + "value": "from", + "start": 199, + "end": 203, "loc": { "start": { - "line": 3, - "column": 7 + "line": 7, + "column": 14 }, "end": { - "line": 3, - "column": 14 + "line": 7, + "column": 18 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 80, - "end": 81, + "value": "./config.js", + "start": 204, + "end": 217, "loc": { "start": { - "line": 3, - "column": 14 + "line": 7, + "column": 19 }, "end": { - "line": 3, - "column": 15 + "line": 7, + "column": 32 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 82, - "end": 83, + "start": 217, + "end": 218, "loc": { "start": { - "line": 3, - "column": 16 + "line": 7, + "column": 32 }, "end": { - "line": 3, - "column": 17 + "line": 7, + "column": 33 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 84, - "end": 91, - "loc": { - "start": { - "line": 3, - "column": 18 - }, - "end": { - "line": 3, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 91, - "end": 92, + "value": "import", + "start": 219, + "end": 225, "loc": { "start": { - "line": 3, - "column": 25 + "line": 8, + "column": 0 }, "end": { - "line": 3, - "column": 26 + "line": 8, + "column": 6 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "postfix": false, + "binop": null }, - "value": "./../package.json", - "start": 92, - "end": 111, + "value": "Utils", + "start": 226, + "end": 231, "loc": { "start": { - "line": 3, - "column": 26 + "line": 8, + "column": 7 }, "end": { - "line": 3, - "column": 45 + "line": 8, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3317,24 +4021,25 @@ "postfix": false, "binop": null }, - "start": 111, - "end": 112, + "value": "from", + "start": 232, + "end": 236, "loc": { "start": { - "line": 3, - "column": 45 + "line": 8, + "column": 13 }, "end": { - "line": 3, - "column": 46 + "line": 8, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3343,24 +4048,24 @@ "binop": null, "updateContext": null }, - "start": 112, - "end": 113, + "value": "./utils.js", + "start": 237, + "end": 249, "loc": { "start": { - "line": 3, - "column": 46 + "line": 8, + "column": 18 }, "end": { - "line": 3, - "column": 47 + "line": 8, + "column": 30 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3370,43 +4075,44 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 115, - "end": 121, + "start": 249, + "end": 250, "loc": { "start": { - "line": 5, - "column": 0 + "line": 8, + "column": 30 }, "end": { - "line": 5, - "column": 6 + "line": 8, + "column": 31 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Builder", - "start": 122, - "end": 129, + "value": "const", + "start": 251, + "end": 256, "loc": { "start": { - "line": 5, - "column": 7 + "line": 9, + "column": 0 }, "end": { - "line": 5, - "column": 14 + "line": 9, + "column": 5 } } }, @@ -3422,52 +4128,53 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 130, - "end": 134, + "value": "utils", + "start": 257, + "end": 262, "loc": { "start": { - "line": 5, - "column": 15 + "line": 9, + "column": 6 }, "end": { - "line": 5, - "column": 19 + "line": 9, + "column": 11 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "./builder.js", - "start": 135, - "end": 149, + "value": "=", + "start": 263, + "end": 264, "loc": { "start": { - "line": 5, - "column": 20 + "line": 9, + "column": 12 }, "end": { - "line": 5, - "column": 34 + "line": 9, + "column": 13 } } }, { "type": { - "label": ";", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3476,51 +4183,50 @@ "binop": null, "updateContext": null }, - "start": 149, - "end": 150, + "value": "new", + "start": 265, + "end": 268, "loc": { "start": { - "line": 5, - "column": 34 + "line": 9, + "column": 14 }, "end": { - "line": 5, - "column": 35 + "line": 9, + "column": 17 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 151, - "end": 157, + "value": "Utils", + "start": 269, + "end": 274, "loc": { "start": { - "line": 6, - "column": 0 + "line": 9, + "column": 18 }, "end": { - "line": 6, - "column": 6 + "line": 9, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3529,25 +4235,24 @@ "postfix": false, "binop": null }, - "value": "Server", - "start": 158, - "end": 164, + "start": 274, + "end": 275, "loc": { "start": { - "line": 6, - "column": 7 + "line": 9, + "column": 23 }, "end": { - "line": 6, - "column": 13 + "line": 9, + "column": 24 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3555,25 +4260,24 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 165, - "end": 169, + "start": 275, + "end": 276, "loc": { "start": { - "line": 6, - "column": 14 + "line": 9, + "column": 24 }, "end": { - "line": 6, - "column": 18 + "line": 9, + "column": 25 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3582,50 +4286,48 @@ "binop": null, "updateContext": null }, - "value": "./server.js", - "start": 170, - "end": 183, + "start": 276, + "end": 277, "loc": { "start": { - "line": 6, - "column": 19 + "line": 9, + "column": 25 }, "end": { - "line": 6, - "column": 32 + "line": 9, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 183, - "end": 184, + "value": "commander", + "start": 279, + "end": 288, "loc": { "start": { - "line": 6, - "column": 32 + "line": 11, + "column": 0 }, "end": { - "line": 6, - "column": 33 + "line": 11, + "column": 9 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3636,17 +4338,16 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 185, - "end": 191, + "start": 291, + "end": 292, "loc": { "start": { - "line": 7, - "column": 0 + "line": 12, + "column": 2 }, "end": { - "line": 7, - "column": 6 + "line": 12, + "column": 3 } } }, @@ -3662,24 +4363,24 @@ "postfix": false, "binop": null }, - "value": "Config", - "start": 192, - "end": 198, + "value": "version", + "start": 292, + "end": 299, "loc": { "start": { - "line": 7, - "column": 7 + "line": 12, + "column": 3 }, "end": { - "line": 7, - "column": 13 + "line": 12, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3688,23 +4389,22 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 199, - "end": 203, + "start": 299, + "end": 300, "loc": { "start": { - "line": 7, - "column": 14 + "line": 12, + "column": 10 }, "end": { - "line": 7, - "column": 18 + "line": 12, + "column": 11 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3712,53 +4412,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./config.js", - "start": 204, - "end": 217, + "value": "version", + "start": 300, + "end": 307, "loc": { "start": { - "line": 7, - "column": 19 + "line": 12, + "column": 11 }, "end": { - "line": 7, - "column": 32 + "line": 12, + "column": 18 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 217, - "end": 218, + "start": 307, + "end": 308, "loc": { "start": { - "line": 7, - "column": 32 + "line": 12, + "column": 18 }, "end": { - "line": 7, - "column": 33 + "line": 12, + "column": 19 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3769,17 +4466,16 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 219, - "end": 225, + "start": 311, + "end": 312, "loc": { "start": { - "line": 8, - "column": 0 + "line": 13, + "column": 2 }, "end": { - "line": 8, - "column": 6 + "line": 13, + "column": 3 } } }, @@ -3795,24 +4491,24 @@ "postfix": false, "binop": null }, - "value": "Utils", - "start": 226, - "end": 231, + "value": "option", + "start": 312, + "end": 318, "loc": { "start": { - "line": 8, - "column": 7 + "line": 13, + "column": 3 }, "end": { - "line": 8, - "column": 12 + "line": 13, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3821,17 +4517,16 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 232, - "end": 236, + "start": 318, + "end": 319, "loc": { "start": { - "line": 8, - "column": 13 + "line": 13, + "column": 9 }, "end": { - "line": 8, - "column": 17 + "line": 13, + "column": 10 } } }, @@ -3848,23 +4543,23 @@ "binop": null, "updateContext": null }, - "value": "./utils.js", - "start": 237, - "end": 249, + "value": "-b, --build", + "start": 319, + "end": 332, "loc": { "start": { - "line": 8, - "column": 18 + "line": 13, + "column": 10 }, "end": { - "line": 8, - "column": 30 + "line": 13, + "column": 23 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3875,25 +4570,24 @@ "binop": null, "updateContext": null }, - "start": 249, - "end": 250, + "start": 332, + "end": 333, "loc": { "start": { - "line": 8, - "column": 30 + "line": 13, + "column": 23 }, "end": { - "line": 8, - "column": 31 + "line": 13, + "column": 24 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3902,25 +4596,25 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 251, - "end": 256, + "value": "build your app/component", + "start": 334, + "end": 360, "loc": { "start": { - "line": 9, - "column": 0 + "line": 13, + "column": 25 }, "end": { - "line": 9, - "column": 5 + "line": 13, + "column": 51 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3928,72 +4622,42 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 257, - "end": 263, + "start": 360, + "end": 361, "loc": { "start": { - "line": 9, - "column": 6 + "line": 13, + "column": 51 }, "end": { - "line": 9, - "column": 12 + "line": 13, + "column": 52 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 264, - "end": 265, - "loc": { - "start": { - "line": 9, - "column": 13 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "new", - "start": 266, - "end": 269, + "start": 364, + "end": 365, "loc": { "start": { - "line": 9, - "column": 15 + "line": 14, + "column": 2 }, "end": { - "line": 9, - "column": 18 + "line": 14, + "column": 3 } } }, @@ -4009,17 +4673,17 @@ "postfix": false, "binop": null }, - "value": "Config", - "start": 270, - "end": 276, + "value": "option", + "start": 365, + "end": 371, "loc": { "start": { - "line": 9, - "column": 19 + "line": 14, + "column": 3 }, "end": { - "line": 9, - "column": 25 + "line": 14, + "column": 9 } } }, @@ -4035,49 +4699,24 @@ "postfix": false, "binop": null }, - "start": 276, - "end": 277, + "start": 371, + "end": 372, "loc": { "start": { - "line": 9, - "column": 25 + "line": 14, + "column": 9 }, "end": { - "line": 9, - "column": 26 + "line": 14, + "column": 10 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 277, - "end": 278, - "loc": { - "start": { - "line": 9, - "column": 26 - }, - "end": { - "line": 9, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4086,24 +4725,24 @@ "binop": null, "updateContext": null }, - "start": 278, - "end": 279, + "value": "-s, --serve", + "start": 372, + "end": 385, "loc": { "start": { - "line": 9, - "column": 27 + "line": 14, + "column": 10 }, "end": { - "line": 9, - "column": 28 + "line": 14, + "column": 23 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4113,23 +4752,22 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 280, - "end": 285, + "start": 385, + "end": 386, "loc": { "start": { - "line": 10, - "column": 0 + "line": 14, + "column": 23 }, "end": { - "line": 10, - "column": 5 + "line": 14, + "column": 24 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4137,55 +4775,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "utils", - "start": 286, - "end": 291, + "value": "serve your app/component", + "start": 387, + "end": 413, "loc": { "start": { - "line": 10, - "column": 6 + "line": 14, + "column": 25 }, "end": { - "line": 10, - "column": 11 + "line": 14, + "column": 51 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 292, - "end": 293, + "start": 413, + "end": 414, "loc": { "start": { - "line": 10, - "column": 12 + "line": 14, + "column": 51 }, "end": { - "line": 10, - "column": 13 + "line": 14, + "column": 52 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4194,17 +4830,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 294, - "end": 297, + "start": 417, + "end": 418, "loc": { "start": { - "line": 10, - "column": 14 + "line": 15, + "column": 2 }, "end": { - "line": 10, - "column": 17 + "line": 15, + "column": 3 } } }, @@ -4220,17 +4855,17 @@ "postfix": false, "binop": null }, - "value": "Utils", - "start": 298, - "end": 303, + "value": "option", + "start": 418, + "end": 424, "loc": { "start": { - "line": 10, - "column": 18 + "line": 15, + "column": 3 }, "end": { - "line": 10, - "column": 23 + "line": 15, + "column": 9 } } }, @@ -4246,47 +4881,49 @@ "postfix": false, "binop": null }, - "start": 303, - "end": 304, + "start": 424, + "end": 425, "loc": { "start": { - "line": 10, - "column": 23 + "line": 15, + "column": 9 }, "end": { - "line": 10, - "column": 24 + "line": 15, + "column": 10 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 304, - "end": 305, + "value": "-c, --copy", + "start": 425, + "end": 437, "loc": { "start": { - "line": 10, - "column": 24 + "line": 15, + "column": 10 }, "end": { - "line": 10, - "column": 25 + "line": 15, + "column": 22 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4297,22 +4934,22 @@ "binop": null, "updateContext": null }, - "start": 305, - "end": 306, + "start": 437, + "end": 438, "loc": { "start": { - "line": 10, - "column": 25 + "line": 15, + "column": 22 }, "end": { - "line": 10, - "column": 26 + "line": 15, + "column": 23 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4320,25 +4957,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "commander", - "start": 308, - "end": 317, + "value": "copy files from your app/component src folder to it distribution folder", + "start": 439, + "end": 512, "loc": { "start": { - "line": 12, - "column": 0 + "line": 15, + "column": 24 }, "end": { - "line": 12, - "column": 9 + "line": 15, + "column": 97 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4346,52 +4984,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 320, - "end": 321, + "start": 512, + "end": 513, "loc": { "start": { - "line": 13, - "column": 2 + "line": 15, + "column": 97 }, "end": { - "line": 13, - "column": 3 + "line": 15, + "column": 98 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "version", - "start": 321, - "end": 328, + "start": 516, + "end": 517, "loc": { "start": { - "line": 13, - "column": 3 + "line": 16, + "column": 2 }, "end": { - "line": 13, - "column": 10 + "line": 16, + "column": 3 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4400,23 +5037,24 @@ "postfix": false, "binop": null }, - "start": 328, - "end": 329, + "value": "option", + "start": 517, + "end": 523, "loc": { "start": { - "line": 13, - "column": 10 + "line": 16, + "column": 3 }, "end": { - "line": 13, - "column": 11 + "line": 16, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4425,49 +5063,50 @@ "postfix": false, "binop": null }, - "value": "version", - "start": 329, - "end": 336, + "start": 523, + "end": 524, "loc": { "start": { - "line": 13, - "column": 11 + "line": 16, + "column": 9 }, "end": { - "line": 13, - "column": 18 + "line": 16, + "column": 10 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 336, - "end": 337, + "value": "-d, --debug", + "start": 524, + "end": 537, "loc": { "start": { - "line": 13, - "column": 18 + "line": 16, + "column": 10 }, "end": { - "line": 13, - "column": 19 + "line": 16, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4477,22 +5116,22 @@ "binop": null, "updateContext": null }, - "start": 340, - "end": 341, + "start": 537, + "end": 538, "loc": { "start": { - "line": 14, - "column": 2 + "line": 16, + "column": 23 }, "end": { - "line": 14, - "column": 3 + "line": 16, + "column": 24 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4500,27 +5139,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "option", - "start": 341, - "end": 347, + "value": "show all warnings", + "start": 539, + "end": 558, "loc": { "start": { - "line": 14, - "column": 3 + "line": 16, + "column": 25 }, "end": { - "line": 14, - "column": 9 + "line": 16, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4528,24 +5168,24 @@ "postfix": false, "binop": null }, - "start": 347, - "end": 348, + "start": 558, + "end": 559, "loc": { "start": { - "line": 14, - "column": 9 + "line": 16, + "column": 44 }, "end": { - "line": 14, - "column": 10 + "line": 16, + "column": 45 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4554,78 +5194,75 @@ "binop": null, "updateContext": null }, - "value": "-b, --build", - "start": 348, - "end": 361, + "start": 562, + "end": 563, "loc": { "start": { - "line": 14, - "column": 10 + "line": 17, + "column": 2 }, "end": { - "line": 14, - "column": 23 + "line": 17, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 361, - "end": 362, + "value": "parse", + "start": 563, + "end": 568, "loc": { "start": { - "line": 14, - "column": 23 + "line": 17, + "column": 3 }, "end": { - "line": 14, - "column": 24 + "line": 17, + "column": 8 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "build your app/component", - "start": 363, - "end": 389, + "start": 568, + "end": 569, "loc": { "start": { - "line": 14, - "column": 25 + "line": 17, + "column": 8 }, "end": { - "line": 14, - "column": 51 + "line": 17, + "column": 9 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4633,16 +5270,17 @@ "postfix": false, "binop": null }, - "start": 389, - "end": 390, + "value": "process", + "start": 569, + "end": 576, "loc": { "start": { - "line": 14, - "column": 51 + "line": 17, + "column": 9 }, "end": { - "line": 14, - "column": 52 + "line": 17, + "column": 16 } } }, @@ -4659,16 +5297,16 @@ "binop": null, "updateContext": null }, - "start": 393, - "end": 394, + "start": 576, + "end": 577, "loc": { "start": { - "line": 15, - "column": 2 + "line": 17, + "column": 16 }, "end": { - "line": 15, - "column": 3 + "line": 17, + "column": 17 } } }, @@ -4684,25 +5322,25 @@ "postfix": false, "binop": null }, - "value": "option", - "start": 394, - "end": 400, + "value": "argv", + "start": 577, + "end": 581, "loc": { "start": { - "line": 15, - "column": 3 + "line": 17, + "column": 17 }, "end": { - "line": 15, - "column": 9 + "line": 17, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4710,24 +5348,24 @@ "postfix": false, "binop": null }, - "start": 400, - "end": 401, + "start": 581, + "end": 582, "loc": { "start": { - "line": 15, - "column": 9 + "line": 17, + "column": 21 }, "end": { - "line": 15, - "column": 10 + "line": 17, + "column": 22 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4736,24 +5374,24 @@ "binop": null, "updateContext": null }, - "value": "-s, --serve", - "start": 401, - "end": 414, + "start": 582, + "end": 583, "loc": { "start": { - "line": 15, - "column": 10 + "line": 17, + "column": 22 }, "end": { - "line": 15, + "line": 17, "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4763,22 +5401,23 @@ "binop": null, "updateContext": null }, - "start": 414, - "end": 415, + "value": "let", + "start": 585, + "end": 588, "loc": { "start": { - "line": 15, - "column": 23 + "line": 19, + "column": 0 }, "end": { - "line": 15, - "column": 24 + "line": 19, + "column": 3 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4786,28 +5425,54 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "build", + "start": 589, + "end": 594, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "serve your app/component", - "start": 416, - "end": 442, + "value": "=", + "start": 595, + "end": 596, "loc": { "start": { - "line": 15, - "column": 25 + "line": 19, + "column": 10 }, "end": { - "line": 15, - "column": 51 + "line": 19, + "column": 11 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4815,16 +5480,17 @@ "postfix": false, "binop": null }, - "start": 442, - "end": 443, + "value": "commander", + "start": 597, + "end": 606, "loc": { "start": { - "line": 15, - "column": 51 + "line": 19, + "column": 12 }, "end": { - "line": 15, - "column": 52 + "line": 19, + "column": 21 } } }, @@ -4841,16 +5507,16 @@ "binop": null, "updateContext": null }, - "start": 446, - "end": 447, + "start": 606, + "end": 607, "loc": { "start": { - "line": 16, - "column": 2 + "line": 19, + "column": 21 }, "end": { - "line": 16, - "column": 3 + "line": 19, + "column": 22 } } }, @@ -4866,50 +5532,52 @@ "postfix": false, "binop": null }, - "value": "option", - "start": 447, - "end": 453, + "value": "build", + "start": 607, + "end": 612, "loc": { "start": { - "line": 16, - "column": 3 + "line": 19, + "column": 22 }, "end": { - "line": 16, - "column": 9 + "line": 19, + "column": 27 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 453, - "end": 454, + "start": 612, + "end": 613, "loc": { "start": { - "line": 16, - "column": 9 + "line": 19, + "column": 27 }, "end": { - "line": 16, - "column": 10 + "line": 19, + "column": 28 } } }, { "type": { - "label": "string", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4918,78 +5586,78 @@ "binop": null, "updateContext": null }, - "value": "-c, --copy", - "start": 454, - "end": 466, + "value": "let", + "start": 614, + "end": 617, "loc": { "start": { - "line": 16, - "column": 10 + "line": 20, + "column": 0 }, "end": { - "line": 16, - "column": 22 + "line": 20, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 466, - "end": 467, + "value": "copy", + "start": 618, + "end": 622, "loc": { "start": { - "line": 16, - "column": 22 + "line": 20, + "column": 4 }, "end": { - "line": 16, - "column": 23 + "line": 20, + "column": 8 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "copy files from your app/component src folder to it distribution folder", - "start": 468, - "end": 541, + "value": "=", + "start": 623, + "end": 624, "loc": { "start": { - "line": 16, - "column": 24 + "line": 20, + "column": 9 }, "end": { - "line": 16, - "column": 97 + "line": 20, + "column": 10 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4997,16 +5665,17 @@ "postfix": false, "binop": null }, - "start": 541, - "end": 542, + "value": "commander", + "start": 625, + "end": 634, "loc": { "start": { - "line": 16, - "column": 97 + "line": 20, + "column": 11 }, "end": { - "line": 16, - "column": 98 + "line": 20, + "column": 20 } } }, @@ -5023,16 +5692,16 @@ "binop": null, "updateContext": null }, - "start": 545, - "end": 546, + "start": 634, + "end": 635, "loc": { "start": { - "line": 17, - "column": 2 + "line": 20, + "column": 20 }, "end": { - "line": 17, - "column": 3 + "line": 20, + "column": 21 } } }, @@ -5048,48 +5717,50 @@ "postfix": false, "binop": null }, - "value": "option", - "start": 546, - "end": 552, + "value": "build", + "start": 635, + "end": 640, "loc": { "start": { - "line": 17, - "column": 3 + "line": 20, + "column": 21 }, "end": { - "line": 17, - "column": 9 + "line": 20, + "column": 26 } } }, { "type": { - "label": "(", + "label": "||", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "start": 552, - "end": 553, + "value": "||", + "start": 641, + "end": 643, "loc": { "start": { - "line": 17, - "column": 9 + "line": 20, + "column": 27 }, "end": { - "line": 17, - "column": 10 + "line": 20, + "column": 29 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5097,27 +5768,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "-d, --debug", - "start": 553, - "end": 566, + "value": "commander", + "start": 644, + "end": 653, "loc": { "start": { - "line": 17, - "column": 10 + "line": 20, + "column": 30 }, "end": { - "line": 17, - "column": 23 + "line": 20, + "column": 39 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5127,22 +5797,22 @@ "binop": null, "updateContext": null }, - "start": 566, - "end": 567, + "start": 653, + "end": 654, "loc": { "start": { - "line": 17, - "column": 23 + "line": 20, + "column": 39 }, "end": { - "line": 17, - "column": 24 + "line": 20, + "column": 40 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5150,51 +5820,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "show all warnings", - "start": 568, - "end": 587, + "value": "copy", + "start": 654, + "end": 658, "loc": { "start": { - "line": 17, - "column": 25 + "line": 20, + "column": 40 }, "end": { - "line": 17, + "line": 20, "column": 44 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 587, - "end": 588, + "start": 658, + "end": 659, "loc": { "start": { - "line": 17, + "line": 20, "column": 44 }, "end": { - "line": 17, + "line": 20, "column": 45 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -5205,15 +5876,16 @@ "binop": null, "updateContext": null }, - "start": 591, - "end": 592, + "value": "let", + "start": 660, + "end": 663, "loc": { "start": { - "line": 18, - "column": 2 + "line": 21, + "column": 0 }, "end": { - "line": 18, + "line": 21, "column": 3 } } @@ -5230,42 +5902,44 @@ "postfix": false, "binop": null }, - "value": "parse", - "start": 592, - "end": 597, + "value": "serve", + "start": 664, + "end": 669, "loc": { "start": { - "line": 18, - "column": 3 + "line": 21, + "column": 4 }, "end": { - "line": 18, - "column": 8 + "line": 21, + "column": 9 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 597, - "end": 598, + "value": "=", + "start": 670, + "end": 671, "loc": { "start": { - "line": 18, - "column": 8 + "line": 21, + "column": 10 }, "end": { - "line": 18, - "column": 9 + "line": 21, + "column": 11 } } }, @@ -5281,17 +5955,17 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 598, - "end": 605, + "value": "commander", + "start": 672, + "end": 681, "loc": { "start": { - "line": 18, - "column": 9 + "line": 21, + "column": 12 }, "end": { - "line": 18, - "column": 16 + "line": 21, + "column": 21 } } }, @@ -5308,16 +5982,16 @@ "binop": null, "updateContext": null }, - "start": 605, - "end": 606, + "start": 681, + "end": 682, "loc": { "start": { - "line": 18, - "column": 16 + "line": 21, + "column": 21 }, "end": { - "line": 18, - "column": 17 + "line": 21, + "column": 22 } } }, @@ -5333,42 +6007,17 @@ "postfix": false, "binop": null }, - "value": "argv", - "start": 606, - "end": 610, - "loc": { - "start": { - "line": 18, - "column": 17 - }, - "end": { - "line": 18, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 610, - "end": 611, + "value": "serve", + "start": 682, + "end": 687, "loc": { "start": { - "line": 18, - "column": 21 + "line": 21, + "column": 22 }, "end": { - "line": 18, - "column": 22 + "line": 21, + "column": 27 } } }, @@ -5385,16 +6034,16 @@ "binop": null, "updateContext": null }, - "start": 611, - "end": 612, + "start": 687, + "end": 688, "loc": { "start": { - "line": 18, - "column": 22 + "line": 21, + "column": 27 }, "end": { - "line": 18, - "column": 23 + "line": 21, + "column": 28 } } }, @@ -5413,15 +6062,15 @@ "updateContext": null }, "value": "let", - "start": 614, - "end": 617, + "start": 689, + "end": 692, "loc": { "start": { - "line": 20, + "line": 22, "column": 0 }, "end": { - "line": 20, + "line": 22, "column": 3 } } @@ -5438,16 +6087,16 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 618, - "end": 623, + "value": "debug", + "start": 693, + "end": 698, "loc": { "start": { - "line": 20, + "line": 22, "column": 4 }, "end": { - "line": 20, + "line": 22, "column": 9 } } @@ -5466,15 +6115,15 @@ "updateContext": null }, "value": "=", - "start": 624, - "end": 625, + "start": 699, + "end": 700, "loc": { "start": { - "line": 20, + "line": 22, "column": 10 }, "end": { - "line": 20, + "line": 22, "column": 11 } } @@ -5492,15 +6141,15 @@ "binop": null }, "value": "commander", - "start": 626, - "end": 635, + "start": 701, + "end": 710, "loc": { "start": { - "line": 20, + "line": 22, "column": 12 }, "end": { - "line": 20, + "line": 22, "column": 21 } } @@ -5518,15 +6167,15 @@ "binop": null, "updateContext": null }, - "start": 635, - "end": 636, + "start": 710, + "end": 711, "loc": { "start": { - "line": 20, + "line": 22, "column": 21 }, "end": { - "line": 20, + "line": 22, "column": 22 } } @@ -5543,16 +6192,16 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 636, - "end": 641, + "value": "debug", + "start": 711, + "end": 716, "loc": { "start": { - "line": 20, + "line": 22, "column": 22 }, "end": { - "line": 20, + "line": 22, "column": 27 } } @@ -5570,15 +6219,15 @@ "binop": null, "updateContext": null }, - "start": 641, - "end": 642, + "start": 716, + "end": 717, "loc": { "start": { - "line": 20, + "line": 22, "column": 27 }, "end": { - "line": 20, + "line": 22, "column": 28 } } @@ -5598,15 +6247,15 @@ "updateContext": null }, "value": "let", - "start": 643, - "end": 646, + "start": 718, + "end": 721, "loc": { "start": { - "line": 21, + "line": 23, "column": 0 }, "end": { - "line": 21, + "line": 23, "column": 3 } } @@ -5623,43 +6272,96 @@ "postfix": false, "binop": null }, - "value": "copy", - "start": 647, - "end": 651, + "value": "iterator", + "start": 722, + "end": 730, "loc": { "start": { - "line": 21, + "line": 23, "column": 4 }, "end": { - "line": 21, + "line": 23, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 730, + "end": 731, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 733, + "end": 741, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, "column": 8 } } }, { "type": { - "label": "=", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "=", - "start": 652, - "end": 653, + "value": "*", + "start": 742, + "end": 743, "loc": { "start": { - "line": 21, + "line": 25, "column": 9 }, "end": { - "line": 21, + "line": 25, "column": 10 } } @@ -5676,51 +6378,50 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 654, - "end": 663, + "value": "run", + "start": 744, + "end": 747, "loc": { "start": { - "line": 21, + "line": 25, "column": 11 }, "end": { - "line": 21, - "column": 20 + "line": 25, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 663, - "end": 664, + "start": 747, + "end": 748, "loc": { "start": { - "line": 21, - "column": 20 + "line": 25, + "column": 14 }, "end": { - "line": 21, - "column": 21 + "line": 25, + "column": 15 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5728,130 +6429,131 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 664, - "end": 669, + "start": 748, + "end": 749, "loc": { "start": { - "line": 21, - "column": 21 + "line": 25, + "column": 15 }, "end": { - "line": 21, - "column": 26 + "line": 25, + "column": 16 } } }, { "type": { - "label": "||", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 670, - "end": 672, + "start": 750, + "end": 751, "loc": { "start": { - "line": 21, - "column": 27 + "line": 25, + "column": 17 }, "end": { - "line": 21, - "column": 29 + "line": 25, + "column": 18 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "commander", - "start": 673, - "end": 682, + "value": "const", + "start": 754, + "end": 759, "loc": { "start": { - "line": 21, - "column": 30 + "line": 26, + "column": 2 }, "end": { - "line": 21, - "column": 39 + "line": 26, + "column": 7 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 682, - "end": 683, + "value": "config", + "start": 760, + "end": 766, "loc": { "start": { - "line": 21, - "column": 39 + "line": 26, + "column": 8 }, "end": { - "line": 21, - "column": 40 + "line": 26, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "copy", - "start": 683, - "end": 687, + "value": "=", + "start": 767, + "end": 768, "loc": { "start": { - "line": 21, - "column": 40 + "line": 26, + "column": 15 }, "end": { - "line": 21, - "column": 44 + "line": 26, + "column": 16 } } }, { "type": { - "label": ";", + "label": "yield", + "keyword": "yield", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5860,25 +6562,26 @@ "binop": null, "updateContext": null }, - "start": 687, - "end": 688, + "value": "yield", + "start": 769, + "end": 774, "loc": { "start": { - "line": 21, - "column": 44 + "line": 26, + "column": 17 }, "end": { - "line": 21, - "column": 45 + "line": 26, + "column": 22 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5887,17 +6590,17 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 689, - "end": 692, + "value": "new", + "start": 775, + "end": 778, "loc": { "start": { - "line": 22, - "column": 0 + "line": 26, + "column": 23 }, "end": { - "line": 22, - "column": 3 + "line": 26, + "column": 26 } } }, @@ -5913,44 +6616,42 @@ "postfix": false, "binop": null }, - "value": "serve", - "start": 693, - "end": 698, + "value": "Config", + "start": 779, + "end": 785, "loc": { "start": { - "line": 22, - "column": 4 + "line": 26, + "column": 27 }, "end": { - "line": 22, - "column": 9 + "line": 26, + "column": 33 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 699, - "end": 700, + "start": 785, + "end": 786, "loc": { "start": { - "line": 22, - "column": 10 + "line": 26, + "column": 33 }, "end": { - "line": 22, - "column": 11 + "line": 26, + "column": 34 } } }, @@ -5966,23 +6667,23 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 701, - "end": 710, + "value": "iterator", + "start": 786, + "end": 794, "loc": { "start": { - "line": 22, - "column": 12 + "line": 26, + "column": 34 }, "end": { - "line": 22, - "column": 21 + "line": 26, + "column": 42 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -5990,78 +6691,76 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 710, - "end": 711, + "start": 794, + "end": 795, "loc": { "start": { - "line": 22, - "column": 21 + "line": 26, + "column": 42 }, "end": { - "line": 22, - "column": 22 + "line": 26, + "column": 43 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "serve", - "start": 711, - "end": 716, + "start": 795, + "end": 796, "loc": { "start": { - "line": 22, - "column": 22 + "line": 26, + "column": 43 }, "end": { - "line": 22, - "column": 27 + "line": 26, + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 716, - "end": 717, + "value": "global", + "start": 799, + "end": 805, "loc": { - "start": { - "line": 22, - "column": 27 + "start": { + "line": 27, + "column": 2 }, "end": { - "line": 22, - "column": 28 + "line": 27, + "column": 8 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6072,17 +6771,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 718, - "end": 721, + "start": 805, + "end": 806, "loc": { "start": { - "line": 23, - "column": 0 + "line": 27, + "column": 8 }, "end": { - "line": 23, - "column": 3 + "line": 27, + "column": 9 } } }, @@ -6099,16 +6797,16 @@ "binop": null }, "value": "debug", - "start": 722, - "end": 727, + "start": 806, + "end": 811, "loc": { "start": { - "line": 23, - "column": 4 + "line": 27, + "column": 9 }, "end": { - "line": 23, - "column": 9 + "line": 27, + "column": 14 } } }, @@ -6126,16 +6824,16 @@ "updateContext": null }, "value": "=", - "start": 728, - "end": 729, + "start": 812, + "end": 813, "loc": { "start": { - "line": 23, - "column": 10 + "line": 27, + "column": 15 }, "end": { - "line": 23, - "column": 11 + "line": 27, + "column": 16 } } }, @@ -6151,43 +6849,44 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 730, - "end": 739, + "value": "debug", + "start": 814, + "end": 819, "loc": { "start": { - "line": 23, - "column": 12 + "line": 27, + "column": 17 }, "end": { - "line": 23, - "column": 21 + "line": 27, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 739, - "end": 740, + "value": "||", + "start": 820, + "end": 822, "loc": { "start": { - "line": 23, - "column": 21 + "line": 27, + "column": 23 }, "end": { - "line": 23, - "column": 22 + "line": 27, + "column": 25 } } }, @@ -6203,24 +6902,24 @@ "postfix": false, "binop": null }, - "value": "debug", - "start": 740, - "end": 745, + "value": "config", + "start": 823, + "end": 829, "loc": { "start": { - "line": 23, - "column": 22 + "line": 27, + "column": 26 }, "end": { - "line": 23, - "column": 27 + "line": 27, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6230,16 +6929,16 @@ "binop": null, "updateContext": null }, - "start": 745, - "end": 746, + "start": 829, + "end": 830, "loc": { "start": { - "line": 23, - "column": 27 + "line": 27, + "column": 32 }, "end": { - "line": 23, - "column": 28 + "line": 27, + "column": 33 } } }, @@ -6255,24 +6954,24 @@ "postfix": false, "binop": null }, - "value": "global", - "start": 748, - "end": 754, + "value": "debug", + "start": 830, + "end": 835, "loc": { "start": { - "line": 25, - "column": 0 + "line": 27, + "column": 33 }, "end": { - "line": 25, - "column": 6 + "line": 27, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6282,69 +6981,69 @@ "binop": null, "updateContext": null }, - "start": 754, - "end": 755, + "start": 835, + "end": 836, "loc": { "start": { - "line": 25, - "column": 6 + "line": 27, + "column": 38 }, "end": { - "line": 25, - "column": 7 + "line": 27, + "column": 39 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "debug", - "start": 755, - "end": 760, + "value": "if", + "start": 840, + "end": 842, "loc": { "start": { - "line": 25, - "column": 7 + "line": 29, + "column": 2 }, "end": { - "line": 25, - "column": 12 + "line": 29, + "column": 4 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 761, - "end": 762, + "start": 843, + "end": 844, "loc": { "start": { - "line": 25, - "column": 13 + "line": 29, + "column": 5 }, "end": { - "line": 25, - "column": 14 + "line": 29, + "column": 6 } } }, @@ -6360,51 +7059,49 @@ "postfix": false, "binop": null }, - "value": "debug", - "start": 763, - "end": 768, + "value": "build", + "start": 844, + "end": 849, "loc": { "start": { - "line": 25, - "column": 15 + "line": 29, + "column": 6 }, "end": { - "line": 25, - "column": 20 + "line": 29, + "column": 11 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 769, - "end": 771, + "start": 849, + "end": 850, "loc": { "start": { - "line": 25, - "column": 21 + "line": 29, + "column": 11 }, "end": { - "line": 25, - "column": 23 + "line": 29, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6413,25 +7110,25 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 772, - "end": 778, + "start": 851, + "end": 852, "loc": { "start": { - "line": 25, - "column": 24 + "line": 29, + "column": 13 }, "end": { - "line": 25, - "column": 30 + "line": 29, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "yield", + "keyword": "yield", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6440,103 +7137,103 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "value": "yield", + "start": 857, + "end": 862, "loc": { "start": { - "line": 25, - "column": 30 + "line": 30, + "column": 4 }, "end": { - "line": 25, - "column": 31 + "line": 30, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "debug", - "start": 779, - "end": 784, + "value": "new", + "start": 863, + "end": 866, "loc": { "start": { - "line": 25, - "column": 31 + "line": 30, + "column": 10 }, "end": { - "line": 25, - "column": 36 + "line": 30, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 784, - "end": 785, + "value": "Builder", + "start": 867, + "end": 874, "loc": { "start": { - "line": 25, - "column": 36 + "line": 30, + "column": 14 }, "end": { - "line": 25, - "column": 37 + "line": 30, + "column": 21 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 786, - "end": 788, + "start": 874, + "end": 875, "loc": { "start": { - "line": 26, - "column": 0 + "line": 30, + "column": 21 }, "end": { - "line": 26, - "column": 2 + "line": 30, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6545,50 +7242,51 @@ "postfix": false, "binop": null }, - "start": 789, - "end": 790, + "value": "config", + "start": 875, + "end": 881, "loc": { "start": { - "line": 26, - "column": 3 + "line": 30, + "column": 22 }, "end": { - "line": 26, - "column": 4 + "line": 30, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "build", - "start": 790, - "end": 795, + "start": 881, + "end": 882, "loc": { "start": { - "line": 26, - "column": 4 + "line": 30, + "column": 28 }, "end": { - "line": 26, - "column": 9 + "line": 30, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6596,24 +7294,25 @@ "postfix": false, "binop": null }, - "start": 795, - "end": 796, + "value": "iterator", + "start": 883, + "end": 891, "loc": { "start": { - "line": 26, - "column": 9 + "line": 30, + "column": 30 }, "end": { - "line": 26, - "column": 10 + "line": 30, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6621,24 +7320,23 @@ "postfix": false, "binop": null }, - "start": 797, - "end": 798, + "start": 891, + "end": 892, "loc": { "start": { - "line": 26, - "column": 11 + "line": 30, + "column": 38 }, "end": { - "line": 26, - "column": 12 + "line": 30, + "column": 39 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6648,25 +7346,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 801, - "end": 806, + "start": 892, + "end": 893, "loc": { "start": { - "line": 27, - "column": 2 + "line": 30, + "column": 39 }, "end": { - "line": 27, - "column": 7 + "line": 30, + "column": 40 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6674,51 +7371,50 @@ "postfix": false, "binop": null }, - "value": "builder", - "start": 807, - "end": 814, + "start": 896, + "end": 897, "loc": { "start": { - "line": 27, - "column": 8 + "line": 31, + "column": 2 }, "end": { - "line": 27, - "column": 15 + "line": 31, + "column": 3 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 815, - "end": 816, + "value": "if", + "start": 900, + "end": 902, "loc": { "start": { - "line": 27, - "column": 16 + "line": 32, + "column": 2 }, "end": { - "line": 27, - "column": 17 + "line": 32, + "column": 4 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -6726,20 +7422,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 817, - "end": 820, + "start": 903, + "end": 904, "loc": { "start": { - "line": 27, - "column": 18 + "line": 32, + "column": 5 }, "end": { - "line": 27, - "column": 21 + "line": 32, + "column": 6 } } }, @@ -6755,25 +7449,25 @@ "postfix": false, "binop": null }, - "value": "Builder", - "start": 821, - "end": 828, + "value": "copy", + "start": 904, + "end": 908, "loc": { "start": { - "line": 27, - "column": 22 + "line": 32, + "column": 6 }, "end": { - "line": 27, - "column": 29 + "line": 32, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6781,23 +7475,23 @@ "postfix": false, "binop": null }, - "start": 828, - "end": 829, + "start": 908, + "end": 909, "loc": { "start": { - "line": 27, - "column": 29 + "line": 32, + "column": 10 }, "end": { - "line": 27, - "column": 30 + "line": 32, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6806,25 +7500,24 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 829, - "end": 835, + "start": 910, + "end": 911, "loc": { "start": { - "line": 27, - "column": 30 + "line": 32, + "column": 12 }, "end": { - "line": 27, - "column": 36 + "line": 32, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6832,23 +7525,24 @@ "postfix": false, "binop": null }, - "start": 835, - "end": 836, + "value": "utils", + "start": 916, + "end": 921, "loc": { "start": { - "line": 27, - "column": 36 + "line": 33, + "column": 4 }, "end": { - "line": 27, - "column": 37 + "line": 33, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6858,16 +7552,16 @@ "binop": null, "updateContext": null }, - "start": 836, - "end": 837, + "start": 921, + "end": 922, "loc": { "start": { - "line": 27, - "column": 37 + "line": 33, + "column": 9 }, "end": { - "line": 27, - "column": 38 + "line": 33, + "column": 10 } } }, @@ -6883,43 +7577,42 @@ "postfix": false, "binop": null }, - "value": "builder", - "start": 840, - "end": 847, + "value": "copySources", + "start": 922, + "end": 933, "loc": { "start": { - "line": 28, - "column": 2 + "line": 33, + "column": 10 }, "end": { - "line": 28, - "column": 9 + "line": 33, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 847, - "end": 848, + "start": 933, + "end": 934, "loc": { "start": { - "line": 28, - "column": 9 + "line": 33, + "column": 21 }, "end": { - "line": 28, - "column": 10 + "line": 33, + "column": 22 } } }, @@ -6935,42 +7628,43 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 848, - "end": 853, + "value": "config", + "start": 934, + "end": 940, "loc": { "start": { - "line": 28, - "column": 10 + "line": 33, + "column": 22 }, "end": { - "line": 28, - "column": 15 + "line": 33, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 853, - "end": 854, + "start": 940, + "end": 941, "loc": { "start": { - "line": 28, - "column": 15 + "line": 33, + "column": 28 }, "end": { - "line": 28, - "column": 16 + "line": 33, + "column": 29 } } }, @@ -6986,17 +7680,17 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 854, - "end": 860, + "value": "sources", + "start": 941, + "end": 948, "loc": { "start": { - "line": 28, - "column": 16 + "line": 33, + "column": 29 }, "end": { - "line": 28, - "column": 22 + "line": 33, + "column": 36 } } }, @@ -7012,16 +7706,16 @@ "postfix": false, "binop": null }, - "start": 860, - "end": 861, + "start": 948, + "end": 949, "loc": { "start": { - "line": 28, - "column": 22 + "line": 33, + "column": 36 }, "end": { - "line": 28, - "column": 23 + "line": 33, + "column": 37 } } }, @@ -7038,16 +7732,16 @@ "binop": null, "updateContext": null }, - "start": 861, - "end": 862, + "start": 949, + "end": 950, "loc": { "start": { - "line": 28, - "column": 23 + "line": 33, + "column": 37 }, "end": { - "line": 28, - "column": 24 + "line": 33, + "column": 38 } } }, @@ -7063,16 +7757,16 @@ "postfix": false, "binop": null }, - "start": 863, - "end": 864, + "start": 953, + "end": 954, "loc": { "start": { - "line": 29, - "column": 0 + "line": 34, + "column": 2 }, "end": { - "line": 29, - "column": 1 + "line": 34, + "column": 3 } } }, @@ -7091,16 +7785,16 @@ "updateContext": null }, "value": "if", - "start": 865, - "end": 867, + "start": 957, + "end": 959, "loc": { "start": { - "line": 30, - "column": 0 + "line": 35, + "column": 2 }, "end": { - "line": 30, - "column": 2 + "line": 35, + "column": 4 } } }, @@ -7116,16 +7810,16 @@ "postfix": false, "binop": null }, - "start": 868, - "end": 869, + "start": 960, + "end": 961, "loc": { "start": { - "line": 30, - "column": 3 + "line": 35, + "column": 5 }, "end": { - "line": 30, - "column": 4 + "line": 35, + "column": 6 } } }, @@ -7141,17 +7835,17 @@ "postfix": false, "binop": null }, - "value": "copy", - "start": 869, - "end": 873, + "value": "serve", + "start": 961, + "end": 966, "loc": { "start": { - "line": 30, - "column": 4 + "line": 35, + "column": 6 }, "end": { - "line": 30, - "column": 8 + "line": 35, + "column": 11 } } }, @@ -7167,16 +7861,16 @@ "postfix": false, "binop": null }, - "start": 873, - "end": 874, + "start": 966, + "end": 967, "loc": { "start": { - "line": 30, - "column": 8 + "line": 35, + "column": 11 }, "end": { - "line": 30, - "column": 9 + "line": 35, + "column": 12 } } }, @@ -7192,48 +7886,23 @@ "postfix": false, "binop": null }, - "start": 875, - "end": 876, - "loc": { - "start": { - "line": 30, - "column": 10 - }, - "end": { - "line": 30, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "utils", - "start": 879, - "end": 884, + "start": 968, + "end": 969, "loc": { "start": { - "line": 31, - "column": 2 + "line": 35, + "column": 13 }, "end": { - "line": 31, - "column": 7 + "line": 35, + "column": 14 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7244,16 +7913,17 @@ "binop": null, "updateContext": null }, - "start": 884, - "end": 885, + "value": "const", + "start": 974, + "end": 979, "loc": { "start": { - "line": 31, - "column": 7 + "line": 36, + "column": 4 }, "end": { - "line": 31, - "column": 8 + "line": 36, + "column": 9 } } }, @@ -7269,101 +7939,105 @@ "postfix": false, "binop": null }, - "value": "copySources", - "start": 885, - "end": 896, + "value": "server", + "start": 980, + "end": 986, "loc": { "start": { - "line": 31, - "column": 8 + "line": 36, + "column": 10 }, "end": { - "line": 31, - "column": 19 + "line": 36, + "column": 16 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 896, - "end": 897, + "value": "=", + "start": 987, + "end": 988, "loc": { "start": { - "line": 31, - "column": 19 + "line": 36, + "column": 17 }, "end": { - "line": 31, - "column": 20 + "line": 36, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 897, - "end": 903, + "value": "new", + "start": 989, + "end": 992, "loc": { "start": { - "line": 31, - "column": 20 + "line": 36, + "column": 19 }, "end": { - "line": 31, - "column": 26 + "line": 36, + "column": 22 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 903, - "end": 904, + "value": "Server", + "start": 993, + "end": 999, "loc": { "start": { - "line": 31, - "column": 26 + "line": 36, + "column": 23 }, "end": { - "line": 31, - "column": 27 + "line": 36, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7372,17 +8046,16 @@ "postfix": false, "binop": null }, - "value": "sources", - "start": 904, - "end": 911, + "start": 999, + "end": 1000, "loc": { "start": { - "line": 31, - "column": 27 + "line": 36, + "column": 29 }, "end": { - "line": 31, - "column": 34 + "line": 36, + "column": 30 } } }, @@ -7398,16 +8071,16 @@ "postfix": false, "binop": null }, - "start": 911, - "end": 912, + "start": 1000, + "end": 1001, "loc": { "start": { - "line": 31, - "column": 34 + "line": 36, + "column": 30 }, "end": { - "line": 31, - "column": 35 + "line": 36, + "column": 31 } } }, @@ -7424,24 +8097,24 @@ "binop": null, "updateContext": null }, - "start": 912, - "end": 913, + "start": 1001, + "end": 1002, "loc": { "start": { - "line": 31, - "column": 35 + "line": 36, + "column": 31 }, "end": { - "line": 31, - "column": 36 + "line": 36, + "column": 32 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7449,23 +8122,23 @@ "postfix": false, "binop": null }, - "start": 914, - "end": 915, + "value": "server", + "start": 1007, + "end": 1013, "loc": { "start": { - "line": 32, - "column": 0 + "line": 37, + "column": 4 }, "end": { - "line": 32, - "column": 1 + "line": 37, + "column": 10 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7474,44 +8147,18 @@ "prefix": false, "postfix": false, "binop": null, - "updateContext": null - }, - "value": "if", - "start": 916, - "end": 918, - "loc": { - "start": { - "line": 33, - "column": 0 - }, - "end": { - "line": 33, - "column": 2 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "updateContext": null }, - "start": 919, - "end": 920, + "start": 1013, + "end": 1014, "loc": { "start": { - "line": 33, - "column": 3 + "line": 37, + "column": 10 }, "end": { - "line": 33, - "column": 4 + "line": 37, + "column": 11 } } }, @@ -7528,24 +8175,24 @@ "binop": null }, "value": "serve", - "start": 920, - "end": 925, + "start": 1014, + "end": 1019, "loc": { "start": { - "line": 33, - "column": 4 + "line": 37, + "column": 11 }, "end": { - "line": 33, - "column": 9 + "line": 37, + "column": 16 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7553,23 +8200,23 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 926, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 33, - "column": 9 + "line": 37, + "column": 16 }, "end": { - "line": 33, - "column": 10 + "line": 37, + "column": 17 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7578,23 +8225,23 @@ "postfix": false, "binop": null }, - "start": 927, - "end": 928, + "value": "config", + "start": 1020, + "end": 1026, "loc": { "start": { - "line": 33, - "column": 11 + "line": 37, + "column": 17 }, "end": { - "line": 33, - "column": 12 + "line": 37, + "column": 23 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7605,17 +8252,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 931, - "end": 936, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 34, - "column": 2 + "line": 37, + "column": 23 }, "end": { - "line": 34, - "column": 7 + "line": 37, + "column": 24 } } }, @@ -7632,52 +8278,49 @@ "binop": null }, "value": "server", - "start": 937, - "end": 943, + "start": 1027, + "end": 1033, "loc": { "start": { - "line": 34, - "column": 8 + "line": 37, + "column": 24 }, "end": { - "line": 34, - "column": 14 + "line": 37, + "column": 30 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 944, - "end": 945, + "start": 1033, + "end": 1034, "loc": { "start": { - "line": 34, - "column": 15 + "line": 37, + "column": 30 }, "end": { - "line": 34, - "column": 16 + "line": 37, + "column": 31 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7686,25 +8329,24 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 946, - "end": 949, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 34, - "column": 17 + "line": 37, + "column": 31 }, "end": { - "line": 34, - "column": 20 + "line": 37, + "column": 32 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7712,25 +8354,24 @@ "postfix": false, "binop": null }, - "value": "Server", - "start": 950, - "end": 956, + "start": 1038, + "end": 1039, "loc": { "start": { - "line": 34, - "column": 21 + "line": 38, + "column": 2 }, "end": { - "line": 34, - "column": 27 + "line": 38, + "column": 3 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7738,24 +8379,24 @@ "postfix": false, "binop": null }, - "start": 956, - "end": 957, + "start": 1040, + "end": 1041, "loc": { "start": { - "line": 34, - "column": 27 + "line": 39, + "column": 0 }, "end": { - "line": 34, - "column": 28 + "line": 39, + "column": 1 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7763,42 +8404,44 @@ "postfix": false, "binop": null }, - "start": 957, - "end": 958, + "value": "iterator", + "start": 1043, + "end": 1051, "loc": { "start": { - "line": 34, - "column": 28 + "line": 41, + "column": 0 }, "end": { - "line": 34, - "column": 29 + "line": 41, + "column": 8 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 958, - "end": 959, + "value": "=", + "start": 1052, + "end": 1053, "loc": { "start": { - "line": 34, - "column": 29 + "line": 41, + "column": 9 }, "end": { - "line": 34, - "column": 30 + "line": 41, + "column": 10 } } }, @@ -7814,51 +8457,50 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 962, - "end": 968, + "value": "run", + "start": 1054, + "end": 1057, "loc": { "start": { - "line": 35, - "column": 2 + "line": 41, + "column": 11 }, "end": { - "line": 35, - "column": 8 + "line": 41, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 968, - "end": 969, + "start": 1057, + "end": 1058, "loc": { "start": { - "line": 35, - "column": 8 + "line": 41, + "column": 14 }, "end": { - "line": 35, - "column": 9 + "line": 41, + "column": 15 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7866,42 +8508,42 @@ "postfix": false, "binop": null }, - "value": "serve", - "start": 969, - "end": 974, + "start": 1058, + "end": 1059, "loc": { "start": { - "line": 35, - "column": 9 + "line": 41, + "column": 15 }, "end": { - "line": 35, - "column": 14 + "line": 41, + "column": 16 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 974, - "end": 975, + "start": 1059, + "end": 1060, "loc": { "start": { - "line": 35, - "column": 14 + "line": 41, + "column": 16 }, "end": { - "line": 35, - "column": 15 + "line": 41, + "column": 17 } } }, @@ -7917,17 +8559,17 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 975, - "end": 981, + "value": "iterator", + "start": 1061, + "end": 1069, "loc": { "start": { - "line": 35, - "column": 15 + "line": 42, + "column": 0 }, "end": { - "line": 35, - "column": 21 + "line": 42, + "column": 8 } } }, @@ -7944,16 +8586,16 @@ "binop": null, "updateContext": null }, - "start": 981, - "end": 982, + "start": 1069, + "end": 1070, "loc": { "start": { - "line": 35, - "column": 21 + "line": 42, + "column": 8 }, "end": { - "line": 35, - "column": 22 + "line": 42, + "column": 9 } } }, @@ -7969,25 +8611,25 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 982, - "end": 988, + "value": "next", + "start": 1070, + "end": 1074, "loc": { "start": { - "line": 35, - "column": 22 + "line": 42, + "column": 9 }, "end": { - "line": 35, - "column": 28 + "line": 42, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7995,67 +8637,67 @@ "postfix": false, "binop": null }, - "start": 988, - "end": 989, + "start": 1074, + "end": 1075, "loc": { "start": { - "line": 35, - "column": 28 + "line": 42, + "column": 13 }, "end": { - "line": 35, - "column": 29 + "line": 42, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 989, - "end": 990, + "start": 1075, + "end": 1076, "loc": { "start": { - "line": 35, - "column": 29 + "line": 42, + "column": 14 }, "end": { - "line": 35, - "column": 30 + "line": 42, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 991, - "end": 992, + "start": 1076, + "end": 1077, "loc": { "start": { - "line": 36, - "column": 0 + "line": 42, + "column": 15 }, "end": { - "line": 36, - "column": 1 + "line": 42, + "column": 16 } } }, @@ -8072,15 +8714,15 @@ "binop": null, "updateContext": null }, - "start": 993, - "end": 993, + "start": 1078, + "end": 1078, "loc": { "start": { - "line": 37, + "line": 43, "column": 0 }, "end": { - "line": 37, + "line": 43, "column": 0 } } diff --git a/docs/ast/source/server.js.json b/docs/ast/source/server.js.json index be023a6..e67b784 100644 --- a/docs/ast/source/server.js.json +++ b/docs/ast/source/server.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 3776, + "end": 4047, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 117, + "line": 126, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 3776, + "end": 4047, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 117, + "line": 126, "column": 0 } }, @@ -1116,28 +1116,28 @@ { "type": "ExportDefaultDeclaration", "start": 428, - "end": 3775, + "end": 4046, "loc": { "start": { "line": 27, "column": 0 }, "end": { - "line": 116, + "line": 125, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 443, - "end": 3775, + "end": 4046, "loc": { "start": { "line": 27, "column": 15 }, "end": { - "line": 116, + "line": 125, "column": 1 } }, @@ -1162,37 +1162,37 @@ "body": { "type": "ClassBody", "start": 456, - "end": 3775, + "end": 4046, "loc": { "start": { "line": 27, "column": 28 }, "end": { - "line": 116, + "line": 125, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 976, - "end": 3202, + "start": 1078, + "end": 3201, "loc": { "start": { "line": 39, "column": 2 }, "end": { - "line": 98, + "line": 101, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 976, - "end": 981, + "start": 1078, + "end": 1083, "loc": { "start": { "line": 39, @@ -1215,719 +1215,763 @@ "async": false, "params": [ { - "type": "Identifier", - "start": 982, - "end": 988, + "type": "AssignmentPattern", + "start": 1084, + "end": 1274, "loc": { "start": { "line": 39, "column": 8 }, "end": { - "line": 39, - "column": 14 - }, - "identifierName": "server" + "line": 46, + "column": 16 + } }, - "name": "server" - } - ], - "body": { - "type": "BlockStatement", - "start": 990, - "end": 3202, - "loc": { - "start": { - "line": 39, - "column": 16 + "left": { + "type": "Identifier", + "start": 1084, + "end": 1090, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 39, + "column": 14 + }, + "identifierName": "server" + }, + "name": "server" }, - "end": { - "line": 98, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 996, - "end": 3198, + "right": { + "type": "ObjectExpression", + "start": 1093, + "end": 1274, "loc": { "start": { - "line": 40, - "column": 4 + "line": 39, + "column": 17 }, "end": { - "line": 97, - "column": 5 + "line": 46, + "column": 16 } }, - "test": { - "type": "Identifier", - "start": 1000, - "end": 1006, - "loc": { - "start": { - "line": 40, - "column": 8 + "properties": [ + { + "type": "ObjectProperty", + "start": 1099, + "end": 1109, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 14 + } }, - "end": { - "line": 40, - "column": 14 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1099, + "end": 1104, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 9 + }, + "identifierName": "entry" + }, + "name": "entry" }, - "identifierName": "server" + "value": { + "type": "StringLiteral", + "start": 1106, + "end": 1109, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 14 + } + }, + "extra": { + "rawValue": "/", + "raw": "'/'" + }, + "value": "/" + } }, - "name": "server" - }, - "consequent": { - "type": "BlockStatement", - "start": 1008, - "end": 3034, - "loc": { - "start": { - "line": 40, - "column": 16 + { + "type": "ObjectProperty", + "start": 1115, + "end": 1127, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 16 + } }, - "end": { - "line": 95, - "column": 5 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1115, + "end": 1119, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + }, + "identifierName": "demo" + }, + "name": "demo" + }, + "value": { + "type": "StringLiteral", + "start": 1121, + "end": 1127, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 16 + } + }, + "extra": { + "rawValue": "demo", + "raw": "'demo'" + }, + "value": "demo" } }, - "body": [ - { - "type": "IfStatement", - "start": 1016, - "end": 1331, + { + "type": "ObjectProperty", + "start": 1133, + "end": 1145, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 16 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1133, + "end": 1137, "loc": { "start": { - "line": 41, - "column": 6 + "line": 42, + "column": 4 }, "end": { - "line": 45, - "column": 7 + "line": 42, + "column": 8 + }, + "identifierName": "docs" + }, + "name": "docs" + }, + "value": { + "type": "StringLiteral", + "start": 1139, + "end": 1145, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 16 } }, - "test": { - "type": "MemberExpression", - "start": 1020, - "end": 1042, - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 32 - } + "extra": { + "rawValue": "docs", + "raw": "'docs'" + }, + "value": "docs" + } + }, + { + "type": "ObjectProperty", + "start": 1151, + "end": 1184, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1151, + "end": 1154, + "loc": { + "start": { + "line": 43, + "column": 4 }, - "object": { - "type": "Identifier", - "start": 1020, - "end": 1026, - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 16 - }, - "identifierName": "server" - }, - "name": "server" + "end": { + "line": 43, + "column": 7 }, - "property": { - "type": "Identifier", - "start": 1027, - "end": 1042, + "identifierName": "use" + }, + "name": "use" + }, + "value": { + "type": "ArrayExpression", + "start": 1156, + "end": 1184, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 37 + } + }, + "elements": [ + { + "type": "ObjectExpression", + "start": 1157, + "end": 1183, "loc": { "start": { - "line": 41, - "column": 17 + "line": 43, + "column": 10 }, "end": { - "line": 41, - "column": 32 - }, - "identifierName": "elementLocation" - }, - "name": "elementLocation" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 1044, - "end": 1331, - "loc": { - "start": { - "line": 41, - "column": 34 + "line": 43, + "column": 36 + } }, - "end": { - "line": 45, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1054, - "end": 1199, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 153 - } - }, - "expression": { - "type": "CallExpression", - "start": 1054, - "end": 1198, + "properties": [ + { + "type": "ObjectProperty", + "start": 1158, + "end": 1168, "loc": { "start": { - "line": 42, - "column": 8 + "line": 43, + "column": 11 }, "end": { - "line": 42, - "column": 152 + "line": 43, + "column": 21 } }, - "callee": { - "type": "MemberExpression", - "start": 1054, - "end": 1065, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1158, + "end": 1162, "loc": { "start": { - "line": 42, - "column": 8 + "line": 43, + "column": 11 }, "end": { - "line": 42, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 1054, - "end": 1060, - "loc": { - "start": { - "line": 42, - "column": 8 - }, - "end": { - "line": 42, - "column": 14 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "property": { - "type": "Identifier", - "start": 1061, - "end": 1065, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 19 - }, - "identifierName": "warn" + "line": 43, + "column": 15 }, - "name": "warn" + "identifierName": "path" }, - "computed": false + "name": "path" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1066, - "end": 1197, - "loc": { - "start": { - "line": 42, - "column": 20 - }, - "end": { - "line": 42, - "column": 151 - } - }, - "extra": { - "rawValue": "Deprecated::server.elementLocation, support ends @0.2.0 [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more", - "raw": "'Deprecated::server.elementLocation, support ends @0.2.0 [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'" + "value": { + "type": "NullLiteral", + "start": 1164, + "end": 1168, + "loc": { + "start": { + "line": 43, + "column": 17 }, - "value": "Deprecated::server.elementLocation, support ends @0.2.0 [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more" + "end": { + "line": 43, + "column": 21 + } } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 1208, - "end": 1323, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 44, - "column": 61 } }, - "expression": { - "type": "CallExpression", - "start": 1208, - "end": 1322, + { + "type": "ObjectProperty", + "start": 1170, + "end": 1182, "loc": { "start": { "line": 43, - "column": 8 + "column": 23 }, "end": { - "line": 44, - "column": 60 + "line": 43, + "column": 35 } }, - "callee": { - "type": "MemberExpression", - "start": 1208, - "end": 1215, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1170, + "end": 1176, "loc": { "start": { "line": 43, - "column": 8 + "column": 23 }, "end": { "line": 43, - "column": 15 - } - }, - "object": { - "type": "Identifier", - "start": 1208, - "end": 1211, - "loc": { - "start": { - "line": 43, - "column": 8 - }, - "end": { - "line": 43, - "column": 11 - }, - "identifierName": "app" - }, - "name": "app" - }, - "property": { - "type": "Identifier", - "start": 1212, - "end": 1215, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 43, - "column": 15 - }, - "identifierName": "use" + "column": 29 }, - "name": "use" + "identifierName": "static" }, - "computed": false + "name": "static" }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 1216, - "end": 1244, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 44 - } - }, - "expressions": [ - { - "type": "MemberExpression", - "start": 1220, - "end": 1242, - "loc": { - "start": { - "line": 43, - "column": 20 - }, - "end": { - "line": 43, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 1220, - "end": 1226, - "loc": { - "start": { - "line": 43, - "column": 20 - }, - "end": { - "line": 43, - "column": 26 - }, - "identifierName": "server" - }, - "name": "server" - }, - "property": { - "type": "Identifier", - "start": 1227, - "end": 1242, - "loc": { - "start": { - "line": 43, - "column": 27 - }, - "end": { - "line": 43, - "column": 42 - }, - "identifierName": "elementLocation" - }, - "name": "elementLocation" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1217, - "end": 1218, - "loc": { - "start": { - "line": 43, - "column": 17 - }, - "end": { - "line": 43, - "column": 18 - } - }, - "value": { - "raw": "/", - "cooked": "/" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1243, - "end": 1243, - "loc": { - "start": { - "line": 43, - "column": 43 - }, - "end": { - "line": 43, - "column": 43 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - }, - { - "type": "CallExpression", - "start": 1246, - "end": 1321, - "loc": { - "start": { - "line": 43, - "column": 46 - }, - "end": { - "line": 44, - "column": 59 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1246, - "end": 1260, - "loc": { - "start": { - "line": 43, - "column": 46 - }, - "end": { - "line": 43, - "column": 60 - } - }, - "object": { - "type": "Identifier", - "start": 1246, - "end": 1253, - "loc": { - "start": { - "line": 43, - "column": 46 - }, - "end": { - "line": 43, - "column": 53 - }, - "identifierName": "express" - }, - "name": "express" - }, - "property": { - "type": "Identifier", - "start": 1254, - "end": 1260, - "loc": { - "start": { - "line": 43, - "column": 54 - }, - "end": { - "line": 43, - "column": 60 - }, - "identifierName": "static" - }, - "name": "static" - }, - "computed": false + "value": { + "type": "NullLiteral", + "start": 1178, + "end": 1182, + "loc": { + "start": { + "line": 43, + "column": 31 }, - "arguments": [ - { - "type": "CallExpression", - "start": 1272, - "end": 1320, - "loc": { - "start": { - "line": 44, - "column": 10 - }, - "end": { - "line": 44, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1272, - "end": 1288, - "loc": { - "start": { - "line": 44, - "column": 10 - }, - "end": { - "line": 44, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 1272, - "end": 1276, - "loc": { - "start": { - "line": 44, - "column": 10 - }, - "end": { - "line": 44, - "column": 14 - } - } - }, - "property": { - "type": "Identifier", - "start": 1277, - "end": 1288, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 26 - }, - "identifierName": "appLocation" - }, - "name": "appLocation" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1289, - "end": 1300, - "loc": { - "start": { - "line": 44, - "column": 27 - }, - "end": { - "line": 44, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 1289, - "end": 1295, - "loc": { - "start": { - "line": 44, - "column": 27 - }, - "end": { - "line": 44, - "column": 33 - }, - "identifierName": "server" - }, - "name": "server" - }, - "property": { - "type": "Identifier", - "start": 1296, - "end": 1300, - "loc": { - "start": { - "line": 44, - "column": 34 - }, - "end": { - "line": 44, - "column": 38 - }, - "identifierName": "path" - }, - "name": "path" - }, - "computed": false - }, - { - "type": "StringLiteral", - "start": 1302, - "end": 1319, - "loc": { - "start": { - "line": 44, - "column": 40 - }, - "end": { - "line": 44, - "column": 57 - } - }, - "extra": { - "rawValue": "some-element.js", - "raw": "'some-element.js'" - }, - "value": "some-element.js" - } - ] - } - ] + "end": { + "line": 43, + "column": 35 + } } - ] + } } - } - ], - "directives": [] + ] + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 1190, + "end": 1219, + "loc": { + "start": { + "line": 44, + "column": 4 }, - "alternate": null + "end": { + "line": 44, + "column": 33 + } }, - { - "type": "IfStatement", - "start": 1338, - "end": 1498, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1190, + "end": 1199, "loc": { "start": { - "line": 46, - "column": 6 + "line": 44, + "column": 4 }, "end": { - "line": 50, - "column": 7 - } + "line": 44, + "column": 13 + }, + "identifierName": "bowerPath" }, - "test": { - "type": "MemberExpression", - "start": 1342, - "end": 1352, - "loc": { - "start": { - "line": 46, - "column": 10 - }, - "end": { - "line": 46, - "column": 20 - } + "name": "bowerPath" + }, + "value": { + "type": "StringLiteral", + "start": 1201, + "end": 1219, + "loc": { + "start": { + "line": 44, + "column": 15 }, - "object": { - "type": "Identifier", - "start": 1342, - "end": 1348, - "loc": { - "start": { - "line": 46, - "column": 10 - }, - "end": { - "line": 46, - "column": 16 - }, - "identifierName": "server" + "end": { + "line": 44, + "column": 33 + } + }, + "extra": { + "rawValue": "bower_components", + "raw": "'bower_components'" + }, + "value": "bower_components" + } + }, + { + "type": "ObjectProperty", + "start": 1225, + "end": 1256, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 35 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1225, + "end": 1240, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 19 + }, + "identifierName": "nodeModulesPath" + }, + "name": "nodeModulesPath" + }, + "value": { + "type": "StringLiteral", + "start": 1242, + "end": 1256, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 35 + } + }, + "extra": { + "rawValue": "node_modules", + "raw": "'node_modules'" + }, + "value": "node_modules" + } + }, + { + "type": "ObjectProperty", + "start": 1262, + "end": 1273, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 15 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1262, + "end": 1267, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 9 + }, + "identifierName": "index" + }, + "name": "index" + }, + "value": { + "type": "NullLiteral", + "start": 1269, + "end": 1273, + "loc": { + "start": { + "line": 46, + "column": 11 + }, + "end": { + "line": 46, + "column": 15 + } + } + } + } + ] + } + } + ], + "body": { + "type": "BlockStatement", + "start": 1276, + "end": 3201, + "loc": { + "start": { + "line": 46, + "column": 18 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1282, + "end": 3197, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 100, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 1286, + "end": 1292, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 14 + }, + "identifierName": "server" + }, + "name": "server" + }, + "consequent": { + "type": "BlockStatement", + "start": 1294, + "end": 3011, + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 98, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1302, + "end": 1332, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 48, + "column": 36 + } + }, + "expression": { + "type": "CallExpression", + "start": 1302, + "end": 1331, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 48, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1302, + "end": 1323, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 48, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 1302, + "end": 1306, + "loc": { + "start": { + "line": 48, + "column": 6 + }, + "end": { + "line": 48, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 1307, + "end": 1323, + "loc": { + "start": { + "line": 48, + "column": 11 + }, + "end": { + "line": 48, + "column": 27 + }, + "identifierName": "handleOldOptions" + }, + "name": "handleOldOptions" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1324, + "end": 1330, + "loc": { + "start": { + "line": 48, + "column": 28 + }, + "end": { + "line": 48, + "column": 34 + }, + "identifierName": "server" + }, + "name": "server" + } + ] + } + }, + { + "type": "IfStatement", + "start": 1339, + "end": 1499, + "loc": { + "start": { + "line": 49, + "column": 6 + }, + "end": { + "line": 53, + "column": 7 + } + }, + "test": { + "type": "MemberExpression", + "start": 1343, + "end": 1353, + "loc": { + "start": { + "line": 49, + "column": 10 + }, + "end": { + "line": 49, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 1343, + "end": 1349, + "loc": { + "start": { + "line": 49, + "column": 10 + }, + "end": { + "line": 49, + "column": 16 + }, + "identifierName": "server" }, "name": "server" }, "property": { "type": "Identifier", - "start": 1349, - "end": 1352, + "start": 1350, + "end": 1353, "loc": { "start": { - "line": 46, + "line": 49, "column": 17 }, "end": { - "line": 46, + "line": 49, "column": 20 }, "identifierName": "use" @@ -1938,73 +1982,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 1354, - "end": 1498, + "start": 1355, + "end": 1499, "loc": { "start": { - "line": 46, + "line": 49, "column": 22 }, "end": { - "line": 50, + "line": 53, "column": 7 } }, "body": [ { "type": "ForOfStatement", - "start": 1364, - "end": 1490, + "start": 1365, + "end": 1491, "loc": { "start": { - "line": 47, + "line": 50, "column": 8 }, "end": { - "line": 49, + "line": 52, "column": 9 } }, "left": { "type": "VariableDeclaration", - "start": 1369, - "end": 1376, + "start": 1370, + "end": 1377, "loc": { "start": { - "line": 47, + "line": 50, "column": 13 }, "end": { - "line": 47, + "line": 50, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1373, - "end": 1376, + "start": 1374, + "end": 1377, "loc": { "start": { - "line": 47, + "line": 50, "column": 17 }, "end": { - "line": 47, + "line": 50, "column": 20 } }, "id": { "type": "Identifier", - "start": 1373, - "end": 1376, + "start": 1374, + "end": 1377, "loc": { "start": { - "line": 47, + "line": 50, "column": 17 }, "end": { - "line": 47, + "line": 50, "column": 20 }, "identifierName": "use" @@ -2018,29 +2062,29 @@ }, "right": { "type": "MemberExpression", - "start": 1380, - "end": 1390, + "start": 1381, + "end": 1391, "loc": { "start": { - "line": 47, + "line": 50, "column": 24 }, "end": { - "line": 47, + "line": 50, "column": 34 } }, "object": { "type": "Identifier", - "start": 1380, - "end": 1386, + "start": 1381, + "end": 1387, "loc": { "start": { - "line": 47, + "line": 50, "column": 24 }, "end": { - "line": 47, + "line": 50, "column": 30 }, "identifierName": "server" @@ -2049,15 +2093,15 @@ }, "property": { "type": "Identifier", - "start": 1387, - "end": 1390, + "start": 1388, + "end": 1391, "loc": { "start": { - "line": 47, + "line": 50, "column": 31 }, "end": { - "line": 47, + "line": 50, "column": 34 }, "identifierName": "use" @@ -2068,72 +2112,72 @@ }, "body": { "type": "BlockStatement", - "start": 1392, - "end": 1490, + "start": 1393, + "end": 1491, "loc": { "start": { - "line": 47, + "line": 50, "column": 36 }, "end": { - "line": 49, + "line": 52, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 1404, - "end": 1480, + "start": 1405, + "end": 1481, "loc": { "start": { - "line": 48, + "line": 51, "column": 10 }, "end": { - "line": 48, + "line": 51, "column": 86 } }, "expression": { "type": "CallExpression", - "start": 1404, - "end": 1479, + "start": 1405, + "end": 1480, "loc": { "start": { - "line": 48, + "line": 51, "column": 10 }, "end": { - "line": 48, + "line": 51, "column": 85 } }, "callee": { "type": "MemberExpression", - "start": 1404, - "end": 1411, + "start": 1405, + "end": 1412, "loc": { "start": { - "line": 48, + "line": 51, "column": 10 }, "end": { - "line": 48, + "line": 51, "column": 17 } }, "object": { "type": "Identifier", - "start": 1404, - "end": 1407, + "start": 1405, + "end": 1408, "loc": { "start": { - "line": 48, + "line": 51, "column": 10 }, "end": { - "line": 48, + "line": 51, "column": 13 }, "identifierName": "app" @@ -2142,15 +2186,15 @@ }, "property": { "type": "Identifier", - "start": 1408, - "end": 1411, + "start": 1409, + "end": 1412, "loc": { "start": { - "line": 48, + "line": 51, "column": 14 }, "end": { - "line": 48, + "line": 51, "column": 17 }, "identifierName": "use" @@ -2162,29 +2206,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1412, - "end": 1420, + "start": 1413, + "end": 1421, "loc": { "start": { - "line": 48, + "line": 51, "column": 18 }, "end": { - "line": 48, + "line": 51, "column": 26 } }, "object": { "type": "Identifier", - "start": 1412, - "end": 1415, + "start": 1413, + "end": 1416, "loc": { "start": { - "line": 48, + "line": 51, "column": 18 }, "end": { - "line": 48, + "line": 51, "column": 21 }, "identifierName": "use" @@ -2193,15 +2237,15 @@ }, "property": { "type": "Identifier", - "start": 1416, - "end": 1420, + "start": 1417, + "end": 1421, "loc": { "start": { - "line": 48, + "line": 51, "column": 22 }, "end": { - "line": 48, + "line": 51, "column": 26 }, "identifierName": "path" @@ -2212,43 +2256,43 @@ }, { "type": "CallExpression", - "start": 1422, - "end": 1478, + "start": 1423, + "end": 1479, "loc": { "start": { - "line": 48, + "line": 51, "column": 28 }, "end": { - "line": 48, + "line": 51, "column": 84 } }, "callee": { "type": "MemberExpression", - "start": 1422, - "end": 1436, + "start": 1423, + "end": 1437, "loc": { "start": { - "line": 48, + "line": 51, "column": 28 }, "end": { - "line": 48, + "line": 51, "column": 42 } }, "object": { "type": "Identifier", - "start": 1422, - "end": 1429, + "start": 1423, + "end": 1430, "loc": { "start": { - "line": 48, + "line": 51, "column": 28 }, "end": { - "line": 48, + "line": 51, "column": 35 }, "identifierName": "express" @@ -2257,15 +2301,15 @@ }, "property": { "type": "Identifier", - "start": 1430, - "end": 1436, + "start": 1431, + "end": 1437, "loc": { "start": { - "line": 48, + "line": 51, "column": 36 }, "end": { - "line": 48, + "line": 51, "column": 42 }, "identifierName": "static" @@ -2277,58 +2321,58 @@ "arguments": [ { "type": "CallExpression", - "start": 1437, - "end": 1477, + "start": 1438, + "end": 1478, "loc": { "start": { - "line": 48, + "line": 51, "column": 43 }, "end": { - "line": 48, + "line": 51, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 1437, - "end": 1453, + "start": 1438, + "end": 1454, "loc": { "start": { - "line": 48, + "line": 51, "column": 43 }, "end": { - "line": 48, + "line": 51, "column": 59 } }, "object": { "type": "ThisExpression", - "start": 1437, - "end": 1441, + "start": 1438, + "end": 1442, "loc": { "start": { - "line": 48, + "line": 51, "column": 43 }, "end": { - "line": 48, + "line": 51, "column": 47 } } }, "property": { "type": "Identifier", - "start": 1442, - "end": 1453, + "start": 1443, + "end": 1454, "loc": { "start": { - "line": 48, + "line": 51, "column": 48 }, "end": { - "line": 48, + "line": 51, "column": 59 }, "identifierName": "appLocation" @@ -2340,43 +2384,43 @@ "arguments": [ { "type": "LogicalExpression", - "start": 1454, - "end": 1476, + "start": 1455, + "end": 1477, "loc": { "start": { - "line": 48, + "line": 51, "column": 60 }, "end": { - "line": 48, + "line": 51, "column": 82 } }, "left": { "type": "MemberExpression", - "start": 1454, - "end": 1464, + "start": 1455, + "end": 1465, "loc": { "start": { - "line": 48, + "line": 51, "column": 60 }, "end": { - "line": 48, + "line": 51, "column": 70 } }, "object": { "type": "Identifier", - "start": 1454, - "end": 1457, + "start": 1455, + "end": 1458, "loc": { "start": { - "line": 48, + "line": 51, "column": 60 }, "end": { - "line": 48, + "line": 51, "column": 63 }, "identifierName": "use" @@ -2385,15 +2429,15 @@ }, "property": { "type": "Identifier", - "start": 1458, - "end": 1464, + "start": 1459, + "end": 1465, "loc": { "start": { - "line": 48, + "line": 51, "column": 64 }, "end": { - "line": 48, + "line": 51, "column": 70 }, "identifierName": "static" @@ -2405,29 +2449,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 1468, - "end": 1476, + "start": 1469, + "end": 1477, "loc": { "start": { - "line": 48, + "line": 51, "column": 74 }, "end": { - "line": 48, + "line": 51, "column": 82 } }, "object": { "type": "Identifier", - "start": 1468, - "end": 1471, + "start": 1469, + "end": 1472, "loc": { "start": { - "line": 48, + "line": 51, "column": 74 }, "end": { - "line": 48, + "line": 51, "column": 77 }, "identifierName": "use" @@ -2436,15 +2480,15 @@ }, "property": { "type": "Identifier", - "start": 1472, - "end": 1476, + "start": 1473, + "end": 1477, "loc": { "start": { - "line": 48, + "line": 51, "column": 78 }, "end": { - "line": 48, + "line": 51, "column": 82 }, "identifierName": "path" @@ -2472,57 +2516,57 @@ }, { "type": "ExpressionStatement", - "start": 1505, - "end": 1615, + "start": 1506, + "end": 1616, "loc": { "start": { - "line": 51, + "line": 54, "column": 6 }, "end": { - "line": 52, + "line": 55, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 1505, - "end": 1614, + "start": 1506, + "end": 1615, "loc": { "start": { - "line": 51, + "line": 54, "column": 6 }, "end": { - "line": 52, + "line": 55, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 1505, - "end": 1512, + "start": 1506, + "end": 1513, "loc": { "start": { - "line": 51, + "line": 54, "column": 6 }, "end": { - "line": 51, + "line": 54, "column": 13 } }, "object": { "type": "Identifier", - "start": 1505, - "end": 1508, + "start": 1506, + "end": 1509, "loc": { "start": { - "line": 51, + "line": 54, "column": 6 }, "end": { - "line": 51, + "line": 54, "column": 9 }, "identifierName": "app" @@ -2531,15 +2575,15 @@ }, "property": { "type": "Identifier", - "start": 1509, - "end": 1512, + "start": 1510, + "end": 1513, "loc": { "start": { - "line": 51, + "line": 54, "column": 10 }, "end": { - "line": 51, + "line": 54, "column": 13 }, "identifierName": "use" @@ -2551,15 +2595,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1513, - "end": 1532, + "start": 1514, + "end": 1533, "loc": { "start": { - "line": 51, + "line": 54, "column": 14 }, "end": { - "line": 51, + "line": 54, "column": 33 } }, @@ -2571,43 +2615,43 @@ }, { "type": "CallExpression", - "start": 1534, - "end": 1613, + "start": 1535, + "end": 1614, "loc": { "start": { - "line": 51, + "line": 54, "column": 35 }, "end": { - "line": 52, + "line": 55, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 1534, - "end": 1548, + "start": 1535, + "end": 1549, "loc": { "start": { - "line": 51, + "line": 54, "column": 35 }, "end": { - "line": 51, + "line": 54, "column": 49 } }, "object": { "type": "Identifier", - "start": 1534, - "end": 1541, + "start": 1535, + "end": 1542, "loc": { "start": { - "line": 51, + "line": 54, "column": 35 }, "end": { - "line": 51, + "line": 54, "column": 42 }, "identifierName": "express" @@ -2616,15 +2660,15 @@ }, "property": { "type": "Identifier", - "start": 1542, - "end": 1548, + "start": 1543, + "end": 1549, "loc": { "start": { - "line": 51, + "line": 54, "column": 43 }, "end": { - "line": 51, + "line": 54, "column": 49 }, "identifierName": "static" @@ -2636,58 +2680,58 @@ "arguments": [ { "type": "CallExpression", - "start": 1558, - "end": 1612, + "start": 1559, + "end": 1613, "loc": { "start": { - "line": 52, + "line": 55, "column": 8 }, "end": { - "line": 52, + "line": 55, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 1558, - "end": 1574, + "start": 1559, + "end": 1575, "loc": { "start": { - "line": 52, + "line": 55, "column": 8 }, "end": { - "line": 52, + "line": 55, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 1558, - "end": 1562, + "start": 1559, + "end": 1563, "loc": { "start": { - "line": 52, + "line": 55, "column": 8 }, "end": { - "line": 52, + "line": 55, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1563, - "end": 1574, + "start": 1564, + "end": 1575, "loc": { "start": { - "line": 52, + "line": 55, "column": 13 }, "end": { - "line": 52, + "line": 55, "column": 24 }, "identifierName": "appLocation" @@ -2699,29 +2743,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1575, - "end": 1591, + "start": 1576, + "end": 1592, "loc": { "start": { - "line": 52, + "line": 55, "column": 25 }, "end": { - "line": 52, + "line": 55, "column": 41 } }, "object": { "type": "Identifier", - "start": 1575, - "end": 1581, + "start": 1576, + "end": 1582, "loc": { "start": { - "line": 52, + "line": 55, "column": 25 }, "end": { - "line": 52, + "line": 55, "column": 31 }, "identifierName": "server" @@ -2730,15 +2774,15 @@ }, "property": { "type": "Identifier", - "start": 1582, - "end": 1591, + "start": 1583, + "end": 1592, "loc": { "start": { - "line": 52, + "line": 55, "column": 32 }, "end": { - "line": 52, + "line": 55, "column": 41 }, "identifierName": "bowerPath" @@ -2749,15 +2793,15 @@ }, { "type": "StringLiteral", - "start": 1593, - "end": 1611, + "start": 1594, + "end": 1612, "loc": { "start": { - "line": 52, + "line": 55, "column": 43 }, "end": { - "line": 52, + "line": 55, "column": 61 } }, @@ -2776,57 +2820,57 @@ }, { "type": "ExpressionStatement", - "start": 1623, - "end": 1731, + "start": 1624, + "end": 1732, "loc": { "start": { - "line": 54, + "line": 57, "column": 6 }, "end": { - "line": 55, + "line": 58, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 1623, - "end": 1730, + "start": 1624, + "end": 1731, "loc": { "start": { - "line": 54, + "line": 57, "column": 6 }, "end": { - "line": 55, + "line": 58, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 1623, - "end": 1630, + "start": 1624, + "end": 1631, "loc": { "start": { - "line": 54, + "line": 57, "column": 6 }, "end": { - "line": 54, + "line": 57, "column": 13 } }, "object": { "type": "Identifier", - "start": 1623, - "end": 1626, + "start": 1624, + "end": 1627, "loc": { "start": { - "line": 54, + "line": 57, "column": 6 }, "end": { - "line": 54, + "line": 57, "column": 9 }, "identifierName": "app" @@ -2835,15 +2879,15 @@ }, "property": { "type": "Identifier", - "start": 1627, - "end": 1630, + "start": 1628, + "end": 1631, "loc": { "start": { - "line": 54, + "line": 57, "column": 10 }, "end": { - "line": 54, + "line": 57, "column": 13 }, "identifierName": "use" @@ -2855,15 +2899,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1631, - "end": 1646, + "start": 1632, + "end": 1647, "loc": { "start": { - "line": 54, + "line": 57, "column": 14 }, "end": { - "line": 54, + "line": 57, "column": 29 } }, @@ -2875,43 +2919,43 @@ }, { "type": "CallExpression", - "start": 1648, - "end": 1729, + "start": 1649, + "end": 1730, "loc": { "start": { - "line": 54, + "line": 57, "column": 31 }, "end": { - "line": 55, + "line": 58, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 1648, - "end": 1662, + "start": 1649, + "end": 1663, "loc": { "start": { - "line": 54, + "line": 57, "column": 31 }, "end": { - "line": 54, + "line": 57, "column": 45 } }, "object": { "type": "Identifier", - "start": 1648, - "end": 1655, + "start": 1649, + "end": 1656, "loc": { "start": { - "line": 54, + "line": 57, "column": 31 }, "end": { - "line": 54, + "line": 57, "column": 38 }, "identifierName": "express" @@ -2920,15 +2964,15 @@ }, "property": { "type": "Identifier", - "start": 1656, - "end": 1662, + "start": 1657, + "end": 1663, "loc": { "start": { - "line": 54, + "line": 57, "column": 39 }, "end": { - "line": 54, + "line": 57, "column": 45 }, "identifierName": "static" @@ -2940,58 +2984,58 @@ "arguments": [ { "type": "CallExpression", - "start": 1672, - "end": 1728, + "start": 1673, + "end": 1729, "loc": { "start": { - "line": 55, + "line": 58, "column": 8 }, "end": { - "line": 55, + "line": 58, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 1672, - "end": 1688, + "start": 1673, + "end": 1689, "loc": { "start": { - "line": 55, + "line": 58, "column": 8 }, "end": { - "line": 55, + "line": 58, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 1672, - "end": 1676, + "start": 1673, + "end": 1677, "loc": { "start": { - "line": 55, + "line": 58, "column": 8 }, "end": { - "line": 55, + "line": 58, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1677, - "end": 1688, + "start": 1678, + "end": 1689, "loc": { "start": { - "line": 55, + "line": 58, "column": 13 }, "end": { - "line": 55, + "line": 58, "column": 24 }, "identifierName": "appLocation" @@ -3003,29 +3047,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1689, - "end": 1711, + "start": 1690, + "end": 1712, "loc": { "start": { - "line": 55, + "line": 58, "column": 25 }, "end": { - "line": 55, + "line": 58, "column": 47 } }, "object": { "type": "Identifier", - "start": 1689, - "end": 1695, + "start": 1690, + "end": 1696, "loc": { "start": { - "line": 55, + "line": 58, "column": 25 }, "end": { - "line": 55, + "line": 58, "column": 31 }, "identifierName": "server" @@ -3034,15 +3078,15 @@ }, "property": { "type": "Identifier", - "start": 1696, - "end": 1711, + "start": 1697, + "end": 1712, "loc": { "start": { - "line": 55, + "line": 58, "column": 32 }, "end": { - "line": 55, + "line": 58, "column": 47 }, "identifierName": "nodeModulesPath" @@ -3053,15 +3097,15 @@ }, { "type": "StringLiteral", - "start": 1713, - "end": 1727, + "start": 1714, + "end": 1728, "loc": { "start": { - "line": 55, + "line": 58, "column": 49 }, "end": { - "line": 55, + "line": 58, "column": 63 } }, @@ -3081,15 +3125,15 @@ { "type": "CommentLine", "value": " app.use(`/${server.elementLocation}`, express.static(", - "start": 1739, - "end": 1795, + "start": 1740, + "end": 1796, "loc": { "start": { - "line": 57, + "line": 60, "column": 6 }, "end": { - "line": 57, + "line": 60, "column": 62 } } @@ -3097,15 +3141,15 @@ { "type": "CommentLine", "value": " this.appLocation(server.path, 'some-element.js')));", - "start": 1802, - "end": 1858, + "start": 1803, + "end": 1859, "loc": { "start": { - "line": 58, + "line": 61, "column": 6 }, "end": { - "line": 58, + "line": 61, "column": 62 } } @@ -3114,57 +3158,57 @@ }, { "type": "ExpressionStatement", - "start": 1866, - "end": 1944, + "start": 1867, + "end": 1937, "loc": { "start": { - "line": 60, + "line": 63, "column": 6 }, "end": { - "line": 61, - "column": 49 + "line": 64, + "column": 41 } }, "expression": { "type": "CallExpression", - "start": 1866, - "end": 1943, + "start": 1867, + "end": 1936, "loc": { "start": { - "line": 60, + "line": 63, "column": 6 }, "end": { - "line": 61, - "column": 48 + "line": 64, + "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 1866, - "end": 1873, + "start": 1867, + "end": 1874, "loc": { "start": { - "line": 60, + "line": 63, "column": 6 }, "end": { - "line": 60, + "line": 63, "column": 13 } }, "object": { "type": "Identifier", - "start": 1866, - "end": 1869, + "start": 1867, + "end": 1870, "loc": { "start": { - "line": 60, + "line": 63, "column": 6 }, "end": { - "line": 60, + "line": 63, "column": 9 }, "identifierName": "app" @@ -3174,15 +3218,15 @@ }, "property": { "type": "Identifier", - "start": 1870, - "end": 1873, + "start": 1871, + "end": 1874, "loc": { "start": { - "line": 60, + "line": 63, "column": 10 }, "end": { - "line": 60, + "line": 63, "column": 13 }, "identifierName": "use" @@ -3195,15 +3239,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1874, - "end": 1877, + "start": 1875, + "end": 1878, "loc": { "start": { - "line": 60, + "line": 63, "column": 14 }, "end": { - "line": 60, + "line": 63, "column": 17 } }, @@ -3215,43 +3259,43 @@ }, { "type": "CallExpression", - "start": 1879, - "end": 1942, + "start": 1880, + "end": 1935, "loc": { "start": { - "line": 60, + "line": 63, "column": 19 }, "end": { - "line": 61, - "column": 47 + "line": 64, + "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 1879, - "end": 1893, + "start": 1880, + "end": 1894, "loc": { "start": { - "line": 60, + "line": 63, "column": 19 }, "end": { - "line": 60, + "line": 63, "column": 33 } }, "object": { "type": "Identifier", - "start": 1879, - "end": 1886, + "start": 1880, + "end": 1887, "loc": { "start": { - "line": 60, + "line": 63, "column": 19 }, "end": { - "line": 60, + "line": 63, "column": 26 }, "identifierName": "express" @@ -3260,15 +3304,15 @@ }, "property": { "type": "Identifier", - "start": 1887, - "end": 1893, + "start": 1888, + "end": 1894, "loc": { "start": { - "line": 60, + "line": 63, "column": 27 }, "end": { - "line": 60, + "line": 63, "column": 33 }, "identifierName": "static" @@ -3280,58 +3324,58 @@ "arguments": [ { "type": "CallExpression", - "start": 1903, - "end": 1941, + "start": 1904, + "end": 1934, "loc": { "start": { - "line": 61, + "line": 64, "column": 8 }, "end": { - "line": 61, - "column": 46 + "line": 64, + "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 1903, - "end": 1919, + "start": 1904, + "end": 1920, "loc": { "start": { - "line": 61, + "line": 64, "column": 8 }, "end": { - "line": 61, + "line": 64, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 1903, - "end": 1907, + "start": 1904, + "end": 1908, "loc": { "start": { - "line": 61, + "line": 64, "column": 8 }, "end": { - "line": 61, + "line": 64, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1908, - "end": 1919, + "start": 1909, + "end": 1920, "loc": { "start": { - "line": 61, + "line": 64, "column": 13 }, "end": { - "line": 61, + "line": 64, "column": 24 }, "identifierName": "appLocation" @@ -3343,29 +3387,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1920, - "end": 1932, + "start": 1921, + "end": 1933, "loc": { "start": { - "line": 61, + "line": 64, "column": 25 }, "end": { - "line": 61, + "line": 64, "column": 37 } }, "object": { "type": "Identifier", - "start": 1920, - "end": 1926, + "start": 1921, + "end": 1927, "loc": { "start": { - "line": 61, + "line": 64, "column": 25 }, "end": { - "line": 61, + "line": 64, "column": 31 }, "identifierName": "server" @@ -3374,15 +3418,15 @@ }, "property": { "type": "Identifier", - "start": 1927, - "end": 1932, + "start": 1928, + "end": 1933, "loc": { "start": { - "line": 61, + "line": 64, "column": 32 }, "end": { - "line": 61, + "line": 64, "column": 37 }, "identifierName": "entry" @@ -3390,26 +3434,6 @@ "name": "entry" }, "computed": false - }, - { - "type": "StringLiteral", - "start": 1934, - "end": 1940, - "loc": { - "start": { - "line": 61, - "column": 39 - }, - "end": { - "line": 61, - "column": 45 - } - }, - "extra": { - "rawValue": "dist", - "raw": "'dist'" - }, - "value": "dist" } ] } @@ -3422,15 +3446,15 @@ { "type": "CommentLine", "value": " app.use(`/${server.elementLocation}`, express.static(", - "start": 1739, - "end": 1795, + "start": 1740, + "end": 1796, "loc": { "start": { - "line": 57, + "line": 60, "column": 6 }, "end": { - "line": 57, + "line": 60, "column": 62 } } @@ -3438,15 +3462,15 @@ { "type": "CommentLine", "value": " this.appLocation(server.path, 'some-element.js')));", - "start": 1802, - "end": 1858, + "start": 1803, + "end": 1859, "loc": { "start": { - "line": 58, + "line": 61, "column": 6 }, "end": { - "line": 58, + "line": 61, "column": 62 } } @@ -3455,57 +3479,57 @@ }, { "type": "ExpressionStatement", - "start": 1952, - "end": 2033, + "start": 1945, + "end": 2018, "loc": { "start": { - "line": 63, + "line": 66, "column": 6 }, "end": { - "line": 64, - "column": 48 + "line": 67, + "column": 40 } }, "expression": { "type": "CallExpression", - "start": 1952, - "end": 2032, + "start": 1945, + "end": 2017, "loc": { "start": { - "line": 63, + "line": 66, "column": 6 }, "end": { - "line": 64, - "column": 47 + "line": 67, + "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 1952, - "end": 1959, + "start": 1945, + "end": 1952, "loc": { "start": { - "line": 63, + "line": 66, "column": 6 }, "end": { - "line": 63, + "line": 66, "column": 13 } }, "object": { "type": "Identifier", - "start": 1952, - "end": 1955, + "start": 1945, + "end": 1948, "loc": { "start": { - "line": 63, + "line": 66, "column": 6 }, "end": { - "line": 63, + "line": 66, "column": 9 }, "identifierName": "app" @@ -3514,15 +3538,15 @@ }, "property": { "type": "Identifier", - "start": 1956, - "end": 1959, + "start": 1949, + "end": 1952, "loc": { "start": { - "line": 63, + "line": 66, "column": 10 }, "end": { - "line": 63, + "line": 66, "column": 13 }, "identifierName": "use" @@ -3534,15 +3558,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1960, - "end": 1967, + "start": 1953, + "end": 1960, "loc": { "start": { - "line": 63, + "line": 66, "column": 14 }, "end": { - "line": 63, + "line": 66, "column": 21 } }, @@ -3554,43 +3578,43 @@ }, { "type": "CallExpression", - "start": 1969, - "end": 2031, + "start": 1962, + "end": 2016, "loc": { "start": { - "line": 63, + "line": 66, "column": 23 }, "end": { - "line": 64, - "column": 46 + "line": 67, + "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 1969, - "end": 1983, + "start": 1962, + "end": 1976, "loc": { "start": { - "line": 63, + "line": 66, "column": 23 }, "end": { - "line": 63, + "line": 66, "column": 37 } }, "object": { "type": "Identifier", - "start": 1969, - "end": 1976, + "start": 1962, + "end": 1969, "loc": { "start": { - "line": 63, + "line": 66, "column": 23 }, "end": { - "line": 63, + "line": 66, "column": 30 }, "identifierName": "express" @@ -3599,15 +3623,15 @@ }, "property": { "type": "Identifier", - "start": 1977, - "end": 1983, + "start": 1970, + "end": 1976, "loc": { "start": { - "line": 63, + "line": 66, "column": 31 }, "end": { - "line": 63, + "line": 66, "column": 37 }, "identifierName": "static" @@ -3619,58 +3643,58 @@ "arguments": [ { "type": "CallExpression", - "start": 1993, - "end": 2030, + "start": 1986, + "end": 2015, "loc": { "start": { - "line": 64, + "line": 67, "column": 8 }, "end": { - "line": 64, - "column": 45 + "line": 67, + "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 1993, - "end": 2009, + "start": 1986, + "end": 2002, "loc": { "start": { - "line": 64, + "line": 67, "column": 8 }, "end": { - "line": 64, + "line": 67, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 1993, - "end": 1997, + "start": 1986, + "end": 1990, "loc": { "start": { - "line": 64, + "line": 67, "column": 8 }, "end": { - "line": 64, + "line": 67, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1998, - "end": 2009, + "start": 1991, + "end": 2002, "loc": { "start": { - "line": 64, + "line": 67, "column": 13 }, "end": { - "line": 64, + "line": 67, "column": 24 }, "identifierName": "appLocation" @@ -3682,29 +3706,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 2010, - "end": 2021, + "start": 2003, + "end": 2014, "loc": { "start": { - "line": 64, + "line": 67, "column": 25 }, "end": { - "line": 64, + "line": 67, "column": 36 } }, "object": { "type": "Identifier", - "start": 2010, - "end": 2016, + "start": 2003, + "end": 2009, "loc": { "start": { - "line": 64, + "line": 67, "column": 25 }, "end": { - "line": 64, + "line": 67, "column": 31 }, "identifierName": "server" @@ -3713,15 +3737,15 @@ }, "property": { "type": "Identifier", - "start": 2017, - "end": 2021, + "start": 2010, + "end": 2014, "loc": { "start": { - "line": 64, + "line": 67, "column": 32 }, "end": { - "line": 64, + "line": 67, "column": 36 }, "identifierName": "demo" @@ -3729,26 +3753,6 @@ "name": "demo" }, "computed": false - }, - { - "type": "StringLiteral", - "start": 2023, - "end": 2029, - "loc": { - "start": { - "line": 64, - "column": 38 - }, - "end": { - "line": 64, - "column": 44 - } - }, - "extra": { - "rawValue": "demo", - "raw": "'demo'" - }, - "value": "demo" } ] } @@ -3759,57 +3763,57 @@ }, { "type": "ExpressionStatement", - "start": 2041, - "end": 2122, + "start": 2026, + "end": 2099, "loc": { "start": { - "line": 66, + "line": 69, "column": 6 }, "end": { - "line": 67, - "column": 48 + "line": 70, + "column": 40 } }, "expression": { "type": "CallExpression", - "start": 2041, - "end": 2121, + "start": 2026, + "end": 2098, "loc": { "start": { - "line": 66, + "line": 69, "column": 6 }, "end": { - "line": 67, - "column": 47 + "line": 70, + "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 2041, - "end": 2048, + "start": 2026, + "end": 2033, "loc": { "start": { - "line": 66, + "line": 69, "column": 6 }, "end": { - "line": 66, + "line": 69, "column": 13 } }, "object": { "type": "Identifier", - "start": 2041, - "end": 2044, + "start": 2026, + "end": 2029, "loc": { "start": { - "line": 66, + "line": 69, "column": 6 }, "end": { - "line": 66, + "line": 69, "column": 9 }, "identifierName": "app" @@ -3818,15 +3822,15 @@ }, "property": { "type": "Identifier", - "start": 2045, - "end": 2048, + "start": 2030, + "end": 2033, "loc": { "start": { - "line": 66, + "line": 69, "column": 10 }, "end": { - "line": 66, + "line": 69, "column": 13 }, "identifierName": "use" @@ -3838,15 +3842,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2049, - "end": 2056, + "start": 2034, + "end": 2041, "loc": { "start": { - "line": 66, + "line": 69, "column": 14 }, "end": { - "line": 66, + "line": 69, "column": 21 } }, @@ -3858,43 +3862,43 @@ }, { "type": "CallExpression", - "start": 2058, - "end": 2120, + "start": 2043, + "end": 2097, "loc": { "start": { - "line": 66, + "line": 69, "column": 23 }, "end": { - "line": 67, - "column": 46 + "line": 70, + "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 2058, - "end": 2072, + "start": 2043, + "end": 2057, "loc": { "start": { - "line": 66, + "line": 69, "column": 23 }, "end": { - "line": 66, + "line": 69, "column": 37 } }, "object": { "type": "Identifier", - "start": 2058, - "end": 2065, + "start": 2043, + "end": 2050, "loc": { "start": { - "line": 66, + "line": 69, "column": 23 }, "end": { - "line": 66, + "line": 69, "column": 30 }, "identifierName": "express" @@ -3903,15 +3907,15 @@ }, "property": { "type": "Identifier", - "start": 2066, - "end": 2072, + "start": 2051, + "end": 2057, "loc": { "start": { - "line": 66, + "line": 69, "column": 31 }, "end": { - "line": 66, + "line": 69, "column": 37 }, "identifierName": "static" @@ -3923,58 +3927,58 @@ "arguments": [ { "type": "CallExpression", - "start": 2082, - "end": 2119, + "start": 2067, + "end": 2096, "loc": { "start": { - "line": 67, + "line": 70, "column": 8 }, "end": { - "line": 67, - "column": 45 + "line": 70, + "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 2082, - "end": 2098, + "start": 2067, + "end": 2083, "loc": { "start": { - "line": 67, + "line": 70, "column": 8 }, "end": { - "line": 67, + "line": 70, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 2082, - "end": 2086, + "start": 2067, + "end": 2071, "loc": { "start": { - "line": 67, + "line": 70, "column": 8 }, "end": { - "line": 67, + "line": 70, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2087, - "end": 2098, + "start": 2072, + "end": 2083, "loc": { "start": { - "line": 67, + "line": 70, "column": 13 }, "end": { - "line": 67, + "line": 70, "column": 24 }, "identifierName": "appLocation" @@ -3986,29 +3990,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 2099, - "end": 2110, + "start": 2084, + "end": 2095, "loc": { "start": { - "line": 67, + "line": 70, "column": 25 }, "end": { - "line": 67, + "line": 70, "column": 36 } }, "object": { "type": "Identifier", - "start": 2099, - "end": 2105, + "start": 2084, + "end": 2090, "loc": { "start": { - "line": 67, + "line": 70, "column": 25 }, "end": { - "line": 67, + "line": 70, "column": 31 }, "identifierName": "server" @@ -4017,15 +4021,15 @@ }, "property": { "type": "Identifier", - "start": 2106, - "end": 2110, + "start": 2091, + "end": 2095, "loc": { "start": { - "line": 67, + "line": 70, "column": 32 }, "end": { - "line": 67, + "line": 70, "column": 36 }, "identifierName": "docs" @@ -4033,26 +4037,6 @@ "name": "docs" }, "computed": false - }, - { - "type": "StringLiteral", - "start": 2112, - "end": 2118, - "loc": { - "start": { - "line": 67, - "column": 38 - }, - "end": { - "line": 67, - "column": 44 - } - }, - "extra": { - "rawValue": "docs", - "raw": "'docs'" - }, - "value": "docs" } ] } @@ -4063,57 +4047,57 @@ }, { "type": "ExpressionStatement", - "start": 2130, - "end": 2221, + "start": 2107, + "end": 2198, "loc": { "start": { - "line": 69, + "line": 72, "column": 6 }, "end": { - "line": 71, + "line": 74, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 2130, - "end": 2220, + "start": 2107, + "end": 2197, "loc": { "start": { - "line": 69, + "line": 72, "column": 6 }, "end": { - "line": 71, + "line": 74, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 2130, - "end": 2137, + "start": 2107, + "end": 2114, "loc": { "start": { - "line": 69, + "line": 72, "column": 6 }, "end": { - "line": 69, + "line": 72, "column": 13 } }, "object": { "type": "Identifier", - "start": 2130, - "end": 2133, + "start": 2107, + "end": 2110, "loc": { "start": { - "line": 69, + "line": 72, "column": 6 }, "end": { - "line": 69, + "line": 72, "column": 9 }, "identifierName": "app" @@ -4122,15 +4106,15 @@ }, "property": { "type": "Identifier", - "start": 2134, - "end": 2137, + "start": 2111, + "end": 2114, "loc": { "start": { - "line": 69, + "line": 72, "column": 10 }, "end": { - "line": 69, + "line": 72, "column": 13 }, "identifierName": "use" @@ -4142,15 +4126,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2138, - "end": 2153, + "start": 2115, + "end": 2130, "loc": { "start": { - "line": 69, + "line": 72, "column": 14 }, "end": { - "line": 69, + "line": 72, "column": 29 } }, @@ -4162,43 +4146,43 @@ }, { "type": "CallExpression", - "start": 2155, - "end": 2219, + "start": 2132, + "end": 2196, "loc": { "start": { - "line": 69, + "line": 72, "column": 31 }, "end": { - "line": 71, + "line": 74, "column": 7 } }, "callee": { "type": "MemberExpression", - "start": 2155, - "end": 2169, + "start": 2132, + "end": 2146, "loc": { "start": { - "line": 69, + "line": 72, "column": 31 }, "end": { - "line": 69, + "line": 72, "column": 45 } }, "object": { "type": "Identifier", - "start": 2155, - "end": 2162, + "start": 2132, + "end": 2139, "loc": { "start": { - "line": 69, + "line": 72, "column": 31 }, "end": { - "line": 69, + "line": 72, "column": 38 }, "identifierName": "express" @@ -4207,15 +4191,15 @@ }, "property": { "type": "Identifier", - "start": 2163, - "end": 2169, + "start": 2140, + "end": 2146, "loc": { "start": { - "line": 69, + "line": 72, "column": 39 }, "end": { - "line": 69, + "line": 72, "column": 45 }, "identifierName": "static" @@ -4227,58 +4211,58 @@ "arguments": [ { "type": "CallExpression", - "start": 2179, - "end": 2211, + "start": 2156, + "end": 2188, "loc": { "start": { - "line": 70, + "line": 73, "column": 8 }, "end": { - "line": 70, + "line": 73, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 2179, - "end": 2195, + "start": 2156, + "end": 2172, "loc": { "start": { - "line": 70, + "line": 73, "column": 8 }, "end": { - "line": 70, + "line": 73, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 2179, - "end": 2183, + "start": 2156, + "end": 2160, "loc": { "start": { - "line": 70, + "line": 73, "column": 8 }, "end": { - "line": 70, + "line": 73, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2184, - "end": 2195, + "start": 2161, + "end": 2172, "loc": { "start": { - "line": 70, + "line": 73, "column": 13 }, "end": { - "line": 70, + "line": 73, "column": 24 }, "identifierName": "appLocation" @@ -4290,15 +4274,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2196, - "end": 2210, + "start": 2173, + "end": 2187, "loc": { "start": { - "line": 70, + "line": 73, "column": 25 }, "end": { - "line": 70, + "line": 73, "column": 39 } }, @@ -4317,57 +4301,57 @@ }, { "type": "ExpressionStatement", - "start": 2229, - "end": 2316, + "start": 2206, + "end": 2293, "loc": { "start": { - "line": 73, + "line": 76, "column": 6 }, "end": { - "line": 75, + "line": 78, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 2229, - "end": 2315, + "start": 2206, + "end": 2292, "loc": { "start": { - "line": 73, + "line": 76, "column": 6 }, "end": { - "line": 75, + "line": 78, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 2229, - "end": 2236, + "start": 2206, + "end": 2213, "loc": { "start": { - "line": 73, + "line": 76, "column": 6 }, "end": { - "line": 73, + "line": 76, "column": 13 } }, "object": { "type": "Identifier", - "start": 2229, - "end": 2232, + "start": 2206, + "end": 2209, "loc": { "start": { - "line": 73, + "line": 76, "column": 6 }, "end": { - "line": 73, + "line": 76, "column": 9 }, "identifierName": "app" @@ -4376,15 +4360,15 @@ }, "property": { "type": "Identifier", - "start": 2233, - "end": 2236, + "start": 2210, + "end": 2213, "loc": { "start": { - "line": 73, + "line": 76, "column": 10 }, "end": { - "line": 73, + "line": 76, "column": 13 }, "identifierName": "use" @@ -4396,15 +4380,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2237, - "end": 2250, + "start": 2214, + "end": 2227, "loc": { "start": { - "line": 73, + "line": 76, "column": 14 }, "end": { - "line": 73, + "line": 76, "column": 27 } }, @@ -4416,43 +4400,43 @@ }, { "type": "CallExpression", - "start": 2252, - "end": 2314, + "start": 2229, + "end": 2291, "loc": { "start": { - "line": 73, + "line": 76, "column": 29 }, "end": { - "line": 75, + "line": 78, "column": 7 } }, "callee": { "type": "MemberExpression", - "start": 2252, - "end": 2266, + "start": 2229, + "end": 2243, "loc": { "start": { - "line": 73, + "line": 76, "column": 29 }, "end": { - "line": 73, + "line": 76, "column": 43 } }, "object": { "type": "Identifier", - "start": 2252, - "end": 2259, + "start": 2229, + "end": 2236, "loc": { "start": { - "line": 73, + "line": 76, "column": 29 }, "end": { - "line": 73, + "line": 76, "column": 36 }, "identifierName": "express" @@ -4461,15 +4445,15 @@ }, "property": { "type": "Identifier", - "start": 2260, - "end": 2266, + "start": 2237, + "end": 2243, "loc": { "start": { - "line": 73, + "line": 76, "column": 37 }, "end": { - "line": 73, + "line": 76, "column": 43 }, "identifierName": "static" @@ -4481,58 +4465,58 @@ "arguments": [ { "type": "CallExpression", - "start": 2276, - "end": 2306, + "start": 2253, + "end": 2283, "loc": { "start": { - "line": 74, + "line": 77, "column": 8 }, "end": { - "line": 74, + "line": 77, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 2276, - "end": 2292, + "start": 2253, + "end": 2269, "loc": { "start": { - "line": 74, + "line": 77, "column": 8 }, "end": { - "line": 74, + "line": 77, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 2276, - "end": 2280, + "start": 2253, + "end": 2257, "loc": { "start": { - "line": 74, + "line": 77, "column": 8 }, "end": { - "line": 74, + "line": 77, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2281, - "end": 2292, + "start": 2258, + "end": 2269, "loc": { "start": { - "line": 74, + "line": 77, "column": 13 }, "end": { - "line": 74, + "line": 77, "column": 24 }, "identifierName": "appLocation" @@ -4544,15 +4528,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2293, - "end": 2305, + "start": 2270, + "end": 2282, "loc": { "start": { - "line": 74, + "line": 77, "column": 25 }, "end": { - "line": 74, + "line": 77, "column": 37 } }, @@ -4572,15 +4556,15 @@ { "type": "CommentLine", "value": " TODO: Add option to override index", - "start": 2324, - "end": 2361, + "start": 2301, + "end": 2338, "loc": { "start": { - "line": 77, + "line": 80, "column": 6 }, "end": { - "line": 77, + "line": 80, "column": 43 } } @@ -4589,57 +4573,57 @@ }, { "type": "ExpressionStatement", - "start": 2368, - "end": 2460, + "start": 2345, + "end": 2437, "loc": { "start": { - "line": 78, + "line": 81, "column": 6 }, "end": { - "line": 78, + "line": 81, "column": 98 } }, "expression": { "type": "CallExpression", - "start": 2368, - "end": 2459, + "start": 2345, + "end": 2436, "loc": { "start": { - "line": 78, + "line": 81, "column": 6 }, "end": { - "line": 78, + "line": 81, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 2368, - "end": 2375, + "start": 2345, + "end": 2352, "loc": { "start": { - "line": 78, + "line": 81, "column": 6 }, "end": { - "line": 78, + "line": 81, "column": 13 } }, "object": { "type": "Identifier", - "start": 2368, - "end": 2371, + "start": 2345, + "end": 2348, "loc": { "start": { - "line": 78, + "line": 81, "column": 6 }, "end": { - "line": 78, + "line": 81, "column": 9 }, "identifierName": "app" @@ -4649,15 +4633,15 @@ }, "property": { "type": "Identifier", - "start": 2372, - "end": 2375, + "start": 2349, + "end": 2352, "loc": { "start": { - "line": 78, + "line": 81, "column": 10 }, "end": { - "line": 78, + "line": 81, "column": 13 }, "identifierName": "use" @@ -4670,15 +4654,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2376, - "end": 2379, + "start": 2353, + "end": 2356, "loc": { "start": { - "line": 78, + "line": 81, "column": 14 }, "end": { - "line": 78, + "line": 81, "column": 17 } }, @@ -4690,43 +4674,43 @@ }, { "type": "CallExpression", - "start": 2381, - "end": 2458, + "start": 2358, + "end": 2435, "loc": { "start": { - "line": 78, + "line": 81, "column": 19 }, "end": { - "line": 78, + "line": 81, "column": 96 } }, "callee": { "type": "MemberExpression", - "start": 2381, - "end": 2395, + "start": 2358, + "end": 2372, "loc": { "start": { - "line": 78, + "line": 81, "column": 19 }, "end": { - "line": 78, + "line": 81, "column": 33 } }, "object": { "type": "Identifier", - "start": 2381, - "end": 2388, + "start": 2358, + "end": 2365, "loc": { "start": { - "line": 78, + "line": 81, "column": 19 }, "end": { - "line": 78, + "line": 81, "column": 26 }, "identifierName": "express" @@ -4735,15 +4719,15 @@ }, "property": { "type": "Identifier", - "start": 2389, - "end": 2395, + "start": 2366, + "end": 2372, "loc": { "start": { - "line": 78, + "line": 81, "column": 27 }, "end": { - "line": 78, + "line": 81, "column": 33 }, "identifierName": "static" @@ -4755,43 +4739,43 @@ "arguments": [ { "type": "CallExpression", - "start": 2396, - "end": 2457, + "start": 2373, + "end": 2434, "loc": { "start": { - "line": 78, + "line": 81, "column": 34 }, "end": { - "line": 78, + "line": 81, "column": 95 } }, "callee": { "type": "MemberExpression", - "start": 2396, - "end": 2413, + "start": 2373, + "end": 2390, "loc": { "start": { - "line": 78, + "line": 81, "column": 34 }, "end": { - "line": 78, + "line": 81, "column": 51 } }, "object": { "type": "Identifier", - "start": 2396, - "end": 2405, + "start": 2373, + "end": 2382, "loc": { "start": { - "line": 78, + "line": 81, "column": 34 }, "end": { - "line": 78, + "line": 81, "column": 43 }, "identifierName": "__dirname" @@ -4800,15 +4784,15 @@ }, "property": { "type": "Identifier", - "start": 2406, - "end": 2413, + "start": 2383, + "end": 2390, "loc": { "start": { - "line": 78, + "line": 81, "column": 44 }, "end": { - "line": 78, + "line": 81, "column": 51 }, "identifierName": "replace" @@ -4820,15 +4804,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2414, - "end": 2419, + "start": 2391, + "end": 2396, "loc": { "start": { - "line": 78, + "line": 81, "column": 52 }, "end": { - "line": 78, + "line": 81, "column": 57 } }, @@ -4840,15 +4824,15 @@ }, { "type": "StringLiteral", - "start": 2421, - "end": 2456, + "start": 2398, + "end": 2433, "loc": { "start": { - "line": 78, + "line": 81, "column": 59 }, "end": { - "line": 78, + "line": 81, "column": 94 } }, @@ -4869,15 +4853,15 @@ { "type": "CommentLine", "value": " TODO: Add option to override index", - "start": 2324, - "end": 2361, + "start": 2301, + "end": 2338, "loc": { "start": { - "line": 77, + "line": 80, "column": 6 }, "end": { - "line": 77, + "line": 80, "column": 43 } } @@ -4887,15 +4871,15 @@ { "type": "CommentLine", "value": " serve backed", - "start": 2470, - "end": 2485, + "start": 2447, + "end": 2462, "loc": { "start": { - "line": 80, + "line": 83, "column": 8 }, "end": { - "line": 80, + "line": 83, "column": 23 } } @@ -4904,57 +4888,57 @@ }, { "type": "ExpressionStatement", - "start": 2492, - "end": 2575, + "start": 2469, + "end": 2552, "loc": { "start": { - "line": 81, + "line": 84, "column": 6 }, "end": { - "line": 82, + "line": 85, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 2492, - "end": 2574, + "start": 2469, + "end": 2551, "loc": { "start": { - "line": 81, + "line": 84, "column": 6 }, "end": { - "line": 82, + "line": 85, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 2492, - "end": 2499, + "start": 2469, + "end": 2476, "loc": { "start": { - "line": 81, + "line": 84, "column": 6 }, "end": { - "line": 81, + "line": 84, "column": 13 } }, "object": { "type": "Identifier", - "start": 2492, - "end": 2495, + "start": 2469, + "end": 2472, "loc": { "start": { - "line": 81, + "line": 84, "column": 6 }, "end": { - "line": 81, + "line": 84, "column": 9 }, "identifierName": "app" @@ -4964,15 +4948,15 @@ }, "property": { "type": "Identifier", - "start": 2496, - "end": 2499, + "start": 2473, + "end": 2476, "loc": { "start": { - "line": 81, + "line": 84, "column": 10 }, "end": { - "line": 81, + "line": 84, "column": 13 }, "identifierName": "use" @@ -4985,15 +4969,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2500, - "end": 2514, + "start": 2477, + "end": 2491, "loc": { "start": { - "line": 81, + "line": 84, "column": 14 }, "end": { - "line": 81, + "line": 84, "column": 28 } }, @@ -5005,43 +4989,43 @@ }, { "type": "CallExpression", - "start": 2516, - "end": 2573, + "start": 2493, + "end": 2550, "loc": { "start": { - "line": 81, + "line": 84, "column": 30 }, "end": { - "line": 82, + "line": 85, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 2516, - "end": 2530, + "start": 2493, + "end": 2507, "loc": { "start": { - "line": 81, + "line": 84, "column": 30 }, "end": { - "line": 81, + "line": 84, "column": 44 } }, "object": { "type": "Identifier", - "start": 2516, - "end": 2523, + "start": 2493, + "end": 2500, "loc": { "start": { - "line": 81, + "line": 84, "column": 30 }, "end": { - "line": 81, + "line": 84, "column": 37 }, "identifierName": "express" @@ -5050,15 +5034,15 @@ }, "property": { "type": "Identifier", - "start": 2524, - "end": 2530, + "start": 2501, + "end": 2507, "loc": { "start": { - "line": 81, + "line": 84, "column": 38 }, "end": { - "line": 81, + "line": 84, "column": 44 }, "identifierName": "static" @@ -5070,43 +5054,43 @@ "arguments": [ { "type": "CallExpression", - "start": 2540, - "end": 2572, + "start": 2517, + "end": 2549, "loc": { "start": { - "line": 82, + "line": 85, "column": 8 }, "end": { - "line": 82, + "line": 85, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 2540, - "end": 2557, + "start": 2517, + "end": 2534, "loc": { "start": { - "line": 82, + "line": 85, "column": 8 }, "end": { - "line": 82, + "line": 85, "column": 25 } }, "object": { "type": "Identifier", - "start": 2540, - "end": 2549, + "start": 2517, + "end": 2526, "loc": { "start": { - "line": 82, + "line": 85, "column": 8 }, "end": { - "line": 82, + "line": 85, "column": 17 }, "identifierName": "__dirname" @@ -5115,15 +5099,15 @@ }, "property": { "type": "Identifier", - "start": 2550, - "end": 2557, + "start": 2527, + "end": 2534, "loc": { "start": { - "line": 82, + "line": 85, "column": 18 }, "end": { - "line": 82, + "line": 85, "column": 25 }, "identifierName": "replace" @@ -5135,15 +5119,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2558, - "end": 2563, + "start": 2535, + "end": 2540, "loc": { "start": { - "line": 82, + "line": 85, "column": 26 }, "end": { - "line": 82, + "line": 85, "column": 31 } }, @@ -5155,15 +5139,15 @@ }, { "type": "StringLiteral", - "start": 2565, - "end": 2571, + "start": 2542, + "end": 2548, "loc": { "start": { - "line": 82, + "line": 85, "column": 33 }, "end": { - "line": 82, + "line": 85, "column": 39 } }, @@ -5184,15 +5168,15 @@ { "type": "CommentLine", "value": " serve backed", - "start": 2470, - "end": 2485, + "start": 2447, + "end": 2462, "loc": { "start": { - "line": 80, + "line": 83, "column": 8 }, "end": { - "line": 80, + "line": 83, "column": 23 } } @@ -5202,15 +5186,15 @@ { "type": "CommentLine", "value": " TODO: implement copyrighted by package author & package name if no file is found", - "start": 2583, - "end": 2666, + "start": 2560, + "end": 2643, "loc": { "start": { - "line": 84, + "line": 87, "column": 6 }, "end": { - "line": 84, + "line": 87, "column": 89 } } @@ -5219,71 +5203,71 @@ }, { "type": "ExpressionStatement", - "start": 2673, - "end": 2787, + "start": 2650, + "end": 2764, "loc": { "start": { - "line": 85, + "line": 88, "column": 6 }, "end": { - "line": 87, + "line": 90, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 2673, - "end": 2786, + "start": 2650, + "end": 2763, "loc": { "start": { - "line": 85, + "line": 88, "column": 6 }, "end": { - "line": 87, + "line": 90, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 2673, - "end": 2711, + "start": 2650, + "end": 2688, "loc": { "start": { - "line": 85, + "line": 88, "column": 6 }, "end": { - "line": 85, + "line": 88, "column": 44 } }, "object": { "type": "CallExpression", - "start": 2673, - "end": 2706, + "start": 2650, + "end": 2683, "loc": { "start": { - "line": 85, + "line": 88, "column": 6 }, "end": { - "line": 85, + "line": 88, "column": 39 } }, "callee": { "type": "Identifier", - "start": 2673, - "end": 2676, + "start": 2650, + "end": 2653, "loc": { "start": { - "line": 85, + "line": 88, "column": 6 }, "end": { - "line": 85, + "line": 88, "column": 9 }, "identifierName": "src" @@ -5294,57 +5278,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2677, - "end": 2705, + "start": 2654, + "end": 2682, "loc": { "start": { - "line": 85, + "line": 88, "column": 10 }, "end": { - "line": 85, + "line": 88, "column": 38 } }, "left": { "type": "CallExpression", - "start": 2677, - "end": 2690, + "start": 2654, + "end": 2667, "loc": { "start": { - "line": 85, + "line": 88, "column": 10 }, "end": { - "line": 85, + "line": 88, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 2677, - "end": 2688, + "start": 2654, + "end": 2665, "loc": { "start": { - "line": 85, + "line": 88, "column": 10 }, "end": { - "line": 85, + "line": 88, "column": 21 } }, "object": { "type": "Identifier", - "start": 2677, - "end": 2684, + "start": 2654, + "end": 2661, "loc": { "start": { - "line": 85, + "line": 88, "column": 10 }, "end": { - "line": 85, + "line": 88, "column": 17 }, "identifierName": "process" @@ -5353,15 +5337,15 @@ }, "property": { "type": "Identifier", - "start": 2685, - "end": 2688, + "start": 2662, + "end": 2665, "loc": { "start": { - "line": 85, + "line": 88, "column": 18 }, "end": { - "line": 85, + "line": 88, "column": 21 }, "identifierName": "cwd" @@ -5375,15 +5359,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 2693, - "end": 2705, + "start": 2670, + "end": 2682, "loc": { "start": { - "line": 85, + "line": 88, "column": 26 }, "end": { - "line": 85, + "line": 88, "column": 38 } }, @@ -5399,15 +5383,15 @@ }, "property": { "type": "Identifier", - "start": 2707, - "end": 2711, + "start": 2684, + "end": 2688, "loc": { "start": { - "line": 85, + "line": 88, "column": 40 }, "end": { - "line": 85, + "line": 88, "column": 44 }, "identifierName": "then" @@ -5420,15 +5404,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2712, - "end": 2785, + "start": 2689, + "end": 2762, "loc": { "start": { - "line": 85, + "line": 88, "column": 45 }, "end": { - "line": 87, + "line": 90, "column": 7 } }, @@ -5439,15 +5423,15 @@ "params": [ { "type": "Identifier", - "start": 2712, - "end": 2717, + "start": 2689, + "end": 2694, "loc": { "start": { - "line": 85, + "line": 88, "column": 45 }, "end": { - "line": 85, + "line": 88, "column": 50 }, "identifierName": "files" @@ -5457,72 +5441,72 @@ ], "body": { "type": "BlockStatement", - "start": 2721, - "end": 2785, + "start": 2698, + "end": 2762, "loc": { "start": { - "line": 85, + "line": 88, "column": 54 }, "end": { - "line": 87, + "line": 90, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2731, - "end": 2777, + "start": 2708, + "end": 2754, "loc": { "start": { - "line": 86, + "line": 89, "column": 8 }, "end": { - "line": 86, + "line": 89, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 2731, - "end": 2776, + "start": 2708, + "end": 2753, "loc": { "start": { - "line": 86, + "line": 89, "column": 8 }, "end": { - "line": 86, + "line": 89, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 2731, - "end": 2738, + "start": 2708, + "end": 2715, "loc": { "start": { - "line": 86, + "line": 89, "column": 8 }, "end": { - "line": 86, + "line": 89, "column": 15 } }, "object": { "type": "Identifier", - "start": 2731, - "end": 2734, + "start": 2708, + "end": 2711, "loc": { "start": { - "line": 86, + "line": 89, "column": 8 }, "end": { - "line": 86, + "line": 89, "column": 11 }, "identifierName": "app" @@ -5531,15 +5515,15 @@ }, "property": { "type": "Identifier", - "start": 2735, - "end": 2738, + "start": 2712, + "end": 2715, "loc": { "start": { - "line": 86, + "line": 89, "column": 12 }, "end": { - "line": 86, + "line": 89, "column": 15 }, "identifierName": "use" @@ -5551,15 +5535,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2739, - "end": 2749, + "start": 2716, + "end": 2726, "loc": { "start": { - "line": 86, + "line": 89, "column": 16 }, "end": { - "line": 86, + "line": 89, "column": 26 } }, @@ -5571,43 +5555,43 @@ }, { "type": "CallExpression", - "start": 2751, - "end": 2775, + "start": 2728, + "end": 2752, "loc": { "start": { - "line": 86, + "line": 89, "column": 28 }, "end": { - "line": 86, + "line": 89, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 2751, - "end": 2765, + "start": 2728, + "end": 2742, "loc": { "start": { - "line": 86, + "line": 89, "column": 28 }, "end": { - "line": 86, + "line": 89, "column": 42 } }, "object": { "type": "Identifier", - "start": 2751, - "end": 2758, + "start": 2728, + "end": 2735, "loc": { "start": { - "line": 86, + "line": 89, "column": 28 }, "end": { - "line": 86, + "line": 89, "column": 35 }, "identifierName": "express" @@ -5616,15 +5600,15 @@ }, "property": { "type": "Identifier", - "start": 2759, - "end": 2765, + "start": 2736, + "end": 2742, "loc": { "start": { - "line": 86, + "line": 89, "column": 36 }, "end": { - "line": 86, + "line": 89, "column": 42 }, "identifierName": "static" @@ -5636,29 +5620,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 2766, - "end": 2774, + "start": 2743, + "end": 2751, "loc": { "start": { - "line": 86, + "line": 89, "column": 43 }, "end": { - "line": 86, + "line": 89, "column": 51 } }, "object": { "type": "Identifier", - "start": 2766, - "end": 2771, + "start": 2743, + "end": 2748, "loc": { "start": { - "line": 86, + "line": 89, "column": 43 }, "end": { - "line": 86, + "line": 89, "column": 48 }, "identifierName": "files" @@ -5667,15 +5651,15 @@ }, "property": { "type": "NumericLiteral", - "start": 2772, - "end": 2773, + "start": 2749, + "end": 2750, "loc": { "start": { - "line": 86, + "line": 89, "column": 49 }, "end": { - "line": 86, + "line": 89, "column": 50 } }, @@ -5703,15 +5687,15 @@ { "type": "CommentLine", "value": " TODO: implement copyrighted by package author & package name if no file is found", - "start": 2583, - "end": 2666, + "start": 2560, + "end": 2643, "loc": { "start": { - "line": 84, + "line": 87, "column": 6 }, "end": { - "line": 84, + "line": 87, "column": 89 } } @@ -5720,57 +5704,57 @@ }, { "type": "ExpressionStatement", - "start": 2795, - "end": 3028, + "start": 2772, + "end": 3005, "loc": { "start": { - "line": 89, + "line": 92, "column": 6 }, "end": { - "line": 94, + "line": 97, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 2795, - "end": 3027, + "start": 2772, + "end": 3004, "loc": { "start": { - "line": 89, + "line": 92, "column": 6 }, "end": { - "line": 94, + "line": 97, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 2795, - "end": 2805, + "start": 2772, + "end": 2782, "loc": { "start": { - "line": 89, + "line": 92, "column": 6 }, "end": { - "line": 89, + "line": 92, "column": 16 } }, "object": { "type": "Identifier", - "start": 2795, - "end": 2798, + "start": 2772, + "end": 2775, "loc": { "start": { - "line": 89, + "line": 92, "column": 6 }, "end": { - "line": 89, + "line": 92, "column": 9 }, "identifierName": "app" @@ -5779,15 +5763,15 @@ }, "property": { "type": "Identifier", - "start": 2799, - "end": 2805, + "start": 2776, + "end": 2782, "loc": { "start": { - "line": 89, + "line": 92, "column": 10 }, "end": { - "line": 89, + "line": 92, "column": 16 }, "identifierName": "listen" @@ -5799,15 +5783,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2806, - "end": 2810, + "start": 2783, + "end": 2787, "loc": { "start": { - "line": 89, + "line": 92, "column": 17 }, "end": { - "line": 89, + "line": 92, "column": 21 } }, @@ -5819,15 +5803,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 2812, - "end": 3026, + "start": 2789, + "end": 3003, "loc": { "start": { - "line": 89, + "line": 92, "column": 23 }, "end": { - "line": 94, + "line": 97, "column": 7 } }, @@ -5838,15 +5822,15 @@ "params": [ { "type": "Identifier", - "start": 2812, - "end": 2817, + "start": 2789, + "end": 2794, "loc": { "start": { - "line": 89, + "line": 92, "column": 23 }, "end": { - "line": 89, + "line": 92, "column": 28 }, "identifierName": "error" @@ -5856,44 +5840,44 @@ ], "body": { "type": "BlockStatement", - "start": 2821, - "end": 3026, + "start": 2798, + "end": 3003, "loc": { "start": { - "line": 89, + "line": 92, "column": 32 }, "end": { - "line": 94, + "line": 97, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 2831, - "end": 2890, + "start": 2808, + "end": 2867, "loc": { "start": { - "line": 90, + "line": 93, "column": 8 }, "end": { - "line": 92, + "line": 95, "column": 9 } }, "test": { "type": "Identifier", - "start": 2835, - "end": 2840, + "start": 2812, + "end": 2817, "loc": { "start": { - "line": 90, + "line": 93, "column": 12 }, "end": { - "line": 90, + "line": 93, "column": 17 }, "identifierName": "error" @@ -5902,72 +5886,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 2842, - "end": 2890, + "start": 2819, + "end": 2867, "loc": { "start": { - "line": 90, + "line": 93, "column": 19 }, "end": { - "line": 92, + "line": 95, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 2854, - "end": 2880, + "start": 2831, + "end": 2857, "loc": { "start": { - "line": 91, + "line": 94, "column": 10 }, "end": { - "line": 91, + "line": 94, "column": 36 } }, "argument": { "type": "CallExpression", - "start": 2861, - "end": 2879, + "start": 2838, + "end": 2856, "loc": { "start": { - "line": 91, + "line": 94, "column": 17 }, "end": { - "line": 91, + "line": 94, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 2861, - "end": 2872, + "start": 2838, + "end": 2849, "loc": { "start": { - "line": 91, + "line": 94, "column": 17 }, "end": { - "line": 91, + "line": 94, "column": 28 } }, "object": { "type": "Identifier", - "start": 2861, - "end": 2867, + "start": 2838, + "end": 2844, "loc": { "start": { - "line": 91, + "line": 94, "column": 17 }, "end": { - "line": 91, + "line": 94, "column": 23 }, "identifierName": "logger" @@ -5976,15 +5960,15 @@ }, "property": { "type": "Identifier", - "start": 2868, - "end": 2872, + "start": 2845, + "end": 2849, "loc": { "start": { - "line": 91, + "line": 94, "column": 24 }, "end": { - "line": 91, + "line": 94, "column": 28 }, "identifierName": "warn" @@ -5996,15 +5980,15 @@ "arguments": [ { "type": "Identifier", - "start": 2873, - "end": 2878, + "start": 2850, + "end": 2855, "loc": { "start": { - "line": 91, + "line": 94, "column": 29 }, "end": { - "line": 91, + "line": 94, "column": 34 }, "identifierName": "error" @@ -6021,57 +6005,57 @@ }, { "type": "ExpressionStatement", - "start": 2899, - "end": 3018, + "start": 2876, + "end": 2995, "loc": { "start": { - "line": 93, + "line": 96, "column": 8 }, "end": { - "line": 93, + "line": 96, "column": 127 } }, "expression": { "type": "CallExpression", - "start": 2899, - "end": 3017, + "start": 2876, + "end": 2994, "loc": { "start": { - "line": 93, + "line": 96, "column": 8 }, "end": { - "line": 93, + "line": 96, "column": 126 } }, "callee": { "type": "MemberExpression", - "start": 2899, - "end": 2909, + "start": 2876, + "end": 2886, "loc": { "start": { - "line": 93, + "line": 96, "column": 8 }, "end": { - "line": 93, + "line": 96, "column": 18 } }, "object": { "type": "Identifier", - "start": 2899, - "end": 2905, + "start": 2876, + "end": 2882, "loc": { "start": { - "line": 93, + "line": 96, "column": 8 }, "end": { - "line": 93, + "line": 96, "column": 14 }, "identifierName": "logger" @@ -6080,15 +6064,15 @@ }, "property": { "type": "Identifier", - "start": 2906, - "end": 2909, + "start": 2883, + "end": 2886, "loc": { "start": { - "line": 93, + "line": 96, "column": 15 }, "end": { - "line": 93, + "line": 96, "column": 18 }, "identifierName": "log" @@ -6100,58 +6084,58 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 2910, - "end": 3016, + "start": 2887, + "end": 2993, "loc": { "start": { - "line": 93, + "line": 96, "column": 19 }, "end": { - "line": 93, + "line": 96, "column": 125 } }, "expressions": [ { "type": "MemberExpression", - "start": 2913, - "end": 2931, + "start": 2890, + "end": 2908, "loc": { "start": { - "line": 93, + "line": 96, "column": 22 }, "end": { - "line": 93, + "line": 96, "column": 40 } }, "object": { "type": "MemberExpression", - "start": 2913, - "end": 2926, + "start": 2890, + "end": 2903, "loc": { "start": { - "line": 93, + "line": 96, "column": 22 }, "end": { - "line": 93, + "line": 96, "column": 35 } }, "object": { "type": "Identifier", - "start": 2913, - "end": 2919, + "start": 2890, + "end": 2896, "loc": { "start": { - "line": 93, + "line": 96, "column": 22 }, "end": { - "line": 93, + "line": 96, "column": 28 }, "identifierName": "global" @@ -6160,15 +6144,15 @@ }, "property": { "type": "Identifier", - "start": 2920, - "end": 2926, + "start": 2897, + "end": 2903, "loc": { "start": { - "line": 93, + "line": 96, "column": 29 }, "end": { - "line": 93, + "line": 96, "column": 35 }, "identifierName": "config" @@ -6179,15 +6163,15 @@ }, "property": { "type": "Identifier", - "start": 2927, - "end": 2931, + "start": 2904, + "end": 2908, "loc": { "start": { - "line": 93, + "line": 96, "column": 36 }, "end": { - "line": 93, + "line": 96, "column": 40 }, "identifierName": "name" @@ -6198,29 +6182,29 @@ }, { "type": "MemberExpression", - "start": 2970, - "end": 2981, + "start": 2947, + "end": 2958, "loc": { "start": { - "line": 93, + "line": 96, "column": 79 }, "end": { - "line": 93, + "line": 96, "column": 90 } }, "object": { "type": "Identifier", - "start": 2970, - "end": 2976, + "start": 2947, + "end": 2953, "loc": { "start": { - "line": 93, + "line": 96, "column": 79 }, "end": { - "line": 93, + "line": 96, "column": 85 }, "identifierName": "server" @@ -6229,15 +6213,15 @@ }, "property": { "type": "Identifier", - "start": 2977, - "end": 2981, + "start": 2954, + "end": 2958, "loc": { "start": { - "line": 93, + "line": 96, "column": 86 }, "end": { - "line": 93, + "line": 96, "column": 90 }, "identifierName": "port" @@ -6248,57 +6232,57 @@ }, { "type": "CallExpression", - "start": 2985, - "end": 3014, + "start": 2962, + "end": 2991, "loc": { "start": { - "line": 93, + "line": 96, "column": 94 }, "end": { - "line": 93, + "line": 96, "column": 123 } }, "callee": { "type": "MemberExpression", - "start": 2985, - "end": 3005, + "start": 2962, + "end": 2982, "loc": { "start": { - "line": 93, + "line": 96, "column": 94 }, "end": { - "line": 93, + "line": 96, "column": 114 } }, "object": { "type": "MemberExpression", - "start": 2985, - "end": 2997, + "start": 2962, + "end": 2974, "loc": { "start": { - "line": 93, + "line": 96, "column": 94 }, "end": { - "line": 93, + "line": 96, "column": 106 } }, "object": { "type": "Identifier", - "start": 2985, - "end": 2991, + "start": 2962, + "end": 2968, "loc": { "start": { - "line": 93, + "line": 96, "column": 94 }, "end": { - "line": 93, + "line": 96, "column": 100 }, "identifierName": "server" @@ -6307,15 +6291,15 @@ }, "property": { "type": "Identifier", - "start": 2992, - "end": 2997, + "start": 2969, + "end": 2974, "loc": { "start": { - "line": 93, + "line": 96, "column": 101 }, "end": { - "line": 93, + "line": 96, "column": 106 }, "identifierName": "entry" @@ -6326,15 +6310,15 @@ }, "property": { "type": "Identifier", - "start": 2998, - "end": 3005, + "start": 2975, + "end": 2982, "loc": { "start": { - "line": 93, + "line": 96, "column": 107 }, "end": { - "line": 93, + "line": 96, "column": 114 }, "identifierName": "replace" @@ -6346,15 +6330,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3006, - "end": 3009, + "start": 2983, + "end": 2986, "loc": { "start": { - "line": 93, + "line": 96, "column": 115 }, "end": { - "line": 93, + "line": 96, "column": 118 } }, @@ -6366,15 +6350,15 @@ }, { "type": "StringLiteral", - "start": 3011, - "end": 3013, + "start": 2988, + "end": 2990, "loc": { "start": { - "line": 93, + "line": 96, "column": 120 }, "end": { - "line": 93, + "line": 96, "column": 122 } }, @@ -6390,15 +6374,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 2911, - "end": 2911, + "start": 2888, + "end": 2888, "loc": { "start": { - "line": 93, + "line": 96, "column": 20 }, "end": { - "line": 93, + "line": 96, "column": 20 } }, @@ -6410,15 +6394,15 @@ }, { "type": "TemplateElement", - "start": 2932, - "end": 2968, + "start": 2909, + "end": 2945, "loc": { "start": { - "line": 93, + "line": 96, "column": 41 }, "end": { - "line": 93, + "line": 96, "column": 77 } }, @@ -6430,15 +6414,15 @@ }, { "type": "TemplateElement", - "start": 2982, - "end": 2983, + "start": 2959, + "end": 2960, "loc": { "start": { - "line": 93, + "line": 96, "column": 91 }, "end": { - "line": 93, + "line": 96, "column": 92 } }, @@ -6450,15 +6434,15 @@ }, { "type": "TemplateElement", - "start": 3015, - "end": 3015, + "start": 2992, + "end": 2992, "loc": { "start": { - "line": 93, + "line": 96, "column": 124 }, "end": { - "line": 93, + "line": 96, "column": 124 } }, @@ -6485,72 +6469,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 3040, - "end": 3198, + "start": 3017, + "end": 3197, "loc": { "start": { - "line": 95, + "line": 98, "column": 11 }, "end": { - "line": 97, + "line": 100, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 3048, - "end": 3192, + "start": 3025, + "end": 3191, "loc": { "start": { - "line": 96, + "line": 99, "column": 6 }, "end": { - "line": 96, - "column": 150 + "line": 99, + "column": 172 } }, "argument": { "type": "CallExpression", - "start": 3055, - "end": 3191, + "start": 3032, + "end": 3190, "loc": { "start": { - "line": 96, + "line": 99, "column": 13 }, "end": { - "line": 96, - "column": 149 + "line": 99, + "column": 171 } }, "callee": { "type": "MemberExpression", - "start": 3055, - "end": 3066, + "start": 3032, + "end": 3043, "loc": { "start": { - "line": 96, + "line": 99, "column": 13 }, "end": { - "line": 96, + "line": 99, "column": 24 } }, "object": { "type": "Identifier", - "start": 3055, - "end": 3061, + "start": 3032, + "end": 3038, "loc": { "start": { - "line": 96, + "line": 99, "column": 13 }, "end": { - "line": 96, + "line": 99, "column": 19 }, "identifierName": "logger" @@ -6559,15 +6543,15 @@ }, "property": { "type": "Identifier", - "start": 3062, - "end": 3066, + "start": 3039, + "end": 3043, "loc": { "start": { - "line": 96, + "line": 99, "column": 20 }, "end": { - "line": 96, + "line": 99, "column": 24 }, "identifierName": "warn" @@ -6579,58 +6563,58 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 3067, - "end": 3190, + "start": 3044, + "end": 3189, "loc": { "start": { - "line": 96, + "line": 99, "column": 25 }, "end": { - "line": 96, - "column": 148 + "line": 99, + "column": 170 } }, "expressions": [ { "type": "MemberExpression", - "start": 3070, - "end": 3088, + "start": 3047, + "end": 3065, "loc": { "start": { - "line": 96, + "line": 99, "column": 28 }, "end": { - "line": 96, + "line": 99, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 3070, - "end": 3083, + "start": 3047, + "end": 3060, "loc": { "start": { - "line": 96, + "line": 99, "column": 28 }, "end": { - "line": 96, + "line": 99, "column": 41 } }, "object": { "type": "Identifier", - "start": 3070, - "end": 3076, + "start": 3047, + "end": 3053, "loc": { "start": { - "line": 96, + "line": 99, "column": 28 }, "end": { - "line": 96, + "line": 99, "column": 34 }, "identifierName": "global" @@ -6639,15 +6623,15 @@ }, "property": { "type": "Identifier", - "start": 3077, - "end": 3083, + "start": 3054, + "end": 3060, "loc": { "start": { - "line": 96, + "line": 99, "column": 35 }, "end": { - "line": 96, + "line": 99, "column": 41 }, "identifierName": "config" @@ -6658,15 +6642,15 @@ }, "property": { "type": "Identifier", - "start": 3084, - "end": 3088, + "start": 3061, + "end": 3065, "loc": { "start": { - "line": 96, + "line": 99, "column": 42 }, "end": { - "line": 96, + "line": 99, "column": 46 }, "identifierName": "name" @@ -6679,15 +6663,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 3068, - "end": 3068, + "start": 3045, + "end": 3045, "loc": { "start": { - "line": 96, + "line": 99, "column": 26 }, "end": { - "line": 96, + "line": 99, "column": 26 } }, @@ -6699,21 +6683,21 @@ }, { "type": "TemplateElement", - "start": 3089, - "end": 3189, + "start": 3066, + "end": 3188, "loc": { "start": { - "line": 96, + "line": 99, "column": 47 }, "end": { - "line": 96, - "column": 147 + "line": 99, + "column": 169 } }, "value": { - "raw": "::server config not found [example](https://github.com/vandeurenglenn/backed-cli/config/backed.json)", - "cooked": "::server config not found [example](https://github.com/vandeurenglenn/backed-cli/config/backed.json)" + "raw": "::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)", + "cooked": "::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)" }, "tail": true } @@ -6733,9 +6717,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.path src path of the component\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default\n ", + "value": "*\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default (not support for now)\n * @param {array} server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.\n ", "start": 459, - "end": 973, + "end": 1075, "loc": { "start": { "line": 29, @@ -6752,15 +6736,15 @@ { "type": "CommentBlock", "value": "*\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n ", - "start": 3206, - "end": 3434, + "start": 3205, + "end": 3433, "loc": { "start": { - "line": 100, + "line": 103, "column": 2 }, "end": { - "line": 104, + "line": 107, "column": 5 } } @@ -6769,30 +6753,30 @@ }, { "type": "ClassMethod", - "start": 3437, - "end": 3773, + "start": 3436, + "end": 3772, "loc": { "start": { - "line": 105, + "line": 108, "column": 2 }, "end": { - "line": 115, + "line": 118, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 3437, - "end": 3448, + "start": 3436, + "end": 3447, "loc": { "start": { - "line": 105, + "line": 108, "column": 2 }, "end": { - "line": 105, + "line": 108, "column": 13 }, "identifierName": "appLocation" @@ -6809,15 +6793,15 @@ "params": [ { "type": "Identifier", - "start": 3449, - "end": 3453, + "start": 3448, + "end": 3452, "loc": { "start": { - "line": 105, + "line": 108, "column": 14 }, "end": { - "line": 105, + "line": 108, "column": 18 }, "identifierName": "path" @@ -6826,15 +6810,15 @@ }, { "type": "Identifier", - "start": 3455, - "end": 3464, + "start": 3454, + "end": 3463, "loc": { "start": { - "line": 105, + "line": 108, "column": 20 }, "end": { - "line": 105, + "line": 108, "column": 29 }, "identifierName": "alternate" @@ -6843,29 +6827,29 @@ }, { "type": "AssignmentPattern", - "start": 3466, - "end": 3490, + "start": 3465, + "end": 3489, "loc": { "start": { - "line": 105, + "line": 108, "column": 31 }, "end": { - "line": 105, + "line": 108, "column": 55 } }, "left": { "type": "Identifier", - "start": 3466, - "end": 3482, + "start": 3465, + "end": 3481, "loc": { "start": { - "line": 105, + "line": 108, "column": 31 }, "end": { - "line": 105, + "line": 108, "column": 47 }, "identifierName": "disableAlternate" @@ -6874,15 +6858,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 3485, - "end": 3490, + "start": 3484, + "end": 3489, "loc": { "start": { - "line": 105, + "line": 108, "column": 50 }, "end": { - "line": 105, + "line": 108, "column": 55 } }, @@ -6892,59 +6876,59 @@ ], "body": { "type": "BlockStatement", - "start": 3492, - "end": 3773, + "start": 3491, + "end": 3772, "loc": { "start": { - "line": 105, + "line": 108, "column": 57 }, "end": { - "line": 115, + "line": 118, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 3498, - "end": 3523, + "start": 3497, + "end": 3522, "loc": { "start": { - "line": 106, + "line": 109, "column": 4 }, "end": { - "line": 106, + "line": 109, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3502, - "end": 3522, + "start": 3501, + "end": 3521, "loc": { "start": { - "line": 106, + "line": 109, "column": 8 }, "end": { - "line": 106, + "line": 109, "column": 28 } }, "id": { "type": "Identifier", - "start": 3502, - "end": 3506, + "start": 3501, + "end": 3505, "loc": { "start": { - "line": 106, + "line": 109, "column": 8 }, "end": { - "line": 106, + "line": 109, "column": 12 }, "identifierName": "root" @@ -6953,43 +6937,43 @@ }, "init": { "type": "CallExpression", - "start": 3509, - "end": 3522, + "start": 3508, + "end": 3521, "loc": { "start": { - "line": 106, + "line": 109, "column": 15 }, "end": { - "line": 106, + "line": 109, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 3509, - "end": 3520, + "start": 3508, + "end": 3519, "loc": { "start": { - "line": 106, + "line": 109, "column": 15 }, "end": { - "line": 106, + "line": 109, "column": 26 } }, "object": { "type": "Identifier", - "start": 3509, - "end": 3516, + "start": 3508, + "end": 3515, "loc": { "start": { - "line": 106, + "line": 109, "column": 15 }, "end": { - "line": 106, + "line": 109, "column": 22 }, "identifierName": "process" @@ -6998,15 +6982,15 @@ }, "property": { "type": "Identifier", - "start": 3517, - "end": 3520, + "start": 3516, + "end": 3519, "loc": { "start": { - "line": 106, + "line": 109, "column": 23 }, "end": { - "line": 106, + "line": 109, "column": 26 }, "identifierName": "cwd" @@ -7023,43 +7007,43 @@ }, { "type": "IfStatement", - "start": 3528, - "end": 3727, + "start": 3527, + "end": 3726, "loc": { "start": { - "line": 107, + "line": 110, "column": 4 }, "end": { - "line": 112, + "line": 115, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 3532, - "end": 3558, + "start": 3531, + "end": 3557, "loc": { "start": { - "line": 107, + "line": 110, "column": 8 }, "end": { - "line": 107, + "line": 110, "column": 34 } }, "left": { "type": "UnaryExpression", - "start": 3532, - "end": 3537, + "start": 3531, + "end": 3536, "loc": { "start": { - "line": 107, + "line": 110, "column": 8 }, "end": { - "line": 107, + "line": 110, "column": 13 } }, @@ -7067,15 +7051,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3533, - "end": 3537, + "start": 3532, + "end": 3536, "loc": { "start": { - "line": 107, + "line": 110, "column": 9 }, "end": { - "line": 107, + "line": 110, "column": 13 }, "identifierName": "path" @@ -7089,15 +7073,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3541, - "end": 3558, + "start": 3540, + "end": 3557, "loc": { "start": { - "line": 107, + "line": 110, "column": 17 }, "end": { - "line": 107, + "line": 110, "column": 34 } }, @@ -7105,15 +7089,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3542, - "end": 3558, + "start": 3541, + "end": 3557, "loc": { "start": { - "line": 107, + "line": 110, "column": 18 }, "end": { - "line": 107, + "line": 110, "column": 34 }, "identifierName": "disableAlternate" @@ -7127,59 +7111,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 3560, - "end": 3591, + "start": 3559, + "end": 3590, "loc": { "start": { - "line": 107, + "line": 110, "column": 36 }, "end": { - "line": 109, + "line": 112, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 3568, - "end": 3585, + "start": 3567, + "end": 3584, "loc": { "start": { - "line": 108, + "line": 111, "column": 6 }, "end": { - "line": 108, + "line": 111, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 3568, - "end": 3584, + "start": 3567, + "end": 3583, "loc": { "start": { - "line": 108, + "line": 111, "column": 6 }, "end": { - "line": 108, + "line": 111, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 3568, - "end": 3572, + "start": 3567, + "end": 3571, "loc": { "start": { - "line": 108, + "line": 111, "column": 6 }, "end": { - "line": 108, + "line": 111, "column": 10 }, "identifierName": "path" @@ -7188,15 +7172,15 @@ }, "right": { "type": "Identifier", - "start": 3575, - "end": 3584, + "start": 3574, + "end": 3583, "loc": { "start": { - "line": 108, + "line": 111, "column": 13 }, "end": { - "line": 108, + "line": 111, "column": 22 }, "identifierName": "alternate" @@ -7210,43 +7194,43 @@ }, "alternate": { "type": "IfStatement", - "start": 3597, - "end": 3727, + "start": 3596, + "end": 3726, "loc": { "start": { - "line": 109, + "line": 112, "column": 11 }, "end": { - "line": 112, + "line": 115, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 3601, - "end": 3626, + "start": 3600, + "end": 3625, "loc": { "start": { - "line": 109, + "line": 112, "column": 15 }, "end": { - "line": 109, + "line": 112, "column": 40 } }, "left": { "type": "UnaryExpression", - "start": 3601, - "end": 3606, + "start": 3600, + "end": 3605, "loc": { "start": { - "line": 109, + "line": 112, "column": 15 }, "end": { - "line": 109, + "line": 112, "column": 20 } }, @@ -7254,15 +7238,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3602, - "end": 3606, + "start": 3601, + "end": 3605, "loc": { "start": { - "line": 109, + "line": 112, "column": 16 }, "end": { - "line": 109, + "line": 112, "column": 20 }, "identifierName": "path" @@ -7276,15 +7260,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 3610, - "end": 3626, + "start": 3609, + "end": 3625, "loc": { "start": { - "line": 109, + "line": 112, "column": 24 }, "end": { - "line": 109, + "line": 112, "column": 40 }, "identifierName": "disableAlternate" @@ -7294,44 +7278,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 3628, - "end": 3727, + "start": 3627, + "end": 3726, "loc": { "start": { - "line": 109, + "line": 112, "column": 42 }, "end": { - "line": 112, + "line": 115, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 3704, - "end": 3721, + "start": 3703, + "end": 3720, "loc": { "start": { - "line": 111, + "line": 114, "column": 6 }, "end": { - "line": 111, + "line": 114, "column": 23 } }, "argument": { "type": "Identifier", - "start": 3711, - "end": 3720, + "start": 3710, + "end": 3719, "loc": { "start": { - "line": 111, + "line": 114, "column": 13 }, "end": { - "line": 111, + "line": 114, "column": 22 }, "identifierName": "alternate" @@ -7343,15 +7327,15 @@ { "type": "CommentLine", "value": " when we disable alternate we return the value of alternate", - "start": 3636, - "end": 3697, + "start": 3635, + "end": 3696, "loc": { "start": { - "line": 110, + "line": 113, "column": 6 }, "end": { - "line": 110, + "line": 113, "column": 67 } } @@ -7366,44 +7350,44 @@ }, { "type": "ExpressionStatement", - "start": 3732, - "end": 3752, + "start": 3731, + "end": 3751, "loc": { "start": { - "line": 113, + "line": 116, "column": 4 }, "end": { - "line": 113, + "line": 116, "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 3732, - "end": 3751, + "start": 3731, + "end": 3750, "loc": { "start": { - "line": 113, + "line": 116, "column": 4 }, "end": { - "line": 113, + "line": 116, "column": 23 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 3732, - "end": 3736, + "start": 3731, + "end": 3735, "loc": { "start": { - "line": 113, + "line": 116, "column": 4 }, "end": { - "line": 113, + "line": 116, "column": 8 }, "identifierName": "root" @@ -7412,30 +7396,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 3740, - "end": 3751, + "start": 3739, + "end": 3750, "loc": { "start": { - "line": 113, + "line": 116, "column": 12 }, "end": { - "line": 113, + "line": 116, "column": 23 } }, "expressions": [ { "type": "Identifier", - "start": 3745, - "end": 3749, + "start": 3744, + "end": 3748, "loc": { "start": { - "line": 113, + "line": 116, "column": 17 }, "end": { - "line": 113, + "line": 116, "column": 21 }, "identifierName": "path" @@ -7446,15 +7430,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 3741, - "end": 3743, + "start": 3740, + "end": 3742, "loc": { "start": { - "line": 113, + "line": 116, "column": 13 }, "end": { - "line": 113, + "line": 116, "column": 15 } }, @@ -7466,15 +7450,15 @@ }, { "type": "TemplateElement", - "start": 3750, - "end": 3750, + "start": 3749, + "end": 3749, "loc": { "start": { - "line": 113, + "line": 116, "column": 22 }, "end": { - "line": 113, + "line": 116, "column": 22 } }, @@ -7490,29 +7474,29 @@ }, { "type": "ReturnStatement", - "start": 3757, - "end": 3769, + "start": 3756, + "end": 3768, "loc": { "start": { - "line": 114, + "line": 117, "column": 4 }, "end": { - "line": 114, + "line": 117, "column": 16 } }, "argument": { "type": "Identifier", - "start": 3764, - "end": 3768, + "start": 3763, + "end": 3767, "loc": { "start": { - "line": 114, + "line": 117, "column": 11 }, "end": { - "line": 114, + "line": 117, "column": 15 }, "identifierName": "root" @@ -7527,216 +7511,1937 @@ { "type": "CommentBlock", "value": "*\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n ", - "start": 3206, - "end": 3434, + "start": 3205, + "end": 3433, "loc": { "start": { - "line": 100, + "line": 103, "column": 2 }, "end": { - "line": 104, + "line": 107, "column": 5 } } } ] - } - ] - }, - "leadingComments": [], - "trailingComments": [] + }, + { + "type": "ClassMethod", + "start": 3776, + "end": 4044, + "loc": { + "start": { + "line": 120, + "column": 2 + }, + "end": { + "line": 124, + "column": 3 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 3776, + "end": 3792, + "loc": { + "start": { + "line": 120, + "column": 2 + }, + "end": { + "line": 120, + "column": 18 + }, + "identifierName": "handleOldOptions" + }, + "name": "handleOldOptions" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 3793, + "end": 3800, + "loc": { + "start": { + "line": 120, + "column": 19 + }, + "end": { + "line": 120, + "column": 26 + }, + "identifierName": "options" + }, + "name": "options" + } + ], + "body": { + "type": "BlockStatement", + "start": 3802, + "end": 4044, + "loc": { + "start": { + "line": 120, + "column": 28 + }, + "end": { + "line": 124, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 3808, + "end": 4040, + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 123, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 3812, + "end": 3851, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 47 + } + }, + "left": { + "type": "MemberExpression", + "start": 3812, + "end": 3824, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 3812, + "end": 3819, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 15 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 3820, + "end": 3824, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 20 + }, + "identifierName": "path" + }, + "name": "path" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 3828, + "end": 3851, + "loc": { + "start": { + "line": 121, + "column": 24 + }, + "end": { + "line": 121, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 3828, + "end": 3835, + "loc": { + "start": { + "line": 121, + "column": 24 + }, + "end": { + "line": 121, + "column": 31 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 3836, + "end": 3851, + "loc": { + "start": { + "line": 121, + "column": 32 + }, + "end": { + "line": 121, + "column": 47 + }, + "identifierName": "elementLocation" + }, + "name": "elementLocation" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3853, + "end": 4040, + "loc": { + "start": { + "line": 121, + "column": 49 + }, + "end": { + "line": 123, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3861, + "end": 4034, + "loc": { + "start": { + "line": 122, + "column": 6 + }, + "end": { + "line": 122, + "column": 179 + } + }, + "expression": { + "type": "CallExpression", + "start": 3861, + "end": 4033, + "loc": { + "start": { + "line": 122, + "column": 6 + }, + "end": { + "line": 122, + "column": 178 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3861, + "end": 3872, + "loc": { + "start": { + "line": 122, + "column": 6 + }, + "end": { + "line": 122, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 3861, + "end": 3867, + "loc": { + "start": { + "line": 122, + "column": 6 + }, + "end": { + "line": 122, + "column": 12 + }, + "identifierName": "logger" + }, + "name": "logger" + }, + "property": { + "type": "Identifier", + "start": 3868, + "end": 3872, + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 17 + }, + "identifierName": "warn" + }, + "name": "warn" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 3873, + "end": 4032, + "loc": { + "start": { + "line": 122, + "column": 18 + }, + "end": { + "line": 122, + "column": 177 + } + }, + "expressions": [ + { + "type": "ConditionalExpression", + "start": 3876, + "end": 3931, + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 76 + } + }, + "test": { + "type": "MemberExpression", + "start": 3876, + "end": 3888, + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 3876, + "end": 3883, + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 28 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 3884, + "end": 3888, + "loc": { + "start": { + "line": 122, + "column": 29 + }, + "end": { + "line": 122, + "column": 33 + }, + "identifierName": "path" + }, + "name": "path" + }, + "computed": false + }, + "consequent": { + "type": "StringLiteral", + "start": 3891, + "end": 3904, + "loc": { + "start": { + "line": 122, + "column": 36 + }, + "end": { + "line": 122, + "column": 49 + } + }, + "extra": { + "rawValue": "server.path", + "raw": "'server.path'" + }, + "value": "server.path" + }, + "alternate": { + "type": "StringLiteral", + "start": 3907, + "end": 3931, + "loc": { + "start": { + "line": 122, + "column": 52 + }, + "end": { + "line": 122, + "column": 76 + } + }, + "extra": { + "rawValue": "server.elementLocation", + "raw": "'server.elementLocation'" + }, + "value": "server.elementLocation" + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 3874, + "end": 3874, + "loc": { + "start": { + "line": 122, + "column": 19 + }, + "end": { + "line": 122, + "column": 19 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 3932, + "end": 4031, + "loc": { + "start": { + "line": 122, + "column": 77 + }, + "end": { + "line": 122, + "column": 176 + } + }, + "value": { + "raw": " is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'", + "cooked": " is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + ] + }, + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [ + { + "type": "Directive", + "start": 0, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + } + } + } + ] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * glob file path\n * @param {string} string\n ", + "start": 141, + "end": 192, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default (not support for now)\n * @param {array} server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.\n ", + "start": 459, + "end": 1075, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " app.use(`/${server.elementLocation}`, express.static(", + "start": 1740, + "end": 1796, + "loc": { + "start": { + "line": 60, + "column": 6 + }, + "end": { + "line": 60, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " this.appLocation(server.path, 'some-element.js')));", + "start": 1803, + "end": 1859, + "loc": { + "start": { + "line": 61, + "column": 6 + }, + "end": { + "line": 61, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: Add option to override index", + "start": 2301, + "end": 2338, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 43 + } + } + }, + { + "type": "CommentLine", + "value": " serve backed", + "start": 2447, + "end": 2462, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: implement copyrighted by package author & package name if no file is found", + "start": 2560, + "end": 2643, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 89 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n ", + "start": 3205, + "end": 3433, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 107, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " when we disable alternate we return the value of alternate", + "start": 3635, + "end": 3696, + "loc": { + "start": { + "line": 113, + "column": 6 + }, + "end": { + "line": 113, + "column": 67 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 12 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 14, + "end": 19, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "express", + "start": 20, + "end": 27, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 28, + "end": 29, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 30, + "end": 37, + "loc": { + "start": { + "line": 2, + "column": 16 + }, + "end": { + "line": 2, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 37, + "end": 38, + "loc": { + "start": { + "line": 2, + "column": 23 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "express", + "start": 38, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 47, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 51, + "end": 56, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "app", + "start": 57, + "end": 60, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 4, + "column": 10 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "express", + "start": 63, + "end": 70, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 71, + "end": 72, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 72, + "end": 73, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 75, + "end": 80, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "glob", + "start": 81, + "end": 85, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 86, + "end": 87, + "loc": { + "start": { + "line": 6, + "column": 11 + }, + "end": { + "line": 6, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 88, + "end": 95, + "loc": { + "start": { + "line": 6, + "column": 13 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 95, + "end": 96, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "glob", + "start": 96, + "end": 102, + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 27 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 102, + "end": 103, + "loc": { + "start": { + "line": 6, + "column": 27 + }, + "end": { + "line": 6, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 103, + "end": 104, + "loc": { + "start": { + "line": 6, + "column": 28 + }, + "end": { + "line": 6, + "column": 29 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 106, + "end": 112, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "logger", + "start": 113, + "end": 119, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 120, + "end": 124, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./logger.js", + "start": 125, + "end": 138, + "loc": { + "start": { + "line": 8, + "column": 19 + }, + "end": { + "line": 8, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 138, + "end": 139, + "loc": { + "start": { + "line": 8, + "column": 32 + }, + "end": { + "line": 8, + "column": 33 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * glob file path\n * @param {string} string\n ", + "start": 141, + "end": 192, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 193, + "end": 198, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "src", + "start": 199, + "end": 202, + "loc": { + "start": { + "line": 14, + "column": 6 + }, + "end": { + "line": 14, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 203, + "end": 204, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 205, + "end": 211, + "loc": { + "start": { + "line": 14, + "column": 12 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 212, + "end": 214, + "loc": { + "start": { + "line": 14, + "column": 19 + }, + "end": { + "line": 14, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 215, + "end": 216, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 219, + "end": 225, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 226, + "end": 229, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 12 } } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Promise", + "start": 230, + "end": 237, + "loc": { + "start": { + "line": 15, + "column": 13 }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "value": "use strict", - "extra": { - "raw": "'use strict'", - "rawValue": "use strict" - } + "end": { + "line": 15, + "column": 20 } } - ] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "*\n * glob file path\n * @param {string} string\n ", - "start": 141, - "end": 192, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 237, + "end": 238, "loc": { "start": { - "line": 10, - "column": 0 + "line": 15, + "column": 20 }, "end": { - "line": 13, - "column": 3 + "line": 15, + "column": 21 } } }, { - "type": "CommentBlock", - "value": "*\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.path src path of the component\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default\n ", - "start": 459, - "end": 973, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 238, + "end": 239, "loc": { "start": { - "line": 29, - "column": 0 + "line": 15, + "column": 21 }, "end": { - "line": 38, - "column": 3 + "line": 15, + "column": 22 } } }, { - "type": "CommentLine", - "value": " app.use(`/${server.elementLocation}`, express.static(", - "start": 1739, - "end": 1795, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 239, + "end": 246, "loc": { "start": { - "line": 57, - "column": 6 + "line": 15, + "column": 22 }, "end": { - "line": 57, - "column": 62 + "line": 15, + "column": 29 } } }, { - "type": "CommentLine", - "value": " this.appLocation(server.path, 'some-element.js')));", - "start": 1802, - "end": 1858, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 246, + "end": 247, "loc": { "start": { - "line": 58, - "column": 6 + "line": 15, + "column": 29 }, "end": { - "line": 58, - "column": 62 + "line": 15, + "column": 30 } } }, { - "type": "CommentLine", - "value": " TODO: Add option to override index", - "start": 2324, - "end": 2361, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 248, + "end": 254, "loc": { "start": { - "line": 77, - "column": 6 + "line": 15, + "column": 31 }, "end": { - "line": 77, - "column": 43 + "line": 15, + "column": 37 } } }, { - "type": "CommentLine", - "value": " serve backed", - "start": 2470, - "end": 2485, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 254, + "end": 255, "loc": { "start": { - "line": 80, - "column": 8 + "line": 15, + "column": 37 }, "end": { - "line": 80, - "column": 23 + "line": 15, + "column": 38 } } }, { - "type": "CommentLine", - "value": " TODO: implement copyrighted by package author & package name if no file is found", - "start": 2583, - "end": 2666, + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 256, + "end": 258, "loc": { "start": { - "line": 84, - "column": 6 + "line": 15, + "column": 39 }, "end": { - "line": 84, - "column": 89 + "line": 15, + "column": 41 } } }, { - "type": "CommentBlock", - "value": "*\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n ", - "start": 3206, - "end": 3434, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 259, + "end": 260, "loc": { "start": { - "line": 100, - "column": 2 + "line": 15, + "column": 42 }, "end": { - "line": 104, - "column": 5 + "line": 15, + "column": 43 } } }, - { - "type": "CommentLine", - "value": " when we disable alternate we return the value of alternate", - "start": 3636, - "end": 3697, - "loc": { - "start": { - "line": 110, - "column": 6 - }, - "end": { - "line": 110, - "column": 67 - } - } - } - ], - "tokens": [ { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7744,127 +9449,121 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "use strict", - "start": 0, - "end": 12, + "value": "glob", + "start": 265, + "end": 269, "loc": { "start": { - "line": 1, - "column": 0 + "line": 16, + "column": 4 }, "end": { - "line": 1, - "column": 12 + "line": 16, + "column": 8 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12, - "end": 13, + "start": 269, + "end": 270, "loc": { "start": { - "line": 1, - "column": 12 + "line": 16, + "column": 8 }, "end": { - "line": 1, - "column": 13 + "line": 16, + "column": 9 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 14, - "end": 19, + "value": "string", + "start": 270, + "end": 276, "loc": { "start": { - "line": 2, - "column": 0 + "line": 16, + "column": 9 }, "end": { - "line": 2, - "column": 5 + "line": 16, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "express", - "start": 20, - "end": 27, + "start": 276, + "end": 277, "loc": { "start": { - "line": 2, - "column": 6 + "line": 16, + "column": 15 }, "end": { - "line": 2, - "column": 13 + "line": 16, + "column": 16 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 28, - "end": 29, + "start": 278, + "end": 279, "loc": { "start": { - "line": 2, - "column": 14 + "line": 16, + "column": 17 }, "end": { - "line": 2, - "column": 15 + "line": 16, + "column": 18 } } }, @@ -7880,48 +9579,49 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 30, - "end": 37, + "value": "error", + "start": 279, + "end": 284, "loc": { "start": { - "line": 2, - "column": 16 + "line": 16, + "column": 18 }, "end": { - "line": 2, + "line": 16, "column": 23 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 37, - "end": 38, + "start": 284, + "end": 285, "loc": { "start": { - "line": 2, + "line": 16, "column": 23 }, "end": { - "line": 2, + "line": 16, "column": 24 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7929,20 +9629,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "express", - "start": 38, - "end": 47, + "value": "files", + "start": 286, + "end": 291, "loc": { "start": { - "line": 2, - "column": 24 + "line": 16, + "column": 25 }, "end": { - "line": 2, - "column": 33 + "line": 16, + "column": 30 } } }, @@ -7958,22 +9657,22 @@ "postfix": false, "binop": null }, - "start": 47, - "end": 48, + "start": 291, + "end": 292, "loc": { "start": { - "line": 2, - "column": 33 + "line": 16, + "column": 30 }, "end": { - "line": 2, - "column": 34 + "line": 16, + "column": 31 } } }, { "type": { - "label": ";", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7984,97 +9683,94 @@ "binop": null, "updateContext": null }, - "start": 48, - "end": 49, + "start": 293, + "end": 295, "loc": { "start": { - "line": 2, - "column": 34 + "line": 16, + "column": 32 }, "end": { - "line": 2, - "column": 35 + "line": 16, + "column": 34 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 51, - "end": 56, + "start": 296, + "end": 297, "loc": { "start": { - "line": 4, - "column": 0 + "line": 16, + "column": 35 }, "end": { - "line": 4, - "column": 5 + "line": 16, + "column": 36 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "app", - "start": 57, - "end": 60, + "value": "if", + "start": 304, + "end": 306, "loc": { "start": { - "line": 4, + "line": 17, "column": 6 }, "end": { - "line": 4, - "column": 9 + "line": 17, + "column": 8 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 61, - "end": 62, + "binop": null + }, + "start": 307, + "end": 308, "loc": { "start": { - "line": 4, - "column": 10 + "line": 17, + "column": 9 }, "end": { - "line": 4, - "column": 11 + "line": 17, + "column": 10 } } }, @@ -8090,25 +9786,25 @@ "postfix": false, "binop": null }, - "value": "express", - "start": 63, - "end": 70, + "value": "error", + "start": 308, + "end": 313, "loc": { "start": { - "line": 4, - "column": 12 + "line": 17, + "column": 10 }, "end": { - "line": 4, - "column": 19 + "line": 17, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8116,24 +9812,24 @@ "postfix": false, "binop": null }, - "start": 70, - "end": 71, + "start": 313, + "end": 314, "loc": { "start": { - "line": 4, - "column": 19 + "line": 17, + "column": 15 }, "end": { - "line": 4, - "column": 20 + "line": 17, + "column": 16 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8141,70 +9837,67 @@ "postfix": false, "binop": null }, - "start": 71, - "end": 72, + "start": 315, + "end": 316, "loc": { "start": { - "line": 4, - "column": 20 + "line": 17, + "column": 17 }, "end": { - "line": 4, - "column": 21 + "line": 17, + "column": 18 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 72, - "end": 73, + "value": "reject", + "start": 325, + "end": 331, "loc": { "start": { - "line": 4, - "column": 21 + "line": 18, + "column": 8 }, "end": { - "line": 4, - "column": 22 + "line": 18, + "column": 14 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 75, - "end": 80, + "start": 331, + "end": 332, "loc": { "start": { - "line": 6, - "column": 0 + "line": 18, + "column": 14 }, "end": { - "line": 6, - "column": 5 + "line": 18, + "column": 15 } } }, @@ -8220,78 +9913,76 @@ "postfix": false, "binop": null }, - "value": "glob", - "start": 81, - "end": 85, + "value": "error", + "start": 332, + "end": 337, "loc": { "start": { - "line": 6, - "column": 6 + "line": 18, + "column": 15 }, "end": { - "line": 6, - "column": 10 + "line": 18, + "column": 20 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 86, - "end": 87, + "start": 337, + "end": 338, "loc": { "start": { - "line": 6, - "column": 11 + "line": 18, + "column": 20 }, "end": { - "line": 6, - "column": 12 + "line": 18, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 88, - "end": 95, + "start": 338, + "end": 339, "loc": { "start": { - "line": 6, - "column": 13 + "line": 18, + "column": 21 }, "end": { - "line": 6, - "column": 20 + "line": 18, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8299,24 +9990,25 @@ "postfix": false, "binop": null }, - "start": 95, - "end": 96, + "start": 346, + "end": 347, "loc": { "start": { - "line": 6, - "column": 20 + "line": 19, + "column": 6 }, "end": { - "line": 6, - "column": 21 + "line": 19, + "column": 7 } } }, { "type": { - "label": "string", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8325,25 +10017,25 @@ "binop": null, "updateContext": null }, - "value": "glob", - "start": 96, - "end": 102, + "value": "if", + "start": 354, + "end": 356, "loc": { "start": { - "line": 6, - "column": 21 + "line": 20, + "column": 6 }, "end": { - "line": 6, - "column": 27 + "line": 20, + "column": 8 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8351,49 +10043,48 @@ "postfix": false, "binop": null }, - "start": 102, - "end": 103, + "start": 357, + "end": 358, "loc": { "start": { - "line": 6, - "column": 27 + "line": 20, + "column": 9 }, "end": { - "line": 6, - "column": 28 + "line": 20, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 103, - "end": 104, + "value": "files", + "start": 358, + "end": 363, "loc": { "start": { - "line": 6, - "column": 28 + "line": 20, + "column": 10 }, "end": { - "line": 6, - "column": 29 + "line": 20, + "column": 15 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8404,17 +10095,16 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 106, - "end": 112, + "start": 363, + "end": 364, "loc": { "start": { - "line": 8, - "column": 0 + "line": 20, + "column": 15 }, "end": { - "line": 8, - "column": 6 + "line": 20, + "column": 16 } } }, @@ -8430,49 +10120,50 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 113, - "end": 119, + "value": "length", + "start": 364, + "end": 370, "loc": { "start": { - "line": 8, - "column": 7 + "line": 20, + "column": 16 }, "end": { - "line": 8, - "column": 13 + "line": 20, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "value": "from", - "start": 120, - "end": 124, + "value": ">", + "start": 371, + "end": 372, "loc": { "start": { - "line": 8, - "column": 14 + "line": 20, + "column": 23 }, "end": { - "line": 8, - "column": 18 + "line": 20, + "column": 24 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8483,87 +10174,67 @@ "binop": null, "updateContext": null }, - "value": "./logger.js", - "start": 125, - "end": 138, + "value": 0, + "start": 373, + "end": 374, "loc": { "start": { - "line": 8, - "column": 19 + "line": 20, + "column": 25 }, "end": { - "line": 8, - "column": 32 + "line": 20, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 138, - "end": 139, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 33 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * glob file path\n * @param {string} string\n ", - "start": 141, - "end": 192, + "start": 374, + "end": 375, "loc": { "start": { - "line": 10, - "column": 0 + "line": 20, + "column": 26 }, "end": { - "line": 13, - "column": 3 + "line": 20, + "column": 27 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 193, - "end": 198, + "start": 376, + "end": 377, "loc": { "start": { - "line": 14, - "column": 0 + "line": 20, + "column": 28 }, "end": { - "line": 14, - "column": 5 + "line": 20, + "column": 29 } } }, @@ -8579,44 +10250,42 @@ "postfix": false, "binop": null }, - "value": "src", - "start": 199, - "end": 202, + "value": "resolve", + "start": 386, + "end": 393, "loc": { "start": { - "line": 14, - "column": 6 + "line": 21, + "column": 8 }, "end": { - "line": 14, - "column": 9 + "line": 21, + "column": 15 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 203, - "end": 204, + "start": 393, + "end": 394, "loc": { "start": { - "line": 14, - "column": 10 + "line": 21, + "column": 15 }, "end": { - "line": 14, - "column": 11 + "line": 21, + "column": 16 } } }, @@ -8632,132 +10301,126 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 205, - "end": 211, + "value": "files", + "start": 394, + "end": 399, "loc": { "start": { - "line": 14, - "column": 12 + "line": 21, + "column": 16 }, "end": { - "line": 14, - "column": 18 + "line": 21, + "column": 21 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 212, - "end": 214, + "start": 399, + "end": 400, "loc": { "start": { - "line": 14, - "column": 19 + "line": 21, + "column": 21 }, "end": { - "line": 14, - "column": 21 + "line": 21, + "column": 22 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 215, - "end": 216, + "start": 400, + "end": 401, "loc": { "start": { - "line": 14, + "line": 21, "column": 22 }, "end": { - "line": 14, + "line": 21, "column": 23 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 219, - "end": 225, + "start": 408, + "end": 409, "loc": { "start": { - "line": 15, - "column": 2 + "line": 22, + "column": 6 }, "end": { - "line": 15, - "column": 8 + "line": 22, + "column": 7 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 226, - "end": 229, + "start": 414, + "end": 415, "loc": { "start": { - "line": 15, - "column": 9 + "line": 23, + "column": 4 }, "end": { - "line": 15, - "column": 12 + "line": 23, + "column": 5 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8765,50 +10428,50 @@ "postfix": false, "binop": null }, - "value": "Promise", - "start": 230, - "end": 237, + "start": 415, + "end": 416, "loc": { "start": { - "line": 15, - "column": 13 + "line": 23, + "column": 5 }, "end": { - "line": 15, - "column": 20 + "line": 23, + "column": 6 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 237, - "end": 238, + "start": 416, + "end": 417, "loc": { "start": { - "line": 15, - "column": 20 + "line": 23, + "column": 6 }, "end": { - "line": 15, - "column": 21 + "line": 23, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8816,24 +10479,24 @@ "postfix": false, "binop": null }, - "start": 238, - "end": 239, + "start": 420, + "end": 421, "loc": { "start": { - "line": 15, - "column": 21 + "line": 24, + "column": 2 }, "end": { - "line": 15, - "column": 22 + "line": 24, + "column": 3 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8841,23 +10504,22 @@ "postfix": false, "binop": null }, - "value": "resolve", - "start": 239, - "end": 246, + "start": 421, + "end": 422, "loc": { "start": { - "line": 15, - "column": 22 + "line": 24, + "column": 3 }, "end": { - "line": 15, - "column": 29 + "line": 24, + "column": 4 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -8868,24 +10530,24 @@ "binop": null, "updateContext": null }, - "start": 246, - "end": 247, + "start": 422, + "end": 423, "loc": { "start": { - "line": 15, - "column": 29 + "line": 24, + "column": 4 }, "end": { - "line": 15, - "column": 30 + "line": 24, + "column": 5 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8893,49 +10555,50 @@ "postfix": false, "binop": null }, - "value": "reject", - "start": 248, - "end": 254, + "start": 424, + "end": 425, "loc": { "start": { - "line": 15, - "column": 31 + "line": 25, + "column": 0 }, "end": { - "line": 15, - "column": 37 + "line": 25, + "column": 1 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 254, - "end": 255, + "start": 425, + "end": 426, "loc": { "start": { - "line": 15, - "column": 37 + "line": 25, + "column": 1 }, "end": { - "line": 15, - "column": 38 + "line": 25, + "column": 2 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8945,74 +10608,80 @@ "binop": null, "updateContext": null }, - "start": 256, - "end": 258, + "value": "export", + "start": 428, + "end": 434, "loc": { "start": { - "line": 15, - "column": 39 + "line": 27, + "column": 0 }, "end": { - "line": 15, - "column": 41 + "line": 27, + "column": 6 } } }, { "type": { - "label": "{", + "label": "default", + "keyword": "default", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 259, - "end": 260, + "value": "default", + "start": 435, + "end": 442, "loc": { "start": { - "line": 15, - "column": 42 + "line": 27, + "column": 7 }, "end": { - "line": 15, - "column": 43 + "line": 27, + "column": 14 } } }, { "type": { - "label": "name", + "label": "class", + "keyword": "class", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "glob", - "start": 265, - "end": 269, + "value": "class", + "start": 443, + "end": 448, "loc": { "start": { - "line": 16, - "column": 4 + "line": 27, + "column": 15 }, "end": { - "line": 16, - "column": 8 + "line": 27, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9021,23 +10690,24 @@ "postfix": false, "binop": null }, - "start": 269, - "end": 270, + "value": "Server", + "start": 449, + "end": 455, "loc": { "start": { - "line": 16, - "column": 8 + "line": 27, + "column": 21 }, "end": { - "line": 16, - "column": 9 + "line": 27, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9046,43 +10716,58 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 270, - "end": 276, + "start": 456, + "end": 457, "loc": { "start": { - "line": 16, - "column": 9 + "line": 27, + "column": 28 }, "end": { - "line": 16, - "column": 15 + "line": 27, + "column": 29 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default (not support for now)\n * @param {array} server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.\n ", + "start": 459, + "end": 1075, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 38, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 276, - "end": 277, + "value": "serve", + "start": 1078, + "end": 1083, "loc": { "start": { - "line": 16, - "column": 15 + "line": 39, + "column": 2 }, "end": { - "line": 16, - "column": 16 + "line": 39, + "column": 7 } } }, @@ -9098,16 +10783,16 @@ "postfix": false, "binop": null }, - "start": 278, - "end": 279, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 16, - "column": 17 + "line": 39, + "column": 7 }, "end": { - "line": 16, - "column": 18 + "line": 39, + "column": 8 } } }, @@ -9123,50 +10808,51 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 279, - "end": 284, + "value": "server", + "start": 1084, + "end": 1090, "loc": { "start": { - "line": 16, - "column": 18 + "line": 39, + "column": 8 }, "end": { - "line": 16, - "column": 23 + "line": 39, + "column": 14 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 284, - "end": 285, + "value": "=", + "start": 1091, + "end": 1092, "loc": { "start": { - "line": 16, - "column": 23 + "line": 39, + "column": 15 }, "end": { - "line": 16, - "column": 24 + "line": 39, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9175,25 +10861,24 @@ "postfix": false, "binop": null }, - "value": "files", - "start": 286, - "end": 291, + "start": 1093, + "end": 1094, "loc": { "start": { - "line": 16, - "column": 25 + "line": 39, + "column": 17 }, "end": { - "line": 16, - "column": 30 + "line": 39, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9201,22 +10886,23 @@ "postfix": false, "binop": null }, - "start": 291, - "end": 292, + "value": "entry", + "start": 1099, + "end": 1104, "loc": { "start": { - "line": 16, - "column": 30 + "line": 40, + "column": 4 }, "end": { - "line": 16, - "column": 31 + "line": 40, + "column": 9 } } }, { "type": { - "label": "=>", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9227,49 +10913,50 @@ "binop": null, "updateContext": null }, - "start": 293, - "end": 295, + "start": 1104, + "end": 1105, "loc": { "start": { - "line": 16, - "column": 32 + "line": 40, + "column": 9 }, "end": { - "line": 16, - "column": 34 + "line": 40, + "column": 10 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 296, - "end": 297, + "value": "/", + "start": 1106, + "end": 1109, "loc": { "start": { - "line": 16, - "column": 35 + "line": 40, + "column": 11 }, "end": { - "line": 16, - "column": 36 + "line": 40, + "column": 14 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9279,24 +10966,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 304, - "end": 306, + "start": 1109, + "end": 1110, "loc": { "start": { - "line": 17, - "column": 6 + "line": 40, + "column": 14 }, "end": { - "line": 17, - "column": 8 + "line": 40, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9305,92 +10991,96 @@ "postfix": false, "binop": null }, - "start": 307, - "end": 308, + "value": "demo", + "start": 1115, + "end": 1119, "loc": { "start": { - "line": 17, - "column": 9 + "line": 41, + "column": 4 }, "end": { - "line": 17, - "column": 10 + "line": 41, + "column": 8 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 308, - "end": 313, + "start": 1119, + "end": 1120, "loc": { "start": { - "line": 17, - "column": 10 + "line": 41, + "column": 8 }, "end": { - "line": 17, - "column": 15 + "line": 41, + "column": 9 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 313, - "end": 314, + "value": "demo", + "start": 1121, + "end": 1127, "loc": { "start": { - "line": 17, - "column": 15 + "line": 41, + "column": 10 }, "end": { - "line": 17, + "line": 41, "column": 16 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 315, - "end": 316, + "start": 1127, + "end": 1128, "loc": { "start": { - "line": 17, - "column": 17 + "line": 41, + "column": 16 }, "end": { - "line": 17, - "column": 18 + "line": 41, + "column": 17 } } }, @@ -9406,48 +11096,49 @@ "postfix": false, "binop": null }, - "value": "reject", - "start": 325, - "end": 331, + "value": "docs", + "start": 1133, + "end": 1137, "loc": { "start": { - "line": 18, - "column": 8 + "line": 42, + "column": 4 }, "end": { - "line": 18, - "column": 14 + "line": 42, + "column": 8 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 331, - "end": 332, + "start": 1137, + "end": 1138, "loc": { "start": { - "line": 18, - "column": 14 + "line": 42, + "column": 8 }, "end": { - "line": 18, - "column": 15 + "line": 42, + "column": 9 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9455,50 +11146,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "error", - "start": 332, - "end": 337, - "loc": { - "start": { - "line": 18, - "column": 15 - }, - "end": { - "line": 18, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 337, - "end": 338, + "value": "docs", + "start": 1139, + "end": 1145, "loc": { "start": { - "line": 18, - "column": 20 + "line": 42, + "column": 10 }, "end": { - "line": 18, - "column": 21 + "line": 42, + "column": 16 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -9509,24 +11176,24 @@ "binop": null, "updateContext": null }, - "start": 338, - "end": 339, + "start": 1145, + "end": 1146, "loc": { "start": { - "line": 18, - "column": 21 + "line": 42, + "column": 16 }, "end": { - "line": 18, - "column": 22 + "line": 42, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9534,24 +11201,24 @@ "postfix": false, "binop": null }, - "start": 346, - "end": 347, + "value": "use", + "start": 1151, + "end": 1154, "loc": { "start": { - "line": 19, - "column": 6 + "line": 43, + "column": 4 }, "end": { - "line": 19, + "line": 43, "column": 7 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9561,23 +11228,22 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 354, - "end": 356, + "start": 1154, + "end": 1155, "loc": { "start": { - "line": 20, - "column": 6 + "line": 43, + "column": 7 }, "end": { - "line": 20, + "line": 43, "column": 8 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -9585,25 +11251,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 357, - "end": 358, + "start": 1156, + "end": 1157, "loc": { "start": { - "line": 20, + "line": 43, "column": 9 }, "end": { - "line": 20, + "line": 43, "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9612,104 +11279,104 @@ "postfix": false, "binop": null }, - "value": "files", - "start": 358, - "end": 363, + "start": 1157, + "end": 1158, "loc": { "start": { - "line": 20, + "line": 43, "column": 10 }, "end": { - "line": 20, - "column": 15 + "line": 43, + "column": 11 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 363, - "end": 364, + "value": "path", + "start": 1158, + "end": 1162, "loc": { "start": { - "line": 20, - "column": 15 + "line": 43, + "column": 11 }, "end": { - "line": 20, - "column": 16 + "line": 43, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 364, - "end": 370, + "start": 1162, + "end": 1163, "loc": { "start": { - "line": 20, - "column": 16 + "line": 43, + "column": 15 }, "end": { - "line": 20, - "column": 22 + "line": 43, + "column": 16 } } }, { "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">", - "start": 371, - "end": 372, + "value": "null", + "start": 1164, + "end": 1168, "loc": { "start": { - "line": 20, - "column": 23 + "line": 43, + "column": 17 }, "end": { - "line": 20, - "column": 24 + "line": 43, + "column": 21 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9718,25 +11385,24 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 373, - "end": 374, + "start": 1168, + "end": 1169, "loc": { "start": { - "line": 20, - "column": 25 + "line": 43, + "column": 21 }, "end": { - "line": 20, - "column": 26 + "line": 43, + "column": 22 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9744,47 +11410,50 @@ "postfix": false, "binop": null }, - "start": 374, - "end": 375, + "value": "static", + "start": 1170, + "end": 1176, "loc": { "start": { - "line": 20, - "column": 26 + "line": 43, + "column": 23 }, "end": { - "line": 20, - "column": 27 + "line": 43, + "column": 29 } } }, { "type": { - "label": "{", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 376, - "end": 377, + "start": 1176, + "end": 1177, "loc": { "start": { - "line": 20, - "column": 28 + "line": 43, + "column": 29 }, "end": { - "line": 20, - "column": 29 + "line": 43, + "column": 30 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9792,27 +11461,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "resolve", - "start": 386, - "end": 393, + "value": "null", + "start": 1178, + "end": 1182, "loc": { "start": { - "line": 21, - "column": 8 + "line": 43, + "column": 31 }, "end": { - "line": 21, - "column": 15 + "line": 43, + "column": 35 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9820,250 +11490,258 @@ "postfix": false, "binop": null }, - "start": 393, - "end": 394, + "start": 1182, + "end": 1183, "loc": { "start": { - "line": 21, - "column": 15 + "line": 43, + "column": 35 }, "end": { - "line": 21, - "column": 16 + "line": 43, + "column": 36 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "files", - "start": 394, - "end": 399, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 21, - "column": 16 + "line": 43, + "column": 36 }, "end": { - "line": 21, - "column": 21 + "line": 43, + "column": 37 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 399, - "end": 400, + "start": 1184, + "end": 1185, "loc": { "start": { - "line": 21, - "column": 21 + "line": 43, + "column": 37 }, "end": { - "line": 21, - "column": 22 + "line": 43, + "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 400, - "end": 401, + "value": "bowerPath", + "start": 1190, + "end": 1199, "loc": { "start": { - "line": 21, - "column": 22 + "line": 44, + "column": 4 }, "end": { - "line": 21, - "column": 23 + "line": 44, + "column": 13 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 408, - "end": 409, + "start": 1199, + "end": 1200, "loc": { "start": { - "line": 22, - "column": 6 + "line": 44, + "column": 13 }, "end": { - "line": 22, - "column": 7 + "line": 44, + "column": 14 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 414, - "end": 415, + "value": "bower_components", + "start": 1201, + "end": 1219, "loc": { "start": { - "line": 23, - "column": 4 + "line": 44, + "column": 15 }, - "end": { - "line": 23, - "column": 5 + "end": { + "line": 44, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 415, - "end": 416, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 23, - "column": 5 + "line": 44, + "column": 33 }, "end": { - "line": 23, - "column": 6 + "line": 44, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 416, - "end": 417, + "value": "nodeModulesPath", + "start": 1225, + "end": 1240, "loc": { "start": { - "line": 23, - "column": 6 + "line": 45, + "column": 4 }, "end": { - "line": 23, - "column": 7 + "line": 45, + "column": 19 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 420, - "end": 421, + "start": 1240, + "end": 1241, "loc": { "start": { - "line": 24, - "column": 2 + "line": 45, + "column": 19 }, "end": { - "line": 24, - "column": 3 + "line": 45, + "column": 20 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 421, - "end": 422, + "value": "node_modules", + "start": 1242, + "end": 1256, "loc": { "start": { - "line": 24, - "column": 3 + "line": 45, + "column": 21 }, "end": { - "line": 24, - "column": 4 + "line": 45, + "column": 35 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -10074,24 +11752,24 @@ "binop": null, "updateContext": null }, - "start": 422, - "end": 423, + "start": 1256, + "end": 1257, "loc": { "start": { - "line": 24, - "column": 4 + "line": 45, + "column": 35 }, "end": { - "line": 24, - "column": 5 + "line": 45, + "column": 36 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10099,22 +11777,23 @@ "postfix": false, "binop": null }, - "start": 424, - "end": 425, + "value": "index", + "start": 1262, + "end": 1267, "loc": { "start": { - "line": 25, - "column": 0 + "line": 46, + "column": 4 }, "end": { - "line": 25, - "column": 1 + "line": 46, + "column": 9 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -10125,25 +11804,25 @@ "binop": null, "updateContext": null }, - "start": 425, - "end": 426, + "start": 1267, + "end": 1268, "loc": { "start": { - "line": 25, - "column": 1 + "line": 46, + "column": 9 }, "end": { - "line": 25, - "column": 2 + "line": 46, + "column": 10 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "null", + "keyword": "null", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10152,52 +11831,48 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 428, - "end": 434, + "value": "null", + "start": 1269, + "end": 1273, "loc": { "start": { - "line": 27, - "column": 0 + "line": 46, + "column": 11 }, "end": { - "line": 27, - "column": 6 + "line": 46, + "column": 15 } } }, { "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "default", - "start": 435, - "end": 442, + "start": 1273, + "end": 1274, "loc": { "start": { - "line": 27, - "column": 7 + "line": 46, + "column": 15 }, "end": { - "line": 27, - "column": 14 + "line": 46, + "column": 16 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10205,27 +11880,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 443, - "end": 448, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 27, - "column": 15 + "line": 46, + "column": 16 }, "end": { - "line": 27, - "column": 20 + "line": 46, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10234,58 +11907,69 @@ "postfix": false, "binop": null }, - "value": "Server", - "start": 449, - "end": 455, + "start": 1276, + "end": 1277, "loc": { "start": { - "line": 27, - "column": 21 + "line": 46, + "column": 18 }, "end": { - "line": 27, - "column": 27 + "line": 46, + "column": 19 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 456, - "end": 457, + "value": "if", + "start": 1282, + "end": 1284, "loc": { "start": { - "line": 27, - "column": 28 + "line": 47, + "column": 4 }, "end": { - "line": 27, - "column": 29 + "line": 47, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.path src path of the component\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default\n ", - "start": 459, - "end": 973, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1285, + "end": 1286, "loc": { "start": { - "line": 29, - "column": 0 + "line": 47, + "column": 7 }, "end": { - "line": 38, - "column": 3 + "line": 47, + "column": 8 } } }, @@ -10301,25 +11985,25 @@ "postfix": false, "binop": null }, - "value": "serve", - "start": 976, - "end": 981, + "value": "server", + "start": 1286, + "end": 1292, "loc": { "start": { - "line": 39, - "column": 2 + "line": 47, + "column": 8 }, "end": { - "line": 39, - "column": 7 + "line": 47, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10327,23 +12011,23 @@ "postfix": false, "binop": null }, - "start": 981, - "end": 982, + "start": 1292, + "end": 1293, "loc": { "start": { - "line": 39, - "column": 7 + "line": 47, + "column": 14 }, "end": { - "line": 39, - "column": 8 + "line": 47, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10352,95 +12036,96 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 982, - "end": 988, + "start": 1294, + "end": 1295, "loc": { "start": { - "line": 39, - "column": 8 + "line": 47, + "column": 16 }, "end": { - "line": 39, - "column": 14 + "line": 47, + "column": 17 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 988, - "end": 989, + "value": "this", + "start": 1302, + "end": 1306, "loc": { "start": { - "line": 39, - "column": 14 + "line": 48, + "column": 6 }, "end": { - "line": 39, - "column": 15 + "line": 48, + "column": 10 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 990, - "end": 991, + "start": 1306, + "end": 1307, "loc": { "start": { - "line": 39, - "column": 16 + "line": 48, + "column": 10 }, "end": { - "line": 39, - "column": 17 + "line": 48, + "column": 11 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 996, - "end": 998, + "value": "handleOldOptions", + "start": 1307, + "end": 1323, "loc": { "start": { - "line": 40, - "column": 4 + "line": 48, + "column": 11 }, "end": { - "line": 40, - "column": 6 + "line": 48, + "column": 27 } } }, @@ -10456,16 +12141,16 @@ "postfix": false, "binop": null }, - "start": 999, - "end": 1000, + "start": 1323, + "end": 1324, "loc": { "start": { - "line": 40, - "column": 7 + "line": 48, + "column": 27 }, "end": { - "line": 40, - "column": 8 + "line": 48, + "column": 28 } } }, @@ -10482,16 +12167,16 @@ "binop": null }, "value": "server", - "start": 1000, - "end": 1006, + "start": 1324, + "end": 1330, "loc": { "start": { - "line": 40, - "column": 8 + "line": 48, + "column": 28 }, "end": { - "line": 40, - "column": 14 + "line": 48, + "column": 34 } } }, @@ -10507,41 +12192,42 @@ "postfix": false, "binop": null }, - "start": 1006, - "end": 1007, + "start": 1330, + "end": 1331, "loc": { "start": { - "line": 40, - "column": 14 + "line": 48, + "column": 34 }, "end": { - "line": 40, - "column": 15 + "line": 48, + "column": 35 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1008, - "end": 1009, + "start": 1331, + "end": 1332, "loc": { "start": { - "line": 40, - "column": 16 + "line": 48, + "column": 35 }, "end": { - "line": 40, - "column": 17 + "line": 48, + "column": 36 } } }, @@ -10560,15 +12246,15 @@ "updateContext": null }, "value": "if", - "start": 1016, - "end": 1018, + "start": 1339, + "end": 1341, "loc": { "start": { - "line": 41, + "line": 49, "column": 6 }, "end": { - "line": 41, + "line": 49, "column": 8 } } @@ -10585,15 +12271,15 @@ "postfix": false, "binop": null }, - "start": 1019, - "end": 1020, + "start": 1342, + "end": 1343, "loc": { "start": { - "line": 41, + "line": 49, "column": 9 }, "end": { - "line": 41, + "line": 49, "column": 10 } } @@ -10611,15 +12297,15 @@ "binop": null }, "value": "server", - "start": 1020, - "end": 1026, + "start": 1343, + "end": 1349, "loc": { "start": { - "line": 41, + "line": 49, "column": 10 }, "end": { - "line": 41, + "line": 49, "column": 16 } } @@ -10637,15 +12323,15 @@ "binop": null, "updateContext": null }, - "start": 1026, - "end": 1027, + "start": 1349, + "end": 1350, "loc": { "start": { - "line": 41, + "line": 49, "column": 16 }, "end": { - "line": 41, + "line": 49, "column": 17 } } @@ -10662,17 +12348,17 @@ "postfix": false, "binop": null }, - "value": "elementLocation", - "start": 1027, - "end": 1042, + "value": "use", + "start": 1350, + "end": 1353, "loc": { "start": { - "line": 41, + "line": 49, "column": 17 }, "end": { - "line": 41, - "column": 32 + "line": 49, + "column": 20 } } }, @@ -10688,16 +12374,16 @@ "postfix": false, "binop": null }, - "start": 1042, - "end": 1043, + "start": 1353, + "end": 1354, "loc": { "start": { - "line": 41, - "column": 32 + "line": 49, + "column": 20 }, "end": { - "line": 41, - "column": 33 + "line": 49, + "column": 21 } } }, @@ -10713,23 +12399,51 @@ "postfix": false, "binop": null }, - "start": 1044, - "end": 1045, + "start": 1355, + "end": 1356, "loc": { "start": { - "line": 41, - "column": 34 + "line": 49, + "column": 22 }, "end": { - "line": 41, - "column": 35 + "line": 49, + "column": 23 } } }, { "type": { - "label": "name", + "label": "for", + "keyword": "for", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 1365, + "end": 1368, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10738,23 +12452,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 1054, - "end": 1060, + "start": 1369, + "end": 1370, "loc": { "start": { - "line": 42, - "column": 8 + "line": 50, + "column": 12 }, "end": { - "line": 42, - "column": 14 + "line": 50, + "column": 13 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10765,16 +12479,17 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "value": "let", + "start": 1370, + "end": 1373, "loc": { "start": { - "line": 42, - "column": 14 + "line": 50, + "column": 13 }, "end": { - "line": 42, - "column": 15 + "line": 50, + "column": 16 } } }, @@ -10790,24 +12505,50 @@ "postfix": false, "binop": null }, - "value": "warn", - "start": 1061, - "end": 1065, + "value": "use", + "start": 1374, + "end": 1377, "loc": { "start": { - "line": 42, - "column": 15 + "line": 50, + "column": 17 }, "end": { - "line": 42, - "column": 19 + "line": 50, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "of", + "start": 1378, + "end": 1380, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10816,22 +12557,49 @@ "postfix": false, "binop": null }, - "start": 1065, - "end": 1066, + "value": "server", + "start": 1381, + "end": 1387, + "loc": { + "start": { + "line": 50, + "column": 24 + }, + "end": { + "line": 50, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1387, + "end": 1388, "loc": { "start": { - "line": 42, - "column": 19 + "line": 50, + "column": 30 }, "end": { - "line": 42, - "column": 20 + "line": 50, + "column": 31 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10839,20 +12607,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Deprecated::server.elementLocation, support ends @0.2.0 [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more", - "start": 1066, - "end": 1197, + "value": "use", + "start": 1388, + "end": 1391, "loc": { "start": { - "line": 42, - "column": 20 + "line": 50, + "column": 31 }, "end": { - "line": 42, - "column": 151 + "line": 50, + "column": 34 } } }, @@ -10868,42 +12635,41 @@ "postfix": false, "binop": null }, - "start": 1197, - "end": 1198, + "start": 1391, + "end": 1392, "loc": { "start": { - "line": 42, - "column": 151 + "line": 50, + "column": 34 }, "end": { - "line": 42, - "column": 152 + "line": 50, + "column": 35 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1198, - "end": 1199, + "start": 1393, + "end": 1394, "loc": { "start": { - "line": 42, - "column": 152 + "line": 50, + "column": 36 }, "end": { - "line": 42, - "column": 153 + "line": 50, + "column": 37 } } }, @@ -10920,16 +12686,16 @@ "binop": null }, "value": "app", - "start": 1208, - "end": 1211, + "start": 1405, + "end": 1408, "loc": { "start": { - "line": 43, - "column": 8 + "line": 51, + "column": 10 }, "end": { - "line": 43, - "column": 11 + "line": 51, + "column": 13 } } }, @@ -10946,16 +12712,16 @@ "binop": null, "updateContext": null }, - "start": 1211, - "end": 1212, + "start": 1408, + "end": 1409, "loc": { "start": { - "line": 43, - "column": 11 + "line": 51, + "column": 13 }, "end": { - "line": 43, - "column": 12 + "line": 51, + "column": 14 } } }, @@ -10972,16 +12738,16 @@ "binop": null }, "value": "use", - "start": 1212, - "end": 1215, + "start": 1409, + "end": 1412, "loc": { "start": { - "line": 43, - "column": 12 + "line": 51, + "column": 14 }, "end": { - "line": 43, - "column": 15 + "line": 51, + "column": 17 } } }, @@ -10997,22 +12763,22 @@ "postfix": false, "binop": null }, - "start": 1215, - "end": 1216, + "start": 1412, + "end": 1413, "loc": { "start": { - "line": 43, - "column": 15 + "line": 51, + "column": 17 }, "end": { - "line": 43, - "column": 16 + "line": 51, + "column": 18 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11022,22 +12788,23 @@ "postfix": false, "binop": null }, - "start": 1216, - "end": 1217, + "value": "use", + "start": 1413, + "end": 1416, "loc": { "start": { - "line": 43, - "column": 16 + "line": 51, + "column": 18 }, "end": { - "line": 43, - "column": 17 + "line": 51, + "column": 21 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11048,24 +12815,23 @@ "binop": null, "updateContext": null }, - "value": "/", - "start": 1217, - "end": 1218, + "start": 1416, + "end": 1417, "loc": { "start": { - "line": 43, - "column": 17 + "line": 51, + "column": 21 }, "end": { - "line": 43, - "column": 18 + "line": 51, + "column": 22 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11074,16 +12840,43 @@ "postfix": false, "binop": null }, - "start": 1218, - "end": 1220, + "value": "path", + "start": 1417, + "end": 1421, "loc": { "start": { - "line": 43, - "column": 18 + "line": 51, + "column": 22 }, "end": { - "line": 43, - "column": 20 + "line": 51, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1421, + "end": 1422, + "loc": { + "start": { + "line": 51, + "column": 26 + }, + "end": { + "line": 51, + "column": 27 } } }, @@ -11099,17 +12892,17 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1220, - "end": 1226, + "value": "express", + "start": 1423, + "end": 1430, "loc": { "start": { - "line": 43, - "column": 20 + "line": 51, + "column": 28 }, "end": { - "line": 43, - "column": 26 + "line": 51, + "column": 35 } } }, @@ -11126,16 +12919,16 @@ "binop": null, "updateContext": null }, - "start": 1226, - "end": 1227, + "start": 1430, + "end": 1431, "loc": { "start": { - "line": 43, - "column": 26 + "line": 51, + "column": 35 }, "end": { - "line": 43, - "column": 27 + "line": 51, + "column": 36 } } }, @@ -11151,25 +12944,25 @@ "postfix": false, "binop": null }, - "value": "elementLocation", - "start": 1227, - "end": 1242, + "value": "static", + "start": 1431, + "end": 1437, "loc": { "start": { - "line": 43, - "column": 27 + "line": 51, + "column": 36 }, "end": { - "line": 43, + "line": 51, "column": 42 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11177,24 +12970,25 @@ "postfix": false, "binop": null }, - "start": 1242, - "end": 1243, + "start": 1437, + "end": 1438, "loc": { "start": { - "line": 43, + "line": 51, "column": 42 }, "end": { - "line": 43, + "line": 51, "column": 43 } } }, { "type": { - "label": "template", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11203,23 +12997,49 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 1243, - "end": 1243, + "value": "this", + "start": 1438, + "end": 1442, "loc": { "start": { - "line": 43, + "line": 51, "column": 43 }, "end": { - "line": 43, - "column": 43 + "line": 51, + "column": 47 } } }, { "type": { - "label": "`", + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1442, + "end": 1443, + "loc": { + "start": { + "line": 51, + "column": 47 + }, + "end": { + "line": 51, + "column": 48 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11229,42 +13049,42 @@ "postfix": false, "binop": null }, - "start": 1243, - "end": 1244, + "value": "appLocation", + "start": 1443, + "end": 1454, "loc": { "start": { - "line": 43, - "column": 43 + "line": 51, + "column": 48 }, "end": { - "line": 43, - "column": 44 + "line": 51, + "column": 59 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1244, - "end": 1245, + "start": 1454, + "end": 1455, "loc": { "start": { - "line": 43, - "column": 44 + "line": 51, + "column": 59 }, "end": { - "line": 43, - "column": 45 + "line": 51, + "column": 60 } } }, @@ -11280,17 +13100,17 @@ "postfix": false, "binop": null }, - "value": "express", - "start": 1246, - "end": 1253, + "value": "use", + "start": 1455, + "end": 1458, "loc": { "start": { - "line": 43, - "column": 46 + "line": 51, + "column": 60 }, "end": { - "line": 43, - "column": 53 + "line": 51, + "column": 63 } } }, @@ -11307,16 +13127,16 @@ "binop": null, "updateContext": null }, - "start": 1253, - "end": 1254, + "start": 1458, + "end": 1459, "loc": { "start": { - "line": 43, - "column": 53 + "line": 51, + "column": 63 }, "end": { - "line": 43, - "column": 54 + "line": 51, + "column": 64 } } }, @@ -11333,48 +13153,49 @@ "binop": null }, "value": "static", - "start": 1254, - "end": 1260, + "start": 1459, + "end": 1465, "loc": { "start": { - "line": 43, - "column": 54 + "line": 51, + "column": 64 }, "end": { - "line": 43, - "column": 60 + "line": 51, + "column": 70 } } }, { "type": { - "label": "(", + "label": "||", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "start": 1260, - "end": 1261, + "value": "||", + "start": 1466, + "end": 1468, "loc": { "start": { - "line": 43, - "column": 60 + "line": 51, + "column": 71 }, "end": { - "line": 43, - "column": 61 + "line": 51, + "column": 73 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11382,20 +13203,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1272, - "end": 1276, + "value": "use", + "start": 1469, + "end": 1472, "loc": { "start": { - "line": 44, - "column": 10 + "line": 51, + "column": 74 }, "end": { - "line": 44, - "column": 14 + "line": 51, + "column": 77 } } }, @@ -11412,16 +13232,16 @@ "binop": null, "updateContext": null }, - "start": 1276, - "end": 1277, + "start": 1472, + "end": 1473, "loc": { "start": { - "line": 44, - "column": 14 + "line": 51, + "column": 77 }, "end": { - "line": 44, - "column": 15 + "line": 51, + "column": 78 } } }, @@ -11437,50 +13257,25 @@ "postfix": false, "binop": null }, - "value": "appLocation", - "start": 1277, - "end": 1288, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1288, - "end": 1289, + "value": "path", + "start": 1473, + "end": 1477, "loc": { "start": { - "line": 44, - "column": 26 + "line": 51, + "column": 78 }, "end": { - "line": 44, - "column": 27 + "line": 51, + "column": 82 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11488,23 +13283,22 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1289, - "end": 1295, + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 44, - "column": 27 + "line": 51, + "column": 82 }, "end": { - "line": 44, - "column": 33 + "line": 51, + "column": 83 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11512,27 +13306,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1295, - "end": 1296, + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 44, - "column": 33 + "line": 51, + "column": 83 }, "end": { - "line": 44, - "column": 34 + "line": 51, + "column": 84 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11540,23 +13333,22 @@ "postfix": false, "binop": null }, - "value": "path", - "start": 1296, - "end": 1300, + "start": 1479, + "end": 1480, "loc": { "start": { - "line": 44, - "column": 34 + "line": 51, + "column": 84 }, "end": { - "line": 44, - "column": 38 + "line": 51, + "column": 85 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -11567,49 +13359,47 @@ "binop": null, "updateContext": null }, - "start": 1300, - "end": 1301, + "start": 1480, + "end": 1481, "loc": { "start": { - "line": 44, - "column": 38 + "line": 51, + "column": 85 }, "end": { - "line": 44, - "column": 39 + "line": 51, + "column": 86 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "some-element.js", - "start": 1302, - "end": 1319, + "start": 1490, + "end": 1491, "loc": { "start": { - "line": 44, - "column": 40 + "line": 52, + "column": 8 }, "end": { - "line": 44, - "column": 57 + "line": 52, + "column": 9 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11619,24 +13409,24 @@ "postfix": false, "binop": null }, - "start": 1319, - "end": 1320, + "start": 1498, + "end": 1499, "loc": { "start": { - "line": 44, - "column": 57 + "line": 53, + "column": 6 }, "end": { - "line": 44, - "column": 58 + "line": 53, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11644,22 +13434,23 @@ "postfix": false, "binop": null }, - "start": 1320, - "end": 1321, + "value": "app", + "start": 1506, + "end": 1509, "loc": { "start": { - "line": 44, - "column": 58 + "line": 54, + "column": 6 }, "end": { - "line": 44, - "column": 59 + "line": 54, + "column": 9 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11667,52 +13458,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1321, - "end": 1322, + "start": 1509, + "end": 1510, "loc": { "start": { - "line": 44, - "column": 59 + "line": 54, + "column": 9 }, "end": { - "line": 44, - "column": 60 + "line": 54, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1322, - "end": 1323, + "value": "use", + "start": 1510, + "end": 1513, "loc": { "start": { - "line": 44, - "column": 60 + "line": 54, + "column": 10 }, "end": { - "line": 44, - "column": 61 + "line": 54, + "column": 13 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11720,25 +13512,24 @@ "postfix": false, "binop": null }, - "start": 1330, - "end": 1331, + "start": 1513, + "end": 1514, "loc": { "start": { - "line": 45, - "column": 6 + "line": 54, + "column": 13 }, "end": { - "line": 45, - "column": 7 + "line": 54, + "column": 14 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11747,42 +13538,43 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1338, - "end": 1340, + "value": "/bower_components", + "start": 1514, + "end": 1533, "loc": { "start": { - "line": 46, - "column": 6 + "line": 54, + "column": 14 }, "end": { - "line": 46, - "column": 8 + "line": 54, + "column": 33 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1341, - "end": 1342, + "start": 1533, + "end": 1534, "loc": { "start": { - "line": 46, - "column": 9 + "line": 54, + "column": 33 }, "end": { - "line": 46, - "column": 10 + "line": 54, + "column": 34 } } }, @@ -11798,17 +13590,17 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1342, - "end": 1348, + "value": "express", + "start": 1535, + "end": 1542, "loc": { "start": { - "line": 46, - "column": 10 + "line": 54, + "column": 35 }, "end": { - "line": 46, - "column": 16 + "line": 54, + "column": 42 } } }, @@ -11825,16 +13617,16 @@ "binop": null, "updateContext": null }, - "start": 1348, - "end": 1349, + "start": 1542, + "end": 1543, "loc": { "start": { - "line": 46, - "column": 16 + "line": 54, + "column": 42 }, "end": { - "line": 46, - "column": 17 + "line": 54, + "column": 43 } } }, @@ -11850,25 +13642,25 @@ "postfix": false, "binop": null }, - "value": "use", - "start": 1349, - "end": 1352, + "value": "static", + "start": 1543, + "end": 1549, "loc": { "start": { - "line": 46, - "column": 17 + "line": 54, + "column": 43 }, "end": { - "line": 46, - "column": 20 + "line": 54, + "column": 49 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11876,76 +13668,77 @@ "postfix": false, "binop": null }, - "start": 1352, - "end": 1353, + "start": 1549, + "end": 1550, "loc": { "start": { - "line": 46, - "column": 20 + "line": 54, + "column": 49 }, "end": { - "line": 46, - "column": 21 + "line": 54, + "column": 50 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1354, - "end": 1355, + "value": "this", + "start": 1559, + "end": 1563, "loc": { "start": { - "line": 46, - "column": 22 + "line": 55, + "column": 8 }, "end": { - "line": 46, - "column": 23 + "line": 55, + "column": 12 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 1364, - "end": 1367, + "start": 1563, + "end": 1564, "loc": { "start": { - "line": 47, - "column": 8 + "line": 55, + "column": 12 }, "end": { - "line": 47, - "column": 11 + "line": 55, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11954,44 +13747,42 @@ "postfix": false, "binop": null }, - "start": 1368, - "end": 1369, + "value": "appLocation", + "start": 1564, + "end": 1575, "loc": { "start": { - "line": 47, - "column": 12 + "line": 55, + "column": 13 }, "end": { - "line": 47, - "column": 13 + "line": 55, + "column": 24 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 1369, - "end": 1372, + "start": 1575, + "end": 1576, "loc": { "start": { - "line": 47, - "column": 13 + "line": 55, + "column": 24 }, "end": { - "line": 47, - "column": 16 + "line": 55, + "column": 25 } } }, @@ -12007,43 +13798,43 @@ "postfix": false, "binop": null }, - "value": "use", - "start": 1373, - "end": 1376, + "value": "server", + "start": 1576, + "end": 1582, "loc": { "start": { - "line": 47, - "column": 17 + "line": 55, + "column": 25 }, "end": { - "line": 47, - "column": 20 + "line": 55, + "column": 31 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "of", - "start": 1377, - "end": 1379, + "start": 1582, + "end": 1583, "loc": { "start": { - "line": 47, - "column": 21 + "line": 55, + "column": 31 }, "end": { - "line": 47, - "column": 23 + "line": 55, + "column": 32 } } }, @@ -12059,24 +13850,24 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1380, - "end": 1386, + "value": "bowerPath", + "start": 1583, + "end": 1592, "loc": { "start": { - "line": 47, - "column": 24 + "line": 55, + "column": 32 }, "end": { - "line": 47, - "column": 30 + "line": 55, + "column": 41 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12086,22 +13877,22 @@ "binop": null, "updateContext": null }, - "start": 1386, - "end": 1387, + "start": 1592, + "end": 1593, "loc": { "start": { - "line": 47, - "column": 30 + "line": 55, + "column": 41 }, "end": { - "line": 47, - "column": 31 + "line": 55, + "column": 42 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12109,19 +13900,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "use", - "start": 1387, - "end": 1390, + "value": "bower_components", + "start": 1594, + "end": 1612, "loc": { "start": { - "line": 47, - "column": 31 + "line": 55, + "column": 43 }, "end": { - "line": 47, - "column": 34 + "line": 55, + "column": 61 } } }, @@ -12137,24 +13929,24 @@ "postfix": false, "binop": null }, - "start": 1390, - "end": 1391, + "start": 1612, + "end": 1613, "loc": { "start": { - "line": 47, - "column": 34 + "line": 55, + "column": 61 }, "end": { - "line": 47, - "column": 35 + "line": 55, + "column": 62 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12162,24 +13954,24 @@ "postfix": false, "binop": null }, - "start": 1392, - "end": 1393, + "start": 1613, + "end": 1614, "loc": { "start": { - "line": 47, - "column": 36 + "line": 55, + "column": 62 }, "end": { - "line": 47, - "column": 37 + "line": 55, + "column": 63 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12187,24 +13979,23 @@ "postfix": false, "binop": null }, - "value": "app", - "start": 1404, - "end": 1407, + "start": 1614, + "end": 1615, "loc": { "start": { - "line": 48, - "column": 10 + "line": 55, + "column": 63 }, "end": { - "line": 48, - "column": 13 + "line": 55, + "column": 64 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12214,16 +14005,16 @@ "binop": null, "updateContext": null }, - "start": 1407, - "end": 1408, + "start": 1615, + "end": 1616, "loc": { "start": { - "line": 48, - "column": 13 + "line": 55, + "column": 64 }, "end": { - "line": 48, - "column": 14 + "line": 55, + "column": 65 } } }, @@ -12239,42 +14030,43 @@ "postfix": false, "binop": null }, - "value": "use", - "start": 1408, - "end": 1411, + "value": "app", + "start": 1624, + "end": 1627, "loc": { "start": { - "line": 48, - "column": 14 + "line": 57, + "column": 6 }, "end": { - "line": 48, - "column": 17 + "line": 57, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1411, - "end": 1412, + "start": 1627, + "end": 1628, "loc": { "start": { - "line": 48, - "column": 17 + "line": 57, + "column": 9 }, "end": { - "line": 48, - "column": 18 + "line": 57, + "column": 10 } } }, @@ -12291,48 +14083,47 @@ "binop": null }, "value": "use", - "start": 1412, - "end": 1415, + "start": 1628, + "end": 1631, "loc": { "start": { - "line": 48, - "column": 18 + "line": 57, + "column": 10 }, "end": { - "line": 48, - "column": 21 + "line": 57, + "column": 13 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1415, - "end": 1416, + "start": 1631, + "end": 1632, "loc": { "start": { - "line": 48, - "column": 21 + "line": 57, + "column": 13 }, "end": { - "line": 48, - "column": 22 + "line": 57, + "column": 14 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12340,19 +14131,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "path", - "start": 1416, - "end": 1420, + "value": "/node_modules", + "start": 1632, + "end": 1647, "loc": { "start": { - "line": 48, - "column": 22 + "line": 57, + "column": 14 }, "end": { - "line": 48, - "column": 26 + "line": 57, + "column": 29 } } }, @@ -12369,16 +14161,16 @@ "binop": null, "updateContext": null }, - "start": 1420, - "end": 1421, + "start": 1647, + "end": 1648, "loc": { "start": { - "line": 48, - "column": 26 + "line": 57, + "column": 29 }, "end": { - "line": 48, - "column": 27 + "line": 57, + "column": 30 } } }, @@ -12395,16 +14187,16 @@ "binop": null }, "value": "express", - "start": 1422, - "end": 1429, + "start": 1649, + "end": 1656, "loc": { "start": { - "line": 48, - "column": 28 + "line": 57, + "column": 31 }, "end": { - "line": 48, - "column": 35 + "line": 57, + "column": 38 } } }, @@ -12421,16 +14213,16 @@ "binop": null, "updateContext": null }, - "start": 1429, - "end": 1430, + "start": 1656, + "end": 1657, "loc": { "start": { - "line": 48, - "column": 35 + "line": 57, + "column": 38 }, "end": { - "line": 48, - "column": 36 + "line": 57, + "column": 39 } } }, @@ -12447,16 +14239,16 @@ "binop": null }, "value": "static", - "start": 1430, - "end": 1436, + "start": 1657, + "end": 1663, "loc": { "start": { - "line": 48, - "column": 36 + "line": 57, + "column": 39 }, "end": { - "line": 48, - "column": 42 + "line": 57, + "column": 45 } } }, @@ -12472,16 +14264,16 @@ "postfix": false, "binop": null }, - "start": 1436, - "end": 1437, + "start": 1663, + "end": 1664, "loc": { "start": { - "line": 48, - "column": 42 + "line": 57, + "column": 45 }, "end": { - "line": 48, - "column": 43 + "line": 57, + "column": 46 } } }, @@ -12500,16 +14292,16 @@ "updateContext": null }, "value": "this", - "start": 1437, - "end": 1441, + "start": 1673, + "end": 1677, "loc": { "start": { - "line": 48, - "column": 43 + "line": 58, + "column": 8 }, "end": { - "line": 48, - "column": 47 + "line": 58, + "column": 12 } } }, @@ -12526,16 +14318,16 @@ "binop": null, "updateContext": null }, - "start": 1441, - "end": 1442, + "start": 1677, + "end": 1678, "loc": { "start": { - "line": 48, - "column": 47 + "line": 58, + "column": 12 }, "end": { - "line": 48, - "column": 48 + "line": 58, + "column": 13 } } }, @@ -12552,16 +14344,16 @@ "binop": null }, "value": "appLocation", - "start": 1442, - "end": 1453, + "start": 1678, + "end": 1689, "loc": { "start": { - "line": 48, - "column": 48 + "line": 58, + "column": 13 }, "end": { - "line": 48, - "column": 59 + "line": 58, + "column": 24 } } }, @@ -12577,16 +14369,16 @@ "postfix": false, "binop": null }, - "start": 1453, - "end": 1454, + "start": 1689, + "end": 1690, "loc": { "start": { - "line": 48, - "column": 59 + "line": 58, + "column": 24 }, "end": { - "line": 48, - "column": 60 + "line": 58, + "column": 25 } } }, @@ -12602,17 +14394,17 @@ "postfix": false, "binop": null }, - "value": "use", - "start": 1454, - "end": 1457, + "value": "server", + "start": 1690, + "end": 1696, "loc": { "start": { - "line": 48, - "column": 60 + "line": 58, + "column": 25 }, "end": { - "line": 48, - "column": 63 + "line": 58, + "column": 31 } } }, @@ -12629,69 +14421,16 @@ "binop": null, "updateContext": null }, - "start": 1457, - "end": 1458, - "loc": { - "start": { - "line": 48, - "column": 63 - }, - "end": { - "line": 48, - "column": 64 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "static", - "start": 1458, - "end": 1464, - "loc": { - "start": { - "line": 48, - "column": 64 - }, - "end": { - "line": 48, - "column": 70 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 1465, - "end": 1467, + "start": 1696, + "end": 1697, "loc": { "start": { - "line": 48, - "column": 71 + "line": 58, + "column": 31 }, "end": { - "line": 48, - "column": 73 + "line": 58, + "column": 32 } } }, @@ -12707,24 +14446,24 @@ "postfix": false, "binop": null }, - "value": "use", - "start": 1468, - "end": 1471, + "value": "nodeModulesPath", + "start": 1697, + "end": 1712, "loc": { "start": { - "line": 48, - "column": 74 + "line": 58, + "column": 32 }, "end": { - "line": 48, - "column": 77 + "line": 58, + "column": 47 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12734,22 +14473,22 @@ "binop": null, "updateContext": null }, - "start": 1471, - "end": 1472, + "start": 1712, + "end": 1713, "loc": { "start": { - "line": 48, - "column": 77 + "line": 58, + "column": 47 }, "end": { - "line": 48, - "column": 78 + "line": 58, + "column": 48 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12757,19 +14496,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "path", - "start": 1472, - "end": 1476, + "value": "node_modules", + "start": 1714, + "end": 1728, "loc": { "start": { - "line": 48, - "column": 78 + "line": 58, + "column": 49 }, "end": { - "line": 48, - "column": 82 + "line": 58, + "column": 63 } } }, @@ -12785,16 +14525,16 @@ "postfix": false, "binop": null }, - "start": 1476, - "end": 1477, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 48, - "column": 82 + "line": 58, + "column": 63 }, "end": { - "line": 48, - "column": 83 + "line": 58, + "column": 64 } } }, @@ -12810,16 +14550,16 @@ "postfix": false, "binop": null }, - "start": 1477, - "end": 1478, + "start": 1729, + "end": 1730, "loc": { "start": { - "line": 48, - "column": 83 + "line": 58, + "column": 64 }, "end": { - "line": 48, - "column": 84 + "line": 58, + "column": 65 } } }, @@ -12835,16 +14575,16 @@ "postfix": false, "binop": null }, - "start": 1478, - "end": 1479, + "start": 1730, + "end": 1731, "loc": { "start": { - "line": 48, - "column": 84 + "line": 58, + "column": 65 }, "end": { - "line": 48, - "column": 85 + "line": 58, + "column": 66 } } }, @@ -12861,66 +14601,48 @@ "binop": null, "updateContext": null }, - "start": 1479, - "end": 1480, + "start": 1731, + "end": 1732, "loc": { "start": { - "line": 48, - "column": 85 + "line": 58, + "column": 66 }, "end": { - "line": 48, - "column": 86 + "line": 58, + "column": 67 } } }, { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1489, - "end": 1490, + "type": "CommentLine", + "value": " app.use(`/${server.elementLocation}`, express.static(", + "start": 1740, + "end": 1796, "loc": { "start": { - "line": 49, - "column": 8 + "line": 60, + "column": 6 }, "end": { - "line": 49, - "column": 9 + "line": 60, + "column": 62 } } }, { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1497, - "end": 1498, + "type": "CommentLine", + "value": " this.appLocation(server.path, 'some-element.js')));", + "start": 1803, + "end": 1859, "loc": { "start": { - "line": 50, + "line": 61, "column": 6 }, "end": { - "line": 50, - "column": 7 + "line": 61, + "column": 62 } } }, @@ -12937,15 +14659,15 @@ "binop": null }, "value": "app", - "start": 1505, - "end": 1508, + "start": 1867, + "end": 1870, "loc": { "start": { - "line": 51, + "line": 63, "column": 6 }, "end": { - "line": 51, + "line": 63, "column": 9 } } @@ -12963,15 +14685,15 @@ "binop": null, "updateContext": null }, - "start": 1508, - "end": 1509, + "start": 1870, + "end": 1871, "loc": { "start": { - "line": 51, + "line": 63, "column": 9 }, "end": { - "line": 51, + "line": 63, "column": 10 } } @@ -12989,15 +14711,15 @@ "binop": null }, "value": "use", - "start": 1509, - "end": 1512, + "start": 1871, + "end": 1874, "loc": { "start": { - "line": 51, + "line": 63, "column": 10 }, "end": { - "line": 51, + "line": 63, "column": 13 } } @@ -13014,15 +14736,15 @@ "postfix": false, "binop": null }, - "start": 1512, - "end": 1513, + "start": 1874, + "end": 1875, "loc": { "start": { - "line": 51, + "line": 63, "column": 13 }, "end": { - "line": 51, + "line": 63, "column": 14 } } @@ -13040,17 +14762,17 @@ "binop": null, "updateContext": null }, - "value": "/bower_components", - "start": 1513, - "end": 1532, + "value": "/", + "start": 1875, + "end": 1878, "loc": { "start": { - "line": 51, + "line": 63, "column": 14 }, "end": { - "line": 51, - "column": 33 + "line": 63, + "column": 17 } } }, @@ -13067,16 +14789,16 @@ "binop": null, "updateContext": null }, - "start": 1532, - "end": 1533, + "start": 1878, + "end": 1879, "loc": { "start": { - "line": 51, - "column": 33 + "line": 63, + "column": 17 }, "end": { - "line": 51, - "column": 34 + "line": 63, + "column": 18 } } }, @@ -13093,16 +14815,16 @@ "binop": null }, "value": "express", - "start": 1534, - "end": 1541, + "start": 1880, + "end": 1887, "loc": { "start": { - "line": 51, - "column": 35 + "line": 63, + "column": 19 }, "end": { - "line": 51, - "column": 42 + "line": 63, + "column": 26 } } }, @@ -13119,16 +14841,16 @@ "binop": null, "updateContext": null }, - "start": 1541, - "end": 1542, + "start": 1887, + "end": 1888, "loc": { "start": { - "line": 51, - "column": 42 + "line": 63, + "column": 26 }, "end": { - "line": 51, - "column": 43 + "line": 63, + "column": 27 } } }, @@ -13145,16 +14867,16 @@ "binop": null }, "value": "static", - "start": 1542, - "end": 1548, + "start": 1888, + "end": 1894, "loc": { "start": { - "line": 51, - "column": 43 + "line": 63, + "column": 27 }, "end": { - "line": 51, - "column": 49 + "line": 63, + "column": 33 } } }, @@ -13170,16 +14892,16 @@ "postfix": false, "binop": null }, - "start": 1548, - "end": 1549, + "start": 1894, + "end": 1895, "loc": { "start": { - "line": 51, - "column": 49 + "line": 63, + "column": 33 }, "end": { - "line": 51, - "column": 50 + "line": 63, + "column": 34 } } }, @@ -13198,15 +14920,15 @@ "updateContext": null }, "value": "this", - "start": 1558, - "end": 1562, + "start": 1904, + "end": 1908, "loc": { "start": { - "line": 52, + "line": 64, "column": 8 }, "end": { - "line": 52, + "line": 64, "column": 12 } } @@ -13224,15 +14946,15 @@ "binop": null, "updateContext": null }, - "start": 1562, - "end": 1563, + "start": 1908, + "end": 1909, "loc": { "start": { - "line": 52, + "line": 64, "column": 12 }, "end": { - "line": 52, + "line": 64, "column": 13 } } @@ -13250,93 +14972,41 @@ "binop": null }, "value": "appLocation", - "start": 1563, - "end": 1574, - "loc": { - "start": { - "line": 52, - "column": 13 - }, - "end": { - "line": 52, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1574, - "end": 1575, - "loc": { - "start": { - "line": 52, - "column": 24 - }, - "end": { - "line": 52, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "server", - "start": 1575, - "end": 1581, + "start": 1909, + "end": 1920, "loc": { "start": { - "line": 52, - "column": 25 + "line": 64, + "column": 13 }, "end": { - "line": 52, - "column": 31 + "line": 64, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1581, - "end": 1582, + "start": 1920, + "end": 1921, "loc": { "start": { - "line": 52, - "column": 31 + "line": 64, + "column": 24 }, "end": { - "line": 52, - "column": 32 + "line": 64, + "column": 25 } } }, @@ -13352,24 +15022,24 @@ "postfix": false, "binop": null }, - "value": "bowerPath", - "start": 1582, - "end": 1591, + "value": "server", + "start": 1921, + "end": 1927, "loc": { "start": { - "line": 52, - "column": 32 + "line": 64, + "column": 25 }, "end": { - "line": 52, - "column": 41 + "line": 64, + "column": 31 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13379,22 +15049,22 @@ "binop": null, "updateContext": null }, - "start": 1591, - "end": 1592, + "start": 1927, + "end": 1928, "loc": { "start": { - "line": 52, - "column": 41 + "line": 64, + "column": 31 }, "end": { - "line": 52, - "column": 42 + "line": 64, + "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13402,20 +15072,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "bower_components", - "start": 1593, - "end": 1611, + "value": "entry", + "start": 1928, + "end": 1933, "loc": { "start": { - "line": 52, - "column": 43 + "line": 64, + "column": 32 }, "end": { - "line": 52, - "column": 61 + "line": 64, + "column": 37 } } }, @@ -13431,16 +15100,16 @@ "postfix": false, "binop": null }, - "start": 1611, - "end": 1612, + "start": 1933, + "end": 1934, "loc": { "start": { - "line": 52, - "column": 61 + "line": 64, + "column": 37 }, "end": { - "line": 52, - "column": 62 + "line": 64, + "column": 38 } } }, @@ -13456,16 +15125,16 @@ "postfix": false, "binop": null }, - "start": 1612, - "end": 1613, + "start": 1934, + "end": 1935, "loc": { "start": { - "line": 52, - "column": 62 + "line": 64, + "column": 38 }, "end": { - "line": 52, - "column": 63 + "line": 64, + "column": 39 } } }, @@ -13481,16 +15150,16 @@ "postfix": false, "binop": null }, - "start": 1613, - "end": 1614, + "start": 1935, + "end": 1936, "loc": { "start": { - "line": 52, - "column": 63 + "line": 64, + "column": 39 }, "end": { - "line": 52, - "column": 64 + "line": 64, + "column": 40 } } }, @@ -13507,16 +15176,16 @@ "binop": null, "updateContext": null }, - "start": 1614, - "end": 1615, + "start": 1936, + "end": 1937, "loc": { "start": { - "line": 52, - "column": 64 + "line": 64, + "column": 40 }, "end": { - "line": 52, - "column": 65 + "line": 64, + "column": 41 } } }, @@ -13533,15 +15202,15 @@ "binop": null }, "value": "app", - "start": 1623, - "end": 1626, + "start": 1945, + "end": 1948, "loc": { "start": { - "line": 54, + "line": 66, "column": 6 }, "end": { - "line": 54, + "line": 66, "column": 9 } } @@ -13559,15 +15228,15 @@ "binop": null, "updateContext": null }, - "start": 1626, - "end": 1627, + "start": 1948, + "end": 1949, "loc": { "start": { - "line": 54, + "line": 66, "column": 9 }, "end": { - "line": 54, + "line": 66, "column": 10 } } @@ -13585,15 +15254,15 @@ "binop": null }, "value": "use", - "start": 1627, - "end": 1630, + "start": 1949, + "end": 1952, "loc": { "start": { - "line": 54, + "line": 66, "column": 10 }, "end": { - "line": 54, + "line": 66, "column": 13 } } @@ -13610,15 +15279,15 @@ "postfix": false, "binop": null }, - "start": 1630, - "end": 1631, + "start": 1952, + "end": 1953, "loc": { "start": { - "line": 54, + "line": 66, "column": 13 }, "end": { - "line": 54, + "line": 66, "column": 14 } } @@ -13636,17 +15305,17 @@ "binop": null, "updateContext": null }, - "value": "/node_modules", - "start": 1631, - "end": 1646, + "value": "/demo", + "start": 1953, + "end": 1960, "loc": { "start": { - "line": 54, + "line": 66, "column": 14 }, "end": { - "line": 54, - "column": 29 + "line": 66, + "column": 21 } } }, @@ -13663,16 +15332,16 @@ "binop": null, "updateContext": null }, - "start": 1646, - "end": 1647, + "start": 1960, + "end": 1961, "loc": { "start": { - "line": 54, - "column": 29 + "line": 66, + "column": 21 }, "end": { - "line": 54, - "column": 30 + "line": 66, + "column": 22 } } }, @@ -13689,16 +15358,16 @@ "binop": null }, "value": "express", - "start": 1648, - "end": 1655, + "start": 1962, + "end": 1969, "loc": { "start": { - "line": 54, - "column": 31 + "line": 66, + "column": 23 }, "end": { - "line": 54, - "column": 38 + "line": 66, + "column": 30 } } }, @@ -13715,16 +15384,16 @@ "binop": null, "updateContext": null }, - "start": 1655, - "end": 1656, + "start": 1969, + "end": 1970, "loc": { "start": { - "line": 54, - "column": 38 + "line": 66, + "column": 30 }, "end": { - "line": 54, - "column": 39 + "line": 66, + "column": 31 } } }, @@ -13741,16 +15410,16 @@ "binop": null }, "value": "static", - "start": 1656, - "end": 1662, + "start": 1970, + "end": 1976, "loc": { "start": { - "line": 54, - "column": 39 + "line": 66, + "column": 31 }, "end": { - "line": 54, - "column": 45 + "line": 66, + "column": 37 } } }, @@ -13766,16 +15435,16 @@ "postfix": false, "binop": null }, - "start": 1662, - "end": 1663, + "start": 1976, + "end": 1977, "loc": { "start": { - "line": 54, - "column": 45 + "line": 66, + "column": 37 }, "end": { - "line": 54, - "column": 46 + "line": 66, + "column": 38 } } }, @@ -13794,15 +15463,15 @@ "updateContext": null }, "value": "this", - "start": 1672, - "end": 1676, + "start": 1986, + "end": 1990, "loc": { "start": { - "line": 55, + "line": 67, "column": 8 }, "end": { - "line": 55, + "line": 67, "column": 12 } } @@ -13820,15 +15489,15 @@ "binop": null, "updateContext": null }, - "start": 1676, - "end": 1677, + "start": 1990, + "end": 1991, "loc": { "start": { - "line": 55, + "line": 67, "column": 12 }, "end": { - "line": 55, + "line": 67, "column": 13 } } @@ -13846,15 +15515,15 @@ "binop": null }, "value": "appLocation", - "start": 1677, - "end": 1688, + "start": 1991, + "end": 2002, "loc": { "start": { - "line": 55, + "line": 67, "column": 13 }, "end": { - "line": 55, + "line": 67, "column": 24 } } @@ -13871,68 +15540,16 @@ "postfix": false, "binop": null }, - "start": 1688, - "end": 1689, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 55, + "line": 67, "column": 24 }, - "end": { - "line": 55, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "server", - "start": 1689, - "end": 1695, - "loc": { - "start": { - "line": 55, - "column": 25 - }, - "end": { - "line": 55, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1695, - "end": 1696, - "loc": { - "start": { - "line": 55, - "column": 31 - }, - "end": { - "line": 55, - "column": 32 + "end": { + "line": 67, + "column": 25 } } }, @@ -13948,24 +15565,24 @@ "postfix": false, "binop": null }, - "value": "nodeModulesPath", - "start": 1696, - "end": 1711, + "value": "server", + "start": 2003, + "end": 2009, "loc": { "start": { - "line": 55, - "column": 32 + "line": 67, + "column": 25 }, "end": { - "line": 55, - "column": 47 + "line": 67, + "column": 31 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13975,22 +15592,22 @@ "binop": null, "updateContext": null }, - "start": 1711, - "end": 1712, + "start": 2009, + "end": 2010, "loc": { "start": { - "line": 55, - "column": 47 + "line": 67, + "column": 31 }, "end": { - "line": 55, - "column": 48 + "line": 67, + "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13998,20 +15615,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "node_modules", - "start": 1713, - "end": 1727, + "value": "demo", + "start": 2010, + "end": 2014, "loc": { "start": { - "line": 55, - "column": 49 + "line": 67, + "column": 32 }, "end": { - "line": 55, - "column": 63 + "line": 67, + "column": 36 } } }, @@ -14027,16 +15643,16 @@ "postfix": false, "binop": null }, - "start": 1727, - "end": 1728, + "start": 2014, + "end": 2015, "loc": { "start": { - "line": 55, - "column": 63 + "line": 67, + "column": 36 }, "end": { - "line": 55, - "column": 64 + "line": 67, + "column": 37 } } }, @@ -14052,16 +15668,16 @@ "postfix": false, "binop": null }, - "start": 1728, - "end": 1729, + "start": 2015, + "end": 2016, "loc": { "start": { - "line": 55, - "column": 64 + "line": 67, + "column": 37 }, "end": { - "line": 55, - "column": 65 + "line": 67, + "column": 38 } } }, @@ -14077,16 +15693,16 @@ "postfix": false, "binop": null }, - "start": 1729, - "end": 1730, + "start": 2016, + "end": 2017, "loc": { "start": { - "line": 55, - "column": 65 + "line": 67, + "column": 38 }, "end": { - "line": 55, - "column": 66 + "line": 67, + "column": 39 } } }, @@ -14103,48 +15719,16 @@ "binop": null, "updateContext": null }, - "start": 1730, - "end": 1731, - "loc": { - "start": { - "line": 55, - "column": 66 - }, - "end": { - "line": 55, - "column": 67 - } - } - }, - { - "type": "CommentLine", - "value": " app.use(`/${server.elementLocation}`, express.static(", - "start": 1739, - "end": 1795, - "loc": { - "start": { - "line": 57, - "column": 6 - }, - "end": { - "line": 57, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " this.appLocation(server.path, 'some-element.js')));", - "start": 1802, - "end": 1858, + "start": 2017, + "end": 2018, "loc": { "start": { - "line": 58, - "column": 6 + "line": 67, + "column": 39 }, "end": { - "line": 58, - "column": 62 + "line": 67, + "column": 40 } } }, @@ -14161,15 +15745,15 @@ "binop": null }, "value": "app", - "start": 1866, - "end": 1869, + "start": 2026, + "end": 2029, "loc": { "start": { - "line": 60, + "line": 69, "column": 6 }, "end": { - "line": 60, + "line": 69, "column": 9 } } @@ -14187,15 +15771,15 @@ "binop": null, "updateContext": null }, - "start": 1869, - "end": 1870, + "start": 2029, + "end": 2030, "loc": { "start": { - "line": 60, + "line": 69, "column": 9 }, "end": { - "line": 60, + "line": 69, "column": 10 } } @@ -14213,15 +15797,15 @@ "binop": null }, "value": "use", - "start": 1870, - "end": 1873, + "start": 2030, + "end": 2033, "loc": { "start": { - "line": 60, + "line": 69, "column": 10 }, "end": { - "line": 60, + "line": 69, "column": 13 } } @@ -14238,15 +15822,15 @@ "postfix": false, "binop": null }, - "start": 1873, - "end": 1874, + "start": 2033, + "end": 2034, "loc": { "start": { - "line": 60, + "line": 69, "column": 13 }, "end": { - "line": 60, + "line": 69, "column": 14 } } @@ -14264,17 +15848,17 @@ "binop": null, "updateContext": null }, - "value": "/", - "start": 1874, - "end": 1877, + "value": "/docs", + "start": 2034, + "end": 2041, "loc": { "start": { - "line": 60, + "line": 69, "column": 14 }, "end": { - "line": 60, - "column": 17 + "line": 69, + "column": 21 } } }, @@ -14291,16 +15875,16 @@ "binop": null, "updateContext": null }, - "start": 1877, - "end": 1878, + "start": 2041, + "end": 2042, "loc": { "start": { - "line": 60, - "column": 17 + "line": 69, + "column": 21 }, "end": { - "line": 60, - "column": 18 + "line": 69, + "column": 22 } } }, @@ -14317,16 +15901,16 @@ "binop": null }, "value": "express", - "start": 1879, - "end": 1886, + "start": 2043, + "end": 2050, "loc": { "start": { - "line": 60, - "column": 19 + "line": 69, + "column": 23 }, "end": { - "line": 60, - "column": 26 + "line": 69, + "column": 30 } } }, @@ -14343,16 +15927,16 @@ "binop": null, "updateContext": null }, - "start": 1886, - "end": 1887, + "start": 2050, + "end": 2051, "loc": { "start": { - "line": 60, - "column": 26 + "line": 69, + "column": 30 }, "end": { - "line": 60, - "column": 27 + "line": 69, + "column": 31 } } }, @@ -14369,16 +15953,16 @@ "binop": null }, "value": "static", - "start": 1887, - "end": 1893, + "start": 2051, + "end": 2057, "loc": { "start": { - "line": 60, - "column": 27 + "line": 69, + "column": 31 }, "end": { - "line": 60, - "column": 33 + "line": 69, + "column": 37 } } }, @@ -14394,16 +15978,16 @@ "postfix": false, "binop": null }, - "start": 1893, - "end": 1894, + "start": 2057, + "end": 2058, "loc": { "start": { - "line": 60, - "column": 33 + "line": 69, + "column": 37 }, "end": { - "line": 60, - "column": 34 + "line": 69, + "column": 38 } } }, @@ -14422,15 +16006,15 @@ "updateContext": null }, "value": "this", - "start": 1903, - "end": 1907, + "start": 2067, + "end": 2071, "loc": { "start": { - "line": 61, + "line": 70, "column": 8 }, "end": { - "line": 61, + "line": 70, "column": 12 } } @@ -14448,15 +16032,15 @@ "binop": null, "updateContext": null }, - "start": 1907, - "end": 1908, + "start": 2071, + "end": 2072, "loc": { "start": { - "line": 61, + "line": 70, "column": 12 }, "end": { - "line": 61, + "line": 70, "column": 13 } } @@ -14474,93 +16058,41 @@ "binop": null }, "value": "appLocation", - "start": 1908, - "end": 1919, - "loc": { - "start": { - "line": 61, - "column": 13 - }, - "end": { - "line": 61, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1919, - "end": 1920, - "loc": { - "start": { - "line": 61, - "column": 24 - }, - "end": { - "line": 61, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "server", - "start": 1920, - "end": 1926, + "start": 2072, + "end": 2083, "loc": { "start": { - "line": 61, - "column": 25 + "line": 70, + "column": 13 }, "end": { - "line": 61, - "column": 31 + "line": 70, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1926, - "end": 1927, + "start": 2083, + "end": 2084, "loc": { "start": { - "line": 61, - "column": 31 + "line": 70, + "column": 24 }, "end": { - "line": 61, - "column": 32 + "line": 70, + "column": 25 } } }, @@ -14576,24 +16108,24 @@ "postfix": false, "binop": null }, - "value": "entry", - "start": 1927, - "end": 1932, + "value": "server", + "start": 2084, + "end": 2090, "loc": { "start": { - "line": 61, - "column": 32 + "line": 70, + "column": 25 }, "end": { - "line": 61, - "column": 37 + "line": 70, + "column": 31 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14603,22 +16135,22 @@ "binop": null, "updateContext": null }, - "start": 1932, - "end": 1933, + "start": 2090, + "end": 2091, "loc": { "start": { - "line": 61, - "column": 37 + "line": 70, + "column": 31 }, "end": { - "line": 61, - "column": 38 + "line": 70, + "column": 32 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14626,20 +16158,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "dist", - "start": 1934, - "end": 1940, + "value": "docs", + "start": 2091, + "end": 2095, "loc": { "start": { - "line": 61, - "column": 39 + "line": 70, + "column": 32 }, "end": { - "line": 61, - "column": 45 + "line": 70, + "column": 36 } } }, @@ -14655,16 +16186,16 @@ "postfix": false, "binop": null }, - "start": 1940, - "end": 1941, + "start": 2095, + "end": 2096, "loc": { "start": { - "line": 61, - "column": 45 + "line": 70, + "column": 36 }, "end": { - "line": 61, - "column": 46 + "line": 70, + "column": 37 } } }, @@ -14680,16 +16211,16 @@ "postfix": false, "binop": null }, - "start": 1941, - "end": 1942, + "start": 2096, + "end": 2097, "loc": { "start": { - "line": 61, - "column": 46 + "line": 70, + "column": 37 }, "end": { - "line": 61, - "column": 47 + "line": 70, + "column": 38 } } }, @@ -14705,16 +16236,16 @@ "postfix": false, "binop": null }, - "start": 1942, - "end": 1943, + "start": 2097, + "end": 2098, "loc": { "start": { - "line": 61, - "column": 47 + "line": 70, + "column": 38 }, "end": { - "line": 61, - "column": 48 + "line": 70, + "column": 39 } } }, @@ -14731,16 +16262,16 @@ "binop": null, "updateContext": null }, - "start": 1943, - "end": 1944, + "start": 2098, + "end": 2099, "loc": { "start": { - "line": 61, - "column": 48 + "line": 70, + "column": 39 }, "end": { - "line": 61, - "column": 49 + "line": 70, + "column": 40 } } }, @@ -14757,15 +16288,15 @@ "binop": null }, "value": "app", - "start": 1952, - "end": 1955, + "start": 2107, + "end": 2110, "loc": { "start": { - "line": 63, + "line": 72, "column": 6 }, "end": { - "line": 63, + "line": 72, "column": 9 } } @@ -14783,15 +16314,15 @@ "binop": null, "updateContext": null }, - "start": 1955, - "end": 1956, + "start": 2110, + "end": 2111, "loc": { "start": { - "line": 63, + "line": 72, "column": 9 }, "end": { - "line": 63, + "line": 72, "column": 10 } } @@ -14809,15 +16340,15 @@ "binop": null }, "value": "use", - "start": 1956, - "end": 1959, + "start": 2111, + "end": 2114, "loc": { "start": { - "line": 63, + "line": 72, "column": 10 }, "end": { - "line": 63, + "line": 72, "column": 13 } } @@ -14834,15 +16365,15 @@ "postfix": false, "binop": null }, - "start": 1959, - "end": 1960, + "start": 2114, + "end": 2115, "loc": { "start": { - "line": 63, + "line": 72, "column": 13 }, "end": { - "line": 63, + "line": 72, "column": 14 } } @@ -14860,17 +16391,17 @@ "binop": null, "updateContext": null }, - "value": "/demo", - "start": 1960, - "end": 1967, + "value": "/package.json", + "start": 2115, + "end": 2130, "loc": { "start": { - "line": 63, + "line": 72, "column": 14 }, "end": { - "line": 63, - "column": 21 + "line": 72, + "column": 29 } } }, @@ -14887,16 +16418,16 @@ "binop": null, "updateContext": null }, - "start": 1967, - "end": 1968, + "start": 2130, + "end": 2131, "loc": { "start": { - "line": 63, - "column": 21 + "line": 72, + "column": 29 }, "end": { - "line": 63, - "column": 22 + "line": 72, + "column": 30 } } }, @@ -14913,16 +16444,16 @@ "binop": null }, "value": "express", - "start": 1969, - "end": 1976, + "start": 2132, + "end": 2139, "loc": { "start": { - "line": 63, - "column": 23 + "line": 72, + "column": 31 }, "end": { - "line": 63, - "column": 30 + "line": 72, + "column": 38 } } }, @@ -14939,16 +16470,16 @@ "binop": null, "updateContext": null }, - "start": 1976, - "end": 1977, + "start": 2139, + "end": 2140, "loc": { "start": { - "line": 63, - "column": 30 + "line": 72, + "column": 38 }, "end": { - "line": 63, - "column": 31 + "line": 72, + "column": 39 } } }, @@ -14965,16 +16496,16 @@ "binop": null }, "value": "static", - "start": 1977, - "end": 1983, + "start": 2140, + "end": 2146, "loc": { "start": { - "line": 63, - "column": 31 + "line": 72, + "column": 39 }, "end": { - "line": 63, - "column": 37 + "line": 72, + "column": 45 } } }, @@ -14990,16 +16521,16 @@ "postfix": false, "binop": null }, - "start": 1983, - "end": 1984, + "start": 2146, + "end": 2147, "loc": { "start": { - "line": 63, - "column": 37 + "line": 72, + "column": 45 }, "end": { - "line": 63, - "column": 38 + "line": 72, + "column": 46 } } }, @@ -15014,123 +16545,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1993, - "end": 1997, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1997, - "end": 1998, - "loc": { - "start": { - "line": 64, - "column": 12 - }, - "end": { - "line": 64, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "appLocation", - "start": 1998, - "end": 2009, - "loc": { - "start": { - "line": 64, - "column": 13 - }, - "end": { - "line": 64, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2009, - "end": 2010, - "loc": { - "start": { - "line": 64, - "column": 24 - }, - "end": { - "line": 64, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "server", - "start": 2010, - "end": 2016, + "value": "this", + "start": 2156, + "end": 2160, "loc": { "start": { - "line": 64, - "column": 25 + "line": 73, + "column": 8 }, "end": { - "line": 64, - "column": 31 + "line": 73, + "column": 12 } } }, @@ -15147,16 +16575,16 @@ "binop": null, "updateContext": null }, - "start": 2016, - "end": 2017, + "start": 2160, + "end": 2161, "loc": { "start": { - "line": 64, - "column": 31 + "line": 73, + "column": 12 }, "end": { - "line": 64, - "column": 32 + "line": 73, + "column": 13 } } }, @@ -15172,43 +16600,42 @@ "postfix": false, "binop": null }, - "value": "demo", - "start": 2017, - "end": 2021, + "value": "appLocation", + "start": 2161, + "end": 2172, "loc": { "start": { - "line": 64, - "column": 32 + "line": 73, + "column": 13 }, "end": { - "line": 64, - "column": 36 + "line": 73, + "column": 24 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2021, - "end": 2022, + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 64, - "column": 36 + "line": 73, + "column": 24 }, "end": { - "line": 64, - "column": 37 + "line": 73, + "column": 25 } } }, @@ -15225,17 +16652,17 @@ "binop": null, "updateContext": null }, - "value": "demo", - "start": 2023, - "end": 2029, + "value": "package.json", + "start": 2173, + "end": 2187, "loc": { "start": { - "line": 64, - "column": 38 + "line": 73, + "column": 25 }, "end": { - "line": 64, - "column": 44 + "line": 73, + "column": 39 } } }, @@ -15251,16 +16678,16 @@ "postfix": false, "binop": null }, - "start": 2029, - "end": 2030, + "start": 2187, + "end": 2188, "loc": { "start": { - "line": 64, - "column": 44 + "line": 73, + "column": 39 }, "end": { - "line": 64, - "column": 45 + "line": 73, + "column": 40 } } }, @@ -15276,16 +16703,16 @@ "postfix": false, "binop": null }, - "start": 2030, - "end": 2031, + "start": 2195, + "end": 2196, "loc": { "start": { - "line": 64, - "column": 45 + "line": 74, + "column": 6 }, "end": { - "line": 64, - "column": 46 + "line": 74, + "column": 7 } } }, @@ -15301,16 +16728,16 @@ "postfix": false, "binop": null }, - "start": 2031, - "end": 2032, + "start": 2196, + "end": 2197, "loc": { "start": { - "line": 64, - "column": 46 + "line": 74, + "column": 7 }, "end": { - "line": 64, - "column": 47 + "line": 74, + "column": 8 } } }, @@ -15327,16 +16754,16 @@ "binop": null, "updateContext": null }, - "start": 2032, - "end": 2033, + "start": 2197, + "end": 2198, "loc": { "start": { - "line": 64, - "column": 47 + "line": 74, + "column": 8 }, "end": { - "line": 64, - "column": 48 + "line": 74, + "column": 9 } } }, @@ -15353,15 +16780,15 @@ "binop": null }, "value": "app", - "start": 2041, - "end": 2044, + "start": 2206, + "end": 2209, "loc": { "start": { - "line": 66, + "line": 76, "column": 6 }, "end": { - "line": 66, + "line": 76, "column": 9 } } @@ -15379,15 +16806,15 @@ "binop": null, "updateContext": null }, - "start": 2044, - "end": 2045, + "start": 2209, + "end": 2210, "loc": { "start": { - "line": 66, + "line": 76, "column": 9 }, "end": { - "line": 66, + "line": 76, "column": 10 } } @@ -15405,15 +16832,15 @@ "binop": null }, "value": "use", - "start": 2045, - "end": 2048, + "start": 2210, + "end": 2213, "loc": { "start": { - "line": 66, + "line": 76, "column": 10 }, "end": { - "line": 66, + "line": 76, "column": 13 } } @@ -15430,15 +16857,15 @@ "postfix": false, "binop": null }, - "start": 2048, - "end": 2049, + "start": 2213, + "end": 2214, "loc": { "start": { - "line": 66, + "line": 76, "column": 13 }, "end": { - "line": 66, + "line": 76, "column": 14 } } @@ -15456,17 +16883,17 @@ "binop": null, "updateContext": null }, - "value": "/docs", - "start": 2049, - "end": 2056, + "value": "/bower.json", + "start": 2214, + "end": 2227, "loc": { "start": { - "line": 66, + "line": 76, "column": 14 }, "end": { - "line": 66, - "column": 21 + "line": 76, + "column": 27 } } }, @@ -15483,16 +16910,16 @@ "binop": null, "updateContext": null }, - "start": 2056, - "end": 2057, + "start": 2227, + "end": 2228, "loc": { "start": { - "line": 66, - "column": 21 + "line": 76, + "column": 27 }, "end": { - "line": 66, - "column": 22 + "line": 76, + "column": 28 } } }, @@ -15509,16 +16936,16 @@ "binop": null }, "value": "express", - "start": 2058, - "end": 2065, + "start": 2229, + "end": 2236, "loc": { "start": { - "line": 66, - "column": 23 + "line": 76, + "column": 29 }, "end": { - "line": 66, - "column": 30 + "line": 76, + "column": 36 } } }, @@ -15535,16 +16962,16 @@ "binop": null, "updateContext": null }, - "start": 2065, - "end": 2066, + "start": 2236, + "end": 2237, "loc": { "start": { - "line": 66, - "column": 30 + "line": 76, + "column": 36 }, "end": { - "line": 66, - "column": 31 + "line": 76, + "column": 37 } } }, @@ -15561,16 +16988,16 @@ "binop": null }, "value": "static", - "start": 2066, - "end": 2072, + "start": 2237, + "end": 2243, "loc": { "start": { - "line": 66, - "column": 31 + "line": 76, + "column": 37 }, "end": { - "line": 66, - "column": 37 + "line": 76, + "column": 43 } } }, @@ -15586,16 +17013,16 @@ "postfix": false, "binop": null }, - "start": 2072, - "end": 2073, + "start": 2243, + "end": 2244, "loc": { "start": { - "line": 66, - "column": 37 + "line": 76, + "column": 43 }, "end": { - "line": 66, - "column": 38 + "line": 76, + "column": 44 } } }, @@ -15614,119 +17041,16 @@ "updateContext": null }, "value": "this", - "start": 2082, - "end": 2086, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2086, - "end": 2087, - "loc": { - "start": { - "line": 67, - "column": 12 - }, - "end": { - "line": 67, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "appLocation", - "start": 2087, - "end": 2098, - "loc": { - "start": { - "line": 67, - "column": 13 - }, - "end": { - "line": 67, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2098, - "end": 2099, - "loc": { - "start": { - "line": 67, - "column": 24 - }, - "end": { - "line": 67, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "server", - "start": 2099, - "end": 2105, + "start": 2253, + "end": 2257, "loc": { - "start": { - "line": 67, - "column": 25 + "start": { + "line": 77, + "column": 8 }, "end": { - "line": 67, - "column": 31 + "line": 77, + "column": 12 } } }, @@ -15743,16 +17067,16 @@ "binop": null, "updateContext": null }, - "start": 2105, - "end": 2106, + "start": 2257, + "end": 2258, "loc": { "start": { - "line": 67, - "column": 31 + "line": 77, + "column": 12 }, "end": { - "line": 67, - "column": 32 + "line": 77, + "column": 13 } } }, @@ -15768,43 +17092,42 @@ "postfix": false, "binop": null }, - "value": "docs", - "start": 2106, - "end": 2110, + "value": "appLocation", + "start": 2258, + "end": 2269, "loc": { "start": { - "line": 67, - "column": 32 + "line": 77, + "column": 13 }, "end": { - "line": 67, - "column": 36 + "line": 77, + "column": 24 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2110, - "end": 2111, + "start": 2269, + "end": 2270, "loc": { "start": { - "line": 67, - "column": 36 + "line": 77, + "column": 24 }, "end": { - "line": 67, - "column": 37 + "line": 77, + "column": 25 } } }, @@ -15821,17 +17144,17 @@ "binop": null, "updateContext": null }, - "value": "docs", - "start": 2112, - "end": 2118, + "value": "bower.json", + "start": 2270, + "end": 2282, "loc": { "start": { - "line": 67, - "column": 38 + "line": 77, + "column": 25 }, "end": { - "line": 67, - "column": 44 + "line": 77, + "column": 37 } } }, @@ -15847,16 +17170,16 @@ "postfix": false, "binop": null }, - "start": 2118, - "end": 2119, + "start": 2282, + "end": 2283, "loc": { "start": { - "line": 67, - "column": 44 + "line": 77, + "column": 37 }, "end": { - "line": 67, - "column": 45 + "line": 77, + "column": 38 } } }, @@ -15872,16 +17195,16 @@ "postfix": false, "binop": null }, - "start": 2119, - "end": 2120, + "start": 2290, + "end": 2291, "loc": { "start": { - "line": 67, - "column": 45 + "line": 78, + "column": 6 }, "end": { - "line": 67, - "column": 46 + "line": 78, + "column": 7 } } }, @@ -15897,16 +17220,16 @@ "postfix": false, "binop": null }, - "start": 2120, - "end": 2121, + "start": 2291, + "end": 2292, "loc": { "start": { - "line": 67, - "column": 46 + "line": 78, + "column": 7 }, "end": { - "line": 67, - "column": 47 + "line": 78, + "column": 8 } } }, @@ -15923,16 +17246,32 @@ "binop": null, "updateContext": null }, - "start": 2121, - "end": 2122, + "start": 2292, + "end": 2293, "loc": { "start": { - "line": 67, - "column": 47 + "line": 78, + "column": 8 }, "end": { - "line": 67, - "column": 48 + "line": 78, + "column": 9 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: Add option to override index", + "start": 2301, + "end": 2338, + "loc": { + "start": { + "line": 80, + "column": 6 + }, + "end": { + "line": 80, + "column": 43 } } }, @@ -15949,15 +17288,15 @@ "binop": null }, "value": "app", - "start": 2130, - "end": 2133, + "start": 2345, + "end": 2348, "loc": { "start": { - "line": 69, + "line": 81, "column": 6 }, "end": { - "line": 69, + "line": 81, "column": 9 } } @@ -15975,15 +17314,15 @@ "binop": null, "updateContext": null }, - "start": 2133, - "end": 2134, + "start": 2348, + "end": 2349, "loc": { "start": { - "line": 69, + "line": 81, "column": 9 }, "end": { - "line": 69, + "line": 81, "column": 10 } } @@ -16001,15 +17340,15 @@ "binop": null }, "value": "use", - "start": 2134, - "end": 2137, + "start": 2349, + "end": 2352, "loc": { "start": { - "line": 69, + "line": 81, "column": 10 }, "end": { - "line": 69, + "line": 81, "column": 13 } } @@ -16026,15 +17365,15 @@ "postfix": false, "binop": null }, - "start": 2137, - "end": 2138, + "start": 2352, + "end": 2353, "loc": { "start": { - "line": 69, + "line": 81, "column": 13 }, "end": { - "line": 69, + "line": 81, "column": 14 } } @@ -16052,17 +17391,17 @@ "binop": null, "updateContext": null }, - "value": "/package.json", - "start": 2138, - "end": 2153, + "value": "/", + "start": 2353, + "end": 2356, "loc": { "start": { - "line": 69, + "line": 81, "column": 14 }, "end": { - "line": 69, - "column": 29 + "line": 81, + "column": 17 } } }, @@ -16079,16 +17418,16 @@ "binop": null, "updateContext": null }, - "start": 2153, - "end": 2154, + "start": 2356, + "end": 2357, "loc": { "start": { - "line": 69, - "column": 29 + "line": 81, + "column": 17 }, "end": { - "line": 69, - "column": 30 + "line": 81, + "column": 18 } } }, @@ -16105,16 +17444,16 @@ "binop": null }, "value": "express", - "start": 2155, - "end": 2162, + "start": 2358, + "end": 2365, "loc": { "start": { - "line": 69, - "column": 31 + "line": 81, + "column": 19 }, "end": { - "line": 69, - "column": 38 + "line": 81, + "column": 26 } } }, @@ -16131,16 +17470,16 @@ "binop": null, "updateContext": null }, - "start": 2162, - "end": 2163, + "start": 2365, + "end": 2366, "loc": { "start": { - "line": 69, - "column": 38 + "line": 81, + "column": 26 }, "end": { - "line": 69, - "column": 39 + "line": 81, + "column": 27 } } }, @@ -16157,16 +17496,16 @@ "binop": null }, "value": "static", - "start": 2163, - "end": 2169, + "start": 2366, + "end": 2372, "loc": { "start": { - "line": 69, - "column": 39 + "line": 81, + "column": 27 }, "end": { - "line": 69, - "column": 45 + "line": 81, + "column": 33 } } }, @@ -16182,23 +17521,22 @@ "postfix": false, "binop": null }, - "start": 2169, - "end": 2170, + "start": 2372, + "end": 2373, "loc": { "start": { - "line": 69, - "column": 45 + "line": 81, + "column": 33 }, "end": { - "line": 69, - "column": 46 + "line": 81, + "column": 34 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16206,20 +17544,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2179, - "end": 2183, + "value": "__dirname", + "start": 2373, + "end": 2382, "loc": { "start": { - "line": 70, - "column": 8 + "line": 81, + "column": 34 }, "end": { - "line": 70, - "column": 12 + "line": 81, + "column": 43 } } }, @@ -16236,16 +17573,16 @@ "binop": null, "updateContext": null }, - "start": 2183, - "end": 2184, + "start": 2382, + "end": 2383, "loc": { "start": { - "line": 70, - "column": 12 + "line": 81, + "column": 43 }, "end": { - "line": 70, - "column": 13 + "line": 81, + "column": 44 } } }, @@ -16261,17 +17598,17 @@ "postfix": false, "binop": null }, - "value": "appLocation", - "start": 2184, - "end": 2195, + "value": "replace", + "start": 2383, + "end": 2390, "loc": { "start": { - "line": 70, - "column": 13 + "line": 81, + "column": 44 }, "end": { - "line": 70, - "column": 24 + "line": 81, + "column": 51 } } }, @@ -16287,16 +17624,69 @@ "postfix": false, "binop": null }, - "start": 2195, - "end": 2196, + "start": 2390, + "end": 2391, + "loc": { + "start": { + "line": 81, + "column": 51 + }, + "end": { + "line": 81, + "column": 52 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "bin", + "start": 2391, + "end": 2396, + "loc": { + "start": { + "line": 81, + "column": 52 + }, + "end": { + "line": 81, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2396, + "end": 2397, "loc": { "start": { - "line": 70, - "column": 24 + "line": 81, + "column": 57 }, "end": { - "line": 70, - "column": 25 + "line": 81, + "column": 58 } } }, @@ -16313,17 +17703,17 @@ "binop": null, "updateContext": null }, - "value": "package.json", - "start": 2196, - "end": 2210, + "value": "node_modules\\backed-client\\dist", + "start": 2398, + "end": 2433, "loc": { "start": { - "line": 70, - "column": 25 + "line": 81, + "column": 59 }, "end": { - "line": 70, - "column": 39 + "line": 81, + "column": 94 } } }, @@ -16339,16 +17729,16 @@ "postfix": false, "binop": null }, - "start": 2210, - "end": 2211, + "start": 2433, + "end": 2434, "loc": { "start": { - "line": 70, - "column": 39 + "line": 81, + "column": 94 }, "end": { - "line": 70, - "column": 40 + "line": 81, + "column": 95 } } }, @@ -16364,16 +17754,16 @@ "postfix": false, "binop": null }, - "start": 2218, - "end": 2219, + "start": 2434, + "end": 2435, "loc": { "start": { - "line": 71, - "column": 6 + "line": 81, + "column": 95 }, "end": { - "line": 71, - "column": 7 + "line": 81, + "column": 96 } } }, @@ -16389,16 +17779,16 @@ "postfix": false, "binop": null }, - "start": 2219, - "end": 2220, + "start": 2435, + "end": 2436, "loc": { "start": { - "line": 71, - "column": 7 + "line": 81, + "column": 96 }, "end": { - "line": 71, - "column": 8 + "line": 81, + "column": 97 } } }, @@ -16415,16 +17805,32 @@ "binop": null, "updateContext": null }, - "start": 2220, - "end": 2221, + "start": 2436, + "end": 2437, + "loc": { + "start": { + "line": 81, + "column": 97 + }, + "end": { + "line": 81, + "column": 98 + } + } + }, + { + "type": "CommentLine", + "value": " serve backed", + "start": 2447, + "end": 2462, "loc": { "start": { - "line": 71, + "line": 83, "column": 8 }, "end": { - "line": 71, - "column": 9 + "line": 83, + "column": 23 } } }, @@ -16441,15 +17847,15 @@ "binop": null }, "value": "app", - "start": 2229, - "end": 2232, + "start": 2469, + "end": 2472, "loc": { "start": { - "line": 73, + "line": 84, "column": 6 }, "end": { - "line": 73, + "line": 84, "column": 9 } } @@ -16467,15 +17873,15 @@ "binop": null, "updateContext": null }, - "start": 2232, - "end": 2233, + "start": 2472, + "end": 2473, "loc": { "start": { - "line": 73, + "line": 84, "column": 9 }, "end": { - "line": 73, + "line": 84, "column": 10 } } @@ -16493,15 +17899,15 @@ "binop": null }, "value": "use", - "start": 2233, - "end": 2236, + "start": 2473, + "end": 2476, "loc": { "start": { - "line": 73, + "line": 84, "column": 10 }, "end": { - "line": 73, + "line": 84, "column": 13 } } @@ -16518,15 +17924,15 @@ "postfix": false, "binop": null }, - "start": 2236, - "end": 2237, + "start": 2476, + "end": 2477, "loc": { "start": { - "line": 73, + "line": 84, "column": 13 }, "end": { - "line": 73, + "line": 84, "column": 14 } } @@ -16544,17 +17950,17 @@ "binop": null, "updateContext": null }, - "value": "/bower.json", - "start": 2237, - "end": 2250, + "value": "/backed/docs", + "start": 2477, + "end": 2491, "loc": { "start": { - "line": 73, + "line": 84, "column": 14 }, "end": { - "line": 73, - "column": 27 + "line": 84, + "column": 28 } } }, @@ -16571,16 +17977,16 @@ "binop": null, "updateContext": null }, - "start": 2250, - "end": 2251, + "start": 2491, + "end": 2492, "loc": { "start": { - "line": 73, - "column": 27 + "line": 84, + "column": 28 }, "end": { - "line": 73, - "column": 28 + "line": 84, + "column": 29 } } }, @@ -16597,16 +18003,16 @@ "binop": null }, "value": "express", - "start": 2252, - "end": 2259, + "start": 2493, + "end": 2500, "loc": { "start": { - "line": 73, - "column": 29 + "line": 84, + "column": 30 }, "end": { - "line": 73, - "column": 36 + "line": 84, + "column": 37 } } }, @@ -16623,16 +18029,16 @@ "binop": null, "updateContext": null }, - "start": 2259, - "end": 2260, + "start": 2500, + "end": 2501, "loc": { "start": { - "line": 73, - "column": 36 + "line": 84, + "column": 37 }, "end": { - "line": 73, - "column": 37 + "line": 84, + "column": 38 } } }, @@ -16649,16 +18055,16 @@ "binop": null }, "value": "static", - "start": 2260, - "end": 2266, + "start": 2501, + "end": 2507, "loc": { "start": { - "line": 73, - "column": 37 + "line": 84, + "column": 38 }, "end": { - "line": 73, - "column": 43 + "line": 84, + "column": 44 } } }, @@ -16674,23 +18080,22 @@ "postfix": false, "binop": null }, - "start": 2266, - "end": 2267, + "start": 2507, + "end": 2508, "loc": { "start": { - "line": 73, - "column": 43 + "line": 84, + "column": 44 }, "end": { - "line": 73, - "column": 44 + "line": 84, + "column": 45 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16698,20 +18103,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2276, - "end": 2280, + "value": "__dirname", + "start": 2517, + "end": 2526, "loc": { "start": { - "line": 74, + "line": 85, "column": 8 }, "end": { - "line": 74, - "column": 12 + "line": 85, + "column": 17 } } }, @@ -16728,16 +18132,16 @@ "binop": null, "updateContext": null }, - "start": 2280, - "end": 2281, + "start": 2526, + "end": 2527, "loc": { "start": { - "line": 74, - "column": 12 + "line": 85, + "column": 17 }, "end": { - "line": 74, - "column": 13 + "line": 85, + "column": 18 } } }, @@ -16753,17 +18157,17 @@ "postfix": false, "binop": null }, - "value": "appLocation", - "start": 2281, - "end": 2292, + "value": "replace", + "start": 2527, + "end": 2534, "loc": { "start": { - "line": 74, - "column": 13 + "line": 85, + "column": 18 }, "end": { - "line": 74, - "column": 24 + "line": 85, + "column": 25 } } }, @@ -16771,109 +18175,7 @@ "type": { "label": "(", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2292, - "end": 2293, - "loc": { - "start": { - "line": 74, - "column": 24 - }, - "end": { - "line": 74, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "bower.json", - "start": 2293, - "end": 2305, - "loc": { - "start": { - "line": 74, - "column": 25 - }, - "end": { - "line": 74, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2305, - "end": 2306, - "loc": { - "start": { - "line": 74, - "column": 37 - }, - "end": { - "line": 74, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2313, - "end": 2314, - "loc": { - "start": { - "line": 75, - "column": 6 - }, - "end": { - "line": 75, - "column": 7 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16881,24 +18183,24 @@ "postfix": false, "binop": null }, - "start": 2314, - "end": 2315, + "start": 2534, + "end": 2535, "loc": { "start": { - "line": 75, - "column": 7 + "line": 85, + "column": 25 }, "end": { - "line": 75, - "column": 8 + "line": 85, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16907,66 +18209,51 @@ "binop": null, "updateContext": null }, - "start": 2315, - "end": 2316, - "loc": { - "start": { - "line": 75, - "column": 8 - }, - "end": { - "line": 75, - "column": 9 - } - } - }, - { - "type": "CommentLine", - "value": " TODO: Add option to override index", - "start": 2324, - "end": 2361, + "value": "bin", + "start": 2535, + "end": 2540, "loc": { "start": { - "line": 77, - "column": 6 + "line": 85, + "column": 26 }, "end": { - "line": 77, - "column": 43 + "line": 85, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "app", - "start": 2368, - "end": 2371, + "start": 2540, + "end": 2541, "loc": { "start": { - "line": 78, - "column": 6 + "line": 85, + "column": 31 }, "end": { - "line": 78, - "column": 9 + "line": 85, + "column": 32 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16975,24 +18262,25 @@ "binop": null, "updateContext": null }, - "start": 2371, - "end": 2372, + "value": "docs", + "start": 2542, + "end": 2548, "loc": { "start": { - "line": 78, - "column": 9 + "line": 85, + "column": 33 }, "end": { - "line": 78, - "column": 10 + "line": 85, + "column": 39 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17000,25 +18288,24 @@ "postfix": false, "binop": null }, - "value": "use", - "start": 2372, - "end": 2375, + "start": 2548, + "end": 2549, "loc": { "start": { - "line": 78, - "column": 10 + "line": 85, + "column": 39 }, "end": { - "line": 78, - "column": 13 + "line": 85, + "column": 40 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17026,49 +18313,47 @@ "postfix": false, "binop": null }, - "start": 2375, - "end": 2376, + "start": 2549, + "end": 2550, "loc": { "start": { - "line": 78, - "column": 13 + "line": 85, + "column": 40 }, "end": { - "line": 78, - "column": 14 + "line": 85, + "column": 41 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "/", - "start": 2376, - "end": 2379, + "start": 2550, + "end": 2551, "loc": { "start": { - "line": 78, - "column": 14 + "line": 85, + "column": 41 }, "end": { - "line": 78, - "column": 17 + "line": 85, + "column": 42 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -17079,16 +18364,32 @@ "binop": null, "updateContext": null }, - "start": 2379, - "end": 2380, + "start": 2551, + "end": 2552, "loc": { "start": { - "line": 78, - "column": 17 + "line": 85, + "column": 42 }, "end": { - "line": 78, - "column": 18 + "line": 85, + "column": 43 + } + } + }, + { + "type": "CommentLine", + "value": " TODO: implement copyrighted by package author & package name if no file is found", + "start": 2560, + "end": 2643, + "loc": { + "start": { + "line": 87, + "column": 6 + }, + "end": { + "line": 87, + "column": 89 } } }, @@ -17104,43 +18405,42 @@ "postfix": false, "binop": null }, - "value": "express", - "start": 2381, - "end": 2388, + "value": "src", + "start": 2650, + "end": 2653, "loc": { "start": { - "line": 78, - "column": 19 + "line": 88, + "column": 6 }, "end": { - "line": 78, - "column": 26 + "line": 88, + "column": 9 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2388, - "end": 2389, + "start": 2653, + "end": 2654, "loc": { "start": { - "line": 78, - "column": 26 + "line": 88, + "column": 9 }, "end": { - "line": 78, - "column": 27 + "line": 88, + "column": 10 } } }, @@ -17156,42 +18456,43 @@ "postfix": false, "binop": null }, - "value": "static", - "start": 2389, - "end": 2395, + "value": "process", + "start": 2654, + "end": 2661, "loc": { "start": { - "line": 78, - "column": 27 + "line": 88, + "column": 10 }, "end": { - "line": 78, - "column": 33 + "line": 88, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2395, - "end": 2396, + "start": 2661, + "end": 2662, "loc": { "start": { - "line": 78, - "column": 33 + "line": 88, + "column": 17 }, "end": { - "line": 78, - "column": 34 + "line": 88, + "column": 18 } } }, @@ -17207,51 +18508,50 @@ "postfix": false, "binop": null }, - "value": "__dirname", - "start": 2396, - "end": 2405, + "value": "cwd", + "start": 2662, + "end": 2665, "loc": { "start": { - "line": 78, - "column": 34 + "line": 88, + "column": 18 }, "end": { - "line": 78, - "column": 43 + "line": 88, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2405, - "end": 2406, + "start": 2665, + "end": 2666, "loc": { "start": { - "line": 78, - "column": 43 + "line": 88, + "column": 21 }, "end": { - "line": 78, - "column": 44 + "line": 88, + "column": 22 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17259,42 +18559,43 @@ "postfix": false, "binop": null }, - "value": "replace", - "start": 2406, - "end": 2413, + "start": 2666, + "end": 2667, "loc": { "start": { - "line": 78, - "column": 44 + "line": 88, + "column": 22 }, "end": { - "line": 78, - "column": 51 + "line": 88, + "column": 23 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 2413, - "end": 2414, + "value": "+", + "start": 2668, + "end": 2669, "loc": { "start": { - "line": 78, - "column": 51 + "line": 88, + "column": 24 }, "end": { - "line": 78, - "column": 52 + "line": 88, + "column": 25 } } }, @@ -17311,51 +18612,50 @@ "binop": null, "updateContext": null }, - "value": "bin", - "start": 2414, - "end": 2419, + "value": "/license.*", + "start": 2670, + "end": 2682, "loc": { "start": { - "line": 78, - "column": 52 + "line": 88, + "column": 26 }, "end": { - "line": 78, - "column": 57 + "line": 88, + "column": 38 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2419, - "end": 2420, + "start": 2682, + "end": 2683, "loc": { "start": { - "line": 78, - "column": 57 + "line": 88, + "column": 38 }, "end": { - "line": 78, - "column": 58 + "line": 88, + "column": 39 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17364,25 +18664,24 @@ "binop": null, "updateContext": null }, - "value": "node_modules\\backed-client\\dist", - "start": 2421, - "end": 2456, + "start": 2683, + "end": 2684, "loc": { "start": { - "line": 78, - "column": 59 + "line": 88, + "column": 39 }, "end": { - "line": 78, - "column": 94 + "line": 88, + "column": 40 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17390,24 +18689,25 @@ "postfix": false, "binop": null }, - "start": 2456, - "end": 2457, + "value": "then", + "start": 2684, + "end": 2688, "loc": { "start": { - "line": 78, - "column": 94 + "line": 88, + "column": 40 }, "end": { - "line": 78, - "column": 95 + "line": 88, + "column": 44 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17415,24 +18715,24 @@ "postfix": false, "binop": null }, - "start": 2457, - "end": 2458, + "start": 2688, + "end": 2689, "loc": { "start": { - "line": 78, - "column": 95 + "line": 88, + "column": 44 }, "end": { - "line": 78, - "column": 96 + "line": 88, + "column": 45 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17440,22 +18740,23 @@ "postfix": false, "binop": null }, - "start": 2458, - "end": 2459, + "value": "files", + "start": 2689, + "end": 2694, "loc": { "start": { - "line": 78, - "column": 96 + "line": 88, + "column": 45 }, "end": { - "line": 78, - "column": 97 + "line": 88, + "column": 50 } } }, { "type": { - "label": ";", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -17466,32 +18767,41 @@ "binop": null, "updateContext": null }, - "start": 2459, - "end": 2460, + "start": 2695, + "end": 2697, "loc": { "start": { - "line": 78, - "column": 97 + "line": 88, + "column": 51 }, "end": { - "line": 78, - "column": 98 + "line": 88, + "column": 53 } } }, { - "type": "CommentLine", - "value": " serve backed", - "start": 2470, - "end": 2485, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2698, + "end": 2699, "loc": { "start": { - "line": 80, - "column": 8 + "line": 88, + "column": 54 }, "end": { - "line": 80, - "column": 23 + "line": 88, + "column": 55 } } }, @@ -17508,16 +18818,16 @@ "binop": null }, "value": "app", - "start": 2492, - "end": 2495, + "start": 2708, + "end": 2711, "loc": { "start": { - "line": 81, - "column": 6 + "line": 89, + "column": 8 }, "end": { - "line": 81, - "column": 9 + "line": 89, + "column": 11 } } }, @@ -17534,16 +18844,16 @@ "binop": null, "updateContext": null }, - "start": 2495, - "end": 2496, + "start": 2711, + "end": 2712, "loc": { "start": { - "line": 81, - "column": 9 + "line": 89, + "column": 11 }, "end": { - "line": 81, - "column": 10 + "line": 89, + "column": 12 } } }, @@ -17560,16 +18870,16 @@ "binop": null }, "value": "use", - "start": 2496, - "end": 2499, + "start": 2712, + "end": 2715, "loc": { "start": { - "line": 81, - "column": 10 + "line": 89, + "column": 12 }, "end": { - "line": 81, - "column": 13 + "line": 89, + "column": 15 } } }, @@ -17585,16 +18895,16 @@ "postfix": false, "binop": null }, - "start": 2499, - "end": 2500, + "start": 2715, + "end": 2716, "loc": { "start": { - "line": 81, - "column": 13 + "line": 89, + "column": 15 }, "end": { - "line": 81, - "column": 14 + "line": 89, + "column": 16 } } }, @@ -17611,17 +18921,17 @@ "binop": null, "updateContext": null }, - "value": "/backed/docs", - "start": 2500, - "end": 2514, + "value": "/license", + "start": 2716, + "end": 2726, "loc": { "start": { - "line": 81, - "column": 14 + "line": 89, + "column": 16 }, "end": { - "line": 81, - "column": 28 + "line": 89, + "column": 26 } } }, @@ -17638,16 +18948,16 @@ "binop": null, "updateContext": null }, - "start": 2514, - "end": 2515, + "start": 2726, + "end": 2727, "loc": { "start": { - "line": 81, - "column": 28 + "line": 89, + "column": 26 }, "end": { - "line": 81, - "column": 29 + "line": 89, + "column": 27 } } }, @@ -17664,16 +18974,16 @@ "binop": null }, "value": "express", - "start": 2516, - "end": 2523, + "start": 2728, + "end": 2735, "loc": { "start": { - "line": 81, - "column": 30 + "line": 89, + "column": 28 }, "end": { - "line": 81, - "column": 37 + "line": 89, + "column": 35 } } }, @@ -17690,16 +19000,16 @@ "binop": null, "updateContext": null }, - "start": 2523, - "end": 2524, + "start": 2735, + "end": 2736, "loc": { "start": { - "line": 81, - "column": 37 + "line": 89, + "column": 35 }, "end": { - "line": 81, - "column": 38 + "line": 89, + "column": 36 } } }, @@ -17716,16 +19026,16 @@ "binop": null }, "value": "static", - "start": 2524, - "end": 2530, + "start": 2736, + "end": 2742, "loc": { "start": { - "line": 81, - "column": 38 + "line": 89, + "column": 36 }, "end": { - "line": 81, - "column": 44 + "line": 89, + "column": 42 } } }, @@ -17741,16 +19051,16 @@ "postfix": false, "binop": null }, - "start": 2530, - "end": 2531, + "start": 2742, + "end": 2743, "loc": { "start": { - "line": 81, - "column": 44 + "line": 89, + "column": 42 }, "end": { - "line": 81, - "column": 45 + "line": 89, + "column": 43 } } }, @@ -17766,25 +19076,25 @@ "postfix": false, "binop": null }, - "value": "__dirname", - "start": 2540, - "end": 2549, + "value": "files", + "start": 2743, + "end": 2748, "loc": { "start": { - "line": 82, - "column": 8 + "line": 89, + "column": 43 }, "end": { - "line": 82, - "column": 17 + "line": 89, + "column": 48 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17793,22 +19103,22 @@ "binop": null, "updateContext": null }, - "start": 2549, - "end": 2550, + "start": 2748, + "end": 2749, "loc": { "start": { - "line": 82, - "column": 17 + "line": 89, + "column": 48 }, "end": { - "line": 82, - "column": 18 + "line": 89, + "column": 49 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17816,52 +19126,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "replace", - "start": 2550, - "end": 2557, - "loc": { - "start": { - "line": 82, - "column": 18 - }, - "end": { - "line": 82, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2557, - "end": 2558, + "value": 0, + "start": 2749, + "end": 2750, "loc": { "start": { - "line": 82, - "column": 25 + "line": 89, + "column": 49 }, "end": { - "line": 82, - "column": 26 + "line": 89, + "column": 50 } } }, { "type": { - "label": "string", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17870,101 +19156,98 @@ "binop": null, "updateContext": null }, - "value": "bin", - "start": 2558, - "end": 2563, + "start": 2750, + "end": 2751, "loc": { "start": { - "line": 82, - "column": 26 + "line": 89, + "column": 50 }, "end": { - "line": 82, - "column": 31 + "line": 89, + "column": 51 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2563, - "end": 2564, + "start": 2751, + "end": 2752, "loc": { "start": { - "line": 82, - "column": 31 + "line": 89, + "column": 51 }, "end": { - "line": 82, - "column": 32 + "line": 89, + "column": 52 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "docs", - "start": 2565, - "end": 2571, + "start": 2752, + "end": 2753, "loc": { "start": { - "line": 82, - "column": 33 + "line": 89, + "column": 52 }, "end": { - "line": 82, - "column": 39 + "line": 89, + "column": 53 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2571, - "end": 2572, + "start": 2753, + "end": 2754, "loc": { "start": { - "line": 82, - "column": 39 + "line": 89, + "column": 53 }, "end": { - "line": 82, - "column": 40 + "line": 89, + "column": 54 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17974,16 +19257,16 @@ "postfix": false, "binop": null }, - "start": 2572, - "end": 2573, + "start": 2761, + "end": 2762, "loc": { "start": { - "line": 82, - "column": 40 + "line": 90, + "column": 6 }, "end": { - "line": 82, - "column": 41 + "line": 90, + "column": 7 } } }, @@ -17999,16 +19282,16 @@ "postfix": false, "binop": null }, - "start": 2573, - "end": 2574, + "start": 2762, + "end": 2763, "loc": { "start": { - "line": 82, - "column": 41 + "line": 90, + "column": 7 }, "end": { - "line": 82, - "column": 42 + "line": 90, + "column": 8 } } }, @@ -18025,32 +19308,16 @@ "binop": null, "updateContext": null }, - "start": 2574, - "end": 2575, - "loc": { - "start": { - "line": 82, - "column": 42 - }, - "end": { - "line": 82, - "column": 43 - } - } - }, - { - "type": "CommentLine", - "value": " TODO: implement copyrighted by package author & package name if no file is found", - "start": 2583, - "end": 2666, + "start": 2763, + "end": 2764, "loc": { "start": { - "line": 84, - "column": 6 + "line": 90, + "column": 8 }, "end": { - "line": 84, - "column": 89 + "line": 90, + "column": 9 } } }, @@ -18066,41 +19333,42 @@ "postfix": false, "binop": null }, - "value": "src", - "start": 2673, - "end": 2676, + "value": "app", + "start": 2772, + "end": 2775, "loc": { "start": { - "line": 85, + "line": 92, "column": 6 }, "end": { - "line": 85, + "line": 92, "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2676, - "end": 2677, + "start": 2775, + "end": 2776, "loc": { "start": { - "line": 85, + "line": 92, "column": 9 }, "end": { - "line": 85, + "line": 92, "column": 10 } } @@ -18117,49 +19385,48 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 2677, - "end": 2684, + "value": "listen", + "start": 2776, + "end": 2782, "loc": { "start": { - "line": 85, + "line": 92, "column": 10 }, "end": { - "line": 85, - "column": 17 + "line": 92, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2684, - "end": 2685, + "start": 2782, + "end": 2783, "loc": { "start": { - "line": 85, - "column": 17 + "line": 92, + "column": 16 }, "end": { - "line": 85, - "column": 18 + "line": 92, + "column": 17 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18167,52 +19434,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "cwd", - "start": 2685, - "end": 2688, + "value": 3000, + "start": 2783, + "end": 2787, "loc": { "start": { - "line": 85, - "column": 18 + "line": 92, + "column": 17 }, "end": { - "line": 85, + "line": 92, "column": 21 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2688, - "end": 2689, + "start": 2787, + "end": 2788, "loc": { "start": { - "line": 85, + "line": 92, "column": 21 }, "end": { - "line": 85, + "line": 92, "column": 22 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18220,76 +19489,75 @@ "postfix": false, "binop": null }, - "start": 2689, - "end": 2690, + "value": "error", + "start": 2789, + "end": 2794, "loc": { "start": { - "line": 85, - "column": 22 + "line": 92, + "column": 23 }, "end": { - "line": 85, - "column": 23 + "line": 92, + "column": 28 } } }, { "type": { - "label": "+/-", + "label": "=>", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 2691, - "end": 2692, + "start": 2795, + "end": 2797, "loc": { "start": { - "line": 85, - "column": 24 + "line": 92, + "column": 29 }, "end": { - "line": 85, - "column": 25 + "line": 92, + "column": 31 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "/license.*", - "start": 2693, - "end": 2705, + "start": 2798, + "end": 2799, "loc": { "start": { - "line": 85, - "column": 26 + "line": 92, + "column": 32 }, "end": { - "line": 85, - "column": 38 + "line": 92, + "column": 33 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18297,44 +19565,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2705, - "end": 2706, + "value": "if", + "start": 2808, + "end": 2810, "loc": { "start": { - "line": 85, - "column": 38 + "line": 93, + "column": 8 }, "end": { - "line": 85, - "column": 39 + "line": 93, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2706, - "end": 2707, + "start": 2811, + "end": 2812, "loc": { "start": { - "line": 85, - "column": 39 + "line": 93, + "column": 11 }, "end": { - "line": 85, - "column": 40 + "line": 93, + "column": 12 } } }, @@ -18350,25 +19619,25 @@ "postfix": false, "binop": null }, - "value": "then", - "start": 2707, - "end": 2711, + "value": "error", + "start": 2812, + "end": 2817, "loc": { "start": { - "line": 85, - "column": 40 + "line": 93, + "column": 12 }, "end": { - "line": 85, - "column": 44 + "line": 93, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18376,23 +19645,23 @@ "postfix": false, "binop": null }, - "start": 2711, - "end": 2712, + "start": 2817, + "end": 2818, "loc": { "start": { - "line": 85, - "column": 44 + "line": 93, + "column": 17 }, "end": { - "line": 85, - "column": 45 + "line": 93, + "column": 18 } } }, { - "type": { - "label": "name", - "beforeExpr": false, + "type": { + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18401,23 +19670,23 @@ "postfix": false, "binop": null }, - "value": "files", - "start": 2712, - "end": 2717, + "start": 2819, + "end": 2820, "loc": { "start": { - "line": 85, - "column": 45 + "line": 93, + "column": 19 }, "end": { - "line": 85, - "column": 50 + "line": 93, + "column": 20 } } }, { "type": { - "label": "=>", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18428,23 +19697,24 @@ "binop": null, "updateContext": null }, - "start": 2718, - "end": 2720, + "value": "return", + "start": 2831, + "end": 2837, "loc": { "start": { - "line": 85, - "column": 51 + "line": 94, + "column": 10 }, "end": { - "line": 85, - "column": 53 + "line": 94, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18453,16 +19723,43 @@ "postfix": false, "binop": null }, - "start": 2721, - "end": 2722, + "value": "logger", + "start": 2838, + "end": 2844, + "loc": { + "start": { + "line": 94, + "column": 17 + }, + "end": { + "line": 94, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2844, + "end": 2845, "loc": { "start": { - "line": 85, - "column": 54 + "line": 94, + "column": 23 }, "end": { - "line": 85, - "column": 55 + "line": 94, + "column": 24 } } }, @@ -18478,43 +19775,42 @@ "postfix": false, "binop": null }, - "value": "app", - "start": 2731, - "end": 2734, + "value": "warn", + "start": 2845, + "end": 2849, "loc": { "start": { - "line": 86, - "column": 8 + "line": 94, + "column": 24 }, "end": { - "line": 86, - "column": 11 + "line": 94, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2734, - "end": 2735, + "start": 2849, + "end": 2850, "loc": { "start": { - "line": 86, - "column": 11 + "line": 94, + "column": 28 }, "end": { - "line": 86, - "column": 12 + "line": 94, + "column": 29 } } }, @@ -18530,25 +19826,25 @@ "postfix": false, "binop": null }, - "value": "use", - "start": 2735, - "end": 2738, + "value": "error", + "start": 2850, + "end": 2855, "loc": { "start": { - "line": 86, - "column": 12 + "line": 94, + "column": 29 }, "end": { - "line": 86, - "column": 15 + "line": 94, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18556,24 +19852,24 @@ "postfix": false, "binop": null }, - "start": 2738, - "end": 2739, + "start": 2855, + "end": 2856, "loc": { "start": { - "line": 86, - "column": 15 + "line": 94, + "column": 34 }, "end": { - "line": 86, - "column": 16 + "line": 94, + "column": 35 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18582,43 +19878,41 @@ "binop": null, "updateContext": null }, - "value": "/license", - "start": 2739, - "end": 2749, + "start": 2856, + "end": 2857, "loc": { "start": { - "line": 86, - "column": 16 + "line": 94, + "column": 35 }, "end": { - "line": 86, - "column": 26 + "line": 94, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2749, - "end": 2750, + "start": 2866, + "end": 2867, "loc": { "start": { - "line": 86, - "column": 26 + "line": 95, + "column": 8 }, "end": { - "line": 86, - "column": 27 + "line": 95, + "column": 9 } } }, @@ -18634,17 +19928,17 @@ "postfix": false, "binop": null }, - "value": "express", - "start": 2751, - "end": 2758, + "value": "logger", + "start": 2876, + "end": 2882, "loc": { "start": { - "line": 86, - "column": 28 + "line": 96, + "column": 8 }, "end": { - "line": 86, - "column": 35 + "line": 96, + "column": 14 } } }, @@ -18661,16 +19955,16 @@ "binop": null, "updateContext": null }, - "start": 2758, - "end": 2759, + "start": 2882, + "end": 2883, "loc": { "start": { - "line": 86, - "column": 35 + "line": 96, + "column": 14 }, "end": { - "line": 86, - "column": 36 + "line": 96, + "column": 15 } } }, @@ -18686,17 +19980,17 @@ "postfix": false, "binop": null }, - "value": "static", - "start": 2759, - "end": 2765, + "value": "log", + "start": 2883, + "end": 2886, "loc": { "start": { - "line": 86, - "column": 36 + "line": 96, + "column": 15 }, "end": { - "line": 86, - "column": 42 + "line": 96, + "column": 18 } } }, @@ -18712,22 +20006,22 @@ "postfix": false, "binop": null }, - "start": 2765, - "end": 2766, + "start": 2886, + "end": 2887, "loc": { "start": { - "line": 86, - "column": 42 + "line": 96, + "column": 18 }, "end": { - "line": 86, - "column": 43 + "line": 96, + "column": 19 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18737,25 +20031,24 @@ "postfix": false, "binop": null }, - "value": "files", - "start": 2766, - "end": 2771, + "start": 2887, + "end": 2888, "loc": { "start": { - "line": 86, - "column": 43 + "line": 96, + "column": 19 }, "end": { - "line": 86, - "column": 48 + "line": 96, + "column": 20 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18764,22 +20057,48 @@ "binop": null, "updateContext": null }, - "start": 2771, - "end": 2772, + "value": "", + "start": 2888, + "end": 2888, "loc": { "start": { - "line": 86, - "column": 48 + "line": 96, + "column": 20 }, "end": { - "line": 86, - "column": 49 + "line": 96, + "column": 20 } } }, { "type": { - "label": "num", + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2888, + "end": 2890, + "loc": { + "start": { + "line": 96, + "column": 20 + }, + "end": { + "line": 96, + "column": 22 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18787,26 +20106,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 2772, - "end": 2773, + "value": "global", + "start": 2890, + "end": 2896, "loc": { "start": { - "line": 86, - "column": 49 + "line": 96, + "column": 22 }, "end": { - "line": 86, - "column": 50 + "line": 96, + "column": 28 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18817,24 +20135,24 @@ "binop": null, "updateContext": null }, - "start": 2773, - "end": 2774, + "start": 2896, + "end": 2897, "loc": { "start": { - "line": 86, - "column": 50 + "line": 96, + "column": 28 }, "end": { - "line": 86, - "column": 51 + "line": 96, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18842,22 +20160,23 @@ "postfix": false, "binop": null }, - "start": 2774, - "end": 2775, + "value": "config", + "start": 2897, + "end": 2903, "loc": { "start": { - "line": 86, - "column": 51 + "line": 96, + "column": 29 }, "end": { - "line": 86, - "column": 52 + "line": 96, + "column": 35 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18865,44 +20184,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2775, - "end": 2776, + "start": 2903, + "end": 2904, "loc": { "start": { - "line": 86, - "column": 52 + "line": 96, + "column": 35 }, "end": { - "line": 86, - "column": 53 + "line": 96, + "column": 36 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2776, - "end": 2777, + "value": "name", + "start": 2904, + "end": 2908, "loc": { "start": { - "line": 86, - "column": 53 + "line": 96, + "column": 36 }, "end": { - "line": 86, - "column": 54 + "line": 96, + "column": 40 } } }, @@ -18918,22 +20238,22 @@ "postfix": false, "binop": null }, - "start": 2784, - "end": 2785, + "start": 2908, + "end": 2909, "loc": { "start": { - "line": 87, - "column": 6 + "line": 96, + "column": 40 }, "end": { - "line": 87, - "column": 7 + "line": 96, + "column": 41 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18941,44 +20261,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2785, - "end": 2786, + "value": "::serving app from http://localhost:", + "start": 2909, + "end": 2945, "loc": { "start": { - "line": 87, - "column": 7 + "line": 96, + "column": 41 }, "end": { - "line": 87, - "column": 8 + "line": 96, + "column": 77 } } }, { "type": { - "label": ";", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2786, - "end": 2787, + "start": 2945, + "end": 2947, "loc": { "start": { - "line": 87, - "column": 8 + "line": 96, + "column": 77 }, "end": { - "line": 87, - "column": 9 + "line": 96, + "column": 79 } } }, @@ -18994,17 +20315,17 @@ "postfix": false, "binop": null }, - "value": "app", - "start": 2795, - "end": 2798, + "value": "server", + "start": 2947, + "end": 2953, "loc": { "start": { - "line": 89, - "column": 6 + "line": 96, + "column": 79 }, "end": { - "line": 89, - "column": 9 + "line": 96, + "column": 85 } } }, @@ -19021,16 +20342,16 @@ "binop": null, "updateContext": null }, - "start": 2798, - "end": 2799, + "start": 2953, + "end": 2954, "loc": { "start": { - "line": 89, - "column": 9 + "line": 96, + "column": 85 }, "end": { - "line": 89, - "column": 10 + "line": 96, + "column": 86 } } }, @@ -19046,25 +20367,25 @@ "postfix": false, "binop": null }, - "value": "listen", - "start": 2799, - "end": 2805, + "value": "port", + "start": 2954, + "end": 2958, "loc": { "start": { - "line": 89, - "column": 10 + "line": 96, + "column": 86 }, "end": { - "line": 89, - "column": 16 + "line": 96, + "column": 90 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19072,24 +20393,24 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2958, + "end": 2959, "loc": { "start": { - "line": 89, - "column": 16 + "line": 96, + "column": 90 }, "end": { - "line": 89, - "column": 17 + "line": 96, + "column": 91 } } }, { "type": { - "label": "num", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19098,43 +20419,42 @@ "binop": null, "updateContext": null }, - "value": 3000, - "start": 2806, - "end": 2810, + "value": "/", + "start": 2959, + "end": 2960, "loc": { "start": { - "line": 89, - "column": 17 + "line": 96, + "column": 91 }, "end": { - "line": 89, - "column": 21 + "line": 96, + "column": 92 } } }, { "type": { - "label": ",", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2810, - "end": 2811, + "start": 2960, + "end": 2962, "loc": { "start": { - "line": 89, - "column": 21 + "line": 96, + "column": 92 }, "end": { - "line": 89, - "column": 22 + "line": 96, + "column": 94 } } }, @@ -19150,24 +20470,24 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 2812, - "end": 2817, + "value": "server", + "start": 2962, + "end": 2968, "loc": { "start": { - "line": 89, - "column": 23 + "line": 96, + "column": 94 }, "end": { - "line": 89, - "column": 28 + "line": 96, + "column": 100 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19177,23 +20497,23 @@ "binop": null, "updateContext": null }, - "start": 2818, - "end": 2820, + "start": 2968, + "end": 2969, "loc": { "start": { - "line": 89, - "column": 29 + "line": 96, + "column": 100 }, "end": { - "line": 89, - "column": 31 + "line": 96, + "column": 101 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19202,23 +20522,23 @@ "postfix": false, "binop": null }, - "start": 2821, - "end": 2822, + "value": "entry", + "start": 2969, + "end": 2974, "loc": { "start": { - "line": 89, - "column": 32 + "line": 96, + "column": 101 }, "end": { - "line": 89, - "column": 33 + "line": 96, + "column": 106 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19229,42 +20549,16 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2831, - "end": 2833, - "loc": { - "start": { - "line": 90, - "column": 8 - }, - "end": { - "line": 90, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2834, - "end": 2835, + "start": 2974, + "end": 2975, "loc": { "start": { - "line": 90, - "column": 11 + "line": 96, + "column": 106 }, "end": { - "line": 90, - "column": 12 + "line": 96, + "column": 107 } } }, @@ -19280,25 +20574,25 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 2835, - "end": 2840, + "value": "replace", + "start": 2975, + "end": 2982, "loc": { "start": { - "line": 90, - "column": 12 + "line": 96, + "column": 107 }, "end": { - "line": 90, - "column": 17 + "line": 96, + "column": 114 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19306,48 +20600,49 @@ "postfix": false, "binop": null }, - "start": 2840, - "end": 2841, + "start": 2982, + "end": 2983, "loc": { "start": { - "line": 90, - "column": 17 + "line": 96, + "column": 114 }, "end": { - "line": 90, - "column": 18 + "line": 96, + "column": 115 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2842, - "end": 2843, + "value": "/", + "start": 2983, + "end": 2986, "loc": { "start": { - "line": 90, - "column": 19 + "line": 96, + "column": 115 }, - "end": { - "line": 90, - "column": 20 + "end": { + "line": 96, + "column": 118 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -19358,23 +20653,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2854, - "end": 2860, + "start": 2986, + "end": 2987, "loc": { "start": { - "line": 91, - "column": 10 + "line": 96, + "column": 118 }, "end": { - "line": 91, - "column": 16 + "line": 96, + "column": 119 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19382,25 +20676,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "logger", - "start": 2861, - "end": 2867, + "value": "", + "start": 2988, + "end": 2990, "loc": { "start": { - "line": 91, - "column": 17 + "line": 96, + "column": 120 }, "end": { - "line": 91, - "column": 23 + "line": 96, + "column": 122 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19408,27 +20703,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2867, - "end": 2868, + "start": 2990, + "end": 2991, "loc": { "start": { - "line": 91, - "column": 23 + "line": 96, + "column": 122 }, "end": { - "line": 91, - "column": 24 + "line": 96, + "column": 123 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19436,48 +20730,49 @@ "postfix": false, "binop": null }, - "value": "warn", - "start": 2868, - "end": 2872, + "start": 2991, + "end": 2992, "loc": { "start": { - "line": 91, - "column": 24 + "line": 96, + "column": 123 }, "end": { - "line": 91, - "column": 28 + "line": 96, + "column": 124 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2872, - "end": 2873, + "value": "", + "start": 2992, + "end": 2992, "loc": { "start": { - "line": 91, - "column": 28 + "line": 96, + "column": 124 }, "end": { - "line": 91, - "column": 29 + "line": 96, + "column": 124 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19487,17 +20782,16 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 2873, - "end": 2878, + "start": 2992, + "end": 2993, "loc": { "start": { - "line": 91, - "column": 29 + "line": 96, + "column": 124 }, "end": { - "line": 91, - "column": 34 + "line": 96, + "column": 125 } } }, @@ -19513,16 +20807,16 @@ "postfix": false, "binop": null }, - "start": 2878, - "end": 2879, + "start": 2993, + "end": 2994, "loc": { "start": { - "line": 91, - "column": 34 + "line": 96, + "column": 125 }, "end": { - "line": 91, - "column": 35 + "line": 96, + "column": 126 } } }, @@ -19539,16 +20833,16 @@ "binop": null, "updateContext": null }, - "start": 2879, - "end": 2880, + "start": 2994, + "end": 2995, "loc": { "start": { - "line": 91, - "column": 35 + "line": 96, + "column": 126 }, "end": { - "line": 91, - "column": 36 + "line": 96, + "column": 127 } } }, @@ -19564,24 +20858,24 @@ "postfix": false, "binop": null }, - "start": 2889, - "end": 2890, + "start": 3002, + "end": 3003, "loc": { "start": { - "line": 92, - "column": 8 + "line": 97, + "column": 6 }, "end": { - "line": 92, - "column": 9 + "line": 97, + "column": 7 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19589,24 +20883,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 2899, - "end": 2905, + "start": 3003, + "end": 3004, "loc": { "start": { - "line": 93, - "column": 8 + "line": 97, + "column": 7 }, "end": { - "line": 93, - "column": 14 + "line": 97, + "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19616,24 +20909,24 @@ "binop": null, "updateContext": null }, - "start": 2905, - "end": 2906, + "start": 3004, + "end": 3005, "loc": { "start": { - "line": 93, - "column": 14 + "line": 97, + "column": 8 }, "end": { - "line": 93, - "column": 15 + "line": 97, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19641,49 +20934,51 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 2906, - "end": 2909, + "start": 3010, + "end": 3011, "loc": { "start": { - "line": 93, - "column": 15 + "line": 98, + "column": 4 }, "end": { - "line": 93, - "column": 18 + "line": 98, + "column": 5 } } }, { "type": { - "label": "(", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2909, - "end": 2910, + "value": "else", + "start": 3012, + "end": 3016, "loc": { "start": { - "line": 93, - "column": 18 + "line": 98, + "column": 6 }, "end": { - "line": 93, - "column": 19 + "line": 98, + "column": 10 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19692,23 +20987,24 @@ "postfix": false, "binop": null }, - "start": 2910, - "end": 2911, + "start": 3017, + "end": 3018, "loc": { "start": { - "line": 93, - "column": 19 + "line": 98, + "column": 11 }, "end": { - "line": 93, - "column": 20 + "line": 98, + "column": 12 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19718,24 +21014,24 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 2911, - "end": 2911, + "value": "return", + "start": 3025, + "end": 3031, "loc": { "start": { - "line": 93, - "column": 20 + "line": 99, + "column": 6 }, "end": { - "line": 93, - "column": 20 + "line": 99, + "column": 12 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19744,16 +21040,43 @@ "postfix": false, "binop": null }, - "start": 2911, - "end": 2913, + "value": "logger", + "start": 3032, + "end": 3038, "loc": { "start": { - "line": 93, - "column": 20 + "line": 99, + "column": 13 }, "end": { - "line": 93, - "column": 22 + "line": 99, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3038, + "end": 3039, + "loc": { + "start": { + "line": 99, + "column": 19 + }, + "end": { + "line": 99, + "column": 20 } } }, @@ -19769,49 +21092,48 @@ "postfix": false, "binop": null }, - "value": "global", - "start": 2913, - "end": 2919, + "value": "warn", + "start": 3039, + "end": 3043, "loc": { "start": { - "line": 93, - "column": 22 + "line": 99, + "column": 20 }, "end": { - "line": 93, - "column": 28 + "line": 99, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2919, - "end": 2920, + "start": 3043, + "end": 3044, "loc": { "start": { - "line": 93, - "column": 28 + "line": 99, + "column": 24 }, "end": { - "line": 93, - "column": 29 + "line": 99, + "column": 25 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19821,23 +21143,22 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 2920, - "end": 2926, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 93, - "column": 29 + "line": 99, + "column": 25 }, "end": { - "line": 93, - "column": 35 + "line": 99, + "column": 26 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19848,23 +21169,24 @@ "binop": null, "updateContext": null }, - "start": 2926, - "end": 2927, + "value": "", + "start": 3045, + "end": 3045, "loc": { "start": { - "line": 93, - "column": 35 + "line": 99, + "column": 26 }, "end": { - "line": 93, - "column": 36 + "line": 99, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19873,25 +21195,24 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 2927, - "end": 2931, + "start": 3045, + "end": 3047, "loc": { "start": { - "line": 93, - "column": 36 + "line": 99, + "column": 26 }, "end": { - "line": 93, - "column": 40 + "line": 99, + "column": 28 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19899,22 +21220,23 @@ "postfix": false, "binop": null }, - "start": 2931, - "end": 2932, + "value": "global", + "start": 3047, + "end": 3053, "loc": { "start": { - "line": 93, - "column": 40 + "line": 99, + "column": 28 }, "end": { - "line": 93, - "column": 41 + "line": 99, + "column": 34 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19925,42 +21247,16 @@ "binop": null, "updateContext": null }, - "value": "::serving app from http://localhost:", - "start": 2932, - "end": 2968, - "loc": { - "start": { - "line": 93, - "column": 41 - }, - "end": { - "line": 93, - "column": 77 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2968, - "end": 2970, + "start": 3053, + "end": 3054, "loc": { "start": { - "line": 93, - "column": 77 + "line": 99, + "column": 34 }, "end": { - "line": 93, - "column": 79 + "line": 99, + "column": 35 } } }, @@ -19976,17 +21272,17 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 2970, - "end": 2976, + "value": "config", + "start": 3054, + "end": 3060, "loc": { "start": { - "line": 93, - "column": 79 + "line": 99, + "column": 35 }, "end": { - "line": 93, - "column": 85 + "line": 99, + "column": 41 } } }, @@ -20003,16 +21299,16 @@ "binop": null, "updateContext": null }, - "start": 2976, - "end": 2977, + "start": 3060, + "end": 3061, "loc": { "start": { - "line": 93, - "column": 85 + "line": 99, + "column": 41 }, "end": { - "line": 93, - "column": 86 + "line": 99, + "column": 42 } } }, @@ -20028,17 +21324,17 @@ "postfix": false, "binop": null }, - "value": "port", - "start": 2977, - "end": 2981, + "value": "name", + "start": 3061, + "end": 3065, "loc": { "start": { - "line": 93, - "column": 86 + "line": 99, + "column": 42 }, "end": { - "line": 93, - "column": 90 + "line": 99, + "column": 46 } } }, @@ -20054,16 +21350,16 @@ "postfix": false, "binop": null }, - "start": 2981, - "end": 2982, + "start": 3065, + "end": 3066, "loc": { "start": { - "line": 93, - "column": 90 + "line": 99, + "column": 46 }, "end": { - "line": 93, - "column": 91 + "line": 99, + "column": 47 } } }, @@ -20080,24 +21376,24 @@ "binop": null, "updateContext": null }, - "value": "/", - "start": 2982, - "end": 2983, + "value": "::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)", + "start": 3066, + "end": 3188, "loc": { "start": { - "line": 93, - "column": 91 + "line": 99, + "column": 47 }, "end": { - "line": 93, - "column": 92 + "line": 99, + "column": 169 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20106,24 +21402,24 @@ "postfix": false, "binop": null }, - "start": 2983, - "end": 2985, + "start": 3188, + "end": 3189, "loc": { "start": { - "line": 93, - "column": 92 + "line": 99, + "column": 169 }, "end": { - "line": 93, - "column": 94 + "line": 99, + "column": 170 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20131,24 +21427,23 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 2985, - "end": 2991, + "start": 3189, + "end": 3190, "loc": { "start": { - "line": 93, - "column": 94 + "line": 99, + "column": 170 }, "end": { - "line": 93, - "column": 100 + "line": 99, + "column": 171 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20158,24 +21453,24 @@ "binop": null, "updateContext": null }, - "start": 2991, - "end": 2992, + "start": 3190, + "end": 3191, "loc": { "start": { - "line": 93, - "column": 100 + "line": 99, + "column": 171 }, "end": { - "line": 93, - "column": 101 + "line": 99, + "column": 172 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20183,23 +21478,22 @@ "postfix": false, "binop": null }, - "value": "entry", - "start": 2992, - "end": 2997, + "start": 3196, + "end": 3197, "loc": { "start": { - "line": 93, - "column": 101 + "line": 100, + "column": 4 }, "end": { - "line": 93, - "column": 106 + "line": 100, + "column": 5 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20207,19 +21501,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2997, - "end": 2998, + "start": 3200, + "end": 3201, "loc": { "start": { - "line": 93, - "column": 106 + "line": 101, + "column": 2 }, "end": { - "line": 93, - "column": 107 + "line": 101, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n ", + "start": 3205, + "end": 3433, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 107, + "column": 5 } } }, @@ -20235,17 +21544,17 @@ "postfix": false, "binop": null }, - "value": "replace", - "start": 2998, - "end": 3005, + "value": "appLocation", + "start": 3436, + "end": 3447, "loc": { "start": { - "line": 93, - "column": 107 + "line": 108, + "column": 2 }, "end": { - "line": 93, - "column": 114 + "line": 108, + "column": 13 } } }, @@ -20261,22 +21570,22 @@ "postfix": false, "binop": null }, - "start": 3005, - "end": 3006, + "start": 3447, + "end": 3448, "loc": { "start": { - "line": 93, - "column": 114 + "line": 108, + "column": 13 }, "end": { - "line": 93, - "column": 115 + "line": 108, + "column": 14 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20284,20 +21593,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "/", - "start": 3006, - "end": 3009, + "value": "path", + "start": 3448, + "end": 3452, "loc": { "start": { - "line": 93, - "column": 115 + "line": 108, + "column": 14 }, "end": { - "line": 93, - "column": 118 + "line": 108, + "column": 18 } } }, @@ -20314,22 +21622,22 @@ "binop": null, "updateContext": null }, - "start": 3009, - "end": 3010, + "start": 3452, + "end": 3453, "loc": { "start": { - "line": 93, - "column": 118 + "line": 108, + "column": 18 }, "end": { - "line": 93, - "column": 119 + "line": 108, + "column": 19 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20337,53 +21645,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 3011, - "end": 3013, + "value": "alternate", + "start": 3454, + "end": 3463, "loc": { "start": { - "line": 93, - "column": 120 + "line": 108, + "column": 20 }, "end": { - "line": 93, - "column": 122 + "line": 108, + "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3013, - "end": 3014, + "start": 3463, + "end": 3464, "loc": { "start": { - "line": 93, - "column": 122 + "line": 108, + "column": 29 }, "end": { - "line": 93, - "column": 123 + "line": 108, + "column": 30 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20391,49 +21699,51 @@ "postfix": false, "binop": null }, - "start": 3014, - "end": 3015, + "value": "disableAlternate", + "start": 3465, + "end": 3481, "loc": { "start": { - "line": 93, - "column": 123 + "line": 108, + "column": 31 }, "end": { - "line": 93, - "column": 124 + "line": 108, + "column": 47 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "", - "start": 3015, - "end": 3015, + "value": "=", + "start": 3482, + "end": 3483, "loc": { "start": { - "line": 93, - "column": 124 + "line": 108, + "column": 48 }, "end": { - "line": 93, - "column": 124 + "line": 108, + "column": 49 } } }, { "type": { - "label": "`", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20441,18 +21751,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3015, - "end": 3016, + "value": "false", + "start": 3484, + "end": 3489, "loc": { "start": { - "line": 93, - "column": 124 + "line": 108, + "column": 50 }, "end": { - "line": 93, - "column": 125 + "line": 108, + "column": 55 } } }, @@ -20468,48 +21780,48 @@ "postfix": false, "binop": null }, - "start": 3016, - "end": 3017, + "start": 3489, + "end": 3490, "loc": { "start": { - "line": 93, - "column": 125 + "line": 108, + "column": 55 }, "end": { - "line": 93, - "column": 126 + "line": 108, + "column": 56 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3017, - "end": 3018, + "start": 3491, + "end": 3492, "loc": { "start": { - "line": 93, - "column": 126 + "line": 108, + "column": 57 }, "end": { - "line": 93, - "column": 127 + "line": 108, + "column": 58 } } }, { "type": { - "label": "}", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20517,26 +21829,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3025, - "end": 3026, + "value": "let", + "start": 3497, + "end": 3500, "loc": { "start": { - "line": 94, - "column": 6 + "line": 109, + "column": 4 }, "end": { - "line": 94, + "line": 109, "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20544,50 +21858,52 @@ "postfix": false, "binop": null }, - "start": 3026, - "end": 3027, + "value": "root", + "start": 3501, + "end": 3505, "loc": { "start": { - "line": 94, - "column": 7 + "line": 109, + "column": 8 }, "end": { - "line": 94, - "column": 8 + "line": 109, + "column": 12 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3027, - "end": 3028, + "value": "=", + "start": 3506, + "end": 3507, "loc": { "start": { - "line": 94, - "column": 8 + "line": 109, + "column": 13 }, "end": { - "line": 94, - "column": 9 + "line": 109, + "column": 14 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20595,24 +21911,24 @@ "postfix": false, "binop": null }, - "start": 3033, - "end": 3034, + "value": "process", + "start": 3508, + "end": 3515, "loc": { "start": { - "line": 95, - "column": 4 + "line": 109, + "column": 15 }, "end": { - "line": 95, - "column": 5 + "line": 109, + "column": 22 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20622,24 +21938,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 3035, - "end": 3039, + "start": 3515, + "end": 3516, "loc": { "start": { - "line": 95, - "column": 6 + "line": 109, + "column": 22 }, "end": { - "line": 95, - "column": 10 + "line": 109, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20648,52 +21963,50 @@ "postfix": false, "binop": null }, - "start": 3040, - "end": 3041, + "value": "cwd", + "start": 3516, + "end": 3519, "loc": { "start": { - "line": 95, - "column": 11 + "line": 109, + "column": 23 }, "end": { - "line": 95, - "column": 12 + "line": 109, + "column": 26 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3048, - "end": 3054, + "start": 3519, + "end": 3520, "loc": { "start": { - "line": 96, - "column": 6 + "line": 109, + "column": 26 }, "end": { - "line": 96, - "column": 12 + "line": 109, + "column": 27 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20701,24 +22014,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 3055, - "end": 3061, + "start": 3520, + "end": 3521, "loc": { "start": { - "line": 96, - "column": 13 + "line": 109, + "column": 27 }, "end": { - "line": 96, - "column": 19 + "line": 109, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -20728,42 +22040,44 @@ "binop": null, "updateContext": null }, - "start": 3061, - "end": 3062, + "start": 3521, + "end": 3522, "loc": { "start": { - "line": 96, - "column": 19 + "line": 109, + "column": 28 }, "end": { - "line": 96, - "column": 20 + "line": 109, + "column": 29 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "warn", - "start": 3062, - "end": 3066, + "value": "if", + "start": 3527, + "end": 3529, "loc": { "start": { - "line": 96, - "column": 20 + "line": 110, + "column": 4 }, "end": { - "line": 96, - "column": 24 + "line": 110, + "column": 6 } } }, @@ -20779,22 +22093,49 @@ "postfix": false, "binop": null }, - "start": 3066, - "end": 3067, + "start": 3530, + "end": 3531, "loc": { "start": { - "line": 96, - "column": 24 + "line": 110, + "column": 7 }, "end": { - "line": 96, - "column": 25 + "line": 110, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 3531, + "end": 3532, + "loc": { + "start": { + "line": 110, + "column": 8 + }, + "end": { + "line": 110, + "column": 9 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20804,68 +22145,71 @@ "postfix": false, "binop": null }, - "start": 3067, - "end": 3068, + "value": "path", + "start": 3532, + "end": 3536, "loc": { "start": { - "line": 96, - "column": 25 + "line": 110, + "column": 9 }, "end": { - "line": 96, - "column": 26 + "line": 110, + "column": 13 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "", - "start": 3068, - "end": 3068, + "value": "&&", + "start": 3537, + "end": 3539, "loc": { "start": { - "line": 96, - "column": 26 + "line": 110, + "column": 14 }, "end": { - "line": 96, - "column": 26 + "line": 110, + "column": 16 } } }, { "type": { - "label": "${", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3068, - "end": 3070, + "value": "!", + "start": 3540, + "end": 3541, "loc": { "start": { - "line": 96, - "column": 26 + "line": 110, + "column": 17 }, "end": { - "line": 96, - "column": 28 + "line": 110, + "column": 18 } } }, @@ -20881,23 +22225,23 @@ "postfix": false, "binop": null }, - "value": "global", - "start": 3070, - "end": 3076, + "value": "disableAlternate", + "start": 3541, + "end": 3557, "loc": { "start": { - "line": 96, - "column": 28 + "line": 110, + "column": 18 }, "end": { - "line": 96, + "line": 110, "column": 34 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20905,26 +22249,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3076, - "end": 3077, + "start": 3557, + "end": 3558, "loc": { "start": { - "line": 96, + "line": 110, "column": 34 }, "end": { - "line": 96, + "line": 110, "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20933,77 +22276,77 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 3077, - "end": 3083, + "start": 3559, + "end": 3560, "loc": { "start": { - "line": 96, - "column": 35 + "line": 110, + "column": 36 }, "end": { - "line": 96, - "column": 41 + "line": 110, + "column": 37 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3083, - "end": 3084, + "value": "path", + "start": 3567, + "end": 3571, "loc": { "start": { - "line": 96, - "column": 41 + "line": 111, + "column": 6 }, "end": { - "line": 96, - "column": 42 + "line": 111, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 3084, - "end": 3088, + "value": "=", + "start": 3572, + "end": 3573, "loc": { "start": { - "line": 96, - "column": 42 + "line": 111, + "column": 11 }, "end": { - "line": 96, - "column": 46 + "line": 111, + "column": 12 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21011,23 +22354,24 @@ "postfix": false, "binop": null }, - "start": 3088, - "end": 3089, + "value": "alternate", + "start": 3574, + "end": 3583, "loc": { "start": { - "line": 96, - "column": 46 + "line": 111, + "column": 13 }, "end": { - "line": 96, - "column": 47 + "line": 111, + "column": 22 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21037,25 +22381,24 @@ "binop": null, "updateContext": null }, - "value": "::server config not found [example](https://github.com/vandeurenglenn/backed-cli/config/backed.json)", - "start": 3089, - "end": 3189, + "start": 3583, + "end": 3584, "loc": { "start": { - "line": 96, - "column": 47 + "line": 111, + "column": 22 }, "end": { - "line": 96, - "column": 147 + "line": 111, + "column": 23 } } }, { "type": { - "label": "`", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21063,48 +22406,52 @@ "postfix": false, "binop": null }, - "start": 3189, - "end": 3190, + "start": 3589, + "end": 3590, "loc": { "start": { - "line": 96, - "column": 147 + "line": 112, + "column": 4 }, "end": { - "line": 96, - "column": 148 + "line": 112, + "column": 5 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3190, - "end": 3191, + "value": "else", + "start": 3591, + "end": 3595, "loc": { "start": { - "line": 96, - "column": 148 + "line": 112, + "column": 6 }, "end": { - "line": 96, - "column": 149 + "line": 112, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21114,24 +22461,25 @@ "binop": null, "updateContext": null }, - "start": 3191, - "end": 3192, + "value": "if", + "start": 3596, + "end": 3598, "loc": { "start": { - "line": 96, - "column": 149 + "line": 112, + "column": 11 }, "end": { - "line": 96, - "column": 150 + "line": 112, + "column": 13 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21139,90 +22487,103 @@ "postfix": false, "binop": null }, - "start": 3197, - "end": 3198, + "start": 3599, + "end": 3600, "loc": { "start": { - "line": 97, - "column": 4 + "line": 112, + "column": 14 }, "end": { - "line": 97, - "column": 5 + "line": 112, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3201, - "end": 3202, + "value": "!", + "start": 3600, + "end": 3601, "loc": { "start": { - "line": 98, - "column": 2 + "line": 112, + "column": 15 }, "end": { - "line": 98, - "column": 3 + "line": 112, + "column": 16 } } }, { - "type": "CommentBlock", - "value": "*\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n ", - "start": 3206, - "end": 3434, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "path", + "start": 3601, + "end": 3605, "loc": { "start": { - "line": 100, - "column": 2 + "line": 112, + "column": 16 }, "end": { - "line": 104, - "column": 5 + "line": 112, + "column": 20 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "&&", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "value": "appLocation", - "start": 3437, - "end": 3448, + "value": "&&", + "start": 3606, + "end": 3608, "loc": { "start": { - "line": 105, - "column": 2 + "line": 112, + "column": 21 }, "end": { - "line": 105, - "column": 13 + "line": 112, + "column": 23 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21231,24 +22592,25 @@ "postfix": false, "binop": null }, - "start": 3448, - "end": 3449, + "value": "disableAlternate", + "start": 3609, + "end": 3625, "loc": { "start": { - "line": 105, - "column": 13 + "line": 112, + "column": 24 }, "end": { - "line": 105, - "column": 14 + "line": 112, + "column": 40 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21256,75 +22618,64 @@ "postfix": false, "binop": null }, - "value": "path", - "start": 3449, - "end": 3453, + "start": 3625, + "end": 3626, "loc": { "start": { - "line": 105, - "column": 14 + "line": 112, + "column": 40 }, "end": { - "line": 105, - "column": 18 + "line": 112, + "column": 41 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3453, - "end": 3454, + "start": 3627, + "end": 3628, "loc": { "start": { - "line": 105, - "column": 18 + "line": 112, + "column": 42 }, "end": { - "line": 105, - "column": 19 + "line": 112, + "column": 43 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "alternate", - "start": 3455, - "end": 3464, + "type": "CommentLine", + "value": " when we disable alternate we return the value of alternate", + "start": 3635, + "end": 3696, "loc": { "start": { - "line": 105, - "column": 20 + "line": 113, + "column": 6 }, "end": { - "line": 105, - "column": 29 + "line": 113, + "column": 67 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21335,16 +22686,17 @@ "binop": null, "updateContext": null }, - "start": 3464, - "end": 3465, + "value": "return", + "start": 3703, + "end": 3709, "loc": { "start": { - "line": 105, - "column": 29 + "line": 114, + "column": 6 }, "end": { - "line": 105, - "column": 30 + "line": 114, + "column": 12 } } }, @@ -21360,78 +22712,49 @@ "postfix": false, "binop": null }, - "value": "disableAlternate", - "start": 3466, - "end": 3482, + "value": "alternate", + "start": 3710, + "end": 3719, "loc": { "start": { - "line": 105, - "column": 31 + "line": 114, + "column": 13 }, "end": { - "line": 105, - "column": 47 + "line": 114, + "column": 22 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3483, - "end": 3484, - "loc": { - "start": { - "line": 105, - "column": 48 - }, - "end": { - "line": 105, - "column": 49 - } - } - }, - { - "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "false", - "start": 3485, - "end": 3490, + "start": 3719, + "end": 3720, "loc": { "start": { - "line": 105, - "column": 50 + "line": 114, + "column": 22 }, "end": { - "line": 105, - "column": 55 + "line": 114, + "column": 23 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21441,23 +22764,23 @@ "postfix": false, "binop": null }, - "start": 3490, - "end": 3491, + "start": 3725, + "end": 3726, "loc": { "start": { - "line": 105, - "column": 55 + "line": 115, + "column": 4 }, "end": { - "line": 105, - "column": 56 + "line": 115, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21466,50 +22789,50 @@ "postfix": false, "binop": null }, - "start": 3492, - "end": 3493, + "value": "root", + "start": 3731, + "end": 3735, "loc": { "start": { - "line": 105, - "column": 57 + "line": 116, + "column": 4 }, "end": { - "line": 105, - "column": 58 + "line": 116, + "column": 8 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": "_=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "let", - "start": 3498, - "end": 3501, + "value": "+=", + "start": 3736, + "end": 3738, "loc": { "start": { - "line": 106, - "column": 4 + "line": 116, + "column": 9 }, "end": { - "line": 106, - "column": 7 + "line": 116, + "column": 11 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21519,51 +22842,50 @@ "postfix": false, "binop": null }, - "value": "root", - "start": 3502, - "end": 3506, + "start": 3739, + "end": 3740, "loc": { "start": { - "line": 106, - "column": 8 + "line": 116, + "column": 12 }, "end": { - "line": 106, - "column": 12 + "line": 116, + "column": 13 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3507, - "end": 3508, + "value": "\\", + "start": 3740, + "end": 3742, "loc": { "start": { - "line": 106, + "line": 116, "column": 13 }, "end": { - "line": 106, - "column": 14 + "line": 116, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21572,51 +22894,50 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 3509, - "end": 3516, + "start": 3742, + "end": 3744, "loc": { "start": { - "line": 106, + "line": 116, "column": 15 }, "end": { - "line": 106, - "column": 22 + "line": 116, + "column": 17 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3516, - "end": 3517, + "value": "path", + "start": 3744, + "end": 3748, "loc": { "start": { - "line": 106, - "column": 22 + "line": 116, + "column": 17 }, "end": { - "line": 106, - "column": 23 + "line": 116, + "column": 21 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21624,50 +22945,51 @@ "postfix": false, "binop": null }, - "value": "cwd", - "start": 3517, - "end": 3520, + "start": 3748, + "end": 3749, "loc": { "start": { - "line": 106, - "column": 23 + "line": 116, + "column": 21 }, "end": { - "line": 106, - "column": 26 + "line": 116, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3520, - "end": 3521, + "value": "", + "start": 3749, + "end": 3749, "loc": { "start": { - "line": 106, - "column": 26 + "line": 116, + "column": 22 }, "end": { - "line": 106, - "column": 27 + "line": 116, + "column": 22 } } }, { "type": { - "label": ")", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21675,16 +22997,16 @@ "postfix": false, "binop": null }, - "start": 3521, - "end": 3522, + "start": 3749, + "end": 3750, "loc": { "start": { - "line": 106, - "column": 27 + "line": 116, + "column": 22 }, "end": { - "line": 106, - "column": 28 + "line": 116, + "column": 23 } } }, @@ -21701,24 +23023,24 @@ "binop": null, "updateContext": null }, - "start": 3522, - "end": 3523, + "start": 3750, + "end": 3751, "loc": { "start": { - "line": 106, - "column": 28 + "line": 116, + "column": 23 }, "end": { - "line": 106, - "column": 29 + "line": 116, + "column": 24 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21728,24 +23050,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 3528, - "end": 3530, + "value": "return", + "start": 3756, + "end": 3762, "loc": { "start": { - "line": 107, + "line": 117, "column": 4 }, "end": { - "line": 107, - "column": 6 + "line": 117, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21754,51 +23076,51 @@ "postfix": false, "binop": null }, - "start": 3531, - "end": 3532, + "value": "root", + "start": 3763, + "end": 3767, "loc": { "start": { - "line": 107, - "column": 7 + "line": 117, + "column": 11 }, "end": { - "line": 107, - "column": 8 + "line": 117, + "column": 15 } } }, { "type": { - "label": "prefix", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 3532, - "end": 3533, + "start": 3767, + "end": 3768, "loc": { "start": { - "line": 107, - "column": 8 + "line": 117, + "column": 15 }, "end": { - "line": 107, - "column": 9 + "line": 117, + "column": 16 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21806,71 +23128,67 @@ "postfix": false, "binop": null }, - "value": "path", - "start": 3533, - "end": 3537, + "start": 3771, + "end": 3772, "loc": { "start": { - "line": 107, - "column": 9 + "line": 118, + "column": 2 }, "end": { - "line": 107, - "column": 13 + "line": 118, + "column": 3 } } }, { "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 3538, - "end": 3540, + "value": "handleOldOptions", + "start": 3776, + "end": 3792, "loc": { "start": { - "line": 107, - "column": 14 + "line": 120, + "column": 2 }, "end": { - "line": 107, - "column": 16 + "line": 120, + "column": 18 } } }, { "type": { - "label": "prefix", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 3541, - "end": 3542, + "start": 3792, + "end": 3793, "loc": { "start": { - "line": 107, - "column": 17 + "line": 120, + "column": 18 }, "end": { - "line": 107, - "column": 18 + "line": 120, + "column": 19 } } }, @@ -21886,17 +23204,17 @@ "postfix": false, "binop": null }, - "value": "disableAlternate", - "start": 3542, - "end": 3558, + "value": "options", + "start": 3793, + "end": 3800, "loc": { "start": { - "line": 107, - "column": 18 + "line": 120, + "column": 19 }, "end": { - "line": 107, - "column": 34 + "line": 120, + "column": 26 } } }, @@ -21912,16 +23230,16 @@ "postfix": false, "binop": null }, - "start": 3558, - "end": 3559, + "start": 3800, + "end": 3801, "loc": { "start": { - "line": 107, - "column": 34 + "line": 120, + "column": 26 }, "end": { - "line": 107, - "column": 35 + "line": 120, + "column": 27 } } }, @@ -21937,69 +23255,69 @@ "postfix": false, "binop": null }, - "start": 3560, - "end": 3561, + "start": 3802, + "end": 3803, "loc": { "start": { - "line": 107, - "column": 36 + "line": 120, + "column": 28 }, "end": { - "line": 107, - "column": 37 + "line": 120, + "column": 29 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "path", - "start": 3568, - "end": 3572, + "value": "if", + "start": 3808, + "end": 3810, "loc": { "start": { - "line": 108, - "column": 6 + "line": 121, + "column": 4 }, "end": { - "line": 108, - "column": 10 + "line": 121, + "column": 6 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 3573, - "end": 3574, + "start": 3811, + "end": 3812, "loc": { "start": { - "line": 108, - "column": 11 + "line": 121, + "column": 7 }, "end": { - "line": 108, - "column": 12 + "line": 121, + "column": 8 } } }, @@ -22015,24 +23333,24 @@ "postfix": false, "binop": null }, - "value": "alternate", - "start": 3575, - "end": 3584, + "value": "options", + "start": 3812, + "end": 3819, "loc": { "start": { - "line": 108, - "column": 13 + "line": 121, + "column": 8 }, "end": { - "line": 108, - "column": 22 + "line": 121, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22042,24 +23360,24 @@ "binop": null, "updateContext": null }, - "start": 3584, - "end": 3585, + "start": 3819, + "end": 3820, "loc": { "start": { - "line": 108, - "column": 22 + "line": 121, + "column": 15 }, "end": { - "line": 108, - "column": 23 + "line": 121, + "column": 16 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22067,23 +23385,23 @@ "postfix": false, "binop": null }, - "start": 3590, - "end": 3591, + "value": "path", + "start": 3820, + "end": 3824, "loc": { "start": { - "line": 109, - "column": 4 + "line": 121, + "column": 16 }, "end": { - "line": 109, - "column": 5 + "line": 121, + "column": 20 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22091,108 +23409,106 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "else", - "start": 3592, - "end": 3596, + "value": "||", + "start": 3825, + "end": 3827, "loc": { "start": { - "line": 109, - "column": 6 + "line": 121, + "column": 21 }, "end": { - "line": 109, - "column": 10 + "line": 121, + "column": 23 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3597, - "end": 3599, + "value": "options", + "start": 3828, + "end": 3835, "loc": { "start": { - "line": 109, - "column": 11 + "line": 121, + "column": 24 }, "end": { - "line": 109, - "column": 13 + "line": 121, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3600, - "end": 3601, + "start": 3835, + "end": 3836, "loc": { "start": { - "line": 109, - "column": 14 + "line": 121, + "column": 31 }, "end": { - "line": 109, - "column": 15 + "line": 121, + "column": 32 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 3601, - "end": 3602, + "value": "elementLocation", + "start": 3836, + "end": 3851, "loc": { "start": { - "line": 109, - "column": 15 + "line": 121, + "column": 32 }, "end": { - "line": 109, - "column": 16 + "line": 121, + "column": 47 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22200,44 +23516,41 @@ "postfix": false, "binop": null }, - "value": "path", - "start": 3602, - "end": 3606, + "start": 3851, + "end": 3852, "loc": { "start": { - "line": 109, - "column": 16 + "line": 121, + "column": 47 }, "end": { - "line": 109, - "column": 20 + "line": 121, + "column": 48 } } }, { "type": { - "label": "&&", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 3607, - "end": 3609, + "start": 3853, + "end": 3854, "loc": { "start": { - "line": 109, - "column": 21 + "line": 121, + "column": 49 }, "end": { - "line": 109, - "column": 23 + "line": 121, + "column": 50 } } }, @@ -22253,23 +23566,23 @@ "postfix": false, "binop": null }, - "value": "disableAlternate", - "start": 3610, - "end": 3626, + "value": "logger", + "start": 3861, + "end": 3867, "loc": { "start": { - "line": 109, - "column": 24 + "line": 122, + "column": 6 }, "end": { - "line": 109, - "column": 40 + "line": 122, + "column": 12 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22277,25 +23590,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3626, - "end": 3627, + "start": 3867, + "end": 3868, "loc": { "start": { - "line": 109, - "column": 40 + "line": 122, + "column": 12 }, "end": { - "line": 109, - "column": 41 + "line": 122, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22304,66 +23618,48 @@ "postfix": false, "binop": null }, - "start": 3628, - "end": 3629, - "loc": { - "start": { - "line": 109, - "column": 42 - }, - "end": { - "line": 109, - "column": 43 - } - } - }, - { - "type": "CommentLine", - "value": " when we disable alternate we return the value of alternate", - "start": 3636, - "end": 3697, + "value": "warn", + "start": 3868, + "end": 3872, "loc": { "start": { - "line": 110, - "column": 6 + "line": 122, + "column": 13 }, "end": { - "line": 110, - "column": 67 + "line": 122, + "column": 17 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3704, - "end": 3710, + "start": 3872, + "end": 3873, "loc": { "start": { - "line": 111, - "column": 6 + "line": 122, + "column": 17 }, "end": { - "line": 111, - "column": 12 + "line": 122, + "column": 18 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22373,24 +23669,23 @@ "postfix": false, "binop": null }, - "value": "alternate", - "start": 3711, - "end": 3720, + "start": 3873, + "end": 3874, "loc": { "start": { - "line": 111, - "column": 13 + "line": 122, + "column": 18 }, "end": { - "line": 111, - "column": 22 + "line": 122, + "column": 19 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22400,24 +23695,25 @@ "binop": null, "updateContext": null }, - "start": 3720, - "end": 3721, + "value": "", + "start": 3874, + "end": 3874, "loc": { "start": { - "line": 111, - "column": 22 + "line": 122, + "column": 19 }, "end": { - "line": 111, - "column": 23 + "line": 122, + "column": 19 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22425,16 +23721,16 @@ "postfix": false, "binop": null }, - "start": 3726, - "end": 3727, + "start": 3874, + "end": 3876, "loc": { "start": { - "line": 112, - "column": 4 + "line": 122, + "column": 19 }, "end": { - "line": 112, - "column": 5 + "line": 122, + "column": 21 } } }, @@ -22450,50 +23746,49 @@ "postfix": false, "binop": null }, - "value": "root", - "start": 3732, - "end": 3736, + "value": "options", + "start": 3876, + "end": 3883, "loc": { "start": { - "line": 113, - "column": 4 + "line": 122, + "column": 21 }, "end": { - "line": 113, - "column": 8 + "line": 122, + "column": 28 } } }, { "type": { - "label": "_=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "+=", - "start": 3737, - "end": 3739, + "start": 3883, + "end": 3884, "loc": { "start": { - "line": 113, - "column": 9 + "line": 122, + "column": 28 }, "end": { - "line": 113, - "column": 11 + "line": 122, + "column": 29 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22503,23 +23798,24 @@ "postfix": false, "binop": null }, - "start": 3740, - "end": 3741, + "value": "path", + "start": 3884, + "end": 3888, "loc": { "start": { - "line": 113, - "column": 12 + "line": 122, + "column": 29 }, "end": { - "line": 113, - "column": 13 + "line": 122, + "column": 33 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22529,48 +23825,75 @@ "binop": null, "updateContext": null }, - "value": "\\", - "start": 3741, - "end": 3743, + "start": 3889, + "end": 3890, "loc": { "start": { - "line": 113, - "column": 13 + "line": 122, + "column": 34 }, "end": { - "line": 113, - "column": 15 + "line": 122, + "column": 35 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3743, - "end": 3745, + "value": "server.path", + "start": 3891, + "end": 3904, "loc": { "start": { - "line": 113, - "column": 15 + "line": 122, + "column": 36 }, "end": { - "line": 113, - "column": 17 + "line": 122, + "column": 49 } } }, { "type": { - "label": "name", + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3905, + "end": 3906, + "loc": { + "start": { + "line": 122, + "column": 50 + }, + "end": { + "line": 122, + "column": 51 + } + } + }, + { + "type": { + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22578,19 +23901,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "path", - "start": 3745, - "end": 3749, + "value": "server.elementLocation", + "start": 3907, + "end": 3931, "loc": { "start": { - "line": 113, - "column": 17 + "line": 122, + "column": 52 }, "end": { - "line": 113, - "column": 21 + "line": 122, + "column": 76 } } }, @@ -22606,16 +23930,16 @@ "postfix": false, "binop": null }, - "start": 3749, - "end": 3750, + "start": 3931, + "end": 3932, "loc": { "start": { - "line": 113, - "column": 21 + "line": 122, + "column": 76 }, "end": { - "line": 113, - "column": 22 + "line": 122, + "column": 77 } } }, @@ -22632,17 +23956,17 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 3750, - "end": 3750, + "value": " is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'", + "start": 3932, + "end": 4031, "loc": { "start": { - "line": 113, - "column": 22 + "line": 122, + "column": 77 }, "end": { - "line": 113, - "column": 22 + "line": 122, + "column": 176 } } }, @@ -22658,49 +23982,47 @@ "postfix": false, "binop": null }, - "start": 3750, - "end": 3751, + "start": 4031, + "end": 4032, "loc": { "start": { - "line": 113, - "column": 22 + "line": 122, + "column": 176 }, "end": { - "line": 113, - "column": 23 + "line": 122, + "column": 177 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3751, - "end": 3752, + "start": 4032, + "end": 4033, "loc": { "start": { - "line": 113, - "column": 23 + "line": 122, + "column": 177 }, "end": { - "line": 113, - "column": 24 + "line": 122, + "column": 178 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22711,69 +24033,41 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 3757, - "end": 3763, + "start": 4033, + "end": 4034, "loc": { "start": { - "line": 114, - "column": 4 + "line": 122, + "column": 178 }, "end": { - "line": 114, - "column": 10 + "line": 122, + "column": 179 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "root", - "start": 3764, - "end": 3768, - "loc": { - "start": { - "line": 114, - "column": 11 - }, - "end": { - "line": 114, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3768, - "end": 3769, + "start": 4039, + "end": 4040, "loc": { "start": { - "line": 114, - "column": 15 + "line": 123, + "column": 4 }, "end": { - "line": 114, - "column": 16 + "line": 123, + "column": 5 } } }, @@ -22789,15 +24083,15 @@ "postfix": false, "binop": null }, - "start": 3772, - "end": 3773, + "start": 4043, + "end": 4044, "loc": { "start": { - "line": 115, + "line": 124, "column": 2 }, "end": { - "line": 115, + "line": 124, "column": 3 } } @@ -22814,15 +24108,15 @@ "postfix": false, "binop": null }, - "start": 3774, - "end": 3775, + "start": 4045, + "end": 4046, "loc": { "start": { - "line": 116, + "line": 125, "column": 0 }, "end": { - "line": 116, + "line": 125, "column": 1 } } @@ -22840,15 +24134,15 @@ "binop": null, "updateContext": null }, - "start": 3776, - "end": 3776, + "start": 4047, + "end": 4047, "loc": { "start": { - "line": 117, + "line": 126, "column": 0 }, "end": { - "line": 117, + "line": 126, "column": 0 } } diff --git a/docs/badge.svg b/docs/badge.svg index fff6030..be3fc5a 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -11,7 +11,7 @@ document document - 44% - 44% + 42% + 42% diff --git a/docs/class/src/server.js~Server.html b/docs/class/src/server.js~Server.html index 6ed9285..035cc7a 100644 --- a/docs/class/src/server.js~Server.html +++ b/docs/class/src/server.js~Server.html @@ -122,6 +122,33 @@

Server

+ + + +
+

+ + + handleOldOptions(options: *) +

+
+
+ + + +
+ + + + + + + + + public + + + @@ -167,7 +194,7 @@

- source + source

@@ -240,6 +267,65 @@

Return:

+ +
+

+ public + + + + + + handleOldOptions(options: *) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
options*
+
+
+ + + + + + + + + + + + + + + + +

@@ -293,13 +379,6 @@

Params:

path to where your docs are located

- - server.path - string - -

src path of the component

- - server.bowerPath string @@ -325,7 +404,14 @@

Params:

server.index string -

path to your index.html file we serve a helper/docs index by default

+

path to your index.html file we serve a helper/docs index by default (not support for now)

+ + + + server.use + array + +

static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.

diff --git a/docs/coverage.json b/docs/coverage.json index 9892ac4..defc4bd 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,6 +1,6 @@ { - "coverage": "44.44%", - "expectCount": 27, + "coverage": "42.85%", + "expectCount": 28, "actualCount": 12, "files": { "src/builder.js": { @@ -35,10 +35,11 @@ ] }, "src/server.js": { - "expectCount": 3, + "expectCount": 4, "actualCount": 2, "undocumentLines": [ - 27 + 27, + 120 ] }, "src/utils.js": { diff --git a/docs/dump.json b/docs/dump.json index 81cad93..868952f 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -1002,7 +1002,7 @@ "__docId__": 36, "kind": "file", "name": "src/server.js", - "content": "'use strict';\nconst express = require('express');\n\nconst app = express();\n\nconst glob = require('glob');\n\nimport logger from './logger.js';\n\n/**\n * glob file path\n * @param {string} string\n */\nconst src = string => {\n return new Promise((resolve, reject) => {\n glob(string, (error, files) => {\n if (error) {\n reject(error);\n }\n if (files.length > 0) {\n resolve(files);\n }\n });\n });\n};\n\nexport default class Server {\n\n/**\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.path src path of the component\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default\n */\n serve(server) {\n if (server) {\n if (server.elementLocation) {\n logger.warn('Deprecated::server.elementLocation, support ends @0.2.0 [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more');\n app.use(`/${server.elementLocation}`, express.static(\n this.appLocation(server.path, 'some-element.js')));\n }\n if (server.use) {\n for (let use of server.use) {\n app.use(use.path, express.static(this.appLocation(use.static || use.path)));\n }\n }\n app.use('/bower_components', express.static(\n this.appLocation(server.bowerPath, 'bower_components')));\n\n app.use('/node_modules', express.static(\n this.appLocation(server.nodeModulesPath, 'node_modules')));\n\n // app.use(`/${server.elementLocation}`, express.static(\n // this.appLocation(server.path, 'some-element.js')));\n\n app.use('/', express.static(\n this.appLocation(server.entry, 'dist')));\n\n app.use('/demo', express.static(\n this.appLocation(server.demo, 'demo')));\n\n app.use('/docs', express.static(\n this.appLocation(server.docs, 'docs')));\n\n app.use('/package.json', express.static(\n this.appLocation('package.json')\n ));\n\n app.use('/bower.json', express.static(\n this.appLocation('bower.json')\n ));\n\n // TODO: Add option to override index\n app.use('/', express.static(__dirname.replace('bin', 'node_modules\\\\backed-client\\\\dist')));\n\n // serve backed\n app.use('/backed/docs', express.static(\n __dirname.replace('bin', 'docs')));\n\n // TODO: implement copyrighted by package author & package name if no file is found\n src(process.cwd() + '/license.*').then(files => {\n app.use('/license', express.static(files[0]));\n });\n\n app.listen(3000, error => {\n if (error) {\n return logger.warn(error);\n }\n logger.log(`${global.config.name}::serving app from http://localhost:${server.port}/${server.entry.replace('/', '')}`);\n });\n } else {\n return logger.warn(`${global.config.name}::server config not found [example](https://github.com/vandeurenglenn/backed-cli/config/backed.json)`);\n }\n }\n\n /**\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n */\n appLocation(path, alternate, disableAlternate = false) {\n let root = process.cwd();\n if (!path && !disableAlternate) {\n path = alternate;\n } else if (!path && disableAlternate) {\n // when we disable alternate we return the value of alternate\n return alternate;\n }\n root += `\\\\${path}`;\n return root;\n }\n}\n", + "content": "'use strict';\nconst express = require('express');\n\nconst app = express();\n\nconst glob = require('glob');\n\nimport logger from './logger.js';\n\n/**\n * glob file path\n * @param {string} string\n */\nconst src = string => {\n return new Promise((resolve, reject) => {\n glob(string, (error, files) => {\n if (error) {\n reject(error);\n }\n if (files.length > 0) {\n resolve(files);\n }\n });\n });\n};\n\nexport default class Server {\n\n/**\n * @param {object} server - configuration\n * @param {string} server.entry path to where your build is located\n * @param {string} server.docs path to where your docs are located\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default (not support for now)\n * @param {array} server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.\n */\n serve(server = {\n entry: '/',\n demo: 'demo',\n docs: 'docs',\n use: [{path: null, static: null}],\n bowerPath: 'bower_components',\n nodeModulesPath: 'node_modules',\n index: null}) {\n if (server) {\n this.handleOldOptions(server);\n if (server.use) {\n for (let use of server.use) {\n app.use(use.path, express.static(this.appLocation(use.static || use.path)));\n }\n }\n app.use('/bower_components', express.static(\n this.appLocation(server.bowerPath, 'bower_components')));\n\n app.use('/node_modules', express.static(\n this.appLocation(server.nodeModulesPath, 'node_modules')));\n\n // app.use(`/${server.elementLocation}`, express.static(\n // this.appLocation(server.path, 'some-element.js')));\n\n app.use('/', express.static(\n this.appLocation(server.entry)));\n\n app.use('/demo', express.static(\n this.appLocation(server.demo)));\n\n app.use('/docs', express.static(\n this.appLocation(server.docs)));\n\n app.use('/package.json', express.static(\n this.appLocation('package.json')\n ));\n\n app.use('/bower.json', express.static(\n this.appLocation('bower.json')\n ));\n\n // TODO: Add option to override index\n app.use('/', express.static(__dirname.replace('bin', 'node_modules\\\\backed-client\\\\dist')));\n\n // serve backed\n app.use('/backed/docs', express.static(\n __dirname.replace('bin', 'docs')));\n\n // TODO: implement copyrighted by package author & package name if no file is found\n src(process.cwd() + '/license.*').then(files => {\n app.use('/license', express.static(files[0]));\n });\n\n app.listen(3000, error => {\n if (error) {\n return logger.warn(error);\n }\n logger.log(`${global.config.name}::serving app from http://localhost:${server.port}/${server.entry.replace('/', '')}`);\n });\n } else {\n return logger.warn(`${global.config.name}::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)`);\n }\n }\n\n /**\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n */\n appLocation(path, alternate, disableAlternate = false) {\n let root = process.cwd();\n if (!path && !disableAlternate) {\n path = alternate;\n } else if (!path && disableAlternate) {\n // when we disable alternate we return the value of alternate\n return alternate;\n }\n root += `\\\\${path}`;\n return root;\n }\n\n handleOldOptions(options) {\n if (options.path || options.elementLocation) {\n logger.warn(`${options.path ? 'server.path' : 'server.elementLocation'} is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'`);\n }\n }\n}\n", "static": true, "longname": "src/server.js", "access": null, @@ -1185,16 +1185,6 @@ "name": "server.docs", "description": "path to where your docs are located" }, - { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "optional": false, - "name": "server.path", - "description": "src path of the component" - }, { "nullable": null, "types": [ @@ -1233,7 +1223,17 @@ "spread": false, "optional": false, "name": "server.index", - "description": "path to your index.html file we serve a helper/docs index by default" + "description": "path to your index.html file we serve a helper/docs index by default (not support for now)" + }, + { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "optional": false, + "name": "server.use", + "description": "static files to include [{path: some/path, static: some//path}] when static is undefined path will be used." } ], "return": { @@ -1253,7 +1253,7 @@ "longname": "src/server.js~Server#appLocation", "access": null, "description": "", - "lineNumber": 105, + "lineNumber": 108, "params": [ { "nullable": null, @@ -1294,6 +1294,34 @@ }, { "__docId__": 44, + "kind": "method", + "name": "handleOldOptions", + "memberof": "src/server.js~Server", + "generator": false, + "async": false, + "static": false, + "longname": "src/server.js~Server#handleOldOptions", + "access": null, + "description": null, + "lineNumber": 120, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ + { + "name": "options", + "types": [ + "*" + ] + } + ] + }, + { + "__docId__": 45, "kind": "file", "name": "src/utils.js", "content": "'use strict';\nconst {writeFile, mkdir} = require('fs');\nconst vinylRead = require('vinyl-read');\nconst path = require('path');\nimport logger from './logger.js';\n\nexport default class {\n /**\n * @param {object} sources {src: [\"some/glob/exp\"], dest: \"some/dest\"}\n */\n copySources(sources) {\n return new Promise((resolve, reject) => {\n if (sources) {\n try {\n let promises = [];\n for (let source of sources) {\n promises.push(this.copy(source.src, source.dest));\n }\n Promise.all(promises).then(() => {\n logger.succes(`${global.config.name}::copy finished`);\n resolve();\n });\n } catch (error) {\n logger.error(error);\n reject(error);\n }\n }\n });\n }\n\n /**\n * returns a destination using [vinyl](https://github.com/gulpjs/vinyl) info\n */\n destinationFromFile(file) {\n let dest = file.path;\n dest = dest.replace(`${file.base}/`, '');\n dest = dest.split(path.sep);\n if (dest.length > 1) {\n dest[0] = file.dest;\n } else {\n dest[1] = dest[0];\n dest[0] = dest;\n }\n file.dest = dest.toString().replace(/,/g, '/');\n return file;\n }\n\n /**\n * @param {string} src \"some/src/path\"\n * @param {string} dest \"some/dest/path\"\n */\n copy(src, dest) {\n return new Promise(resolve => {\n let promises = [];\n vinylRead(src, {\n cwd: process.cwd()\n }).then(files => {\n for (let file of files) {\n file.dest = dest;\n promises.push(this.write(this.destinationFromFile(file)));\n }\n Promise.all(promises).then(() => {\n resolve();\n });\n });\n });\n }\n\n /**\n * @param {object} file {src: \"some/src/path\", dest: \"some/dest/path\"}\n */\n write(file) {\n return new Promise((resolve, reject) => {\n if (file) {\n writeFile(file.dest, file.contents, err => {\n if (err) {\n if (global.debug) {\n logger.warn(\n `subdirectory(s)::not existing\n Backed will now try to create ${file.dest}`\n );\n }\n const dest = file.dest.replace(/\\/(?:.(?!\\/))+$/, '');\n const paths = dest.split('/');\n let prepath = '';\n for (let path of paths) {\n prepath += `${path}/`;\n mkdir(prepath, err => {\n if (err) {\n if (err.code !== 'EEXIST') {\n reject(err);\n }\n }\n });\n }\n this.write(file).then(() => {\n resolve();\n });\n } else {\n resolve();\n }\n });\n } else {\n resolve();\n }\n });\n }\n}\n", @@ -1304,7 +1332,7 @@ "lineNumber": 1 }, { - "__docId__": 45, + "__docId__": 46, "kind": "variable", "name": "writeFile", "memberof": "src/utils.js", @@ -1330,7 +1358,7 @@ } }, { - "__docId__": 46, + "__docId__": 47, "kind": "variable", "name": "vinylRead", "memberof": "src/utils.js", @@ -1356,7 +1384,7 @@ } }, { - "__docId__": 47, + "__docId__": 48, "kind": "variable", "name": "path", "memberof": "src/utils.js", @@ -1382,7 +1410,7 @@ } }, { - "__docId__": 48, + "__docId__": 49, "kind": "class", "name": "utils", "memberof": "src/utils.js", @@ -1404,7 +1432,7 @@ "interface": false }, { - "__docId__": 49, + "__docId__": 50, "kind": "method", "name": "copySources", "memberof": "src/utils.js~utils", @@ -1434,7 +1462,7 @@ } }, { - "__docId__": 50, + "__docId__": 51, "kind": "method", "name": "destinationFromFile", "memberof": "src/utils.js~utils", @@ -1460,7 +1488,7 @@ } }, { - "__docId__": 51, + "__docId__": 52, "kind": "method", "name": "copy", "memberof": "src/utils.js~utils", @@ -1500,7 +1528,7 @@ } }, { - "__docId__": 52, + "__docId__": 53, "kind": "method", "name": "write", "memberof": "src/utils.js~utils", @@ -1530,7 +1558,7 @@ } }, { - "__docId__": 54, + "__docId__": 55, "kind": "external", "name": "Infinity", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", @@ -1542,7 +1570,7 @@ "builtinExternal": true }, { - "__docId__": 55, + "__docId__": 56, "kind": "external", "name": "NaN", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", @@ -1554,7 +1582,7 @@ "builtinExternal": true }, { - "__docId__": 56, + "__docId__": 57, "kind": "external", "name": "undefined", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", @@ -1566,7 +1594,7 @@ "builtinExternal": true }, { - "__docId__": 57, + "__docId__": 58, "kind": "external", "name": "null", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", @@ -1578,7 +1606,7 @@ "builtinExternal": true }, { - "__docId__": 58, + "__docId__": 59, "kind": "external", "name": "Object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -1590,7 +1618,7 @@ "builtinExternal": true }, { - "__docId__": 59, + "__docId__": 60, "kind": "external", "name": "object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -1602,7 +1630,7 @@ "builtinExternal": true }, { - "__docId__": 60, + "__docId__": 61, "kind": "external", "name": "Function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -1614,7 +1642,7 @@ "builtinExternal": true }, { - "__docId__": 61, + "__docId__": 62, "kind": "external", "name": "function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -1626,7 +1654,7 @@ "builtinExternal": true }, { - "__docId__": 62, + "__docId__": 63, "kind": "external", "name": "Boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -1638,7 +1666,7 @@ "builtinExternal": true }, { - "__docId__": 63, + "__docId__": 64, "kind": "external", "name": "boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -1650,7 +1678,7 @@ "builtinExternal": true }, { - "__docId__": 64, + "__docId__": 65, "kind": "external", "name": "Symbol", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", @@ -1662,7 +1690,7 @@ "builtinExternal": true }, { - "__docId__": 65, + "__docId__": 66, "kind": "external", "name": "Error", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", @@ -1674,7 +1702,7 @@ "builtinExternal": true }, { - "__docId__": 66, + "__docId__": 67, "kind": "external", "name": "EvalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", @@ -1686,7 +1714,7 @@ "builtinExternal": true }, { - "__docId__": 67, + "__docId__": 68, "kind": "external", "name": "InternalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", @@ -1698,7 +1726,7 @@ "builtinExternal": true }, { - "__docId__": 68, + "__docId__": 69, "kind": "external", "name": "RangeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", @@ -1710,7 +1738,7 @@ "builtinExternal": true }, { - "__docId__": 69, + "__docId__": 70, "kind": "external", "name": "ReferenceError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", @@ -1722,7 +1750,7 @@ "builtinExternal": true }, { - "__docId__": 70, + "__docId__": 71, "kind": "external", "name": "SyntaxError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", @@ -1734,7 +1762,7 @@ "builtinExternal": true }, { - "__docId__": 71, + "__docId__": 72, "kind": "external", "name": "TypeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", @@ -1746,7 +1774,7 @@ "builtinExternal": true }, { - "__docId__": 72, + "__docId__": 73, "kind": "external", "name": "URIError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", @@ -1758,7 +1786,7 @@ "builtinExternal": true }, { - "__docId__": 73, + "__docId__": 74, "kind": "external", "name": "Number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -1770,7 +1798,7 @@ "builtinExternal": true }, { - "__docId__": 74, + "__docId__": 75, "kind": "external", "name": "number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -1782,7 +1810,7 @@ "builtinExternal": true }, { - "__docId__": 75, + "__docId__": 76, "kind": "external", "name": "Date", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", @@ -1794,7 +1822,7 @@ "builtinExternal": true }, { - "__docId__": 76, + "__docId__": 77, "kind": "external", "name": "String", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -1806,7 +1834,7 @@ "builtinExternal": true }, { - "__docId__": 77, + "__docId__": 78, "kind": "external", "name": "string", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -1818,7 +1846,7 @@ "builtinExternal": true }, { - "__docId__": 78, + "__docId__": 79, "kind": "external", "name": "RegExp", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", @@ -1830,7 +1858,7 @@ "builtinExternal": true }, { - "__docId__": 79, + "__docId__": 80, "kind": "external", "name": "Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", @@ -1842,7 +1870,7 @@ "builtinExternal": true }, { - "__docId__": 80, + "__docId__": 81, "kind": "external", "name": "Int8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", @@ -1854,7 +1882,7 @@ "builtinExternal": true }, { - "__docId__": 81, + "__docId__": 82, "kind": "external", "name": "Uint8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", @@ -1866,7 +1894,7 @@ "builtinExternal": true }, { - "__docId__": 82, + "__docId__": 83, "kind": "external", "name": "Uint8ClampedArray", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", @@ -1878,7 +1906,7 @@ "builtinExternal": true }, { - "__docId__": 83, + "__docId__": 84, "kind": "external", "name": "Int16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", @@ -1890,7 +1918,7 @@ "builtinExternal": true }, { - "__docId__": 84, + "__docId__": 85, "kind": "external", "name": "Uint16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", @@ -1902,7 +1930,7 @@ "builtinExternal": true }, { - "__docId__": 85, + "__docId__": 86, "kind": "external", "name": "Int32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", @@ -1914,7 +1942,7 @@ "builtinExternal": true }, { - "__docId__": 86, + "__docId__": 87, "kind": "external", "name": "Uint32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", @@ -1926,7 +1954,7 @@ "builtinExternal": true }, { - "__docId__": 87, + "__docId__": 88, "kind": "external", "name": "Float32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", @@ -1938,7 +1966,7 @@ "builtinExternal": true }, { - "__docId__": 88, + "__docId__": 89, "kind": "external", "name": "Float64Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", @@ -1950,7 +1978,7 @@ "builtinExternal": true }, { - "__docId__": 89, + "__docId__": 90, "kind": "external", "name": "Map", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", @@ -1962,7 +1990,7 @@ "builtinExternal": true }, { - "__docId__": 90, + "__docId__": 91, "kind": "external", "name": "Set", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", @@ -1974,7 +2002,7 @@ "builtinExternal": true }, { - "__docId__": 91, + "__docId__": 92, "kind": "external", "name": "WeakMap", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", @@ -1986,7 +2014,7 @@ "builtinExternal": true }, { - "__docId__": 92, + "__docId__": 93, "kind": "external", "name": "WeakSet", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", @@ -1998,7 +2026,7 @@ "builtinExternal": true }, { - "__docId__": 93, + "__docId__": 94, "kind": "external", "name": "ArrayBuffer", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", @@ -2010,7 +2038,7 @@ "builtinExternal": true }, { - "__docId__": 94, + "__docId__": 95, "kind": "external", "name": "DataView", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", @@ -2022,7 +2050,7 @@ "builtinExternal": true }, { - "__docId__": 95, + "__docId__": 96, "kind": "external", "name": "JSON", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", @@ -2034,7 +2062,7 @@ "builtinExternal": true }, { - "__docId__": 96, + "__docId__": 97, "kind": "external", "name": "Promise", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", @@ -2046,7 +2074,7 @@ "builtinExternal": true }, { - "__docId__": 97, + "__docId__": 98, "kind": "external", "name": "Generator", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", @@ -2058,7 +2086,7 @@ "builtinExternal": true }, { - "__docId__": 98, + "__docId__": 99, "kind": "external", "name": "GeneratorFunction", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", @@ -2070,7 +2098,7 @@ "builtinExternal": true }, { - "__docId__": 99, + "__docId__": 100, "kind": "external", "name": "Reflect", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", @@ -2082,7 +2110,7 @@ "builtinExternal": true }, { - "__docId__": 100, + "__docId__": 101, "kind": "external", "name": "Proxy", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", @@ -2095,7 +2123,7 @@ "builtinExternal": true }, { - "__docId__": 102, + "__docId__": 103, "kind": "external", "name": "CanvasRenderingContext2D", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", @@ -2107,7 +2135,7 @@ "builtinExternal": true }, { - "__docId__": 103, + "__docId__": 104, "kind": "external", "name": "DocumentFragment", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", @@ -2119,7 +2147,7 @@ "builtinExternal": true }, { - "__docId__": 104, + "__docId__": 105, "kind": "external", "name": "Element", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", @@ -2131,7 +2159,7 @@ "builtinExternal": true }, { - "__docId__": 105, + "__docId__": 106, "kind": "external", "name": "Event", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", @@ -2143,7 +2171,7 @@ "builtinExternal": true }, { - "__docId__": 106, + "__docId__": 107, "kind": "external", "name": "Node", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", @@ -2155,7 +2183,7 @@ "builtinExternal": true }, { - "__docId__": 107, + "__docId__": 108, "kind": "external", "name": "NodeList", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", @@ -2167,7 +2195,7 @@ "builtinExternal": true }, { - "__docId__": 108, + "__docId__": 109, "kind": "external", "name": "XMLHttpRequest", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", @@ -2179,7 +2207,7 @@ "builtinExternal": true }, { - "__docId__": 109, + "__docId__": 110, "kind": "external", "name": "AudioContext", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", diff --git a/docs/file/src/server.js.html b/docs/file/src/server.js.html index ac5d1d5..a7134b9 100644 --- a/docs/file/src/server.js.html +++ b/docs/file/src/server.js.html @@ -75,19 +75,22 @@ * @param {object} server - configuration * @param {string} server.entry path to where your build is located * @param {string} server.docs path to where your docs are located - * @param {string} server.path src path of the component * @param {string} server.bowerPath path to bower_components * @param {string} server.nodeModulesPath path to node_modules * @param {string} server.demo path to the demo - * @param {string} server.index path to your index.html file we serve a helper/docs index by default + * @param {string} server.index path to your index.html file we serve a helper/docs index by default (not support for now) + * @param {array} server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used. */ - serve(server) { + serve(server = { + entry: '/', + demo: 'demo', + docs: 'docs', + use: [{path: null, static: null}], + bowerPath: 'bower_components', + nodeModulesPath: 'node_modules', + index: null}) { if (server) { - if (server.elementLocation) { - logger.warn('Deprecated::server.elementLocation, support ends @0.2.0 [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'); - app.use(`/${server.elementLocation}`, express.static( - this.appLocation(server.path, 'some-element.js'))); - } + this.handleOldOptions(server); if (server.use) { for (let use of server.use) { app.use(use.path, express.static(this.appLocation(use.static || use.path))); @@ -103,13 +106,13 @@ // this.appLocation(server.path, 'some-element.js'))); app.use('/', express.static( - this.appLocation(server.entry, 'dist'))); + this.appLocation(server.entry))); app.use('/demo', express.static( - this.appLocation(server.demo, 'demo'))); + this.appLocation(server.demo))); app.use('/docs', express.static( - this.appLocation(server.docs, 'docs'))); + this.appLocation(server.docs))); app.use('/package.json', express.static( this.appLocation('package.json') @@ -138,7 +141,7 @@ logger.log(`${global.config.name}::serving app from http://localhost:${server.port}/${server.entry.replace('/', '')}`); }); } else { - return logger.warn(`${global.config.name}::server config not found [example](https://github.com/vandeurenglenn/backed-cli/config/backed.json)`); + return logger.warn(`${global.config.name}::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)`); } } @@ -158,6 +161,12 @@ root += `\\${path}`; return root; } + + handleOldOptions(options) { + if (options.path || options.elementLocation) { + logger.warn(`${options.path ? 'server.path' : 'server.elementLocation'} is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'`); + } + } } diff --git a/docs/package.json b/docs/package.json index ec1aa11..166abfc 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "backed-cli", - "version": "0.1.15", + "version": "0.2.0-alpha1", "description": "The official command line interface for Backed", "homepage": "https://github.com/vandeurenglenn/backed-cli", "author": { diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 5d2c094..2eece93 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -491,6 +491,12 @@ window.esdocSearchIndex = [ "src/server.js~Server#appLocation", "method" ], + [ + "src/server.js~server#handleoldoptions", + "class/src/server.js~Server.html#instance-method-handleOldOptions", + "src/server.js~Server#handleOldOptions", + "method" + ], [ "src/server.js~server#serve", "class/src/server.js~Server.html#instance-method-serve", diff --git a/docs/source.html b/docs/source.html index 7e6348b..7534512 100644 --- a/docs/source.html +++ b/docs/source.html @@ -42,7 +42,7 @@
-

Source 12/27

+

Source 12/28

@@ -91,12 +91,12 @@ - + - - - - + + + + diff --git a/package.json b/package.json index ec1aa11..166abfc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backed-cli", - "version": "0.1.15", + "version": "0.2.0-alpha1", "description": "The official command line interface for Backed", "homepage": "https://github.com/vandeurenglenn/backed-cli", "author": {
2017-02-03 01:02:07 (UTC)
src/server.jssrc/server.js Server66 %2/33776 byte1162017-03-06 02:18:28 (UTC)50 %2/44047 byte1252017-03-06 22:56:06 (UTC)
src/utils.js