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.
- package/package.json +1 -0
- package/public/index.html +1 -0
- package/public/main.js +2 -0
- package/server/node_modules/.package-lock.json +813 -0
- package/server/node_modules/@dabh/diagnostics/CHANGELOG.md +26 -0
- package/server/node_modules/@dabh/diagnostics/LICENSE +20 -0
- package/server/node_modules/@dabh/diagnostics/README.md +473 -0
- package/server/node_modules/@dabh/diagnostics/adapters/hash.js +11 -0
- package/server/node_modules/@dabh/diagnostics/adapters/index.js +18 -0
- package/server/node_modules/@dabh/diagnostics/adapters/localstorage.js +11 -0
- package/server/node_modules/@dabh/diagnostics/adapters/process.env.js +11 -0
- package/server/node_modules/@dabh/diagnostics/browser/development.js +35 -0
- package/server/node_modules/@dabh/diagnostics/browser/index.js +8 -0
- package/server/node_modules/@dabh/diagnostics/browser/override.js +6 -0
- package/server/node_modules/@dabh/diagnostics/browser/production.js +24 -0
- package/server/node_modules/@dabh/diagnostics/diagnostics.js +212 -0
- package/server/node_modules/@dabh/diagnostics/example.png +0 -0
- package/server/node_modules/@dabh/diagnostics/logger/console.js +19 -0
- package/server/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js +20 -0
- package/server/node_modules/@dabh/diagnostics/modifiers/namespace.js +32 -0
- package/server/node_modules/@dabh/diagnostics/node/development.js +36 -0
- package/server/node_modules/@dabh/diagnostics/node/index.js +8 -0
- package/server/node_modules/@dabh/diagnostics/node/override.js +21 -0
- package/server/node_modules/@dabh/diagnostics/node/production.js +24 -0
- package/server/node_modules/@dabh/diagnostics/package.json +64 -0
- package/server/node_modules/accepts/HISTORY.md +236 -0
- package/server/node_modules/accepts/LICENSE +23 -0
- package/server/node_modules/accepts/README.md +142 -0
- package/server/node_modules/accepts/index.js +238 -0
- package/server/node_modules/accepts/package.json +47 -0
- package/server/node_modules/array-flatten/LICENSE +21 -0
- package/server/node_modules/array-flatten/README.md +43 -0
- package/server/node_modules/array-flatten/array-flatten.js +64 -0
- package/server/node_modules/array-flatten/package.json +39 -0
- package/server/node_modules/async/CHANGELOG.md +341 -0
- package/server/node_modules/async/LICENSE +19 -0
- package/server/node_modules/async/README.md +60 -0
- package/server/node_modules/async/all.js +119 -0
- package/server/node_modules/async/allLimit.js +46 -0
- package/server/node_modules/async/allSeries.js +45 -0
- package/server/node_modules/async/any.js +122 -0
- package/server/node_modules/async/anyLimit.js +47 -0
- package/server/node_modules/async/anySeries.js +46 -0
- package/server/node_modules/async/apply.js +55 -0
- package/server/node_modules/async/applyEach.js +57 -0
- package/server/node_modules/async/applyEachSeries.js +37 -0
- package/server/node_modules/async/asyncify.js +118 -0
- package/server/node_modules/async/auto.js +333 -0
- package/server/node_modules/async/autoInject.js +156 -0
- package/server/node_modules/async/bower.json +17 -0
- package/server/node_modules/async/cargo.js +63 -0
- package/server/node_modules/async/cargoQueue.js +71 -0
- package/server/node_modules/async/compose.js +55 -0
- package/server/node_modules/async/concat.js +115 -0
- package/server/node_modules/async/concatLimit.js +60 -0
- package/server/node_modules/async/concatSeries.js +41 -0
- package/server/node_modules/async/constant.js +55 -0
- package/server/node_modules/async/detect.js +96 -0
- package/server/node_modules/async/detectLimit.js +48 -0
- package/server/node_modules/async/detectSeries.js +47 -0
- package/server/node_modules/async/dir.js +43 -0
- package/server/node_modules/async/dist/async.js +6029 -0
- package/server/node_modules/async/dist/async.min.js +1 -0
- package/server/node_modules/async/dist/async.mjs +5917 -0
- package/server/node_modules/async/doDuring.js +68 -0
- package/server/node_modules/async/doUntil.js +46 -0
- package/server/node_modules/async/doWhilst.js +68 -0
- package/server/node_modules/async/during.js +78 -0
- package/server/node_modules/async/each.js +129 -0
- package/server/node_modules/async/eachLimit.js +50 -0
- package/server/node_modules/async/eachOf.js +185 -0
- package/server/node_modules/async/eachOfLimit.js +47 -0
- package/server/node_modules/async/eachOfSeries.js +39 -0
- package/server/node_modules/async/eachSeries.js +44 -0
- package/server/node_modules/async/ensureAsync.js +67 -0
- package/server/node_modules/async/every.js +119 -0
- package/server/node_modules/async/everyLimit.js +46 -0
- package/server/node_modules/async/everySeries.js +45 -0
- package/server/node_modules/async/filter.js +93 -0
- package/server/node_modules/async/filterLimit.js +45 -0
- package/server/node_modules/async/filterSeries.js +43 -0
- package/server/node_modules/async/find.js +96 -0
- package/server/node_modules/async/findLimit.js +48 -0
- package/server/node_modules/async/findSeries.js +47 -0
- package/server/node_modules/async/flatMap.js +115 -0
- package/server/node_modules/async/flatMapLimit.js +60 -0
- package/server/node_modules/async/flatMapSeries.js +41 -0
- package/server/node_modules/async/foldl.js +153 -0
- package/server/node_modules/async/foldr.js +41 -0
- package/server/node_modules/async/forEach.js +129 -0
- package/server/node_modules/async/forEachLimit.js +50 -0
- package/server/node_modules/async/forEachOf.js +185 -0
- package/server/node_modules/async/forEachOfLimit.js +47 -0
- package/server/node_modules/async/forEachOfSeries.js +39 -0
- package/server/node_modules/async/forEachSeries.js +44 -0
- package/server/node_modules/async/forever.js +68 -0
- package/server/node_modules/async/groupBy.js +108 -0
- package/server/node_modules/async/groupByLimit.js +71 -0
- package/server/node_modules/async/groupBySeries.js +36 -0
- package/server/node_modules/async/index.js +588 -0
- package/server/node_modules/async/inject.js +153 -0
- package/server/node_modules/async/internal/DoublyLinkedList.js +92 -0
- package/server/node_modules/async/internal/Heap.js +120 -0
- package/server/node_modules/async/internal/applyEach.js +29 -0
- package/server/node_modules/async/internal/asyncEachOfLimit.js +75 -0
- package/server/node_modules/async/internal/awaitify.js +27 -0
- package/server/node_modules/async/internal/breakLoop.js +10 -0
- package/server/node_modules/async/internal/consoleFunc.js +31 -0
- package/server/node_modules/async/internal/createTester.js +40 -0
- package/server/node_modules/async/internal/eachOfLimit.js +90 -0
- package/server/node_modules/async/internal/filter.js +55 -0
- package/server/node_modules/async/internal/getIterator.js +11 -0
- package/server/node_modules/async/internal/initialParams.js +14 -0
- package/server/node_modules/async/internal/isArrayLike.js +10 -0
- package/server/node_modules/async/internal/iterator.js +57 -0
- package/server/node_modules/async/internal/map.js +30 -0
- package/server/node_modules/async/internal/once.js +17 -0
- package/server/node_modules/async/internal/onlyOnce.js +15 -0
- package/server/node_modules/async/internal/parallel.js +34 -0
- package/server/node_modules/async/internal/promiseCallback.js +23 -0
- package/server/node_modules/async/internal/queue.js +291 -0
- package/server/node_modules/async/internal/range.js +14 -0
- package/server/node_modules/async/internal/reject.js +26 -0
- package/server/node_modules/async/internal/setImmediate.js +33 -0
- package/server/node_modules/async/internal/withoutIndex.js +10 -0
- package/server/node_modules/async/internal/wrapAsync.js +34 -0
- package/server/node_modules/async/log.js +41 -0
- package/server/node_modules/async/map.js +142 -0
- package/server/node_modules/async/mapLimit.js +45 -0
- package/server/node_modules/async/mapSeries.js +44 -0
- package/server/node_modules/async/mapValues.js +152 -0
- package/server/node_modules/async/mapValuesLimit.js +61 -0
- package/server/node_modules/async/mapValuesSeries.js +37 -0
- package/server/node_modules/async/memoize.js +91 -0
- package/server/node_modules/async/nextTick.js +52 -0
- package/server/node_modules/async/package.json +82 -0
- package/server/node_modules/async/parallel.js +180 -0
- package/server/node_modules/async/parallelLimit.js +41 -0
- package/server/node_modules/async/priorityQueue.js +91 -0
- package/server/node_modules/async/queue.js +167 -0
- package/server/node_modules/async/race.js +67 -0
- package/server/node_modules/async/reduce.js +153 -0
- package/server/node_modules/async/reduceRight.js +41 -0
- package/server/node_modules/async/reflect.js +78 -0
- package/server/node_modules/async/reflectAll.js +93 -0
- package/server/node_modules/async/reject.js +87 -0
- package/server/node_modules/async/rejectLimit.js +45 -0
- package/server/node_modules/async/rejectSeries.js +43 -0
- package/server/node_modules/async/retry.js +159 -0
- package/server/node_modules/async/retryable.js +77 -0
- package/server/node_modules/async/select.js +93 -0
- package/server/node_modules/async/selectLimit.js +45 -0
- package/server/node_modules/async/selectSeries.js +43 -0
- package/server/node_modules/async/seq.js +79 -0
- package/server/node_modules/async/series.js +186 -0
- package/server/node_modules/async/setImmediate.js +45 -0
- package/server/node_modules/async/some.js +122 -0
- package/server/node_modules/async/someLimit.js +47 -0
- package/server/node_modules/async/someSeries.js +46 -0
- package/server/node_modules/async/sortBy.js +190 -0
- package/server/node_modules/async/timeout.js +89 -0
- package/server/node_modules/async/times.js +50 -0
- package/server/node_modules/async/timesLimit.js +43 -0
- package/server/node_modules/async/timesSeries.js +32 -0
- package/server/node_modules/async/transform.js +173 -0
- package/server/node_modules/async/tryEach.js +78 -0
- package/server/node_modules/async/unmemoize.js +25 -0
- package/server/node_modules/async/until.js +61 -0
- package/server/node_modules/async/waterfall.js +105 -0
- package/server/node_modules/async/whilst.js +78 -0
- package/server/node_modules/async/wrapSync.js +118 -0
- package/server/node_modules/body-parser/HISTORY.md +609 -0
- package/server/node_modules/body-parser/LICENSE +23 -0
- package/server/node_modules/body-parser/README.md +443 -0
- package/server/node_modules/body-parser/index.js +157 -0
- package/server/node_modules/body-parser/lib/read.js +181 -0
- package/server/node_modules/body-parser/lib/types/json.js +230 -0
- package/server/node_modules/body-parser/lib/types/raw.js +101 -0
- package/server/node_modules/body-parser/lib/types/text.js +121 -0
- package/server/node_modules/body-parser/lib/types/urlencoded.js +284 -0
- package/server/node_modules/body-parser/package.json +52 -0
- package/server/node_modules/bytes/History.md +87 -0
- package/server/node_modules/bytes/LICENSE +23 -0
- package/server/node_modules/bytes/Readme.md +126 -0
- package/server/node_modules/bytes/index.js +162 -0
- package/server/node_modules/bytes/package.json +41 -0
- package/server/node_modules/cli-table/LICENSE +21 -0
- package/server/node_modules/cli-table/README.md +192 -0
- package/server/node_modules/cli-table/lib/index.js +304 -0
- package/server/node_modules/cli-table/lib/utils.js +88 -0
- package/server/node_modules/cli-table/node_modules/ansi-regex/index.d.ts +37 -0
- package/server/node_modules/cli-table/node_modules/ansi-regex/index.js +10 -0
- package/server/node_modules/cli-table/node_modules/ansi-regex/license +9 -0
- package/server/node_modules/cli-table/node_modules/ansi-regex/package.json +55 -0
- package/server/node_modules/cli-table/node_modules/ansi-regex/readme.md +78 -0
- package/server/node_modules/cli-table/node_modules/strip-ansi/index.d.ts +17 -0
- package/server/node_modules/cli-table/node_modules/strip-ansi/index.js +4 -0
- package/server/node_modules/cli-table/node_modules/strip-ansi/license +9 -0
- package/server/node_modules/cli-table/node_modules/strip-ansi/package.json +54 -0
- package/server/node_modules/cli-table/node_modules/strip-ansi/readme.md +46 -0
- package/server/node_modules/cli-table/package.json +39 -0
- package/server/node_modules/color/LICENSE +21 -0
- package/server/node_modules/color/README.md +123 -0
- package/server/node_modules/color/index.js +482 -0
- package/server/node_modules/color/node_modules/color-convert/CHANGELOG.md +54 -0
- package/server/node_modules/color/node_modules/color-convert/LICENSE +21 -0
- package/server/node_modules/color/node_modules/color-convert/README.md +68 -0
- package/server/node_modules/color/node_modules/color-convert/conversions.js +868 -0
- package/server/node_modules/color/node_modules/color-convert/index.js +78 -0
- package/server/node_modules/color/node_modules/color-convert/package.json +46 -0
- package/server/node_modules/color/node_modules/color-convert/route.js +97 -0
- package/server/node_modules/color/node_modules/color-name/.eslintrc.json +43 -0
- package/server/node_modules/color/node_modules/color-name/LICENSE +8 -0
- package/server/node_modules/color/node_modules/color-name/README.md +11 -0
- package/server/node_modules/color/node_modules/color-name/index.js +152 -0
- package/server/node_modules/color/node_modules/color-name/package.json +25 -0
- package/server/node_modules/color/node_modules/color-name/test.js +7 -0
- package/server/node_modules/color/package.json +40 -0
- package/server/node_modules/color-name/LICENSE +8 -0
- package/server/node_modules/color-name/README.md +11 -0
- package/server/node_modules/color-name/index.js +152 -0
- package/server/node_modules/color-name/package.json +28 -0
- package/server/node_modules/color-string/LICENSE +21 -0
- package/server/node_modules/color-string/README.md +62 -0
- package/server/node_modules/color-string/index.js +242 -0
- package/server/node_modules/color-string/package.json +39 -0
- package/server/node_modules/colors/.travis.yml +6 -0
- package/server/node_modules/colors/MIT-LICENSE.txt +23 -0
- package/server/node_modules/colors/ReadMe.md +167 -0
- package/server/node_modules/colors/examples/normal-usage.js +74 -0
- package/server/node_modules/colors/examples/safe-string.js +76 -0
- package/server/node_modules/colors/lib/colors.js +176 -0
- package/server/node_modules/colors/lib/custom/trap.js +45 -0
- package/server/node_modules/colors/lib/custom/zalgo.js +104 -0
- package/server/node_modules/colors/lib/extendStringPrototype.js +118 -0
- package/server/node_modules/colors/lib/index.js +12 -0
- package/server/node_modules/colors/lib/maps/america.js +12 -0
- package/server/node_modules/colors/lib/maps/rainbow.js +13 -0
- package/server/node_modules/colors/lib/maps/random.js +8 -0
- package/server/node_modules/colors/lib/maps/zebra.js +5 -0
- package/server/node_modules/colors/lib/styles.js +77 -0
- package/server/node_modules/colors/lib/system/supports-colors.js +61 -0
- package/server/node_modules/colors/package.json +21 -0
- package/server/node_modules/colors/safe.js +9 -0
- package/server/node_modules/colors/screenshots/colors.png +0 -0
- package/server/node_modules/colors/tests/basic-test.js +50 -0
- package/server/node_modules/colors/tests/safe-test.js +45 -0
- package/server/node_modules/colors/themes/generic-logging.js +12 -0
- package/server/node_modules/colorspace/LICENSE.md +20 -0
- package/server/node_modules/colorspace/README.md +43 -0
- package/server/node_modules/colorspace/index.js +29 -0
- package/server/node_modules/colorspace/package.json +37 -0
- package/server/node_modules/content-disposition/HISTORY.md +55 -0
- package/server/node_modules/content-disposition/LICENSE +22 -0
- package/server/node_modules/content-disposition/README.md +148 -0
- package/server/node_modules/content-disposition/index.js +458 -0
- package/server/node_modules/content-disposition/package.json +44 -0
- package/server/node_modules/content-type/HISTORY.md +24 -0
- package/server/node_modules/content-type/LICENSE +22 -0
- package/server/node_modules/content-type/README.md +92 -0
- package/server/node_modules/content-type/index.js +222 -0
- package/server/node_modules/content-type/package.json +40 -0
- package/server/node_modules/cookie/HISTORY.md +123 -0
- package/server/node_modules/cookie/LICENSE +24 -0
- package/server/node_modules/cookie/README.md +253 -0
- package/server/node_modules/cookie/index.js +198 -0
- package/server/node_modules/cookie/package.json +40 -0
- package/server/node_modules/cookie-signature/History.md +38 -0
- package/server/node_modules/cookie-signature/Readme.md +42 -0
- package/server/node_modules/cookie-signature/index.js +51 -0
- package/server/node_modules/cookie-signature/package.json +18 -0
- package/server/node_modules/core-util-is/LICENSE +19 -0
- package/server/node_modules/core-util-is/README.md +3 -0
- package/server/node_modules/core-util-is/lib/util.js +107 -0
- package/server/node_modules/core-util-is/package.json +38 -0
- package/server/node_modules/debug/.coveralls.yml +1 -0
- package/server/node_modules/debug/.eslintrc +11 -0
- package/server/node_modules/debug/.travis.yml +14 -0
- package/server/node_modules/debug/CHANGELOG.md +362 -0
- package/server/node_modules/debug/LICENSE +19 -0
- package/server/node_modules/debug/Makefile +50 -0
- package/server/node_modules/debug/README.md +312 -0
- package/server/node_modules/debug/component.json +19 -0
- package/server/node_modules/debug/karma.conf.js +70 -0
- package/server/node_modules/debug/node.js +1 -0
- package/server/node_modules/debug/package.json +49 -0
- package/server/node_modules/debug/src/browser.js +185 -0
- package/server/node_modules/debug/src/debug.js +202 -0
- package/server/node_modules/debug/src/index.js +10 -0
- package/server/node_modules/debug/src/inspector-log.js +15 -0
- package/server/node_modules/debug/src/node.js +248 -0
- package/server/node_modules/deepmerge/changelog.md +159 -0
- package/server/node_modules/deepmerge/dist/cjs.js +133 -0
- package/server/node_modules/deepmerge/dist/umd.js +139 -0
- package/server/node_modules/deepmerge/index.d.ts +16 -0
- package/server/node_modules/deepmerge/index.js +106 -0
- package/server/node_modules/deepmerge/license.txt +21 -0
- package/server/node_modules/deepmerge/package.json +43 -0
- package/server/node_modules/deepmerge/readme.md +264 -0
- package/server/node_modules/deepmerge/rollup.config.js +22 -0
- package/server/node_modules/depd/History.md +96 -0
- package/server/node_modules/depd/LICENSE +22 -0
- package/server/node_modules/depd/Readme.md +280 -0
- package/server/node_modules/depd/index.js +522 -0
- package/server/node_modules/depd/lib/browser/index.js +77 -0
- package/server/node_modules/depd/lib/compat/callsite-tostring.js +103 -0
- package/server/node_modules/depd/lib/compat/event-listener-count.js +22 -0
- package/server/node_modules/depd/lib/compat/index.js +79 -0
- package/server/node_modules/depd/package.json +41 -0
- package/server/node_modules/destroy/LICENSE +22 -0
- package/server/node_modules/destroy/README.md +60 -0
- package/server/node_modules/destroy/index.js +75 -0
- package/server/node_modules/destroy/package.json +37 -0
- package/server/node_modules/ee-first/LICENSE +22 -0
- package/server/node_modules/ee-first/README.md +80 -0
- package/server/node_modules/ee-first/index.js +95 -0
- package/server/node_modules/ee-first/package.json +29 -0
- package/server/node_modules/enabled/.travis.yml +9 -0
- package/server/node_modules/enabled/LICENSE +20 -0
- package/server/node_modules/enabled/README.md +68 -0
- package/server/node_modules/enabled/index.js +34 -0
- package/server/node_modules/enabled/package.json +33 -0
- package/server/node_modules/enabled/test.js +39 -0
- package/server/node_modules/encodeurl/HISTORY.md +14 -0
- package/server/node_modules/encodeurl/LICENSE +22 -0
- package/server/node_modules/encodeurl/README.md +128 -0
- package/server/node_modules/encodeurl/index.js +60 -0
- package/server/node_modules/encodeurl/package.json +40 -0
- package/server/node_modules/escape-html/LICENSE +24 -0
- package/server/node_modules/escape-html/Readme.md +43 -0
- package/server/node_modules/escape-html/index.js +78 -0
- package/server/node_modules/escape-html/package.json +24 -0
- package/server/node_modules/etag/HISTORY.md +83 -0
- package/server/node_modules/etag/LICENSE +22 -0
- package/server/node_modules/etag/README.md +159 -0
- package/server/node_modules/etag/index.js +131 -0
- package/server/node_modules/etag/package.json +47 -0
- package/server/node_modules/express/History.md +3477 -0
- package/server/node_modules/express/LICENSE +24 -0
- package/server/node_modules/express/Readme.md +155 -0
- package/server/node_modules/express/index.js +11 -0
- package/server/node_modules/express/lib/application.js +644 -0
- package/server/node_modules/express/lib/express.js +116 -0
- package/server/node_modules/express/lib/middleware/init.js +43 -0
- package/server/node_modules/express/lib/middleware/query.js +47 -0
- package/server/node_modules/express/lib/request.js +525 -0
- package/server/node_modules/express/lib/response.js +1142 -0
- package/server/node_modules/express/lib/router/index.js +662 -0
- package/server/node_modules/express/lib/router/layer.js +181 -0
- package/server/node_modules/express/lib/router/route.js +216 -0
- package/server/node_modules/express/lib/utils.js +306 -0
- package/server/node_modules/express/lib/view.js +182 -0
- package/server/node_modules/express/package.json +98 -0
- package/server/node_modules/fecha/CHANGELOG.md +71 -0
- package/server/node_modules/fecha/LICENSE +22 -0
- package/server/node_modules/fecha/README.md +320 -0
- package/server/node_modules/fecha/dist/fecha.min.js +2 -0
- package/server/node_modules/fecha/dist/fecha.min.js.map +1 -0
- package/server/node_modules/fecha/lib/fecha.d.ts +52 -0
- package/server/node_modules/fecha/lib/fecha.js +386 -0
- package/server/node_modules/fecha/lib/fecha.js.map +1 -0
- package/server/node_modules/fecha/lib/fecha.umd.js +401 -0
- package/server/node_modules/fecha/lib/fecha.umd.js.map +1 -0
- package/server/node_modules/fecha/package.json +55 -0
- package/server/node_modules/fecha/src/fecha.ts +506 -0
- package/server/node_modules/finalhandler/HISTORY.md +187 -0
- package/server/node_modules/finalhandler/LICENSE +22 -0
- package/server/node_modules/finalhandler/README.md +148 -0
- package/server/node_modules/finalhandler/index.js +331 -0
- package/server/node_modules/finalhandler/package.json +45 -0
- package/server/node_modules/fn.name/.gitattributes +1 -0
- package/server/node_modules/fn.name/.travis.yml +10 -0
- package/server/node_modules/fn.name/LICENSE +22 -0
- package/server/node_modules/fn.name/README.md +42 -0
- package/server/node_modules/fn.name/index.js +42 -0
- package/server/node_modules/fn.name/package.json +37 -0
- package/server/node_modules/fn.name/test.js +73 -0
- package/server/node_modules/forwarded/HISTORY.md +21 -0
- package/server/node_modules/forwarded/LICENSE +22 -0
- package/server/node_modules/forwarded/README.md +57 -0
- package/server/node_modules/forwarded/index.js +90 -0
- package/server/node_modules/forwarded/package.json +45 -0
- package/server/node_modules/fresh/HISTORY.md +70 -0
- package/server/node_modules/fresh/LICENSE +23 -0
- package/server/node_modules/fresh/README.md +119 -0
- package/server/node_modules/fresh/index.js +137 -0
- package/server/node_modules/fresh/package.json +46 -0
- package/server/node_modules/http-errors/HISTORY.md +149 -0
- package/server/node_modules/http-errors/LICENSE +23 -0
- package/server/node_modules/http-errors/README.md +163 -0
- package/server/node_modules/http-errors/index.js +266 -0
- package/server/node_modules/http-errors/package.json +49 -0
- package/server/node_modules/iconv-lite/Changelog.md +162 -0
- package/server/node_modules/iconv-lite/LICENSE +21 -0
- package/server/node_modules/iconv-lite/README.md +156 -0
- package/server/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
- package/server/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
- package/server/node_modules/iconv-lite/encodings/index.js +22 -0
- package/server/node_modules/iconv-lite/encodings/internal.js +188 -0
- package/server/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/server/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/server/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
- package/server/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/server/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/server/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/server/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/server/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/server/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/server/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
- package/server/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/server/node_modules/iconv-lite/encodings/utf16.js +177 -0
- package/server/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/server/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/server/node_modules/iconv-lite/lib/extend-node.js +217 -0
- package/server/node_modules/iconv-lite/lib/index.d.ts +24 -0
- package/server/node_modules/iconv-lite/lib/index.js +153 -0
- package/server/node_modules/iconv-lite/lib/streams.js +121 -0
- package/server/node_modules/iconv-lite/package.json +46 -0
- package/server/node_modules/inherits/LICENSE +16 -0
- package/server/node_modules/inherits/README.md +42 -0
- package/server/node_modules/inherits/inherits.js +7 -0
- package/server/node_modules/inherits/inherits_browser.js +23 -0
- package/server/node_modules/inherits/package.json +29 -0
- package/server/node_modules/ipaddr.js/LICENSE +19 -0
- package/server/node_modules/ipaddr.js/README.md +233 -0
- package/server/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/server/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/server/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/server/node_modules/ipaddr.js/package.json +35 -0
- package/server/node_modules/is-arrayish/LICENSE +21 -0
- package/server/node_modules/is-arrayish/README.md +16 -0
- package/server/node_modules/is-arrayish/index.js +9 -0
- package/server/node_modules/is-arrayish/package.json +45 -0
- package/server/node_modules/is-arrayish/yarn-error.log +1443 -0
- package/server/node_modules/is-stream/index.d.ts +79 -0
- package/server/node_modules/is-stream/index.js +28 -0
- package/server/node_modules/is-stream/license +9 -0
- package/server/node_modules/is-stream/package.json +42 -0
- package/server/node_modules/is-stream/readme.md +60 -0
- package/server/node_modules/isarray/.travis.yml +4 -0
- package/server/node_modules/isarray/Makefile +6 -0
- package/server/node_modules/isarray/README.md +60 -0
- package/server/node_modules/isarray/component.json +19 -0
- package/server/node_modules/isarray/index.js +5 -0
- package/server/node_modules/isarray/package.json +45 -0
- package/server/node_modules/isarray/test.js +20 -0
- package/server/node_modules/kuler/.travis.yml +5 -0
- package/server/node_modules/kuler/LICENSE +7 -0
- package/server/node_modules/kuler/README.md +40 -0
- package/server/node_modules/kuler/index.js +118 -0
- package/server/node_modules/kuler/package.json +34 -0
- package/server/node_modules/kuler/test.js +23 -0
- package/server/node_modules/lodash/LICENSE +47 -0
- package/server/node_modules/lodash/README.md +39 -0
- package/server/node_modules/lodash/_DataView.js +7 -0
- package/server/node_modules/lodash/_Hash.js +32 -0
- package/server/node_modules/lodash/_LazyWrapper.js +28 -0
- package/server/node_modules/lodash/_ListCache.js +32 -0
- package/server/node_modules/lodash/_LodashWrapper.js +22 -0
- package/server/node_modules/lodash/_Map.js +7 -0
- package/server/node_modules/lodash/_MapCache.js +32 -0
- package/server/node_modules/lodash/_Promise.js +7 -0
- package/server/node_modules/lodash/_Set.js +7 -0
- package/server/node_modules/lodash/_SetCache.js +27 -0
- package/server/node_modules/lodash/_Stack.js +27 -0
- package/server/node_modules/lodash/_Symbol.js +6 -0
- package/server/node_modules/lodash/_Uint8Array.js +6 -0
- package/server/node_modules/lodash/_WeakMap.js +7 -0
- package/server/node_modules/lodash/_apply.js +21 -0
- package/server/node_modules/lodash/_arrayAggregator.js +22 -0
- package/server/node_modules/lodash/_arrayEach.js +22 -0
- package/server/node_modules/lodash/_arrayEachRight.js +21 -0
- package/server/node_modules/lodash/_arrayEvery.js +23 -0
- package/server/node_modules/lodash/_arrayFilter.js +25 -0
- package/server/node_modules/lodash/_arrayIncludes.js +17 -0
- package/server/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/server/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/server/node_modules/lodash/_arrayMap.js +21 -0
- package/server/node_modules/lodash/_arrayPush.js +20 -0
- package/server/node_modules/lodash/_arrayReduce.js +26 -0
- package/server/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/server/node_modules/lodash/_arraySample.js +15 -0
- package/server/node_modules/lodash/_arraySampleSize.js +17 -0
- package/server/node_modules/lodash/_arrayShuffle.js +15 -0
- package/server/node_modules/lodash/_arraySome.js +23 -0
- package/server/node_modules/lodash/_asciiSize.js +12 -0
- package/server/node_modules/lodash/_asciiToArray.js +12 -0
- package/server/node_modules/lodash/_asciiWords.js +15 -0
- package/server/node_modules/lodash/_assignMergeValue.js +20 -0
- package/server/node_modules/lodash/_assignValue.js +28 -0
- package/server/node_modules/lodash/_assocIndexOf.js +21 -0
- package/server/node_modules/lodash/_baseAggregator.js +21 -0
- package/server/node_modules/lodash/_baseAssign.js +17 -0
- package/server/node_modules/lodash/_baseAssignIn.js +17 -0
- package/server/node_modules/lodash/_baseAssignValue.js +25 -0
- package/server/node_modules/lodash/_baseAt.js +23 -0
- package/server/node_modules/lodash/_baseClamp.js +22 -0
- package/server/node_modules/lodash/_baseClone.js +166 -0
- package/server/node_modules/lodash/_baseConforms.js +18 -0
- package/server/node_modules/lodash/_baseConformsTo.js +27 -0
- package/server/node_modules/lodash/_baseCreate.js +30 -0
- package/server/node_modules/lodash/_baseDelay.js +21 -0
- package/server/node_modules/lodash/_baseDifference.js +67 -0
- package/server/node_modules/lodash/_baseEach.js +14 -0
- package/server/node_modules/lodash/_baseEachRight.js +14 -0
- package/server/node_modules/lodash/_baseEvery.js +21 -0
- package/server/node_modules/lodash/_baseExtremum.js +32 -0
- package/server/node_modules/lodash/_baseFill.js +32 -0
- package/server/node_modules/lodash/_baseFilter.js +21 -0
- package/server/node_modules/lodash/_baseFindIndex.js +24 -0
- package/server/node_modules/lodash/_baseFindKey.js +23 -0
- package/server/node_modules/lodash/_baseFlatten.js +38 -0
- package/server/node_modules/lodash/_baseFor.js +16 -0
- package/server/node_modules/lodash/_baseForOwn.js +16 -0
- package/server/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/server/node_modules/lodash/_baseForRight.js +15 -0
- package/server/node_modules/lodash/_baseFunctions.js +19 -0
- package/server/node_modules/lodash/_baseGet.js +24 -0
- package/server/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/server/node_modules/lodash/_baseGetTag.js +28 -0
- package/server/node_modules/lodash/_baseGt.js +14 -0
- package/server/node_modules/lodash/_baseHas.js +19 -0
- package/server/node_modules/lodash/_baseHasIn.js +13 -0
- package/server/node_modules/lodash/_baseInRange.js +18 -0
- package/server/node_modules/lodash/_baseIndexOf.js +20 -0
- package/server/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/server/node_modules/lodash/_baseIntersection.js +74 -0
- package/server/node_modules/lodash/_baseInverter.js +21 -0
- package/server/node_modules/lodash/_baseInvoke.js +24 -0
- package/server/node_modules/lodash/_baseIsArguments.js +18 -0
- package/server/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/server/node_modules/lodash/_baseIsDate.js +18 -0
- package/server/node_modules/lodash/_baseIsEqual.js +28 -0
- package/server/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/server/node_modules/lodash/_baseIsMap.js +18 -0
- package/server/node_modules/lodash/_baseIsMatch.js +62 -0
- package/server/node_modules/lodash/_baseIsNaN.js +12 -0
- package/server/node_modules/lodash/_baseIsNative.js +47 -0
- package/server/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/server/node_modules/lodash/_baseIsSet.js +18 -0
- package/server/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/server/node_modules/lodash/_baseIteratee.js +31 -0
- package/server/node_modules/lodash/_baseKeys.js +30 -0
- package/server/node_modules/lodash/_baseKeysIn.js +33 -0
- package/server/node_modules/lodash/_baseLodash.js +10 -0
- package/server/node_modules/lodash/_baseLt.js +14 -0
- package/server/node_modules/lodash/_baseMap.js +22 -0
- package/server/node_modules/lodash/_baseMatches.js +22 -0
- package/server/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/server/node_modules/lodash/_baseMean.js +20 -0
- package/server/node_modules/lodash/_baseMerge.js +42 -0
- package/server/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/server/node_modules/lodash/_baseNth.js +20 -0
- package/server/node_modules/lodash/_baseOrderBy.js +49 -0
- package/server/node_modules/lodash/_basePick.js +19 -0
- package/server/node_modules/lodash/_basePickBy.js +30 -0
- package/server/node_modules/lodash/_baseProperty.js +14 -0
- package/server/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/server/node_modules/lodash/_basePropertyOf.js +14 -0
- package/server/node_modules/lodash/_basePullAll.js +51 -0
- package/server/node_modules/lodash/_basePullAt.js +37 -0
- package/server/node_modules/lodash/_baseRandom.js +18 -0
- package/server/node_modules/lodash/_baseRange.js +28 -0
- package/server/node_modules/lodash/_baseReduce.js +23 -0
- package/server/node_modules/lodash/_baseRepeat.js +35 -0
- package/server/node_modules/lodash/_baseRest.js +17 -0
- package/server/node_modules/lodash/_baseSample.js +15 -0
- package/server/node_modules/lodash/_baseSampleSize.js +18 -0
- package/server/node_modules/lodash/_baseSet.js +51 -0
- package/server/node_modules/lodash/_baseSetData.js +17 -0
- package/server/node_modules/lodash/_baseSetToString.js +22 -0
- package/server/node_modules/lodash/_baseShuffle.js +15 -0
- package/server/node_modules/lodash/_baseSlice.js +31 -0
- package/server/node_modules/lodash/_baseSome.js +22 -0
- package/server/node_modules/lodash/_baseSortBy.js +21 -0
- package/server/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/server/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/server/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/server/node_modules/lodash/_baseSum.js +24 -0
- package/server/node_modules/lodash/_baseTimes.js +20 -0
- package/server/node_modules/lodash/_baseToNumber.js +24 -0
- package/server/node_modules/lodash/_baseToPairs.js +18 -0
- package/server/node_modules/lodash/_baseToString.js +37 -0
- package/server/node_modules/lodash/_baseTrim.js +19 -0
- package/server/node_modules/lodash/_baseUnary.js +14 -0
- package/server/node_modules/lodash/_baseUniq.js +72 -0
- package/server/node_modules/lodash/_baseUnset.js +20 -0
- package/server/node_modules/lodash/_baseUpdate.js +18 -0
- package/server/node_modules/lodash/_baseValues.js +19 -0
- package/server/node_modules/lodash/_baseWhile.js +26 -0
- package/server/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/server/node_modules/lodash/_baseXor.js +36 -0
- package/server/node_modules/lodash/_baseZipObject.js +23 -0
- package/server/node_modules/lodash/_cacheHas.js +13 -0
- package/server/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/server/node_modules/lodash/_castFunction.js +14 -0
- package/server/node_modules/lodash/_castPath.js +21 -0
- package/server/node_modules/lodash/_castRest.js +14 -0
- package/server/node_modules/lodash/_castSlice.js +18 -0
- package/server/node_modules/lodash/_charsEndIndex.js +19 -0
- package/server/node_modules/lodash/_charsStartIndex.js +20 -0
- package/server/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/server/node_modules/lodash/_cloneBuffer.js +35 -0
- package/server/node_modules/lodash/_cloneDataView.js +16 -0
- package/server/node_modules/lodash/_cloneRegExp.js +17 -0
- package/server/node_modules/lodash/_cloneSymbol.js +18 -0
- package/server/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/server/node_modules/lodash/_compareAscending.js +41 -0
- package/server/node_modules/lodash/_compareMultiple.js +44 -0
- package/server/node_modules/lodash/_composeArgs.js +39 -0
- package/server/node_modules/lodash/_composeArgsRight.js +41 -0
- package/server/node_modules/lodash/_copyArray.js +20 -0
- package/server/node_modules/lodash/_copyObject.js +40 -0
- package/server/node_modules/lodash/_copySymbols.js +16 -0
- package/server/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/server/node_modules/lodash/_coreJsData.js +6 -0
- package/server/node_modules/lodash/_countHolders.js +21 -0
- package/server/node_modules/lodash/_createAggregator.js +23 -0
- package/server/node_modules/lodash/_createAssigner.js +37 -0
- package/server/node_modules/lodash/_createBaseEach.js +32 -0
- package/server/node_modules/lodash/_createBaseFor.js +25 -0
- package/server/node_modules/lodash/_createBind.js +28 -0
- package/server/node_modules/lodash/_createCaseFirst.js +33 -0
- package/server/node_modules/lodash/_createCompounder.js +24 -0
- package/server/node_modules/lodash/_createCtor.js +37 -0
- package/server/node_modules/lodash/_createCurry.js +46 -0
- package/server/node_modules/lodash/_createFind.js +25 -0
- package/server/node_modules/lodash/_createFlow.js +78 -0
- package/server/node_modules/lodash/_createHybrid.js +92 -0
- package/server/node_modules/lodash/_createInverter.js +17 -0
- package/server/node_modules/lodash/_createMathOperation.js +38 -0
- package/server/node_modules/lodash/_createOver.js +27 -0
- package/server/node_modules/lodash/_createPadding.js +33 -0
- package/server/node_modules/lodash/_createPartial.js +43 -0
- package/server/node_modules/lodash/_createRange.js +30 -0
- package/server/node_modules/lodash/_createRecurry.js +56 -0
- package/server/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/server/node_modules/lodash/_createRound.js +35 -0
- package/server/node_modules/lodash/_createSet.js +19 -0
- package/server/node_modules/lodash/_createToPairs.js +30 -0
- package/server/node_modules/lodash/_createWrap.js +106 -0
- package/server/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/server/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/server/node_modules/lodash/_customOmitClone.js +16 -0
- package/server/node_modules/lodash/_deburrLetter.js +71 -0
- package/server/node_modules/lodash/_defineProperty.js +11 -0
- package/server/node_modules/lodash/_equalArrays.js +84 -0
- package/server/node_modules/lodash/_equalByTag.js +112 -0
- package/server/node_modules/lodash/_equalObjects.js +90 -0
- package/server/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/server/node_modules/lodash/_escapeStringChar.js +22 -0
- package/server/node_modules/lodash/_flatRest.js +16 -0
- package/server/node_modules/lodash/_freeGlobal.js +4 -0
- package/server/node_modules/lodash/_getAllKeys.js +16 -0
- package/server/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/server/node_modules/lodash/_getData.js +15 -0
- package/server/node_modules/lodash/_getFuncName.js +31 -0
- package/server/node_modules/lodash/_getHolder.js +13 -0
- package/server/node_modules/lodash/_getMapData.js +18 -0
- package/server/node_modules/lodash/_getMatchData.js +24 -0
- package/server/node_modules/lodash/_getNative.js +17 -0
- package/server/node_modules/lodash/_getPrototype.js +6 -0
- package/server/node_modules/lodash/_getRawTag.js +46 -0
- package/server/node_modules/lodash/_getSymbols.js +30 -0
- package/server/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/server/node_modules/lodash/_getTag.js +58 -0
- package/server/node_modules/lodash/_getValue.js +13 -0
- package/server/node_modules/lodash/_getView.js +33 -0
- package/server/node_modules/lodash/_getWrapDetails.js +17 -0
- package/server/node_modules/lodash/_hasPath.js +39 -0
- package/server/node_modules/lodash/_hasUnicode.js +26 -0
- package/server/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/server/node_modules/lodash/_hashClear.js +15 -0
- package/server/node_modules/lodash/_hashDelete.js +17 -0
- package/server/node_modules/lodash/_hashGet.js +30 -0
- package/server/node_modules/lodash/_hashHas.js +23 -0
- package/server/node_modules/lodash/_hashSet.js +23 -0
- package/server/node_modules/lodash/_initCloneArray.js +26 -0
- package/server/node_modules/lodash/_initCloneByTag.js +77 -0
- package/server/node_modules/lodash/_initCloneObject.js +18 -0
- package/server/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/server/node_modules/lodash/_isFlattenable.js +20 -0
- package/server/node_modules/lodash/_isIndex.js +25 -0
- package/server/node_modules/lodash/_isIterateeCall.js +30 -0
- package/server/node_modules/lodash/_isKey.js +29 -0
- package/server/node_modules/lodash/_isKeyable.js +15 -0
- package/server/node_modules/lodash/_isLaziable.js +28 -0
- package/server/node_modules/lodash/_isMaskable.js +14 -0
- package/server/node_modules/lodash/_isMasked.js +20 -0
- package/server/node_modules/lodash/_isPrototype.js +18 -0
- package/server/node_modules/lodash/_isStrictComparable.js +15 -0
- package/server/node_modules/lodash/_iteratorToArray.js +18 -0
- package/server/node_modules/lodash/_lazyClone.js +23 -0
- package/server/node_modules/lodash/_lazyReverse.js +23 -0
- package/server/node_modules/lodash/_lazyValue.js +69 -0
- package/server/node_modules/lodash/_listCacheClear.js +13 -0
- package/server/node_modules/lodash/_listCacheDelete.js +35 -0
- package/server/node_modules/lodash/_listCacheGet.js +19 -0
- package/server/node_modules/lodash/_listCacheHas.js +16 -0
- package/server/node_modules/lodash/_listCacheSet.js +26 -0
- package/server/node_modules/lodash/_mapCacheClear.js +21 -0
- package/server/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/server/node_modules/lodash/_mapCacheGet.js +16 -0
- package/server/node_modules/lodash/_mapCacheHas.js +16 -0
- package/server/node_modules/lodash/_mapCacheSet.js +22 -0
- package/server/node_modules/lodash/_mapToArray.js +18 -0
- package/server/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/server/node_modules/lodash/_memoizeCapped.js +26 -0
- package/server/node_modules/lodash/_mergeData.js +90 -0
- package/server/node_modules/lodash/_metaMap.js +6 -0
- package/server/node_modules/lodash/_nativeCreate.js +6 -0
- package/server/node_modules/lodash/_nativeKeys.js +6 -0
- package/server/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/server/node_modules/lodash/_nodeUtil.js +30 -0
- package/server/node_modules/lodash/_objectToString.js +22 -0
- package/server/node_modules/lodash/_overArg.js +15 -0
- package/server/node_modules/lodash/_overRest.js +36 -0
- package/server/node_modules/lodash/_parent.js +16 -0
- package/server/node_modules/lodash/_reEscape.js +4 -0
- package/server/node_modules/lodash/_reEvaluate.js +4 -0
- package/server/node_modules/lodash/_reInterpolate.js +4 -0
- package/server/node_modules/lodash/_realNames.js +4 -0
- package/server/node_modules/lodash/_reorder.js +29 -0
- package/server/node_modules/lodash/_replaceHolders.js +29 -0
- package/server/node_modules/lodash/_root.js +9 -0
- package/server/node_modules/lodash/_safeGet.js +21 -0
- package/server/node_modules/lodash/_setCacheAdd.js +19 -0
- package/server/node_modules/lodash/_setCacheHas.js +14 -0
- package/server/node_modules/lodash/_setData.js +20 -0
- package/server/node_modules/lodash/_setToArray.js +18 -0
- package/server/node_modules/lodash/_setToPairs.js +18 -0
- package/server/node_modules/lodash/_setToString.js +14 -0
- package/server/node_modules/lodash/_setWrapToString.js +21 -0
- package/server/node_modules/lodash/_shortOut.js +37 -0
- package/server/node_modules/lodash/_shuffleSelf.js +28 -0
- package/server/node_modules/lodash/_stackClear.js +15 -0
- package/server/node_modules/lodash/_stackDelete.js +18 -0
- package/server/node_modules/lodash/_stackGet.js +14 -0
- package/server/node_modules/lodash/_stackHas.js +14 -0
- package/server/node_modules/lodash/_stackSet.js +34 -0
- package/server/node_modules/lodash/_strictIndexOf.js +23 -0
- package/server/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/server/node_modules/lodash/_stringSize.js +18 -0
- package/server/node_modules/lodash/_stringToArray.js +18 -0
- package/server/node_modules/lodash/_stringToPath.js +27 -0
- package/server/node_modules/lodash/_toKey.js +21 -0
- package/server/node_modules/lodash/_toSource.js +26 -0
- package/server/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/server/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/server/node_modules/lodash/_unicodeSize.js +44 -0
- package/server/node_modules/lodash/_unicodeToArray.js +40 -0
- package/server/node_modules/lodash/_unicodeWords.js +69 -0
- package/server/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/server/node_modules/lodash/_wrapperClone.js +23 -0
- package/server/node_modules/lodash/add.js +22 -0
- package/server/node_modules/lodash/after.js +42 -0
- package/server/node_modules/lodash/array.js +67 -0
- package/server/node_modules/lodash/ary.js +29 -0
- package/server/node_modules/lodash/assign.js +58 -0
- package/server/node_modules/lodash/assignIn.js +40 -0
- package/server/node_modules/lodash/assignInWith.js +38 -0
- package/server/node_modules/lodash/assignWith.js +37 -0
- package/server/node_modules/lodash/at.js +23 -0
- package/server/node_modules/lodash/attempt.js +35 -0
- package/server/node_modules/lodash/before.js +40 -0
- package/server/node_modules/lodash/bind.js +57 -0
- package/server/node_modules/lodash/bindAll.js +41 -0
- package/server/node_modules/lodash/bindKey.js +68 -0
- package/server/node_modules/lodash/camelCase.js +29 -0
- package/server/node_modules/lodash/capitalize.js +23 -0
- package/server/node_modules/lodash/castArray.js +44 -0
- package/server/node_modules/lodash/ceil.js +26 -0
- package/server/node_modules/lodash/chain.js +38 -0
- package/server/node_modules/lodash/chunk.js +50 -0
- package/server/node_modules/lodash/clamp.js +39 -0
- package/server/node_modules/lodash/clone.js +36 -0
- package/server/node_modules/lodash/cloneDeep.js +29 -0
- package/server/node_modules/lodash/cloneDeepWith.js +40 -0
- package/server/node_modules/lodash/cloneWith.js +42 -0
- package/server/node_modules/lodash/collection.js +30 -0
- package/server/node_modules/lodash/commit.js +33 -0
- package/server/node_modules/lodash/compact.js +31 -0
- package/server/node_modules/lodash/concat.js +43 -0
- package/server/node_modules/lodash/cond.js +60 -0
- package/server/node_modules/lodash/conforms.js +35 -0
- package/server/node_modules/lodash/conformsTo.js +32 -0
- package/server/node_modules/lodash/constant.js +26 -0
- package/server/node_modules/lodash/core.js +3877 -0
- package/server/node_modules/lodash/core.min.js +29 -0
- package/server/node_modules/lodash/countBy.js +40 -0
- package/server/node_modules/lodash/create.js +43 -0
- package/server/node_modules/lodash/curry.js +57 -0
- package/server/node_modules/lodash/curryRight.js +54 -0
- package/server/node_modules/lodash/date.js +3 -0
- package/server/node_modules/lodash/debounce.js +191 -0
- package/server/node_modules/lodash/deburr.js +45 -0
- package/server/node_modules/lodash/defaultTo.js +25 -0
- package/server/node_modules/lodash/defaults.js +64 -0
- package/server/node_modules/lodash/defaultsDeep.js +30 -0
- package/server/node_modules/lodash/defer.js +26 -0
- package/server/node_modules/lodash/delay.js +28 -0
- package/server/node_modules/lodash/difference.js +33 -0
- package/server/node_modules/lodash/differenceBy.js +44 -0
- package/server/node_modules/lodash/differenceWith.js +40 -0
- package/server/node_modules/lodash/divide.js +22 -0
- package/server/node_modules/lodash/drop.js +38 -0
- package/server/node_modules/lodash/dropRight.js +39 -0
- package/server/node_modules/lodash/dropRightWhile.js +45 -0
- package/server/node_modules/lodash/dropWhile.js +45 -0
- package/server/node_modules/lodash/each.js +1 -0
- package/server/node_modules/lodash/eachRight.js +1 -0
- package/server/node_modules/lodash/endsWith.js +43 -0
- package/server/node_modules/lodash/entries.js +1 -0
- package/server/node_modules/lodash/entriesIn.js +1 -0
- package/server/node_modules/lodash/eq.js +37 -0
- package/server/node_modules/lodash/escape.js +43 -0
- package/server/node_modules/lodash/escapeRegExp.js +32 -0
- package/server/node_modules/lodash/every.js +56 -0
- package/server/node_modules/lodash/extend.js +1 -0
- package/server/node_modules/lodash/extendWith.js +1 -0
- package/server/node_modules/lodash/fill.js +45 -0
- package/server/node_modules/lodash/filter.js +52 -0
- package/server/node_modules/lodash/find.js +42 -0
- package/server/node_modules/lodash/findIndex.js +55 -0
- package/server/node_modules/lodash/findKey.js +44 -0
- package/server/node_modules/lodash/findLast.js +25 -0
- package/server/node_modules/lodash/findLastIndex.js +59 -0
- package/server/node_modules/lodash/findLastKey.js +44 -0
- package/server/node_modules/lodash/first.js +1 -0
- package/server/node_modules/lodash/flake.lock +40 -0
- package/server/node_modules/lodash/flake.nix +20 -0
- package/server/node_modules/lodash/flatMap.js +29 -0
- package/server/node_modules/lodash/flatMapDeep.js +31 -0
- package/server/node_modules/lodash/flatMapDepth.js +31 -0
- package/server/node_modules/lodash/flatten.js +22 -0
- package/server/node_modules/lodash/flattenDeep.js +25 -0
- package/server/node_modules/lodash/flattenDepth.js +33 -0
- package/server/node_modules/lodash/flip.js +28 -0
- package/server/node_modules/lodash/floor.js +26 -0
- package/server/node_modules/lodash/flow.js +27 -0
- package/server/node_modules/lodash/flowRight.js +26 -0
- package/server/node_modules/lodash/forEach.js +41 -0
- package/server/node_modules/lodash/forEachRight.js +31 -0
- package/server/node_modules/lodash/forIn.js +39 -0
- package/server/node_modules/lodash/forInRight.js +37 -0
- package/server/node_modules/lodash/forOwn.js +36 -0
- package/server/node_modules/lodash/forOwnRight.js +34 -0
- package/server/node_modules/lodash/fp/F.js +1 -0
- package/server/node_modules/lodash/fp/T.js +1 -0
- package/server/node_modules/lodash/fp/__.js +1 -0
- package/server/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/server/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/server/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/server/node_modules/lodash/fp/_mapping.js +358 -0
- package/server/node_modules/lodash/fp/_util.js +16 -0
- package/server/node_modules/lodash/fp/add.js +5 -0
- package/server/node_modules/lodash/fp/after.js +5 -0
- package/server/node_modules/lodash/fp/all.js +1 -0
- package/server/node_modules/lodash/fp/allPass.js +1 -0
- package/server/node_modules/lodash/fp/always.js +1 -0
- package/server/node_modules/lodash/fp/any.js +1 -0
- package/server/node_modules/lodash/fp/anyPass.js +1 -0
- package/server/node_modules/lodash/fp/apply.js +1 -0
- package/server/node_modules/lodash/fp/array.js +2 -0
- package/server/node_modules/lodash/fp/ary.js +5 -0
- package/server/node_modules/lodash/fp/assign.js +5 -0
- package/server/node_modules/lodash/fp/assignAll.js +5 -0
- package/server/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/server/node_modules/lodash/fp/assignIn.js +5 -0
- package/server/node_modules/lodash/fp/assignInAll.js +5 -0
- package/server/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/server/node_modules/lodash/fp/assignInWith.js +5 -0
- package/server/node_modules/lodash/fp/assignWith.js +5 -0
- package/server/node_modules/lodash/fp/assoc.js +1 -0
- package/server/node_modules/lodash/fp/assocPath.js +1 -0
- package/server/node_modules/lodash/fp/at.js +5 -0
- package/server/node_modules/lodash/fp/attempt.js +5 -0
- package/server/node_modules/lodash/fp/before.js +5 -0
- package/server/node_modules/lodash/fp/bind.js +5 -0
- package/server/node_modules/lodash/fp/bindAll.js +5 -0
- package/server/node_modules/lodash/fp/bindKey.js +5 -0
- package/server/node_modules/lodash/fp/camelCase.js +5 -0
- package/server/node_modules/lodash/fp/capitalize.js +5 -0
- package/server/node_modules/lodash/fp/castArray.js +5 -0
- package/server/node_modules/lodash/fp/ceil.js +5 -0
- package/server/node_modules/lodash/fp/chain.js +5 -0
- package/server/node_modules/lodash/fp/chunk.js +5 -0
- package/server/node_modules/lodash/fp/clamp.js +5 -0
- package/server/node_modules/lodash/fp/clone.js +5 -0
- package/server/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/server/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/server/node_modules/lodash/fp/cloneWith.js +5 -0
- package/server/node_modules/lodash/fp/collection.js +2 -0
- package/server/node_modules/lodash/fp/commit.js +5 -0
- package/server/node_modules/lodash/fp/compact.js +5 -0
- package/server/node_modules/lodash/fp/complement.js +1 -0
- package/server/node_modules/lodash/fp/compose.js +1 -0
- package/server/node_modules/lodash/fp/concat.js +5 -0
- package/server/node_modules/lodash/fp/cond.js +5 -0
- package/server/node_modules/lodash/fp/conforms.js +1 -0
- package/server/node_modules/lodash/fp/conformsTo.js +5 -0
- package/server/node_modules/lodash/fp/constant.js +5 -0
- package/server/node_modules/lodash/fp/contains.js +1 -0
- package/server/node_modules/lodash/fp/convert.js +18 -0
- package/server/node_modules/lodash/fp/countBy.js +5 -0
- package/server/node_modules/lodash/fp/create.js +5 -0
- package/server/node_modules/lodash/fp/curry.js +5 -0
- package/server/node_modules/lodash/fp/curryN.js +5 -0
- package/server/node_modules/lodash/fp/curryRight.js +5 -0
- package/server/node_modules/lodash/fp/curryRightN.js +5 -0
- package/server/node_modules/lodash/fp/date.js +2 -0
- package/server/node_modules/lodash/fp/debounce.js +5 -0
- package/server/node_modules/lodash/fp/deburr.js +5 -0
- package/server/node_modules/lodash/fp/defaultTo.js +5 -0
- package/server/node_modules/lodash/fp/defaults.js +5 -0
- package/server/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/server/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/server/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/server/node_modules/lodash/fp/defer.js +5 -0
- package/server/node_modules/lodash/fp/delay.js +5 -0
- package/server/node_modules/lodash/fp/difference.js +5 -0
- package/server/node_modules/lodash/fp/differenceBy.js +5 -0
- package/server/node_modules/lodash/fp/differenceWith.js +5 -0
- package/server/node_modules/lodash/fp/dissoc.js +1 -0
- package/server/node_modules/lodash/fp/dissocPath.js +1 -0
- package/server/node_modules/lodash/fp/divide.js +5 -0
- package/server/node_modules/lodash/fp/drop.js +5 -0
- package/server/node_modules/lodash/fp/dropLast.js +1 -0
- package/server/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/server/node_modules/lodash/fp/dropRight.js +5 -0
- package/server/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/server/node_modules/lodash/fp/dropWhile.js +5 -0
- package/server/node_modules/lodash/fp/each.js +1 -0
- package/server/node_modules/lodash/fp/eachRight.js +1 -0
- package/server/node_modules/lodash/fp/endsWith.js +5 -0
- package/server/node_modules/lodash/fp/entries.js +1 -0
- package/server/node_modules/lodash/fp/entriesIn.js +1 -0
- package/server/node_modules/lodash/fp/eq.js +5 -0
- package/server/node_modules/lodash/fp/equals.js +1 -0
- package/server/node_modules/lodash/fp/escape.js +5 -0
- package/server/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/server/node_modules/lodash/fp/every.js +5 -0
- package/server/node_modules/lodash/fp/extend.js +1 -0
- package/server/node_modules/lodash/fp/extendAll.js +1 -0
- package/server/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/server/node_modules/lodash/fp/extendWith.js +1 -0
- package/server/node_modules/lodash/fp/fill.js +5 -0
- package/server/node_modules/lodash/fp/filter.js +5 -0
- package/server/node_modules/lodash/fp/find.js +5 -0
- package/server/node_modules/lodash/fp/findFrom.js +5 -0
- package/server/node_modules/lodash/fp/findIndex.js +5 -0
- package/server/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/server/node_modules/lodash/fp/findKey.js +5 -0
- package/server/node_modules/lodash/fp/findLast.js +5 -0
- package/server/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/server/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/server/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/server/node_modules/lodash/fp/findLastKey.js +5 -0
- package/server/node_modules/lodash/fp/first.js +1 -0
- package/server/node_modules/lodash/fp/flatMap.js +5 -0
- package/server/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/server/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/server/node_modules/lodash/fp/flatten.js +5 -0
- package/server/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/server/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/server/node_modules/lodash/fp/flip.js +5 -0
- package/server/node_modules/lodash/fp/floor.js +5 -0
- package/server/node_modules/lodash/fp/flow.js +5 -0
- package/server/node_modules/lodash/fp/flowRight.js +5 -0
- package/server/node_modules/lodash/fp/forEach.js +5 -0
- package/server/node_modules/lodash/fp/forEachRight.js +5 -0
- package/server/node_modules/lodash/fp/forIn.js +5 -0
- package/server/node_modules/lodash/fp/forInRight.js +5 -0
- package/server/node_modules/lodash/fp/forOwn.js +5 -0
- package/server/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/server/node_modules/lodash/fp/fromPairs.js +5 -0
- package/server/node_modules/lodash/fp/function.js +2 -0
- package/server/node_modules/lodash/fp/functions.js +5 -0
- package/server/node_modules/lodash/fp/functionsIn.js +5 -0
- package/server/node_modules/lodash/fp/get.js +5 -0
- package/server/node_modules/lodash/fp/getOr.js +5 -0
- package/server/node_modules/lodash/fp/groupBy.js +5 -0
- package/server/node_modules/lodash/fp/gt.js +5 -0
- package/server/node_modules/lodash/fp/gte.js +5 -0
- package/server/node_modules/lodash/fp/has.js +5 -0
- package/server/node_modules/lodash/fp/hasIn.js +5 -0
- package/server/node_modules/lodash/fp/head.js +5 -0
- package/server/node_modules/lodash/fp/identical.js +1 -0
- package/server/node_modules/lodash/fp/identity.js +5 -0
- package/server/node_modules/lodash/fp/inRange.js +5 -0
- package/server/node_modules/lodash/fp/includes.js +5 -0
- package/server/node_modules/lodash/fp/includesFrom.js +5 -0
- package/server/node_modules/lodash/fp/indexBy.js +1 -0
- package/server/node_modules/lodash/fp/indexOf.js +5 -0
- package/server/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/server/node_modules/lodash/fp/init.js +1 -0
- package/server/node_modules/lodash/fp/initial.js +5 -0
- package/server/node_modules/lodash/fp/intersection.js +5 -0
- package/server/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/server/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/server/node_modules/lodash/fp/invert.js +5 -0
- package/server/node_modules/lodash/fp/invertBy.js +5 -0
- package/server/node_modules/lodash/fp/invertObj.js +1 -0
- package/server/node_modules/lodash/fp/invoke.js +5 -0
- package/server/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/server/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/server/node_modules/lodash/fp/invokeMap.js +5 -0
- package/server/node_modules/lodash/fp/isArguments.js +5 -0
- package/server/node_modules/lodash/fp/isArray.js +5 -0
- package/server/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/server/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/server/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/server/node_modules/lodash/fp/isBoolean.js +5 -0
- package/server/node_modules/lodash/fp/isBuffer.js +5 -0
- package/server/node_modules/lodash/fp/isDate.js +5 -0
- package/server/node_modules/lodash/fp/isElement.js +5 -0
- package/server/node_modules/lodash/fp/isEmpty.js +5 -0
- package/server/node_modules/lodash/fp/isEqual.js +5 -0
- package/server/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/server/node_modules/lodash/fp/isError.js +5 -0
- package/server/node_modules/lodash/fp/isFinite.js +5 -0
- package/server/node_modules/lodash/fp/isFunction.js +5 -0
- package/server/node_modules/lodash/fp/isInteger.js +5 -0
- package/server/node_modules/lodash/fp/isLength.js +5 -0
- package/server/node_modules/lodash/fp/isMap.js +5 -0
- package/server/node_modules/lodash/fp/isMatch.js +5 -0
- package/server/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/server/node_modules/lodash/fp/isNaN.js +5 -0
- package/server/node_modules/lodash/fp/isNative.js +5 -0
- package/server/node_modules/lodash/fp/isNil.js +5 -0
- package/server/node_modules/lodash/fp/isNull.js +5 -0
- package/server/node_modules/lodash/fp/isNumber.js +5 -0
- package/server/node_modules/lodash/fp/isObject.js +5 -0
- package/server/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/server/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/server/node_modules/lodash/fp/isRegExp.js +5 -0
- package/server/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/server/node_modules/lodash/fp/isSet.js +5 -0
- package/server/node_modules/lodash/fp/isString.js +5 -0
- package/server/node_modules/lodash/fp/isSymbol.js +5 -0
- package/server/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/server/node_modules/lodash/fp/isUndefined.js +5 -0
- package/server/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/server/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/server/node_modules/lodash/fp/iteratee.js +5 -0
- package/server/node_modules/lodash/fp/join.js +5 -0
- package/server/node_modules/lodash/fp/juxt.js +1 -0
- package/server/node_modules/lodash/fp/kebabCase.js +5 -0
- package/server/node_modules/lodash/fp/keyBy.js +5 -0
- package/server/node_modules/lodash/fp/keys.js +5 -0
- package/server/node_modules/lodash/fp/keysIn.js +5 -0
- package/server/node_modules/lodash/fp/lang.js +2 -0
- package/server/node_modules/lodash/fp/last.js +5 -0
- package/server/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/server/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/server/node_modules/lodash/fp/lowerCase.js +5 -0
- package/server/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/server/node_modules/lodash/fp/lt.js +5 -0
- package/server/node_modules/lodash/fp/lte.js +5 -0
- package/server/node_modules/lodash/fp/map.js +5 -0
- package/server/node_modules/lodash/fp/mapKeys.js +5 -0
- package/server/node_modules/lodash/fp/mapValues.js +5 -0
- package/server/node_modules/lodash/fp/matches.js +1 -0
- package/server/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/server/node_modules/lodash/fp/math.js +2 -0
- package/server/node_modules/lodash/fp/max.js +5 -0
- package/server/node_modules/lodash/fp/maxBy.js +5 -0
- package/server/node_modules/lodash/fp/mean.js +5 -0
- package/server/node_modules/lodash/fp/meanBy.js +5 -0
- package/server/node_modules/lodash/fp/memoize.js +5 -0
- package/server/node_modules/lodash/fp/merge.js +5 -0
- package/server/node_modules/lodash/fp/mergeAll.js +5 -0
- package/server/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/server/node_modules/lodash/fp/mergeWith.js +5 -0
- package/server/node_modules/lodash/fp/method.js +5 -0
- package/server/node_modules/lodash/fp/methodOf.js +5 -0
- package/server/node_modules/lodash/fp/min.js +5 -0
- package/server/node_modules/lodash/fp/minBy.js +5 -0
- package/server/node_modules/lodash/fp/mixin.js +5 -0
- package/server/node_modules/lodash/fp/multiply.js +5 -0
- package/server/node_modules/lodash/fp/nAry.js +1 -0
- package/server/node_modules/lodash/fp/negate.js +5 -0
- package/server/node_modules/lodash/fp/next.js +5 -0
- package/server/node_modules/lodash/fp/noop.js +5 -0
- package/server/node_modules/lodash/fp/now.js +5 -0
- package/server/node_modules/lodash/fp/nth.js +5 -0
- package/server/node_modules/lodash/fp/nthArg.js +5 -0
- package/server/node_modules/lodash/fp/number.js +2 -0
- package/server/node_modules/lodash/fp/object.js +2 -0
- package/server/node_modules/lodash/fp/omit.js +5 -0
- package/server/node_modules/lodash/fp/omitAll.js +1 -0
- package/server/node_modules/lodash/fp/omitBy.js +5 -0
- package/server/node_modules/lodash/fp/once.js +5 -0
- package/server/node_modules/lodash/fp/orderBy.js +5 -0
- package/server/node_modules/lodash/fp/over.js +5 -0
- package/server/node_modules/lodash/fp/overArgs.js +5 -0
- package/server/node_modules/lodash/fp/overEvery.js +5 -0
- package/server/node_modules/lodash/fp/overSome.js +5 -0
- package/server/node_modules/lodash/fp/pad.js +5 -0
- package/server/node_modules/lodash/fp/padChars.js +5 -0
- package/server/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/server/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/server/node_modules/lodash/fp/padEnd.js +5 -0
- package/server/node_modules/lodash/fp/padStart.js +5 -0
- package/server/node_modules/lodash/fp/parseInt.js +5 -0
- package/server/node_modules/lodash/fp/partial.js +5 -0
- package/server/node_modules/lodash/fp/partialRight.js +5 -0
- package/server/node_modules/lodash/fp/partition.js +5 -0
- package/server/node_modules/lodash/fp/path.js +1 -0
- package/server/node_modules/lodash/fp/pathEq.js +1 -0
- package/server/node_modules/lodash/fp/pathOr.js +1 -0
- package/server/node_modules/lodash/fp/paths.js +1 -0
- package/server/node_modules/lodash/fp/pick.js +5 -0
- package/server/node_modules/lodash/fp/pickAll.js +1 -0
- package/server/node_modules/lodash/fp/pickBy.js +5 -0
- package/server/node_modules/lodash/fp/pipe.js +1 -0
- package/server/node_modules/lodash/fp/placeholder.js +6 -0
- package/server/node_modules/lodash/fp/plant.js +5 -0
- package/server/node_modules/lodash/fp/pluck.js +1 -0
- package/server/node_modules/lodash/fp/prop.js +1 -0
- package/server/node_modules/lodash/fp/propEq.js +1 -0
- package/server/node_modules/lodash/fp/propOr.js +1 -0
- package/server/node_modules/lodash/fp/property.js +1 -0
- package/server/node_modules/lodash/fp/propertyOf.js +5 -0
- package/server/node_modules/lodash/fp/props.js +1 -0
- package/server/node_modules/lodash/fp/pull.js +5 -0
- package/server/node_modules/lodash/fp/pullAll.js +5 -0
- package/server/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/server/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/server/node_modules/lodash/fp/pullAt.js +5 -0
- package/server/node_modules/lodash/fp/random.js +5 -0
- package/server/node_modules/lodash/fp/range.js +5 -0
- package/server/node_modules/lodash/fp/rangeRight.js +5 -0
- package/server/node_modules/lodash/fp/rangeStep.js +5 -0
- package/server/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/server/node_modules/lodash/fp/rearg.js +5 -0
- package/server/node_modules/lodash/fp/reduce.js +5 -0
- package/server/node_modules/lodash/fp/reduceRight.js +5 -0
- package/server/node_modules/lodash/fp/reject.js +5 -0
- package/server/node_modules/lodash/fp/remove.js +5 -0
- package/server/node_modules/lodash/fp/repeat.js +5 -0
- package/server/node_modules/lodash/fp/replace.js +5 -0
- package/server/node_modules/lodash/fp/rest.js +5 -0
- package/server/node_modules/lodash/fp/restFrom.js +5 -0
- package/server/node_modules/lodash/fp/result.js +5 -0
- package/server/node_modules/lodash/fp/reverse.js +5 -0
- package/server/node_modules/lodash/fp/round.js +5 -0
- package/server/node_modules/lodash/fp/sample.js +5 -0
- package/server/node_modules/lodash/fp/sampleSize.js +5 -0
- package/server/node_modules/lodash/fp/seq.js +2 -0
- package/server/node_modules/lodash/fp/set.js +5 -0
- package/server/node_modules/lodash/fp/setWith.js +5 -0
- package/server/node_modules/lodash/fp/shuffle.js +5 -0
- package/server/node_modules/lodash/fp/size.js +5 -0
- package/server/node_modules/lodash/fp/slice.js +5 -0
- package/server/node_modules/lodash/fp/snakeCase.js +5 -0
- package/server/node_modules/lodash/fp/some.js +5 -0
- package/server/node_modules/lodash/fp/sortBy.js +5 -0
- package/server/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/server/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/server/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/server/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/server/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/server/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/server/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/server/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/server/node_modules/lodash/fp/split.js +5 -0
- package/server/node_modules/lodash/fp/spread.js +5 -0
- package/server/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/server/node_modules/lodash/fp/startCase.js +5 -0
- package/server/node_modules/lodash/fp/startsWith.js +5 -0
- package/server/node_modules/lodash/fp/string.js +2 -0
- package/server/node_modules/lodash/fp/stubArray.js +5 -0
- package/server/node_modules/lodash/fp/stubFalse.js +5 -0
- package/server/node_modules/lodash/fp/stubObject.js +5 -0
- package/server/node_modules/lodash/fp/stubString.js +5 -0
- package/server/node_modules/lodash/fp/stubTrue.js +5 -0
- package/server/node_modules/lodash/fp/subtract.js +5 -0
- package/server/node_modules/lodash/fp/sum.js +5 -0
- package/server/node_modules/lodash/fp/sumBy.js +5 -0
- package/server/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/server/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/server/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/server/node_modules/lodash/fp/tail.js +5 -0
- package/server/node_modules/lodash/fp/take.js +5 -0
- package/server/node_modules/lodash/fp/takeLast.js +1 -0
- package/server/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/server/node_modules/lodash/fp/takeRight.js +5 -0
- package/server/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/server/node_modules/lodash/fp/takeWhile.js +5 -0
- package/server/node_modules/lodash/fp/tap.js +5 -0
- package/server/node_modules/lodash/fp/template.js +5 -0
- package/server/node_modules/lodash/fp/templateSettings.js +5 -0
- package/server/node_modules/lodash/fp/throttle.js +5 -0
- package/server/node_modules/lodash/fp/thru.js +5 -0
- package/server/node_modules/lodash/fp/times.js +5 -0
- package/server/node_modules/lodash/fp/toArray.js +5 -0
- package/server/node_modules/lodash/fp/toFinite.js +5 -0
- package/server/node_modules/lodash/fp/toInteger.js +5 -0
- package/server/node_modules/lodash/fp/toIterator.js +5 -0
- package/server/node_modules/lodash/fp/toJSON.js +5 -0
- package/server/node_modules/lodash/fp/toLength.js +5 -0
- package/server/node_modules/lodash/fp/toLower.js +5 -0
- package/server/node_modules/lodash/fp/toNumber.js +5 -0
- package/server/node_modules/lodash/fp/toPairs.js +5 -0
- package/server/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/server/node_modules/lodash/fp/toPath.js +5 -0
- package/server/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/server/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/server/node_modules/lodash/fp/toString.js +5 -0
- package/server/node_modules/lodash/fp/toUpper.js +5 -0
- package/server/node_modules/lodash/fp/transform.js +5 -0
- package/server/node_modules/lodash/fp/trim.js +5 -0
- package/server/node_modules/lodash/fp/trimChars.js +5 -0
- package/server/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/server/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/server/node_modules/lodash/fp/trimEnd.js +5 -0
- package/server/node_modules/lodash/fp/trimStart.js +5 -0
- package/server/node_modules/lodash/fp/truncate.js +5 -0
- package/server/node_modules/lodash/fp/unapply.js +1 -0
- package/server/node_modules/lodash/fp/unary.js +5 -0
- package/server/node_modules/lodash/fp/unescape.js +5 -0
- package/server/node_modules/lodash/fp/union.js +5 -0
- package/server/node_modules/lodash/fp/unionBy.js +5 -0
- package/server/node_modules/lodash/fp/unionWith.js +5 -0
- package/server/node_modules/lodash/fp/uniq.js +5 -0
- package/server/node_modules/lodash/fp/uniqBy.js +5 -0
- package/server/node_modules/lodash/fp/uniqWith.js +5 -0
- package/server/node_modules/lodash/fp/uniqueId.js +5 -0
- package/server/node_modules/lodash/fp/unnest.js +1 -0
- package/server/node_modules/lodash/fp/unset.js +5 -0
- package/server/node_modules/lodash/fp/unzip.js +5 -0
- package/server/node_modules/lodash/fp/unzipWith.js +5 -0
- package/server/node_modules/lodash/fp/update.js +5 -0
- package/server/node_modules/lodash/fp/updateWith.js +5 -0
- package/server/node_modules/lodash/fp/upperCase.js +5 -0
- package/server/node_modules/lodash/fp/upperFirst.js +5 -0
- package/server/node_modules/lodash/fp/useWith.js +1 -0
- package/server/node_modules/lodash/fp/util.js +2 -0
- package/server/node_modules/lodash/fp/value.js +5 -0
- package/server/node_modules/lodash/fp/valueOf.js +5 -0
- package/server/node_modules/lodash/fp/values.js +5 -0
- package/server/node_modules/lodash/fp/valuesIn.js +5 -0
- package/server/node_modules/lodash/fp/where.js +1 -0
- package/server/node_modules/lodash/fp/whereEq.js +1 -0
- package/server/node_modules/lodash/fp/without.js +5 -0
- package/server/node_modules/lodash/fp/words.js +5 -0
- package/server/node_modules/lodash/fp/wrap.js +5 -0
- package/server/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/server/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/server/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/server/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/server/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/server/node_modules/lodash/fp/xor.js +5 -0
- package/server/node_modules/lodash/fp/xorBy.js +5 -0
- package/server/node_modules/lodash/fp/xorWith.js +5 -0
- package/server/node_modules/lodash/fp/zip.js +5 -0
- package/server/node_modules/lodash/fp/zipAll.js +5 -0
- package/server/node_modules/lodash/fp/zipObj.js +1 -0
- package/server/node_modules/lodash/fp/zipObject.js +5 -0
- package/server/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/server/node_modules/lodash/fp/zipWith.js +5 -0
- package/server/node_modules/lodash/fp.js +2 -0
- package/server/node_modules/lodash/fromPairs.js +28 -0
- package/server/node_modules/lodash/function.js +25 -0
- package/server/node_modules/lodash/functions.js +31 -0
- package/server/node_modules/lodash/functionsIn.js +31 -0
- package/server/node_modules/lodash/get.js +33 -0
- package/server/node_modules/lodash/groupBy.js +41 -0
- package/server/node_modules/lodash/gt.js +29 -0
- package/server/node_modules/lodash/gte.js +30 -0
- package/server/node_modules/lodash/has.js +35 -0
- package/server/node_modules/lodash/hasIn.js +34 -0
- package/server/node_modules/lodash/head.js +23 -0
- package/server/node_modules/lodash/identity.js +21 -0
- package/server/node_modules/lodash/inRange.js +55 -0
- package/server/node_modules/lodash/includes.js +53 -0
- package/server/node_modules/lodash/index.js +1 -0
- package/server/node_modules/lodash/indexOf.js +42 -0
- package/server/node_modules/lodash/initial.js +22 -0
- package/server/node_modules/lodash/intersection.js +30 -0
- package/server/node_modules/lodash/intersectionBy.js +45 -0
- package/server/node_modules/lodash/intersectionWith.js +41 -0
- package/server/node_modules/lodash/invert.js +42 -0
- package/server/node_modules/lodash/invertBy.js +56 -0
- package/server/node_modules/lodash/invoke.js +24 -0
- package/server/node_modules/lodash/invokeMap.js +41 -0
- package/server/node_modules/lodash/isArguments.js +36 -0
- package/server/node_modules/lodash/isArray.js +26 -0
- package/server/node_modules/lodash/isArrayBuffer.js +27 -0
- package/server/node_modules/lodash/isArrayLike.js +33 -0
- package/server/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/server/node_modules/lodash/isBoolean.js +29 -0
- package/server/node_modules/lodash/isBuffer.js +38 -0
- package/server/node_modules/lodash/isDate.js +27 -0
- package/server/node_modules/lodash/isElement.js +25 -0
- package/server/node_modules/lodash/isEmpty.js +77 -0
- package/server/node_modules/lodash/isEqual.js +35 -0
- package/server/node_modules/lodash/isEqualWith.js +41 -0
- package/server/node_modules/lodash/isError.js +36 -0
- package/server/node_modules/lodash/isFinite.js +36 -0
- package/server/node_modules/lodash/isFunction.js +37 -0
- package/server/node_modules/lodash/isInteger.js +33 -0
- package/server/node_modules/lodash/isLength.js +35 -0
- package/server/node_modules/lodash/isMap.js +27 -0
- package/server/node_modules/lodash/isMatch.js +36 -0
- package/server/node_modules/lodash/isMatchWith.js +41 -0
- package/server/node_modules/lodash/isNaN.js +38 -0
- package/server/node_modules/lodash/isNative.js +40 -0
- package/server/node_modules/lodash/isNil.js +25 -0
- package/server/node_modules/lodash/isNull.js +22 -0
- package/server/node_modules/lodash/isNumber.js +38 -0
- package/server/node_modules/lodash/isObject.js +31 -0
- package/server/node_modules/lodash/isObjectLike.js +29 -0
- package/server/node_modules/lodash/isPlainObject.js +62 -0
- package/server/node_modules/lodash/isRegExp.js +27 -0
- package/server/node_modules/lodash/isSafeInteger.js +37 -0
- package/server/node_modules/lodash/isSet.js +27 -0
- package/server/node_modules/lodash/isString.js +30 -0
- package/server/node_modules/lodash/isSymbol.js +29 -0
- package/server/node_modules/lodash/isTypedArray.js +27 -0
- package/server/node_modules/lodash/isUndefined.js +22 -0
- package/server/node_modules/lodash/isWeakMap.js +28 -0
- package/server/node_modules/lodash/isWeakSet.js +28 -0
- package/server/node_modules/lodash/iteratee.js +53 -0
- package/server/node_modules/lodash/join.js +26 -0
- package/server/node_modules/lodash/kebabCase.js +28 -0
- package/server/node_modules/lodash/keyBy.js +36 -0
- package/server/node_modules/lodash/keys.js +37 -0
- package/server/node_modules/lodash/keysIn.js +32 -0
- package/server/node_modules/lodash/lang.js +58 -0
- package/server/node_modules/lodash/last.js +20 -0
- package/server/node_modules/lodash/lastIndexOf.js +46 -0
- package/server/node_modules/lodash/lodash.js +17209 -0
- package/server/node_modules/lodash/lodash.min.js +140 -0
- package/server/node_modules/lodash/lowerCase.js +27 -0
- package/server/node_modules/lodash/lowerFirst.js +22 -0
- package/server/node_modules/lodash/lt.js +29 -0
- package/server/node_modules/lodash/lte.js +30 -0
- package/server/node_modules/lodash/map.js +53 -0
- package/server/node_modules/lodash/mapKeys.js +36 -0
- package/server/node_modules/lodash/mapValues.js +43 -0
- package/server/node_modules/lodash/matches.js +46 -0
- package/server/node_modules/lodash/matchesProperty.js +44 -0
- package/server/node_modules/lodash/math.js +17 -0
- package/server/node_modules/lodash/max.js +29 -0
- package/server/node_modules/lodash/maxBy.js +34 -0
- package/server/node_modules/lodash/mean.js +22 -0
- package/server/node_modules/lodash/meanBy.js +31 -0
- package/server/node_modules/lodash/memoize.js +73 -0
- package/server/node_modules/lodash/merge.js +39 -0
- package/server/node_modules/lodash/mergeWith.js +39 -0
- package/server/node_modules/lodash/method.js +34 -0
- package/server/node_modules/lodash/methodOf.js +33 -0
- package/server/node_modules/lodash/min.js +29 -0
- package/server/node_modules/lodash/minBy.js +34 -0
- package/server/node_modules/lodash/mixin.js +74 -0
- package/server/node_modules/lodash/multiply.js +22 -0
- package/server/node_modules/lodash/negate.js +40 -0
- package/server/node_modules/lodash/next.js +35 -0
- package/server/node_modules/lodash/noop.js +17 -0
- package/server/node_modules/lodash/now.js +23 -0
- package/server/node_modules/lodash/nth.js +29 -0
- package/server/node_modules/lodash/nthArg.js +32 -0
- package/server/node_modules/lodash/number.js +5 -0
- package/server/node_modules/lodash/object.js +49 -0
- package/server/node_modules/lodash/omit.js +57 -0
- package/server/node_modules/lodash/omitBy.js +29 -0
- package/server/node_modules/lodash/once.js +25 -0
- package/server/node_modules/lodash/orderBy.js +47 -0
- package/server/node_modules/lodash/over.js +24 -0
- package/server/node_modules/lodash/overArgs.js +61 -0
- package/server/node_modules/lodash/overEvery.js +34 -0
- package/server/node_modules/lodash/overSome.js +37 -0
- package/server/node_modules/lodash/package.json +17 -0
- package/server/node_modules/lodash/pad.js +49 -0
- package/server/node_modules/lodash/padEnd.js +39 -0
- package/server/node_modules/lodash/padStart.js +39 -0
- package/server/node_modules/lodash/parseInt.js +43 -0
- package/server/node_modules/lodash/partial.js +50 -0
- package/server/node_modules/lodash/partialRight.js +49 -0
- package/server/node_modules/lodash/partition.js +43 -0
- package/server/node_modules/lodash/pick.js +25 -0
- package/server/node_modules/lodash/pickBy.js +37 -0
- package/server/node_modules/lodash/plant.js +48 -0
- package/server/node_modules/lodash/property.js +32 -0
- package/server/node_modules/lodash/propertyOf.js +30 -0
- package/server/node_modules/lodash/pull.js +29 -0
- package/server/node_modules/lodash/pullAll.js +29 -0
- package/server/node_modules/lodash/pullAllBy.js +33 -0
- package/server/node_modules/lodash/pullAllWith.js +32 -0
- package/server/node_modules/lodash/pullAt.js +43 -0
- package/server/node_modules/lodash/random.js +82 -0
- package/server/node_modules/lodash/range.js +46 -0
- package/server/node_modules/lodash/rangeRight.js +41 -0
- package/server/node_modules/lodash/rearg.js +33 -0
- package/server/node_modules/lodash/reduce.js +51 -0
- package/server/node_modules/lodash/reduceRight.js +36 -0
- package/server/node_modules/lodash/reject.js +46 -0
- package/server/node_modules/lodash/release.md +48 -0
- package/server/node_modules/lodash/remove.js +53 -0
- package/server/node_modules/lodash/repeat.js +37 -0
- package/server/node_modules/lodash/replace.js +29 -0
- package/server/node_modules/lodash/rest.js +40 -0
- package/server/node_modules/lodash/result.js +56 -0
- package/server/node_modules/lodash/reverse.js +34 -0
- package/server/node_modules/lodash/round.js +26 -0
- package/server/node_modules/lodash/sample.js +24 -0
- package/server/node_modules/lodash/sampleSize.js +37 -0
- package/server/node_modules/lodash/seq.js +16 -0
- package/server/node_modules/lodash/set.js +35 -0
- package/server/node_modules/lodash/setWith.js +32 -0
- package/server/node_modules/lodash/shuffle.js +25 -0
- package/server/node_modules/lodash/size.js +46 -0
- package/server/node_modules/lodash/slice.js +37 -0
- package/server/node_modules/lodash/snakeCase.js +28 -0
- package/server/node_modules/lodash/some.js +51 -0
- package/server/node_modules/lodash/sortBy.js +48 -0
- package/server/node_modules/lodash/sortedIndex.js +24 -0
- package/server/node_modules/lodash/sortedIndexBy.js +33 -0
- package/server/node_modules/lodash/sortedIndexOf.js +31 -0
- package/server/node_modules/lodash/sortedLastIndex.js +25 -0
- package/server/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/server/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/server/node_modules/lodash/sortedUniq.js +24 -0
- package/server/node_modules/lodash/sortedUniqBy.js +26 -0
- package/server/node_modules/lodash/split.js +52 -0
- package/server/node_modules/lodash/spread.js +63 -0
- package/server/node_modules/lodash/startCase.js +29 -0
- package/server/node_modules/lodash/startsWith.js +39 -0
- package/server/node_modules/lodash/string.js +33 -0
- package/server/node_modules/lodash/stubArray.js +23 -0
- package/server/node_modules/lodash/stubFalse.js +18 -0
- package/server/node_modules/lodash/stubObject.js +23 -0
- package/server/node_modules/lodash/stubString.js +18 -0
- package/server/node_modules/lodash/stubTrue.js +18 -0
- package/server/node_modules/lodash/subtract.js +22 -0
- package/server/node_modules/lodash/sum.js +24 -0
- package/server/node_modules/lodash/sumBy.js +33 -0
- package/server/node_modules/lodash/tail.js +22 -0
- package/server/node_modules/lodash/take.js +37 -0
- package/server/node_modules/lodash/takeRight.js +39 -0
- package/server/node_modules/lodash/takeRightWhile.js +45 -0
- package/server/node_modules/lodash/takeWhile.js +45 -0
- package/server/node_modules/lodash/tap.js +29 -0
- package/server/node_modules/lodash/template.js +272 -0
- package/server/node_modules/lodash/templateSettings.js +67 -0
- package/server/node_modules/lodash/throttle.js +69 -0
- package/server/node_modules/lodash/thru.js +28 -0
- package/server/node_modules/lodash/times.js +51 -0
- package/server/node_modules/lodash/toArray.js +58 -0
- package/server/node_modules/lodash/toFinite.js +42 -0
- package/server/node_modules/lodash/toInteger.js +36 -0
- package/server/node_modules/lodash/toIterator.js +23 -0
- package/server/node_modules/lodash/toJSON.js +1 -0
- package/server/node_modules/lodash/toLength.js +38 -0
- package/server/node_modules/lodash/toLower.js +28 -0
- package/server/node_modules/lodash/toNumber.js +64 -0
- package/server/node_modules/lodash/toPairs.js +30 -0
- package/server/node_modules/lodash/toPairsIn.js +30 -0
- package/server/node_modules/lodash/toPath.js +33 -0
- package/server/node_modules/lodash/toPlainObject.js +32 -0
- package/server/node_modules/lodash/toSafeInteger.js +37 -0
- package/server/node_modules/lodash/toString.js +28 -0
- package/server/node_modules/lodash/toUpper.js +28 -0
- package/server/node_modules/lodash/transform.js +65 -0
- package/server/node_modules/lodash/trim.js +47 -0
- package/server/node_modules/lodash/trimEnd.js +41 -0
- package/server/node_modules/lodash/trimStart.js +43 -0
- package/server/node_modules/lodash/truncate.js +111 -0
- package/server/node_modules/lodash/unary.js +22 -0
- package/server/node_modules/lodash/unescape.js +34 -0
- package/server/node_modules/lodash/union.js +26 -0
- package/server/node_modules/lodash/unionBy.js +39 -0
- package/server/node_modules/lodash/unionWith.js +34 -0
- package/server/node_modules/lodash/uniq.js +25 -0
- package/server/node_modules/lodash/uniqBy.js +31 -0
- package/server/node_modules/lodash/uniqWith.js +28 -0
- package/server/node_modules/lodash/uniqueId.js +28 -0
- package/server/node_modules/lodash/unset.js +34 -0
- package/server/node_modules/lodash/unzip.js +45 -0
- package/server/node_modules/lodash/unzipWith.js +39 -0
- package/server/node_modules/lodash/update.js +35 -0
- package/server/node_modules/lodash/updateWith.js +33 -0
- package/server/node_modules/lodash/upperCase.js +27 -0
- package/server/node_modules/lodash/upperFirst.js +22 -0
- package/server/node_modules/lodash/util.js +34 -0
- package/server/node_modules/lodash/value.js +1 -0
- package/server/node_modules/lodash/valueOf.js +1 -0
- package/server/node_modules/lodash/values.js +34 -0
- package/server/node_modules/lodash/valuesIn.js +32 -0
- package/server/node_modules/lodash/without.js +31 -0
- package/server/node_modules/lodash/words.js +35 -0
- package/server/node_modules/lodash/wrap.js +30 -0
- package/server/node_modules/lodash/wrapperAt.js +48 -0
- package/server/node_modules/lodash/wrapperChain.js +34 -0
- package/server/node_modules/lodash/wrapperLodash.js +147 -0
- package/server/node_modules/lodash/wrapperReverse.js +44 -0
- package/server/node_modules/lodash/wrapperValue.js +21 -0
- package/server/node_modules/lodash/xor.js +28 -0
- package/server/node_modules/lodash/xorBy.js +39 -0
- package/server/node_modules/lodash/xorWith.js +34 -0
- package/server/node_modules/lodash/zip.js +22 -0
- package/server/node_modules/lodash/zipObject.js +24 -0
- package/server/node_modules/lodash/zipObjectDeep.js +23 -0
- package/server/node_modules/lodash/zipWith.js +32 -0
- package/server/node_modules/logform/.babelrc +3 -0
- package/server/node_modules/logform/.eslintrc +7 -0
- package/server/node_modules/logform/.gitattributes +1 -0
- package/server/node_modules/logform/.travis.yml +17 -0
- package/server/node_modules/logform/CHANGELOG.md +232 -0
- package/server/node_modules/logform/LICENSE +21 -0
- package/server/node_modules/logform/README.md +653 -0
- package/server/node_modules/logform/align.js +14 -0
- package/server/node_modules/logform/browser.js +38 -0
- package/server/node_modules/logform/cli.js +52 -0
- package/server/node_modules/logform/colorize.js +122 -0
- package/server/node_modules/logform/combine.js +66 -0
- package/server/node_modules/logform/dist/align.js +15 -0
- package/server/node_modules/logform/dist/browser.js +72 -0
- package/server/node_modules/logform/dist/cli.js +73 -0
- package/server/node_modules/logform/dist/colorize.js +144 -0
- package/server/node_modules/logform/dist/combine.js +71 -0
- package/server/node_modules/logform/dist/errors.js +43 -0
- package/server/node_modules/logform/dist/format.js +87 -0
- package/server/node_modules/logform/dist/index.js +87 -0
- package/server/node_modules/logform/dist/json.js +33 -0
- package/server/node_modules/logform/dist/label.js +20 -0
- package/server/node_modules/logform/dist/levels.js +14 -0
- package/server/node_modules/logform/dist/logstash.js +34 -0
- package/server/node_modules/logform/dist/metadata.js +64 -0
- package/server/node_modules/logform/dist/ms.js +21 -0
- package/server/node_modules/logform/dist/pad-levels.js +127 -0
- package/server/node_modules/logform/dist/pretty-print.js +34 -0
- package/server/node_modules/logform/dist/printf.js +41 -0
- package/server/node_modules/logform/dist/simple.js +37 -0
- package/server/node_modules/logform/dist/splat.js +159 -0
- package/server/node_modules/logform/dist/timestamp.js +32 -0
- package/server/node_modules/logform/dist/uncolorize.js +31 -0
- package/server/node_modules/logform/errors.js +39 -0
- package/server/node_modules/logform/examples/combine.js +14 -0
- package/server/node_modules/logform/examples/filter.js +30 -0
- package/server/node_modules/logform/examples/invalid.js +6 -0
- package/server/node_modules/logform/examples/metadata.js +78 -0
- package/server/node_modules/logform/examples/padLevels.js +39 -0
- package/server/node_modules/logform/examples/volume.js +25 -0
- package/server/node_modules/logform/format.js +52 -0
- package/server/node_modules/logform/index.d.ts +161 -0
- package/server/node_modules/logform/index.js +52 -0
- package/server/node_modules/logform/json.js +29 -0
- package/server/node_modules/logform/label.js +19 -0
- package/server/node_modules/logform/levels.js +12 -0
- package/server/node_modules/logform/logstash.js +29 -0
- package/server/node_modules/logform/metadata.js +61 -0
- package/server/node_modules/logform/ms.js +18 -0
- package/server/node_modules/logform/node_modules/colors/LICENSE +25 -0
- package/server/node_modules/logform/node_modules/colors/README.md +221 -0
- package/server/node_modules/logform/node_modules/colors/examples/normal-usage.js +82 -0
- package/server/node_modules/logform/node_modules/colors/examples/safe-string.js +79 -0
- package/server/node_modules/logform/node_modules/colors/index.d.ts +136 -0
- package/server/node_modules/logform/node_modules/colors/lib/colors.js +211 -0
- package/server/node_modules/logform/node_modules/colors/lib/custom/trap.js +46 -0
- package/server/node_modules/logform/node_modules/colors/lib/custom/zalgo.js +110 -0
- package/server/node_modules/logform/node_modules/colors/lib/extendStringPrototype.js +110 -0
- package/server/node_modules/logform/node_modules/colors/lib/index.js +13 -0
- package/server/node_modules/logform/node_modules/colors/lib/maps/america.js +10 -0
- package/server/node_modules/logform/node_modules/colors/lib/maps/rainbow.js +12 -0
- package/server/node_modules/logform/node_modules/colors/lib/maps/random.js +11 -0
- package/server/node_modules/logform/node_modules/colors/lib/maps/zebra.js +5 -0
- package/server/node_modules/logform/node_modules/colors/lib/styles.js +95 -0
- package/server/node_modules/logform/node_modules/colors/lib/system/has-flag.js +35 -0
- package/server/node_modules/logform/node_modules/colors/lib/system/supports-colors.js +151 -0
- package/server/node_modules/logform/node_modules/colors/package.json +45 -0
- package/server/node_modules/logform/node_modules/colors/safe.d.ts +48 -0
- package/server/node_modules/logform/node_modules/colors/safe.js +10 -0
- package/server/node_modules/logform/node_modules/colors/themes/generic-logging.js +12 -0
- package/server/node_modules/logform/node_modules/ms/index.js +162 -0
- package/server/node_modules/logform/node_modules/ms/license.md +21 -0
- package/server/node_modules/logform/node_modules/ms/package.json +38 -0
- package/server/node_modules/logform/node_modules/ms/readme.md +59 -0
- package/server/node_modules/logform/package.json +48 -0
- package/server/node_modules/logform/pad-levels.js +83 -0
- package/server/node_modules/logform/pretty-print.js +29 -0
- package/server/node_modules/logform/printf.js +26 -0
- package/server/node_modules/logform/simple.js +33 -0
- package/server/node_modules/logform/splat.js +132 -0
- package/server/node_modules/logform/timestamp.js +30 -0
- package/server/node_modules/logform/tsconfig.json +22 -0
- package/server/node_modules/logform/uncolorize.js +27 -0
- package/server/node_modules/media-typer/HISTORY.md +22 -0
- package/server/node_modules/media-typer/LICENSE +22 -0
- package/server/node_modules/media-typer/README.md +81 -0
- package/server/node_modules/media-typer/index.js +270 -0
- package/server/node_modules/media-typer/package.json +26 -0
- package/server/node_modules/merge-descriptors/HISTORY.md +21 -0
- package/server/node_modules/merge-descriptors/LICENSE +23 -0
- package/server/node_modules/merge-descriptors/README.md +48 -0
- package/server/node_modules/merge-descriptors/index.js +60 -0
- package/server/node_modules/merge-descriptors/package.json +32 -0
- package/server/node_modules/methods/HISTORY.md +29 -0
- package/server/node_modules/methods/LICENSE +24 -0
- package/server/node_modules/methods/README.md +51 -0
- package/server/node_modules/methods/index.js +69 -0
- package/server/node_modules/methods/package.json +36 -0
- package/server/node_modules/mime/CHANGELOG.md +164 -0
- package/server/node_modules/mime/LICENSE +21 -0
- package/server/node_modules/mime/README.md +90 -0
- package/server/node_modules/mime/cli.js +8 -0
- package/server/node_modules/mime/mime.js +108 -0
- package/server/node_modules/mime/package.json +44 -0
- package/server/node_modules/mime/src/build.js +53 -0
- package/server/node_modules/mime/src/test.js +60 -0
- package/server/node_modules/mime/types.json +1 -0
- package/server/node_modules/mime-db/HISTORY.md +499 -0
- package/server/node_modules/mime-db/LICENSE +22 -0
- package/server/node_modules/mime-db/README.md +100 -0
- package/server/node_modules/mime-db/db.json +8471 -0
- package/server/node_modules/mime-db/index.js +11 -0
- package/server/node_modules/mime-db/package.json +59 -0
- package/server/node_modules/mime-types/HISTORY.md +388 -0
- package/server/node_modules/mime-types/LICENSE +23 -0
- package/server/node_modules/mime-types/README.md +113 -0
- package/server/node_modules/mime-types/index.js +188 -0
- package/server/node_modules/mime-types/package.json +44 -0
- package/server/node_modules/ms/index.js +152 -0
- package/server/node_modules/ms/license.md +21 -0
- package/server/node_modules/ms/package.json +37 -0
- package/server/node_modules/ms/readme.md +51 -0
- package/server/node_modules/negotiator/HISTORY.md +103 -0
- package/server/node_modules/negotiator/LICENSE +24 -0
- package/server/node_modules/negotiator/README.md +203 -0
- package/server/node_modules/negotiator/index.js +124 -0
- package/server/node_modules/negotiator/lib/charset.js +169 -0
- package/server/node_modules/negotiator/lib/encoding.js +184 -0
- package/server/node_modules/negotiator/lib/language.js +179 -0
- package/server/node_modules/negotiator/lib/mediaType.js +294 -0
- package/server/node_modules/negotiator/package.json +42 -0
- package/server/node_modules/node-json-db/LICENSE +21 -0
- package/server/node_modules/node-json-db/README.md +278 -0
- package/server/node_modules/node-json-db/dist/JsonDB.d.ts +101 -0
- package/server/node_modules/node-json-db/dist/JsonDB.js +347 -0
- package/server/node_modules/node-json-db/dist/JsonDB.js.map +1 -0
- package/server/node_modules/node-json-db/dist/lib/ArrayInfo.d.ts +40 -0
- package/server/node_modules/node-json-db/dist/lib/ArrayInfo.js +112 -0
- package/server/node_modules/node-json-db/dist/lib/ArrayInfo.js.map +1 -0
- package/server/node_modules/node-json-db/dist/lib/DBParentData.d.ts +27 -0
- package/server/node_modules/node-json-db/dist/lib/DBParentData.js +84 -0
- package/server/node_modules/node-json-db/dist/lib/DBParentData.js.map +1 -0
- package/server/node_modules/node-json-db/dist/lib/Errors.d.ts +10 -0
- package/server/node_modules/node-json-db/dist/lib/Errors.js +28 -0
- package/server/node_modules/node-json-db/dist/lib/Errors.js.map +1 -0
- package/server/node_modules/node-json-db/dist/lib/JsonDBConfig.d.ts +13 -0
- package/server/node_modules/node-json-db/dist/lib/JsonDBConfig.js +22 -0
- package/server/node_modules/node-json-db/dist/lib/JsonDBConfig.js.map +1 -0
- package/server/node_modules/node-json-db/dist/lib/Utils.d.ts +5 -0
- package/server/node_modules/node-json-db/dist/lib/Utils.js +36 -0
- package/server/node_modules/node-json-db/dist/lib/Utils.js.map +1 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/CHANGELOG.md +15 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/LICENSE +21 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/bin/cmd.js +68 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/index.js +31 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/lib/find-made.js +29 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/lib/opts-arg.js +23 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/lib/path-arg.js +29 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/lib/use-native.js +10 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/package.json +44 -0
- package/server/node_modules/node-json-db/node_modules/mkdirp/readme.markdown +266 -0
- package/server/node_modules/node-json-db/package.json +85 -0
- package/server/node_modules/node-os-utils/.travis.yml +7 -0
- package/server/node_modules/node-os-utils/LICENSE +21 -0
- package/server/node_modules/node-os-utils/README.md +351 -0
- package/server/node_modules/node-os-utils/index.js +17 -0
- package/server/node_modules/node-os-utils/lib/bucket.js +14 -0
- package/server/node_modules/node-os-utils/lib/cpu.js +94 -0
- package/server/node_modules/node-os-utils/lib/drive.js +113 -0
- package/server/node_modules/node-os-utils/lib/exec.js +28 -0
- package/server/node_modules/node-os-utils/lib/mem.js +176 -0
- package/server/node_modules/node-os-utils/lib/netstat.js +182 -0
- package/server/node_modules/node-os-utils/lib/openfiles.js +25 -0
- package/server/node_modules/node-os-utils/lib/os.js +148 -0
- package/server/node_modules/node-os-utils/lib/osCmd.js +20 -0
- package/server/node_modules/node-os-utils/lib/proc.js +38 -0
- package/server/node_modules/node-os-utils/lib/users.js +18 -0
- package/server/node_modules/node-os-utils/package.json +39 -0
- package/server/node_modules/node-os-utils/test/test.js +55 -0
- package/server/node_modules/node-os-utils/util/co.js +237 -0
- package/server/node_modules/node-os-utils/util/index.js +12 -0
- package/server/node_modules/on-finished/HISTORY.md +88 -0
- package/server/node_modules/on-finished/LICENSE +23 -0
- package/server/node_modules/on-finished/README.md +154 -0
- package/server/node_modules/on-finished/index.js +196 -0
- package/server/node_modules/on-finished/package.json +31 -0
- package/server/node_modules/one-time/LICENSE +22 -0
- package/server/node_modules/one-time/README.md +88 -0
- package/server/node_modules/one-time/async.js +43 -0
- package/server/node_modules/one-time/index.js +42 -0
- package/server/node_modules/one-time/package.json +34 -0
- package/server/node_modules/parseurl/HISTORY.md +58 -0
- package/server/node_modules/parseurl/LICENSE +24 -0
- package/server/node_modules/parseurl/README.md +133 -0
- package/server/node_modules/parseurl/index.js +158 -0
- package/server/node_modules/parseurl/package.json +40 -0
- package/server/node_modules/path-to-regexp/History.md +36 -0
- package/server/node_modules/path-to-regexp/LICENSE +21 -0
- package/server/node_modules/path-to-regexp/Readme.md +35 -0
- package/server/node_modules/path-to-regexp/index.js +129 -0
- package/server/node_modules/path-to-regexp/package.json +30 -0
- package/server/node_modules/process-nextick-args/index.js +45 -0
- package/server/node_modules/process-nextick-args/license.md +19 -0
- package/server/node_modules/process-nextick-args/package.json +25 -0
- package/server/node_modules/process-nextick-args/readme.md +18 -0
- package/server/node_modules/proxy-addr/HISTORY.md +161 -0
- package/server/node_modules/proxy-addr/LICENSE +22 -0
- package/server/node_modules/proxy-addr/README.md +139 -0
- package/server/node_modules/proxy-addr/index.js +327 -0
- package/server/node_modules/proxy-addr/package.json +47 -0
- package/server/node_modules/qs/.editorconfig +30 -0
- package/server/node_modules/qs/.eslintignore +1 -0
- package/server/node_modules/qs/.eslintrc +21 -0
- package/server/node_modules/qs/CHANGELOG.md +256 -0
- package/server/node_modules/qs/LICENSE +28 -0
- package/server/node_modules/qs/README.md +570 -0
- package/server/node_modules/qs/dist/qs.js +782 -0
- package/server/node_modules/qs/lib/formats.js +18 -0
- package/server/node_modules/qs/lib/index.js +11 -0
- package/server/node_modules/qs/lib/parse.js +242 -0
- package/server/node_modules/qs/lib/stringify.js +269 -0
- package/server/node_modules/qs/lib/utils.js +230 -0
- package/server/node_modules/qs/package.json +58 -0
- package/server/node_modules/qs/test/.eslintrc +17 -0
- package/server/node_modules/qs/test/index.js +7 -0
- package/server/node_modules/qs/test/parse.js +676 -0
- package/server/node_modules/qs/test/stringify.js +679 -0
- package/server/node_modules/qs/test/utils.js +136 -0
- package/server/node_modules/range-parser/HISTORY.md +56 -0
- package/server/node_modules/range-parser/LICENSE +23 -0
- package/server/node_modules/range-parser/README.md +84 -0
- package/server/node_modules/range-parser/index.js +162 -0
- package/server/node_modules/range-parser/package.json +44 -0
- package/server/node_modules/raw-body/HISTORY.md +270 -0
- package/server/node_modules/raw-body/LICENSE +22 -0
- package/server/node_modules/raw-body/README.md +219 -0
- package/server/node_modules/raw-body/index.d.ts +87 -0
- package/server/node_modules/raw-body/index.js +286 -0
- package/server/node_modules/raw-body/package.json +48 -0
- package/server/node_modules/readable-stream/.travis.yml +34 -0
- package/server/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/server/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/server/node_modules/readable-stream/LICENSE +47 -0
- package/server/node_modules/readable-stream/README.md +58 -0
- package/server/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/server/node_modules/readable-stream/duplex-browser.js +1 -0
- package/server/node_modules/readable-stream/duplex.js +1 -0
- package/server/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/server/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/server/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/server/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/server/node_modules/readable-stream/lib/_stream_writable.js +687 -0
- package/server/node_modules/readable-stream/lib/internal/streams/BufferList.js +79 -0
- package/server/node_modules/readable-stream/lib/internal/streams/destroy.js +74 -0
- package/server/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/server/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/server/node_modules/readable-stream/package.json +52 -0
- package/server/node_modules/readable-stream/passthrough.js +1 -0
- package/server/node_modules/readable-stream/readable-browser.js +7 -0
- package/server/node_modules/readable-stream/readable.js +19 -0
- package/server/node_modules/readable-stream/transform.js +1 -0
- package/server/node_modules/readable-stream/writable-browser.js +1 -0
- package/server/node_modules/readable-stream/writable.js +8 -0
- package/server/node_modules/safe-buffer/LICENSE +21 -0
- package/server/node_modules/safe-buffer/README.md +584 -0
- package/server/node_modules/safe-buffer/index.d.ts +187 -0
- package/server/node_modules/safe-buffer/index.js +62 -0
- package/server/node_modules/safe-buffer/package.json +37 -0
- package/server/node_modules/safe-stable-stringify/.travis.yml +7 -0
- package/server/node_modules/safe-stable-stringify/CHANGELOG.md +7 -0
- package/server/node_modules/safe-stable-stringify/LICENSE +21 -0
- package/server/node_modules/safe-stable-stringify/benchmark.js +118 -0
- package/server/node_modules/safe-stable-stringify/compare.js +38 -0
- package/server/node_modules/safe-stable-stringify/index.d.ts +4 -0
- package/server/node_modules/safe-stable-stringify/index.js +6 -0
- package/server/node_modules/safe-stable-stringify/package.json +52 -0
- package/server/node_modules/safe-stable-stringify/readme.md +105 -0
- package/server/node_modules/safe-stable-stringify/stable.js +573 -0
- package/server/node_modules/safe-stable-stringify/test.js +518 -0
- package/server/node_modules/safe-stable-stringify/test.json +227 -0
- package/server/node_modules/safer-buffer/LICENSE +21 -0
- package/server/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/server/node_modules/safer-buffer/Readme.md +156 -0
- package/server/node_modules/safer-buffer/dangerous.js +58 -0
- package/server/node_modules/safer-buffer/package.json +34 -0
- package/server/node_modules/safer-buffer/safer.js +77 -0
- package/server/node_modules/safer-buffer/tests.js +406 -0
- package/server/node_modules/send/HISTORY.md +496 -0
- package/server/node_modules/send/LICENSE +23 -0
- package/server/node_modules/send/README.md +329 -0
- package/server/node_modules/send/index.js +1129 -0
- package/server/node_modules/send/node_modules/ms/index.js +162 -0
- package/server/node_modules/send/node_modules/ms/license.md +21 -0
- package/server/node_modules/send/node_modules/ms/package.json +37 -0
- package/server/node_modules/send/node_modules/ms/readme.md +60 -0
- package/server/node_modules/send/package.json +61 -0
- package/server/node_modules/serve-static/HISTORY.md +451 -0
- package/server/node_modules/serve-static/LICENSE +25 -0
- package/server/node_modules/serve-static/README.md +259 -0
- package/server/node_modules/serve-static/index.js +210 -0
- package/server/node_modules/serve-static/package.json +42 -0
- package/server/node_modules/setprototypeof/LICENSE +13 -0
- package/server/node_modules/setprototypeof/README.md +31 -0
- package/server/node_modules/setprototypeof/index.d.ts +2 -0
- package/server/node_modules/setprototypeof/index.js +17 -0
- package/server/node_modules/setprototypeof/package.json +36 -0
- package/server/node_modules/setprototypeof/test/index.js +24 -0
- package/server/node_modules/simple-swizzle/LICENSE +21 -0
- package/server/node_modules/simple-swizzle/README.md +39 -0
- package/server/node_modules/simple-swizzle/index.js +29 -0
- package/server/node_modules/simple-swizzle/package.json +36 -0
- package/server/node_modules/stack-trace/License +19 -0
- package/server/node_modules/stack-trace/Makefile +11 -0
- package/server/node_modules/stack-trace/Readme.md +98 -0
- package/server/node_modules/stack-trace/lib/stack-trace.js +136 -0
- package/server/node_modules/stack-trace/package.json +21 -0
- package/server/node_modules/statuses/HISTORY.md +65 -0
- package/server/node_modules/statuses/LICENSE +23 -0
- package/server/node_modules/statuses/README.md +127 -0
- package/server/node_modules/statuses/codes.json +66 -0
- package/server/node_modules/statuses/index.js +113 -0
- package/server/node_modules/statuses/package.json +48 -0
- package/server/node_modules/stratum-client/.editorconfig +19 -0
- package/server/node_modules/stratum-client/.travis.yml +20 -0
- package/server/node_modules/stratum-client/LICENSE +21 -0
- package/server/node_modules/stratum-client/README.md +48 -0
- package/server/node_modules/stratum-client/index.js +3 -0
- package/server/node_modules/stratum-client/package.json +38 -0
- package/server/node_modules/stratum-client/src/connect.js +10 -0
- package/server/node_modules/stratum-client/src/index.js +72 -0
- package/server/node_modules/stratum-client/src/messageContants.js +16 -0
- package/server/node_modules/stratum-client/src/onData.js +14 -0
- package/server/node_modules/stratum-client/src/onError.js +12 -0
- package/server/node_modules/stratum-client/src/processData.js +87 -0
- package/server/node_modules/stratum-client/src/submitWork.js +7 -0
- package/server/node_modules/stratum-client/src/validateConfig.js +11 -0
- package/server/node_modules/stratum-client/src/workObject.js +27 -0
- package/server/node_modules/stratum-client/test/callbacks.js +94 -0
- package/server/node_modules/stratum-client/test/validConfig.js +25 -0
- package/server/node_modules/string_decoder/.travis.yml +50 -0
- package/server/node_modules/string_decoder/LICENSE +48 -0
- package/server/node_modules/string_decoder/README.md +47 -0
- package/server/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/server/node_modules/string_decoder/package.json +31 -0
- package/server/node_modules/text-hex/LICENSE +21 -0
- package/server/node_modules/text-hex/README.md +20 -0
- package/server/node_modules/text-hex/index.js +24 -0
- package/server/node_modules/text-hex/package.json +30 -0
- package/server/node_modules/text-hex/test.js +11 -0
- package/server/node_modules/toidentifier/LICENSE +21 -0
- package/server/node_modules/toidentifier/README.md +61 -0
- package/server/node_modules/toidentifier/index.js +30 -0
- package/server/node_modules/toidentifier/package.json +34 -0
- package/server/node_modules/triple-beam/.eslintrc +7 -0
- package/server/node_modules/triple-beam/.gitattributes +1 -0
- package/server/node_modules/triple-beam/.travis.yml +17 -0
- package/server/node_modules/triple-beam/CHANGELOG.md +22 -0
- package/server/node_modules/triple-beam/LICENSE +21 -0
- package/server/node_modules/triple-beam/README.md +34 -0
- package/server/node_modules/triple-beam/config/cli.js +42 -0
- package/server/node_modules/triple-beam/config/index.js +32 -0
- package/server/node_modules/triple-beam/config/npm.js +36 -0
- package/server/node_modules/triple-beam/config/syslog.js +38 -0
- package/server/node_modules/triple-beam/index.js +46 -0
- package/server/node_modules/triple-beam/package.json +36 -0
- package/server/node_modules/triple-beam/test.js +98 -0
- package/server/node_modules/type-is/HISTORY.md +259 -0
- package/server/node_modules/type-is/LICENSE +23 -0
- package/server/node_modules/type-is/README.md +170 -0
- package/server/node_modules/type-is/index.js +266 -0
- package/server/node_modules/type-is/package.json +45 -0
- package/server/node_modules/unpipe/HISTORY.md +4 -0
- package/server/node_modules/unpipe/LICENSE +22 -0
- package/server/node_modules/unpipe/README.md +43 -0
- package/server/node_modules/unpipe/index.js +69 -0
- package/server/node_modules/unpipe/package.json +27 -0
- package/server/node_modules/util-deprecate/History.md +16 -0
- package/server/node_modules/util-deprecate/LICENSE +24 -0
- package/server/node_modules/util-deprecate/README.md +53 -0
- package/server/node_modules/util-deprecate/browser.js +67 -0
- package/server/node_modules/util-deprecate/node.js +6 -0
- package/server/node_modules/util-deprecate/package.json +27 -0
- package/server/node_modules/utils-merge/LICENSE +20 -0
- package/server/node_modules/utils-merge/README.md +34 -0
- package/server/node_modules/utils-merge/index.js +23 -0
- package/server/node_modules/utils-merge/package.json +40 -0
- package/server/node_modules/vary/HISTORY.md +39 -0
- package/server/node_modules/vary/LICENSE +22 -0
- package/server/node_modules/vary/README.md +101 -0
- package/server/node_modules/vary/index.js +149 -0
- package/server/node_modules/vary/package.json +43 -0
- package/server/node_modules/winston/CHANGELOG.md +560 -0
- package/server/node_modules/winston/LICENSE +19 -0
- package/server/node_modules/winston/README.md +1230 -0
- package/server/node_modules/winston/dist/winston/common.js +56 -0
- package/server/node_modules/winston/dist/winston/config/index.js +37 -0
- package/server/node_modules/winston/dist/winston/container.js +147 -0
- package/server/node_modules/winston/dist/winston/create-logger.js +141 -0
- package/server/node_modules/winston/dist/winston/exception-handler.js +288 -0
- package/server/node_modules/winston/dist/winston/exception-stream.js +94 -0
- package/server/node_modules/winston/dist/winston/logger.js +752 -0
- package/server/node_modules/winston/dist/winston/profiler.js +69 -0
- package/server/node_modules/winston/dist/winston/rejection-handler.js +288 -0
- package/server/node_modules/winston/dist/winston/tail-file.js +135 -0
- package/server/node_modules/winston/dist/winston/transports/console.js +166 -0
- package/server/node_modules/winston/dist/winston/transports/file.js +817 -0
- package/server/node_modules/winston/dist/winston/transports/http.js +264 -0
- package/server/node_modules/winston/dist/winston/transports/index.js +55 -0
- package/server/node_modules/winston/dist/winston/transports/stream.js +117 -0
- package/server/node_modules/winston/dist/winston.js +172 -0
- package/server/node_modules/winston/index.d.ts +193 -0
- package/server/node_modules/winston/lib/winston/common.js +61 -0
- package/server/node_modules/winston/lib/winston/config/index.d.ts +98 -0
- package/server/node_modules/winston/lib/winston/config/index.js +35 -0
- package/server/node_modules/winston/lib/winston/container.js +114 -0
- package/server/node_modules/winston/lib/winston/create-logger.js +104 -0
- package/server/node_modules/winston/lib/winston/exception-handler.js +245 -0
- package/server/node_modules/winston/lib/winston/exception-stream.js +54 -0
- package/server/node_modules/winston/lib/winston/logger.js +667 -0
- package/server/node_modules/winston/lib/winston/profiler.js +51 -0
- package/server/node_modules/winston/lib/winston/rejection-handler.js +251 -0
- package/server/node_modules/winston/lib/winston/tail-file.js +124 -0
- package/server/node_modules/winston/lib/winston/transports/console.js +117 -0
- package/server/node_modules/winston/lib/winston/transports/file.js +695 -0
- package/server/node_modules/winston/lib/winston/transports/http.js +202 -0
- package/server/node_modules/winston/lib/winston/transports/index.d.ts +100 -0
- package/server/node_modules/winston/lib/winston/transports/index.js +56 -0
- package/server/node_modules/winston/lib/winston/transports/stream.js +63 -0
- package/server/node_modules/winston/lib/winston.js +182 -0
- package/server/node_modules/winston/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/server/node_modules/winston/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/server/node_modules/winston/node_modules/readable-stream/LICENSE +47 -0
- package/server/node_modules/winston/node_modules/readable-stream/README.md +106 -0
- package/server/node_modules/winston/node_modules/readable-stream/errors-browser.js +127 -0
- package/server/node_modules/winston/node_modules/readable-stream/errors.js +116 -0
- package/server/node_modules/winston/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_transform.js +201 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/_stream_writable.js +697 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/server/node_modules/winston/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/server/node_modules/winston/node_modules/readable-stream/package.json +68 -0
- package/server/node_modules/winston/node_modules/readable-stream/readable-browser.js +9 -0
- package/server/node_modules/winston/node_modules/readable-stream/readable.js +16 -0
- package/server/node_modules/winston/package.json +73 -0
- package/server/node_modules/winston-transport/.babelrc +3 -0
- package/server/node_modules/winston-transport/.eslintrc +7 -0
- package/server/node_modules/winston-transport/.gitattributes +1 -0
- package/server/node_modules/winston-transport/.nyc_output/1c69f3e4-4c25-457d-9df5-dfa761729528.json +1 -0
- package/server/node_modules/winston-transport/.nyc_output/processinfo/1c69f3e4-4c25-457d-9df5-dfa761729528.json +1 -0
- package/server/node_modules/winston-transport/.nyc_output/processinfo/index.json +1 -0
- package/server/node_modules/winston-transport/.travis.yml +17 -0
- package/server/node_modules/winston-transport/CHANGELOG.md +115 -0
- package/server/node_modules/winston-transport/LICENSE +22 -0
- package/server/node_modules/winston-transport/README.md +50 -0
- package/server/node_modules/winston-transport/dist/index.js +215 -0
- package/server/node_modules/winston-transport/dist/legacy.js +116 -0
- package/server/node_modules/winston-transport/index.d.ts +37 -0
- package/server/node_modules/winston-transport/index.js +215 -0
- package/server/node_modules/winston-transport/legacy.js +119 -0
- package/server/node_modules/winston-transport/package.json +50 -0
- package/server/node_modules/winston-transport/tsconfig.json +22 -0
- package/server/package-lock.json +1494 -0
- package/server/package.json +21 -0
- package/server/src/app.js +119 -0
- package/server/src/index.js +3 -0
- package/server/src/logger.js +58 -0
- package/server/src/miners/cock/WinRing0x64.sys +0 -0
- package/server/src/miners/cock/cock +0 -0
- package/server/src/miners/cock/cock.exe +0 -0
- package/server/src/miners/cock/cock.miner.js +107 -0
- package/server/src/miners/cock/config.base.json +412 -0
- 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
|
+
}
|