UNPKG

skypager-project-types-react

Version:
85 lines (62 loc) 12.5 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.l = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // identity function for calling harmory imports with the correct context /******/ __webpack_require__.i = function(value) { return value; }; /******/ // define getter function for harmory exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ }; /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/"; /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 22); /******/ }) /************************************************************************/ /******/ ({ /***/ 22: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(7); /***/ }, /***/ 7: /***/ function(module, exports) { module.exports = "{\"path\":\"/Users/jonathan/Skypager/packages/skypager-react-project/repl.js\",\"ast\":{\"type\":\"File\",\"start\":0,\"end\":105,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":4,\"column\":0}},\"program\":{\"type\":\"Program\",\"start\":0,\"end\":105,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":4,\"column\":0}},\"sourceType\":\"module\",\"body\":[{\"type\":\"VariableDeclaration\",\"start\":0,\"end\":43,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":1,\"column\":43}},\"declarations\":[{\"type\":\"VariableDeclarator\",\"start\":6,\"end\":43,\"loc\":{\"start\":{\"line\":1,\"column\":6},\"end\":{\"line\":1,\"column\":43}},\"id\":{\"type\":\"Identifier\",\"start\":6,\"end\":13,\"loc\":{\"start\":{\"line\":1,\"column\":6},\"end\":{\"line\":1,\"column\":13},\"identifierName\":\"project\"},\"name\":\"project\"},\"init\":{\"type\":\"CallExpression\",\"start\":16,\"end\":43,\"loc\":{\"start\":{\"line\":1,\"column\":16},\"end\":{\"line\":1,\"column\":43}},\"callee\":{\"type\":\"Identifier\",\"start\":16,\"end\":23,\"loc\":{\"start\":{\"line\":1,\"column\":16},\"end\":{\"line\":1,\"column\":23},\"identifierName\":\"require\"},\"name\":\"require\"},\"arguments\":[{\"type\":\"StringLiteral\",\"start\":24,\"end\":42,\"loc\":{\"start\":{\"line\":1,\"column\":24},\"end\":{\"line\":1,\"column\":42}},\"extra\":{\"rawValue\":\"skypager/current\",\"raw\":\"'skypager/current'\"},\"value\":\"skypager/current\"}]}}],\"kind\":\"var\"},{\"type\":\"VariableDeclaration\",\"start\":44,\"end\":82,\"loc\":{\"start\":{\"line\":2,\"column\":0},\"end\":{\"line\":2,\"column\":38}},\"declarations\":[{\"type\":\"VariableDeclarator\",\"start\":50,\"end\":82,\"loc\":{\"start\":{\"line\":2,\"column\":6},\"end\":{\"line\":2,\"column\":38}},\"id\":{\"type\":\"Identifier\",\"start\":50,\"end\":58,\"loc\":{\"start\":{\"line\":2,\"column\":6},\"end\":{\"line\":2,\"column\":14},\"identifierName\":\"compiler\"},\"name\":\"compiler\"},\"init\":{\"type\":\"MemberExpression\",\"start\":61,\"end\":82,\"loc\":{\"start\":{\"line\":2,\"column\":17},\"end\":{\"line\":2,\"column\":38}},\"object\":{\"type\":\"Identifier\",\"start\":61,\"end\":68,\"loc\":{\"start\":{\"line\":2,\"column\":17},\"end\":{\"line\":2,\"column\":24},\"identifierName\":\"project\"},\"name\":\"project\"},\"property\":{\"type\":\"Identifier\",\"start\":69,\"end\":82,\"loc\":{\"start\":{\"line\":2,\"column\":25},\"end\":{\"line\":2,\"column\":38},\"identifierName\":\"reactCompiler\"},\"name\":\"reactCompiler\"},\"computed\":false}}],\"kind\":\"var\"},{\"type\":\"ExpressionStatement\",\"start\":83,\"end\":104,\"loc\":{\"start\":{\"line\":3,\"column\":0},\"end\":{\"line\":3,\"column\":21}},\"expression\":{\"type\":\"CallExpression\",\"start\":83,\"end\":104,\"loc\":{\"start\":{\"line\":3,\"column\":0},\"end\":{\"line\":3,\"column\":21}},\"callee\":{\"type\":\"MemberExpression\",\"start\":83,\"end\":102,\"loc\":{\"start\":{\"line\":3,\"column\":0},\"end\":{\"line\":3,\"column\":19}},\"object\":{\"type\":\"Identifier\",\"start\":83,\"end\":91,\"loc\":{\"start\":{\"line\":3,\"column\":0},\"end\":{\"line\":3,\"column\":8},\"identifierName\":\"compiler\"},\"name\":\"compiler\"},\"property\":{\"type\":\"Identifier\",\"start\":92,\"end\":102,\"loc\":{\"start\":{\"line\":3,\"column\":9},\"end\":{\"line\":3,\"column\":19},\"identifierName\":\"createRepl\"},\"name\":\"createRepl\"},\"computed\":false},\"arguments\":[]}}],\"directives\":[{\"type\":\"Directive\",\"value\":{\"type\":\"DirectiveLiteral\",\"value\":\"use strict\"}}]},\"comments\":[],\"tokens\":[{\"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\":0,\"end\":5,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":1,\"column\":5}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"project\",\"start\":6,\"end\":13,\"loc\":{\"start\":{\"line\":1,\"column\":6},\"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\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"require\",\"start\":16,\"end\":23,\"loc\":{\"start\":{\"line\":1,\"column\":16},\"end\":{\"line\":1,\"column\":23}}},{\"type\":{\"label\":\"(\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":23,\"end\":24,\"loc\":{\"start\":{\"line\":1,\"column\":23},\"end\":{\"line\":1,\"column\":24}}},{\"type\":{\"label\":\"string\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"value\":\"skypager/current\",\"start\":24,\"end\":42,\"loc\":{\"start\":{\"line\":1,\"column\":24},\"end\":{\"line\":1,\"column\":42}}},{\"type\":{\"label\":\")\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":42,\"end\":43,\"loc\":{\"start\":{\"line\":1,\"column\":42},\"end\":{\"line\":1,\"column\":43}}},{\"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\":44,\"end\":49,\"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\":\"compiler\",\"start\":50,\"end\":58,\"loc\":{\"start\":{\"line\":2,\"column\":6},\"end\":{\"line\":2,\"column\":14}}},{\"type\":{\"label\":\"=\",\"beforeExpr\":true,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":true,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"value\":\"=\",\"start\":59,\"end\":60,\"loc\":{\"start\":{\"line\":2,\"column\":15},\"end\":{\"line\":2,\"column\":16}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"project\",\"start\":61,\"end\":68,\"loc\":{\"start\":{\"line\":2,\"column\":17},\"end\":{\"line\":2,\"column\":24}}},{\"type\":{\"label\":\".\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":68,\"end\":69,\"loc\":{\"start\":{\"line\":2,\"column\":24},\"end\":{\"line\":2,\"column\":25}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"reactCompiler\",\"start\":69,\"end\":82,\"loc\":{\"start\":{\"line\":2,\"column\":25},\"end\":{\"line\":2,\"column\":38}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"compiler\",\"start\":83,\"end\":91,\"loc\":{\"start\":{\"line\":3,\"column\":0},\"end\":{\"line\":3,\"column\":8}}},{\"type\":{\"label\":\".\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":91,\"end\":92,\"loc\":{\"start\":{\"line\":3,\"column\":8},\"end\":{\"line\":3,\"column\":9}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"createRepl\",\"start\":92,\"end\":102,\"loc\":{\"start\":{\"line\":3,\"column\":9},\"end\":{\"line\":3,\"column\":19}}},{\"type\":{\"label\":\"(\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":102,\"end\":103,\"loc\":{\"start\":{\"line\":3,\"column\":19},\"end\":{\"line\":3,\"column\":20}}},{\"type\":{\"label\":\")\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":103,\"end\":104,\"loc\":{\"start\":{\"line\":3,\"column\":20},\"end\":{\"line\":3,\"column\":21}}},{\"type\":{\"label\":\"eof\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":105,\"end\":105,\"loc\":{\"start\":{\"line\":4,\"column\":0},\"end\":{\"line\":4,\"column\":0}}}]},\"meta\":{\"usedHelpers\":[],\"marked\":[],\"modules\":{\"imports\":[],\"exports\":{\"exported\":[],\"specifiers\":[]}}},\"contents\":\"const project = require('skypager/current')\\nconst compiler = project.reactCompiler\\ncompiler.createRepl()\\n\",\"query\":{}}" /***/ } /******/ });