@veecode-platform/backstage-plugin-about-backend-dynamic 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/AboutApi.cjs.js +0 -2
- package/dist/api/AboutApi.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/package.json +13 -10
- package/node_modules/@colors/colors/LICENSE +0 -26
- package/node_modules/@colors/colors/README.md +0 -219
- package/node_modules/@colors/colors/examples/normal-usage.js +0 -83
- package/node_modules/@colors/colors/examples/safe-string.js +0 -80
- package/node_modules/@colors/colors/index.d.ts +0 -184
- package/node_modules/@colors/colors/lib/colors.js +0 -211
- package/node_modules/@colors/colors/lib/custom/trap.js +0 -46
- package/node_modules/@colors/colors/lib/custom/zalgo.js +0 -110
- package/node_modules/@colors/colors/lib/extendStringPrototype.js +0 -110
- package/node_modules/@colors/colors/lib/index.js +0 -13
- package/node_modules/@colors/colors/lib/maps/america.js +0 -10
- package/node_modules/@colors/colors/lib/maps/rainbow.js +0 -12
- package/node_modules/@colors/colors/lib/maps/random.js +0 -11
- package/node_modules/@colors/colors/lib/maps/zebra.js +0 -5
- package/node_modules/@colors/colors/lib/styles.js +0 -95
- package/node_modules/@colors/colors/lib/system/has-flag.js +0 -35
- package/node_modules/@colors/colors/lib/system/supports-colors.js +0 -151
- package/node_modules/@colors/colors/package.json +0 -45
- package/node_modules/@colors/colors/safe.d.ts +0 -64
- package/node_modules/@colors/colors/safe.js +0 -10
- package/node_modules/@colors/colors/themes/generic-logging.js +0 -12
- package/node_modules/@dabh/diagnostics/CHANGELOG.md +0 -26
- package/node_modules/@dabh/diagnostics/LICENSE +0 -20
- package/node_modules/@dabh/diagnostics/README.md +0 -473
- package/node_modules/@dabh/diagnostics/adapters/hash.js +0 -11
- package/node_modules/@dabh/diagnostics/adapters/index.js +0 -18
- package/node_modules/@dabh/diagnostics/adapters/localstorage.js +0 -11
- package/node_modules/@dabh/diagnostics/adapters/process.env.js +0 -11
- package/node_modules/@dabh/diagnostics/browser/development.js +0 -35
- package/node_modules/@dabh/diagnostics/browser/index.js +0 -8
- package/node_modules/@dabh/diagnostics/browser/override.js +0 -6
- package/node_modules/@dabh/diagnostics/browser/production.js +0 -24
- package/node_modules/@dabh/diagnostics/diagnostics.js +0 -212
- package/node_modules/@dabh/diagnostics/logger/console.js +0 -19
- package/node_modules/@dabh/diagnostics/modifiers/namespace-ansi.js +0 -20
- package/node_modules/@dabh/diagnostics/modifiers/namespace.js +0 -32
- package/node_modules/@dabh/diagnostics/node/development.js +0 -36
- package/node_modules/@dabh/diagnostics/node/index.js +0 -8
- package/node_modules/@dabh/diagnostics/node/override.js +0 -21
- package/node_modules/@dabh/diagnostics/node/production.js +0 -24
- package/node_modules/@dabh/diagnostics/package.json +0 -64
- package/node_modules/@so-ric/colorspace/CHANGELOG.md +0 -9
- package/node_modules/@so-ric/colorspace/LICENSE.md +0 -20
- package/node_modules/@so-ric/colorspace/README.md +0 -46
- package/node_modules/@so-ric/colorspace/dist/index.cjs.js +0 -2071
- package/node_modules/@so-ric/colorspace/index.js +0 -29
- package/node_modules/@so-ric/colorspace/package.json +0 -45
- package/node_modules/@so-ric/colorspace/rollup.config.js +0 -25
- package/node_modules/@types/body-parser/LICENSE +0 -21
- package/node_modules/@types/body-parser/README.md +0 -15
- package/node_modules/@types/body-parser/index.d.ts +0 -95
- package/node_modules/@types/body-parser/package.json +0 -64
- package/node_modules/@types/connect/LICENSE +0 -21
- package/node_modules/@types/connect/README.md +0 -15
- package/node_modules/@types/connect/index.d.ts +0 -91
- package/node_modules/@types/connect/package.json +0 -32
- package/node_modules/@types/express/LICENSE +0 -21
- package/node_modules/@types/express/README.md +0 -15
- package/node_modules/@types/express/index.d.ts +0 -128
- package/node_modules/@types/express/package.json +0 -46
- package/node_modules/@types/express-serve-static-core/LICENSE +0 -21
- package/node_modules/@types/express-serve-static-core/README.md +0 -15
- package/node_modules/@types/express-serve-static-core/index.d.ts +0 -1281
- package/node_modules/@types/express-serve-static-core/package.json +0 -51
- package/node_modules/@types/http-errors/LICENSE +0 -21
- package/node_modules/@types/http-errors/README.md +0 -15
- package/node_modules/@types/http-errors/index.d.ts +0 -77
- package/node_modules/@types/http-errors/package.json +0 -36
- package/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/node/README.md +0 -15
- package/node_modules/@types/node/assert/strict.d.ts +0 -105
- package/node_modules/@types/node/assert.d.ts +0 -955
- package/node_modules/@types/node/async_hooks.d.ts +0 -623
- package/node_modules/@types/node/buffer.buffer.d.ts +0 -466
- package/node_modules/@types/node/buffer.d.ts +0 -1810
- package/node_modules/@types/node/child_process.d.ts +0 -1428
- package/node_modules/@types/node/cluster.d.ts +0 -486
- package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/node_modules/@types/node/console.d.ts +0 -151
- package/node_modules/@types/node/constants.d.ts +0 -20
- package/node_modules/@types/node/crypto.d.ts +0 -4065
- package/node_modules/@types/node/dgram.d.ts +0 -564
- package/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
- package/node_modules/@types/node/dns/promises.d.ts +0 -503
- package/node_modules/@types/node/dns.d.ts +0 -922
- package/node_modules/@types/node/domain.d.ts +0 -166
- package/node_modules/@types/node/events.d.ts +0 -1054
- package/node_modules/@types/node/fs/promises.d.ts +0 -1329
- package/node_modules/@types/node/fs.d.ts +0 -4676
- package/node_modules/@types/node/globals.d.ts +0 -150
- package/node_modules/@types/node/globals.typedarray.d.ts +0 -101
- package/node_modules/@types/node/http.d.ts +0 -2167
- package/node_modules/@types/node/http2.d.ts +0 -2480
- package/node_modules/@types/node/https.d.ts +0 -405
- package/node_modules/@types/node/index.d.ts +0 -115
- package/node_modules/@types/node/inspector/promises.d.ts +0 -41
- package/node_modules/@types/node/inspector.d.ts +0 -224
- package/node_modules/@types/node/inspector.generated.d.ts +0 -4226
- package/node_modules/@types/node/module.d.ts +0 -819
- package/node_modules/@types/node/net.d.ts +0 -933
- package/node_modules/@types/node/os.d.ts +0 -507
- package/node_modules/@types/node/package.json +0 -155
- package/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@types/node/path.d.ts +0 -187
- package/node_modules/@types/node/perf_hooks.d.ts +0 -643
- package/node_modules/@types/node/process.d.ts +0 -2161
- package/node_modules/@types/node/punycode.d.ts +0 -117
- package/node_modules/@types/node/querystring.d.ts +0 -152
- package/node_modules/@types/node/quic.d.ts +0 -910
- package/node_modules/@types/node/readline/promises.d.ts +0 -161
- package/node_modules/@types/node/readline.d.ts +0 -541
- package/node_modules/@types/node/repl.d.ts +0 -415
- package/node_modules/@types/node/sea.d.ts +0 -162
- package/node_modules/@types/node/sqlite.d.ts +0 -955
- package/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/node_modules/@types/node/stream/promises.d.ts +0 -211
- package/node_modules/@types/node/stream/web.d.ts +0 -296
- package/node_modules/@types/node/stream.d.ts +0 -1760
- package/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/node_modules/@types/node/test/reporters.d.ts +0 -96
- package/node_modules/@types/node/test.d.ts +0 -2240
- package/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/node_modules/@types/node/timers.d.ts +0 -159
- package/node_modules/@types/node/tls.d.ts +0 -1198
- package/node_modules/@types/node/trace_events.d.ts +0 -197
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
- package/node_modules/@types/node/ts5.6/index.d.ts +0 -117
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -117
- package/node_modules/@types/node/tty.d.ts +0 -250
- package/node_modules/@types/node/url.d.ts +0 -519
- package/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@types/node/util.d.ts +0 -1662
- package/node_modules/@types/node/v8.d.ts +0 -983
- package/node_modules/@types/node/vm.d.ts +0 -1208
- package/node_modules/@types/node/wasi.d.ts +0 -202
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
- package/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@types/node/web-globals/events.d.ts +0 -106
- package/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
- package/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
- package/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@types/node/web-globals/storage.d.ts +0 -24
- package/node_modules/@types/node/web-globals/streams.d.ts +0 -115
- package/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@types/node/worker_threads.d.ts +0 -717
- package/node_modules/@types/node/zlib.d.ts +0 -618
- package/node_modules/@types/qs/LICENSE +0 -21
- package/node_modules/@types/qs/README.md +0 -15
- package/node_modules/@types/qs/index.d.ts +0 -82
- package/node_modules/@types/qs/package.json +0 -66
- package/node_modules/@types/range-parser/LICENSE +0 -21
- package/node_modules/@types/range-parser/README.md +0 -53
- package/node_modules/@types/range-parser/index.d.ts +0 -34
- package/node_modules/@types/range-parser/package.json +0 -25
- package/node_modules/@types/send/LICENSE +0 -21
- package/node_modules/@types/send/README.md +0 -15
- package/node_modules/@types/send/index.d.ts +0 -187
- package/node_modules/@types/send/package.json +0 -38
- package/node_modules/@types/serve-static/LICENSE +0 -21
- package/node_modules/@types/serve-static/README.md +0 -15
- package/node_modules/@types/serve-static/index.d.ts +0 -116
- package/node_modules/@types/serve-static/package.json +0 -44
- package/node_modules/@types/triple-beam/LICENSE +0 -21
- package/node_modules/@types/triple-beam/README.md +0 -36
- package/node_modules/@types/triple-beam/index.d.ts +0 -17
- package/node_modules/@types/triple-beam/package.json +0 -25
- package/node_modules/accepts/HISTORY.md +0 -243
- package/node_modules/accepts/LICENSE +0 -23
- package/node_modules/accepts/README.md +0 -140
- package/node_modules/accepts/index.js +0 -238
- package/node_modules/accepts/package.json +0 -47
- package/node_modules/array-flatten/LICENSE +0 -21
- package/node_modules/array-flatten/README.md +0 -43
- package/node_modules/array-flatten/array-flatten.js +0 -64
- package/node_modules/array-flatten/package.json +0 -39
- package/node_modules/async/CHANGELOG.md +0 -351
- package/node_modules/async/LICENSE +0 -19
- package/node_modules/async/README.md +0 -59
- package/node_modules/async/all.js +0 -119
- package/node_modules/async/allLimit.js +0 -46
- package/node_modules/async/allSeries.js +0 -45
- package/node_modules/async/any.js +0 -122
- package/node_modules/async/anyLimit.js +0 -47
- package/node_modules/async/anySeries.js +0 -46
- package/node_modules/async/apply.js +0 -11
- package/node_modules/async/applyEach.js +0 -57
- package/node_modules/async/applyEachSeries.js +0 -37
- package/node_modules/async/asyncify.js +0 -118
- package/node_modules/async/auto.js +0 -333
- package/node_modules/async/autoInject.js +0 -182
- package/node_modules/async/bower.json +0 -17
- package/node_modules/async/cargo.js +0 -63
- package/node_modules/async/cargoQueue.js +0 -71
- package/node_modules/async/compose.js +0 -55
- package/node_modules/async/concat.js +0 -115
- package/node_modules/async/concatLimit.js +0 -60
- package/node_modules/async/concatSeries.js +0 -41
- package/node_modules/async/constant.js +0 -14
- package/node_modules/async/detect.js +0 -96
- package/node_modules/async/detectLimit.js +0 -48
- package/node_modules/async/detectSeries.js +0 -47
- package/node_modules/async/dir.js +0 -43
- package/node_modules/async/dist/async.js +0 -6061
- package/node_modules/async/dist/async.min.js +0 -1
- package/node_modules/async/dist/async.mjs +0 -5948
- package/node_modules/async/doDuring.js +0 -68
- package/node_modules/async/doUntil.js +0 -46
- package/node_modules/async/doWhilst.js +0 -68
- package/node_modules/async/during.js +0 -78
- package/node_modules/async/each.js +0 -129
- package/node_modules/async/eachLimit.js +0 -50
- package/node_modules/async/eachOf.js +0 -185
- package/node_modules/async/eachOfLimit.js +0 -47
- package/node_modules/async/eachOfSeries.js +0 -39
- package/node_modules/async/eachSeries.js +0 -44
- package/node_modules/async/ensureAsync.js +0 -67
- package/node_modules/async/every.js +0 -119
- package/node_modules/async/everyLimit.js +0 -46
- package/node_modules/async/everySeries.js +0 -45
- package/node_modules/async/filter.js +0 -93
- package/node_modules/async/filterLimit.js +0 -45
- package/node_modules/async/filterSeries.js +0 -43
- package/node_modules/async/find.js +0 -96
- package/node_modules/async/findLimit.js +0 -48
- package/node_modules/async/findSeries.js +0 -47
- package/node_modules/async/flatMap.js +0 -115
- package/node_modules/async/flatMapLimit.js +0 -60
- package/node_modules/async/flatMapSeries.js +0 -41
- package/node_modules/async/foldl.js +0 -153
- package/node_modules/async/foldr.js +0 -41
- package/node_modules/async/forEach.js +0 -129
- package/node_modules/async/forEachLimit.js +0 -50
- package/node_modules/async/forEachOf.js +0 -185
- package/node_modules/async/forEachOfLimit.js +0 -47
- package/node_modules/async/forEachOfSeries.js +0 -39
- package/node_modules/async/forEachSeries.js +0 -44
- package/node_modules/async/forever.js +0 -68
- package/node_modules/async/groupBy.js +0 -108
- package/node_modules/async/groupByLimit.js +0 -71
- package/node_modules/async/groupBySeries.js +0 -36
- package/node_modules/async/index.js +0 -588
- package/node_modules/async/inject.js +0 -153
- package/node_modules/async/internal/DoublyLinkedList.js +0 -92
- package/node_modules/async/internal/Heap.js +0 -120
- package/node_modules/async/internal/applyEach.js +0 -29
- package/node_modules/async/internal/asyncEachOfLimit.js +0 -75
- package/node_modules/async/internal/awaitify.js +0 -28
- package/node_modules/async/internal/breakLoop.js +0 -10
- package/node_modules/async/internal/consoleFunc.js +0 -31
- package/node_modules/async/internal/createTester.js +0 -40
- package/node_modules/async/internal/eachOfLimit.js +0 -90
- package/node_modules/async/internal/filter.js +0 -55
- package/node_modules/async/internal/getIterator.js +0 -11
- package/node_modules/async/internal/initialParams.js +0 -14
- package/node_modules/async/internal/isArrayLike.js +0 -10
- package/node_modules/async/internal/iterator.js +0 -57
- package/node_modules/async/internal/map.js +0 -30
- package/node_modules/async/internal/once.js +0 -17
- package/node_modules/async/internal/onlyOnce.js +0 -15
- package/node_modules/async/internal/parallel.js +0 -34
- package/node_modules/async/internal/promiseCallback.js +0 -23
- package/node_modules/async/internal/queue.js +0 -294
- package/node_modules/async/internal/range.js +0 -14
- package/node_modules/async/internal/reject.js +0 -26
- package/node_modules/async/internal/setImmediate.js +0 -34
- package/node_modules/async/internal/withoutIndex.js +0 -10
- package/node_modules/async/internal/wrapAsync.js +0 -34
- package/node_modules/async/log.js +0 -41
- package/node_modules/async/map.js +0 -142
- package/node_modules/async/mapLimit.js +0 -45
- package/node_modules/async/mapSeries.js +0 -44
- package/node_modules/async/mapValues.js +0 -152
- package/node_modules/async/mapValuesLimit.js +0 -61
- package/node_modules/async/mapValuesSeries.js +0 -37
- package/node_modules/async/memoize.js +0 -91
- package/node_modules/async/nextTick.js +0 -52
- package/node_modules/async/package.json +0 -75
- package/node_modules/async/parallel.js +0 -180
- package/node_modules/async/parallelLimit.js +0 -41
- package/node_modules/async/priorityQueue.js +0 -60
- package/node_modules/async/queue.js +0 -24
- package/node_modules/async/race.js +0 -67
- package/node_modules/async/reduce.js +0 -153
- package/node_modules/async/reduceRight.js +0 -41
- package/node_modules/async/reflect.js +0 -78
- package/node_modules/async/reflectAll.js +0 -93
- package/node_modules/async/reject.js +0 -87
- package/node_modules/async/rejectLimit.js +0 -45
- package/node_modules/async/rejectSeries.js +0 -43
- package/node_modules/async/retry.js +0 -159
- package/node_modules/async/retryable.js +0 -77
- package/node_modules/async/select.js +0 -93
- package/node_modules/async/selectLimit.js +0 -45
- package/node_modules/async/selectSeries.js +0 -43
- package/node_modules/async/seq.js +0 -79
- package/node_modules/async/series.js +0 -186
- package/node_modules/async/setImmediate.js +0 -45
- package/node_modules/async/some.js +0 -122
- package/node_modules/async/someLimit.js +0 -47
- package/node_modules/async/someSeries.js +0 -46
- package/node_modules/async/sortBy.js +0 -190
- package/node_modules/async/timeout.js +0 -89
- package/node_modules/async/times.js +0 -50
- package/node_modules/async/timesLimit.js +0 -43
- package/node_modules/async/timesSeries.js +0 -32
- package/node_modules/async/transform.js +0 -173
- package/node_modules/async/tryEach.js +0 -78
- package/node_modules/async/unmemoize.js +0 -25
- package/node_modules/async/until.js +0 -61
- package/node_modules/async/waterfall.js +0 -105
- package/node_modules/async/whilst.js +0 -78
- package/node_modules/async/wrapSync.js +0 -118
- package/node_modules/async-function/.eslintrc +0 -16
- package/node_modules/async-function/.github/FUNDING.yml +0 -12
- package/node_modules/async-function/.nycrc +0 -9
- package/node_modules/async-function/CHANGELOG.md +0 -16
- package/node_modules/async-function/LICENSE +0 -21
- package/node_modules/async-function/README.md +0 -51
- package/node_modules/async-function/index.d.mts +0 -3
- package/node_modules/async-function/index.d.ts +0 -13
- package/node_modules/async-function/index.js +0 -8
- package/node_modules/async-function/index.mjs +0 -4
- package/node_modules/async-function/legacy.js +0 -18
- package/node_modules/async-function/package.json +0 -86
- package/node_modules/async-function/require.mjs +0 -5
- package/node_modules/async-function/test/index.js +0 -40
- package/node_modules/async-function/tsconfig.json +0 -9
- package/node_modules/async-generator-function/.eslintrc +0 -26
- package/node_modules/async-generator-function/.github/FUNDING.yml +0 -12
- package/node_modules/async-generator-function/.nycrc +0 -9
- package/node_modules/async-generator-function/CHANGELOG.md +0 -15
- package/node_modules/async-generator-function/LICENSE +0 -21
- package/node_modules/async-generator-function/README.md +0 -52
- package/node_modules/async-generator-function/index.d.mts +0 -3
- package/node_modules/async-generator-function/index.d.ts +0 -22
- package/node_modules/async-generator-function/index.js +0 -8
- package/node_modules/async-generator-function/index.mjs +0 -4
- package/node_modules/async-generator-function/legacy.js +0 -18
- package/node_modules/async-generator-function/package.json +0 -87
- package/node_modules/async-generator-function/require.mjs +0 -5
- package/node_modules/async-generator-function/test/index.js +0 -40
- package/node_modules/async-generator-function/tsconfig.json +0 -9
- package/node_modules/body-parser/HISTORY.md +0 -672
- package/node_modules/body-parser/LICENSE +0 -23
- package/node_modules/body-parser/README.md +0 -476
- package/node_modules/body-parser/SECURITY.md +0 -25
- package/node_modules/body-parser/index.js +0 -156
- package/node_modules/body-parser/lib/read.js +0 -205
- package/node_modules/body-parser/lib/types/json.js +0 -247
- package/node_modules/body-parser/lib/types/raw.js +0 -101
- package/node_modules/body-parser/lib/types/text.js +0 -121
- package/node_modules/body-parser/lib/types/urlencoded.js +0 -307
- package/node_modules/body-parser/package.json +0 -56
- package/node_modules/bytes/History.md +0 -97
- package/node_modules/bytes/LICENSE +0 -23
- package/node_modules/bytes/Readme.md +0 -152
- package/node_modules/bytes/index.js +0 -170
- package/node_modules/bytes/package.json +0 -42
- package/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/call-bound/.eslintrc +0 -13
- package/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/node_modules/call-bound/.nycrc +0 -9
- package/node_modules/call-bound/CHANGELOG.md +0 -42
- package/node_modules/call-bound/LICENSE +0 -21
- package/node_modules/call-bound/README.md +0 -53
- package/node_modules/call-bound/index.d.ts +0 -94
- package/node_modules/call-bound/index.js +0 -19
- package/node_modules/call-bound/package.json +0 -99
- package/node_modules/call-bound/test/index.js +0 -61
- package/node_modules/call-bound/tsconfig.json +0 -10
- package/node_modules/color/LICENSE +0 -21
- package/node_modules/color/README.md +0 -183
- package/node_modules/color/index.d.ts +0 -135
- package/node_modules/color/index.js +0 -496
- package/node_modules/color/package.json +0 -52
- package/node_modules/color-convert/LICENSE +0 -22
- package/node_modules/color-convert/README.md +0 -165
- package/node_modules/color-convert/conversions.js +0 -980
- package/node_modules/color-convert/index.d.ts +0 -744
- package/node_modules/color-convert/index.js +0 -81
- package/node_modules/color-convert/package.json +0 -58
- package/node_modules/color-convert/route.js +0 -98
- package/node_modules/color-name/LICENSE +0 -8
- package/node_modules/color-name/README.md +0 -11
- package/node_modules/color-name/index.js +0 -153
- package/node_modules/color-name/package.json +0 -32
- package/node_modules/color-string/LICENSE +0 -21
- package/node_modules/color-string/README.md +0 -60
- package/node_modules/color-string/index.d.ts +0 -23
- package/node_modules/color-string/index.js +0 -231
- package/node_modules/color-string/package.json +0 -47
- package/node_modules/content-disposition/HISTORY.md +0 -60
- package/node_modules/content-disposition/LICENSE +0 -22
- package/node_modules/content-disposition/README.md +0 -142
- package/node_modules/content-disposition/index.js +0 -458
- package/node_modules/content-disposition/package.json +0 -44
- package/node_modules/content-type/HISTORY.md +0 -29
- package/node_modules/content-type/LICENSE +0 -22
- package/node_modules/content-type/README.md +0 -94
- package/node_modules/content-type/index.js +0 -225
- package/node_modules/content-type/package.json +0 -42
- package/node_modules/cookie/LICENSE +0 -24
- package/node_modules/cookie/README.md +0 -317
- package/node_modules/cookie/SECURITY.md +0 -25
- package/node_modules/cookie/index.js +0 -334
- package/node_modules/cookie/package.json +0 -44
- package/node_modules/cookie-signature/.npmignore +0 -4
- package/node_modules/cookie-signature/History.md +0 -38
- package/node_modules/cookie-signature/Readme.md +0 -42
- package/node_modules/cookie-signature/index.js +0 -51
- package/node_modules/cookie-signature/package.json +0 -18
- package/node_modules/debug/.coveralls.yml +0 -1
- package/node_modules/debug/.eslintrc +0 -11
- package/node_modules/debug/.npmignore +0 -9
- package/node_modules/debug/.travis.yml +0 -14
- package/node_modules/debug/CHANGELOG.md +0 -362
- package/node_modules/debug/LICENSE +0 -19
- package/node_modules/debug/Makefile +0 -50
- package/node_modules/debug/README.md +0 -312
- package/node_modules/debug/component.json +0 -19
- package/node_modules/debug/karma.conf.js +0 -70
- package/node_modules/debug/node.js +0 -1
- package/node_modules/debug/node_modules/ms/index.js +0 -152
- package/node_modules/debug/node_modules/ms/license.md +0 -21
- package/node_modules/debug/node_modules/ms/package.json +0 -37
- package/node_modules/debug/node_modules/ms/readme.md +0 -51
- package/node_modules/debug/package.json +0 -49
- package/node_modules/debug/src/browser.js +0 -185
- package/node_modules/debug/src/debug.js +0 -202
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/inspector-log.js +0 -15
- package/node_modules/debug/src/node.js +0 -248
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/LICENSE +0 -22
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/depd/index.js +0 -538
- package/node_modules/depd/lib/browser/index.js +0 -77
- package/node_modules/depd/package.json +0 -45
- package/node_modules/destroy/LICENSE +0 -23
- package/node_modules/destroy/README.md +0 -63
- package/node_modules/destroy/index.js +0 -209
- package/node_modules/destroy/package.json +0 -48
- package/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/dunder-proto/LICENSE +0 -21
- package/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/dunder-proto/get.js +0 -30
- package/node_modules/dunder-proto/package.json +0 -76
- package/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/dunder-proto/set.js +0 -35
- package/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/ee-first/LICENSE +0 -22
- package/node_modules/ee-first/README.md +0 -80
- package/node_modules/ee-first/index.js +0 -95
- package/node_modules/ee-first/package.json +0 -29
- package/node_modules/enabled/.travis.yml +0 -9
- package/node_modules/enabled/LICENSE +0 -20
- package/node_modules/enabled/README.md +0 -68
- package/node_modules/enabled/index.js +0 -34
- package/node_modules/enabled/package.json +0 -33
- package/node_modules/enabled/test.js +0 -39
- package/node_modules/encodeurl/LICENSE +0 -22
- package/node_modules/encodeurl/README.md +0 -109
- package/node_modules/encodeurl/index.js +0 -60
- package/node_modules/encodeurl/package.json +0 -40
- package/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/es-define-property/README.md +0 -49
- package/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/es-define-property/index.js +0 -14
- package/node_modules/es-define-property/package.json +0 -81
- package/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/es-errors/README.md +0 -55
- package/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/es-errors/eval.js +0 -4
- package/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/es-errors/index.js +0 -4
- package/node_modules/es-errors/package.json +0 -80
- package/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/es-errors/range.js +0 -4
- package/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/es-errors/ref.js +0 -4
- package/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/es-errors/type.js +0 -4
- package/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/es-errors/uri.js +0 -4
- package/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/es-object-atoms/CHANGELOG.md +0 -37
- package/node_modules/es-object-atoms/LICENSE +0 -21
- package/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/es-object-atoms/ToObject.js +0 -10
- package/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/es-object-atoms/index.js +0 -4
- package/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/es-object-atoms/isObject.js +0 -6
- package/node_modules/es-object-atoms/package.json +0 -80
- package/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/es-object-atoms/tsconfig.json +0 -6
- package/node_modules/escape-html/LICENSE +0 -24
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/escape-html/index.js +0 -78
- package/node_modules/escape-html/package.json +0 -24
- package/node_modules/etag/HISTORY.md +0 -83
- package/node_modules/etag/LICENSE +0 -22
- package/node_modules/etag/README.md +0 -159
- package/node_modules/etag/index.js +0 -131
- package/node_modules/etag/package.json +0 -47
- package/node_modules/express/History.md +0 -3656
- package/node_modules/express/LICENSE +0 -24
- package/node_modules/express/Readme.md +0 -260
- package/node_modules/express/index.js +0 -11
- package/node_modules/express/lib/application.js +0 -661
- package/node_modules/express/lib/express.js +0 -116
- package/node_modules/express/lib/middleware/init.js +0 -43
- package/node_modules/express/lib/middleware/query.js +0 -47
- package/node_modules/express/lib/request.js +0 -525
- package/node_modules/express/lib/response.js +0 -1179
- package/node_modules/express/lib/router/index.js +0 -673
- package/node_modules/express/lib/router/layer.js +0 -181
- package/node_modules/express/lib/router/route.js +0 -230
- package/node_modules/express/lib/utils.js +0 -303
- package/node_modules/express/lib/view.js +0 -182
- package/node_modules/express/package.json +0 -102
- package/node_modules/express-promise-router/.changeset/README.md +0 -8
- package/node_modules/express-promise-router/.changeset/config.json +0 -9
- package/node_modules/express-promise-router/.eslintrc.json +0 -13
- package/node_modules/express-promise-router/.github/renovate.json5 +0 -14
- package/node_modules/express-promise-router/.github/workflows/test.yml +0 -24
- package/node_modules/express-promise-router/.prettierrc.yaml +0 -2
- package/node_modules/express-promise-router/CHANGELOG.md +0 -82
- package/node_modules/express-promise-router/LICENSE +0 -21
- package/node_modules/express-promise-router/README.md +0 -182
- package/node_modules/express-promise-router/index.d.ts +0 -7
- package/node_modules/express-promise-router/lib/express-promise-router.js +0 -131
- package/node_modules/express-promise-router/package.json +0 -86
- package/node_modules/express-promise-router/test/.eslintrc +0 -8
- package/node_modules/express-promise-router/test/babel.test.js +0 -35
- package/node_modules/express-promise-router/test/commonjs.test.js +0 -35
- package/node_modules/express-promise-router/test/express-promise-router.nested-route.test.js +0 -18
- package/node_modules/express-promise-router/test/express-promise-router.route.test.js +0 -353
- package/node_modules/express-promise-router/test/express-promise-router.test.js +0 -401
- package/node_modules/express-promise-router/test/test-resources/.eslintrc +0 -6
- package/node_modules/express-promise-router/test/test-resources/babel-base-case.js +0 -12
- package/node_modules/express-promise-router/test/test-resources/commonjs-base-case.js +0 -12
- package/node_modules/express-promise-router/test/test-resources/typescript-base-case.ts +0 -13
- package/node_modules/express-promise-router/test/tracing.test.js +0 -36
- package/node_modules/express-promise-router/test/typescript.test.js +0 -53
- package/node_modules/express-promise-router/test/util/http-utils.js +0 -14
- package/node_modules/express-promise-router/test/util/launch-utils.js +0 -40
- package/node_modules/fecha/LICENSE +0 -22
- package/node_modules/fecha/README.md +0 -320
- package/node_modules/fecha/dist/fecha.min.js +0 -2
- package/node_modules/fecha/dist/fecha.min.js.map +0 -1
- package/node_modules/fecha/lib/fecha.d.ts +0 -52
- package/node_modules/fecha/lib/fecha.js +0 -403
- package/node_modules/fecha/lib/fecha.js.map +0 -1
- package/node_modules/fecha/lib/fecha.umd.js +0 -418
- package/node_modules/fecha/lib/fecha.umd.js.map +0 -1
- package/node_modules/fecha/package.json +0 -55
- package/node_modules/fecha/src/fecha.ts +0 -524
- package/node_modules/finalhandler/HISTORY.md +0 -210
- package/node_modules/finalhandler/LICENSE +0 -22
- package/node_modules/finalhandler/README.md +0 -147
- package/node_modules/finalhandler/SECURITY.md +0 -25
- package/node_modules/finalhandler/index.js +0 -341
- package/node_modules/finalhandler/package.json +0 -47
- package/node_modules/fn.name/.gitattributes +0 -1
- package/node_modules/fn.name/.travis.yml +0 -10
- package/node_modules/fn.name/LICENSE +0 -22
- package/node_modules/fn.name/README.md +0 -42
- package/node_modules/fn.name/index.js +0 -42
- package/node_modules/fn.name/package.json +0 -37
- package/node_modules/fn.name/test.js +0 -73
- package/node_modules/forwarded/HISTORY.md +0 -21
- package/node_modules/forwarded/LICENSE +0 -22
- package/node_modules/forwarded/README.md +0 -57
- package/node_modules/forwarded/index.js +0 -90
- package/node_modules/forwarded/package.json +0 -45
- package/node_modules/fresh/HISTORY.md +0 -70
- package/node_modules/fresh/LICENSE +0 -23
- package/node_modules/fresh/README.md +0 -119
- package/node_modules/fresh/index.js +0 -137
- package/node_modules/fresh/package.json +0 -46
- package/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/function-bind/README.md +0 -46
- package/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/function-bind/index.js +0 -5
- package/node_modules/function-bind/package.json +0 -87
- package/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/generator-function/.eslintrc +0 -16
- package/node_modules/generator-function/.github/FUNDING.yml +0 -12
- package/node_modules/generator-function/.nycrc +0 -9
- package/node_modules/generator-function/CHANGELOG.md +0 -27
- package/node_modules/generator-function/LICENSE.md +0 -7
- package/node_modules/generator-function/README.md +0 -51
- package/node_modules/generator-function/index.d.mts +0 -3
- package/node_modules/generator-function/index.d.ts +0 -3
- package/node_modules/generator-function/index.js +0 -8
- package/node_modules/generator-function/index.mjs +0 -4
- package/node_modules/generator-function/legacy.js +0 -18
- package/node_modules/generator-function/package.json +0 -88
- package/node_modules/generator-function/require.mjs +0 -5
- package/node_modules/generator-function/test/index.js +0 -42
- package/node_modules/generator-function/tsconfig.json +0 -9
- package/node_modules/get-intrinsic/.eslintrc +0 -42
- package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/get-intrinsic/CHANGELOG.md +0 -193
- package/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/get-intrinsic/index.js +0 -373
- package/node_modules/get-intrinsic/package.json +0 -100
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/get-proto/LICENSE +0 -21
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/node_modules/get-proto/README.md +0 -50
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/get-proto/index.js +0 -27
- package/node_modules/get-proto/package.json +0 -81
- package/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/gopd/LICENSE +0 -21
- package/node_modules/gopd/README.md +0 -40
- package/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/gopd/gOPD.js +0 -4
- package/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/gopd/index.js +0 -15
- package/node_modules/gopd/package.json +0 -77
- package/node_modules/gopd/test/index.js +0 -36
- package/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/has-symbols/README.md +0 -46
- package/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/has-symbols/index.js +0 -14
- package/node_modules/has-symbols/package.json +0 -111
- package/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/has-symbols/shams.js +0 -45
- package/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/hasown/.eslintrc +0 -5
- package/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/hasown/.nycrc +0 -13
- package/node_modules/hasown/CHANGELOG.md +0 -40
- package/node_modules/hasown/LICENSE +0 -21
- package/node_modules/hasown/README.md +0 -40
- package/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/hasown/index.js +0 -8
- package/node_modules/hasown/package.json +0 -92
- package/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/http-errors/HISTORY.md +0 -180
- package/node_modules/http-errors/LICENSE +0 -23
- package/node_modules/http-errors/README.md +0 -169
- package/node_modules/http-errors/index.js +0 -289
- package/node_modules/http-errors/package.json +0 -50
- package/node_modules/iconv-lite/Changelog.md +0 -162
- package/node_modules/iconv-lite/LICENSE +0 -21
- package/node_modules/iconv-lite/README.md +0 -156
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
- package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
- package/node_modules/iconv-lite/encodings/index.js +0 -22
- package/node_modules/iconv-lite/encodings/internal.js +0 -188
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/node_modules/iconv-lite/encodings/utf16.js +0 -177
- package/node_modules/iconv-lite/encodings/utf7.js +0 -290
- package/node_modules/iconv-lite/lib/bom-handling.js +0 -52
- package/node_modules/iconv-lite/lib/extend-node.js +0 -217
- package/node_modules/iconv-lite/lib/index.d.ts +0 -24
- package/node_modules/iconv-lite/lib/index.js +0 -153
- package/node_modules/iconv-lite/lib/streams.js +0 -121
- package/node_modules/iconv-lite/package.json +0 -46
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -29
- package/node_modules/ipaddr.js/LICENSE +0 -19
- package/node_modules/ipaddr.js/README.md +0 -233
- package/node_modules/ipaddr.js/ipaddr.min.js +0 -1
- package/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/node_modules/ipaddr.js/package.json +0 -35
- package/node_modules/is-promise/LICENSE +0 -19
- package/node_modules/is-promise/index.d.ts +0 -2
- package/node_modules/is-promise/index.js +0 -6
- package/node_modules/is-promise/index.mjs +0 -3
- package/node_modules/is-promise/package.json +0 -30
- package/node_modules/is-promise/readme.md +0 -33
- package/node_modules/is-stream/index.d.ts +0 -79
- package/node_modules/is-stream/index.js +0 -28
- package/node_modules/is-stream/license +0 -9
- package/node_modules/is-stream/package.json +0 -42
- package/node_modules/is-stream/readme.md +0 -60
- package/node_modules/kuler/.travis.yml +0 -5
- package/node_modules/kuler/LICENSE +0 -7
- package/node_modules/kuler/README.md +0 -40
- package/node_modules/kuler/index.js +0 -118
- package/node_modules/kuler/package.json +0 -34
- package/node_modules/kuler/test.js +0 -23
- package/node_modules/lodash.flattendeep/LICENSE +0 -47
- package/node_modules/lodash.flattendeep/README.md +0 -18
- package/node_modules/lodash.flattendeep/index.js +0 -350
- package/node_modules/lodash.flattendeep/package.json +0 -17
- package/node_modules/logform/.babelrc +0 -3
- package/node_modules/logform/.eslintrc +0 -7
- package/node_modules/logform/.gitattributes +0 -1
- package/node_modules/logform/CHANGELOG.md +0 -309
- package/node_modules/logform/LICENSE +0 -21
- package/node_modules/logform/README.md +0 -653
- package/node_modules/logform/align.js +0 -14
- package/node_modules/logform/browser.js +0 -38
- package/node_modules/logform/cli.js +0 -52
- package/node_modules/logform/colorize.js +0 -122
- package/node_modules/logform/combine.js +0 -66
- package/node_modules/logform/dist/align.js +0 -14
- package/node_modules/logform/dist/browser.js +0 -72
- package/node_modules/logform/dist/cli.js +0 -62
- package/node_modules/logform/dist/colorize.js +0 -131
- package/node_modules/logform/dist/combine.js +0 -62
- package/node_modules/logform/dist/errors.js +0 -44
- package/node_modules/logform/dist/format.js +0 -70
- package/node_modules/logform/dist/index.js +0 -86
- package/node_modules/logform/dist/json.js +0 -30
- package/node_modules/logform/dist/label.js +0 -18
- package/node_modules/logform/dist/levels.js +0 -13
- package/node_modules/logform/dist/logstash.js +0 -28
- package/node_modules/logform/dist/metadata.js +0 -56
- package/node_modules/logform/dist/ms.js +0 -18
- package/node_modules/logform/dist/pad-levels.js +0 -110
- package/node_modules/logform/dist/pretty-print.js +0 -32
- package/node_modules/logform/dist/printf.js +0 -33
- package/node_modules/logform/dist/simple.js +0 -32
- package/node_modules/logform/dist/splat.js +0 -143
- package/node_modules/logform/dist/timestamp.js +0 -26
- package/node_modules/logform/dist/uncolorize.js +0 -25
- package/node_modules/logform/errors.js +0 -41
- package/node_modules/logform/format.js +0 -52
- package/node_modules/logform/index.d.ts +0 -201
- package/node_modules/logform/index.js +0 -52
- package/node_modules/logform/json.js +0 -30
- package/node_modules/logform/label.js +0 -19
- package/node_modules/logform/levels.js +0 -12
- package/node_modules/logform/logstash.js +0 -29
- package/node_modules/logform/metadata.js +0 -61
- package/node_modules/logform/ms.js +0 -18
- package/node_modules/logform/package.json +0 -53
- package/node_modules/logform/pad-levels.js +0 -83
- package/node_modules/logform/pretty-print.js +0 -29
- package/node_modules/logform/printf.js +0 -26
- package/node_modules/logform/simple.js +0 -33
- package/node_modules/logform/splat.js +0 -132
- package/node_modules/logform/timestamp.js +0 -30
- package/node_modules/logform/tsconfig.json +0 -22
- package/node_modules/logform/uncolorize.js +0 -27
- package/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/math-intrinsics/LICENSE +0 -21
- package/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/math-intrinsics/abs.js +0 -4
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/math-intrinsics/floor.js +0 -4
- package/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/math-intrinsics/isFinite.js +0 -12
- package/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/isInteger.js +0 -16
- package/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/math-intrinsics/isNaN.js +0 -6
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/math-intrinsics/max.js +0 -4
- package/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/math-intrinsics/min.js +0 -4
- package/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/math-intrinsics/mod.js +0 -9
- package/node_modules/math-intrinsics/package.json +0 -86
- package/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/math-intrinsics/pow.js +0 -4
- package/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/math-intrinsics/round.js +0 -4
- package/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/math-intrinsics/sign.js +0 -11
- package/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/media-typer/HISTORY.md +0 -22
- package/node_modules/media-typer/LICENSE +0 -22
- package/node_modules/media-typer/README.md +0 -81
- package/node_modules/media-typer/index.js +0 -270
- package/node_modules/media-typer/package.json +0 -26
- package/node_modules/merge-descriptors/HISTORY.md +0 -21
- package/node_modules/merge-descriptors/LICENSE +0 -23
- package/node_modules/merge-descriptors/README.md +0 -49
- package/node_modules/merge-descriptors/index.js +0 -60
- package/node_modules/merge-descriptors/package.json +0 -39
- package/node_modules/methods/HISTORY.md +0 -29
- package/node_modules/methods/LICENSE +0 -24
- package/node_modules/methods/README.md +0 -51
- package/node_modules/methods/index.js +0 -69
- package/node_modules/methods/package.json +0 -36
- package/node_modules/mime/.npmignore +0 -0
- package/node_modules/mime/CHANGELOG.md +0 -164
- package/node_modules/mime/LICENSE +0 -21
- package/node_modules/mime/README.md +0 -90
- package/node_modules/mime/cli.js +0 -8
- package/node_modules/mime/mime.js +0 -108
- package/node_modules/mime/package.json +0 -44
- package/node_modules/mime/src/build.js +0 -53
- package/node_modules/mime/src/test.js +0 -60
- package/node_modules/mime/types.json +0 -1
- package/node_modules/mime-db/HISTORY.md +0 -507
- package/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/mime-db/README.md +0 -100
- package/node_modules/mime-db/db.json +0 -8519
- package/node_modules/mime-db/index.js +0 -12
- package/node_modules/mime-db/package.json +0 -60
- package/node_modules/mime-types/HISTORY.md +0 -397
- package/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/mime-types/README.md +0 -113
- package/node_modules/mime-types/index.js +0 -188
- package/node_modules/mime-types/package.json +0 -44
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/negotiator/HISTORY.md +0 -108
- package/node_modules/negotiator/LICENSE +0 -24
- package/node_modules/negotiator/README.md +0 -203
- package/node_modules/negotiator/index.js +0 -82
- package/node_modules/negotiator/lib/charset.js +0 -169
- package/node_modules/negotiator/lib/encoding.js +0 -184
- package/node_modules/negotiator/lib/language.js +0 -179
- package/node_modules/negotiator/lib/mediaType.js +0 -294
- package/node_modules/negotiator/package.json +0 -42
- package/node_modules/object-inspect/.eslintrc +0 -53
- package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/node_modules/object-inspect/.nycrc +0 -13
- package/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/node_modules/object-inspect/LICENSE +0 -21
- package/node_modules/object-inspect/example/all.js +0 -23
- package/node_modules/object-inspect/example/circular.js +0 -6
- package/node_modules/object-inspect/example/fn.js +0 -5
- package/node_modules/object-inspect/example/inspect.js +0 -10
- package/node_modules/object-inspect/index.js +0 -544
- package/node_modules/object-inspect/package-support.json +0 -20
- package/node_modules/object-inspect/package.json +0 -105
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/object-inspect/test/bigint.js +0 -58
- package/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/node_modules/object-inspect/test/circular.js +0 -16
- package/node_modules/object-inspect/test/deep.js +0 -12
- package/node_modules/object-inspect/test/element.js +0 -53
- package/node_modules/object-inspect/test/err.js +0 -48
- package/node_modules/object-inspect/test/fakes.js +0 -29
- package/node_modules/object-inspect/test/fn.js +0 -76
- package/node_modules/object-inspect/test/global.js +0 -17
- package/node_modules/object-inspect/test/has.js +0 -15
- package/node_modules/object-inspect/test/holes.js +0 -15
- package/node_modules/object-inspect/test/indent-option.js +0 -271
- package/node_modules/object-inspect/test/inspect.js +0 -139
- package/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/node_modules/object-inspect/test/number.js +0 -58
- package/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/node_modules/object-inspect/test/undef.js +0 -12
- package/node_modules/object-inspect/test/values.js +0 -261
- package/node_modules/object-inspect/test-core-js.js +0 -26
- package/node_modules/object-inspect/util.inspect.js +0 -1
- package/node_modules/on-finished/HISTORY.md +0 -98
- package/node_modules/on-finished/LICENSE +0 -23
- package/node_modules/on-finished/README.md +0 -162
- package/node_modules/on-finished/index.js +0 -234
- package/node_modules/on-finished/package.json +0 -39
- package/node_modules/one-time/LICENSE +0 -22
- package/node_modules/one-time/README.md +0 -88
- package/node_modules/one-time/async.js +0 -43
- package/node_modules/one-time/index.js +0 -42
- package/node_modules/one-time/package.json +0 -34
- package/node_modules/parseurl/HISTORY.md +0 -58
- package/node_modules/parseurl/LICENSE +0 -24
- package/node_modules/parseurl/README.md +0 -133
- package/node_modules/parseurl/index.js +0 -158
- package/node_modules/parseurl/package.json +0 -40
- package/node_modules/path-to-regexp/LICENSE +0 -21
- package/node_modules/path-to-regexp/Readme.md +0 -35
- package/node_modules/path-to-regexp/index.js +0 -156
- package/node_modules/path-to-regexp/package.json +0 -30
- package/node_modules/proxy-addr/HISTORY.md +0 -161
- package/node_modules/proxy-addr/LICENSE +0 -22
- package/node_modules/proxy-addr/README.md +0 -139
- package/node_modules/proxy-addr/index.js +0 -327
- package/node_modules/proxy-addr/package.json +0 -47
- package/node_modules/qs/.editorconfig +0 -46
- package/node_modules/qs/.eslintrc +0 -38
- package/node_modules/qs/.github/FUNDING.yml +0 -12
- package/node_modules/qs/.nycrc +0 -13
- package/node_modules/qs/CHANGELOG.md +0 -600
- package/node_modules/qs/LICENSE.md +0 -29
- package/node_modules/qs/README.md +0 -709
- package/node_modules/qs/dist/qs.js +0 -90
- package/node_modules/qs/lib/formats.js +0 -23
- package/node_modules/qs/lib/index.js +0 -11
- package/node_modules/qs/lib/parse.js +0 -296
- package/node_modules/qs/lib/stringify.js +0 -351
- package/node_modules/qs/lib/utils.js +0 -265
- package/node_modules/qs/package.json +0 -91
- package/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/node_modules/qs/test/parse.js +0 -1170
- package/node_modules/qs/test/stringify.js +0 -1298
- package/node_modules/qs/test/utils.js +0 -136
- package/node_modules/range-parser/HISTORY.md +0 -56
- package/node_modules/range-parser/LICENSE +0 -23
- package/node_modules/range-parser/README.md +0 -84
- package/node_modules/range-parser/index.js +0 -162
- package/node_modules/range-parser/package.json +0 -44
- package/node_modules/raw-body/HISTORY.md +0 -308
- package/node_modules/raw-body/LICENSE +0 -22
- package/node_modules/raw-body/README.md +0 -223
- package/node_modules/raw-body/SECURITY.md +0 -24
- package/node_modules/raw-body/index.d.ts +0 -87
- package/node_modules/raw-body/index.js +0 -336
- package/node_modules/raw-body/package.json +0 -49
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -106
- package/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/readable-stream/package.json +0 -68
- package/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/safe-stable-stringify/LICENSE +0 -21
- package/node_modules/safe-stable-stringify/esm/package.json +0 -4
- package/node_modules/safe-stable-stringify/esm/wrapper.d.ts +0 -4
- package/node_modules/safe-stable-stringify/esm/wrapper.js +0 -6
- package/node_modules/safe-stable-stringify/index.d.ts +0 -22
- package/node_modules/safe-stable-stringify/index.js +0 -625
- package/node_modules/safe-stable-stringify/package.json +0 -65
- package/node_modules/safe-stable-stringify/readme.md +0 -179
- package/node_modules/safer-buffer/LICENSE +0 -21
- package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/node_modules/safer-buffer/Readme.md +0 -156
- package/node_modules/safer-buffer/dangerous.js +0 -58
- package/node_modules/safer-buffer/package.json +0 -34
- package/node_modules/safer-buffer/safer.js +0 -77
- package/node_modules/safer-buffer/tests.js +0 -406
- package/node_modules/send/HISTORY.md +0 -526
- package/node_modules/send/LICENSE +0 -23
- package/node_modules/send/README.md +0 -327
- package/node_modules/send/SECURITY.md +0 -24
- package/node_modules/send/index.js +0 -1142
- package/node_modules/send/node_modules/encodeurl/HISTORY.md +0 -14
- package/node_modules/send/node_modules/encodeurl/LICENSE +0 -22
- package/node_modules/send/node_modules/encodeurl/README.md +0 -128
- package/node_modules/send/node_modules/encodeurl/index.js +0 -60
- package/node_modules/send/node_modules/encodeurl/package.json +0 -40
- package/node_modules/send/package.json +0 -62
- package/node_modules/serve-static/HISTORY.md +0 -487
- package/node_modules/serve-static/LICENSE +0 -25
- package/node_modules/serve-static/README.md +0 -257
- package/node_modules/serve-static/index.js +0 -209
- package/node_modules/serve-static/package.json +0 -42
- package/node_modules/setprototypeof/LICENSE +0 -13
- package/node_modules/setprototypeof/README.md +0 -31
- package/node_modules/setprototypeof/index.d.ts +0 -2
- package/node_modules/setprototypeof/index.js +0 -17
- package/node_modules/setprototypeof/package.json +0 -38
- package/node_modules/setprototypeof/test/index.js +0 -24
- package/node_modules/side-channel/.editorconfig +0 -9
- package/node_modules/side-channel/.eslintrc +0 -12
- package/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/CHANGELOG.md +0 -110
- package/node_modules/side-channel/LICENSE +0 -21
- package/node_modules/side-channel/README.md +0 -61
- package/node_modules/side-channel/index.d.ts +0 -14
- package/node_modules/side-channel/index.js +0 -43
- package/node_modules/side-channel/package.json +0 -85
- package/node_modules/side-channel/test/index.js +0 -104
- package/node_modules/side-channel/tsconfig.json +0 -9
- package/node_modules/side-channel-list/.editorconfig +0 -9
- package/node_modules/side-channel-list/.eslintrc +0 -11
- package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-list/.nycrc +0 -13
- package/node_modules/side-channel-list/CHANGELOG.md +0 -15
- package/node_modules/side-channel-list/LICENSE +0 -21
- package/node_modules/side-channel-list/README.md +0 -62
- package/node_modules/side-channel-list/index.d.ts +0 -13
- package/node_modules/side-channel-list/index.js +0 -113
- package/node_modules/side-channel-list/list.d.ts +0 -14
- package/node_modules/side-channel-list/package.json +0 -77
- package/node_modules/side-channel-list/test/index.js +0 -104
- package/node_modules/side-channel-list/tsconfig.json +0 -9
- package/node_modules/side-channel-map/.editorconfig +0 -9
- package/node_modules/side-channel-map/.eslintrc +0 -11
- package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-map/.nycrc +0 -13
- package/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/node_modules/side-channel-map/LICENSE +0 -21
- package/node_modules/side-channel-map/README.md +0 -62
- package/node_modules/side-channel-map/index.d.ts +0 -15
- package/node_modules/side-channel-map/index.js +0 -68
- package/node_modules/side-channel-map/package.json +0 -80
- package/node_modules/side-channel-map/test/index.js +0 -114
- package/node_modules/side-channel-map/tsconfig.json +0 -9
- package/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/node_modules/side-channel-weakmap/LICENSE +0 -21
- package/node_modules/side-channel-weakmap/README.md +0 -62
- package/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/node_modules/side-channel-weakmap/index.js +0 -84
- package/node_modules/side-channel-weakmap/package.json +0 -87
- package/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/node_modules/stack-trace/.npmignore +0 -1
- package/node_modules/stack-trace/License +0 -19
- package/node_modules/stack-trace/Makefile +0 -11
- package/node_modules/stack-trace/Readme.md +0 -98
- package/node_modules/stack-trace/lib/stack-trace.js +0 -136
- package/node_modules/stack-trace/package.json +0 -21
- package/node_modules/statuses/HISTORY.md +0 -82
- package/node_modules/statuses/LICENSE +0 -23
- package/node_modules/statuses/README.md +0 -136
- package/node_modules/statuses/codes.json +0 -65
- package/node_modules/statuses/index.js +0 -146
- package/node_modules/statuses/package.json +0 -49
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -34
- package/node_modules/text-hex/LICENSE +0 -21
- package/node_modules/text-hex/README.md +0 -20
- package/node_modules/text-hex/index.js +0 -24
- package/node_modules/text-hex/package.json +0 -30
- package/node_modules/text-hex/test.js +0 -11
- package/node_modules/toidentifier/HISTORY.md +0 -9
- package/node_modules/toidentifier/LICENSE +0 -21
- package/node_modules/toidentifier/README.md +0 -61
- package/node_modules/toidentifier/index.js +0 -32
- package/node_modules/toidentifier/package.json +0 -38
- package/node_modules/triple-beam/.nyc_output/c579bf8f-6820-47a5-b2da-a11267eb8435.json +0 -1
- package/node_modules/triple-beam/.nyc_output/processinfo/c579bf8f-6820-47a5-b2da-a11267eb8435.json +0 -1
- package/node_modules/triple-beam/.nyc_output/processinfo/index.json +0 -1
- package/node_modules/triple-beam/CHANGELOG.md +0 -22
- package/node_modules/triple-beam/LICENSE +0 -21
- package/node_modules/triple-beam/README.md +0 -34
- package/node_modules/triple-beam/config/cli.js +0 -42
- package/node_modules/triple-beam/config/index.js +0 -32
- package/node_modules/triple-beam/config/npm.js +0 -36
- package/node_modules/triple-beam/config/syslog.js +0 -38
- package/node_modules/triple-beam/index.js +0 -46
- package/node_modules/triple-beam/package.json +0 -40
- package/node_modules/type-is/HISTORY.md +0 -259
- package/node_modules/type-is/LICENSE +0 -23
- package/node_modules/type-is/README.md +0 -170
- package/node_modules/type-is/index.js +0 -266
- package/node_modules/type-is/package.json +0 -45
- package/node_modules/undici-types/LICENSE +0 -21
- package/node_modules/undici-types/README.md +0 -6
- package/node_modules/undici-types/agent.d.ts +0 -32
- package/node_modules/undici-types/api.d.ts +0 -43
- package/node_modules/undici-types/balanced-pool.d.ts +0 -30
- package/node_modules/undici-types/cache-interceptor.d.ts +0 -173
- package/node_modules/undici-types/cache.d.ts +0 -36
- package/node_modules/undici-types/client-stats.d.ts +0 -15
- package/node_modules/undici-types/client.d.ts +0 -108
- package/node_modules/undici-types/connector.d.ts +0 -34
- package/node_modules/undici-types/content-type.d.ts +0 -21
- package/node_modules/undici-types/cookies.d.ts +0 -30
- package/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
- package/node_modules/undici-types/dispatcher.d.ts +0 -276
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
- package/node_modules/undici-types/errors.d.ts +0 -161
- package/node_modules/undici-types/eventsource.d.ts +0 -66
- package/node_modules/undici-types/fetch.d.ts +0 -211
- package/node_modules/undici-types/formdata.d.ts +0 -108
- package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/node_modules/undici-types/global-origin.d.ts +0 -7
- package/node_modules/undici-types/h2c-client.d.ts +0 -73
- package/node_modules/undici-types/handlers.d.ts +0 -15
- package/node_modules/undici-types/header.d.ts +0 -160
- package/node_modules/undici-types/index.d.ts +0 -88
- package/node_modules/undici-types/interceptors.d.ts +0 -73
- package/node_modules/undici-types/mock-agent.d.ts +0 -68
- package/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/node_modules/undici-types/mock-client.d.ts +0 -27
- package/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/node_modules/undici-types/mock-interceptor.d.ts +0 -94
- package/node_modules/undici-types/mock-pool.d.ts +0 -27
- package/node_modules/undici-types/package.json +0 -55
- package/node_modules/undici-types/patch.d.ts +0 -29
- package/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/node_modules/undici-types/pool.d.ts +0 -41
- package/node_modules/undici-types/proxy-agent.d.ts +0 -29
- package/node_modules/undici-types/readable.d.ts +0 -68
- package/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/node_modules/undici-types/retry-handler.d.ts +0 -125
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -41
- package/node_modules/undici-types/snapshot-agent.d.ts +0 -109
- package/node_modules/undici-types/util.d.ts +0 -18
- package/node_modules/undici-types/utility.d.ts +0 -7
- package/node_modules/undici-types/webidl.d.ts +0 -341
- package/node_modules/undici-types/websocket.d.ts +0 -186
- package/node_modules/unpipe/HISTORY.md +0 -4
- package/node_modules/unpipe/LICENSE +0 -22
- package/node_modules/unpipe/README.md +0 -43
- package/node_modules/unpipe/index.js +0 -69
- package/node_modules/unpipe/package.json +0 -27
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -27
- package/node_modules/utils-merge/.npmignore +0 -9
- package/node_modules/utils-merge/LICENSE +0 -20
- package/node_modules/utils-merge/README.md +0 -34
- package/node_modules/utils-merge/index.js +0 -23
- package/node_modules/utils-merge/package.json +0 -40
- package/node_modules/vary/HISTORY.md +0 -39
- package/node_modules/vary/LICENSE +0 -22
- package/node_modules/vary/README.md +0 -101
- package/node_modules/vary/index.js +0 -149
- package/node_modules/vary/package.json +0 -43
- package/node_modules/winston/LICENSE +0 -19
- package/node_modules/winston/README.md +0 -1273
- package/node_modules/winston/dist/winston/common.js +0 -44
- package/node_modules/winston/dist/winston/config/index.js +0 -36
- package/node_modules/winston/dist/winston/container.js +0 -141
- package/node_modules/winston/dist/winston/create-logger.js +0 -123
- package/node_modules/winston/dist/winston/exception-handler.js +0 -265
- package/node_modules/winston/dist/winston/exception-stream.js +0 -75
- package/node_modules/winston/dist/winston/logger.js +0 -697
- package/node_modules/winston/dist/winston/profiler.js +0 -64
- package/node_modules/winston/dist/winston/rejection-handler.js +0 -265
- package/node_modules/winston/dist/winston/rejection-stream.js +0 -72
- package/node_modules/winston/dist/winston/tail-file.js +0 -113
- package/node_modules/winston/dist/winston/transports/console.js +0 -143
- package/node_modules/winston/dist/winston/transports/file.js +0 -825
- package/node_modules/winston/dist/winston/transports/http.js +0 -288
- package/node_modules/winston/dist/winston/transports/index.js +0 -56
- package/node_modules/winston/dist/winston/transports/stream.js +0 -86
- package/node_modules/winston/dist/winston.js +0 -171
- package/node_modules/winston/index.d.ts +0 -208
- package/node_modules/winston/lib/winston/common.js +0 -46
- package/node_modules/winston/lib/winston/config/index.d.ts +0 -99
- package/node_modules/winston/lib/winston/config/index.js +0 -35
- package/node_modules/winston/lib/winston/container.js +0 -118
- package/node_modules/winston/lib/winston/create-logger.js +0 -104
- package/node_modules/winston/lib/winston/exception-handler.js +0 -245
- package/node_modules/winston/lib/winston/exception-stream.js +0 -54
- package/node_modules/winston/lib/winston/logger.js +0 -700
- package/node_modules/winston/lib/winston/profiler.js +0 -53
- package/node_modules/winston/lib/winston/rejection-handler.js +0 -251
- package/node_modules/winston/lib/winston/rejection-stream.js +0 -52
- package/node_modules/winston/lib/winston/tail-file.js +0 -124
- package/node_modules/winston/lib/winston/transports/console.js +0 -125
- package/node_modules/winston/lib/winston/transports/file.js +0 -795
- package/node_modules/winston/lib/winston/transports/http.js +0 -262
- package/node_modules/winston/lib/winston/transports/index.d.ts +0 -117
- package/node_modules/winston/lib/winston/transports/index.js +0 -56
- package/node_modules/winston/lib/winston/transports/stream.js +0 -63
- package/node_modules/winston/lib/winston.js +0 -191
- package/node_modules/winston/package.json +0 -74
- package/node_modules/winston-transport/.babelrc +0 -3
- package/node_modules/winston-transport/.eslintrc +0 -7
- package/node_modules/winston-transport/.gitattributes +0 -1
- package/node_modules/winston-transport/.nyc_output/68e78020-c804-4f37-a68a-a967c6380da9.json +0 -1
- package/node_modules/winston-transport/.nyc_output/processinfo/68e78020-c804-4f37-a68a-a967c6380da9.json +0 -1
- package/node_modules/winston-transport/.nyc_output/processinfo/index.json +0 -1
- package/node_modules/winston-transport/CHANGELOG.md +0 -126
- package/node_modules/winston-transport/LICENSE +0 -22
- package/node_modules/winston-transport/README.md +0 -50
- package/node_modules/winston-transport/dist/index.js +0 -8
- package/node_modules/winston-transport/dist/legacy.js +0 -116
- package/node_modules/winston-transport/dist/modern.js +0 -212
- package/node_modules/winston-transport/index.d.ts +0 -39
- package/node_modules/winston-transport/index.js +0 -7
- package/node_modules/winston-transport/legacy.js +0 -119
- package/node_modules/winston-transport/modern.js +0 -211
- package/node_modules/winston-transport/package.json +0 -52
|
@@ -1,795 +0,0 @@
|
|
|
1
|
-
/* eslint-disable complexity,max-statements */
|
|
2
|
-
/**
|
|
3
|
-
* file.js: Transport for outputting to a local log file.
|
|
4
|
-
*
|
|
5
|
-
* (C) 2010 Charlie Robbins
|
|
6
|
-
* MIT LICENCE
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
'use strict';
|
|
10
|
-
|
|
11
|
-
const fs = require('fs');
|
|
12
|
-
const path = require('path');
|
|
13
|
-
const asyncSeries = require('async/series');
|
|
14
|
-
const zlib = require('zlib');
|
|
15
|
-
const { MESSAGE } = require('triple-beam');
|
|
16
|
-
const { Stream, PassThrough } = require('readable-stream');
|
|
17
|
-
const TransportStream = require('winston-transport');
|
|
18
|
-
const debug = require('@dabh/diagnostics')('winston:file');
|
|
19
|
-
const os = require('os');
|
|
20
|
-
const tailFile = require('../tail-file');
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Transport for outputting to a local log file.
|
|
24
|
-
* @type {File}
|
|
25
|
-
* @extends {TransportStream}
|
|
26
|
-
*/
|
|
27
|
-
module.exports = class File extends TransportStream {
|
|
28
|
-
/**
|
|
29
|
-
* Constructor function for the File transport object responsible for
|
|
30
|
-
* persisting log messages and metadata to one or more files.
|
|
31
|
-
* @param {Object} options - Options for this instance.
|
|
32
|
-
*/
|
|
33
|
-
constructor(options = {}) {
|
|
34
|
-
super(options);
|
|
35
|
-
|
|
36
|
-
// Expose the name of this Transport on the prototype.
|
|
37
|
-
this.name = options.name || 'file';
|
|
38
|
-
|
|
39
|
-
// Helper function which throws an `Error` in the event that any of the
|
|
40
|
-
// rest of the arguments is present in `options`.
|
|
41
|
-
function throwIf(target, ...args) {
|
|
42
|
-
args.slice(1).forEach(name => {
|
|
43
|
-
if (options[name]) {
|
|
44
|
-
throw new Error(`Cannot set ${name} and ${target} together`);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// Setup the base stream that always gets piped to to handle buffering.
|
|
50
|
-
this._stream = new PassThrough();
|
|
51
|
-
this._stream.setMaxListeners(30);
|
|
52
|
-
|
|
53
|
-
// Bind this context for listener methods.
|
|
54
|
-
this._onError = this._onError.bind(this);
|
|
55
|
-
|
|
56
|
-
if (options.filename || options.dirname) {
|
|
57
|
-
throwIf('filename or dirname', 'stream');
|
|
58
|
-
this._basename = this.filename = options.filename
|
|
59
|
-
? path.basename(options.filename)
|
|
60
|
-
: 'winston.log';
|
|
61
|
-
|
|
62
|
-
this.dirname = options.dirname || path.dirname(options.filename);
|
|
63
|
-
this.options = options.options || { flags: 'a' };
|
|
64
|
-
} else if (options.stream) {
|
|
65
|
-
// eslint-disable-next-line no-console
|
|
66
|
-
console.warn('options.stream will be removed in winston@4. Use winston.transports.Stream');
|
|
67
|
-
throwIf('stream', 'filename', 'maxsize');
|
|
68
|
-
this._dest = this._stream.pipe(this._setupStream(options.stream));
|
|
69
|
-
this.dirname = path.dirname(this._dest.path);
|
|
70
|
-
// We need to listen for drain events when write() returns false. This
|
|
71
|
-
// can make node mad at times.
|
|
72
|
-
} else {
|
|
73
|
-
throw new Error('Cannot log to file without filename or stream.');
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
this.maxsize = options.maxsize || null;
|
|
77
|
-
this.rotationFormat = options.rotationFormat || false;
|
|
78
|
-
this.zippedArchive = options.zippedArchive || false;
|
|
79
|
-
this.maxFiles = options.maxFiles || null;
|
|
80
|
-
this.eol = (typeof options.eol === 'string') ? options.eol : os.EOL;
|
|
81
|
-
this.tailable = options.tailable || false;
|
|
82
|
-
this.lazy = options.lazy || false;
|
|
83
|
-
|
|
84
|
-
// Internal state variables representing the number of files this instance
|
|
85
|
-
// has created and the current size (in bytes) of the current logfile.
|
|
86
|
-
this._size = 0;
|
|
87
|
-
this._pendingSize = 0;
|
|
88
|
-
this._created = 0;
|
|
89
|
-
this._drain = false;
|
|
90
|
-
this._opening = false;
|
|
91
|
-
this._ending = false;
|
|
92
|
-
this._fileExist = false;
|
|
93
|
-
|
|
94
|
-
if (this.dirname) this._createLogDirIfNotExist(this.dirname);
|
|
95
|
-
if (!this.lazy) this.open();
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
finishIfEnding() {
|
|
99
|
-
if (this._ending) {
|
|
100
|
-
if (this._opening) {
|
|
101
|
-
this.once('open', () => {
|
|
102
|
-
this._stream.once('finish', () => this.emit('finish'));
|
|
103
|
-
setImmediate(() => this._stream.end());
|
|
104
|
-
});
|
|
105
|
-
} else {
|
|
106
|
-
this._stream.once('finish', () => this.emit('finish'));
|
|
107
|
-
setImmediate(() => this._stream.end());
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Called by Node.js Writable stream before emitting 'finish'.
|
|
114
|
-
* Ensures all buffered data is flushed to the underlying file stream
|
|
115
|
-
* before the transport signals completion.
|
|
116
|
-
* @param {Function} callback - Callback to signal completion.
|
|
117
|
-
* @private
|
|
118
|
-
*/
|
|
119
|
-
_final(callback) {
|
|
120
|
-
// If still opening, wait for the file to be opened first
|
|
121
|
-
if (this._opening) {
|
|
122
|
-
this.once('open', () => this._final(callback));
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// End the PassThrough stream
|
|
127
|
-
this._stream.end();
|
|
128
|
-
|
|
129
|
-
// No destination stream, call callback immediately
|
|
130
|
-
if (!this._dest) {
|
|
131
|
-
return callback();
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// Destination is already finished
|
|
135
|
-
if (this._dest.writableFinished) {
|
|
136
|
-
return callback();
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// Wait for destination stream to finish writing
|
|
140
|
-
this._dest.once('finish', callback);
|
|
141
|
-
this._dest.once('error', callback);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Core logging method exposed to Winston. Metadata is optional.
|
|
146
|
-
* @param {Object} info - TODO: add param description.
|
|
147
|
-
* @param {Function} callback - TODO: add param description.
|
|
148
|
-
* @returns {undefined}
|
|
149
|
-
*/
|
|
150
|
-
log(info, callback = () => { }) {
|
|
151
|
-
// Remark: (jcrugzz) What is necessary about this callback(null, true) now
|
|
152
|
-
// when thinking about 3.x? Should silent be handled in the base
|
|
153
|
-
// TransportStream _write method?
|
|
154
|
-
if (this.silent) {
|
|
155
|
-
callback();
|
|
156
|
-
return true;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
// Output stream buffer is full and has asked us to wait for the drain event
|
|
161
|
-
if (this._drain) {
|
|
162
|
-
this._stream.once('drain', () => {
|
|
163
|
-
this._drain = false;
|
|
164
|
-
this.log(info, callback);
|
|
165
|
-
});
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
if (this._rotate) {
|
|
169
|
-
this._stream.once('rotate', () => {
|
|
170
|
-
this._rotate = false;
|
|
171
|
-
this.log(info, callback);
|
|
172
|
-
});
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
if (this.lazy) {
|
|
176
|
-
if (!this._fileExist) {
|
|
177
|
-
if (!this._opening) {
|
|
178
|
-
this.open();
|
|
179
|
-
}
|
|
180
|
-
this.once('open', () => {
|
|
181
|
-
this._fileExist = true;
|
|
182
|
-
this.log(info, callback);
|
|
183
|
-
return;
|
|
184
|
-
});
|
|
185
|
-
return;
|
|
186
|
-
}
|
|
187
|
-
if (this._needsNewFile(this._pendingSize)) {
|
|
188
|
-
this._dest.once('close', () => {
|
|
189
|
-
if (!this._opening) {
|
|
190
|
-
this.open();
|
|
191
|
-
}
|
|
192
|
-
this.once('open', () => {
|
|
193
|
-
this.log(info, callback);
|
|
194
|
-
return;
|
|
195
|
-
});
|
|
196
|
-
return;
|
|
197
|
-
});
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// Grab the raw string and append the expected EOL.
|
|
203
|
-
const output = `${info[MESSAGE]}${this.eol}`;
|
|
204
|
-
const bytes = Buffer.byteLength(output);
|
|
205
|
-
|
|
206
|
-
// After we have written to the PassThrough check to see if we need
|
|
207
|
-
// to rotate to the next file.
|
|
208
|
-
//
|
|
209
|
-
// Remark: This gets called too early and does not depict when data
|
|
210
|
-
// has been actually flushed to disk.
|
|
211
|
-
function logged() {
|
|
212
|
-
this._size += bytes;
|
|
213
|
-
this._pendingSize -= bytes;
|
|
214
|
-
|
|
215
|
-
debug('logged %s %s', this._size, output);
|
|
216
|
-
this.emit('logged', info);
|
|
217
|
-
|
|
218
|
-
// Do not attempt to rotate files while rotating
|
|
219
|
-
if (this._rotate) {
|
|
220
|
-
return;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// Do not attempt to rotate files while opening
|
|
224
|
-
if (this._opening) {
|
|
225
|
-
return;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
// Check to see if we need to end the stream and create a new one.
|
|
229
|
-
if (!this._needsNewFile()) {
|
|
230
|
-
return;
|
|
231
|
-
}
|
|
232
|
-
if (this.lazy) {
|
|
233
|
-
this._endStream(() => {this.emit('fileclosed');});
|
|
234
|
-
return;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
// End the current stream, ensure it flushes and create a new one.
|
|
238
|
-
// This could potentially be optimized to not run a stat call but its
|
|
239
|
-
// the safest way since we are supporting `maxFiles`.
|
|
240
|
-
this._rotate = true;
|
|
241
|
-
this._endStream(() => this._rotateFile());
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
// Keep track of the pending bytes being written while files are opening
|
|
245
|
-
// in order to properly rotate the PassThrough this._stream when the file
|
|
246
|
-
// eventually does open.
|
|
247
|
-
this._pendingSize += bytes;
|
|
248
|
-
if (this._opening
|
|
249
|
-
&& !this.rotatedWhileOpening
|
|
250
|
-
&& this._needsNewFile(this._size + this._pendingSize)) {
|
|
251
|
-
this.rotatedWhileOpening = true;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
const written = this._stream.write(output, logged.bind(this));
|
|
255
|
-
if (!written) {
|
|
256
|
-
this._drain = true;
|
|
257
|
-
this._stream.once('drain', () => {
|
|
258
|
-
this._drain = false;
|
|
259
|
-
callback();
|
|
260
|
-
});
|
|
261
|
-
} else {
|
|
262
|
-
callback(); // eslint-disable-line callback-return
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
debug('written', written, this._drain);
|
|
266
|
-
|
|
267
|
-
this.finishIfEnding();
|
|
268
|
-
|
|
269
|
-
return written;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Query the transport. Options object is optional.
|
|
274
|
-
* @param {Object} options - Loggly-like query options for this instance.
|
|
275
|
-
* @param {function} callback - Continuation to respond to when complete.
|
|
276
|
-
* TODO: Refactor me.
|
|
277
|
-
*/
|
|
278
|
-
query(options, callback) {
|
|
279
|
-
if (typeof options === 'function') {
|
|
280
|
-
callback = options;
|
|
281
|
-
options = {};
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
options = normalizeQuery(options);
|
|
285
|
-
const file = path.join(this.dirname, this.filename);
|
|
286
|
-
let buff = '';
|
|
287
|
-
let results = [];
|
|
288
|
-
let row = 0;
|
|
289
|
-
|
|
290
|
-
const stream = fs.createReadStream(file, {
|
|
291
|
-
encoding: 'utf8'
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
stream.on('error', err => {
|
|
295
|
-
if (stream.readable) {
|
|
296
|
-
stream.destroy();
|
|
297
|
-
}
|
|
298
|
-
if (!callback) {
|
|
299
|
-
return;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
return err.code !== 'ENOENT' ? callback(err) : callback(null, results);
|
|
303
|
-
});
|
|
304
|
-
|
|
305
|
-
stream.on('data', data => {
|
|
306
|
-
data = (buff + data).split(/\n+/);
|
|
307
|
-
const l = data.length - 1;
|
|
308
|
-
let i = 0;
|
|
309
|
-
|
|
310
|
-
for (; i < l; i++) {
|
|
311
|
-
if (!options.start || row >= options.start) {
|
|
312
|
-
add(data[i]);
|
|
313
|
-
}
|
|
314
|
-
row++;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
buff = data[l];
|
|
318
|
-
});
|
|
319
|
-
|
|
320
|
-
stream.on('close', () => {
|
|
321
|
-
if (buff) {
|
|
322
|
-
add(buff, true);
|
|
323
|
-
}
|
|
324
|
-
if (options.order === 'desc') {
|
|
325
|
-
results = results.reverse();
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
// eslint-disable-next-line callback-return
|
|
329
|
-
if (callback) callback(null, results);
|
|
330
|
-
});
|
|
331
|
-
|
|
332
|
-
function add(buff, attempt) {
|
|
333
|
-
try {
|
|
334
|
-
const log = JSON.parse(buff);
|
|
335
|
-
if (check(log)) {
|
|
336
|
-
push(log);
|
|
337
|
-
}
|
|
338
|
-
} catch (e) {
|
|
339
|
-
if (!attempt) {
|
|
340
|
-
stream.emit('error', e);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
function push(log) {
|
|
346
|
-
if (
|
|
347
|
-
options.rows &&
|
|
348
|
-
results.length >= options.rows &&
|
|
349
|
-
options.order !== 'desc'
|
|
350
|
-
) {
|
|
351
|
-
if (stream.readable) {
|
|
352
|
-
stream.destroy();
|
|
353
|
-
}
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
if (options.fields) {
|
|
358
|
-
log = options.fields.reduce((obj, key) => {
|
|
359
|
-
obj[key] = log[key];
|
|
360
|
-
return obj;
|
|
361
|
-
}, {});
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
if (options.order === 'desc') {
|
|
365
|
-
if (results.length >= options.rows) {
|
|
366
|
-
results.shift();
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
results.push(log);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
function check(log) {
|
|
373
|
-
if (!log) {
|
|
374
|
-
return;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
if (typeof log !== 'object') {
|
|
378
|
-
return;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
const time = new Date(log.timestamp);
|
|
382
|
-
if (
|
|
383
|
-
(options.from && time < options.from) ||
|
|
384
|
-
(options.until && time > options.until) ||
|
|
385
|
-
(options.level && options.level !== log.level)
|
|
386
|
-
) {
|
|
387
|
-
return;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
return true;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
function normalizeQuery(options) {
|
|
394
|
-
options = options || {};
|
|
395
|
-
|
|
396
|
-
// limit
|
|
397
|
-
options.rows = options.rows || options.limit || 10;
|
|
398
|
-
|
|
399
|
-
// starting row offset
|
|
400
|
-
options.start = options.start || 0;
|
|
401
|
-
|
|
402
|
-
// now
|
|
403
|
-
options.until = options.until || new Date();
|
|
404
|
-
if (typeof options.until !== 'object') {
|
|
405
|
-
options.until = new Date(options.until);
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
// now - 24
|
|
409
|
-
options.from = options.from || (options.until - (24 * 60 * 60 * 1000));
|
|
410
|
-
if (typeof options.from !== 'object') {
|
|
411
|
-
options.from = new Date(options.from);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
// 'asc' or 'desc'
|
|
415
|
-
options.order = options.order || 'desc';
|
|
416
|
-
|
|
417
|
-
return options;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
/**
|
|
422
|
-
* Returns a log stream for this transport. Options object is optional.
|
|
423
|
-
* @param {Object} options - Stream options for this instance.
|
|
424
|
-
* @returns {Stream} - TODO: add return description.
|
|
425
|
-
* TODO: Refactor me.
|
|
426
|
-
*/
|
|
427
|
-
stream(options = {}) {
|
|
428
|
-
const file = path.join(this.dirname, this.filename);
|
|
429
|
-
const stream = new Stream();
|
|
430
|
-
const tail = {
|
|
431
|
-
file,
|
|
432
|
-
start: options.start
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
stream.destroy = tailFile(tail, (err, line) => {
|
|
436
|
-
if (err) {
|
|
437
|
-
return stream.emit('error', err);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
try {
|
|
441
|
-
stream.emit('data', line);
|
|
442
|
-
line = JSON.parse(line);
|
|
443
|
-
stream.emit('log', line);
|
|
444
|
-
} catch (e) {
|
|
445
|
-
stream.emit('error', e);
|
|
446
|
-
}
|
|
447
|
-
});
|
|
448
|
-
|
|
449
|
-
return stream;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* Checks to see the filesize of.
|
|
454
|
-
* @returns {undefined}
|
|
455
|
-
*/
|
|
456
|
-
open() {
|
|
457
|
-
// If we do not have a filename then we were passed a stream and
|
|
458
|
-
// don't need to keep track of size.
|
|
459
|
-
if (!this.filename) return;
|
|
460
|
-
if (this._opening) return;
|
|
461
|
-
|
|
462
|
-
this._opening = true;
|
|
463
|
-
|
|
464
|
-
// Stat the target file to get the size and create the stream.
|
|
465
|
-
this.stat((err, size) => {
|
|
466
|
-
if (err) {
|
|
467
|
-
return this.emit('error', err);
|
|
468
|
-
}
|
|
469
|
-
debug('stat done: %s { size: %s }', this.filename, size);
|
|
470
|
-
this._size = size;
|
|
471
|
-
this._dest = this._createStream(this._stream);
|
|
472
|
-
this._opening = false;
|
|
473
|
-
this.once('open', () => {
|
|
474
|
-
if (!this._stream.emit('rotate')) {
|
|
475
|
-
this._rotate = false;
|
|
476
|
-
}
|
|
477
|
-
});
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Stat the file and assess information in order to create the proper stream.
|
|
483
|
-
* @param {function} callback - TODO: add param description.
|
|
484
|
-
* @returns {undefined}
|
|
485
|
-
*/
|
|
486
|
-
stat(callback) {
|
|
487
|
-
const target = this._getFile();
|
|
488
|
-
const fullpath = path.join(this.dirname, target);
|
|
489
|
-
|
|
490
|
-
fs.stat(fullpath, (err, stat) => {
|
|
491
|
-
if (err && err.code === 'ENOENT') {
|
|
492
|
-
debug('ENOENT ok', fullpath);
|
|
493
|
-
// Update internally tracked filename with the new target name.
|
|
494
|
-
this.filename = target;
|
|
495
|
-
return callback(null, 0);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
if (err) {
|
|
499
|
-
debug(`err ${err.code} ${fullpath}`);
|
|
500
|
-
return callback(err);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
if (!stat || this._needsNewFile(stat.size)) {
|
|
504
|
-
// If `stats.size` is greater than the `maxsize` for this
|
|
505
|
-
// instance then try again.
|
|
506
|
-
return this._incFile(() => this.stat(callback));
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
// Once we have figured out what the filename is, set it
|
|
510
|
-
// and return the size.
|
|
511
|
-
this.filename = target;
|
|
512
|
-
callback(null, stat.size);
|
|
513
|
-
});
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* Closes the stream associated with this instance.
|
|
518
|
-
* @param {function} cb - TODO: add param description.
|
|
519
|
-
* @returns {undefined}
|
|
520
|
-
*/
|
|
521
|
-
close(cb) {
|
|
522
|
-
if (!this._stream) {
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
this._stream.end(() => {
|
|
527
|
-
if (cb) {
|
|
528
|
-
cb(); // eslint-disable-line callback-return
|
|
529
|
-
}
|
|
530
|
-
this.emit('flush');
|
|
531
|
-
this.emit('closed');
|
|
532
|
-
});
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* TODO: add method description.
|
|
537
|
-
* @param {number} size - TODO: add param description.
|
|
538
|
-
* @returns {undefined}
|
|
539
|
-
*/
|
|
540
|
-
_needsNewFile(size) {
|
|
541
|
-
size = size || this._size;
|
|
542
|
-
return this.maxsize && size >= this.maxsize;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* TODO: add method description.
|
|
547
|
-
* @param {Error} err - TODO: add param description.
|
|
548
|
-
* @returns {undefined}
|
|
549
|
-
*/
|
|
550
|
-
_onError(err) {
|
|
551
|
-
this.emit('error', err);
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* TODO: add method description.
|
|
556
|
-
* @param {Stream} stream - TODO: add param description.
|
|
557
|
-
* @returns {mixed} - TODO: add return description.
|
|
558
|
-
*/
|
|
559
|
-
_setupStream(stream) {
|
|
560
|
-
stream.on('error', this._onError);
|
|
561
|
-
|
|
562
|
-
return stream;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* TODO: add method description.
|
|
567
|
-
* @param {Stream} stream - TODO: add param description.
|
|
568
|
-
* @returns {mixed} - TODO: add return description.
|
|
569
|
-
*/
|
|
570
|
-
_cleanupStream(stream) {
|
|
571
|
-
stream.removeListener('error', this._onError);
|
|
572
|
-
stream.destroy();
|
|
573
|
-
return stream;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* TODO: add method description.
|
|
578
|
-
*/
|
|
579
|
-
_rotateFile() {
|
|
580
|
-
this._incFile(() => this.open());
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* Unpipe from the stream that has been marked as full and end it so it
|
|
585
|
-
* flushes to disk.
|
|
586
|
-
*
|
|
587
|
-
* @param {function} callback - Callback for when the current file has closed.
|
|
588
|
-
* @private
|
|
589
|
-
*/
|
|
590
|
-
_endStream(callback = () => { }) {
|
|
591
|
-
if (this._dest) {
|
|
592
|
-
this._stream.unpipe(this._dest);
|
|
593
|
-
this._dest.end(() => {
|
|
594
|
-
this._cleanupStream(this._dest);
|
|
595
|
-
callback();
|
|
596
|
-
});
|
|
597
|
-
} else {
|
|
598
|
-
callback(); // eslint-disable-line callback-return
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
* Returns the WritableStream for the active file on this instance. If we
|
|
604
|
-
* should gzip the file then a zlib stream is returned.
|
|
605
|
-
*
|
|
606
|
-
* @param {ReadableStream} source –PassThrough to pipe to the file when open.
|
|
607
|
-
* @returns {WritableStream} Stream that writes to disk for the active file.
|
|
608
|
-
*/
|
|
609
|
-
_createStream(source) {
|
|
610
|
-
const fullpath = path.join(this.dirname, this.filename);
|
|
611
|
-
|
|
612
|
-
debug('create stream start', fullpath, this.options);
|
|
613
|
-
const dest = fs.createWriteStream(fullpath, this.options)
|
|
614
|
-
// TODO: What should we do with errors here?
|
|
615
|
-
.on('error', err => debug(err))
|
|
616
|
-
.on('close', () => debug('close', dest.path, dest.bytesWritten))
|
|
617
|
-
.on('open', () => {
|
|
618
|
-
debug('file open ok', fullpath);
|
|
619
|
-
this.emit('open', fullpath);
|
|
620
|
-
source.pipe(dest);
|
|
621
|
-
|
|
622
|
-
// If rotation occured during the open operation then we immediately
|
|
623
|
-
// start writing to a new PassThrough, begin opening the next file
|
|
624
|
-
// and cleanup the previous source and dest once the source has drained.
|
|
625
|
-
if (this.rotatedWhileOpening) {
|
|
626
|
-
this._stream = new PassThrough();
|
|
627
|
-
this._stream.setMaxListeners(30);
|
|
628
|
-
this._rotateFile();
|
|
629
|
-
this.rotatedWhileOpening = false;
|
|
630
|
-
this._cleanupStream(dest);
|
|
631
|
-
source.end();
|
|
632
|
-
}
|
|
633
|
-
});
|
|
634
|
-
|
|
635
|
-
debug('create stream ok', fullpath);
|
|
636
|
-
return dest;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* TODO: add method description.
|
|
641
|
-
* @param {function} callback - TODO: add param description.
|
|
642
|
-
* @returns {undefined}
|
|
643
|
-
*/
|
|
644
|
-
_incFile(callback) {
|
|
645
|
-
debug('_incFile', this.filename);
|
|
646
|
-
const ext = path.extname(this._basename);
|
|
647
|
-
const basename = path.basename(this._basename, ext);
|
|
648
|
-
const tasks = [];
|
|
649
|
-
|
|
650
|
-
if (this.zippedArchive) {
|
|
651
|
-
tasks.push(
|
|
652
|
-
function (cb) {
|
|
653
|
-
const num = this._created > 0 && !this.tailable ? this._created : '';
|
|
654
|
-
this._compressFile(
|
|
655
|
-
path.join(this.dirname, `${basename}${num}${ext}`),
|
|
656
|
-
path.join(this.dirname, `${basename}${num}${ext}.gz`),
|
|
657
|
-
cb
|
|
658
|
-
);
|
|
659
|
-
}.bind(this)
|
|
660
|
-
);
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
tasks.push(
|
|
664
|
-
function (cb) {
|
|
665
|
-
if (!this.tailable) {
|
|
666
|
-
this._created += 1;
|
|
667
|
-
this._checkMaxFilesIncrementing(ext, basename, cb);
|
|
668
|
-
} else {
|
|
669
|
-
this._checkMaxFilesTailable(ext, basename, cb);
|
|
670
|
-
}
|
|
671
|
-
}.bind(this)
|
|
672
|
-
);
|
|
673
|
-
|
|
674
|
-
asyncSeries(tasks, callback);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
/**
|
|
678
|
-
* Gets the next filename to use for this instance in the case that log
|
|
679
|
-
* filesizes are being capped.
|
|
680
|
-
* @returns {string} - TODO: add return description.
|
|
681
|
-
* @private
|
|
682
|
-
*/
|
|
683
|
-
_getFile() {
|
|
684
|
-
const ext = path.extname(this._basename);
|
|
685
|
-
const basename = path.basename(this._basename, ext);
|
|
686
|
-
const isRotation = this.rotationFormat
|
|
687
|
-
? this.rotationFormat()
|
|
688
|
-
: this._created;
|
|
689
|
-
|
|
690
|
-
// Caveat emptor (indexzero): rotationFormat() was broken by design When
|
|
691
|
-
// combined with max files because the set of files to unlink is never
|
|
692
|
-
// stored.
|
|
693
|
-
return !this.tailable && this._created
|
|
694
|
-
? `${basename}${isRotation}${ext}`
|
|
695
|
-
: `${basename}${ext}`;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* Increment the number of files created or checked by this instance.
|
|
700
|
-
* @param {mixed} ext - TODO: add param description.
|
|
701
|
-
* @param {mixed} basename - TODO: add param description.
|
|
702
|
-
* @param {mixed} callback - TODO: add param description.
|
|
703
|
-
* @returns {undefined}
|
|
704
|
-
* @private
|
|
705
|
-
*/
|
|
706
|
-
_checkMaxFilesIncrementing(ext, basename, callback) {
|
|
707
|
-
// Check for maxFiles option and delete file.
|
|
708
|
-
if (!this.maxFiles || this._created < this.maxFiles) {
|
|
709
|
-
return setImmediate(callback);
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
const oldest = this._created - this.maxFiles;
|
|
713
|
-
const isOldest = oldest !== 0 ? oldest : '';
|
|
714
|
-
const isZipped = this.zippedArchive ? '.gz' : '';
|
|
715
|
-
const filePath = `${basename}${isOldest}${ext}${isZipped}`;
|
|
716
|
-
const target = path.join(this.dirname, filePath);
|
|
717
|
-
|
|
718
|
-
fs.unlink(target, callback);
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
/**
|
|
722
|
-
* Roll files forward based on integer, up to maxFiles. e.g. if base if
|
|
723
|
-
* file.log and it becomes oversized, roll to file1.log, and allow file.log
|
|
724
|
-
* to be re-used. If file is oversized again, roll file1.log to file2.log,
|
|
725
|
-
* roll file.log to file1.log, and so on.
|
|
726
|
-
* @param {mixed} ext - TODO: add param description.
|
|
727
|
-
* @param {mixed} basename - TODO: add param description.
|
|
728
|
-
* @param {mixed} callback - TODO: add param description.
|
|
729
|
-
* @returns {undefined}
|
|
730
|
-
* @private
|
|
731
|
-
*/
|
|
732
|
-
_checkMaxFilesTailable(ext, basename, callback) {
|
|
733
|
-
const tasks = [];
|
|
734
|
-
if (!this.maxFiles) {
|
|
735
|
-
return;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
// const isZipped = this.zippedArchive ? '.gz' : '';
|
|
739
|
-
const isZipped = this.zippedArchive ? '.gz' : '';
|
|
740
|
-
for (let x = this.maxFiles - 1; x > 1; x--) {
|
|
741
|
-
tasks.push(function (i, cb) {
|
|
742
|
-
let fileName = `${basename}${(i - 1)}${ext}${isZipped}`;
|
|
743
|
-
const tmppath = path.join(this.dirname, fileName);
|
|
744
|
-
|
|
745
|
-
fs.exists(tmppath, exists => {
|
|
746
|
-
if (!exists) {
|
|
747
|
-
return cb(null);
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
fileName = `${basename}${i}${ext}${isZipped}`;
|
|
751
|
-
fs.rename(tmppath, path.join(this.dirname, fileName), cb);
|
|
752
|
-
});
|
|
753
|
-
}.bind(this, x));
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
asyncSeries(tasks, () => {
|
|
757
|
-
fs.rename(
|
|
758
|
-
path.join(this.dirname, `${basename}${ext}${isZipped}`),
|
|
759
|
-
path.join(this.dirname, `${basename}1${ext}${isZipped}`),
|
|
760
|
-
callback
|
|
761
|
-
);
|
|
762
|
-
});
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* Compresses src to dest with gzip and unlinks src
|
|
767
|
-
* @param {string} src - path to source file.
|
|
768
|
-
* @param {string} dest - path to zipped destination file.
|
|
769
|
-
* @param {Function} callback - callback called after file has been compressed.
|
|
770
|
-
* @returns {undefined}
|
|
771
|
-
* @private
|
|
772
|
-
*/
|
|
773
|
-
_compressFile(src, dest, callback) {
|
|
774
|
-
fs.access(src, fs.F_OK, (err) => {
|
|
775
|
-
if (err) {
|
|
776
|
-
return callback();
|
|
777
|
-
}
|
|
778
|
-
var gzip = zlib.createGzip();
|
|
779
|
-
var inp = fs.createReadStream(src);
|
|
780
|
-
var out = fs.createWriteStream(dest);
|
|
781
|
-
out.on('finish', () => {
|
|
782
|
-
fs.unlink(src, callback);
|
|
783
|
-
});
|
|
784
|
-
inp.pipe(gzip).pipe(out);
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
_createLogDirIfNotExist(dirPath) {
|
|
789
|
-
/* eslint-disable no-sync */
|
|
790
|
-
if (!fs.existsSync(dirPath)) {
|
|
791
|
-
fs.mkdirSync(dirPath, { recursive: true });
|
|
792
|
-
}
|
|
793
|
-
/* eslint-enable no-sync */
|
|
794
|
-
}
|
|
795
|
-
};
|