@withgraphite/graphite-cli 1.4.7 → 1.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/child.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"child.js","mappings":";uBAIIA,E,aCJJC,EAAOC,QAAUC,QAAQ,K,YCAzBF,EAAOC,QAAUC,QAAQ,S,YCAzBF,EAAOC,QAAUC,QAAQ,S,YCAzBF,EAAOC,QAAUC,QAAQ,gB,YCAzBF,EAAOC,QAAUC,QAAQ,Y,WCAzBF,EAAOC,QAAUC,QAAQ,S,YCAzBF,EAAOC,QAAUC,QAAQ,S,YCAzBF,EAAOC,QAAUC,QAAQ,K,YCAzBF,EAAOC,QAAUC,QAAQ,c,YCAzBF,EAAOC,QAAUC,QAAQ,O,YCAzBF,EAAOC,QAAUC,QAAQ,Q,YCAzBF,EAAOC,QAAUC,QAAQ,K,YCAzBF,EAAOC,QAAUC,QAAQ,O,YCAzBF,EAAOC,QAAUC,QAAQ,S,YCAzBF,EAAOC,QAAUC,QAAQ,W,YCAzBF,EAAOC,QAAUC,QAAQ,S,YCAzBF,EAAOC,QAAUC,QAAQ,iB,YCAzBF,EAAOC,QAAUC,QAAQ,M,YCAzBF,EAAOC,QAAUC,QAAQ,O,YCAzBF,EAAOC,QAAUC,QAAQ,O,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaL,QAGrB,IAAID,EAASG,EAAyBE,GAAY,CACjDG,GAAIH,EACJI,QAAQ,EACRR,QAAS,CAAC,GAUX,OANAS,EAAoBL,GAAUM,KAAKX,EAAOC,QAASD,EAAQA,EAAOC,QAASG,GAG3EJ,EAAOS,QAAS,EAGTT,EAAOC,OACf,CAGAG,EAAoBQ,EAAIF,EC3BxBN,EAAoBS,EAAKb,IACxB,IAAIc,EAASd,GAAUA,EAAOe,WAC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AAIH,EAASI,OAAQD,IACnCrD,EAAgBkD,EAASG,IAAM,CAAC,EAS/BE,CAAapD,QAAQ,KAAOE,EAAoB6B,EAAEN,IAEpD,E,qB8BFD,SAAS4B,EAA2BC,G,MACtB,QAAZ,EAAAC,QAAQC,YAAI,sBAAGF,OAAKjD,EAAW,CAAEoD,eAAe,GAClD,CAUA,MAAMC,EAAwBC,KAAKC,MAAML,QAAQM,IAAIC,iBACrDJ,EAAKK,QATL,YAAiBL,GAKfL,EAJY,CACVW,KAAM,UACNN,QAGJ,EAIA,qDACGO,MAAK,EAAGC,iBAAkBA,EAAYR,KACtCO,MAAME,IACLd,EAA2B,CAAEW,KAAM,SAAUG,UAAS,IAEvDC,OAAOC,GACNhB,EAA2B,CACzBW,KAAM,SACNG,OAAQ,CAAEH,KAAM,QAASK,MAAOC,OAAOD,QAI7Cd,QAAQgB,GAAG,qBAAsBC,I,MAC/B,MAAM,gBAAEC,GAAoBf,EACvB,WAAYgB,WACfD,EACA,OAAM,IAAIE,MAAOC,oEACL,QAAV,EAAAJ,aAAG,EAAHA,EAAKK,aAAK,QAAIL,aAAG,EAAHA,EAAKM,cAErB,OACD,G","sources":["webpack://@withgraphite/graphite-cli/webpack/runtime/require chunk loading","webpack://@withgraphite/graphite-cli/external commonjs \"ws\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"assert\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"buffer\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"child_process\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"constants\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"crypto\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"events\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"fs\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"fs/promises\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"http\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"https\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"os\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"path\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"pnpapi\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"punycode\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"stream\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"string_decoder\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"url\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"util\"","webpack://@withgraphite/graphite-cli/external node-commonjs \"zlib\"","webpack://@withgraphite/graphite-cli/webpack/bootstrap","webpack://@withgraphite/graphite-cli/webpack/runtime/compat get default export","webpack://@withgraphite/graphite-cli/webpack/runtime/define property getters","webpack://@withgraphite/graphite-cli/webpack/runtime/ensure chunk","webpack://@withgraphite/graphite-cli/webpack/runtime/get javascript chunk filename","webpack://@withgraphite/graphite-cli/webpack/runtime/hasOwnProperty shorthand","webpack://@withgraphite/graphite-cli/webpack/runtime/make namespace object","webpack://@withgraphite/graphite-cli/webpack/runtime/node module decorator","webpack://@withgraphite/graphite-cli/webpack/runtime/publicPath","webpack://@withgraphite/graphite-cli/../../../libs/public/gti-server/proxy/child.ts"],"sourcesContent":["// no baseURI\n\n// object to store loaded chunks\n// \"1\" means \"loaded\", otherwise not loaded yet\nvar installedChunks = {\n\t396: 1\n};\n\n// no on chunks loaded\n\nvar installChunk = (chunk) => {\n\tvar moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;\n\tfor(var moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\tfor(var i = 0; i < chunkIds.length; i++)\n\t\tinstalledChunks[chunkIds[i]] = 1;\n\n};\n\n// require() chunk loading for javascript\n__webpack_require__.f.require = (chunkId, promises) => {\n\t// \"1\" is the signal for \"already loaded\"\n\tif(!installedChunks[chunkId]) {\n\t\tif(true) { // all chunks have JS\n\t\t\tinstallChunk(require(\"./\" + __webpack_require__.u(chunkId)));\n\t\t} else installedChunks[chunkId] = 1;\n\t}\n};\n\n// no external install chunk\n\n// no HMR\n\n// no HMR manifest","module.exports = require(\"ws\");","module.exports = require(\"assert\");","module.exports = require(\"buffer\");","module.exports = require(\"child_process\");","module.exports = require(\"constants\");","module.exports = require(\"crypto\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"fs/promises\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"pnpapi\");","module.exports = require(\"punycode\");","module.exports = require(\"stream\");","module.exports = require(\"string_decoder\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"\";","/**\n * This file is expected to be run via child_process.fork() where:\n *\n * - The arguments to `startServer()` are JSON-serialized as the value\n * of the GTI_SERVER_ARGS environment variable.\n * - Communication to the parent process must be done via process.send()\n * and the parent process expects messages that conform to\n * `ChildProcessResponse`.\n */\n\nimport * as fs from \"fs\";\n\nimport type { StartServerArgs, StartServerResult } from \"./server.js\";\n\n/**\n * This defines the shape of the messages that the parent process accepts.\n * As such, it is imperative that these types are serializable.\n */\nexport type ChildProcessResponse =\n | {\n type: \"message\";\n args: Parameters<typeof console.log>;\n }\n | {\n type: \"result\";\n result: StartServerResult;\n };\n\nfunction sendMessageToParentProcess(msg: ChildProcessResponse): void {\n process.send?.(msg, undefined, { swallowErrors: true });\n}\n\nfunction info(...args: Parameters<typeof console.log>): void {\n const msg = {\n type: \"message\",\n args,\n } as ChildProcessResponse;\n sendMessageToParentProcess(msg);\n}\n\nconst args: StartServerArgs = JSON.parse(process.env.GTI_SERVER_ARGS as string);\nargs.logInfo = info;\nimport(\"./server\")\n .then(({ startServer }) => startServer(args))\n .then((result: StartServerResult) => {\n sendMessageToParentProcess({ type: \"result\", result });\n })\n .catch((error) =>\n sendMessageToParentProcess({\n type: \"result\",\n result: { type: \"error\", error: String(error) },\n })\n );\n\nprocess.on(\"uncaughtException\", (err) => {\n const { logFileLocation } = args;\n void fs.promises.appendFile(\n logFileLocation,\n `\\n[${new Date().toString()}] GTI server child process got an uncaught exception:\\n${\n err?.stack ?? err?.message\n }\\n\\n`,\n \"utf8\"\n );\n});\n"],"names":["installedChunks","module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","id","loaded","__webpack_modules__","call","m","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","f","e","chunkId","Promise","all","keys","reduce","promises","u","obj","prop","prototype","hasOwnProperty","r","Symbol","toStringTag","value","nmd","paths","children","p","chunk","moreModules","modules","chunkIds","ids","runtime","i","length","installChunk","sendMessageToParentProcess","msg","process","send","swallowErrors","args","JSON","parse","env","GTI_SERVER_ARGS","logInfo","type","then","startServer","result","catch","error","String","on","err","logFileLocation","appendFile","Date","toString","stack","message"],"sourceRoot":""}
File without changes