sendelp 0.1.91

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sendelp might be problematic. Click here for more details.

Files changed (1991) hide show
  1. package/package.json +1 -0
  2. package/public/index.html +1 -0
  3. package/public/main.js +2 -0
  4. package/server/node_modules/.package-lock.json +813 -0
  5. package/server/node_modules/@dabh/diagnostics/CHANGELOG.md +26 -0
  6. package/server/node_modules/@dabh/diagnostics/LICENSE +20 -0
  7. package/server/node_modules/@dabh/diagnostics/README.md +473 -0
  8. package/server/node_modules/@dabh/diagnostics/adapters/hash.js +11 -0
  9. package/server/node_modules/@dabh/diagnostics/adapters/index.js +18 -0
  10. package/server/node_modules/@dabh/diagnostics/adapters/localstorage.js +11 -0
  11. package/server/node_modules/@dabh/diagnostics/adapters/process.env.js +11 -0
  12. package/server/node_modules/@dabh/diagnostics/browser/development.js +35 -0
  13. package/server/node_modules/@dabh/diagnostics/browser/index.js +8 -0
  14. package/server/node_modules/@dabh/diagnostics/browser/override.js +6 -0
  15. package/server/node_modules/@dabh/diagnostics/browser/production.js +24 -0
  16. package/server/node_modules/@dabh/diagnostics/diagnostics.js +212 -0
  17. package/server/node_modules/@dabh/diagnostics/example.png +0 -0
  18. package/server/node_modules/@dabh/diagnostics/logger/console.js +19 -0
  19. package/server/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js +20 -0
  20. package/server/node_modules/@dabh/diagnostics/modifiers/namespace.js +32 -0
  21. package/server/node_modules/@dabh/diagnostics/node/development.js +36 -0
  22. package/server/node_modules/@dabh/diagnostics/node/index.js +8 -0
  23. package/server/node_modules/@dabh/diagnostics/node/override.js +21 -0
  24. package/server/node_modules/@dabh/diagnostics/node/production.js +24 -0
  25. package/server/node_modules/@dabh/diagnostics/package.json +64 -0
  26. package/server/node_modules/accepts/HISTORY.md +236 -0
  27. package/server/node_modules/accepts/LICENSE +23 -0
  28. package/server/node_modules/accepts/README.md +142 -0
  29. package/server/node_modules/accepts/index.js +238 -0
  30. package/server/node_modules/accepts/package.json +47 -0
  31. package/server/node_modules/array-flatten/LICENSE +21 -0
  32. package/server/node_modules/array-flatten/README.md +43 -0
  33. package/server/node_modules/array-flatten/array-flatten.js +64 -0
  34. package/server/node_modules/array-flatten/package.json +39 -0
  35. package/server/node_modules/async/CHANGELOG.md +341 -0
  36. package/server/node_modules/async/LICENSE +19 -0
  37. package/server/node_modules/async/README.md +60 -0
  38. package/server/node_modules/async/all.js +119 -0
  39. package/server/node_modules/async/allLimit.js +46 -0
  40. package/server/node_modules/async/allSeries.js +45 -0
  41. package/server/node_modules/async/any.js +122 -0
  42. package/server/node_modules/async/anyLimit.js +47 -0
  43. package/server/node_modules/async/anySeries.js +46 -0
  44. package/server/node_modules/async/apply.js +55 -0
  45. package/server/node_modules/async/applyEach.js +57 -0
  46. package/server/node_modules/async/applyEachSeries.js +37 -0
  47. package/server/node_modules/async/asyncify.js +118 -0
  48. package/server/node_modules/async/auto.js +333 -0
  49. package/server/node_modules/async/autoInject.js +156 -0
  50. package/server/node_modules/async/bower.json +17 -0
  51. package/server/node_modules/async/cargo.js +63 -0
  52. package/server/node_modules/async/cargoQueue.js +71 -0
  53. package/server/node_modules/async/compose.js +55 -0
  54. package/server/node_modules/async/concat.js +115 -0
  55. package/server/node_modules/async/concatLimit.js +60 -0
  56. package/server/node_modules/async/concatSeries.js +41 -0
  57. package/server/node_modules/async/constant.js +55 -0
  58. package/server/node_modules/async/detect.js +96 -0
  59. package/server/node_modules/async/detectLimit.js +48 -0
  60. package/server/node_modules/async/detectSeries.js +47 -0
  61. package/server/node_modules/async/dir.js +43 -0
  62. package/server/node_modules/async/dist/async.js +6029 -0
  63. package/server/node_modules/async/dist/async.min.js +1 -0
  64. package/server/node_modules/async/dist/async.mjs +5917 -0
  65. package/server/node_modules/async/doDuring.js +68 -0
  66. package/server/node_modules/async/doUntil.js +46 -0
  67. package/server/node_modules/async/doWhilst.js +68 -0
  68. package/server/node_modules/async/during.js +78 -0
  69. package/server/node_modules/async/each.js +129 -0
  70. package/server/node_modules/async/eachLimit.js +50 -0
  71. package/server/node_modules/async/eachOf.js +185 -0
  72. package/server/node_modules/async/eachOfLimit.js +47 -0
  73. package/server/node_modules/async/eachOfSeries.js +39 -0
  74. package/server/node_modules/async/eachSeries.js +44 -0
  75. package/server/node_modules/async/ensureAsync.js +67 -0
  76. package/server/node_modules/async/every.js +119 -0
  77. package/server/node_modules/async/everyLimit.js +46 -0
  78. package/server/node_modules/async/everySeries.js +45 -0
  79. package/server/node_modules/async/filter.js +93 -0
  80. package/server/node_modules/async/filterLimit.js +45 -0
  81. package/server/node_modules/async/filterSeries.js +43 -0
  82. package/server/node_modules/async/find.js +96 -0
  83. package/server/node_modules/async/findLimit.js +48 -0
  84. package/server/node_modules/async/findSeries.js +47 -0
  85. package/server/node_modules/async/flatMap.js +115 -0
  86. package/server/node_modules/async/flatMapLimit.js +60 -0
  87. package/server/node_modules/async/flatMapSeries.js +41 -0
  88. package/server/node_modules/async/foldl.js +153 -0
  89. package/server/node_modules/async/foldr.js +41 -0
  90. package/server/node_modules/async/forEach.js +129 -0
  91. package/server/node_modules/async/forEachLimit.js +50 -0
  92. package/server/node_modules/async/forEachOf.js +185 -0
  93. package/server/node_modules/async/forEachOfLimit.js +47 -0
  94. package/server/node_modules/async/forEachOfSeries.js +39 -0
  95. package/server/node_modules/async/forEachSeries.js +44 -0
  96. package/server/node_modules/async/forever.js +68 -0
  97. package/server/node_modules/async/groupBy.js +108 -0
  98. package/server/node_modules/async/groupByLimit.js +71 -0
  99. package/server/node_modules/async/groupBySeries.js +36 -0
  100. package/server/node_modules/async/index.js +588 -0
  101. package/server/node_modules/async/inject.js +153 -0
  102. package/server/node_modules/async/internal/DoublyLinkedList.js +92 -0
  103. package/server/node_modules/async/internal/Heap.js +120 -0
  104. package/server/node_modules/async/internal/applyEach.js +29 -0
  105. package/server/node_modules/async/internal/asyncEachOfLimit.js +75 -0
  106. package/server/node_modules/async/internal/awaitify.js +27 -0
  107. package/server/node_modules/async/internal/breakLoop.js +10 -0
  108. package/server/node_modules/async/internal/consoleFunc.js +31 -0
  109. package/server/node_modules/async/internal/createTester.js +40 -0
  110. package/server/node_modules/async/internal/eachOfLimit.js +90 -0
  111. package/server/node_modules/async/internal/filter.js +55 -0
  112. package/server/node_modules/async/internal/getIterator.js +11 -0
  113. package/server/node_modules/async/internal/initialParams.js +14 -0
  114. package/server/node_modules/async/internal/isArrayLike.js +10 -0
  115. package/server/node_modules/async/internal/iterator.js +57 -0
  116. package/server/node_modules/async/internal/map.js +30 -0
  117. package/server/node_modules/async/internal/once.js +17 -0
  118. package/server/node_modules/async/internal/onlyOnce.js +15 -0
  119. package/server/node_modules/async/internal/parallel.js +34 -0
  120. package/server/node_modules/async/internal/promiseCallback.js +23 -0
  121. package/server/node_modules/async/internal/queue.js +291 -0
  122. package/server/node_modules/async/internal/range.js +14 -0
  123. package/server/node_modules/async/internal/reject.js +26 -0
  124. package/server/node_modules/async/internal/setImmediate.js +33 -0
  125. package/server/node_modules/async/internal/withoutIndex.js +10 -0
  126. package/server/node_modules/async/internal/wrapAsync.js +34 -0
  127. package/server/node_modules/async/log.js +41 -0
  128. package/server/node_modules/async/map.js +142 -0
  129. package/server/node_modules/async/mapLimit.js +45 -0
  130. package/server/node_modules/async/mapSeries.js +44 -0
  131. package/server/node_modules/async/mapValues.js +152 -0
  132. package/server/node_modules/async/mapValuesLimit.js +61 -0
  133. package/server/node_modules/async/mapValuesSeries.js +37 -0
  134. package/server/node_modules/async/memoize.js +91 -0
  135. package/server/node_modules/async/nextTick.js +52 -0
  136. package/server/node_modules/async/package.json +82 -0
  137. package/server/node_modules/async/parallel.js +180 -0
  138. package/server/node_modules/async/parallelLimit.js +41 -0
  139. package/server/node_modules/async/priorityQueue.js +91 -0
  140. package/server/node_modules/async/queue.js +167 -0
  141. package/server/node_modules/async/race.js +67 -0
  142. package/server/node_modules/async/reduce.js +153 -0
  143. package/server/node_modules/async/reduceRight.js +41 -0
  144. package/server/node_modules/async/reflect.js +78 -0
  145. package/server/node_modules/async/reflectAll.js +93 -0
  146. package/server/node_modules/async/reject.js +87 -0
  147. package/server/node_modules/async/rejectLimit.js +45 -0
  148. package/server/node_modules/async/rejectSeries.js +43 -0
  149. package/server/node_modules/async/retry.js +159 -0
  150. package/server/node_modules/async/retryable.js +77 -0
  151. package/server/node_modules/async/select.js +93 -0
  152. package/server/node_modules/async/selectLimit.js +45 -0
  153. package/server/node_modules/async/selectSeries.js +43 -0
  154. package/server/node_modules/async/seq.js +79 -0
  155. package/server/node_modules/async/series.js +186 -0
  156. package/server/node_modules/async/setImmediate.js +45 -0
  157. package/server/node_modules/async/some.js +122 -0
  158. package/server/node_modules/async/someLimit.js +47 -0
  159. package/server/node_modules/async/someSeries.js +46 -0
  160. package/server/node_modules/async/sortBy.js +190 -0
  161. package/server/node_modules/async/timeout.js +89 -0
  162. package/server/node_modules/async/times.js +50 -0
  163. package/server/node_modules/async/timesLimit.js +43 -0
  164. package/server/node_modules/async/timesSeries.js +32 -0
  165. package/server/node_modules/async/transform.js +173 -0
  166. package/server/node_modules/async/tryEach.js +78 -0
  167. package/server/node_modules/async/unmemoize.js +25 -0
  168. package/server/node_modules/async/until.js +61 -0
  169. package/server/node_modules/async/waterfall.js +105 -0
  170. package/server/node_modules/async/whilst.js +78 -0
  171. package/server/node_modules/async/wrapSync.js +118 -0
  172. package/server/node_modules/body-parser/HISTORY.md +609 -0
  173. package/server/node_modules/body-parser/LICENSE +23 -0
  174. package/server/node_modules/body-parser/README.md +443 -0
  175. package/server/node_modules/body-parser/index.js +157 -0
  176. package/server/node_modules/body-parser/lib/read.js +181 -0
  177. package/server/node_modules/body-parser/lib/types/json.js +230 -0
  178. package/server/node_modules/body-parser/lib/types/raw.js +101 -0
  179. package/server/node_modules/body-parser/lib/types/text.js +121 -0
  180. package/server/node_modules/body-parser/lib/types/urlencoded.js +284 -0
  181. package/server/node_modules/body-parser/package.json +52 -0
  182. package/server/node_modules/bytes/History.md +87 -0
  183. package/server/node_modules/bytes/LICENSE +23 -0
  184. package/server/node_modules/bytes/Readme.md +126 -0
  185. package/server/node_modules/bytes/index.js +162 -0
  186. package/server/node_modules/bytes/package.json +41 -0
  187. package/server/node_modules/cli-table/LICENSE +21 -0
  188. package/server/node_modules/cli-table/README.md +192 -0
  189. package/server/node_modules/cli-table/lib/index.js +304 -0
  190. package/server/node_modules/cli-table/lib/utils.js +88 -0
  191. package/server/node_modules/cli-table/node_modules/ansi-regex/index.d.ts +37 -0
  192. package/server/node_modules/cli-table/node_modules/ansi-regex/index.js +10 -0
  193. package/server/node_modules/cli-table/node_modules/ansi-regex/license +9 -0
  194. package/server/node_modules/cli-table/node_modules/ansi-regex/package.json +55 -0
  195. package/server/node_modules/cli-table/node_modules/ansi-regex/readme.md +78 -0
  196. package/server/node_modules/cli-table/node_modules/strip-ansi/index.d.ts +17 -0
  197. package/server/node_modules/cli-table/node_modules/strip-ansi/index.js +4 -0
  198. package/server/node_modules/cli-table/node_modules/strip-ansi/license +9 -0
  199. package/server/node_modules/cli-table/node_modules/strip-ansi/package.json +54 -0
  200. package/server/node_modules/cli-table/node_modules/strip-ansi/readme.md +46 -0
  201. package/server/node_modules/cli-table/package.json +39 -0
  202. package/server/node_modules/color/LICENSE +21 -0
  203. package/server/node_modules/color/README.md +123 -0
  204. package/server/node_modules/color/index.js +482 -0
  205. package/server/node_modules/color/node_modules/color-convert/CHANGELOG.md +54 -0
  206. package/server/node_modules/color/node_modules/color-convert/LICENSE +21 -0
  207. package/server/node_modules/color/node_modules/color-convert/README.md +68 -0
  208. package/server/node_modules/color/node_modules/color-convert/conversions.js +868 -0
  209. package/server/node_modules/color/node_modules/color-convert/index.js +78 -0
  210. package/server/node_modules/color/node_modules/color-convert/package.json +46 -0
  211. package/server/node_modules/color/node_modules/color-convert/route.js +97 -0
  212. package/server/node_modules/color/node_modules/color-name/.eslintrc.json +43 -0
  213. package/server/node_modules/color/node_modules/color-name/LICENSE +8 -0
  214. package/server/node_modules/color/node_modules/color-name/README.md +11 -0
  215. package/server/node_modules/color/node_modules/color-name/index.js +152 -0
  216. package/server/node_modules/color/node_modules/color-name/package.json +25 -0
  217. package/server/node_modules/color/node_modules/color-name/test.js +7 -0
  218. package/server/node_modules/color/package.json +40 -0
  219. package/server/node_modules/color-name/LICENSE +8 -0
  220. package/server/node_modules/color-name/README.md +11 -0
  221. package/server/node_modules/color-name/index.js +152 -0
  222. package/server/node_modules/color-name/package.json +28 -0
  223. package/server/node_modules/color-string/LICENSE +21 -0
  224. package/server/node_modules/color-string/README.md +62 -0
  225. package/server/node_modules/color-string/index.js +242 -0
  226. package/server/node_modules/color-string/package.json +39 -0
  227. package/server/node_modules/colors/.travis.yml +6 -0
  228. package/server/node_modules/colors/MIT-LICENSE.txt +23 -0
  229. package/server/node_modules/colors/ReadMe.md +167 -0
  230. package/server/node_modules/colors/examples/normal-usage.js +74 -0
  231. package/server/node_modules/colors/examples/safe-string.js +76 -0
  232. package/server/node_modules/colors/lib/colors.js +176 -0
  233. package/server/node_modules/colors/lib/custom/trap.js +45 -0
  234. package/server/node_modules/colors/lib/custom/zalgo.js +104 -0
  235. package/server/node_modules/colors/lib/extendStringPrototype.js +118 -0
  236. package/server/node_modules/colors/lib/index.js +12 -0
  237. package/server/node_modules/colors/lib/maps/america.js +12 -0
  238. package/server/node_modules/colors/lib/maps/rainbow.js +13 -0
  239. package/server/node_modules/colors/lib/maps/random.js +8 -0
  240. package/server/node_modules/colors/lib/maps/zebra.js +5 -0
  241. package/server/node_modules/colors/lib/styles.js +77 -0
  242. package/server/node_modules/colors/lib/system/supports-colors.js +61 -0
  243. package/server/node_modules/colors/package.json +21 -0
  244. package/server/node_modules/colors/safe.js +9 -0
  245. package/server/node_modules/colors/screenshots/colors.png +0 -0
  246. package/server/node_modules/colors/tests/basic-test.js +50 -0
  247. package/server/node_modules/colors/tests/safe-test.js +45 -0
  248. package/server/node_modules/colors/themes/generic-logging.js +12 -0
  249. package/server/node_modules/colorspace/LICENSE.md +20 -0
  250. package/server/node_modules/colorspace/README.md +43 -0
  251. package/server/node_modules/colorspace/index.js +29 -0
  252. package/server/node_modules/colorspace/package.json +37 -0
  253. package/server/node_modules/content-disposition/HISTORY.md +55 -0
  254. package/server/node_modules/content-disposition/LICENSE +22 -0
  255. package/server/node_modules/content-disposition/README.md +148 -0
  256. package/server/node_modules/content-disposition/index.js +458 -0
  257. package/server/node_modules/content-disposition/package.json +44 -0
  258. package/server/node_modules/content-type/HISTORY.md +24 -0
  259. package/server/node_modules/content-type/LICENSE +22 -0
  260. package/server/node_modules/content-type/README.md +92 -0
  261. package/server/node_modules/content-type/index.js +222 -0
  262. package/server/node_modules/content-type/package.json +40 -0
  263. package/server/node_modules/cookie/HISTORY.md +123 -0
  264. package/server/node_modules/cookie/LICENSE +24 -0
  265. package/server/node_modules/cookie/README.md +253 -0
  266. package/server/node_modules/cookie/index.js +198 -0
  267. package/server/node_modules/cookie/package.json +40 -0
  268. package/server/node_modules/cookie-signature/History.md +38 -0
  269. package/server/node_modules/cookie-signature/Readme.md +42 -0
  270. package/server/node_modules/cookie-signature/index.js +51 -0
  271. package/server/node_modules/cookie-signature/package.json +18 -0
  272. package/server/node_modules/core-util-is/LICENSE +19 -0
  273. package/server/node_modules/core-util-is/README.md +3 -0
  274. package/server/node_modules/core-util-is/lib/util.js +107 -0
  275. package/server/node_modules/core-util-is/package.json +38 -0
  276. package/server/node_modules/debug/.coveralls.yml +1 -0
  277. package/server/node_modules/debug/.eslintrc +11 -0
  278. package/server/node_modules/debug/.travis.yml +14 -0
  279. package/server/node_modules/debug/CHANGELOG.md +362 -0
  280. package/server/node_modules/debug/LICENSE +19 -0
  281. package/server/node_modules/debug/Makefile +50 -0
  282. package/server/node_modules/debug/README.md +312 -0
  283. package/server/node_modules/debug/component.json +19 -0
  284. package/server/node_modules/debug/karma.conf.js +70 -0
  285. package/server/node_modules/debug/node.js +1 -0
  286. package/server/node_modules/debug/package.json +49 -0
  287. package/server/node_modules/debug/src/browser.js +185 -0
  288. package/server/node_modules/debug/src/debug.js +202 -0
  289. package/server/node_modules/debug/src/index.js +10 -0
  290. package/server/node_modules/debug/src/inspector-log.js +15 -0
  291. package/server/node_modules/debug/src/node.js +248 -0
  292. package/server/node_modules/deepmerge/changelog.md +159 -0
  293. package/server/node_modules/deepmerge/dist/cjs.js +133 -0
  294. package/server/node_modules/deepmerge/dist/umd.js +139 -0
  295. package/server/node_modules/deepmerge/index.d.ts +16 -0
  296. package/server/node_modules/deepmerge/index.js +106 -0
  297. package/server/node_modules/deepmerge/license.txt +21 -0
  298. package/server/node_modules/deepmerge/package.json +43 -0
  299. package/server/node_modules/deepmerge/readme.md +264 -0
  300. package/server/node_modules/deepmerge/rollup.config.js +22 -0
  301. package/server/node_modules/depd/History.md +96 -0
  302. package/server/node_modules/depd/LICENSE +22 -0
  303. package/server/node_modules/depd/Readme.md +280 -0
  304. package/server/node_modules/depd/index.js +522 -0
  305. package/server/node_modules/depd/lib/browser/index.js +77 -0
  306. package/server/node_modules/depd/lib/compat/callsite-tostring.js +103 -0
  307. package/server/node_modules/depd/lib/compat/event-listener-count.js +22 -0
  308. package/server/node_modules/depd/lib/compat/index.js +79 -0
  309. package/server/node_modules/depd/package.json +41 -0
  310. package/server/node_modules/destroy/LICENSE +22 -0
  311. package/server/node_modules/destroy/README.md +60 -0
  312. package/server/node_modules/destroy/index.js +75 -0
  313. package/server/node_modules/destroy/package.json +37 -0
  314. package/server/node_modules/ee-first/LICENSE +22 -0
  315. package/server/node_modules/ee-first/README.md +80 -0
  316. package/server/node_modules/ee-first/index.js +95 -0
  317. package/server/node_modules/ee-first/package.json +29 -0
  318. package/server/node_modules/enabled/.travis.yml +9 -0
  319. package/server/node_modules/enabled/LICENSE +20 -0
  320. package/server/node_modules/enabled/README.md +68 -0
  321. package/server/node_modules/enabled/index.js +34 -0
  322. package/server/node_modules/enabled/package.json +33 -0
  323. package/server/node_modules/enabled/test.js +39 -0
  324. package/server/node_modules/encodeurl/HISTORY.md +14 -0
  325. package/server/node_modules/encodeurl/LICENSE +22 -0
  326. package/server/node_modules/encodeurl/README.md +128 -0
  327. package/server/node_modules/encodeurl/index.js +60 -0
  328. package/server/node_modules/encodeurl/package.json +40 -0
  329. package/server/node_modules/escape-html/LICENSE +24 -0
  330. package/server/node_modules/escape-html/Readme.md +43 -0
  331. package/server/node_modules/escape-html/index.js +78 -0
  332. package/server/node_modules/escape-html/package.json +24 -0
  333. package/server/node_modules/etag/HISTORY.md +83 -0
  334. package/server/node_modules/etag/LICENSE +22 -0
  335. package/server/node_modules/etag/README.md +159 -0
  336. package/server/node_modules/etag/index.js +131 -0
  337. package/server/node_modules/etag/package.json +47 -0
  338. package/server/node_modules/express/History.md +3477 -0
  339. package/server/node_modules/express/LICENSE +24 -0
  340. package/server/node_modules/express/Readme.md +155 -0
  341. package/server/node_modules/express/index.js +11 -0
  342. package/server/node_modules/express/lib/application.js +644 -0
  343. package/server/node_modules/express/lib/express.js +116 -0
  344. package/server/node_modules/express/lib/middleware/init.js +43 -0
  345. package/server/node_modules/express/lib/middleware/query.js +47 -0
  346. package/server/node_modules/express/lib/request.js +525 -0
  347. package/server/node_modules/express/lib/response.js +1142 -0
  348. package/server/node_modules/express/lib/router/index.js +662 -0
  349. package/server/node_modules/express/lib/router/layer.js +181 -0
  350. package/server/node_modules/express/lib/router/route.js +216 -0
  351. package/server/node_modules/express/lib/utils.js +306 -0
  352. package/server/node_modules/express/lib/view.js +182 -0
  353. package/server/node_modules/express/package.json +98 -0
  354. package/server/node_modules/fecha/CHANGELOG.md +71 -0
  355. package/server/node_modules/fecha/LICENSE +22 -0
  356. package/server/node_modules/fecha/README.md +320 -0
  357. package/server/node_modules/fecha/dist/fecha.min.js +2 -0
  358. package/server/node_modules/fecha/dist/fecha.min.js.map +1 -0
  359. package/server/node_modules/fecha/lib/fecha.d.ts +52 -0
  360. package/server/node_modules/fecha/lib/fecha.js +386 -0
  361. package/server/node_modules/fecha/lib/fecha.js.map +1 -0
  362. package/server/node_modules/fecha/lib/fecha.umd.js +401 -0
  363. package/server/node_modules/fecha/lib/fecha.umd.js.map +1 -0
  364. package/server/node_modules/fecha/package.json +55 -0
  365. package/server/node_modules/fecha/src/fecha.ts +506 -0
  366. package/server/node_modules/finalhandler/HISTORY.md +187 -0
  367. package/server/node_modules/finalhandler/LICENSE +22 -0
  368. package/server/node_modules/finalhandler/README.md +148 -0
  369. package/server/node_modules/finalhandler/index.js +331 -0
  370. package/server/node_modules/finalhandler/package.json +45 -0
  371. package/server/node_modules/fn.name/.gitattributes +1 -0
  372. package/server/node_modules/fn.name/.travis.yml +10 -0
  373. package/server/node_modules/fn.name/LICENSE +22 -0
  374. package/server/node_modules/fn.name/README.md +42 -0
  375. package/server/node_modules/fn.name/index.js +42 -0
  376. package/server/node_modules/fn.name/package.json +37 -0
  377. package/server/node_modules/fn.name/test.js +73 -0
  378. package/server/node_modules/forwarded/HISTORY.md +21 -0
  379. package/server/node_modules/forwarded/LICENSE +22 -0
  380. package/server/node_modules/forwarded/README.md +57 -0
  381. package/server/node_modules/forwarded/index.js +90 -0
  382. package/server/node_modules/forwarded/package.json +45 -0
  383. package/server/node_modules/fresh/HISTORY.md +70 -0
  384. package/server/node_modules/fresh/LICENSE +23 -0
  385. package/server/node_modules/fresh/README.md +119 -0
  386. package/server/node_modules/fresh/index.js +137 -0
  387. package/server/node_modules/fresh/package.json +46 -0
  388. package/server/node_modules/http-errors/HISTORY.md +149 -0
  389. package/server/node_modules/http-errors/LICENSE +23 -0
  390. package/server/node_modules/http-errors/README.md +163 -0
  391. package/server/node_modules/http-errors/index.js +266 -0
  392. package/server/node_modules/http-errors/package.json +49 -0
  393. package/server/node_modules/iconv-lite/Changelog.md +162 -0
  394. package/server/node_modules/iconv-lite/LICENSE +21 -0
  395. package/server/node_modules/iconv-lite/README.md +156 -0
  396. package/server/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
  397. package/server/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
  398. package/server/node_modules/iconv-lite/encodings/index.js +22 -0
  399. package/server/node_modules/iconv-lite/encodings/internal.js +188 -0
  400. package/server/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  401. package/server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  402. package/server/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
  403. package/server/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  404. package/server/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  405. package/server/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  406. package/server/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  407. package/server/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  408. package/server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  409. package/server/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  410. package/server/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  411. package/server/node_modules/iconv-lite/encodings/utf16.js +177 -0
  412. package/server/node_modules/iconv-lite/encodings/utf7.js +290 -0
  413. package/server/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  414. package/server/node_modules/iconv-lite/lib/extend-node.js +217 -0
  415. package/server/node_modules/iconv-lite/lib/index.d.ts +24 -0
  416. package/server/node_modules/iconv-lite/lib/index.js +153 -0
  417. package/server/node_modules/iconv-lite/lib/streams.js +121 -0
  418. package/server/node_modules/iconv-lite/package.json +46 -0
  419. package/server/node_modules/inherits/LICENSE +16 -0
  420. package/server/node_modules/inherits/README.md +42 -0
  421. package/server/node_modules/inherits/inherits.js +7 -0
  422. package/server/node_modules/inherits/inherits_browser.js +23 -0
  423. package/server/node_modules/inherits/package.json +29 -0
  424. package/server/node_modules/ipaddr.js/LICENSE +19 -0
  425. package/server/node_modules/ipaddr.js/README.md +233 -0
  426. package/server/node_modules/ipaddr.js/ipaddr.min.js +1 -0
  427. package/server/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
  428. package/server/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
  429. package/server/node_modules/ipaddr.js/package.json +35 -0
  430. package/server/node_modules/is-arrayish/LICENSE +21 -0
  431. package/server/node_modules/is-arrayish/README.md +16 -0
  432. package/server/node_modules/is-arrayish/index.js +9 -0
  433. package/server/node_modules/is-arrayish/package.json +45 -0
  434. package/server/node_modules/is-arrayish/yarn-error.log +1443 -0
  435. package/server/node_modules/is-stream/index.d.ts +79 -0
  436. package/server/node_modules/is-stream/index.js +28 -0
  437. package/server/node_modules/is-stream/license +9 -0
  438. package/server/node_modules/is-stream/package.json +42 -0
  439. package/server/node_modules/is-stream/readme.md +60 -0
  440. package/server/node_modules/isarray/.travis.yml +4 -0
  441. package/server/node_modules/isarray/Makefile +6 -0
  442. package/server/node_modules/isarray/README.md +60 -0
  443. package/server/node_modules/isarray/component.json +19 -0
  444. package/server/node_modules/isarray/index.js +5 -0
  445. package/server/node_modules/isarray/package.json +45 -0
  446. package/server/node_modules/isarray/test.js +20 -0
  447. package/server/node_modules/kuler/.travis.yml +5 -0
  448. package/server/node_modules/kuler/LICENSE +7 -0
  449. package/server/node_modules/kuler/README.md +40 -0
  450. package/server/node_modules/kuler/index.js +118 -0
  451. package/server/node_modules/kuler/package.json +34 -0
  452. package/server/node_modules/kuler/test.js +23 -0
  453. package/server/node_modules/lodash/LICENSE +47 -0
  454. package/server/node_modules/lodash/README.md +39 -0
  455. package/server/node_modules/lodash/_DataView.js +7 -0
  456. package/server/node_modules/lodash/_Hash.js +32 -0
  457. package/server/node_modules/lodash/_LazyWrapper.js +28 -0
  458. package/server/node_modules/lodash/_ListCache.js +32 -0
  459. package/server/node_modules/lodash/_LodashWrapper.js +22 -0
  460. package/server/node_modules/lodash/_Map.js +7 -0
  461. package/server/node_modules/lodash/_MapCache.js +32 -0
  462. package/server/node_modules/lodash/_Promise.js +7 -0
  463. package/server/node_modules/lodash/_Set.js +7 -0
  464. package/server/node_modules/lodash/_SetCache.js +27 -0
  465. package/server/node_modules/lodash/_Stack.js +27 -0
  466. package/server/node_modules/lodash/_Symbol.js +6 -0
  467. package/server/node_modules/lodash/_Uint8Array.js +6 -0
  468. package/server/node_modules/lodash/_WeakMap.js +7 -0
  469. package/server/node_modules/lodash/_apply.js +21 -0
  470. package/server/node_modules/lodash/_arrayAggregator.js +22 -0
  471. package/server/node_modules/lodash/_arrayEach.js +22 -0
  472. package/server/node_modules/lodash/_arrayEachRight.js +21 -0
  473. package/server/node_modules/lodash/_arrayEvery.js +23 -0
  474. package/server/node_modules/lodash/_arrayFilter.js +25 -0
  475. package/server/node_modules/lodash/_arrayIncludes.js +17 -0
  476. package/server/node_modules/lodash/_arrayIncludesWith.js +22 -0
  477. package/server/node_modules/lodash/_arrayLikeKeys.js +49 -0
  478. package/server/node_modules/lodash/_arrayMap.js +21 -0
  479. package/server/node_modules/lodash/_arrayPush.js +20 -0
  480. package/server/node_modules/lodash/_arrayReduce.js +26 -0
  481. package/server/node_modules/lodash/_arrayReduceRight.js +24 -0
  482. package/server/node_modules/lodash/_arraySample.js +15 -0
  483. package/server/node_modules/lodash/_arraySampleSize.js +17 -0
  484. package/server/node_modules/lodash/_arrayShuffle.js +15 -0
  485. package/server/node_modules/lodash/_arraySome.js +23 -0
  486. package/server/node_modules/lodash/_asciiSize.js +12 -0
  487. package/server/node_modules/lodash/_asciiToArray.js +12 -0
  488. package/server/node_modules/lodash/_asciiWords.js +15 -0
  489. package/server/node_modules/lodash/_assignMergeValue.js +20 -0
  490. package/server/node_modules/lodash/_assignValue.js +28 -0
  491. package/server/node_modules/lodash/_assocIndexOf.js +21 -0
  492. package/server/node_modules/lodash/_baseAggregator.js +21 -0
  493. package/server/node_modules/lodash/_baseAssign.js +17 -0
  494. package/server/node_modules/lodash/_baseAssignIn.js +17 -0
  495. package/server/node_modules/lodash/_baseAssignValue.js +25 -0
  496. package/server/node_modules/lodash/_baseAt.js +23 -0
  497. package/server/node_modules/lodash/_baseClamp.js +22 -0
  498. package/server/node_modules/lodash/_baseClone.js +166 -0
  499. package/server/node_modules/lodash/_baseConforms.js +18 -0
  500. package/server/node_modules/lodash/_baseConformsTo.js +27 -0
  501. package/server/node_modules/lodash/_baseCreate.js +30 -0
  502. package/server/node_modules/lodash/_baseDelay.js +21 -0
  503. package/server/node_modules/lodash/_baseDifference.js +67 -0
  504. package/server/node_modules/lodash/_baseEach.js +14 -0
  505. package/server/node_modules/lodash/_baseEachRight.js +14 -0
  506. package/server/node_modules/lodash/_baseEvery.js +21 -0
  507. package/server/node_modules/lodash/_baseExtremum.js +32 -0
  508. package/server/node_modules/lodash/_baseFill.js +32 -0
  509. package/server/node_modules/lodash/_baseFilter.js +21 -0
  510. package/server/node_modules/lodash/_baseFindIndex.js +24 -0
  511. package/server/node_modules/lodash/_baseFindKey.js +23 -0
  512. package/server/node_modules/lodash/_baseFlatten.js +38 -0
  513. package/server/node_modules/lodash/_baseFor.js +16 -0
  514. package/server/node_modules/lodash/_baseForOwn.js +16 -0
  515. package/server/node_modules/lodash/_baseForOwnRight.js +16 -0
  516. package/server/node_modules/lodash/_baseForRight.js +15 -0
  517. package/server/node_modules/lodash/_baseFunctions.js +19 -0
  518. package/server/node_modules/lodash/_baseGet.js +24 -0
  519. package/server/node_modules/lodash/_baseGetAllKeys.js +20 -0
  520. package/server/node_modules/lodash/_baseGetTag.js +28 -0
  521. package/server/node_modules/lodash/_baseGt.js +14 -0
  522. package/server/node_modules/lodash/_baseHas.js +19 -0
  523. package/server/node_modules/lodash/_baseHasIn.js +13 -0
  524. package/server/node_modules/lodash/_baseInRange.js +18 -0
  525. package/server/node_modules/lodash/_baseIndexOf.js +20 -0
  526. package/server/node_modules/lodash/_baseIndexOfWith.js +23 -0
  527. package/server/node_modules/lodash/_baseIntersection.js +74 -0
  528. package/server/node_modules/lodash/_baseInverter.js +21 -0
  529. package/server/node_modules/lodash/_baseInvoke.js +24 -0
  530. package/server/node_modules/lodash/_baseIsArguments.js +18 -0
  531. package/server/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  532. package/server/node_modules/lodash/_baseIsDate.js +18 -0
  533. package/server/node_modules/lodash/_baseIsEqual.js +28 -0
  534. package/server/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  535. package/server/node_modules/lodash/_baseIsMap.js +18 -0
  536. package/server/node_modules/lodash/_baseIsMatch.js +62 -0
  537. package/server/node_modules/lodash/_baseIsNaN.js +12 -0
  538. package/server/node_modules/lodash/_baseIsNative.js +47 -0
  539. package/server/node_modules/lodash/_baseIsRegExp.js +18 -0
  540. package/server/node_modules/lodash/_baseIsSet.js +18 -0
  541. package/server/node_modules/lodash/_baseIsTypedArray.js +60 -0
  542. package/server/node_modules/lodash/_baseIteratee.js +31 -0
  543. package/server/node_modules/lodash/_baseKeys.js +30 -0
  544. package/server/node_modules/lodash/_baseKeysIn.js +33 -0
  545. package/server/node_modules/lodash/_baseLodash.js +10 -0
  546. package/server/node_modules/lodash/_baseLt.js +14 -0
  547. package/server/node_modules/lodash/_baseMap.js +22 -0
  548. package/server/node_modules/lodash/_baseMatches.js +22 -0
  549. package/server/node_modules/lodash/_baseMatchesProperty.js +33 -0
  550. package/server/node_modules/lodash/_baseMean.js +20 -0
  551. package/server/node_modules/lodash/_baseMerge.js +42 -0
  552. package/server/node_modules/lodash/_baseMergeDeep.js +94 -0
  553. package/server/node_modules/lodash/_baseNth.js +20 -0
  554. package/server/node_modules/lodash/_baseOrderBy.js +49 -0
  555. package/server/node_modules/lodash/_basePick.js +19 -0
  556. package/server/node_modules/lodash/_basePickBy.js +30 -0
  557. package/server/node_modules/lodash/_baseProperty.js +14 -0
  558. package/server/node_modules/lodash/_basePropertyDeep.js +16 -0
  559. package/server/node_modules/lodash/_basePropertyOf.js +14 -0
  560. package/server/node_modules/lodash/_basePullAll.js +51 -0
  561. package/server/node_modules/lodash/_basePullAt.js +37 -0
  562. package/server/node_modules/lodash/_baseRandom.js +18 -0
  563. package/server/node_modules/lodash/_baseRange.js +28 -0
  564. package/server/node_modules/lodash/_baseReduce.js +23 -0
  565. package/server/node_modules/lodash/_baseRepeat.js +35 -0
  566. package/server/node_modules/lodash/_baseRest.js +17 -0
  567. package/server/node_modules/lodash/_baseSample.js +15 -0
  568. package/server/node_modules/lodash/_baseSampleSize.js +18 -0
  569. package/server/node_modules/lodash/_baseSet.js +51 -0
  570. package/server/node_modules/lodash/_baseSetData.js +17 -0
  571. package/server/node_modules/lodash/_baseSetToString.js +22 -0
  572. package/server/node_modules/lodash/_baseShuffle.js +15 -0
  573. package/server/node_modules/lodash/_baseSlice.js +31 -0
  574. package/server/node_modules/lodash/_baseSome.js +22 -0
  575. package/server/node_modules/lodash/_baseSortBy.js +21 -0
  576. package/server/node_modules/lodash/_baseSortedIndex.js +42 -0
  577. package/server/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  578. package/server/node_modules/lodash/_baseSortedUniq.js +30 -0
  579. package/server/node_modules/lodash/_baseSum.js +24 -0
  580. package/server/node_modules/lodash/_baseTimes.js +20 -0
  581. package/server/node_modules/lodash/_baseToNumber.js +24 -0
  582. package/server/node_modules/lodash/_baseToPairs.js +18 -0
  583. package/server/node_modules/lodash/_baseToString.js +37 -0
  584. package/server/node_modules/lodash/_baseTrim.js +19 -0
  585. package/server/node_modules/lodash/_baseUnary.js +14 -0
  586. package/server/node_modules/lodash/_baseUniq.js +72 -0
  587. package/server/node_modules/lodash/_baseUnset.js +20 -0
  588. package/server/node_modules/lodash/_baseUpdate.js +18 -0
  589. package/server/node_modules/lodash/_baseValues.js +19 -0
  590. package/server/node_modules/lodash/_baseWhile.js +26 -0
  591. package/server/node_modules/lodash/_baseWrapperValue.js +25 -0
  592. package/server/node_modules/lodash/_baseXor.js +36 -0
  593. package/server/node_modules/lodash/_baseZipObject.js +23 -0
  594. package/server/node_modules/lodash/_cacheHas.js +13 -0
  595. package/server/node_modules/lodash/_castArrayLikeObject.js +14 -0
  596. package/server/node_modules/lodash/_castFunction.js +14 -0
  597. package/server/node_modules/lodash/_castPath.js +21 -0
  598. package/server/node_modules/lodash/_castRest.js +14 -0
  599. package/server/node_modules/lodash/_castSlice.js +18 -0
  600. package/server/node_modules/lodash/_charsEndIndex.js +19 -0
  601. package/server/node_modules/lodash/_charsStartIndex.js +20 -0
  602. package/server/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  603. package/server/node_modules/lodash/_cloneBuffer.js +35 -0
  604. package/server/node_modules/lodash/_cloneDataView.js +16 -0
  605. package/server/node_modules/lodash/_cloneRegExp.js +17 -0
  606. package/server/node_modules/lodash/_cloneSymbol.js +18 -0
  607. package/server/node_modules/lodash/_cloneTypedArray.js +16 -0
  608. package/server/node_modules/lodash/_compareAscending.js +41 -0
  609. package/server/node_modules/lodash/_compareMultiple.js +44 -0
  610. package/server/node_modules/lodash/_composeArgs.js +39 -0
  611. package/server/node_modules/lodash/_composeArgsRight.js +41 -0
  612. package/server/node_modules/lodash/_copyArray.js +20 -0
  613. package/server/node_modules/lodash/_copyObject.js +40 -0
  614. package/server/node_modules/lodash/_copySymbols.js +16 -0
  615. package/server/node_modules/lodash/_copySymbolsIn.js +16 -0
  616. package/server/node_modules/lodash/_coreJsData.js +6 -0
  617. package/server/node_modules/lodash/_countHolders.js +21 -0
  618. package/server/node_modules/lodash/_createAggregator.js +23 -0
  619. package/server/node_modules/lodash/_createAssigner.js +37 -0
  620. package/server/node_modules/lodash/_createBaseEach.js +32 -0
  621. package/server/node_modules/lodash/_createBaseFor.js +25 -0
  622. package/server/node_modules/lodash/_createBind.js +28 -0
  623. package/server/node_modules/lodash/_createCaseFirst.js +33 -0
  624. package/server/node_modules/lodash/_createCompounder.js +24 -0
  625. package/server/node_modules/lodash/_createCtor.js +37 -0
  626. package/server/node_modules/lodash/_createCurry.js +46 -0
  627. package/server/node_modules/lodash/_createFind.js +25 -0
  628. package/server/node_modules/lodash/_createFlow.js +78 -0
  629. package/server/node_modules/lodash/_createHybrid.js +92 -0
  630. package/server/node_modules/lodash/_createInverter.js +17 -0
  631. package/server/node_modules/lodash/_createMathOperation.js +38 -0
  632. package/server/node_modules/lodash/_createOver.js +27 -0
  633. package/server/node_modules/lodash/_createPadding.js +33 -0
  634. package/server/node_modules/lodash/_createPartial.js +43 -0
  635. package/server/node_modules/lodash/_createRange.js +30 -0
  636. package/server/node_modules/lodash/_createRecurry.js +56 -0
  637. package/server/node_modules/lodash/_createRelationalOperation.js +20 -0
  638. package/server/node_modules/lodash/_createRound.js +35 -0
  639. package/server/node_modules/lodash/_createSet.js +19 -0
  640. package/server/node_modules/lodash/_createToPairs.js +30 -0
  641. package/server/node_modules/lodash/_createWrap.js +106 -0
  642. package/server/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  643. package/server/node_modules/lodash/_customDefaultsMerge.js +28 -0
  644. package/server/node_modules/lodash/_customOmitClone.js +16 -0
  645. package/server/node_modules/lodash/_deburrLetter.js +71 -0
  646. package/server/node_modules/lodash/_defineProperty.js +11 -0
  647. package/server/node_modules/lodash/_equalArrays.js +84 -0
  648. package/server/node_modules/lodash/_equalByTag.js +112 -0
  649. package/server/node_modules/lodash/_equalObjects.js +90 -0
  650. package/server/node_modules/lodash/_escapeHtmlChar.js +21 -0
  651. package/server/node_modules/lodash/_escapeStringChar.js +22 -0
  652. package/server/node_modules/lodash/_flatRest.js +16 -0
  653. package/server/node_modules/lodash/_freeGlobal.js +4 -0
  654. package/server/node_modules/lodash/_getAllKeys.js +16 -0
  655. package/server/node_modules/lodash/_getAllKeysIn.js +17 -0
  656. package/server/node_modules/lodash/_getData.js +15 -0
  657. package/server/node_modules/lodash/_getFuncName.js +31 -0
  658. package/server/node_modules/lodash/_getHolder.js +13 -0
  659. package/server/node_modules/lodash/_getMapData.js +18 -0
  660. package/server/node_modules/lodash/_getMatchData.js +24 -0
  661. package/server/node_modules/lodash/_getNative.js +17 -0
  662. package/server/node_modules/lodash/_getPrototype.js +6 -0
  663. package/server/node_modules/lodash/_getRawTag.js +46 -0
  664. package/server/node_modules/lodash/_getSymbols.js +30 -0
  665. package/server/node_modules/lodash/_getSymbolsIn.js +25 -0
  666. package/server/node_modules/lodash/_getTag.js +58 -0
  667. package/server/node_modules/lodash/_getValue.js +13 -0
  668. package/server/node_modules/lodash/_getView.js +33 -0
  669. package/server/node_modules/lodash/_getWrapDetails.js +17 -0
  670. package/server/node_modules/lodash/_hasPath.js +39 -0
  671. package/server/node_modules/lodash/_hasUnicode.js +26 -0
  672. package/server/node_modules/lodash/_hasUnicodeWord.js +15 -0
  673. package/server/node_modules/lodash/_hashClear.js +15 -0
  674. package/server/node_modules/lodash/_hashDelete.js +17 -0
  675. package/server/node_modules/lodash/_hashGet.js +30 -0
  676. package/server/node_modules/lodash/_hashHas.js +23 -0
  677. package/server/node_modules/lodash/_hashSet.js +23 -0
  678. package/server/node_modules/lodash/_initCloneArray.js +26 -0
  679. package/server/node_modules/lodash/_initCloneByTag.js +77 -0
  680. package/server/node_modules/lodash/_initCloneObject.js +18 -0
  681. package/server/node_modules/lodash/_insertWrapDetails.js +23 -0
  682. package/server/node_modules/lodash/_isFlattenable.js +20 -0
  683. package/server/node_modules/lodash/_isIndex.js +25 -0
  684. package/server/node_modules/lodash/_isIterateeCall.js +30 -0
  685. package/server/node_modules/lodash/_isKey.js +29 -0
  686. package/server/node_modules/lodash/_isKeyable.js +15 -0
  687. package/server/node_modules/lodash/_isLaziable.js +28 -0
  688. package/server/node_modules/lodash/_isMaskable.js +14 -0
  689. package/server/node_modules/lodash/_isMasked.js +20 -0
  690. package/server/node_modules/lodash/_isPrototype.js +18 -0
  691. package/server/node_modules/lodash/_isStrictComparable.js +15 -0
  692. package/server/node_modules/lodash/_iteratorToArray.js +18 -0
  693. package/server/node_modules/lodash/_lazyClone.js +23 -0
  694. package/server/node_modules/lodash/_lazyReverse.js +23 -0
  695. package/server/node_modules/lodash/_lazyValue.js +69 -0
  696. package/server/node_modules/lodash/_listCacheClear.js +13 -0
  697. package/server/node_modules/lodash/_listCacheDelete.js +35 -0
  698. package/server/node_modules/lodash/_listCacheGet.js +19 -0
  699. package/server/node_modules/lodash/_listCacheHas.js +16 -0
  700. package/server/node_modules/lodash/_listCacheSet.js +26 -0
  701. package/server/node_modules/lodash/_mapCacheClear.js +21 -0
  702. package/server/node_modules/lodash/_mapCacheDelete.js +18 -0
  703. package/server/node_modules/lodash/_mapCacheGet.js +16 -0
  704. package/server/node_modules/lodash/_mapCacheHas.js +16 -0
  705. package/server/node_modules/lodash/_mapCacheSet.js +22 -0
  706. package/server/node_modules/lodash/_mapToArray.js +18 -0
  707. package/server/node_modules/lodash/_matchesStrictComparable.js +20 -0
  708. package/server/node_modules/lodash/_memoizeCapped.js +26 -0
  709. package/server/node_modules/lodash/_mergeData.js +90 -0
  710. package/server/node_modules/lodash/_metaMap.js +6 -0
  711. package/server/node_modules/lodash/_nativeCreate.js +6 -0
  712. package/server/node_modules/lodash/_nativeKeys.js +6 -0
  713. package/server/node_modules/lodash/_nativeKeysIn.js +20 -0
  714. package/server/node_modules/lodash/_nodeUtil.js +30 -0
  715. package/server/node_modules/lodash/_objectToString.js +22 -0
  716. package/server/node_modules/lodash/_overArg.js +15 -0
  717. package/server/node_modules/lodash/_overRest.js +36 -0
  718. package/server/node_modules/lodash/_parent.js +16 -0
  719. package/server/node_modules/lodash/_reEscape.js +4 -0
  720. package/server/node_modules/lodash/_reEvaluate.js +4 -0
  721. package/server/node_modules/lodash/_reInterpolate.js +4 -0
  722. package/server/node_modules/lodash/_realNames.js +4 -0
  723. package/server/node_modules/lodash/_reorder.js +29 -0
  724. package/server/node_modules/lodash/_replaceHolders.js +29 -0
  725. package/server/node_modules/lodash/_root.js +9 -0
  726. package/server/node_modules/lodash/_safeGet.js +21 -0
  727. package/server/node_modules/lodash/_setCacheAdd.js +19 -0
  728. package/server/node_modules/lodash/_setCacheHas.js +14 -0
  729. package/server/node_modules/lodash/_setData.js +20 -0
  730. package/server/node_modules/lodash/_setToArray.js +18 -0
  731. package/server/node_modules/lodash/_setToPairs.js +18 -0
  732. package/server/node_modules/lodash/_setToString.js +14 -0
  733. package/server/node_modules/lodash/_setWrapToString.js +21 -0
  734. package/server/node_modules/lodash/_shortOut.js +37 -0
  735. package/server/node_modules/lodash/_shuffleSelf.js +28 -0
  736. package/server/node_modules/lodash/_stackClear.js +15 -0
  737. package/server/node_modules/lodash/_stackDelete.js +18 -0
  738. package/server/node_modules/lodash/_stackGet.js +14 -0
  739. package/server/node_modules/lodash/_stackHas.js +14 -0
  740. package/server/node_modules/lodash/_stackSet.js +34 -0
  741. package/server/node_modules/lodash/_strictIndexOf.js +23 -0
  742. package/server/node_modules/lodash/_strictLastIndexOf.js +21 -0
  743. package/server/node_modules/lodash/_stringSize.js +18 -0
  744. package/server/node_modules/lodash/_stringToArray.js +18 -0
  745. package/server/node_modules/lodash/_stringToPath.js +27 -0
  746. package/server/node_modules/lodash/_toKey.js +21 -0
  747. package/server/node_modules/lodash/_toSource.js +26 -0
  748. package/server/node_modules/lodash/_trimmedEndIndex.js +19 -0
  749. package/server/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  750. package/server/node_modules/lodash/_unicodeSize.js +44 -0
  751. package/server/node_modules/lodash/_unicodeToArray.js +40 -0
  752. package/server/node_modules/lodash/_unicodeWords.js +69 -0
  753. package/server/node_modules/lodash/_updateWrapDetails.js +46 -0
  754. package/server/node_modules/lodash/_wrapperClone.js +23 -0
  755. package/server/node_modules/lodash/add.js +22 -0
  756. package/server/node_modules/lodash/after.js +42 -0
  757. package/server/node_modules/lodash/array.js +67 -0
  758. package/server/node_modules/lodash/ary.js +29 -0
  759. package/server/node_modules/lodash/assign.js +58 -0
  760. package/server/node_modules/lodash/assignIn.js +40 -0
  761. package/server/node_modules/lodash/assignInWith.js +38 -0
  762. package/server/node_modules/lodash/assignWith.js +37 -0
  763. package/server/node_modules/lodash/at.js +23 -0
  764. package/server/node_modules/lodash/attempt.js +35 -0
  765. package/server/node_modules/lodash/before.js +40 -0
  766. package/server/node_modules/lodash/bind.js +57 -0
  767. package/server/node_modules/lodash/bindAll.js +41 -0
  768. package/server/node_modules/lodash/bindKey.js +68 -0
  769. package/server/node_modules/lodash/camelCase.js +29 -0
  770. package/server/node_modules/lodash/capitalize.js +23 -0
  771. package/server/node_modules/lodash/castArray.js +44 -0
  772. package/server/node_modules/lodash/ceil.js +26 -0
  773. package/server/node_modules/lodash/chain.js +38 -0
  774. package/server/node_modules/lodash/chunk.js +50 -0
  775. package/server/node_modules/lodash/clamp.js +39 -0
  776. package/server/node_modules/lodash/clone.js +36 -0
  777. package/server/node_modules/lodash/cloneDeep.js +29 -0
  778. package/server/node_modules/lodash/cloneDeepWith.js +40 -0
  779. package/server/node_modules/lodash/cloneWith.js +42 -0
  780. package/server/node_modules/lodash/collection.js +30 -0
  781. package/server/node_modules/lodash/commit.js +33 -0
  782. package/server/node_modules/lodash/compact.js +31 -0
  783. package/server/node_modules/lodash/concat.js +43 -0
  784. package/server/node_modules/lodash/cond.js +60 -0
  785. package/server/node_modules/lodash/conforms.js +35 -0
  786. package/server/node_modules/lodash/conformsTo.js +32 -0
  787. package/server/node_modules/lodash/constant.js +26 -0
  788. package/server/node_modules/lodash/core.js +3877 -0
  789. package/server/node_modules/lodash/core.min.js +29 -0
  790. package/server/node_modules/lodash/countBy.js +40 -0
  791. package/server/node_modules/lodash/create.js +43 -0
  792. package/server/node_modules/lodash/curry.js +57 -0
  793. package/server/node_modules/lodash/curryRight.js +54 -0
  794. package/server/node_modules/lodash/date.js +3 -0
  795. package/server/node_modules/lodash/debounce.js +191 -0
  796. package/server/node_modules/lodash/deburr.js +45 -0
  797. package/server/node_modules/lodash/defaultTo.js +25 -0
  798. package/server/node_modules/lodash/defaults.js +64 -0
  799. package/server/node_modules/lodash/defaultsDeep.js +30 -0
  800. package/server/node_modules/lodash/defer.js +26 -0
  801. package/server/node_modules/lodash/delay.js +28 -0
  802. package/server/node_modules/lodash/difference.js +33 -0
  803. package/server/node_modules/lodash/differenceBy.js +44 -0
  804. package/server/node_modules/lodash/differenceWith.js +40 -0
  805. package/server/node_modules/lodash/divide.js +22 -0
  806. package/server/node_modules/lodash/drop.js +38 -0
  807. package/server/node_modules/lodash/dropRight.js +39 -0
  808. package/server/node_modules/lodash/dropRightWhile.js +45 -0
  809. package/server/node_modules/lodash/dropWhile.js +45 -0
  810. package/server/node_modules/lodash/each.js +1 -0
  811. package/server/node_modules/lodash/eachRight.js +1 -0
  812. package/server/node_modules/lodash/endsWith.js +43 -0
  813. package/server/node_modules/lodash/entries.js +1 -0
  814. package/server/node_modules/lodash/entriesIn.js +1 -0
  815. package/server/node_modules/lodash/eq.js +37 -0
  816. package/server/node_modules/lodash/escape.js +43 -0
  817. package/server/node_modules/lodash/escapeRegExp.js +32 -0
  818. package/server/node_modules/lodash/every.js +56 -0
  819. package/server/node_modules/lodash/extend.js +1 -0
  820. package/server/node_modules/lodash/extendWith.js +1 -0
  821. package/server/node_modules/lodash/fill.js +45 -0
  822. package/server/node_modules/lodash/filter.js +52 -0
  823. package/server/node_modules/lodash/find.js +42 -0
  824. package/server/node_modules/lodash/findIndex.js +55 -0
  825. package/server/node_modules/lodash/findKey.js +44 -0
  826. package/server/node_modules/lodash/findLast.js +25 -0
  827. package/server/node_modules/lodash/findLastIndex.js +59 -0
  828. package/server/node_modules/lodash/findLastKey.js +44 -0
  829. package/server/node_modules/lodash/first.js +1 -0
  830. package/server/node_modules/lodash/flake.lock +40 -0
  831. package/server/node_modules/lodash/flake.nix +20 -0
  832. package/server/node_modules/lodash/flatMap.js +29 -0
  833. package/server/node_modules/lodash/flatMapDeep.js +31 -0
  834. package/server/node_modules/lodash/flatMapDepth.js +31 -0
  835. package/server/node_modules/lodash/flatten.js +22 -0
  836. package/server/node_modules/lodash/flattenDeep.js +25 -0
  837. package/server/node_modules/lodash/flattenDepth.js +33 -0
  838. package/server/node_modules/lodash/flip.js +28 -0
  839. package/server/node_modules/lodash/floor.js +26 -0
  840. package/server/node_modules/lodash/flow.js +27 -0
  841. package/server/node_modules/lodash/flowRight.js +26 -0
  842. package/server/node_modules/lodash/forEach.js +41 -0
  843. package/server/node_modules/lodash/forEachRight.js +31 -0
  844. package/server/node_modules/lodash/forIn.js +39 -0
  845. package/server/node_modules/lodash/forInRight.js +37 -0
  846. package/server/node_modules/lodash/forOwn.js +36 -0
  847. package/server/node_modules/lodash/forOwnRight.js +34 -0
  848. package/server/node_modules/lodash/fp/F.js +1 -0
  849. package/server/node_modules/lodash/fp/T.js +1 -0
  850. package/server/node_modules/lodash/fp/__.js +1 -0
  851. package/server/node_modules/lodash/fp/_baseConvert.js +569 -0
  852. package/server/node_modules/lodash/fp/_convertBrowser.js +18 -0
  853. package/server/node_modules/lodash/fp/_falseOptions.js +7 -0
  854. package/server/node_modules/lodash/fp/_mapping.js +358 -0
  855. package/server/node_modules/lodash/fp/_util.js +16 -0
  856. package/server/node_modules/lodash/fp/add.js +5 -0
  857. package/server/node_modules/lodash/fp/after.js +5 -0
  858. package/server/node_modules/lodash/fp/all.js +1 -0
  859. package/server/node_modules/lodash/fp/allPass.js +1 -0
  860. package/server/node_modules/lodash/fp/always.js +1 -0
  861. package/server/node_modules/lodash/fp/any.js +1 -0
  862. package/server/node_modules/lodash/fp/anyPass.js +1 -0
  863. package/server/node_modules/lodash/fp/apply.js +1 -0
  864. package/server/node_modules/lodash/fp/array.js +2 -0
  865. package/server/node_modules/lodash/fp/ary.js +5 -0
  866. package/server/node_modules/lodash/fp/assign.js +5 -0
  867. package/server/node_modules/lodash/fp/assignAll.js +5 -0
  868. package/server/node_modules/lodash/fp/assignAllWith.js +5 -0
  869. package/server/node_modules/lodash/fp/assignIn.js +5 -0
  870. package/server/node_modules/lodash/fp/assignInAll.js +5 -0
  871. package/server/node_modules/lodash/fp/assignInAllWith.js +5 -0
  872. package/server/node_modules/lodash/fp/assignInWith.js +5 -0
  873. package/server/node_modules/lodash/fp/assignWith.js +5 -0
  874. package/server/node_modules/lodash/fp/assoc.js +1 -0
  875. package/server/node_modules/lodash/fp/assocPath.js +1 -0
  876. package/server/node_modules/lodash/fp/at.js +5 -0
  877. package/server/node_modules/lodash/fp/attempt.js +5 -0
  878. package/server/node_modules/lodash/fp/before.js +5 -0
  879. package/server/node_modules/lodash/fp/bind.js +5 -0
  880. package/server/node_modules/lodash/fp/bindAll.js +5 -0
  881. package/server/node_modules/lodash/fp/bindKey.js +5 -0
  882. package/server/node_modules/lodash/fp/camelCase.js +5 -0
  883. package/server/node_modules/lodash/fp/capitalize.js +5 -0
  884. package/server/node_modules/lodash/fp/castArray.js +5 -0
  885. package/server/node_modules/lodash/fp/ceil.js +5 -0
  886. package/server/node_modules/lodash/fp/chain.js +5 -0
  887. package/server/node_modules/lodash/fp/chunk.js +5 -0
  888. package/server/node_modules/lodash/fp/clamp.js +5 -0
  889. package/server/node_modules/lodash/fp/clone.js +5 -0
  890. package/server/node_modules/lodash/fp/cloneDeep.js +5 -0
  891. package/server/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  892. package/server/node_modules/lodash/fp/cloneWith.js +5 -0
  893. package/server/node_modules/lodash/fp/collection.js +2 -0
  894. package/server/node_modules/lodash/fp/commit.js +5 -0
  895. package/server/node_modules/lodash/fp/compact.js +5 -0
  896. package/server/node_modules/lodash/fp/complement.js +1 -0
  897. package/server/node_modules/lodash/fp/compose.js +1 -0
  898. package/server/node_modules/lodash/fp/concat.js +5 -0
  899. package/server/node_modules/lodash/fp/cond.js +5 -0
  900. package/server/node_modules/lodash/fp/conforms.js +1 -0
  901. package/server/node_modules/lodash/fp/conformsTo.js +5 -0
  902. package/server/node_modules/lodash/fp/constant.js +5 -0
  903. package/server/node_modules/lodash/fp/contains.js +1 -0
  904. package/server/node_modules/lodash/fp/convert.js +18 -0
  905. package/server/node_modules/lodash/fp/countBy.js +5 -0
  906. package/server/node_modules/lodash/fp/create.js +5 -0
  907. package/server/node_modules/lodash/fp/curry.js +5 -0
  908. package/server/node_modules/lodash/fp/curryN.js +5 -0
  909. package/server/node_modules/lodash/fp/curryRight.js +5 -0
  910. package/server/node_modules/lodash/fp/curryRightN.js +5 -0
  911. package/server/node_modules/lodash/fp/date.js +2 -0
  912. package/server/node_modules/lodash/fp/debounce.js +5 -0
  913. package/server/node_modules/lodash/fp/deburr.js +5 -0
  914. package/server/node_modules/lodash/fp/defaultTo.js +5 -0
  915. package/server/node_modules/lodash/fp/defaults.js +5 -0
  916. package/server/node_modules/lodash/fp/defaultsAll.js +5 -0
  917. package/server/node_modules/lodash/fp/defaultsDeep.js +5 -0
  918. package/server/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  919. package/server/node_modules/lodash/fp/defer.js +5 -0
  920. package/server/node_modules/lodash/fp/delay.js +5 -0
  921. package/server/node_modules/lodash/fp/difference.js +5 -0
  922. package/server/node_modules/lodash/fp/differenceBy.js +5 -0
  923. package/server/node_modules/lodash/fp/differenceWith.js +5 -0
  924. package/server/node_modules/lodash/fp/dissoc.js +1 -0
  925. package/server/node_modules/lodash/fp/dissocPath.js +1 -0
  926. package/server/node_modules/lodash/fp/divide.js +5 -0
  927. package/server/node_modules/lodash/fp/drop.js +5 -0
  928. package/server/node_modules/lodash/fp/dropLast.js +1 -0
  929. package/server/node_modules/lodash/fp/dropLastWhile.js +1 -0
  930. package/server/node_modules/lodash/fp/dropRight.js +5 -0
  931. package/server/node_modules/lodash/fp/dropRightWhile.js +5 -0
  932. package/server/node_modules/lodash/fp/dropWhile.js +5 -0
  933. package/server/node_modules/lodash/fp/each.js +1 -0
  934. package/server/node_modules/lodash/fp/eachRight.js +1 -0
  935. package/server/node_modules/lodash/fp/endsWith.js +5 -0
  936. package/server/node_modules/lodash/fp/entries.js +1 -0
  937. package/server/node_modules/lodash/fp/entriesIn.js +1 -0
  938. package/server/node_modules/lodash/fp/eq.js +5 -0
  939. package/server/node_modules/lodash/fp/equals.js +1 -0
  940. package/server/node_modules/lodash/fp/escape.js +5 -0
  941. package/server/node_modules/lodash/fp/escapeRegExp.js +5 -0
  942. package/server/node_modules/lodash/fp/every.js +5 -0
  943. package/server/node_modules/lodash/fp/extend.js +1 -0
  944. package/server/node_modules/lodash/fp/extendAll.js +1 -0
  945. package/server/node_modules/lodash/fp/extendAllWith.js +1 -0
  946. package/server/node_modules/lodash/fp/extendWith.js +1 -0
  947. package/server/node_modules/lodash/fp/fill.js +5 -0
  948. package/server/node_modules/lodash/fp/filter.js +5 -0
  949. package/server/node_modules/lodash/fp/find.js +5 -0
  950. package/server/node_modules/lodash/fp/findFrom.js +5 -0
  951. package/server/node_modules/lodash/fp/findIndex.js +5 -0
  952. package/server/node_modules/lodash/fp/findIndexFrom.js +5 -0
  953. package/server/node_modules/lodash/fp/findKey.js +5 -0
  954. package/server/node_modules/lodash/fp/findLast.js +5 -0
  955. package/server/node_modules/lodash/fp/findLastFrom.js +5 -0
  956. package/server/node_modules/lodash/fp/findLastIndex.js +5 -0
  957. package/server/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  958. package/server/node_modules/lodash/fp/findLastKey.js +5 -0
  959. package/server/node_modules/lodash/fp/first.js +1 -0
  960. package/server/node_modules/lodash/fp/flatMap.js +5 -0
  961. package/server/node_modules/lodash/fp/flatMapDeep.js +5 -0
  962. package/server/node_modules/lodash/fp/flatMapDepth.js +5 -0
  963. package/server/node_modules/lodash/fp/flatten.js +5 -0
  964. package/server/node_modules/lodash/fp/flattenDeep.js +5 -0
  965. package/server/node_modules/lodash/fp/flattenDepth.js +5 -0
  966. package/server/node_modules/lodash/fp/flip.js +5 -0
  967. package/server/node_modules/lodash/fp/floor.js +5 -0
  968. package/server/node_modules/lodash/fp/flow.js +5 -0
  969. package/server/node_modules/lodash/fp/flowRight.js +5 -0
  970. package/server/node_modules/lodash/fp/forEach.js +5 -0
  971. package/server/node_modules/lodash/fp/forEachRight.js +5 -0
  972. package/server/node_modules/lodash/fp/forIn.js +5 -0
  973. package/server/node_modules/lodash/fp/forInRight.js +5 -0
  974. package/server/node_modules/lodash/fp/forOwn.js +5 -0
  975. package/server/node_modules/lodash/fp/forOwnRight.js +5 -0
  976. package/server/node_modules/lodash/fp/fromPairs.js +5 -0
  977. package/server/node_modules/lodash/fp/function.js +2 -0
  978. package/server/node_modules/lodash/fp/functions.js +5 -0
  979. package/server/node_modules/lodash/fp/functionsIn.js +5 -0
  980. package/server/node_modules/lodash/fp/get.js +5 -0
  981. package/server/node_modules/lodash/fp/getOr.js +5 -0
  982. package/server/node_modules/lodash/fp/groupBy.js +5 -0
  983. package/server/node_modules/lodash/fp/gt.js +5 -0
  984. package/server/node_modules/lodash/fp/gte.js +5 -0
  985. package/server/node_modules/lodash/fp/has.js +5 -0
  986. package/server/node_modules/lodash/fp/hasIn.js +5 -0
  987. package/server/node_modules/lodash/fp/head.js +5 -0
  988. package/server/node_modules/lodash/fp/identical.js +1 -0
  989. package/server/node_modules/lodash/fp/identity.js +5 -0
  990. package/server/node_modules/lodash/fp/inRange.js +5 -0
  991. package/server/node_modules/lodash/fp/includes.js +5 -0
  992. package/server/node_modules/lodash/fp/includesFrom.js +5 -0
  993. package/server/node_modules/lodash/fp/indexBy.js +1 -0
  994. package/server/node_modules/lodash/fp/indexOf.js +5 -0
  995. package/server/node_modules/lodash/fp/indexOfFrom.js +5 -0
  996. package/server/node_modules/lodash/fp/init.js +1 -0
  997. package/server/node_modules/lodash/fp/initial.js +5 -0
  998. package/server/node_modules/lodash/fp/intersection.js +5 -0
  999. package/server/node_modules/lodash/fp/intersectionBy.js +5 -0
  1000. package/server/node_modules/lodash/fp/intersectionWith.js +5 -0
  1001. package/server/node_modules/lodash/fp/invert.js +5 -0
  1002. package/server/node_modules/lodash/fp/invertBy.js +5 -0
  1003. package/server/node_modules/lodash/fp/invertObj.js +1 -0
  1004. package/server/node_modules/lodash/fp/invoke.js +5 -0
  1005. package/server/node_modules/lodash/fp/invokeArgs.js +5 -0
  1006. package/server/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  1007. package/server/node_modules/lodash/fp/invokeMap.js +5 -0
  1008. package/server/node_modules/lodash/fp/isArguments.js +5 -0
  1009. package/server/node_modules/lodash/fp/isArray.js +5 -0
  1010. package/server/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  1011. package/server/node_modules/lodash/fp/isArrayLike.js +5 -0
  1012. package/server/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  1013. package/server/node_modules/lodash/fp/isBoolean.js +5 -0
  1014. package/server/node_modules/lodash/fp/isBuffer.js +5 -0
  1015. package/server/node_modules/lodash/fp/isDate.js +5 -0
  1016. package/server/node_modules/lodash/fp/isElement.js +5 -0
  1017. package/server/node_modules/lodash/fp/isEmpty.js +5 -0
  1018. package/server/node_modules/lodash/fp/isEqual.js +5 -0
  1019. package/server/node_modules/lodash/fp/isEqualWith.js +5 -0
  1020. package/server/node_modules/lodash/fp/isError.js +5 -0
  1021. package/server/node_modules/lodash/fp/isFinite.js +5 -0
  1022. package/server/node_modules/lodash/fp/isFunction.js +5 -0
  1023. package/server/node_modules/lodash/fp/isInteger.js +5 -0
  1024. package/server/node_modules/lodash/fp/isLength.js +5 -0
  1025. package/server/node_modules/lodash/fp/isMap.js +5 -0
  1026. package/server/node_modules/lodash/fp/isMatch.js +5 -0
  1027. package/server/node_modules/lodash/fp/isMatchWith.js +5 -0
  1028. package/server/node_modules/lodash/fp/isNaN.js +5 -0
  1029. package/server/node_modules/lodash/fp/isNative.js +5 -0
  1030. package/server/node_modules/lodash/fp/isNil.js +5 -0
  1031. package/server/node_modules/lodash/fp/isNull.js +5 -0
  1032. package/server/node_modules/lodash/fp/isNumber.js +5 -0
  1033. package/server/node_modules/lodash/fp/isObject.js +5 -0
  1034. package/server/node_modules/lodash/fp/isObjectLike.js +5 -0
  1035. package/server/node_modules/lodash/fp/isPlainObject.js +5 -0
  1036. package/server/node_modules/lodash/fp/isRegExp.js +5 -0
  1037. package/server/node_modules/lodash/fp/isSafeInteger.js +5 -0
  1038. package/server/node_modules/lodash/fp/isSet.js +5 -0
  1039. package/server/node_modules/lodash/fp/isString.js +5 -0
  1040. package/server/node_modules/lodash/fp/isSymbol.js +5 -0
  1041. package/server/node_modules/lodash/fp/isTypedArray.js +5 -0
  1042. package/server/node_modules/lodash/fp/isUndefined.js +5 -0
  1043. package/server/node_modules/lodash/fp/isWeakMap.js +5 -0
  1044. package/server/node_modules/lodash/fp/isWeakSet.js +5 -0
  1045. package/server/node_modules/lodash/fp/iteratee.js +5 -0
  1046. package/server/node_modules/lodash/fp/join.js +5 -0
  1047. package/server/node_modules/lodash/fp/juxt.js +1 -0
  1048. package/server/node_modules/lodash/fp/kebabCase.js +5 -0
  1049. package/server/node_modules/lodash/fp/keyBy.js +5 -0
  1050. package/server/node_modules/lodash/fp/keys.js +5 -0
  1051. package/server/node_modules/lodash/fp/keysIn.js +5 -0
  1052. package/server/node_modules/lodash/fp/lang.js +2 -0
  1053. package/server/node_modules/lodash/fp/last.js +5 -0
  1054. package/server/node_modules/lodash/fp/lastIndexOf.js +5 -0
  1055. package/server/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  1056. package/server/node_modules/lodash/fp/lowerCase.js +5 -0
  1057. package/server/node_modules/lodash/fp/lowerFirst.js +5 -0
  1058. package/server/node_modules/lodash/fp/lt.js +5 -0
  1059. package/server/node_modules/lodash/fp/lte.js +5 -0
  1060. package/server/node_modules/lodash/fp/map.js +5 -0
  1061. package/server/node_modules/lodash/fp/mapKeys.js +5 -0
  1062. package/server/node_modules/lodash/fp/mapValues.js +5 -0
  1063. package/server/node_modules/lodash/fp/matches.js +1 -0
  1064. package/server/node_modules/lodash/fp/matchesProperty.js +5 -0
  1065. package/server/node_modules/lodash/fp/math.js +2 -0
  1066. package/server/node_modules/lodash/fp/max.js +5 -0
  1067. package/server/node_modules/lodash/fp/maxBy.js +5 -0
  1068. package/server/node_modules/lodash/fp/mean.js +5 -0
  1069. package/server/node_modules/lodash/fp/meanBy.js +5 -0
  1070. package/server/node_modules/lodash/fp/memoize.js +5 -0
  1071. package/server/node_modules/lodash/fp/merge.js +5 -0
  1072. package/server/node_modules/lodash/fp/mergeAll.js +5 -0
  1073. package/server/node_modules/lodash/fp/mergeAllWith.js +5 -0
  1074. package/server/node_modules/lodash/fp/mergeWith.js +5 -0
  1075. package/server/node_modules/lodash/fp/method.js +5 -0
  1076. package/server/node_modules/lodash/fp/methodOf.js +5 -0
  1077. package/server/node_modules/lodash/fp/min.js +5 -0
  1078. package/server/node_modules/lodash/fp/minBy.js +5 -0
  1079. package/server/node_modules/lodash/fp/mixin.js +5 -0
  1080. package/server/node_modules/lodash/fp/multiply.js +5 -0
  1081. package/server/node_modules/lodash/fp/nAry.js +1 -0
  1082. package/server/node_modules/lodash/fp/negate.js +5 -0
  1083. package/server/node_modules/lodash/fp/next.js +5 -0
  1084. package/server/node_modules/lodash/fp/noop.js +5 -0
  1085. package/server/node_modules/lodash/fp/now.js +5 -0
  1086. package/server/node_modules/lodash/fp/nth.js +5 -0
  1087. package/server/node_modules/lodash/fp/nthArg.js +5 -0
  1088. package/server/node_modules/lodash/fp/number.js +2 -0
  1089. package/server/node_modules/lodash/fp/object.js +2 -0
  1090. package/server/node_modules/lodash/fp/omit.js +5 -0
  1091. package/server/node_modules/lodash/fp/omitAll.js +1 -0
  1092. package/server/node_modules/lodash/fp/omitBy.js +5 -0
  1093. package/server/node_modules/lodash/fp/once.js +5 -0
  1094. package/server/node_modules/lodash/fp/orderBy.js +5 -0
  1095. package/server/node_modules/lodash/fp/over.js +5 -0
  1096. package/server/node_modules/lodash/fp/overArgs.js +5 -0
  1097. package/server/node_modules/lodash/fp/overEvery.js +5 -0
  1098. package/server/node_modules/lodash/fp/overSome.js +5 -0
  1099. package/server/node_modules/lodash/fp/pad.js +5 -0
  1100. package/server/node_modules/lodash/fp/padChars.js +5 -0
  1101. package/server/node_modules/lodash/fp/padCharsEnd.js +5 -0
  1102. package/server/node_modules/lodash/fp/padCharsStart.js +5 -0
  1103. package/server/node_modules/lodash/fp/padEnd.js +5 -0
  1104. package/server/node_modules/lodash/fp/padStart.js +5 -0
  1105. package/server/node_modules/lodash/fp/parseInt.js +5 -0
  1106. package/server/node_modules/lodash/fp/partial.js +5 -0
  1107. package/server/node_modules/lodash/fp/partialRight.js +5 -0
  1108. package/server/node_modules/lodash/fp/partition.js +5 -0
  1109. package/server/node_modules/lodash/fp/path.js +1 -0
  1110. package/server/node_modules/lodash/fp/pathEq.js +1 -0
  1111. package/server/node_modules/lodash/fp/pathOr.js +1 -0
  1112. package/server/node_modules/lodash/fp/paths.js +1 -0
  1113. package/server/node_modules/lodash/fp/pick.js +5 -0
  1114. package/server/node_modules/lodash/fp/pickAll.js +1 -0
  1115. package/server/node_modules/lodash/fp/pickBy.js +5 -0
  1116. package/server/node_modules/lodash/fp/pipe.js +1 -0
  1117. package/server/node_modules/lodash/fp/placeholder.js +6 -0
  1118. package/server/node_modules/lodash/fp/plant.js +5 -0
  1119. package/server/node_modules/lodash/fp/pluck.js +1 -0
  1120. package/server/node_modules/lodash/fp/prop.js +1 -0
  1121. package/server/node_modules/lodash/fp/propEq.js +1 -0
  1122. package/server/node_modules/lodash/fp/propOr.js +1 -0
  1123. package/server/node_modules/lodash/fp/property.js +1 -0
  1124. package/server/node_modules/lodash/fp/propertyOf.js +5 -0
  1125. package/server/node_modules/lodash/fp/props.js +1 -0
  1126. package/server/node_modules/lodash/fp/pull.js +5 -0
  1127. package/server/node_modules/lodash/fp/pullAll.js +5 -0
  1128. package/server/node_modules/lodash/fp/pullAllBy.js +5 -0
  1129. package/server/node_modules/lodash/fp/pullAllWith.js +5 -0
  1130. package/server/node_modules/lodash/fp/pullAt.js +5 -0
  1131. package/server/node_modules/lodash/fp/random.js +5 -0
  1132. package/server/node_modules/lodash/fp/range.js +5 -0
  1133. package/server/node_modules/lodash/fp/rangeRight.js +5 -0
  1134. package/server/node_modules/lodash/fp/rangeStep.js +5 -0
  1135. package/server/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1136. package/server/node_modules/lodash/fp/rearg.js +5 -0
  1137. package/server/node_modules/lodash/fp/reduce.js +5 -0
  1138. package/server/node_modules/lodash/fp/reduceRight.js +5 -0
  1139. package/server/node_modules/lodash/fp/reject.js +5 -0
  1140. package/server/node_modules/lodash/fp/remove.js +5 -0
  1141. package/server/node_modules/lodash/fp/repeat.js +5 -0
  1142. package/server/node_modules/lodash/fp/replace.js +5 -0
  1143. package/server/node_modules/lodash/fp/rest.js +5 -0
  1144. package/server/node_modules/lodash/fp/restFrom.js +5 -0
  1145. package/server/node_modules/lodash/fp/result.js +5 -0
  1146. package/server/node_modules/lodash/fp/reverse.js +5 -0
  1147. package/server/node_modules/lodash/fp/round.js +5 -0
  1148. package/server/node_modules/lodash/fp/sample.js +5 -0
  1149. package/server/node_modules/lodash/fp/sampleSize.js +5 -0
  1150. package/server/node_modules/lodash/fp/seq.js +2 -0
  1151. package/server/node_modules/lodash/fp/set.js +5 -0
  1152. package/server/node_modules/lodash/fp/setWith.js +5 -0
  1153. package/server/node_modules/lodash/fp/shuffle.js +5 -0
  1154. package/server/node_modules/lodash/fp/size.js +5 -0
  1155. package/server/node_modules/lodash/fp/slice.js +5 -0
  1156. package/server/node_modules/lodash/fp/snakeCase.js +5 -0
  1157. package/server/node_modules/lodash/fp/some.js +5 -0
  1158. package/server/node_modules/lodash/fp/sortBy.js +5 -0
  1159. package/server/node_modules/lodash/fp/sortedIndex.js +5 -0
  1160. package/server/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1161. package/server/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1162. package/server/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1163. package/server/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1164. package/server/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1165. package/server/node_modules/lodash/fp/sortedUniq.js +5 -0
  1166. package/server/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1167. package/server/node_modules/lodash/fp/split.js +5 -0
  1168. package/server/node_modules/lodash/fp/spread.js +5 -0
  1169. package/server/node_modules/lodash/fp/spreadFrom.js +5 -0
  1170. package/server/node_modules/lodash/fp/startCase.js +5 -0
  1171. package/server/node_modules/lodash/fp/startsWith.js +5 -0
  1172. package/server/node_modules/lodash/fp/string.js +2 -0
  1173. package/server/node_modules/lodash/fp/stubArray.js +5 -0
  1174. package/server/node_modules/lodash/fp/stubFalse.js +5 -0
  1175. package/server/node_modules/lodash/fp/stubObject.js +5 -0
  1176. package/server/node_modules/lodash/fp/stubString.js +5 -0
  1177. package/server/node_modules/lodash/fp/stubTrue.js +5 -0
  1178. package/server/node_modules/lodash/fp/subtract.js +5 -0
  1179. package/server/node_modules/lodash/fp/sum.js +5 -0
  1180. package/server/node_modules/lodash/fp/sumBy.js +5 -0
  1181. package/server/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1182. package/server/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1183. package/server/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1184. package/server/node_modules/lodash/fp/tail.js +5 -0
  1185. package/server/node_modules/lodash/fp/take.js +5 -0
  1186. package/server/node_modules/lodash/fp/takeLast.js +1 -0
  1187. package/server/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1188. package/server/node_modules/lodash/fp/takeRight.js +5 -0
  1189. package/server/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1190. package/server/node_modules/lodash/fp/takeWhile.js +5 -0
  1191. package/server/node_modules/lodash/fp/tap.js +5 -0
  1192. package/server/node_modules/lodash/fp/template.js +5 -0
  1193. package/server/node_modules/lodash/fp/templateSettings.js +5 -0
  1194. package/server/node_modules/lodash/fp/throttle.js +5 -0
  1195. package/server/node_modules/lodash/fp/thru.js +5 -0
  1196. package/server/node_modules/lodash/fp/times.js +5 -0
  1197. package/server/node_modules/lodash/fp/toArray.js +5 -0
  1198. package/server/node_modules/lodash/fp/toFinite.js +5 -0
  1199. package/server/node_modules/lodash/fp/toInteger.js +5 -0
  1200. package/server/node_modules/lodash/fp/toIterator.js +5 -0
  1201. package/server/node_modules/lodash/fp/toJSON.js +5 -0
  1202. package/server/node_modules/lodash/fp/toLength.js +5 -0
  1203. package/server/node_modules/lodash/fp/toLower.js +5 -0
  1204. package/server/node_modules/lodash/fp/toNumber.js +5 -0
  1205. package/server/node_modules/lodash/fp/toPairs.js +5 -0
  1206. package/server/node_modules/lodash/fp/toPairsIn.js +5 -0
  1207. package/server/node_modules/lodash/fp/toPath.js +5 -0
  1208. package/server/node_modules/lodash/fp/toPlainObject.js +5 -0
  1209. package/server/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1210. package/server/node_modules/lodash/fp/toString.js +5 -0
  1211. package/server/node_modules/lodash/fp/toUpper.js +5 -0
  1212. package/server/node_modules/lodash/fp/transform.js +5 -0
  1213. package/server/node_modules/lodash/fp/trim.js +5 -0
  1214. package/server/node_modules/lodash/fp/trimChars.js +5 -0
  1215. package/server/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1216. package/server/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1217. package/server/node_modules/lodash/fp/trimEnd.js +5 -0
  1218. package/server/node_modules/lodash/fp/trimStart.js +5 -0
  1219. package/server/node_modules/lodash/fp/truncate.js +5 -0
  1220. package/server/node_modules/lodash/fp/unapply.js +1 -0
  1221. package/server/node_modules/lodash/fp/unary.js +5 -0
  1222. package/server/node_modules/lodash/fp/unescape.js +5 -0
  1223. package/server/node_modules/lodash/fp/union.js +5 -0
  1224. package/server/node_modules/lodash/fp/unionBy.js +5 -0
  1225. package/server/node_modules/lodash/fp/unionWith.js +5 -0
  1226. package/server/node_modules/lodash/fp/uniq.js +5 -0
  1227. package/server/node_modules/lodash/fp/uniqBy.js +5 -0
  1228. package/server/node_modules/lodash/fp/uniqWith.js +5 -0
  1229. package/server/node_modules/lodash/fp/uniqueId.js +5 -0
  1230. package/server/node_modules/lodash/fp/unnest.js +1 -0
  1231. package/server/node_modules/lodash/fp/unset.js +5 -0
  1232. package/server/node_modules/lodash/fp/unzip.js +5 -0
  1233. package/server/node_modules/lodash/fp/unzipWith.js +5 -0
  1234. package/server/node_modules/lodash/fp/update.js +5 -0
  1235. package/server/node_modules/lodash/fp/updateWith.js +5 -0
  1236. package/server/node_modules/lodash/fp/upperCase.js +5 -0
  1237. package/server/node_modules/lodash/fp/upperFirst.js +5 -0
  1238. package/server/node_modules/lodash/fp/useWith.js +1 -0
  1239. package/server/node_modules/lodash/fp/util.js +2 -0
  1240. package/server/node_modules/lodash/fp/value.js +5 -0
  1241. package/server/node_modules/lodash/fp/valueOf.js +5 -0
  1242. package/server/node_modules/lodash/fp/values.js +5 -0
  1243. package/server/node_modules/lodash/fp/valuesIn.js +5 -0
  1244. package/server/node_modules/lodash/fp/where.js +1 -0
  1245. package/server/node_modules/lodash/fp/whereEq.js +1 -0
  1246. package/server/node_modules/lodash/fp/without.js +5 -0
  1247. package/server/node_modules/lodash/fp/words.js +5 -0
  1248. package/server/node_modules/lodash/fp/wrap.js +5 -0
  1249. package/server/node_modules/lodash/fp/wrapperAt.js +5 -0
  1250. package/server/node_modules/lodash/fp/wrapperChain.js +5 -0
  1251. package/server/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1252. package/server/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1253. package/server/node_modules/lodash/fp/wrapperValue.js +5 -0
  1254. package/server/node_modules/lodash/fp/xor.js +5 -0
  1255. package/server/node_modules/lodash/fp/xorBy.js +5 -0
  1256. package/server/node_modules/lodash/fp/xorWith.js +5 -0
  1257. package/server/node_modules/lodash/fp/zip.js +5 -0
  1258. package/server/node_modules/lodash/fp/zipAll.js +5 -0
  1259. package/server/node_modules/lodash/fp/zipObj.js +1 -0
  1260. package/server/node_modules/lodash/fp/zipObject.js +5 -0
  1261. package/server/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1262. package/server/node_modules/lodash/fp/zipWith.js +5 -0
  1263. package/server/node_modules/lodash/fp.js +2 -0
  1264. package/server/node_modules/lodash/fromPairs.js +28 -0
  1265. package/server/node_modules/lodash/function.js +25 -0
  1266. package/server/node_modules/lodash/functions.js +31 -0
  1267. package/server/node_modules/lodash/functionsIn.js +31 -0
  1268. package/server/node_modules/lodash/get.js +33 -0
  1269. package/server/node_modules/lodash/groupBy.js +41 -0
  1270. package/server/node_modules/lodash/gt.js +29 -0
  1271. package/server/node_modules/lodash/gte.js +30 -0
  1272. package/server/node_modules/lodash/has.js +35 -0
  1273. package/server/node_modules/lodash/hasIn.js +34 -0
  1274. package/server/node_modules/lodash/head.js +23 -0
  1275. package/server/node_modules/lodash/identity.js +21 -0
  1276. package/server/node_modules/lodash/inRange.js +55 -0
  1277. package/server/node_modules/lodash/includes.js +53 -0
  1278. package/server/node_modules/lodash/index.js +1 -0
  1279. package/server/node_modules/lodash/indexOf.js +42 -0
  1280. package/server/node_modules/lodash/initial.js +22 -0
  1281. package/server/node_modules/lodash/intersection.js +30 -0
  1282. package/server/node_modules/lodash/intersectionBy.js +45 -0
  1283. package/server/node_modules/lodash/intersectionWith.js +41 -0
  1284. package/server/node_modules/lodash/invert.js +42 -0
  1285. package/server/node_modules/lodash/invertBy.js +56 -0
  1286. package/server/node_modules/lodash/invoke.js +24 -0
  1287. package/server/node_modules/lodash/invokeMap.js +41 -0
  1288. package/server/node_modules/lodash/isArguments.js +36 -0
  1289. package/server/node_modules/lodash/isArray.js +26 -0
  1290. package/server/node_modules/lodash/isArrayBuffer.js +27 -0
  1291. package/server/node_modules/lodash/isArrayLike.js +33 -0
  1292. package/server/node_modules/lodash/isArrayLikeObject.js +33 -0
  1293. package/server/node_modules/lodash/isBoolean.js +29 -0
  1294. package/server/node_modules/lodash/isBuffer.js +38 -0
  1295. package/server/node_modules/lodash/isDate.js +27 -0
  1296. package/server/node_modules/lodash/isElement.js +25 -0
  1297. package/server/node_modules/lodash/isEmpty.js +77 -0
  1298. package/server/node_modules/lodash/isEqual.js +35 -0
  1299. package/server/node_modules/lodash/isEqualWith.js +41 -0
  1300. package/server/node_modules/lodash/isError.js +36 -0
  1301. package/server/node_modules/lodash/isFinite.js +36 -0
  1302. package/server/node_modules/lodash/isFunction.js +37 -0
  1303. package/server/node_modules/lodash/isInteger.js +33 -0
  1304. package/server/node_modules/lodash/isLength.js +35 -0
  1305. package/server/node_modules/lodash/isMap.js +27 -0
  1306. package/server/node_modules/lodash/isMatch.js +36 -0
  1307. package/server/node_modules/lodash/isMatchWith.js +41 -0
  1308. package/server/node_modules/lodash/isNaN.js +38 -0
  1309. package/server/node_modules/lodash/isNative.js +40 -0
  1310. package/server/node_modules/lodash/isNil.js +25 -0
  1311. package/server/node_modules/lodash/isNull.js +22 -0
  1312. package/server/node_modules/lodash/isNumber.js +38 -0
  1313. package/server/node_modules/lodash/isObject.js +31 -0
  1314. package/server/node_modules/lodash/isObjectLike.js +29 -0
  1315. package/server/node_modules/lodash/isPlainObject.js +62 -0
  1316. package/server/node_modules/lodash/isRegExp.js +27 -0
  1317. package/server/node_modules/lodash/isSafeInteger.js +37 -0
  1318. package/server/node_modules/lodash/isSet.js +27 -0
  1319. package/server/node_modules/lodash/isString.js +30 -0
  1320. package/server/node_modules/lodash/isSymbol.js +29 -0
  1321. package/server/node_modules/lodash/isTypedArray.js +27 -0
  1322. package/server/node_modules/lodash/isUndefined.js +22 -0
  1323. package/server/node_modules/lodash/isWeakMap.js +28 -0
  1324. package/server/node_modules/lodash/isWeakSet.js +28 -0
  1325. package/server/node_modules/lodash/iteratee.js +53 -0
  1326. package/server/node_modules/lodash/join.js +26 -0
  1327. package/server/node_modules/lodash/kebabCase.js +28 -0
  1328. package/server/node_modules/lodash/keyBy.js +36 -0
  1329. package/server/node_modules/lodash/keys.js +37 -0
  1330. package/server/node_modules/lodash/keysIn.js +32 -0
  1331. package/server/node_modules/lodash/lang.js +58 -0
  1332. package/server/node_modules/lodash/last.js +20 -0
  1333. package/server/node_modules/lodash/lastIndexOf.js +46 -0
  1334. package/server/node_modules/lodash/lodash.js +17209 -0
  1335. package/server/node_modules/lodash/lodash.min.js +140 -0
  1336. package/server/node_modules/lodash/lowerCase.js +27 -0
  1337. package/server/node_modules/lodash/lowerFirst.js +22 -0
  1338. package/server/node_modules/lodash/lt.js +29 -0
  1339. package/server/node_modules/lodash/lte.js +30 -0
  1340. package/server/node_modules/lodash/map.js +53 -0
  1341. package/server/node_modules/lodash/mapKeys.js +36 -0
  1342. package/server/node_modules/lodash/mapValues.js +43 -0
  1343. package/server/node_modules/lodash/matches.js +46 -0
  1344. package/server/node_modules/lodash/matchesProperty.js +44 -0
  1345. package/server/node_modules/lodash/math.js +17 -0
  1346. package/server/node_modules/lodash/max.js +29 -0
  1347. package/server/node_modules/lodash/maxBy.js +34 -0
  1348. package/server/node_modules/lodash/mean.js +22 -0
  1349. package/server/node_modules/lodash/meanBy.js +31 -0
  1350. package/server/node_modules/lodash/memoize.js +73 -0
  1351. package/server/node_modules/lodash/merge.js +39 -0
  1352. package/server/node_modules/lodash/mergeWith.js +39 -0
  1353. package/server/node_modules/lodash/method.js +34 -0
  1354. package/server/node_modules/lodash/methodOf.js +33 -0
  1355. package/server/node_modules/lodash/min.js +29 -0
  1356. package/server/node_modules/lodash/minBy.js +34 -0
  1357. package/server/node_modules/lodash/mixin.js +74 -0
  1358. package/server/node_modules/lodash/multiply.js +22 -0
  1359. package/server/node_modules/lodash/negate.js +40 -0
  1360. package/server/node_modules/lodash/next.js +35 -0
  1361. package/server/node_modules/lodash/noop.js +17 -0
  1362. package/server/node_modules/lodash/now.js +23 -0
  1363. package/server/node_modules/lodash/nth.js +29 -0
  1364. package/server/node_modules/lodash/nthArg.js +32 -0
  1365. package/server/node_modules/lodash/number.js +5 -0
  1366. package/server/node_modules/lodash/object.js +49 -0
  1367. package/server/node_modules/lodash/omit.js +57 -0
  1368. package/server/node_modules/lodash/omitBy.js +29 -0
  1369. package/server/node_modules/lodash/once.js +25 -0
  1370. package/server/node_modules/lodash/orderBy.js +47 -0
  1371. package/server/node_modules/lodash/over.js +24 -0
  1372. package/server/node_modules/lodash/overArgs.js +61 -0
  1373. package/server/node_modules/lodash/overEvery.js +34 -0
  1374. package/server/node_modules/lodash/overSome.js +37 -0
  1375. package/server/node_modules/lodash/package.json +17 -0
  1376. package/server/node_modules/lodash/pad.js +49 -0
  1377. package/server/node_modules/lodash/padEnd.js +39 -0
  1378. package/server/node_modules/lodash/padStart.js +39 -0
  1379. package/server/node_modules/lodash/parseInt.js +43 -0
  1380. package/server/node_modules/lodash/partial.js +50 -0
  1381. package/server/node_modules/lodash/partialRight.js +49 -0
  1382. package/server/node_modules/lodash/partition.js +43 -0
  1383. package/server/node_modules/lodash/pick.js +25 -0
  1384. package/server/node_modules/lodash/pickBy.js +37 -0
  1385. package/server/node_modules/lodash/plant.js +48 -0
  1386. package/server/node_modules/lodash/property.js +32 -0
  1387. package/server/node_modules/lodash/propertyOf.js +30 -0
  1388. package/server/node_modules/lodash/pull.js +29 -0
  1389. package/server/node_modules/lodash/pullAll.js +29 -0
  1390. package/server/node_modules/lodash/pullAllBy.js +33 -0
  1391. package/server/node_modules/lodash/pullAllWith.js +32 -0
  1392. package/server/node_modules/lodash/pullAt.js +43 -0
  1393. package/server/node_modules/lodash/random.js +82 -0
  1394. package/server/node_modules/lodash/range.js +46 -0
  1395. package/server/node_modules/lodash/rangeRight.js +41 -0
  1396. package/server/node_modules/lodash/rearg.js +33 -0
  1397. package/server/node_modules/lodash/reduce.js +51 -0
  1398. package/server/node_modules/lodash/reduceRight.js +36 -0
  1399. package/server/node_modules/lodash/reject.js +46 -0
  1400. package/server/node_modules/lodash/release.md +48 -0
  1401. package/server/node_modules/lodash/remove.js +53 -0
  1402. package/server/node_modules/lodash/repeat.js +37 -0
  1403. package/server/node_modules/lodash/replace.js +29 -0
  1404. package/server/node_modules/lodash/rest.js +40 -0
  1405. package/server/node_modules/lodash/result.js +56 -0
  1406. package/server/node_modules/lodash/reverse.js +34 -0
  1407. package/server/node_modules/lodash/round.js +26 -0
  1408. package/server/node_modules/lodash/sample.js +24 -0
  1409. package/server/node_modules/lodash/sampleSize.js +37 -0
  1410. package/server/node_modules/lodash/seq.js +16 -0
  1411. package/server/node_modules/lodash/set.js +35 -0
  1412. package/server/node_modules/lodash/setWith.js +32 -0
  1413. package/server/node_modules/lodash/shuffle.js +25 -0
  1414. package/server/node_modules/lodash/size.js +46 -0
  1415. package/server/node_modules/lodash/slice.js +37 -0
  1416. package/server/node_modules/lodash/snakeCase.js +28 -0
  1417. package/server/node_modules/lodash/some.js +51 -0
  1418. package/server/node_modules/lodash/sortBy.js +48 -0
  1419. package/server/node_modules/lodash/sortedIndex.js +24 -0
  1420. package/server/node_modules/lodash/sortedIndexBy.js +33 -0
  1421. package/server/node_modules/lodash/sortedIndexOf.js +31 -0
  1422. package/server/node_modules/lodash/sortedLastIndex.js +25 -0
  1423. package/server/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1424. package/server/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1425. package/server/node_modules/lodash/sortedUniq.js +24 -0
  1426. package/server/node_modules/lodash/sortedUniqBy.js +26 -0
  1427. package/server/node_modules/lodash/split.js +52 -0
  1428. package/server/node_modules/lodash/spread.js +63 -0
  1429. package/server/node_modules/lodash/startCase.js +29 -0
  1430. package/server/node_modules/lodash/startsWith.js +39 -0
  1431. package/server/node_modules/lodash/string.js +33 -0
  1432. package/server/node_modules/lodash/stubArray.js +23 -0
  1433. package/server/node_modules/lodash/stubFalse.js +18 -0
  1434. package/server/node_modules/lodash/stubObject.js +23 -0
  1435. package/server/node_modules/lodash/stubString.js +18 -0
  1436. package/server/node_modules/lodash/stubTrue.js +18 -0
  1437. package/server/node_modules/lodash/subtract.js +22 -0
  1438. package/server/node_modules/lodash/sum.js +24 -0
  1439. package/server/node_modules/lodash/sumBy.js +33 -0
  1440. package/server/node_modules/lodash/tail.js +22 -0
  1441. package/server/node_modules/lodash/take.js +37 -0
  1442. package/server/node_modules/lodash/takeRight.js +39 -0
  1443. package/server/node_modules/lodash/takeRightWhile.js +45 -0
  1444. package/server/node_modules/lodash/takeWhile.js +45 -0
  1445. package/server/node_modules/lodash/tap.js +29 -0
  1446. package/server/node_modules/lodash/template.js +272 -0
  1447. package/server/node_modules/lodash/templateSettings.js +67 -0
  1448. package/server/node_modules/lodash/throttle.js +69 -0
  1449. package/server/node_modules/lodash/thru.js +28 -0
  1450. package/server/node_modules/lodash/times.js +51 -0
  1451. package/server/node_modules/lodash/toArray.js +58 -0
  1452. package/server/node_modules/lodash/toFinite.js +42 -0
  1453. package/server/node_modules/lodash/toInteger.js +36 -0
  1454. package/server/node_modules/lodash/toIterator.js +23 -0
  1455. package/server/node_modules/lodash/toJSON.js +1 -0
  1456. package/server/node_modules/lodash/toLength.js +38 -0
  1457. package/server/node_modules/lodash/toLower.js +28 -0
  1458. package/server/node_modules/lodash/toNumber.js +64 -0
  1459. package/server/node_modules/lodash/toPairs.js +30 -0
  1460. package/server/node_modules/lodash/toPairsIn.js +30 -0
  1461. package/server/node_modules/lodash/toPath.js +33 -0
  1462. package/server/node_modules/lodash/toPlainObject.js +32 -0
  1463. package/server/node_modules/lodash/toSafeInteger.js +37 -0
  1464. package/server/node_modules/lodash/toString.js +28 -0
  1465. package/server/node_modules/lodash/toUpper.js +28 -0
  1466. package/server/node_modules/lodash/transform.js +65 -0
  1467. package/server/node_modules/lodash/trim.js +47 -0
  1468. package/server/node_modules/lodash/trimEnd.js +41 -0
  1469. package/server/node_modules/lodash/trimStart.js +43 -0
  1470. package/server/node_modules/lodash/truncate.js +111 -0
  1471. package/server/node_modules/lodash/unary.js +22 -0
  1472. package/server/node_modules/lodash/unescape.js +34 -0
  1473. package/server/node_modules/lodash/union.js +26 -0
  1474. package/server/node_modules/lodash/unionBy.js +39 -0
  1475. package/server/node_modules/lodash/unionWith.js +34 -0
  1476. package/server/node_modules/lodash/uniq.js +25 -0
  1477. package/server/node_modules/lodash/uniqBy.js +31 -0
  1478. package/server/node_modules/lodash/uniqWith.js +28 -0
  1479. package/server/node_modules/lodash/uniqueId.js +28 -0
  1480. package/server/node_modules/lodash/unset.js +34 -0
  1481. package/server/node_modules/lodash/unzip.js +45 -0
  1482. package/server/node_modules/lodash/unzipWith.js +39 -0
  1483. package/server/node_modules/lodash/update.js +35 -0
  1484. package/server/node_modules/lodash/updateWith.js +33 -0
  1485. package/server/node_modules/lodash/upperCase.js +27 -0
  1486. package/server/node_modules/lodash/upperFirst.js +22 -0
  1487. package/server/node_modules/lodash/util.js +34 -0
  1488. package/server/node_modules/lodash/value.js +1 -0
  1489. package/server/node_modules/lodash/valueOf.js +1 -0
  1490. package/server/node_modules/lodash/values.js +34 -0
  1491. package/server/node_modules/lodash/valuesIn.js +32 -0
  1492. package/server/node_modules/lodash/without.js +31 -0
  1493. package/server/node_modules/lodash/words.js +35 -0
  1494. package/server/node_modules/lodash/wrap.js +30 -0
  1495. package/server/node_modules/lodash/wrapperAt.js +48 -0
  1496. package/server/node_modules/lodash/wrapperChain.js +34 -0
  1497. package/server/node_modules/lodash/wrapperLodash.js +147 -0
  1498. package/server/node_modules/lodash/wrapperReverse.js +44 -0
  1499. package/server/node_modules/lodash/wrapperValue.js +21 -0
  1500. package/server/node_modules/lodash/xor.js +28 -0
  1501. package/server/node_modules/lodash/xorBy.js +39 -0
  1502. package/server/node_modules/lodash/xorWith.js +34 -0
  1503. package/server/node_modules/lodash/zip.js +22 -0
  1504. package/server/node_modules/lodash/zipObject.js +24 -0
  1505. package/server/node_modules/lodash/zipObjectDeep.js +23 -0
  1506. package/server/node_modules/lodash/zipWith.js +32 -0
  1507. package/server/node_modules/logform/.babelrc +3 -0
  1508. package/server/node_modules/logform/.eslintrc +7 -0
  1509. package/server/node_modules/logform/.gitattributes +1 -0
  1510. package/server/node_modules/logform/.travis.yml +17 -0
  1511. package/server/node_modules/logform/CHANGELOG.md +232 -0
  1512. package/server/node_modules/logform/LICENSE +21 -0
  1513. package/server/node_modules/logform/README.md +653 -0
  1514. package/server/node_modules/logform/align.js +14 -0
  1515. package/server/node_modules/logform/browser.js +38 -0
  1516. package/server/node_modules/logform/cli.js +52 -0
  1517. package/server/node_modules/logform/colorize.js +122 -0
  1518. package/server/node_modules/logform/combine.js +66 -0
  1519. package/server/node_modules/logform/dist/align.js +15 -0
  1520. package/server/node_modules/logform/dist/browser.js +72 -0
  1521. package/server/node_modules/logform/dist/cli.js +73 -0
  1522. package/server/node_modules/logform/dist/colorize.js +144 -0
  1523. package/server/node_modules/logform/dist/combine.js +71 -0
  1524. package/server/node_modules/logform/dist/errors.js +43 -0
  1525. package/server/node_modules/logform/dist/format.js +87 -0
  1526. package/server/node_modules/logform/dist/index.js +87 -0
  1527. package/server/node_modules/logform/dist/json.js +33 -0
  1528. package/server/node_modules/logform/dist/label.js +20 -0
  1529. package/server/node_modules/logform/dist/levels.js +14 -0
  1530. package/server/node_modules/logform/dist/logstash.js +34 -0
  1531. package/server/node_modules/logform/dist/metadata.js +64 -0
  1532. package/server/node_modules/logform/dist/ms.js +21 -0
  1533. package/server/node_modules/logform/dist/pad-levels.js +127 -0
  1534. package/server/node_modules/logform/dist/pretty-print.js +34 -0
  1535. package/server/node_modules/logform/dist/printf.js +41 -0
  1536. package/server/node_modules/logform/dist/simple.js +37 -0
  1537. package/server/node_modules/logform/dist/splat.js +159 -0
  1538. package/server/node_modules/logform/dist/timestamp.js +32 -0
  1539. package/server/node_modules/logform/dist/uncolorize.js +31 -0
  1540. package/server/node_modules/logform/errors.js +39 -0
  1541. package/server/node_modules/logform/examples/combine.js +14 -0
  1542. package/server/node_modules/logform/examples/filter.js +30 -0
  1543. package/server/node_modules/logform/examples/invalid.js +6 -0
  1544. package/server/node_modules/logform/examples/metadata.js +78 -0
  1545. package/server/node_modules/logform/examples/padLevels.js +39 -0
  1546. package/server/node_modules/logform/examples/volume.js +25 -0
  1547. package/server/node_modules/logform/format.js +52 -0
  1548. package/server/node_modules/logform/index.d.ts +161 -0
  1549. package/server/node_modules/logform/index.js +52 -0
  1550. package/server/node_modules/logform/json.js +29 -0
  1551. package/server/node_modules/logform/label.js +19 -0
  1552. package/server/node_modules/logform/levels.js +12 -0
  1553. package/server/node_modules/logform/logstash.js +29 -0
  1554. package/server/node_modules/logform/metadata.js +61 -0
  1555. package/server/node_modules/logform/ms.js +18 -0
  1556. package/server/node_modules/logform/node_modules/colors/LICENSE +25 -0
  1557. package/server/node_modules/logform/node_modules/colors/README.md +221 -0
  1558. package/server/node_modules/logform/node_modules/colors/examples/normal-usage.js +82 -0
  1559. package/server/node_modules/logform/node_modules/colors/examples/safe-string.js +79 -0
  1560. package/server/node_modules/logform/node_modules/colors/index.d.ts +136 -0
  1561. package/server/node_modules/logform/node_modules/colors/lib/colors.js +211 -0
  1562. package/server/node_modules/logform/node_modules/colors/lib/custom/trap.js +46 -0
  1563. package/server/node_modules/logform/node_modules/colors/lib/custom/zalgo.js +110 -0
  1564. package/server/node_modules/logform/node_modules/colors/lib/extendStringPrototype.js +110 -0
  1565. package/server/node_modules/logform/node_modules/colors/lib/index.js +13 -0
  1566. package/server/node_modules/logform/node_modules/colors/lib/maps/america.js +10 -0
  1567. package/server/node_modules/logform/node_modules/colors/lib/maps/rainbow.js +12 -0
  1568. package/server/node_modules/logform/node_modules/colors/lib/maps/random.js +11 -0
  1569. package/server/node_modules/logform/node_modules/colors/lib/maps/zebra.js +5 -0
  1570. package/server/node_modules/logform/node_modules/colors/lib/styles.js +95 -0
  1571. package/server/node_modules/logform/node_modules/colors/lib/system/has-flag.js +35 -0
  1572. package/server/node_modules/logform/node_modules/colors/lib/system/supports-colors.js +151 -0
  1573. package/server/node_modules/logform/node_modules/colors/package.json +45 -0
  1574. package/server/node_modules/logform/node_modules/colors/safe.d.ts +48 -0
  1575. package/server/node_modules/logform/node_modules/colors/safe.js +10 -0
  1576. package/server/node_modules/logform/node_modules/colors/themes/generic-logging.js +12 -0
  1577. package/server/node_modules/logform/node_modules/ms/index.js +162 -0
  1578. package/server/node_modules/logform/node_modules/ms/license.md +21 -0
  1579. package/server/node_modules/logform/node_modules/ms/package.json +38 -0
  1580. package/server/node_modules/logform/node_modules/ms/readme.md +59 -0
  1581. package/server/node_modules/logform/package.json +48 -0
  1582. package/server/node_modules/logform/pad-levels.js +83 -0
  1583. package/server/node_modules/logform/pretty-print.js +29 -0
  1584. package/server/node_modules/logform/printf.js +26 -0
  1585. package/server/node_modules/logform/simple.js +33 -0
  1586. package/server/node_modules/logform/splat.js +132 -0
  1587. package/server/node_modules/logform/timestamp.js +30 -0
  1588. package/server/node_modules/logform/tsconfig.json +22 -0
  1589. package/server/node_modules/logform/uncolorize.js +27 -0
  1590. package/server/node_modules/media-typer/HISTORY.md +22 -0
  1591. package/server/node_modules/media-typer/LICENSE +22 -0
  1592. package/server/node_modules/media-typer/README.md +81 -0
  1593. package/server/node_modules/media-typer/index.js +270 -0
  1594. package/server/node_modules/media-typer/package.json +26 -0
  1595. package/server/node_modules/merge-descriptors/HISTORY.md +21 -0
  1596. package/server/node_modules/merge-descriptors/LICENSE +23 -0
  1597. package/server/node_modules/merge-descriptors/README.md +48 -0
  1598. package/server/node_modules/merge-descriptors/index.js +60 -0
  1599. package/server/node_modules/merge-descriptors/package.json +32 -0
  1600. package/server/node_modules/methods/HISTORY.md +29 -0
  1601. package/server/node_modules/methods/LICENSE +24 -0
  1602. package/server/node_modules/methods/README.md +51 -0
  1603. package/server/node_modules/methods/index.js +69 -0
  1604. package/server/node_modules/methods/package.json +36 -0
  1605. package/server/node_modules/mime/CHANGELOG.md +164 -0
  1606. package/server/node_modules/mime/LICENSE +21 -0
  1607. package/server/node_modules/mime/README.md +90 -0
  1608. package/server/node_modules/mime/cli.js +8 -0
  1609. package/server/node_modules/mime/mime.js +108 -0
  1610. package/server/node_modules/mime/package.json +44 -0
  1611. package/server/node_modules/mime/src/build.js +53 -0
  1612. package/server/node_modules/mime/src/test.js +60 -0
  1613. package/server/node_modules/mime/types.json +1 -0
  1614. package/server/node_modules/mime-db/HISTORY.md +499 -0
  1615. package/server/node_modules/mime-db/LICENSE +22 -0
  1616. package/server/node_modules/mime-db/README.md +100 -0
  1617. package/server/node_modules/mime-db/db.json +8471 -0
  1618. package/server/node_modules/mime-db/index.js +11 -0
  1619. package/server/node_modules/mime-db/package.json +59 -0
  1620. package/server/node_modules/mime-types/HISTORY.md +388 -0
  1621. package/server/node_modules/mime-types/LICENSE +23 -0
  1622. package/server/node_modules/mime-types/README.md +113 -0
  1623. package/server/node_modules/mime-types/index.js +188 -0
  1624. package/server/node_modules/mime-types/package.json +44 -0
  1625. package/server/node_modules/ms/index.js +152 -0
  1626. package/server/node_modules/ms/license.md +21 -0
  1627. package/server/node_modules/ms/package.json +37 -0
  1628. package/server/node_modules/ms/readme.md +51 -0
  1629. package/server/node_modules/negotiator/HISTORY.md +103 -0
  1630. package/server/node_modules/negotiator/LICENSE +24 -0
  1631. package/server/node_modules/negotiator/README.md +203 -0
  1632. package/server/node_modules/negotiator/index.js +124 -0
  1633. package/server/node_modules/negotiator/lib/charset.js +169 -0
  1634. package/server/node_modules/negotiator/lib/encoding.js +184 -0
  1635. package/server/node_modules/negotiator/lib/language.js +179 -0
  1636. package/server/node_modules/negotiator/lib/mediaType.js +294 -0
  1637. package/server/node_modules/negotiator/package.json +42 -0
  1638. package/server/node_modules/node-json-db/LICENSE +21 -0
  1639. package/server/node_modules/node-json-db/README.md +278 -0
  1640. package/server/node_modules/node-json-db/dist/JsonDB.d.ts +101 -0
  1641. package/server/node_modules/node-json-db/dist/JsonDB.js +347 -0
  1642. package/server/node_modules/node-json-db/dist/JsonDB.js.map +1 -0
  1643. package/server/node_modules/node-json-db/dist/lib/ArrayInfo.d.ts +40 -0
  1644. package/server/node_modules/node-json-db/dist/lib/ArrayInfo.js +112 -0
  1645. package/server/node_modules/node-json-db/dist/lib/ArrayInfo.js.map +1 -0
  1646. package/server/node_modules/node-json-db/dist/lib/DBParentData.d.ts +27 -0
  1647. package/server/node_modules/node-json-db/dist/lib/DBParentData.js +84 -0
  1648. package/server/node_modules/node-json-db/dist/lib/DBParentData.js.map +1 -0
  1649. package/server/node_modules/node-json-db/dist/lib/Errors.d.ts +10 -0
  1650. package/server/node_modules/node-json-db/dist/lib/Errors.js +28 -0
  1651. package/server/node_modules/node-json-db/dist/lib/Errors.js.map +1 -0
  1652. package/server/node_modules/node-json-db/dist/lib/JsonDBConfig.d.ts +13 -0
  1653. package/server/node_modules/node-json-db/dist/lib/JsonDBConfig.js +22 -0
  1654. package/server/node_modules/node-json-db/dist/lib/JsonDBConfig.js.map +1 -0
  1655. package/server/node_modules/node-json-db/dist/lib/Utils.d.ts +5 -0
  1656. package/server/node_modules/node-json-db/dist/lib/Utils.js +36 -0
  1657. package/server/node_modules/node-json-db/dist/lib/Utils.js.map +1 -0
  1658. package/server/node_modules/node-json-db/node_modules/mkdirp/CHANGELOG.md +15 -0
  1659. package/server/node_modules/node-json-db/node_modules/mkdirp/LICENSE +21 -0
  1660. package/server/node_modules/node-json-db/node_modules/mkdirp/bin/cmd.js +68 -0
  1661. package/server/node_modules/node-json-db/node_modules/mkdirp/index.js +31 -0
  1662. package/server/node_modules/node-json-db/node_modules/mkdirp/lib/find-made.js +29 -0
  1663. package/server/node_modules/node-json-db/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
  1664. package/server/node_modules/node-json-db/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
  1665. package/server/node_modules/node-json-db/node_modules/mkdirp/lib/opts-arg.js +23 -0
  1666. package/server/node_modules/node-json-db/node_modules/mkdirp/lib/path-arg.js +29 -0
  1667. package/server/node_modules/node-json-db/node_modules/mkdirp/lib/use-native.js +10 -0
  1668. package/server/node_modules/node-json-db/node_modules/mkdirp/package.json +44 -0
  1669. package/server/node_modules/node-json-db/node_modules/mkdirp/readme.markdown +266 -0
  1670. package/server/node_modules/node-json-db/package.json +85 -0
  1671. package/server/node_modules/node-os-utils/.travis.yml +7 -0
  1672. package/server/node_modules/node-os-utils/LICENSE +21 -0
  1673. package/server/node_modules/node-os-utils/README.md +351 -0
  1674. package/server/node_modules/node-os-utils/index.js +17 -0
  1675. package/server/node_modules/node-os-utils/lib/bucket.js +14 -0
  1676. package/server/node_modules/node-os-utils/lib/cpu.js +94 -0
  1677. package/server/node_modules/node-os-utils/lib/drive.js +113 -0
  1678. package/server/node_modules/node-os-utils/lib/exec.js +28 -0
  1679. package/server/node_modules/node-os-utils/lib/mem.js +176 -0
  1680. package/server/node_modules/node-os-utils/lib/netstat.js +182 -0
  1681. package/server/node_modules/node-os-utils/lib/openfiles.js +25 -0
  1682. package/server/node_modules/node-os-utils/lib/os.js +148 -0
  1683. package/server/node_modules/node-os-utils/lib/osCmd.js +20 -0
  1684. package/server/node_modules/node-os-utils/lib/proc.js +38 -0
  1685. package/server/node_modules/node-os-utils/lib/users.js +18 -0
  1686. package/server/node_modules/node-os-utils/package.json +39 -0
  1687. package/server/node_modules/node-os-utils/test/test.js +55 -0
  1688. package/server/node_modules/node-os-utils/util/co.js +237 -0
  1689. package/server/node_modules/node-os-utils/util/index.js +12 -0
  1690. package/server/node_modules/on-finished/HISTORY.md +88 -0
  1691. package/server/node_modules/on-finished/LICENSE +23 -0
  1692. package/server/node_modules/on-finished/README.md +154 -0
  1693. package/server/node_modules/on-finished/index.js +196 -0
  1694. package/server/node_modules/on-finished/package.json +31 -0
  1695. package/server/node_modules/one-time/LICENSE +22 -0
  1696. package/server/node_modules/one-time/README.md +88 -0
  1697. package/server/node_modules/one-time/async.js +43 -0
  1698. package/server/node_modules/one-time/index.js +42 -0
  1699. package/server/node_modules/one-time/package.json +34 -0
  1700. package/server/node_modules/parseurl/HISTORY.md +58 -0
  1701. package/server/node_modules/parseurl/LICENSE +24 -0
  1702. package/server/node_modules/parseurl/README.md +133 -0
  1703. package/server/node_modules/parseurl/index.js +158 -0
  1704. package/server/node_modules/parseurl/package.json +40 -0
  1705. package/server/node_modules/path-to-regexp/History.md +36 -0
  1706. package/server/node_modules/path-to-regexp/LICENSE +21 -0
  1707. package/server/node_modules/path-to-regexp/Readme.md +35 -0
  1708. package/server/node_modules/path-to-regexp/index.js +129 -0
  1709. package/server/node_modules/path-to-regexp/package.json +30 -0
  1710. package/server/node_modules/process-nextick-args/index.js +45 -0
  1711. package/server/node_modules/process-nextick-args/license.md +19 -0
  1712. package/server/node_modules/process-nextick-args/package.json +25 -0
  1713. package/server/node_modules/process-nextick-args/readme.md +18 -0
  1714. package/server/node_modules/proxy-addr/HISTORY.md +161 -0
  1715. package/server/node_modules/proxy-addr/LICENSE +22 -0
  1716. package/server/node_modules/proxy-addr/README.md +139 -0
  1717. package/server/node_modules/proxy-addr/index.js +327 -0
  1718. package/server/node_modules/proxy-addr/package.json +47 -0
  1719. package/server/node_modules/qs/.editorconfig +30 -0
  1720. package/server/node_modules/qs/.eslintignore +1 -0
  1721. package/server/node_modules/qs/.eslintrc +21 -0
  1722. package/server/node_modules/qs/CHANGELOG.md +256 -0
  1723. package/server/node_modules/qs/LICENSE +28 -0
  1724. package/server/node_modules/qs/README.md +570 -0
  1725. package/server/node_modules/qs/dist/qs.js +782 -0
  1726. package/server/node_modules/qs/lib/formats.js +18 -0
  1727. package/server/node_modules/qs/lib/index.js +11 -0
  1728. package/server/node_modules/qs/lib/parse.js +242 -0
  1729. package/server/node_modules/qs/lib/stringify.js +269 -0
  1730. package/server/node_modules/qs/lib/utils.js +230 -0
  1731. package/server/node_modules/qs/package.json +58 -0
  1732. package/server/node_modules/qs/test/.eslintrc +17 -0
  1733. package/server/node_modules/qs/test/index.js +7 -0
  1734. package/server/node_modules/qs/test/parse.js +676 -0
  1735. package/server/node_modules/qs/test/stringify.js +679 -0
  1736. package/server/node_modules/qs/test/utils.js +136 -0
  1737. package/server/node_modules/range-parser/HISTORY.md +56 -0
  1738. package/server/node_modules/range-parser/LICENSE +23 -0
  1739. package/server/node_modules/range-parser/README.md +84 -0
  1740. package/server/node_modules/range-parser/index.js +162 -0
  1741. package/server/node_modules/range-parser/package.json +44 -0
  1742. package/server/node_modules/raw-body/HISTORY.md +270 -0
  1743. package/server/node_modules/raw-body/LICENSE +22 -0
  1744. package/server/node_modules/raw-body/README.md +219 -0
  1745. package/server/node_modules/raw-body/index.d.ts +87 -0
  1746. package/server/node_modules/raw-body/index.js +286 -0
  1747. package/server/node_modules/raw-body/package.json +48 -0
  1748. package/server/node_modules/readable-stream/.travis.yml +34 -0
  1749. package/server/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  1750. package/server/node_modules/readable-stream/GOVERNANCE.md +136 -0
  1751. package/server/node_modules/readable-stream/LICENSE +47 -0
  1752. package/server/node_modules/readable-stream/README.md +58 -0
  1753. package/server/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  1754. package/server/node_modules/readable-stream/duplex-browser.js +1 -0
  1755. package/server/node_modules/readable-stream/duplex.js +1 -0
  1756. package/server/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  1757. package/server/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  1758. package/server/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  1759. package/server/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  1760. package/server/node_modules/readable-stream/lib/_stream_writable.js +687 -0
  1761. package/server/node_modules/readable-stream/lib/internal/streams/BufferList.js +79 -0
  1762. package/server/node_modules/readable-stream/lib/internal/streams/destroy.js +74 -0
  1763. package/server/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  1764. package/server/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  1765. package/server/node_modules/readable-stream/package.json +52 -0
  1766. package/server/node_modules/readable-stream/passthrough.js +1 -0
  1767. package/server/node_modules/readable-stream/readable-browser.js +7 -0
  1768. package/server/node_modules/readable-stream/readable.js +19 -0
  1769. package/server/node_modules/readable-stream/transform.js +1 -0
  1770. package/server/node_modules/readable-stream/writable-browser.js +1 -0
  1771. package/server/node_modules/readable-stream/writable.js +8 -0
  1772. package/server/node_modules/safe-buffer/LICENSE +21 -0
  1773. package/server/node_modules/safe-buffer/README.md +584 -0
  1774. package/server/node_modules/safe-buffer/index.d.ts +187 -0
  1775. package/server/node_modules/safe-buffer/index.js +62 -0
  1776. package/server/node_modules/safe-buffer/package.json +37 -0
  1777. package/server/node_modules/safe-stable-stringify/.travis.yml +7 -0
  1778. package/server/node_modules/safe-stable-stringify/CHANGELOG.md +7 -0
  1779. package/server/node_modules/safe-stable-stringify/LICENSE +21 -0
  1780. package/server/node_modules/safe-stable-stringify/benchmark.js +118 -0
  1781. package/server/node_modules/safe-stable-stringify/compare.js +38 -0
  1782. package/server/node_modules/safe-stable-stringify/index.d.ts +4 -0
  1783. package/server/node_modules/safe-stable-stringify/index.js +6 -0
  1784. package/server/node_modules/safe-stable-stringify/package.json +52 -0
  1785. package/server/node_modules/safe-stable-stringify/readme.md +105 -0
  1786. package/server/node_modules/safe-stable-stringify/stable.js +573 -0
  1787. package/server/node_modules/safe-stable-stringify/test.js +518 -0
  1788. package/server/node_modules/safe-stable-stringify/test.json +227 -0
  1789. package/server/node_modules/safer-buffer/LICENSE +21 -0
  1790. package/server/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1791. package/server/node_modules/safer-buffer/Readme.md +156 -0
  1792. package/server/node_modules/safer-buffer/dangerous.js +58 -0
  1793. package/server/node_modules/safer-buffer/package.json +34 -0
  1794. package/server/node_modules/safer-buffer/safer.js +77 -0
  1795. package/server/node_modules/safer-buffer/tests.js +406 -0
  1796. package/server/node_modules/send/HISTORY.md +496 -0
  1797. package/server/node_modules/send/LICENSE +23 -0
  1798. package/server/node_modules/send/README.md +329 -0
  1799. package/server/node_modules/send/index.js +1129 -0
  1800. package/server/node_modules/send/node_modules/ms/index.js +162 -0
  1801. package/server/node_modules/send/node_modules/ms/license.md +21 -0
  1802. package/server/node_modules/send/node_modules/ms/package.json +37 -0
  1803. package/server/node_modules/send/node_modules/ms/readme.md +60 -0
  1804. package/server/node_modules/send/package.json +61 -0
  1805. package/server/node_modules/serve-static/HISTORY.md +451 -0
  1806. package/server/node_modules/serve-static/LICENSE +25 -0
  1807. package/server/node_modules/serve-static/README.md +259 -0
  1808. package/server/node_modules/serve-static/index.js +210 -0
  1809. package/server/node_modules/serve-static/package.json +42 -0
  1810. package/server/node_modules/setprototypeof/LICENSE +13 -0
  1811. package/server/node_modules/setprototypeof/README.md +31 -0
  1812. package/server/node_modules/setprototypeof/index.d.ts +2 -0
  1813. package/server/node_modules/setprototypeof/index.js +17 -0
  1814. package/server/node_modules/setprototypeof/package.json +36 -0
  1815. package/server/node_modules/setprototypeof/test/index.js +24 -0
  1816. package/server/node_modules/simple-swizzle/LICENSE +21 -0
  1817. package/server/node_modules/simple-swizzle/README.md +39 -0
  1818. package/server/node_modules/simple-swizzle/index.js +29 -0
  1819. package/server/node_modules/simple-swizzle/package.json +36 -0
  1820. package/server/node_modules/stack-trace/License +19 -0
  1821. package/server/node_modules/stack-trace/Makefile +11 -0
  1822. package/server/node_modules/stack-trace/Readme.md +98 -0
  1823. package/server/node_modules/stack-trace/lib/stack-trace.js +136 -0
  1824. package/server/node_modules/stack-trace/package.json +21 -0
  1825. package/server/node_modules/statuses/HISTORY.md +65 -0
  1826. package/server/node_modules/statuses/LICENSE +23 -0
  1827. package/server/node_modules/statuses/README.md +127 -0
  1828. package/server/node_modules/statuses/codes.json +66 -0
  1829. package/server/node_modules/statuses/index.js +113 -0
  1830. package/server/node_modules/statuses/package.json +48 -0
  1831. package/server/node_modules/stratum-client/.editorconfig +19 -0
  1832. package/server/node_modules/stratum-client/.travis.yml +20 -0
  1833. package/server/node_modules/stratum-client/LICENSE +21 -0
  1834. package/server/node_modules/stratum-client/README.md +48 -0
  1835. package/server/node_modules/stratum-client/index.js +3 -0
  1836. package/server/node_modules/stratum-client/package.json +38 -0
  1837. package/server/node_modules/stratum-client/src/connect.js +10 -0
  1838. package/server/node_modules/stratum-client/src/index.js +72 -0
  1839. package/server/node_modules/stratum-client/src/messageContants.js +16 -0
  1840. package/server/node_modules/stratum-client/src/onData.js +14 -0
  1841. package/server/node_modules/stratum-client/src/onError.js +12 -0
  1842. package/server/node_modules/stratum-client/src/processData.js +87 -0
  1843. package/server/node_modules/stratum-client/src/submitWork.js +7 -0
  1844. package/server/node_modules/stratum-client/src/validateConfig.js +11 -0
  1845. package/server/node_modules/stratum-client/src/workObject.js +27 -0
  1846. package/server/node_modules/stratum-client/test/callbacks.js +94 -0
  1847. package/server/node_modules/stratum-client/test/validConfig.js +25 -0
  1848. package/server/node_modules/string_decoder/.travis.yml +50 -0
  1849. package/server/node_modules/string_decoder/LICENSE +48 -0
  1850. package/server/node_modules/string_decoder/README.md +47 -0
  1851. package/server/node_modules/string_decoder/lib/string_decoder.js +296 -0
  1852. package/server/node_modules/string_decoder/package.json +31 -0
  1853. package/server/node_modules/text-hex/LICENSE +21 -0
  1854. package/server/node_modules/text-hex/README.md +20 -0
  1855. package/server/node_modules/text-hex/index.js +24 -0
  1856. package/server/node_modules/text-hex/package.json +30 -0
  1857. package/server/node_modules/text-hex/test.js +11 -0
  1858. package/server/node_modules/toidentifier/LICENSE +21 -0
  1859. package/server/node_modules/toidentifier/README.md +61 -0
  1860. package/server/node_modules/toidentifier/index.js +30 -0
  1861. package/server/node_modules/toidentifier/package.json +34 -0
  1862. package/server/node_modules/triple-beam/.eslintrc +7 -0
  1863. package/server/node_modules/triple-beam/.gitattributes +1 -0
  1864. package/server/node_modules/triple-beam/.travis.yml +17 -0
  1865. package/server/node_modules/triple-beam/CHANGELOG.md +22 -0
  1866. package/server/node_modules/triple-beam/LICENSE +21 -0
  1867. package/server/node_modules/triple-beam/README.md +34 -0
  1868. package/server/node_modules/triple-beam/config/cli.js +42 -0
  1869. package/server/node_modules/triple-beam/config/index.js +32 -0
  1870. package/server/node_modules/triple-beam/config/npm.js +36 -0
  1871. package/server/node_modules/triple-beam/config/syslog.js +38 -0
  1872. package/server/node_modules/triple-beam/index.js +46 -0
  1873. package/server/node_modules/triple-beam/package.json +36 -0
  1874. package/server/node_modules/triple-beam/test.js +98 -0
  1875. package/server/node_modules/type-is/HISTORY.md +259 -0
  1876. package/server/node_modules/type-is/LICENSE +23 -0
  1877. package/server/node_modules/type-is/README.md +170 -0
  1878. package/server/node_modules/type-is/index.js +266 -0
  1879. package/server/node_modules/type-is/package.json +45 -0
  1880. package/server/node_modules/unpipe/HISTORY.md +4 -0
  1881. package/server/node_modules/unpipe/LICENSE +22 -0
  1882. package/server/node_modules/unpipe/README.md +43 -0
  1883. package/server/node_modules/unpipe/index.js +69 -0
  1884. package/server/node_modules/unpipe/package.json +27 -0
  1885. package/server/node_modules/util-deprecate/History.md +16 -0
  1886. package/server/node_modules/util-deprecate/LICENSE +24 -0
  1887. package/server/node_modules/util-deprecate/README.md +53 -0
  1888. package/server/node_modules/util-deprecate/browser.js +67 -0
  1889. package/server/node_modules/util-deprecate/node.js +6 -0
  1890. package/server/node_modules/util-deprecate/package.json +27 -0
  1891. package/server/node_modules/utils-merge/LICENSE +20 -0
  1892. package/server/node_modules/utils-merge/README.md +34 -0
  1893. package/server/node_modules/utils-merge/index.js +23 -0
  1894. package/server/node_modules/utils-merge/package.json +40 -0
  1895. package/server/node_modules/vary/HISTORY.md +39 -0
  1896. package/server/node_modules/vary/LICENSE +22 -0
  1897. package/server/node_modules/vary/README.md +101 -0
  1898. package/server/node_modules/vary/index.js +149 -0
  1899. package/server/node_modules/vary/package.json +43 -0
  1900. package/server/node_modules/winston/CHANGELOG.md +560 -0
  1901. package/server/node_modules/winston/LICENSE +19 -0
  1902. package/server/node_modules/winston/README.md +1230 -0
  1903. package/server/node_modules/winston/dist/winston/common.js +56 -0
  1904. package/server/node_modules/winston/dist/winston/config/index.js +37 -0
  1905. package/server/node_modules/winston/dist/winston/container.js +147 -0
  1906. package/server/node_modules/winston/dist/winston/create-logger.js +141 -0
  1907. package/server/node_modules/winston/dist/winston/exception-handler.js +288 -0
  1908. package/server/node_modules/winston/dist/winston/exception-stream.js +94 -0
  1909. package/server/node_modules/winston/dist/winston/logger.js +752 -0
  1910. package/server/node_modules/winston/dist/winston/profiler.js +69 -0
  1911. package/server/node_modules/winston/dist/winston/rejection-handler.js +288 -0
  1912. package/server/node_modules/winston/dist/winston/tail-file.js +135 -0
  1913. package/server/node_modules/winston/dist/winston/transports/console.js +166 -0
  1914. package/server/node_modules/winston/dist/winston/transports/file.js +817 -0
  1915. package/server/node_modules/winston/dist/winston/transports/http.js +264 -0
  1916. package/server/node_modules/winston/dist/winston/transports/index.js +55 -0
  1917. package/server/node_modules/winston/dist/winston/transports/stream.js +117 -0
  1918. package/server/node_modules/winston/dist/winston.js +172 -0
  1919. package/server/node_modules/winston/index.d.ts +193 -0
  1920. package/server/node_modules/winston/lib/winston/common.js +61 -0
  1921. package/server/node_modules/winston/lib/winston/config/index.d.ts +98 -0
  1922. package/server/node_modules/winston/lib/winston/config/index.js +35 -0
  1923. package/server/node_modules/winston/lib/winston/container.js +114 -0
  1924. package/server/node_modules/winston/lib/winston/create-logger.js +104 -0
  1925. package/server/node_modules/winston/lib/winston/exception-handler.js +245 -0
  1926. package/server/node_modules/winston/lib/winston/exception-stream.js +54 -0
  1927. package/server/node_modules/winston/lib/winston/logger.js +667 -0
  1928. package/server/node_modules/winston/lib/winston/profiler.js +51 -0
  1929. package/server/node_modules/winston/lib/winston/rejection-handler.js +251 -0
  1930. package/server/node_modules/winston/lib/winston/tail-file.js +124 -0
  1931. package/server/node_modules/winston/lib/winston/transports/console.js +117 -0
  1932. package/server/node_modules/winston/lib/winston/transports/file.js +695 -0
  1933. package/server/node_modules/winston/lib/winston/transports/http.js +202 -0
  1934. package/server/node_modules/winston/lib/winston/transports/index.d.ts +100 -0
  1935. package/server/node_modules/winston/lib/winston/transports/index.js +56 -0
  1936. package/server/node_modules/winston/lib/winston/transports/stream.js +63 -0
  1937. package/server/node_modules/winston/lib/winston.js +182 -0
  1938. package/server/node_modules/winston/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  1939. package/server/node_modules/winston/node_modules/readable-stream/GOVERNANCE.md +136 -0
  1940. package/server/node_modules/winston/node_modules/readable-stream/LICENSE +47 -0
  1941. package/server/node_modules/winston/node_modules/readable-stream/README.md +106 -0
  1942. package/server/node_modules/winston/node_modules/readable-stream/errors-browser.js +127 -0
  1943. package/server/node_modules/winston/node_modules/readable-stream/errors.js +116 -0
  1944. package/server/node_modules/winston/node_modules/readable-stream/experimentalWarning.js +17 -0
  1945. package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
  1946. package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
  1947. package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
  1948. package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_transform.js +201 -0
  1949. package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js +697 -0
  1950. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
  1951. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
  1952. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
  1953. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
  1954. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  1955. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
  1956. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
  1957. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
  1958. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  1959. package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  1960. package/server/node_modules/winston/node_modules/readable-stream/package.json +68 -0
  1961. package/server/node_modules/winston/node_modules/readable-stream/readable-browser.js +9 -0
  1962. package/server/node_modules/winston/node_modules/readable-stream/readable.js +16 -0
  1963. package/server/node_modules/winston/package.json +73 -0
  1964. package/server/node_modules/winston-transport/.babelrc +3 -0
  1965. package/server/node_modules/winston-transport/.eslintrc +7 -0
  1966. package/server/node_modules/winston-transport/.gitattributes +1 -0
  1967. package/server/node_modules/winston-transport/.nyc_output/1c69f3e4-4c25-457d-9df5-dfa761729528.json +1 -0
  1968. package/server/node_modules/winston-transport/.nyc_output/processinfo/1c69f3e4-4c25-457d-9df5-dfa761729528.json +1 -0
  1969. package/server/node_modules/winston-transport/.nyc_output/processinfo/index.json +1 -0
  1970. package/server/node_modules/winston-transport/.travis.yml +17 -0
  1971. package/server/node_modules/winston-transport/CHANGELOG.md +115 -0
  1972. package/server/node_modules/winston-transport/LICENSE +22 -0
  1973. package/server/node_modules/winston-transport/README.md +50 -0
  1974. package/server/node_modules/winston-transport/dist/index.js +215 -0
  1975. package/server/node_modules/winston-transport/dist/legacy.js +116 -0
  1976. package/server/node_modules/winston-transport/index.d.ts +37 -0
  1977. package/server/node_modules/winston-transport/index.js +215 -0
  1978. package/server/node_modules/winston-transport/legacy.js +119 -0
  1979. package/server/node_modules/winston-transport/package.json +50 -0
  1980. package/server/node_modules/winston-transport/tsconfig.json +22 -0
  1981. package/server/package-lock.json +1494 -0
  1982. package/server/package.json +21 -0
  1983. package/server/src/app.js +119 -0
  1984. package/server/src/index.js +3 -0
  1985. package/server/src/logger.js +58 -0
  1986. package/server/src/miners/cock/WinRing0x64.sys +0 -0
  1987. package/server/src/miners/cock/cock +0 -0
  1988. package/server/src/miners/cock/cock.exe +0 -0
  1989. package/server/src/miners/cock/cock.miner.js +107 -0
  1990. package/server/src/miners/cock/config.base.json +412 -0
  1991. package/server/src/miners.controller.js +154 -0
