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,1142 @@
1
+ /*!
2
+ * express
3
+ * Copyright(c) 2009-2013 TJ Holowaychuk
4
+ * Copyright(c) 2014-2015 Douglas Christopher Wilson
5
+ * MIT Licensed
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ /**
11
+ * Module dependencies.
12
+ * @private
13
+ */
14
+
15
+ var Buffer = require('safe-buffer').Buffer
16
+ var contentDisposition = require('content-disposition');
17
+ var deprecate = require('depd')('express');
18
+ var encodeUrl = require('encodeurl');
19
+ var escapeHtml = require('escape-html');
20
+ var http = require('http');
21
+ var isAbsolute = require('./utils').isAbsolute;
22
+ var onFinished = require('on-finished');
23
+ var path = require('path');
24
+ var statuses = require('statuses')
25
+ var merge = require('utils-merge');
26
+ var sign = require('cookie-signature').sign;
27
+ var normalizeType = require('./utils').normalizeType;
28
+ var normalizeTypes = require('./utils').normalizeTypes;
29
+ var setCharset = require('./utils').setCharset;
30
+ var cookie = require('cookie');
31
+ var send = require('send');
32
+ var extname = path.extname;
33
+ var mime = send.mime;
34
+ var resolve = path.resolve;
35
+ var vary = require('vary');
36
+
37
+ /**
38
+ * Response prototype.
39
+ * @public
40
+ */
41
+
42
+ var res = Object.create(http.ServerResponse.prototype)
43
+
44
+ /**
45
+ * Module exports.
46
+ * @public
47
+ */
48
+
49
+ module.exports = res
50
+
51
+ /**
52
+ * Module variables.
53
+ * @private
54
+ */
55
+
56
+ var charsetRegExp = /;\s*charset\s*=/;
57
+
58
+ /**
59
+ * Set status `code`.
60
+ *
61
+ * @param {Number} code
62
+ * @return {ServerResponse}
63
+ * @public
64
+ */
65
+
66
+ res.status = function status(code) {
67
+ this.statusCode = code;
68
+ return this;
69
+ };
70
+
71
+ /**
72
+ * Set Link header field with the given `links`.
73
+ *
74
+ * Examples:
75
+ *
76
+ * res.links({
77
+ * next: 'http://api.example.com/users?page=2',
78
+ * last: 'http://api.example.com/users?page=5'
79
+ * });
80
+ *
81
+ * @param {Object} links
82
+ * @return {ServerResponse}
83
+ * @public
84
+ */
85
+
86
+ res.links = function(links){
87
+ var link = this.get('Link') || '';
88
+ if (link) link += ', ';
89
+ return this.set('Link', link + Object.keys(links).map(function(rel){
90
+ return '<' + links[rel] + '>; rel="' + rel + '"';
91
+ }).join(', '));
92
+ };
93
+
94
+ /**
95
+ * Send a response.
96
+ *
97
+ * Examples:
98
+ *
99
+ * res.send(Buffer.from('wahoo'));
100
+ * res.send({ some: 'json' });
101
+ * res.send('<p>some html</p>');
102
+ *
103
+ * @param {string|number|boolean|object|Buffer} body
104
+ * @public
105
+ */
106
+
107
+ res.send = function send(body) {
108
+ var chunk = body;
109
+ var encoding;
110
+ var req = this.req;
111
+ var type;
112
+
113
+ // settings
114
+ var app = this.app;
115
+
116
+ // allow status / body
117
+ if (arguments.length === 2) {
118
+ // res.send(body, status) backwards compat
119
+ if (typeof arguments[0] !== 'number' && typeof arguments[1] === 'number') {
120
+ deprecate('res.send(body, status): Use res.status(status).send(body) instead');
121
+ this.statusCode = arguments[1];
122
+ } else {
123
+ deprecate('res.send(status, body): Use res.status(status).send(body) instead');
124
+ this.statusCode = arguments[0];
125
+ chunk = arguments[1];
126
+ }
127
+ }
128
+
129
+ // disambiguate res.send(status) and res.send(status, num)
130
+ if (typeof chunk === 'number' && arguments.length === 1) {
131
+ // res.send(status) will set status message as text string
132
+ if (!this.get('Content-Type')) {
133
+ this.type('txt');
134
+ }
135
+
136
+ deprecate('res.send(status): Use res.sendStatus(status) instead');
137
+ this.statusCode = chunk;
138
+ chunk = statuses[chunk]
139
+ }
140
+
141
+ switch (typeof chunk) {
142
+ // string defaulting to html
143
+ case 'string':
144
+ if (!this.get('Content-Type')) {
145
+ this.type('html');
146
+ }
147
+ break;
148
+ case 'boolean':
149
+ case 'number':
150
+ case 'object':
151
+ if (chunk === null) {
152
+ chunk = '';
153
+ } else if (Buffer.isBuffer(chunk)) {
154
+ if (!this.get('Content-Type')) {
155
+ this.type('bin');
156
+ }
157
+ } else {
158
+ return this.json(chunk);
159
+ }
160
+ break;
161
+ }
162
+
163
+ // write strings in utf-8
164
+ if (typeof chunk === 'string') {
165
+ encoding = 'utf8';
166
+ type = this.get('Content-Type');
167
+
168
+ // reflect this in content-type
169
+ if (typeof type === 'string') {
170
+ this.set('Content-Type', setCharset(type, 'utf-8'));
171
+ }
172
+ }
173
+
174
+ // determine if ETag should be generated
175
+ var etagFn = app.get('etag fn')
176
+ var generateETag = !this.get('ETag') && typeof etagFn === 'function'
177
+
178
+ // populate Content-Length
179
+ var len
180
+ if (chunk !== undefined) {
181
+ if (Buffer.isBuffer(chunk)) {
182
+ // get length of Buffer
183
+ len = chunk.length
184
+ } else if (!generateETag && chunk.length < 1000) {
185
+ // just calculate length when no ETag + small chunk
186
+ len = Buffer.byteLength(chunk, encoding)
187
+ } else {
188
+ // convert chunk to Buffer and calculate
189
+ chunk = Buffer.from(chunk, encoding)
190
+ encoding = undefined;
191
+ len = chunk.length
192
+ }
193
+
194
+ this.set('Content-Length', len);
195
+ }
196
+
197
+ // populate ETag
198
+ var etag;
199
+ if (generateETag && len !== undefined) {
200
+ if ((etag = etagFn(chunk, encoding))) {
201
+ this.set('ETag', etag);
202
+ }
203
+ }
204
+
205
+ // freshness
206
+ if (req.fresh) this.statusCode = 304;
207
+
208
+ // strip irrelevant headers
209
+ if (204 === this.statusCode || 304 === this.statusCode) {
210
+ this.removeHeader('Content-Type');
211
+ this.removeHeader('Content-Length');
212
+ this.removeHeader('Transfer-Encoding');
213
+ chunk = '';
214
+ }
215
+
216
+ if (req.method === 'HEAD') {
217
+ // skip body for HEAD
218
+ this.end();
219
+ } else {
220
+ // respond
221
+ this.end(chunk, encoding);
222
+ }
223
+
224
+ return this;
225
+ };
226
+
227
+ /**
228
+ * Send JSON response.
229
+ *
230
+ * Examples:
231
+ *
232
+ * res.json(null);
233
+ * res.json({ user: 'tj' });
234
+ *
235
+ * @param {string|number|boolean|object} obj
236
+ * @public
237
+ */
238
+
239
+ res.json = function json(obj) {
240
+ var val = obj;
241
+
242
+ // allow status / body
243
+ if (arguments.length === 2) {
244
+ // res.json(body, status) backwards compat
245
+ if (typeof arguments[1] === 'number') {
246
+ deprecate('res.json(obj, status): Use res.status(status).json(obj) instead');
247
+ this.statusCode = arguments[1];
248
+ } else {
249
+ deprecate('res.json(status, obj): Use res.status(status).json(obj) instead');
250
+ this.statusCode = arguments[0];
251
+ val = arguments[1];
252
+ }
253
+ }
254
+
255
+ // settings
256
+ var app = this.app;
257
+ var escape = app.get('json escape')
258
+ var replacer = app.get('json replacer');
259
+ var spaces = app.get('json spaces');
260
+ var body = stringify(val, replacer, spaces, escape)
261
+
262
+ // content-type
263
+ if (!this.get('Content-Type')) {
264
+ this.set('Content-Type', 'application/json');
265
+ }
266
+
267
+ return this.send(body);
268
+ };
269
+
270
+ /**
271
+ * Send JSON response with JSONP callback support.
272
+ *
273
+ * Examples:
274
+ *
275
+ * res.jsonp(null);
276
+ * res.jsonp({ user: 'tj' });
277
+ *
278
+ * @param {string|number|boolean|object} obj
279
+ * @public
280
+ */
281
+
282
+ res.jsonp = function jsonp(obj) {
283
+ var val = obj;
284
+
285
+ // allow status / body
286
+ if (arguments.length === 2) {
287
+ // res.json(body, status) backwards compat
288
+ if (typeof arguments[1] === 'number') {
289
+ deprecate('res.jsonp(obj, status): Use res.status(status).json(obj) instead');
290
+ this.statusCode = arguments[1];
291
+ } else {
292
+ deprecate('res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead');
293
+ this.statusCode = arguments[0];
294
+ val = arguments[1];
295
+ }
296
+ }
297
+
298
+ // settings
299
+ var app = this.app;
300
+ var escape = app.get('json escape')
301
+ var replacer = app.get('json replacer');
302
+ var spaces = app.get('json spaces');
303
+ var body = stringify(val, replacer, spaces, escape)
304
+ var callback = this.req.query[app.get('jsonp callback name')];
305
+
306
+ // content-type
307
+ if (!this.get('Content-Type')) {
308
+ this.set('X-Content-Type-Options', 'nosniff');
309
+ this.set('Content-Type', 'application/json');
310
+ }
311
+
312
+ // fixup callback
313
+ if (Array.isArray(callback)) {
314
+ callback = callback[0];
315
+ }
316
+
317
+ // jsonp
318
+ if (typeof callback === 'string' && callback.length !== 0) {
319
+ this.set('X-Content-Type-Options', 'nosniff');
320
+ this.set('Content-Type', 'text/javascript');
321
+
322
+ // restrict callback charset
323
+ callback = callback.replace(/[^\[\]\w$.]/g, '');
324
+
325
+ // replace chars not allowed in JavaScript that are in JSON
326
+ body = body
327
+ .replace(/\u2028/g, '\\u2028')
328
+ .replace(/\u2029/g, '\\u2029');
329
+
330
+ // the /**/ is a specific security mitigation for "Rosetta Flash JSONP abuse"
331
+ // the typeof check is just to reduce client error noise
332
+ body = '/**/ typeof ' + callback + ' === \'function\' && ' + callback + '(' + body + ');';
333
+ }
334
+
335
+ return this.send(body);
336
+ };
337
+
338
+ /**
339
+ * Send given HTTP status code.
340
+ *
341
+ * Sets the response status to `statusCode` and the body of the
342
+ * response to the standard description from node's http.STATUS_CODES
343
+ * or the statusCode number if no description.
344
+ *
345
+ * Examples:
346
+ *
347
+ * res.sendStatus(200);
348
+ *
349
+ * @param {number} statusCode
350
+ * @public
351
+ */
352
+
353
+ res.sendStatus = function sendStatus(statusCode) {
354
+ var body = statuses[statusCode] || String(statusCode)
355
+
356
+ this.statusCode = statusCode;
357
+ this.type('txt');
358
+
359
+ return this.send(body);
360
+ };
361
+
362
+ /**
363
+ * Transfer the file at the given `path`.
364
+ *
365
+ * Automatically sets the _Content-Type_ response header field.
366
+ * The callback `callback(err)` is invoked when the transfer is complete
367
+ * or when an error occurs. Be sure to check `res.sentHeader`
368
+ * if you wish to attempt responding, as the header and some data
369
+ * may have already been transferred.
370
+ *
371
+ * Options:
372
+ *
373
+ * - `maxAge` defaulting to 0 (can be string converted by `ms`)
374
+ * - `root` root directory for relative filenames
375
+ * - `headers` object of headers to serve with file
376
+ * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them
377
+ *
378
+ * Other options are passed along to `send`.
379
+ *
380
+ * Examples:
381
+ *
382
+ * The following example illustrates how `res.sendFile()` may
383
+ * be used as an alternative for the `static()` middleware for
384
+ * dynamic situations. The code backing `res.sendFile()` is actually
385
+ * the same code, so HTTP cache support etc is identical.
386
+ *
387
+ * app.get('/user/:uid/photos/:file', function(req, res){
388
+ * var uid = req.params.uid
389
+ * , file = req.params.file;
390
+ *
391
+ * req.user.mayViewFilesFrom(uid, function(yes){
392
+ * if (yes) {
393
+ * res.sendFile('/uploads/' + uid + '/' + file);
394
+ * } else {
395
+ * res.send(403, 'Sorry! you cant see that.');
396
+ * }
397
+ * });
398
+ * });
399
+ *
400
+ * @public
401
+ */
402
+
403
+ res.sendFile = function sendFile(path, options, callback) {
404
+ var done = callback;
405
+ var req = this.req;
406
+ var res = this;
407
+ var next = req.next;
408
+ var opts = options || {};
409
+
410
+ if (!path) {
411
+ throw new TypeError('path argument is required to res.sendFile');
412
+ }
413
+
414
+ if (typeof path !== 'string') {
415
+ throw new TypeError('path must be a string to res.sendFile')
416
+ }
417
+
418
+ // support function as second arg
419
+ if (typeof options === 'function') {
420
+ done = options;
421
+ opts = {};
422
+ }
423
+
424
+ if (!opts.root && !isAbsolute(path)) {
425
+ throw new TypeError('path must be absolute or specify root to res.sendFile');
426
+ }
427
+
428
+ // create file stream
429
+ var pathname = encodeURI(path);
430
+ var file = send(req, pathname, opts);
431
+
432
+ // transfer
433
+ sendfile(res, file, opts, function (err) {
434
+ if (done) return done(err);
435
+ if (err && err.code === 'EISDIR') return next();
436
+
437
+ // next() all but write errors
438
+ if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') {
439
+ next(err);
440
+ }
441
+ });
442
+ };
443
+
444
+ /**
445
+ * Transfer the file at the given `path`.
446
+ *
447
+ * Automatically sets the _Content-Type_ response header field.
448
+ * The callback `callback(err)` is invoked when the transfer is complete
449
+ * or when an error occurs. Be sure to check `res.sentHeader`
450
+ * if you wish to attempt responding, as the header and some data
451
+ * may have already been transferred.
452
+ *
453
+ * Options:
454
+ *
455
+ * - `maxAge` defaulting to 0 (can be string converted by `ms`)
456
+ * - `root` root directory for relative filenames
457
+ * - `headers` object of headers to serve with file
458
+ * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them
459
+ *
460
+ * Other options are passed along to `send`.
461
+ *
462
+ * Examples:
463
+ *
464
+ * The following example illustrates how `res.sendfile()` may
465
+ * be used as an alternative for the `static()` middleware for
466
+ * dynamic situations. The code backing `res.sendfile()` is actually
467
+ * the same code, so HTTP cache support etc is identical.
468
+ *
469
+ * app.get('/user/:uid/photos/:file', function(req, res){
470
+ * var uid = req.params.uid
471
+ * , file = req.params.file;
472
+ *
473
+ * req.user.mayViewFilesFrom(uid, function(yes){
474
+ * if (yes) {
475
+ * res.sendfile('/uploads/' + uid + '/' + file);
476
+ * } else {
477
+ * res.send(403, 'Sorry! you cant see that.');
478
+ * }
479
+ * });
480
+ * });
481
+ *
482
+ * @public
483
+ */
484
+
485
+ res.sendfile = function (path, options, callback) {
486
+ var done = callback;
487
+ var req = this.req;
488
+ var res = this;
489
+ var next = req.next;
490
+ var opts = options || {};
491
+
492
+ // support function as second arg
493
+ if (typeof options === 'function') {
494
+ done = options;
495
+ opts = {};
496
+ }
497
+
498
+ // create file stream
499
+ var file = send(req, path, opts);
500
+
501
+ // transfer
502
+ sendfile(res, file, opts, function (err) {
503
+ if (done) return done(err);
504
+ if (err && err.code === 'EISDIR') return next();
505
+
506
+ // next() all but write errors
507
+ if (err && err.code !== 'ECONNABORTED' && err.syscall !== 'write') {
508
+ next(err);
509
+ }
510
+ });
511
+ };
512
+
513
+ res.sendfile = deprecate.function(res.sendfile,
514
+ 'res.sendfile: Use res.sendFile instead');
515
+
516
+ /**
517
+ * Transfer the file at the given `path` as an attachment.
518
+ *
519
+ * Optionally providing an alternate attachment `filename`,
520
+ * and optional callback `callback(err)`. The callback is invoked
521
+ * when the data transfer is complete, or when an error has
522
+ * ocurred. Be sure to check `res.headersSent` if you plan to respond.
523
+ *
524
+ * Optionally providing an `options` object to use with `res.sendFile()`.
525
+ * This function will set the `Content-Disposition` header, overriding
526
+ * any `Content-Disposition` header passed as header options in order
527
+ * to set the attachment and filename.
528
+ *
529
+ * This method uses `res.sendFile()`.
530
+ *
531
+ * @public
532
+ */
533
+
534
+ res.download = function download (path, filename, options, callback) {
535
+ var done = callback;
536
+ var name = filename;
537
+ var opts = options || null
538
+
539
+ // support function as second or third arg
540
+ if (typeof filename === 'function') {
541
+ done = filename;
542
+ name = null;
543
+ opts = null
544
+ } else if (typeof options === 'function') {
545
+ done = options
546
+ opts = null
547
+ }
548
+
549
+ // set Content-Disposition when file is sent
550
+ var headers = {
551
+ 'Content-Disposition': contentDisposition(name || path)
552
+ };
553
+
554
+ // merge user-provided headers
555
+ if (opts && opts.headers) {
556
+ var keys = Object.keys(opts.headers)
557
+ for (var i = 0; i < keys.length; i++) {
558
+ var key = keys[i]
559
+ if (key.toLowerCase() !== 'content-disposition') {
560
+ headers[key] = opts.headers[key]
561
+ }
562
+ }
563
+ }
564
+
565
+ // merge user-provided options
566
+ opts = Object.create(opts)
567
+ opts.headers = headers
568
+
569
+ // Resolve the full path for sendFile
570
+ var fullPath = resolve(path);
571
+
572
+ // send file
573
+ return this.sendFile(fullPath, opts, done)
574
+ };
575
+
576
+ /**
577
+ * Set _Content-Type_ response header with `type` through `mime.lookup()`
578
+ * when it does not contain "/", or set the Content-Type to `type` otherwise.
579
+ *
580
+ * Examples:
581
+ *
582
+ * res.type('.html');
583
+ * res.type('html');
584
+ * res.type('json');
585
+ * res.type('application/json');
586
+ * res.type('png');
587
+ *
588
+ * @param {String} type
589
+ * @return {ServerResponse} for chaining
590
+ * @public
591
+ */
592
+
593
+ res.contentType =
594
+ res.type = function contentType(type) {
595
+ var ct = type.indexOf('/') === -1
596
+ ? mime.lookup(type)
597
+ : type;
598
+
599
+ return this.set('Content-Type', ct);
600
+ };
601
+
602
+ /**
603
+ * Respond to the Acceptable formats using an `obj`
604
+ * of mime-type callbacks.
605
+ *
606
+ * This method uses `req.accepted`, an array of
607
+ * acceptable types ordered by their quality values.
608
+ * When "Accept" is not present the _first_ callback
609
+ * is invoked, otherwise the first match is used. When
610
+ * no match is performed the server responds with
611
+ * 406 "Not Acceptable".
612
+ *
613
+ * Content-Type is set for you, however if you choose
614
+ * you may alter this within the callback using `res.type()`
615
+ * or `res.set('Content-Type', ...)`.
616
+ *
617
+ * res.format({
618
+ * 'text/plain': function(){
619
+ * res.send('hey');
620
+ * },
621
+ *
622
+ * 'text/html': function(){
623
+ * res.send('<p>hey</p>');
624
+ * },
625
+ *
626
+ * 'appliation/json': function(){
627
+ * res.send({ message: 'hey' });
628
+ * }
629
+ * });
630
+ *
631
+ * In addition to canonicalized MIME types you may
632
+ * also use extnames mapped to these types:
633
+ *
634
+ * res.format({
635
+ * text: function(){
636
+ * res.send('hey');
637
+ * },
638
+ *
639
+ * html: function(){
640
+ * res.send('<p>hey</p>');
641
+ * },
642
+ *
643
+ * json: function(){
644
+ * res.send({ message: 'hey' });
645
+ * }
646
+ * });
647
+ *
648
+ * By default Express passes an `Error`
649
+ * with a `.status` of 406 to `next(err)`
650
+ * if a match is not made. If you provide
651
+ * a `.default` callback it will be invoked
652
+ * instead.
653
+ *
654
+ * @param {Object} obj
655
+ * @return {ServerResponse} for chaining
656
+ * @public
657
+ */
658
+
659
+ res.format = function(obj){
660
+ var req = this.req;
661
+ var next = req.next;
662
+
663
+ var fn = obj.default;
664
+ if (fn) delete obj.default;
665
+ var keys = Object.keys(obj);
666
+
667
+ var key = keys.length > 0
668
+ ? req.accepts(keys)
669
+ : false;
670
+
671
+ this.vary("Accept");
672
+
673
+ if (key) {
674
+ this.set('Content-Type', normalizeType(key).value);
675
+ obj[key](req, this, next);
676
+ } else if (fn) {
677
+ fn();
678
+ } else {
679
+ var err = new Error('Not Acceptable');
680
+ err.status = err.statusCode = 406;
681
+ err.types = normalizeTypes(keys).map(function(o){ return o.value });
682
+ next(err);
683
+ }
684
+
685
+ return this;
686
+ };
687
+
688
+ /**
689
+ * Set _Content-Disposition_ header to _attachment_ with optional `filename`.
690
+ *
691
+ * @param {String} filename
692
+ * @return {ServerResponse}
693
+ * @public
694
+ */
695
+
696
+ res.attachment = function attachment(filename) {
697
+ if (filename) {
698
+ this.type(extname(filename));
699
+ }
700
+
701
+ this.set('Content-Disposition', contentDisposition(filename));
702
+
703
+ return this;
704
+ };
705
+
706
+ /**
707
+ * Append additional header `field` with value `val`.
708
+ *
709
+ * Example:
710
+ *
711
+ * res.append('Link', ['<http://localhost/>', '<http://localhost:3000/>']);
712
+ * res.append('Set-Cookie', 'foo=bar; Path=/; HttpOnly');
713
+ * res.append('Warning', '199 Miscellaneous warning');
714
+ *
715
+ * @param {String} field
716
+ * @param {String|Array} val
717
+ * @return {ServerResponse} for chaining
718
+ * @public
719
+ */
720
+
721
+ res.append = function append(field, val) {
722
+ var prev = this.get(field);
723
+ var value = val;
724
+
725
+ if (prev) {
726
+ // concat the new and prev vals
727
+ value = Array.isArray(prev) ? prev.concat(val)
728
+ : Array.isArray(val) ? [prev].concat(val)
729
+ : [prev, val];
730
+ }
731
+
732
+ return this.set(field, value);
733
+ };
734
+
735
+ /**
736
+ * Set header `field` to `val`, or pass
737
+ * an object of header fields.
738
+ *
739
+ * Examples:
740
+ *
741
+ * res.set('Foo', ['bar', 'baz']);
742
+ * res.set('Accept', 'application/json');
743
+ * res.set({ Accept: 'text/plain', 'X-API-Key': 'tobi' });
744
+ *
745
+ * Aliased as `res.header()`.
746
+ *
747
+ * @param {String|Object} field
748
+ * @param {String|Array} val
749
+ * @return {ServerResponse} for chaining
750
+ * @public
751
+ */
752
+
753
+ res.set =
754
+ res.header = function header(field, val) {
755
+ if (arguments.length === 2) {
756
+ var value = Array.isArray(val)
757
+ ? val.map(String)
758
+ : String(val);
759
+
760
+ // add charset to content-type
761
+ if (field.toLowerCase() === 'content-type') {
762
+ if (Array.isArray(value)) {
763
+ throw new TypeError('Content-Type cannot be set to an Array');
764
+ }
765
+ if (!charsetRegExp.test(value)) {
766
+ var charset = mime.charsets.lookup(value.split(';')[0]);
767
+ if (charset) value += '; charset=' + charset.toLowerCase();
768
+ }
769
+ }
770
+
771
+ this.setHeader(field, value);
772
+ } else {
773
+ for (var key in field) {
774
+ this.set(key, field[key]);
775
+ }
776
+ }
777
+ return this;
778
+ };
779
+
780
+ /**
781
+ * Get value for header `field`.
782
+ *
783
+ * @param {String} field
784
+ * @return {String}
785
+ * @public
786
+ */
787
+
788
+ res.get = function(field){
789
+ return this.getHeader(field);
790
+ };
791
+
792
+ /**
793
+ * Clear cookie `name`.
794
+ *
795
+ * @param {String} name
796
+ * @param {Object} [options]
797
+ * @return {ServerResponse} for chaining
798
+ * @public
799
+ */
800
+
801
+ res.clearCookie = function clearCookie(name, options) {
802
+ var opts = merge({ expires: new Date(1), path: '/' }, options);
803
+
804
+ return this.cookie(name, '', opts);
805
+ };
806
+
807
+ /**
808
+ * Set cookie `name` to `value`, with the given `options`.
809
+ *
810
+ * Options:
811
+ *
812
+ * - `maxAge` max-age in milliseconds, converted to `expires`
813
+ * - `signed` sign the cookie
814
+ * - `path` defaults to "/"
815
+ *
816
+ * Examples:
817
+ *
818
+ * // "Remember Me" for 15 minutes
819
+ * res.cookie('rememberme', '1', { expires: new Date(Date.now() + 900000), httpOnly: true });
820
+ *
821
+ * // same as above
822
+ * res.cookie('rememberme', '1', { maxAge: 900000, httpOnly: true })
823
+ *
824
+ * @param {String} name
825
+ * @param {String|Object} value
826
+ * @param {Object} [options]
827
+ * @return {ServerResponse} for chaining
828
+ * @public
829
+ */
830
+
831
+ res.cookie = function (name, value, options) {
832
+ var opts = merge({}, options);
833
+ var secret = this.req.secret;
834
+ var signed = opts.signed;
835
+
836
+ if (signed && !secret) {
837
+ throw new Error('cookieParser("secret") required for signed cookies');
838
+ }
839
+
840
+ var val = typeof value === 'object'
841
+ ? 'j:' + JSON.stringify(value)
842
+ : String(value);
843
+
844
+ if (signed) {
845
+ val = 's:' + sign(val, secret);
846
+ }
847
+
848
+ if ('maxAge' in opts) {
849
+ opts.expires = new Date(Date.now() + opts.maxAge);
850
+ opts.maxAge /= 1000;
851
+ }
852
+
853
+ if (opts.path == null) {
854
+ opts.path = '/';
855
+ }
856
+
857
+ this.append('Set-Cookie', cookie.serialize(name, String(val), opts));
858
+
859
+ return this;
860
+ };
861
+
862
+ /**
863
+ * Set the location header to `url`.
864
+ *
865
+ * The given `url` can also be "back", which redirects
866
+ * to the _Referrer_ or _Referer_ headers or "/".
867
+ *
868
+ * Examples:
869
+ *
870
+ * res.location('/foo/bar').;
871
+ * res.location('http://example.com');
872
+ * res.location('../login');
873
+ *
874
+ * @param {String} url
875
+ * @return {ServerResponse} for chaining
876
+ * @public
877
+ */
878
+
879
+ res.location = function location(url) {
880
+ var loc = url;
881
+
882
+ // "back" is an alias for the referrer
883
+ if (url === 'back') {
884
+ loc = this.req.get('Referrer') || '/';
885
+ }
886
+
887
+ // set location
888
+ return this.set('Location', encodeUrl(loc));
889
+ };
890
+
891
+ /**
892
+ * Redirect to the given `url` with optional response `status`
893
+ * defaulting to 302.
894
+ *
895
+ * The resulting `url` is determined by `res.location()`, so
896
+ * it will play nicely with mounted apps, relative paths,
897
+ * `"back"` etc.
898
+ *
899
+ * Examples:
900
+ *
901
+ * res.redirect('/foo/bar');
902
+ * res.redirect('http://example.com');
903
+ * res.redirect(301, 'http://example.com');
904
+ * res.redirect('../login'); // /blog/post/1 -> /blog/login
905
+ *
906
+ * @public
907
+ */
908
+
909
+ res.redirect = function redirect(url) {
910
+ var address = url;
911
+ var body;
912
+ var status = 302;
913
+
914
+ // allow status / url
915
+ if (arguments.length === 2) {
916
+ if (typeof arguments[0] === 'number') {
917
+ status = arguments[0];
918
+ address = arguments[1];
919
+ } else {
920
+ deprecate('res.redirect(url, status): Use res.redirect(status, url) instead');
921
+ status = arguments[1];
922
+ }
923
+ }
924
+
925
+ // Set location header
926
+ address = this.location(address).get('Location');
927
+
928
+ // Support text/{plain,html} by default
929
+ this.format({
930
+ text: function(){
931
+ body = statuses[status] + '. Redirecting to ' + address
932
+ },
933
+
934
+ html: function(){
935
+ var u = escapeHtml(address);
936
+ body = '<p>' + statuses[status] + '. Redirecting to <a href="' + u + '">' + u + '</a></p>'
937
+ },
938
+
939
+ default: function(){
940
+ body = '';
941
+ }
942
+ });
943
+
944
+ // Respond
945
+ this.statusCode = status;
946
+ this.set('Content-Length', Buffer.byteLength(body));
947
+
948
+ if (this.req.method === 'HEAD') {
949
+ this.end();
950
+ } else {
951
+ this.end(body);
952
+ }
953
+ };
954
+
955
+ /**
956
+ * Add `field` to Vary. If already present in the Vary set, then
957
+ * this call is simply ignored.
958
+ *
959
+ * @param {Array|String} field
960
+ * @return {ServerResponse} for chaining
961
+ * @public
962
+ */
963
+
964
+ res.vary = function(field){
965
+ // checks for back-compat
966
+ if (!field || (Array.isArray(field) && !field.length)) {
967
+ deprecate('res.vary(): Provide a field name');
968
+ return this;
969
+ }
970
+
971
+ vary(this, field);
972
+
973
+ return this;
974
+ };
975
+
976
+ /**
977
+ * Render `view` with the given `options` and optional callback `fn`.
978
+ * When a callback function is given a response will _not_ be made
979
+ * automatically, otherwise a response of _200_ and _text/html_ is given.
980
+ *
981
+ * Options:
982
+ *
983
+ * - `cache` boolean hinting to the engine it should cache
984
+ * - `filename` filename of the view being rendered
985
+ *
986
+ * @public
987
+ */
988
+
989
+ res.render = function render(view, options, callback) {
990
+ var app = this.req.app;
991
+ var done = callback;
992
+ var opts = options || {};
993
+ var req = this.req;
994
+ var self = this;
995
+
996
+ // support callback function as second arg
997
+ if (typeof options === 'function') {
998
+ done = options;
999
+ opts = {};
1000
+ }
1001
+
1002
+ // merge res.locals
1003
+ opts._locals = self.locals;
1004
+
1005
+ // default callback to respond
1006
+ done = done || function (err, str) {
1007
+ if (err) return req.next(err);
1008
+ self.send(str);
1009
+ };
1010
+
1011
+ // render
1012
+ app.render(view, opts, done);
1013
+ };
1014
+
1015
+ // pipe the send file stream
1016
+ function sendfile(res, file, options, callback) {
1017
+ var done = false;
1018
+ var streaming;
1019
+
1020
+ // request aborted
1021
+ function onaborted() {
1022
+ if (done) return;
1023
+ done = true;
1024
+
1025
+ var err = new Error('Request aborted');
1026
+ err.code = 'ECONNABORTED';
1027
+ callback(err);
1028
+ }
1029
+
1030
+ // directory
1031
+ function ondirectory() {
1032
+ if (done) return;
1033
+ done = true;
1034
+
1035
+ var err = new Error('EISDIR, read');
1036
+ err.code = 'EISDIR';
1037
+ callback(err);
1038
+ }
1039
+
1040
+ // errors
1041
+ function onerror(err) {
1042
+ if (done) return;
1043
+ done = true;
1044
+ callback(err);
1045
+ }
1046
+
1047
+ // ended
1048
+ function onend() {
1049
+ if (done) return;
1050
+ done = true;
1051
+ callback();
1052
+ }
1053
+
1054
+ // file
1055
+ function onfile() {
1056
+ streaming = false;
1057
+ }
1058
+
1059
+ // finished
1060
+ function onfinish(err) {
1061
+ if (err && err.code === 'ECONNRESET') return onaborted();
1062
+ if (err) return onerror(err);
1063
+ if (done) return;
1064
+
1065
+ setImmediate(function () {
1066
+ if (streaming !== false && !done) {
1067
+ onaborted();
1068
+ return;
1069
+ }
1070
+
1071
+ if (done) return;
1072
+ done = true;
1073
+ callback();
1074
+ });
1075
+ }
1076
+
1077
+ // streaming
1078
+ function onstream() {
1079
+ streaming = true;
1080
+ }
1081
+
1082
+ file.on('directory', ondirectory);
1083
+ file.on('end', onend);
1084
+ file.on('error', onerror);
1085
+ file.on('file', onfile);
1086
+ file.on('stream', onstream);
1087
+ onFinished(res, onfinish);
1088
+
1089
+ if (options.headers) {
1090
+ // set headers on successful transfer
1091
+ file.on('headers', function headers(res) {
1092
+ var obj = options.headers;
1093
+ var keys = Object.keys(obj);
1094
+
1095
+ for (var i = 0; i < keys.length; i++) {
1096
+ var k = keys[i];
1097
+ res.setHeader(k, obj[k]);
1098
+ }
1099
+ });
1100
+ }
1101
+
1102
+ // pipe
1103
+ file.pipe(res);
1104
+ }
1105
+
1106
+ /**
1107
+ * Stringify JSON, like JSON.stringify, but v8 optimized, with the
1108
+ * ability to escape characters that can trigger HTML sniffing.
1109
+ *
1110
+ * @param {*} value
1111
+ * @param {function} replaces
1112
+ * @param {number} spaces
1113
+ * @param {boolean} escape
1114
+ * @returns {string}
1115
+ * @private
1116
+ */
1117
+
1118
+ function stringify (value, replacer, spaces, escape) {
1119
+ // v8 checks arguments.length for optimizing simple call
1120
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4730
1121
+ var json = replacer || spaces
1122
+ ? JSON.stringify(value, replacer, spaces)
1123
+ : JSON.stringify(value);
1124
+
1125
+ if (escape) {
1126
+ json = json.replace(/[<>&]/g, function (c) {
1127
+ switch (c.charCodeAt(0)) {
1128
+ case 0x3c:
1129
+ return '\\u003c'
1130
+ case 0x3e:
1131
+ return '\\u003e'
1132
+ case 0x26:
1133
+ return '\\u0026'
1134
+ /* istanbul ignore next: unreachable default */
1135
+ default:
1136
+ return c
1137
+ }
1138
+ })
1139
+ }
1140
+
1141
+ return json
1142
+ }