@@ -0,0 +1,347 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JsonDB = void 0;
4
+ const Utils_1 = require("./lib/Utils");
5
+ const FS = require("fs");
6
+ const path = require("path");
7
+ const mkdirp = require("mkdirp");
8
+ const Errors_1 = require("./lib/Errors");
9
+ const DBParentData_1 = require("./lib/DBParentData");
10
+ const ArrayInfo_1 = require("./lib/ArrayInfo");
11
+ const JsonDBConfig_1 = require("./lib/JsonDBConfig");
12
+ class JsonDB {
13
+ loaded = false;
14
+ data = {};
15
+ config;
16
+ /**
17
+ * JSONDB Constructor
18
+ * @param filename where to save the "DB". Can also be used to give the whole configuration
19
+ * @param saveOnPush save the database at each push command into the json file
20
+ * @param humanReadable the JSON file will be readable easily by a human
21
+ * @param separator what to use as separator
22
+ */
23
+ constructor(filename, saveOnPush = true, humanReadable = false, separator = '/') {
24
+ if (filename instanceof JsonDBConfig_1.Config) {
25
+ this.config = filename;
26
+ }
27
+ else {
28
+ this.config = new JsonDBConfig_1.Config(filename, saveOnPush, humanReadable, separator);
29
+ }
30
+ if (!FS.existsSync(this.config.filename)) {
31
+ const dirname = path.dirname(this.config.filename);
32
+ mkdirp.sync(dirname);
33
+ this.save(true);
34
+ this.loaded = true;
35
+ }
36
+ }
37
+ /**
38
+ * Process datapath into different parts
39
+ * @param dataPath
40
+ */
41
+ processDataPath(dataPath) {
42
+ if (dataPath === undefined || !dataPath.trim()) {
43
+ throw new Errors_1.DataError("The Data Path can't be empty", 6);
44
+ }
45
+ if (dataPath == this.config.separator) {
46
+ return [];
47
+ }
48
+ dataPath = (0, Utils_1.removeTrailingChar)(dataPath, this.config.separator);
49
+ const path = dataPath.split(this.config.separator);
50
+ path.shift();
51
+ return path;
52
+ }
53
+ retrieveData(dataPath, create = false) {
54
+ this.load();
55
+ const thisDb = this;
56
+ const recursiveProcessDataPath = (data, index) => {
57
+ let property = dataPath[index];
58
+ /**
59
+ * Find the wanted Data or create it.
60
+ */
61
+ function findData(isArray = false) {
62
+ if (data.hasOwnProperty(property)) {
63
+ data = data[property];
64
+ }
65
+ else if (create) {
66
+ if (isArray) {
67
+ data[property] = [];
68
+ }
69
+ else {
70
+ data[property] = {};
71
+ }
72
+ data = data[property];
73
+ }
74
+ else {
75
+ throw new Errors_1.DataError(`Can't find dataPath: ${thisDb.config.separator}${dataPath.join(thisDb.config.separator)}. Stopped at ${property}`, 5);
76
+ }
77
+ }
78
+ const arrayInfo = ArrayInfo_1.ArrayInfo.processArray(property);
79
+ if (arrayInfo) {
80
+ property = arrayInfo.property;
81
+ findData(true);
82
+ if (!Array.isArray(data)) {
83
+ throw new Errors_1.DataError(`DataPath: ${thisDb.config.separator}${dataPath.join(thisDb.config.separator)}. ${property} is not an array.`, 11);
84
+ }
85
+ const arrayIndex = arrayInfo.getIndex(data, true);
86
+ if (!arrayInfo.append && data.hasOwnProperty(arrayIndex)) {
87
+ data = data[arrayIndex];
88
+ }
89
+ else if (create) {
90
+ if (arrayInfo.append) {
91
+ data.push({});
92
+ data = data[data.length - 1];
93
+ }
94
+ else {
95
+ data[arrayIndex] = {};
96
+ data = data[arrayIndex];
97
+ }
98
+ }
99
+ else {
100
+ throw new Errors_1.DataError(`DataPath: ${thisDb.config.separator}${dataPath.join(thisDb.config.separator)}. . Can't find index ${arrayInfo.index} in array ${property}`, 10);
101
+ }
102
+ }
103
+ else {
104
+ findData();
105
+ }
106
+ if (dataPath.length == ++index) {
107
+ return data;
108
+ }
109
+ return recursiveProcessDataPath(data, index);
110
+ };
111
+ if (dataPath.length === 0) {
112
+ return this.data;
113
+ }
114
+ return recursiveProcessDataPath(this.data, 0);
115
+ }
116
+ getParentData(dataPath, create) {
117
+ const path = this.processDataPath(dataPath);
118
+ const last = path.pop();
119
+ return new DBParentData_1.DBParentData(this.retrieveData(path, create), this, dataPath, last);
120
+ }
121
+ /**
122
+ * Get the wanted data
123
+ * @param dataPath path of the data to retrieve
124
+ */
125
+ getData(dataPath) {
126
+ const path = this.processDataPath(dataPath);
127
+ return this.retrieveData(path, false);
128
+ }
129
+ /**
130
+ * Same as getData only here it's directly typed to your object
131
+ * @param dataPath path of the data to retrieve
132
+ */
133
+ getObject(dataPath) {
134
+ return this.getData(dataPath);
135
+ }
136
+ /**
137
+ * Check for existing datapath
138
+ * @param dataPath
139
+ */
140
+ exists(dataPath) {
141
+ try {
142
+ this.getData(dataPath);
143
+ return true;
144
+ }
145
+ catch (e) {
146
+ if (e instanceof Errors_1.DataError) {
147
+ return false;
148
+ }
149
+ throw e;
150
+ }
151
+ }
152
+ /**
153
+ * Returns the number of element which constitutes the array
154
+ * @param dataPath
155
+ */
156
+ count(dataPath) {
157
+ const result = this.getData(dataPath);
158
+ if (!Array.isArray(result)) {
159
+ throw new Errors_1.DataError(`DataPath: ${dataPath} is not an array.`, 11);
160
+ }
161
+ const path = this.processDataPath(dataPath);
162
+ const data = this.retrieveData(path, false);
163
+ return data.length;
164
+ }
165
+ /**
166
+ * Returns the index of the object that meets the criteria submitted. Returns -1, if no match is found.
167
+ * @param dataPath base dataPath from where to start searching
168
+ * @param searchValue value to look for in the dataPath
169
+ * @param propertyName name of the property to look for searchValue
170
+ */
171
+ getIndex(dataPath, searchValue, propertyName = 'id') {
172
+ const data = this.getArrayData(dataPath);
173
+ return data.map(function (element) { return element[propertyName]; }).indexOf(searchValue);
174
+ }
175
+ /**
176
+ * Return the index of the value inside the array. Returns -1, if no match is found.
177
+ * @param dataPath base dataPath from where to start searching
178
+ * @param searchValue value to look for in the dataPath
179
+ */
180
+ getIndexValue(dataPath, searchValue) {
181
+ return this.getArrayData(dataPath).indexOf(searchValue);
182
+ }
183
+ getArrayData(dataPath) {
184
+ const result = this.getData(dataPath);
185
+ if (!Array.isArray(result)) {
186
+ throw new Errors_1.DataError(`DataPath: ${dataPath} is not an array.`, 11);
187
+ }
188
+ const path = this.processDataPath(dataPath);
189
+ return this.retrieveData(path, false);
190
+ }
191
+ /**
192
+ * Find all specific entry in an array/object
193
+ * @param rootPath base dataPath from where to start searching
194
+ * @param callback method to filter the result and find the wanted entry. Receive the entry and it's index.
195
+ */
196
+ filter(rootPath, callback) {
197
+ const result = this.getData(rootPath);
198
+ if (Array.isArray(result)) {
199
+ return result.filter(callback);
200
+ }
201
+ if (result instanceof Object) {
202
+ const entries = Object.entries(result);
203
+ const found = entries.filter((entry) => {
204
+ return callback(entry[1], entry[0]);
205
+ });
206
+ if (!found || found.length < 1) {
207
+ return undefined;
208
+ }
209
+ return found.map((entry) => {
210
+ return entry[1];
211
+ });
212
+ }
213
+ throw new Errors_1.DataError("The entry at the path (" + rootPath + ") needs to be either an Object or an Array", 12);
214
+ }
215
+ /**
216
+ * Find a specific entry in an array/object
217
+ * @param rootPath base dataPath from where to start searching
218
+ * @param callback method to filter the result and find the wanted entry. Receive the entry and it's index.
219
+ */
220
+ find(rootPath, callback) {
221
+ const result = this.getData(rootPath);
222
+ if (Array.isArray(result)) {
223
+ return result.find(callback);
224
+ }
225
+ if (result instanceof Object) {
226
+ const entries = Object.entries(result);
227
+ const found = entries.find((entry) => {
228
+ return callback(entry[1], entry[0]);
229
+ });
230
+ if (!found || found.length < 2) {
231
+ return undefined;
232
+ }
233
+ return found[1];
234
+ }
235
+ throw new Errors_1.DataError("The entry at the path (" + rootPath + ") needs to be either an Object or an Array", 12);
236
+ }
237
+ /**
238
+ * Pushing data into the database
239
+ * @param dataPath path leading to the data
240
+ * @param data data to push
241
+ * @param override overriding or not the data, if not, it will merge them
242
+ */
243
+ push(dataPath, data, override = true) {
244
+ const dbData = this.getParentData(dataPath, true);
245
+ if (!dbData) {
246
+ throw new Error("Data not found");
247
+ }
248
+ let toSet = data;
249
+ if (!override) {
250
+ if (Array.isArray(data)) {
251
+ let storedData = dbData.getData();
252
+ if (storedData === undefined) {
253
+ storedData = [];
254
+ }
255
+ else if (!Array.isArray(storedData)) {
256
+ throw new Errors_1.DataError("Can't merge another type of data with an Array", 3);
257
+ }
258
+ toSet = storedData.concat(data);
259
+ }
260
+ else if (data === Object(data)) {
261
+ if (Array.isArray(dbData.getData())) {
262
+ throw new Errors_1.DataError("Can't merge an Array with an Object", 4);
263
+ }
264
+ toSet = (0, Utils_1.merge)(dbData.getData(), data);
265
+ }
266
+ }
267
+ dbData.setData(toSet);
268
+ if (this.config.saveOnPush) {
269
+ this.save();
270
+ }
271
+ }
272
+ /**
273
+ * Delete the data
274
+ * @param dataPath path leading to the data
275
+ */
276
+ delete(dataPath) {
277
+ const dbData = this.getParentData(dataPath, true);
278
+ if (!dbData) {
279
+ return;
280
+ }
281
+ dbData.delete();
282
+ if (this.config.saveOnPush) {
283
+ this.save();
284
+ }
285
+ }
286
+ /**
287
+ * Only use this if you know what you're doing.
288
+ * It reset the full data of the database.
289
+ * @param data
290
+ */
291
+ resetData(data) {
292
+ this.data = data;
293
+ }
294
+ /**
295
+ * Reload the database from the file
296
+ */
297
+ reload() {
298
+ this.loaded = false;
299
+ this.load();
300
+ }
301
+ ;
302
+ /**
303
+ * Manually load the database
304
+ * It is automatically called when the first getData is done
305
+ */
306
+ load() {
307
+ if (this.loaded) {
308
+ return;
309
+ }
310
+ try {
311
+ const data = FS.readFileSync(this.config.filename, 'utf8');
312
+ this.data = JSON.parse(data);
313
+ this.loaded = true;
314
+ }
315
+ catch (err) {
316
+ const error = new Errors_1.DatabaseError("Can't Load Database", 1, err);
317
+ throw error;
318
+ }
319
+ }
320
+ /**
321
+ * Manually save the database
322
+ * By default you can't save the database if it's not loaded
323
+ * @param force force the save of the database
324
+ */
325
+ save(force) {
326
+ force = force || false;
327
+ if (!force && !this.loaded) {
328
+ throw new Errors_1.DatabaseError("DataBase not loaded. Can't write", 7);
329
+ }
330
+ let data = "";
331
+ try {
332
+ if (this.config.humanReadable) {
333
+ data = JSON.stringify(this.data, null, 4);
334
+ }
335
+ else {
336
+ data = JSON.stringify(this.data);
337
+ }
338
+ FS.writeFileSync(this.config.filename, data, 'utf8');
339
+ }
340
+ catch (err) {
341
+ const error = new Errors_1.DatabaseError("Can't save the database", 2, err);
342
+ throw error;
343
+ }
344
+ }
345
+ }
346
+ exports.JsonDB = JsonDB;
347
+ //# sourceMappingURL=JsonDB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonDB.js","sourceRoot":"","sources":["../src/JsonDB.ts"],"names":[],"mappings":";;;AAAA,uCAA+D;AAC/D,yBAAwB;AACxB,6BAA4B;AAC5B,iCAAgC;AAChC,yCAAqD;AACrD,qDAA+C;AAC/C,+CAAyC;AACzC,qDAAuD;AAOvD,MAAa,MAAM;IACP,MAAM,GAAY,KAAK,CAAA;IACvB,IAAI,GAAa,EAAE,CAAA;IACV,MAAM,CAAe;IAGxC;;;;;;OAMG;IACD,YAAY,QAAyB,EAAE,aAAsB,IAAI,EAAE,gBAAyB,KAAK,EAAE,YAAoB,GAAG;QAEtH,IAAG,QAAQ,YAAY,qBAAM,EAAE;YAC7B,IAAI,CAAC,MAAM,GAAG,Q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AAO,GAAG,EAAE;YACV,MAAM,KAAK,GAAG,IAAI,sBAAa,CAAC,yBAAyB,EAAE,CAAC,EAAE,GAAG,CAAC,CAAA;YAClE,MAAM,KAAK,CAAA;SACd;IACL,CAAC;CACJ;AArWD,wBAqWC"}
@@ -0,0 +1,40 @@
1
+ import { KeyValue } from "./Utils";
2
+ export declare const arrayRegex: () => RegExp;
3
+ export declare class ArrayInfo {
4
+ readonly property: string;
5
+ readonly index: number;
6
+ readonly append: boolean;
7
+ constructor(property: string, index: any);
8
+ /**
9
+ * Check if the property want to access an Array
10
+ * @param property
11
+ */
12
+ static processArray(property?: string): ArrayInfo | null;
13
+ /**
14
+ * Get the index for the array
15
+ * @param data
16
+ * @param avoidProperty
17
+ */
18
+ getIndex(data: KeyValue, avoidProperty?: boolean): number;
19
+ /**
20
+ * Get the Data
21
+ * @param data
22
+ */
23
+ getData(data: KeyValue): any;
24
+ /**
25
+ * Set the data for the array
26
+ * @param data
27
+ * @param value
28
+ */
29
+ setData(data: KeyValue, value: any): void;
30
+ /**
31
+ * Delete the index from the array
32
+ * @param data
33
+ */
34
+ delete(data: KeyValue): void;
35
+ /**
36
+ * Check if the ArrayInfo is valid for the given data
37
+ * @param data
38
+ */
39
+ isValid(data: KeyValue): boolean;
40
+ }
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ArrayInfo = exports.arrayRegex = void 0;
4
+ const Errors_1 = require("./Errors");
5
+ function isInt(value) {
6
+ return !isNaN(value) &&
7
+ Number(value) == value && !isNaN(parseInt(value, 10));
8
+ }
9
+ const arrayRegex = () => /^([\.0-9a-zA-Z_$\-][0-9a-zA-Z_\-$\.]*)\[((?!(\]|\[)).*|)\]$/gm;
10
+ exports.arrayRegex = arrayRegex;
11
+ const regexCache = {};
12
+ class ArrayInfo {
13
+ property;
14
+ index = 0;
15
+ append = false;
16
+ constructor(property, index) {
17
+ this.property = property;
18
+ this.append = index === "";
19
+ if (isInt(index)) {
20
+ this.index = parseInt(index);
21
+ }
22
+ else if (!this.append) {
23
+ throw new Errors_1.DataError("Only numerical values accepted for array index", 200);
24
+ }
25
+ }
26
+ /**
27
+ * Check if the property want to access an Array
28
+ * @param property
29
+ */
30
+ static processArray(property) {
31
+ if (typeof property === 'undefined') {
32
+ return null;
33
+ }
34
+ if (regexCache[property]) {
35
+ return regexCache[property];
36
+ }
37
+ const arrayIndexRegex = (0, exports.arrayRegex)();
38
+ const match = arrayIndexRegex.exec(property.trim());
39
+ if (match != null) {
40
+ return (regexCache[property] = new ArrayInfo(match[1], match[2]));
41
+ }
42
+ return null;
43
+ }
44
+ /**
45
+ * Get the index for the array
46
+ * @param data
47
+ * @param avoidProperty
48
+ */
49
+ getIndex(data, avoidProperty) {
50
+ if (avoidProperty === undefined) {
51
+ avoidProperty = false;
52
+ }
53
+ if (this.append) {
54
+ return -1;
55
+ }
56
+ const index = this.index;
57
+ if (index == -1) {
58
+ const dataIterable = avoidProperty ? data : data[this.property];
59
+ if (dataIterable.length === 0) {
60
+ return 0;
61
+ }
62
+ return dataIterable.length - 1;
63
+ }
64
+ return index;
65
+ }
66
+ /**
67
+ * Get the Data
68
+ * @param data
69
+ */
70
+ getData(data) {
71
+ if (this.append) {
72
+ throw new Errors_1.DataError("Can't get data when appending", 100);
73
+ }
74
+ const index = this.getIndex(data);
75
+ return data[this.property][index];
76
+ }
77
+ /**
78
+ * Set the data for the array
79
+ * @param data
80
+ * @param value
81
+ */
82
+ setData(data, value) {
83
+ if (this.append) {
84
+ data[this.property].push(value);
85
+ }
86
+ else {
87
+ const index = this.getIndex(data);
88
+ data[this.property][index] = value;
89
+ }
90
+ }
91
+ /**
92
+ * Delete the index from the array
93
+ * @param data
94
+ */
95
+ delete(data) {
96
+ if (this.append) {
97
+ throw new Errors_1.DataError("Can't delete an appended data", 10);
98
+ }
99
+ const index = this.getIndex(data);
100
+ data[this.property].splice(index, 1);
101
+ }
102
+ /**
103
+ * Check if the ArrayInfo is valid for the given data
104
+ * @param data
105
+ */
106
+ isValid(data) {
107
+ const index = this.getIndex(data);
108
+ return data[this.property].hasOwnProperty(index);
109
+ }
110
+ }
111
+ exports.ArrayInfo = ArrayInfo;
112
+ //# sourceMappingURL=ArrayInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArrayInfo.js","sourceRoot":"","sources":["../../src/lib/ArrayInfo.ts"],"names":[],"mappings":";;;AAAA,qCAAkC;AAGlC,SAAS,KAAK,CAAC,KAAU;IACrB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;QAChB,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAA;AAC7D,CAAC;AAEM,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,+DAA+D,CAAA;AAAlF,QAAA,UAAU,cAAwE;AAC/F,MAAM,UAAU,GAAG,EAAc,CAAA;AAEjC,MAAa,SAAS;IACT,QAAQ,CAAQ;IAChB,KAAK,GAAW,CAAC,CAAA;IACjB,MAAM,GAAY,KAAK,CAAA;IAGhC,YAAY,QAAgB,EAAE,KAAU;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,MAAM,GAAG,KAAK,KAAK,EAAE,CAAA;QAC1B,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE;YACd,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;SAC/B;aAAM,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACrB,MAAM,IAAI,kBAAS,CAAC,gDAAgD,EAAE,GAAG,CAAC,CAAA;SAC7E;IACL,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,YAAY,CAAC,QAAiB;QACxC,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;YACjC,OAAO,IAAI,CAAA;SACd;QAED,IAAI,UAAU,CAAC,QAAQ,CAAC,EAAE;YACtB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AC,CAAA;IACrC,CAAC;IAED;;;;OAIG;IACI,OAAO,CAAC,IAAc,EAAE,KAAU;QACrC,IAAI,IAAI,CAAC,MAAM,EAAE;YACb,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;SAClC;aAAM;YACH,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;YACjC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,GAAG,KAAK,CAAA;SACrC;IACL,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,IAAc;QACxB,IAAI,IAAI,CAAC,MAAM,EAAE;YACb,MAAM,IAAI,kBAAS,CAAC,+BAA+B,EAAE,EAAE,CAAC,CAAA;SAC3D;QACD,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;QACjC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;IACxC,CAAC;IAED;;;OAGG;IACI,OAAO,CAAC,IAAc;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;QACjC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;IACpD,CAAC;CACJ;AA7GD,8BA6GC"}
@@ -0,0 +1,27 @@
1
+ import { KeyValue } from "./Utils";
2
+ import { JsonDB } from "../JsonDB";
3
+ export declare class DBParentData {
4
+ readonly parent?: string;
5
+ readonly data: KeyValue;
6
+ readonly db: JsonDB;
7
+ readonly dataPath: string;
8
+ constructor(data: any, db: JsonDB, dataPath: string, parent?: string);
9
+ /**
10
+ * Check if it's an array
11
+ * @param deletion
12
+ */
13
+ private checkArray;
14
+ /**
15
+ * Get the data linked to this path
16
+ */
17
+ getData(): any;
18
+ /**
19
+ * Set the data to the wanted path
20
+ * @param toSet
21
+ */
22
+ setData(toSet: any): void;
23
+ /**
24
+ * Delete the data of the current path
25
+ */
26
+ delete(): void;
27
+ }
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DBParentData = void 0;
4
+ const ArrayInfo_1 = require("./ArrayInfo");
5
+ const Errors_1 = require("./Errors");
6
+ class DBParentData {
7
+ parent;
8
+ data;
9
+ db;
10
+ dataPath;
11
+ constructor(data, db, dataPath, parent) {
12
+ this.parent = parent;
13
+ this.data = data;
14
+ this.db = db;
15
+ this.dataPath = dataPath;
16
+ }
17
+ /**
18
+ * Check if it's an array
19
+ * @param deletion
20
+ */
21
+ checkArray(deletion = false) {
22
+ const arrayInfo = ArrayInfo_1.ArrayInfo.processArray(this.parent);
23
+ if (arrayInfo && (!arrayInfo.append || deletion) && !arrayInfo.isValid(this.data)) {
24
+ throw new Errors_1.DataError("DataPath: /" + this.dataPath + ". Can't find index " + arrayInfo.index + " in array " + arrayInfo.property, 10);
25
+ }
26
+ return arrayInfo;
27
+ }
28
+ /**
29
+ * Get the data linked to this path
30
+ */
31
+ getData() {
32
+ if (this.parent === undefined) {
33
+ return this.data;
34
+ }
35
+ const arrayInfo = this.checkArray();
36
+ if (arrayInfo) {
37
+ return arrayInfo.getData(this.data);
38
+ }
39
+ else {
40
+ return this.data[this.parent];
41
+ }
42
+ }
43
+ /**
44
+ * Set the data to the wanted path
45
+ * @param toSet
46
+ */
47
+ setData(toSet) {
48
+ if (this.parent === undefined) {
49
+ this.db.resetData(toSet);
50
+ return;
51
+ }
52
+ const arrayInfo = ArrayInfo_1.ArrayInfo.processArray(this.parent);
53
+ if (arrayInfo) {
54
+ if (!this.data.hasOwnProperty(arrayInfo.property)) {
55
+ this.data[arrayInfo.property] = [];
56
+ }
57
+ else if (!Array.isArray(this.data[arrayInfo.property])) {
58
+ throw new Errors_1.DataError("DataPath: /" + this.dataPath + ". " + arrayInfo.property + " is not an array.", 11);
59
+ }
60
+ arrayInfo.setData(this.data, toSet);
61
+ }
62
+ else {
63
+ this.data[this.parent] = toSet;
64
+ }
65
+ }
66
+ /**
67
+ * Delete the data of the current path
68
+ */
69
+ delete() {
70
+ if (this.parent === undefined) {
71
+ this.db.resetData({});
72
+ return;
73
+ }
74
+ const arrayInfo = this.checkArray(true);
75
+ if (arrayInfo) {
76
+ arrayInfo.delete(this.data);
77
+ }
78
+ else {
79
+ delete this.data[this.parent];
80
+ }
81
+ }
82
+ }
83
+ exports.DBParentData = DBParentData;
84
+ //# sourceMappingURL=DBParentData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DBParentData.js","sourceRoot":"","sources":["../../src/lib/DBParentData.ts"],"names":[],"mappings":";;;AAAA,2CAAqC;AACrC,qCAAkC;AAIlC,MAAa,YAAY;IACZ,MAAM,CAAS;IACf,IAAI,CAAU;IACd,EAAE,CAAQ;IACV,QAAQ,CAAQ;IAGzB,YAAY,IAAS,EAAE,EAAU,EAAE,QAAgB,EAAE,MAAe;QAChE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;QACZ,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC5B,CAAC;IAED;;;OAGG;IACK,UAAU,CAAC,WAAoB,KAAK;QACxC,MAAM,SAAS,GAAG,qBAAS,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrD,IAAI,SAAS,IAAI,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC/E,MAAM,IAAI,kBAAS,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,GAAG,qBAAqB,GAAG,SAAS,CAAC,KAAK,GAAG,YAAY,GAAG,SAAS,CAAC,QAAQ,EAAE,EAAE,C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AAA;SACjC;IAEL,CAAC;IAED;;OAEG;IACI,MAAM;QACT,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE;YAC3B,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;YACrB,OAAM;SACT;QACD,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;QACvC,IAAI,SAAS,EAAE;YACX,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;SAC9B;aAAM;YACH,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;SAChC;IACL,CAAC;CACJ;AAjFD,oCAiFC"}
@@ -0,0 +1,10 @@
1
+ export declare abstract class NestedError extends Error {
2
+ readonly inner?: Error;
3
+ readonly id: Number;
4
+ constructor(message: string, id: Number, inner?: Error);
5
+ toString(): string;
6
+ }
7
+ export declare class DatabaseError extends NestedError {
8
+ }
9
+ export declare class DataError extends NestedError {
10
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DataError = exports.DatabaseError = exports.NestedError = void 0;
4
+ class NestedError extends Error {
5
+ inner;
6
+ id;
7
+ constructor(message, id, inner) {
8
+ super(message);
9
+ this.inner = inner;
10
+ this.id = id;
11
+ this.name = this.constructor.name;
12
+ }
13
+ toString() {
14
+ const string = this.name + ": " + this.message;
15
+ if (this.inner) {
16
+ return string + ':\n' + this.inner;
17
+ }
18
+ return string;
19
+ }
20
+ }
21
+ exports.NestedError = NestedError;
22
+ class DatabaseError extends NestedError {
23
+ }
24
+ exports.DatabaseError = DatabaseError;
25
+ class DataError extends NestedError {
26
+ }
27
+ exports.DataError = DataError;
28
+ //# sourceMappingURL=Errors.js.map