koa-classic-server 1.0.0 → 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/README.md +117 -0
- package/package.json +5 -6
- package/Readme.md +0 -102
- package/test/node_modules/.package-lock.json +0 -1254
- package/test/node_modules/abbrev/LICENSE +0 -46
- package/test/node_modules/abbrev/README.md +0 -23
- package/test/node_modules/abbrev/abbrev.js +0 -61
- package/test/node_modules/abbrev/package.json +0 -21
- package/test/node_modules/accepts/HISTORY.md +0 -243
- package/test/node_modules/accepts/LICENSE +0 -23
- package/test/node_modules/accepts/README.md +0 -140
- package/test/node_modules/accepts/index.js +0 -238
- package/test/node_modules/accepts/package.json +0 -47
- package/test/node_modules/ansi-styles/index.d.ts +0 -345
- package/test/node_modules/ansi-styles/index.js +0 -163
- package/test/node_modules/ansi-styles/license +0 -9
- package/test/node_modules/ansi-styles/package.json +0 -56
- package/test/node_modules/ansi-styles/readme.md +0 -152
- package/test/node_modules/any-promise/.jshintrc +0 -4
- package/test/node_modules/any-promise/LICENSE +0 -19
- package/test/node_modules/any-promise/README.md +0 -161
- package/test/node_modules/any-promise/implementation.d.ts +0 -3
- package/test/node_modules/any-promise/implementation.js +0 -1
- package/test/node_modules/any-promise/index.d.ts +0 -73
- package/test/node_modules/any-promise/index.js +0 -1
- package/test/node_modules/any-promise/loader.js +0 -78
- package/test/node_modules/any-promise/optional.js +0 -6
- package/test/node_modules/any-promise/package.json +0 -45
- package/test/node_modules/any-promise/register/bluebird.d.ts +0 -1
- package/test/node_modules/any-promise/register/bluebird.js +0 -2
- package/test/node_modules/any-promise/register/es6-promise.d.ts +0 -1
- package/test/node_modules/any-promise/register/es6-promise.js +0 -2
- package/test/node_modules/any-promise/register/lie.d.ts +0 -1
- package/test/node_modules/any-promise/register/lie.js +0 -2
- package/test/node_modules/any-promise/register/native-promise-only.d.ts +0 -1
- package/test/node_modules/any-promise/register/native-promise-only.js +0 -2
- package/test/node_modules/any-promise/register/pinkie.d.ts +0 -1
- package/test/node_modules/any-promise/register/pinkie.js +0 -2
- package/test/node_modules/any-promise/register/promise.d.ts +0 -1
- package/test/node_modules/any-promise/register/promise.js +0 -2
- package/test/node_modules/any-promise/register/q.d.ts +0 -1
- package/test/node_modules/any-promise/register/q.js +0 -2
- package/test/node_modules/any-promise/register/rsvp.d.ts +0 -1
- package/test/node_modules/any-promise/register/rsvp.js +0 -2
- package/test/node_modules/any-promise/register/vow.d.ts +0 -1
- package/test/node_modules/any-promise/register/vow.js +0 -2
- package/test/node_modules/any-promise/register/when.d.ts +0 -1
- package/test/node_modules/any-promise/register/when.js +0 -2
- package/test/node_modules/any-promise/register-shim.js +0 -18
- package/test/node_modules/any-promise/register.d.ts +0 -17
- package/test/node_modules/any-promise/register.js +0 -94
- package/test/node_modules/anymatch/LICENSE +0 -15
- package/test/node_modules/anymatch/README.md +0 -87
- package/test/node_modules/anymatch/index.d.ts +0 -20
- package/test/node_modules/anymatch/index.js +0 -104
- package/test/node_modules/anymatch/package.json +0 -48
- package/test/node_modules/async/CHANGELOG.md +0 -348
- package/test/node_modules/async/LICENSE +0 -19
- package/test/node_modules/async/README.md +0 -59
- package/test/node_modules/async/all.js +0 -119
- package/test/node_modules/async/allLimit.js +0 -46
- package/test/node_modules/async/allSeries.js +0 -45
- package/test/node_modules/async/any.js +0 -122
- package/test/node_modules/async/anyLimit.js +0 -47
- package/test/node_modules/async/anySeries.js +0 -46
- package/test/node_modules/async/apply.js +0 -55
- package/test/node_modules/async/applyEach.js +0 -57
- package/test/node_modules/async/applyEachSeries.js +0 -37
- package/test/node_modules/async/asyncify.js +0 -118
- package/test/node_modules/async/auto.js +0 -333
- package/test/node_modules/async/autoInject.js +0 -182
- package/test/node_modules/async/bower.json +0 -17
- package/test/node_modules/async/cargo.js +0 -63
- package/test/node_modules/async/cargoQueue.js +0 -71
- package/test/node_modules/async/compose.js +0 -55
- package/test/node_modules/async/concat.js +0 -115
- package/test/node_modules/async/concatLimit.js +0 -60
- package/test/node_modules/async/concatSeries.js +0 -41
- package/test/node_modules/async/constant.js +0 -55
- package/test/node_modules/async/detect.js +0 -96
- package/test/node_modules/async/detectLimit.js +0 -48
- package/test/node_modules/async/detectSeries.js +0 -47
- package/test/node_modules/async/dir.js +0 -43
- package/test/node_modules/async/dist/async.js +0 -6059
- package/test/node_modules/async/dist/async.min.js +0 -1
- package/test/node_modules/async/dist/async.mjs +0 -5947
- package/test/node_modules/async/doDuring.js +0 -68
- package/test/node_modules/async/doUntil.js +0 -46
- package/test/node_modules/async/doWhilst.js +0 -68
- package/test/node_modules/async/during.js +0 -78
- package/test/node_modules/async/each.js +0 -129
- package/test/node_modules/async/eachLimit.js +0 -50
- package/test/node_modules/async/eachOf.js +0 -185
- package/test/node_modules/async/eachOfLimit.js +0 -47
- package/test/node_modules/async/eachOfSeries.js +0 -39
- package/test/node_modules/async/eachSeries.js +0 -44
- package/test/node_modules/async/ensureAsync.js +0 -67
- package/test/node_modules/async/every.js +0 -119
- package/test/node_modules/async/everyLimit.js +0 -46
- package/test/node_modules/async/everySeries.js +0 -45
- package/test/node_modules/async/filter.js +0 -93
- package/test/node_modules/async/filterLimit.js +0 -45
- package/test/node_modules/async/filterSeries.js +0 -43
- package/test/node_modules/async/find.js +0 -96
- package/test/node_modules/async/findLimit.js +0 -48
- package/test/node_modules/async/findSeries.js +0 -47
- package/test/node_modules/async/flatMap.js +0 -115
- package/test/node_modules/async/flatMapLimit.js +0 -60
- package/test/node_modules/async/flatMapSeries.js +0 -41
- package/test/node_modules/async/foldl.js +0 -153
- package/test/node_modules/async/foldr.js +0 -41
- package/test/node_modules/async/forEach.js +0 -129
- package/test/node_modules/async/forEachLimit.js +0 -50
- package/test/node_modules/async/forEachOf.js +0 -185
- package/test/node_modules/async/forEachOfLimit.js +0 -47
- package/test/node_modules/async/forEachOfSeries.js +0 -39
- package/test/node_modules/async/forEachSeries.js +0 -44
- package/test/node_modules/async/forever.js +0 -68
- package/test/node_modules/async/groupBy.js +0 -108
- package/test/node_modules/async/groupByLimit.js +0 -71
- package/test/node_modules/async/groupBySeries.js +0 -36
- package/test/node_modules/async/index.js +0 -588
- package/test/node_modules/async/inject.js +0 -153
- package/test/node_modules/async/internal/DoublyLinkedList.js +0 -92
- package/test/node_modules/async/internal/Heap.js +0 -120
- package/test/node_modules/async/internal/applyEach.js +0 -29
- package/test/node_modules/async/internal/asyncEachOfLimit.js +0 -75
- package/test/node_modules/async/internal/awaitify.js +0 -27
- package/test/node_modules/async/internal/breakLoop.js +0 -10
- package/test/node_modules/async/internal/consoleFunc.js +0 -31
- package/test/node_modules/async/internal/createTester.js +0 -40
- package/test/node_modules/async/internal/eachOfLimit.js +0 -90
- package/test/node_modules/async/internal/filter.js +0 -55
- package/test/node_modules/async/internal/getIterator.js +0 -11
- package/test/node_modules/async/internal/initialParams.js +0 -14
- package/test/node_modules/async/internal/isArrayLike.js +0 -10
- package/test/node_modules/async/internal/iterator.js +0 -57
- package/test/node_modules/async/internal/map.js +0 -30
- package/test/node_modules/async/internal/once.js +0 -17
- package/test/node_modules/async/internal/onlyOnce.js +0 -15
- package/test/node_modules/async/internal/parallel.js +0 -34
- package/test/node_modules/async/internal/promiseCallback.js +0 -23
- package/test/node_modules/async/internal/queue.js +0 -294
- package/test/node_modules/async/internal/range.js +0 -14
- package/test/node_modules/async/internal/reject.js +0 -26
- package/test/node_modules/async/internal/setImmediate.js +0 -34
- package/test/node_modules/async/internal/withoutIndex.js +0 -10
- package/test/node_modules/async/internal/wrapAsync.js +0 -34
- package/test/node_modules/async/log.js +0 -41
- package/test/node_modules/async/map.js +0 -142
- package/test/node_modules/async/mapLimit.js +0 -45
- package/test/node_modules/async/mapSeries.js +0 -44
- package/test/node_modules/async/mapValues.js +0 -152
- package/test/node_modules/async/mapValuesLimit.js +0 -61
- package/test/node_modules/async/mapValuesSeries.js +0 -37
- package/test/node_modules/async/memoize.js +0 -91
- package/test/node_modules/async/nextTick.js +0 -52
- package/test/node_modules/async/package.json +0 -75
- package/test/node_modules/async/parallel.js +0 -180
- package/test/node_modules/async/parallelLimit.js +0 -41
- package/test/node_modules/async/priorityQueue.js +0 -86
- package/test/node_modules/async/queue.js +0 -167
- package/test/node_modules/async/race.js +0 -67
- package/test/node_modules/async/reduce.js +0 -153
- package/test/node_modules/async/reduceRight.js +0 -41
- package/test/node_modules/async/reflect.js +0 -78
- package/test/node_modules/async/reflectAll.js +0 -93
- package/test/node_modules/async/reject.js +0 -87
- package/test/node_modules/async/rejectLimit.js +0 -45
- package/test/node_modules/async/rejectSeries.js +0 -43
- package/test/node_modules/async/retry.js +0 -159
- package/test/node_modules/async/retryable.js +0 -77
- package/test/node_modules/async/select.js +0 -93
- package/test/node_modules/async/selectLimit.js +0 -45
- package/test/node_modules/async/selectSeries.js +0 -43
- package/test/node_modules/async/seq.js +0 -79
- package/test/node_modules/async/series.js +0 -186
- package/test/node_modules/async/setImmediate.js +0 -45
- package/test/node_modules/async/some.js +0 -122
- package/test/node_modules/async/someLimit.js +0 -47
- package/test/node_modules/async/someSeries.js +0 -46
- package/test/node_modules/async/sortBy.js +0 -190
- package/test/node_modules/async/timeout.js +0 -89
- package/test/node_modules/async/times.js +0 -50
- package/test/node_modules/async/timesLimit.js +0 -43
- package/test/node_modules/async/timesSeries.js +0 -32
- package/test/node_modules/async/transform.js +0 -173
- package/test/node_modules/async/tryEach.js +0 -78
- package/test/node_modules/async/unmemoize.js +0 -25
- package/test/node_modules/async/until.js +0 -61
- package/test/node_modules/async/waterfall.js +0 -105
- package/test/node_modules/async/whilst.js +0 -78
- package/test/node_modules/async/wrapSync.js +0 -118
- package/test/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/test/node_modules/balanced-match/LICENSE.md +0 -21
- package/test/node_modules/balanced-match/README.md +0 -97
- package/test/node_modules/balanced-match/index.js +0 -62
- package/test/node_modules/balanced-match/package.json +0 -48
- package/test/node_modules/binary-extensions/binary-extensions.json +0 -260
- package/test/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
- package/test/node_modules/binary-extensions/index.d.ts +0 -14
- package/test/node_modules/binary-extensions/index.js +0 -1
- package/test/node_modules/binary-extensions/license +0 -9
- package/test/node_modules/binary-extensions/package.json +0 -38
- package/test/node_modules/binary-extensions/readme.md +0 -41
- package/test/node_modules/bluebird/LICENSE +0 -21
- package/test/node_modules/bluebird/README.md +0 -57
- package/test/node_modules/bluebird/changelog.md +0 -1
- package/test/node_modules/bluebird/js/browser/bluebird.core.js +0 -3914
- package/test/node_modules/bluebird/js/browser/bluebird.core.min.js +0 -31
- package/test/node_modules/bluebird/js/browser/bluebird.js +0 -5778
- package/test/node_modules/bluebird/js/browser/bluebird.min.js +0 -31
- package/test/node_modules/bluebird/js/release/any.js +0 -21
- package/test/node_modules/bluebird/js/release/assert.js +0 -55
- package/test/node_modules/bluebird/js/release/async.js +0 -120
- package/test/node_modules/bluebird/js/release/bind.js +0 -67
- package/test/node_modules/bluebird/js/release/bluebird.js +0 -11
- package/test/node_modules/bluebird/js/release/call_get.js +0 -123
- package/test/node_modules/bluebird/js/release/cancel.js +0 -129
- package/test/node_modules/bluebird/js/release/catch_filter.js +0 -42
- package/test/node_modules/bluebird/js/release/context.js +0 -69
- package/test/node_modules/bluebird/js/release/debuggability.js +0 -1009
- package/test/node_modules/bluebird/js/release/direct_resolve.js +0 -46
- package/test/node_modules/bluebird/js/release/each.js +0 -30
- package/test/node_modules/bluebird/js/release/errors.js +0 -116
- package/test/node_modules/bluebird/js/release/es5.js +0 -80
- package/test/node_modules/bluebird/js/release/filter.js +0 -12
- package/test/node_modules/bluebird/js/release/finally.js +0 -146
- package/test/node_modules/bluebird/js/release/generators.js +0 -223
- package/test/node_modules/bluebird/js/release/join.js +0 -165
- package/test/node_modules/bluebird/js/release/map.js +0 -175
- package/test/node_modules/bluebird/js/release/method.js +0 -55
- package/test/node_modules/bluebird/js/release/nodeback.js +0 -51
- package/test/node_modules/bluebird/js/release/nodeify.js +0 -58
- package/test/node_modules/bluebird/js/release/promise.js +0 -819
- package/test/node_modules/bluebird/js/release/promise_array.js +0 -186
- package/test/node_modules/bluebird/js/release/promisify.js +0 -314
- package/test/node_modules/bluebird/js/release/props.js +0 -118
- package/test/node_modules/bluebird/js/release/queue.js +0 -73
- package/test/node_modules/bluebird/js/release/race.js +0 -49
- package/test/node_modules/bluebird/js/release/reduce.js +0 -183
- package/test/node_modules/bluebird/js/release/schedule.js +0 -62
- package/test/node_modules/bluebird/js/release/settle.js +0 -47
- package/test/node_modules/bluebird/js/release/some.js +0 -148
- package/test/node_modules/bluebird/js/release/synchronous_inspection.js +0 -103
- package/test/node_modules/bluebird/js/release/thenables.js +0 -86
- package/test/node_modules/bluebird/js/release/timers.js +0 -93
- package/test/node_modules/bluebird/js/release/using.js +0 -226
- package/test/node_modules/bluebird/js/release/util.js +0 -421
- package/test/node_modules/bluebird/package.json +0 -78
- package/test/node_modules/brace-expansion/LICENSE +0 -21
- package/test/node_modules/brace-expansion/README.md +0 -129
- package/test/node_modules/brace-expansion/index.js +0 -201
- package/test/node_modules/brace-expansion/package.json +0 -47
- package/test/node_modules/braces/CHANGELOG.md +0 -184
- package/test/node_modules/braces/LICENSE +0 -21
- package/test/node_modules/braces/README.md +0 -593
- package/test/node_modules/braces/index.js +0 -170
- package/test/node_modules/braces/lib/compile.js +0 -57
- package/test/node_modules/braces/lib/constants.js +0 -57
- package/test/node_modules/braces/lib/expand.js +0 -113
- package/test/node_modules/braces/lib/parse.js +0 -333
- package/test/node_modules/braces/lib/stringify.js +0 -32
- package/test/node_modules/braces/lib/utils.js +0 -112
- package/test/node_modules/braces/package.json +0 -77
- package/test/node_modules/cache-content-type/History.md +0 -15
- package/test/node_modules/cache-content-type/README.md +0 -17
- package/test/node_modules/cache-content-type/index.js +0 -15
- package/test/node_modules/cache-content-type/package.json +0 -42
- package/test/node_modules/chalk/index.d.ts +0 -415
- package/test/node_modules/chalk/license +0 -9
- package/test/node_modules/chalk/package.json +0 -68
- package/test/node_modules/chalk/readme.md +0 -341
- package/test/node_modules/chalk/source/index.js +0 -229
- package/test/node_modules/chalk/source/templates.js +0 -134
- package/test/node_modules/chalk/source/util.js +0 -39
- package/test/node_modules/chokidar/LICENSE +0 -21
- package/test/node_modules/chokidar/README.md +0 -308
- package/test/node_modules/chokidar/index.js +0 -973
- package/test/node_modules/chokidar/lib/constants.js +0 -65
- package/test/node_modules/chokidar/lib/fsevents-handler.js +0 -524
- package/test/node_modules/chokidar/lib/nodefs-handler.js +0 -654
- package/test/node_modules/chokidar/package.json +0 -85
- package/test/node_modules/chokidar/types/index.d.ts +0 -188
- package/test/node_modules/co/History.md +0 -172
- package/test/node_modules/co/LICENSE +0 -22
- package/test/node_modules/co/Readme.md +0 -212
- package/test/node_modules/co/index.js +0 -237
- package/test/node_modules/co/package.json +0 -34
- package/test/node_modules/color-convert/CHANGELOG.md +0 -54
- package/test/node_modules/color-convert/LICENSE +0 -21
- package/test/node_modules/color-convert/README.md +0 -68
- package/test/node_modules/color-convert/conversions.js +0 -839
- package/test/node_modules/color-convert/index.js +0 -81
- package/test/node_modules/color-convert/package.json +0 -48
- package/test/node_modules/color-convert/route.js +0 -97
- package/test/node_modules/color-name/LICENSE +0 -8
- package/test/node_modules/color-name/README.md +0 -11
- package/test/node_modules/color-name/index.js +0 -152
- package/test/node_modules/color-name/package.json +0 -28
- package/test/node_modules/commander/CHANGELOG.md +0 -419
- package/test/node_modules/commander/LICENSE +0 -22
- package/test/node_modules/commander/Readme.md +0 -428
- package/test/node_modules/commander/index.js +0 -1224
- package/test/node_modules/commander/package.json +0 -38
- package/test/node_modules/commander/typings/index.d.ts +0 -310
- package/test/node_modules/concat-map/.travis.yml +0 -4
- package/test/node_modules/concat-map/LICENSE +0 -18
- package/test/node_modules/concat-map/README.markdown +0 -62
- package/test/node_modules/concat-map/example/map.js +0 -6
- package/test/node_modules/concat-map/index.js +0 -13
- package/test/node_modules/concat-map/package.json +0 -43
- package/test/node_modules/concat-map/test/map.js +0 -39
- package/test/node_modules/condense-newlines/LICENSE +0 -21
- package/test/node_modules/condense-newlines/README.md +0 -105
- package/test/node_modules/condense-newlines/index.js +0 -60
- package/test/node_modules/condense-newlines/package.json +0 -64
- package/test/node_modules/config-chain/LICENCE +0 -22
- package/test/node_modules/config-chain/index.js +0 -282
- package/test/node_modules/config-chain/package.json +0 -28
- package/test/node_modules/config-chain/readme.markdown +0 -257
- package/test/node_modules/consolidate/History.md +0 -132
- package/test/node_modules/consolidate/Readme.md +0 -223
- package/test/node_modules/consolidate/index.js +0 -1
- package/test/node_modules/consolidate/lib/consolidate.js +0 -1792
- package/test/node_modules/consolidate/package.json +0 -94
- package/test/node_modules/content-disposition/HISTORY.md +0 -60
- package/test/node_modules/content-disposition/LICENSE +0 -22
- package/test/node_modules/content-disposition/README.md +0 -142
- package/test/node_modules/content-disposition/index.js +0 -458
- package/test/node_modules/content-disposition/package.json +0 -44
- package/test/node_modules/content-type/HISTORY.md +0 -24
- package/test/node_modules/content-type/LICENSE +0 -22
- package/test/node_modules/content-type/README.md +0 -92
- package/test/node_modules/content-type/index.js +0 -222
- package/test/node_modules/content-type/package.json +0 -40
- package/test/node_modules/cookies/HISTORY.md +0 -121
- package/test/node_modules/cookies/LICENSE +0 -23
- package/test/node_modules/cookies/README.md +0 -145
- package/test/node_modules/cookies/index.js +0 -224
- package/test/node_modules/cookies/package.json +0 -38
- package/test/node_modules/debug/LICENSE +0 -20
- package/test/node_modules/debug/README.md +0 -481
- package/test/node_modules/debug/package.json +0 -59
- package/test/node_modules/debug/src/browser.js +0 -269
- package/test/node_modules/debug/src/common.js +0 -274
- package/test/node_modules/debug/src/index.js +0 -10
- package/test/node_modules/debug/src/node.js +0 -263
- package/test/node_modules/deep-equal/.travis.yml +0 -8
- package/test/node_modules/deep-equal/LICENSE +0 -18
- package/test/node_modules/deep-equal/example/cmp.js +0 -11
- package/test/node_modules/deep-equal/index.js +0 -94
- package/test/node_modules/deep-equal/lib/is_arguments.js +0 -20
- package/test/node_modules/deep-equal/lib/keys.js +0 -9
- package/test/node_modules/deep-equal/package.json +0 -58
- package/test/node_modules/deep-equal/readme.markdown +0 -61
- package/test/node_modules/deep-equal/test/cmp.js +0 -95
- package/test/node_modules/delegates/History.md +0 -22
- package/test/node_modules/delegates/License +0 -20
- package/test/node_modules/delegates/Makefile +0 -8
- package/test/node_modules/delegates/Readme.md +0 -94
- package/test/node_modules/delegates/index.js +0 -121
- package/test/node_modules/delegates/package.json +0 -13
- package/test/node_modules/delegates/test/index.js +0 -94
- package/test/node_modules/depd/History.md +0 -103
- package/test/node_modules/depd/LICENSE +0 -22
- package/test/node_modules/depd/Readme.md +0 -280
- package/test/node_modules/depd/index.js +0 -538
- package/test/node_modules/depd/lib/browser/index.js +0 -77
- package/test/node_modules/depd/package.json +0 -45
- package/test/node_modules/destroy/LICENSE +0 -23
- package/test/node_modules/destroy/README.md +0 -63
- package/test/node_modules/destroy/index.js +0 -209
- package/test/node_modules/destroy/package.json +0 -48
- package/test/node_modules/editorconfig/CHANGELOG.md +0 -14
- package/test/node_modules/editorconfig/LICENSE +0 -19
- package/test/node_modules/editorconfig/README.md +0 -206
- package/test/node_modules/editorconfig/bin/editorconfig +0 -3
- package/test/node_modules/editorconfig/package.json +0 -59
- package/test/node_modules/editorconfig/src/cli.d.ts +0 -1
- package/test/node_modules/editorconfig/src/cli.js +0 -53
- package/test/node_modules/editorconfig/src/index.d.ts +0 -29
- package/test/node_modules/editorconfig/src/index.js +0 -261
- package/test/node_modules/editorconfig/src/lib/fnmatch.d.ts +0 -214
- package/test/node_modules/editorconfig/src/lib/fnmatch.js +0 -1047
- package/test/node_modules/editorconfig/src/lib/ini.d.ts +0 -14
- package/test/node_modules/editorconfig/src/lib/ini.js +0 -106
- package/test/node_modules/ee-first/LICENSE +0 -22
- package/test/node_modules/ee-first/README.md +0 -80
- package/test/node_modules/ee-first/index.js +0 -95
- package/test/node_modules/ee-first/package.json +0 -29
- package/test/node_modules/ejs/LICENSE +0 -202
- package/test/node_modules/ejs/README.md +0 -344
- package/test/node_modules/ejs/bin/cli.js +0 -212
- package/test/node_modules/ejs/ejs.js +0 -1720
- package/test/node_modules/ejs/ejs.min.js +0 -1
- package/test/node_modules/ejs/jakefile.js +0 -88
- package/test/node_modules/ejs/lib/ejs.js +0 -951
- package/test/node_modules/ejs/lib/utils.js +0 -225
- package/test/node_modules/ejs/package.json +0 -42
- package/test/node_modules/ejs/usage.txt +0 -24
- package/test/node_modules/encodeurl/HISTORY.md +0 -14
- package/test/node_modules/encodeurl/LICENSE +0 -22
- package/test/node_modules/encodeurl/README.md +0 -128
- package/test/node_modules/encodeurl/index.js +0 -60
- package/test/node_modules/encodeurl/package.json +0 -40
- package/test/node_modules/escape-html/LICENSE +0 -24
- package/test/node_modules/escape-html/Readme.md +0 -43
- package/test/node_modules/escape-html/index.js +0 -78
- package/test/node_modules/escape-html/package.json +0 -24
- package/test/node_modules/extend-shallow/LICENSE +0 -21
- package/test/node_modules/extend-shallow/README.md +0 -61
- package/test/node_modules/extend-shallow/index.js +0 -33
- package/test/node_modules/extend-shallow/package.json +0 -56
- package/test/node_modules/filelist/README.md +0 -84
- package/test/node_modules/filelist/index.d.ts +0 -110
- package/test/node_modules/filelist/index.js +0 -495
- package/test/node_modules/filelist/jakefile.js +0 -15
- package/test/node_modules/filelist/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
- package/test/node_modules/filelist/node_modules/brace-expansion/LICENSE +0 -21
- package/test/node_modules/filelist/node_modules/brace-expansion/README.md +0 -135
- package/test/node_modules/filelist/node_modules/brace-expansion/index.js +0 -203
- package/test/node_modules/filelist/node_modules/brace-expansion/package.json +0 -46
- package/test/node_modules/filelist/node_modules/minimatch/LICENSE +0 -15
- package/test/node_modules/filelist/node_modules/minimatch/README.md +0 -259
- package/test/node_modules/filelist/node_modules/minimatch/lib/path.js +0 -4
- package/test/node_modules/filelist/node_modules/minimatch/minimatch.js +0 -906
- package/test/node_modules/filelist/node_modules/minimatch/package.json +0 -32
- package/test/node_modules/filelist/package.json +0 -28
- package/test/node_modules/fill-range/LICENSE +0 -21
- package/test/node_modules/fill-range/README.md +0 -237
- package/test/node_modules/fill-range/index.js +0 -249
- package/test/node_modules/fill-range/package.json +0 -69
- package/test/node_modules/fresh/HISTORY.md +0 -70
- package/test/node_modules/fresh/LICENSE +0 -23
- package/test/node_modules/fresh/README.md +0 -119
- package/test/node_modules/fresh/index.js +0 -137
- package/test/node_modules/fresh/package.json +0 -46
- package/test/node_modules/fs.realpath/LICENSE +0 -43
- package/test/node_modules/fs.realpath/README.md +0 -33
- package/test/node_modules/fs.realpath/index.js +0 -66
- package/test/node_modules/fs.realpath/old.js +0 -303
- package/test/node_modules/fs.realpath/package.json +0 -26
- package/test/node_modules/get-paths/.editorconfig +0 -9
- package/test/node_modules/get-paths/.gitattributes +0 -1
- package/test/node_modules/get-paths/.lib.eslintrc +0 -3
- package/test/node_modules/get-paths/.remarkignore +0 -1
- package/test/node_modules/get-paths/.travis.yml +0 -6
- package/test/node_modules/get-paths/LICENSE +0 -21
- package/test/node_modules/get-paths/README.md +0 -61
- package/test/node_modules/get-paths/index.js +0 -31
- package/test/node_modules/get-paths/package.json +0 -100
- package/test/node_modules/get-paths/test/test.js +0 -7
- package/test/node_modules/glob/LICENSE +0 -15
- package/test/node_modules/glob/README.md +0 -378
- package/test/node_modules/glob/common.js +0 -240
- package/test/node_modules/glob/glob.js +0 -790
- package/test/node_modules/glob/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
- package/test/node_modules/glob/node_modules/brace-expansion/LICENSE +0 -21
- package/test/node_modules/glob/node_modules/brace-expansion/README.md +0 -135
- package/test/node_modules/glob/node_modules/brace-expansion/index.js +0 -203
- package/test/node_modules/glob/node_modules/brace-expansion/package.json +0 -46
- package/test/node_modules/glob/node_modules/minimatch/LICENSE +0 -15
- package/test/node_modules/glob/node_modules/minimatch/README.md +0 -259
- package/test/node_modules/glob/node_modules/minimatch/lib/path.js +0 -4
- package/test/node_modules/glob/node_modules/minimatch/minimatch.js +0 -906
- package/test/node_modules/glob/node_modules/minimatch/package.json +0 -32
- package/test/node_modules/glob/package.json +0 -55
- package/test/node_modules/glob/sync.js +0 -486
- package/test/node_modules/glob-parent/CHANGELOG.md +0 -110
- package/test/node_modules/glob-parent/LICENSE +0 -15
- package/test/node_modules/glob-parent/README.md +0 -137
- package/test/node_modules/glob-parent/index.js +0 -42
- package/test/node_modules/glob-parent/package.json +0 -48
- package/test/node_modules/has-flag/index.d.ts +0 -39
- package/test/node_modules/has-flag/index.js +0 -8
- package/test/node_modules/has-flag/license +0 -9
- package/test/node_modules/has-flag/package.json +0 -46
- package/test/node_modules/has-flag/readme.md +0 -89
- package/test/node_modules/has-symbols/.eslintrc +0 -11
- package/test/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/test/node_modules/has-symbols/.nycrc +0 -9
- package/test/node_modules/has-symbols/CHANGELOG.md +0 -75
- package/test/node_modules/has-symbols/LICENSE +0 -21
- package/test/node_modules/has-symbols/README.md +0 -46
- package/test/node_modules/has-symbols/index.js +0 -13
- package/test/node_modules/has-symbols/package.json +0 -101
- package/test/node_modules/has-symbols/shams.js +0 -42
- package/test/node_modules/has-symbols/test/index.js +0 -22
- package/test/node_modules/has-symbols/test/shams/core-js.js +0 -28
- package/test/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
- package/test/node_modules/has-symbols/test/tests.js +0 -56
- package/test/node_modules/has-tostringtag/.eslintrc +0 -11
- package/test/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/test/node_modules/has-tostringtag/CHANGELOG.md +0 -20
- package/test/node_modules/has-tostringtag/LICENSE +0 -21
- package/test/node_modules/has-tostringtag/README.md +0 -46
- package/test/node_modules/has-tostringtag/index.js +0 -7
- package/test/node_modules/has-tostringtag/package.json +0 -84
- package/test/node_modules/has-tostringtag/shams.js +0 -7
- package/test/node_modules/has-tostringtag/test/index.js +0 -21
- package/test/node_modules/has-tostringtag/test/shams/core-js.js +0 -28
- package/test/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -28
- package/test/node_modules/has-tostringtag/test/tests.js +0 -14
- package/test/node_modules/http-assert/HISTORY.md +0 -79
- package/test/node_modules/http-assert/LICENSE +0 -22
- package/test/node_modules/http-assert/README.md +0 -116
- package/test/node_modules/http-assert/index.js +0 -41
- package/test/node_modules/http-assert/package.json +0 -41
- package/test/node_modules/http-errors/HISTORY.md +0 -165
- package/test/node_modules/http-errors/LICENSE +0 -23
- package/test/node_modules/http-errors/README.md +0 -169
- package/test/node_modules/http-errors/index.js +0 -299
- package/test/node_modules/http-errors/node_modules/depd/History.md +0 -96
- package/test/node_modules/http-errors/node_modules/depd/LICENSE +0 -22
- package/test/node_modules/http-errors/node_modules/depd/Readme.md +0 -280
- package/test/node_modules/http-errors/node_modules/depd/index.js +0 -522
- package/test/node_modules/http-errors/node_modules/depd/lib/browser/index.js +0 -77
- package/test/node_modules/http-errors/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
- package/test/node_modules/http-errors/node_modules/depd/lib/compat/event-listener-count.js +0 -22
- package/test/node_modules/http-errors/node_modules/depd/lib/compat/index.js +0 -79
- package/test/node_modules/http-errors/node_modules/depd/package.json +0 -41
- package/test/node_modules/http-errors/package.json +0 -49
- package/test/node_modules/ignore-by-default/LICENSE +0 -14
- package/test/node_modules/ignore-by-default/README.md +0 -26
- package/test/node_modules/ignore-by-default/index.js +0 -12
- package/test/node_modules/ignore-by-default/package.json +0 -34
- package/test/node_modules/inflight/LICENSE +0 -15
- package/test/node_modules/inflight/README.md +0 -37
- package/test/node_modules/inflight/inflight.js +0 -54
- package/test/node_modules/inflight/package.json +0 -29
- package/test/node_modules/inherits/LICENSE +0 -16
- package/test/node_modules/inherits/README.md +0 -42
- package/test/node_modules/inherits/inherits.js +0 -9
- package/test/node_modules/inherits/inherits_browser.js +0 -27
- package/test/node_modules/inherits/package.json +0 -29
- package/test/node_modules/ini/LICENSE +0 -15
- package/test/node_modules/ini/README.md +0 -102
- package/test/node_modules/ini/ini.js +0 -206
- package/test/node_modules/ini/package.json +0 -33
- package/test/node_modules/is-binary-path/index.d.ts +0 -17
- package/test/node_modules/is-binary-path/index.js +0 -7
- package/test/node_modules/is-binary-path/license +0 -9
- package/test/node_modules/is-binary-path/package.json +0 -40
- package/test/node_modules/is-binary-path/readme.md +0 -34
- package/test/node_modules/is-buffer/LICENSE +0 -21
- package/test/node_modules/is-buffer/README.md +0 -53
- package/test/node_modules/is-buffer/index.js +0 -21
- package/test/node_modules/is-buffer/package.json +0 -51
- package/test/node_modules/is-buffer/test/basic.js +0 -24
- package/test/node_modules/is-extendable/LICENSE +0 -21
- package/test/node_modules/is-extendable/README.md +0 -72
- package/test/node_modules/is-extendable/index.js +0 -13
- package/test/node_modules/is-extendable/package.json +0 -51
- package/test/node_modules/is-extglob/LICENSE +0 -21
- package/test/node_modules/is-extglob/README.md +0 -107
- package/test/node_modules/is-extglob/index.js +0 -20
- package/test/node_modules/is-extglob/package.json +0 -69
- package/test/node_modules/is-generator-function/.eslintignore +0 -1
- package/test/node_modules/is-generator-function/.eslintrc +0 -9
- package/test/node_modules/is-generator-function/.nvmrc +0 -1
- package/test/node_modules/is-generator-function/.nycrc +0 -9
- package/test/node_modules/is-generator-function/CHANGELOG.md +0 -216
- package/test/node_modules/is-generator-function/LICENSE +0 -20
- package/test/node_modules/is-generator-function/README.md +0 -40
- package/test/node_modules/is-generator-function/index.js +0 -38
- package/test/node_modules/is-generator-function/package.json +0 -87
- package/test/node_modules/is-generator-function/test/corejs.js +0 -5
- package/test/node_modules/is-generator-function/test/index.js +0 -83
- package/test/node_modules/is-generator-function/test/uglified.js +0 -8
- package/test/node_modules/is-glob/LICENSE +0 -21
- package/test/node_modules/is-glob/README.md +0 -206
- package/test/node_modules/is-glob/index.js +0 -150
- package/test/node_modules/is-glob/package.json +0 -81
- package/test/node_modules/is-number/LICENSE +0 -21
- package/test/node_modules/is-number/README.md +0 -187
- package/test/node_modules/is-number/index.js +0 -18
- package/test/node_modules/is-number/package.json +0 -82
- package/test/node_modules/is-whitespace/LICENSE +0 -21
- package/test/node_modules/is-whitespace/README.md +0 -47
- package/test/node_modules/is-whitespace/index.js +0 -19
- package/test/node_modules/is-whitespace/package.json +0 -47
- package/test/node_modules/jake/Makefile +0 -44
- package/test/node_modules/jake/README.md +0 -17
- package/test/node_modules/jake/bin/bash_completion.sh +0 -41
- package/test/node_modules/jake/bin/cli.js +0 -31
- package/test/node_modules/jake/jakefile.js +0 -94
- package/test/node_modules/jake/lib/api.js +0 -409
- package/test/node_modules/jake/lib/jake.js +0 -330
- package/test/node_modules/jake/lib/loader.js +0 -173
- package/test/node_modules/jake/lib/namespace.js +0 -115
- package/test/node_modules/jake/lib/package_task.js +0 -406
- package/test/node_modules/jake/lib/parseargs.js +0 -134
- package/test/node_modules/jake/lib/program.js +0 -282
- package/test/node_modules/jake/lib/publish_task.js +0 -290
- package/test/node_modules/jake/lib/rule.js +0 -311
- package/test/node_modules/jake/lib/task/directory_task.js +0 -30
- package/test/node_modules/jake/lib/task/file_task.js +0 -124
- package/test/node_modules/jake/lib/task/index.js +0 -9
- package/test/node_modules/jake/lib/task/task.js +0 -449
- package/test/node_modules/jake/lib/test_task.js +0 -270
- package/test/node_modules/jake/lib/utils/file.js +0 -286
- package/test/node_modules/jake/lib/utils/index.js +0 -297
- package/test/node_modules/jake/lib/utils/logger.js +0 -24
- package/test/node_modules/jake/package.json +0 -42
- package/test/node_modules/jake/test/integration/concurrent.js +0 -45
- package/test/node_modules/jake/test/integration/file.js +0 -228
- package/test/node_modules/jake/test/integration/file_task.js +0 -126
- package/test/node_modules/jake/test/integration/helpers.js +0 -80
- package/test/node_modules/jake/test/integration/jakefile.js +0 -337
- package/test/node_modules/jake/test/integration/jakelib/concurrent.jake.js +0 -113
- package/test/node_modules/jake/test/integration/jakelib/publish.jake.js +0 -49
- package/test/node_modules/jake/test/integration/jakelib/required_module.jake.js +0 -10
- package/test/node_modules/jake/test/integration/jakelib/rule.jake.js +0 -222
- package/test/node_modules/jake/test/integration/publish_task.js +0 -27
- package/test/node_modules/jake/test/integration/rule.js +0 -217
- package/test/node_modules/jake/test/integration/selfdep.js +0 -42
- package/test/node_modules/jake/test/integration/task_base.js +0 -167
- package/test/node_modules/jake/test/unit/jakefile.js +0 -36
- package/test/node_modules/jake/test/unit/namespace.js +0 -77
- package/test/node_modules/jake/test/unit/parseargs.js +0 -169
- package/test/node_modules/jake/usage.txt +0 -16
- package/test/node_modules/js-beautify/LICENSE +0 -9
- package/test/node_modules/js-beautify/README.md +0 -435
- package/test/node_modules/js-beautify/js/bin/css-beautify.js +0 -4
- package/test/node_modules/js-beautify/js/bin/html-beautify.js +0 -4
- package/test/node_modules/js-beautify/js/bin/js-beautify.js +0 -4
- package/test/node_modules/js-beautify/js/index.js +0 -86
- package/test/node_modules/js-beautify/js/lib/beautifier.js +0 -5982
- package/test/node_modules/js-beautify/js/lib/beautifier.min.js +0 -2
- package/test/node_modules/js-beautify/js/lib/beautify-css.js +0 -1675
- package/test/node_modules/js-beautify/js/lib/beautify-html.js +0 -3136
- package/test/node_modules/js-beautify/js/lib/beautify.js +0 -4020
- package/test/node_modules/js-beautify/js/lib/cli.js +0 -705
- package/test/node_modules/js-beautify/js/lib/unpackers/javascriptobfuscator_unpacker.js +0 -132
- package/test/node_modules/js-beautify/js/lib/unpackers/myobfuscate_unpacker.js +0 -119
- package/test/node_modules/js-beautify/js/lib/unpackers/p_a_c_k_e_r_unpacker.js +0 -119
- package/test/node_modules/js-beautify/js/lib/unpackers/urlencode_unpacker.js +0 -104
- package/test/node_modules/js-beautify/js/src/cli.js +0 -705
- package/test/node_modules/js-beautify/js/src/core/directives.js +0 -62
- package/test/node_modules/js-beautify/js/src/core/inputscanner.js +0 -192
- package/test/node_modules/js-beautify/js/src/core/options.js +0 -193
- package/test/node_modules/js-beautify/js/src/core/output.js +0 -419
- package/test/node_modules/js-beautify/js/src/core/pattern.js +0 -94
- package/test/node_modules/js-beautify/js/src/core/templatablepattern.js +0 -211
- package/test/node_modules/js-beautify/js/src/core/token.js +0 -54
- package/test/node_modules/js-beautify/js/src/core/tokenizer.js +0 -140
- package/test/node_modules/js-beautify/js/src/core/tokenstream.js +0 -78
- package/test/node_modules/js-beautify/js/src/core/whitespacepattern.js +0 -105
- package/test/node_modules/js-beautify/js/src/css/beautifier.js +0 -529
- package/test/node_modules/js-beautify/js/src/css/index.js +0 -42
- package/test/node_modules/js-beautify/js/src/css/options.js +0 -56
- package/test/node_modules/js-beautify/js/src/css/tokenizer.js +0 -29
- package/test/node_modules/js-beautify/js/src/html/beautifier.js +0 -878
- package/test/node_modules/js-beautify/js/src/html/index.js +0 -42
- package/test/node_modules/js-beautify/js/src/html/options.js +0 -91
- package/test/node_modules/js-beautify/js/src/html/tokenizer.js +0 -332
- package/test/node_modules/js-beautify/js/src/index.js +0 -44
- package/test/node_modules/js-beautify/js/src/javascript/acorn.js +0 -57
- package/test/node_modules/js-beautify/js/src/javascript/beautifier.js +0 -1472
- package/test/node_modules/js-beautify/js/src/javascript/index.js +0 -42
- package/test/node_modules/js-beautify/js/src/javascript/options.js +0 -93
- package/test/node_modules/js-beautify/js/src/javascript/tokenizer.js +0 -567
- package/test/node_modules/js-beautify/js/src/unpackers/javascriptobfuscator_unpacker.js +0 -132
- package/test/node_modules/js-beautify/js/src/unpackers/myobfuscate_unpacker.js +0 -119
- package/test/node_modules/js-beautify/js/src/unpackers/p_a_c_k_e_r_unpacker.js +0 -119
- package/test/node_modules/js-beautify/js/src/unpackers/urlencode_unpacker.js +0 -104
- package/test/node_modules/js-beautify/package.json +0 -72
- package/test/node_modules/keygrip/HISTORY.md +0 -25
- package/test/node_modules/keygrip/LICENSE +0 -21
- package/test/node_modules/keygrip/README.md +0 -103
- package/test/node_modules/keygrip/index.js +0 -51
- package/test/node_modules/keygrip/package.json +0 -28
- package/test/node_modules/kind-of/LICENSE +0 -21
- package/test/node_modules/kind-of/README.md +0 -261
- package/test/node_modules/kind-of/index.js +0 -116
- package/test/node_modules/kind-of/package.json +0 -90
- package/test/node_modules/koa/History.md +0 -696
- package/test/node_modules/koa/LICENSE +0 -22
- package/test/node_modules/koa/Readme.md +0 -289
- package/test/node_modules/koa/dist/koa.mjs +0 -4
- package/test/node_modules/koa/lib/application.js +0 -314
- package/test/node_modules/koa/lib/context.js +0 -251
- package/test/node_modules/koa/lib/request.js +0 -726
- package/test/node_modules/koa/lib/response.js +0 -588
- package/test/node_modules/koa/package.json +0 -89
- package/test/node_modules/koa-compose/History.md +0 -60
- package/test/node_modules/koa-compose/Readme.md +0 -40
- package/test/node_modules/koa-compose/index.js +0 -48
- package/test/node_modules/koa-compose/package.json +0 -30
- package/test/node_modules/koa-convert/LICENSE +0 -22
- package/test/node_modules/koa-convert/README.md +0 -166
- package/test/node_modules/koa-convert/index.js +0 -105
- package/test/node_modules/koa-convert/package.json +0 -64
- package/test/node_modules/koa-send/History.md +0 -133
- package/test/node_modules/koa-send/LICENSE +0 -22
- package/test/node_modules/koa-send/README.md +0 -109
- package/test/node_modules/koa-send/index.js +0 -188
- package/test/node_modules/koa-send/package.json +0 -58
- package/test/node_modules/koa-views/.eslintrc +0 -14
- package/test/node_modules/koa-views/.gitattributes +0 -1
- package/test/node_modules/koa-views/.github/workflows/test.yml +0 -20
- package/test/node_modules/koa-views/README.md +0 -201
- package/test/node_modules/koa-views/history.md +0 -110
- package/test/node_modules/koa-views/index.d.ts +0 -62
- package/test/node_modules/koa-views/license +0 -22
- package/test/node_modules/koa-views/package.json +0 -68
- package/test/node_modules/koa-views/src/index.js +0 -98
- package/test/node_modules/koa-views/test/.eslintrc +0 -5
- package/test/node_modules/koa-views/test/fixtures/basic.ejs +0 -10
- package/test/node_modules/koa-views/test/fixtures/basic.foo +0 -1
- package/test/node_modules/koa-views/test/fixtures/basic.html +0 -11
- package/test/node_modules/koa-views/test/fixtures/basic.pug +0 -9
- package/test/node_modules/koa-views/test/fixtures/basic.test.html +0 -11
- package/test/node_modules/koa-views/test/fixtures/global-state.pug +0 -9
- package/test/node_modules/koa-views/test/fixtures/index.html +0 -10
- package/test/node_modules/koa-views/test/fixtures/nunjucks-filter.html +0 -11
- package/test/node_modules/koa-views/test/fixtures/state.pug +0 -9
- package/test/node_modules/koa-views/test/fixtures/underscore.html +0 -11
- package/test/node_modules/koa-views/test/fixtures/view-options-partial.hbs +0 -1
- package/test/node_modules/koa-views/test/fixtures/view-options.hbs +0 -4
- package/test/node_modules/koa-views/test/index.js +0 -431
- package/test/node_modules/koa-views/test-outside/fixtures/basic.ejs +0 -10
- package/test/node_modules/lru-cache/LICENSE +0 -15
- package/test/node_modules/lru-cache/README.md +0 -158
- package/test/node_modules/lru-cache/index.js +0 -468
- package/test/node_modules/lru-cache/package.json +0 -36
- package/test/node_modules/media-typer/HISTORY.md +0 -22
- package/test/node_modules/media-typer/LICENSE +0 -22
- package/test/node_modules/media-typer/README.md +0 -81
- package/test/node_modules/media-typer/index.js +0 -270
- package/test/node_modules/media-typer/package.json +0 -26
- package/test/node_modules/mime-db/HISTORY.md +0 -507
- package/test/node_modules/mime-db/LICENSE +0 -23
- package/test/node_modules/mime-db/README.md +0 -100
- package/test/node_modules/mime-db/db.json +0 -8519
- package/test/node_modules/mime-db/index.js +0 -12
- package/test/node_modules/mime-db/package.json +0 -60
- package/test/node_modules/mime-types/HISTORY.md +0 -397
- package/test/node_modules/mime-types/LICENSE +0 -23
- package/test/node_modules/mime-types/README.md +0 -113
- package/test/node_modules/mime-types/index.js +0 -188
- package/test/node_modules/mime-types/package.json +0 -44
- package/test/node_modules/minimatch/LICENSE +0 -15
- package/test/node_modules/minimatch/README.md +0 -230
- package/test/node_modules/minimatch/minimatch.js +0 -947
- package/test/node_modules/minimatch/package.json +0 -33
- package/test/node_modules/ms/index.js +0 -162
- package/test/node_modules/ms/license.md +0 -21
- package/test/node_modules/ms/package.json +0 -37
- package/test/node_modules/ms/readme.md +0 -60
- package/test/node_modules/mz/HISTORY.md +0 -66
- package/test/node_modules/mz/LICENSE +0 -22
- package/test/node_modules/mz/README.md +0 -106
- package/test/node_modules/mz/child_process.js +0 -8
- package/test/node_modules/mz/crypto.js +0 -9
- package/test/node_modules/mz/dns.js +0 -16
- package/test/node_modules/mz/fs.js +0 -62
- package/test/node_modules/mz/index.js +0 -8
- package/test/node_modules/mz/package.json +0 -44
- package/test/node_modules/mz/readline.js +0 -64
- package/test/node_modules/mz/zlib.js +0 -13
- package/test/node_modules/negotiator/HISTORY.md +0 -108
- package/test/node_modules/negotiator/LICENSE +0 -24
- package/test/node_modules/negotiator/README.md +0 -203
- package/test/node_modules/negotiator/index.js +0 -82
- package/test/node_modules/negotiator/lib/charset.js +0 -169
- package/test/node_modules/negotiator/lib/encoding.js +0 -184
- package/test/node_modules/negotiator/lib/language.js +0 -179
- package/test/node_modules/negotiator/lib/mediaType.js +0 -294
- package/test/node_modules/negotiator/package.json +0 -42
- package/test/node_modules/nodemon/LICENSE +0 -21
- package/test/node_modules/nodemon/README.md +0 -423
- package/test/node_modules/nodemon/bin/nodemon.js +0 -16
- package/test/node_modules/nodemon/bin/windows-kill.exe +0 -0
- package/test/node_modules/nodemon/doc/cli/authors.txt +0 -8
- package/test/node_modules/nodemon/doc/cli/config.txt +0 -44
- package/test/node_modules/nodemon/doc/cli/help.txt +0 -29
- package/test/node_modules/nodemon/doc/cli/logo.txt +0 -20
- package/test/node_modules/nodemon/doc/cli/options.txt +0 -36
- package/test/node_modules/nodemon/doc/cli/topics.txt +0 -8
- package/test/node_modules/nodemon/doc/cli/usage.txt +0 -3
- package/test/node_modules/nodemon/doc/cli/whoami.txt +0 -9
- package/test/node_modules/nodemon/lib/cli/index.js +0 -49
- package/test/node_modules/nodemon/lib/cli/parse.js +0 -230
- package/test/node_modules/nodemon/lib/config/command.js +0 -43
- package/test/node_modules/nodemon/lib/config/defaults.js +0 -28
- package/test/node_modules/nodemon/lib/config/exec.js +0 -225
- package/test/node_modules/nodemon/lib/config/index.js +0 -93
- package/test/node_modules/nodemon/lib/config/load.js +0 -256
- package/test/node_modules/nodemon/lib/help/index.js +0 -27
- package/test/node_modules/nodemon/lib/index.js +0 -1
- package/test/node_modules/nodemon/lib/monitor/index.js +0 -4
- package/test/node_modules/nodemon/lib/monitor/match.js +0 -276
- package/test/node_modules/nodemon/lib/monitor/run.js +0 -541
- package/test/node_modules/nodemon/lib/monitor/signals.js +0 -34
- package/test/node_modules/nodemon/lib/monitor/watch.js +0 -239
- package/test/node_modules/nodemon/lib/nodemon.js +0 -311
- package/test/node_modules/nodemon/lib/rules/add.js +0 -89
- package/test/node_modules/nodemon/lib/rules/index.js +0 -53
- package/test/node_modules/nodemon/lib/rules/parse.js +0 -43
- package/test/node_modules/nodemon/lib/spawn.js +0 -73
- package/test/node_modules/nodemon/lib/utils/bus.js +0 -44
- package/test/node_modules/nodemon/lib/utils/clone.js +0 -40
- package/test/node_modules/nodemon/lib/utils/colour.js +0 -26
- package/test/node_modules/nodemon/lib/utils/index.js +0 -102
- package/test/node_modules/nodemon/lib/utils/log.js +0 -82
- package/test/node_modules/nodemon/lib/utils/merge.js +0 -47
- package/test/node_modules/nodemon/lib/version.js +0 -100
- package/test/node_modules/nodemon/node_modules/debug/CHANGELOG.md +0 -395
- package/test/node_modules/nodemon/node_modules/debug/LICENSE +0 -19
- package/test/node_modules/nodemon/node_modules/debug/README.md +0 -437
- package/test/node_modules/nodemon/node_modules/debug/node.js +0 -1
- package/test/node_modules/nodemon/node_modules/debug/package.json +0 -51
- package/test/node_modules/nodemon/node_modules/debug/src/browser.js +0 -180
- package/test/node_modules/nodemon/node_modules/debug/src/common.js +0 -249
- package/test/node_modules/nodemon/node_modules/debug/src/index.js +0 -12
- package/test/node_modules/nodemon/node_modules/debug/src/node.js +0 -177
- package/test/node_modules/nodemon/node_modules/has-flag/index.js +0 -8
- package/test/node_modules/nodemon/node_modules/has-flag/license +0 -9
- package/test/node_modules/nodemon/node_modules/has-flag/package.json +0 -44
- package/test/node_modules/nodemon/node_modules/has-flag/readme.md +0 -70
- package/test/node_modules/nodemon/node_modules/supports-color/browser.js +0 -5
- package/test/node_modules/nodemon/node_modules/supports-color/index.js +0 -131
- package/test/node_modules/nodemon/node_modules/supports-color/license +0 -9
- package/test/node_modules/nodemon/node_modules/supports-color/package.json +0 -53
- package/test/node_modules/nodemon/node_modules/supports-color/readme.md +0 -66
- package/test/node_modules/nodemon/package.json +0 -74
- package/test/node_modules/nopt/LICENSE +0 -15
- package/test/node_modules/nopt/README.md +0 -213
- package/test/node_modules/nopt/bin/nopt.js +0 -56
- package/test/node_modules/nopt/lib/nopt.js +0 -515
- package/test/node_modules/nopt/package.json +0 -53
- package/test/node_modules/normalize-path/LICENSE +0 -21
- package/test/node_modules/normalize-path/README.md +0 -127
- package/test/node_modules/normalize-path/index.js +0 -35
- package/test/node_modules/normalize-path/package.json +0 -77
- package/test/node_modules/object-assign/index.js +0 -90
- package/test/node_modules/object-assign/license +0 -21
- package/test/node_modules/object-assign/package.json +0 -42
- package/test/node_modules/object-assign/readme.md +0 -61
- package/test/node_modules/on-finished/HISTORY.md +0 -98
- package/test/node_modules/on-finished/LICENSE +0 -23
- package/test/node_modules/on-finished/README.md +0 -162
- package/test/node_modules/on-finished/index.js +0 -234
- package/test/node_modules/on-finished/package.json +0 -39
- package/test/node_modules/once/LICENSE +0 -15
- package/test/node_modules/once/README.md +0 -79
- package/test/node_modules/once/once.js +0 -42
- package/test/node_modules/once/package.json +0 -33
- package/test/node_modules/only/History.md +0 -5
- package/test/node_modules/only/Makefile +0 -7
- package/test/node_modules/only/Readme.md +0 -58
- package/test/node_modules/only/index.js +0 -10
- package/test/node_modules/only/package.json +0 -14
- package/test/node_modules/parseurl/HISTORY.md +0 -58
- package/test/node_modules/parseurl/LICENSE +0 -24
- package/test/node_modules/parseurl/README.md +0 -133
- package/test/node_modules/parseurl/index.js +0 -158
- package/test/node_modules/parseurl/package.json +0 -40
- package/test/node_modules/path-is-absolute/index.js +0 -20
- package/test/node_modules/path-is-absolute/license +0 -21
- package/test/node_modules/path-is-absolute/package.json +0 -43
- package/test/node_modules/path-is-absolute/readme.md +0 -59
- package/test/node_modules/picomatch/CHANGELOG.md +0 -136
- package/test/node_modules/picomatch/LICENSE +0 -21
- package/test/node_modules/picomatch/README.md +0 -708
- package/test/node_modules/picomatch/index.js +0 -3
- package/test/node_modules/picomatch/lib/constants.js +0 -179
- package/test/node_modules/picomatch/lib/parse.js +0 -1091
- package/test/node_modules/picomatch/lib/picomatch.js +0 -342
- package/test/node_modules/picomatch/lib/scan.js +0 -391
- package/test/node_modules/picomatch/lib/utils.js +0 -64
- package/test/node_modules/picomatch/package.json +0 -81
- package/test/node_modules/pify/index.js +0 -68
- package/test/node_modules/pify/license +0 -9
- package/test/node_modules/pify/package.json +0 -51
- package/test/node_modules/pify/readme.md +0 -145
- package/test/node_modules/pretty/LICENSE +0 -21
- package/test/node_modules/pretty/README.md +0 -105
- package/test/node_modules/pretty/index.js +0 -45
- package/test/node_modules/pretty/package.json +0 -54
- package/test/node_modules/proto-list/LICENSE +0 -15
- package/test/node_modules/proto-list/README.md +0 -3
- package/test/node_modules/proto-list/package.json +0 -18
- package/test/node_modules/proto-list/proto-list.js +0 -88
- package/test/node_modules/proto-list/test/basic.js +0 -61
- package/test/node_modules/pseudomap/LICENSE +0 -15
- package/test/node_modules/pseudomap/README.md +0 -60
- package/test/node_modules/pseudomap/map.js +0 -9
- package/test/node_modules/pseudomap/package.json +0 -25
- package/test/node_modules/pseudomap/pseudomap.js +0 -113
- package/test/node_modules/pseudomap/test/basic.js +0 -86
- package/test/node_modules/pstree.remy/.travis.yml +0 -8
- package/test/node_modules/pstree.remy/LICENSE +0 -7
- package/test/node_modules/pstree.remy/README.md +0 -26
- package/test/node_modules/pstree.remy/lib/index.js +0 -37
- package/test/node_modules/pstree.remy/lib/tree.js +0 -37
- package/test/node_modules/pstree.remy/lib/utils.js +0 -53
- package/test/node_modules/pstree.remy/package.json +0 -33
- package/test/node_modules/pstree.remy/tests/fixtures/index.js +0 -13
- package/test/node_modules/pstree.remy/tests/fixtures/out1 +0 -10
- package/test/node_modules/pstree.remy/tests/fixtures/out2 +0 -29
- package/test/node_modules/pstree.remy/tests/index.test.js +0 -51
- package/test/node_modules/readdirp/LICENSE +0 -21
- package/test/node_modules/readdirp/README.md +0 -122
- package/test/node_modules/readdirp/index.d.ts +0 -43
- package/test/node_modules/readdirp/index.js +0 -287
- package/test/node_modules/readdirp/package.json +0 -122
- package/test/node_modules/resolve-path/HISTORY.md +0 -66
- package/test/node_modules/resolve-path/LICENSE +0 -23
- package/test/node_modules/resolve-path/README.md +0 -111
- package/test/node_modules/resolve-path/index.js +0 -88
- package/test/node_modules/resolve-path/node_modules/depd/History.md +0 -96
- package/test/node_modules/resolve-path/node_modules/depd/LICENSE +0 -22
- package/test/node_modules/resolve-path/node_modules/depd/Readme.md +0 -280
- package/test/node_modules/resolve-path/node_modules/depd/index.js +0 -522
- package/test/node_modules/resolve-path/node_modules/depd/lib/browser/index.js +0 -77
- package/test/node_modules/resolve-path/node_modules/depd/lib/compat/callsite-tostring.js +0 -103
- package/test/node_modules/resolve-path/node_modules/depd/lib/compat/event-listener-count.js +0 -22
- package/test/node_modules/resolve-path/node_modules/depd/lib/compat/index.js +0 -79
- package/test/node_modules/resolve-path/node_modules/depd/package.json +0 -41
- package/test/node_modules/resolve-path/node_modules/http-errors/HISTORY.md +0 -132
- package/test/node_modules/resolve-path/node_modules/http-errors/LICENSE +0 -23
- package/test/node_modules/resolve-path/node_modules/http-errors/README.md +0 -135
- package/test/node_modules/resolve-path/node_modules/http-errors/index.js +0 -260
- package/test/node_modules/resolve-path/node_modules/http-errors/package.json +0 -48
- package/test/node_modules/resolve-path/node_modules/inherits/LICENSE +0 -16
- package/test/node_modules/resolve-path/node_modules/inherits/README.md +0 -42
- package/test/node_modules/resolve-path/node_modules/inherits/inherits.js +0 -7
- package/test/node_modules/resolve-path/node_modules/inherits/inherits_browser.js +0 -23
- package/test/node_modules/resolve-path/node_modules/inherits/package.json +0 -29
- package/test/node_modules/resolve-path/node_modules/setprototypeof/LICENSE +0 -13
- package/test/node_modules/resolve-path/node_modules/setprototypeof/README.md +0 -26
- package/test/node_modules/resolve-path/node_modules/setprototypeof/index.d.ts +0 -2
- package/test/node_modules/resolve-path/node_modules/setprototypeof/index.js +0 -15
- package/test/node_modules/resolve-path/node_modules/setprototypeof/package.json +0 -25
- package/test/node_modules/resolve-path/package.json +0 -46
- package/test/node_modules/safe-buffer/LICENSE +0 -21
- package/test/node_modules/safe-buffer/README.md +0 -584
- package/test/node_modules/safe-buffer/index.d.ts +0 -187
- package/test/node_modules/safe-buffer/index.js +0 -65
- package/test/node_modules/safe-buffer/package.json +0 -51
- package/test/node_modules/semver/CHANGELOG.md +0 -39
- package/test/node_modules/semver/LICENSE +0 -15
- package/test/node_modules/semver/README.md +0 -412
- package/test/node_modules/semver/bin/semver +0 -160
- package/test/node_modules/semver/package.json +0 -28
- package/test/node_modules/semver/range.bnf +0 -16
- package/test/node_modules/semver/semver.js +0 -1483
- package/test/node_modules/setprototypeof/LICENSE +0 -13
- package/test/node_modules/setprototypeof/README.md +0 -31
- package/test/node_modules/setprototypeof/index.d.ts +0 -2
- package/test/node_modules/setprototypeof/index.js +0 -17
- package/test/node_modules/setprototypeof/package.json +0 -38
- package/test/node_modules/setprototypeof/test/index.js +0 -24
- package/test/node_modules/sigmund/LICENSE +0 -15
- package/test/node_modules/sigmund/README.md +0 -53
- package/test/node_modules/sigmund/bench.js +0 -283
- package/test/node_modules/sigmund/package.json +0 -30
- package/test/node_modules/sigmund/sigmund.js +0 -39
- package/test/node_modules/sigmund/test/basic.js +0 -24
- package/test/node_modules/simple-update-notifier/LICENSE +0 -21
- package/test/node_modules/simple-update-notifier/README.md +0 -82
- package/test/node_modules/simple-update-notifier/build/index.d.ts +0 -13
- package/test/node_modules/simple-update-notifier/build/index.js +0 -217
- package/test/node_modules/simple-update-notifier/node_modules/semver/CHANGELOG.md +0 -74
- package/test/node_modules/simple-update-notifier/node_modules/semver/LICENSE +0 -15
- package/test/node_modules/simple-update-notifier/node_modules/semver/README.md +0 -499
- package/test/node_modules/simple-update-notifier/node_modules/semver/bin/semver.js +0 -173
- package/test/node_modules/simple-update-notifier/node_modules/semver/classes/comparator.js +0 -139
- package/test/node_modules/simple-update-notifier/node_modules/semver/classes/index.js +0 -5
- package/test/node_modules/simple-update-notifier/node_modules/semver/classes/range.js +0 -448
- package/test/node_modules/simple-update-notifier/node_modules/semver/classes/semver.js +0 -290
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/clean.js +0 -6
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/cmp.js +0 -48
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/coerce.js +0 -51
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/compare-build.js +0 -7
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/compare-loose.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/compare.js +0 -5
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/diff.js +0 -25
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/eq.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/gt.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/gte.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/inc.js +0 -15
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/lt.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/lte.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/major.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/minor.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/neq.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/parse.js +0 -37
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/patch.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/prerelease.js +0 -6
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/rcompare.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/rsort.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/satisfies.js +0 -10
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/sort.js +0 -3
- package/test/node_modules/simple-update-notifier/node_modules/semver/functions/valid.js +0 -6
- package/test/node_modules/simple-update-notifier/node_modules/semver/index.js +0 -64
- package/test/node_modules/simple-update-notifier/node_modules/semver/internal/constants.js +0 -17
- package/test/node_modules/simple-update-notifier/node_modules/semver/internal/debug.js +0 -9
- package/test/node_modules/simple-update-notifier/node_modules/semver/internal/identifiers.js +0 -23
- package/test/node_modules/simple-update-notifier/node_modules/semver/internal/re.js +0 -179
- package/test/node_modules/simple-update-notifier/node_modules/semver/package.json +0 -34
- package/test/node_modules/simple-update-notifier/node_modules/semver/range.bnf +0 -16
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/gtr.js +0 -4
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/intersects.js +0 -7
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/ltr.js +0 -4
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/max-satisfying.js +0 -25
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/min-satisfying.js +0 -24
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/min-version.js +0 -57
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/outside.js +0 -80
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/to-comparators.js +0 -8
- package/test/node_modules/simple-update-notifier/node_modules/semver/ranges/valid.js +0 -11
- package/test/node_modules/simple-update-notifier/package.json +0 -97
- package/test/node_modules/simple-update-notifier/src/borderedText.ts +0 -12
- package/test/node_modules/simple-update-notifier/src/cache.spec.ts +0 -17
- package/test/node_modules/simple-update-notifier/src/cache.ts +0 -44
- package/test/node_modules/simple-update-notifier/src/getDistVersion.spec.ts +0 -35
- package/test/node_modules/simple-update-notifier/src/getDistVersion.ts +0 -29
- package/test/node_modules/simple-update-notifier/src/hasNewVersion.spec.ts +0 -82
- package/test/node_modules/simple-update-notifier/src/hasNewVersion.ts +0 -40
- package/test/node_modules/simple-update-notifier/src/index.spec.ts +0 -27
- package/test/node_modules/simple-update-notifier/src/index.ts +0 -34
- package/test/node_modules/simple-update-notifier/src/isNpmOrYarn.ts +0 -12
- package/test/node_modules/simple-update-notifier/src/types.ts +0 -8
- package/test/node_modules/statuses/HISTORY.md +0 -65
- package/test/node_modules/statuses/LICENSE +0 -23
- package/test/node_modules/statuses/README.md +0 -127
- package/test/node_modules/statuses/codes.json +0 -66
- package/test/node_modules/statuses/index.js +0 -113
- package/test/node_modules/statuses/package.json +0 -48
- package/test/node_modules/supports-color/browser.js +0 -5
- package/test/node_modules/supports-color/index.js +0 -135
- package/test/node_modules/supports-color/license +0 -9
- package/test/node_modules/supports-color/package.json +0 -53
- package/test/node_modules/supports-color/readme.md +0 -76
- package/test/node_modules/thenify/History.md +0 -11
- package/test/node_modules/thenify/LICENSE +0 -22
- package/test/node_modules/thenify/README.md +0 -120
- package/test/node_modules/thenify/index.js +0 -77
- package/test/node_modules/thenify/package.json +0 -31
- package/test/node_modules/thenify-all/History.md +0 -11
- package/test/node_modules/thenify-all/LICENSE +0 -22
- package/test/node_modules/thenify-all/README.md +0 -66
- package/test/node_modules/thenify-all/index.js +0 -73
- package/test/node_modules/thenify-all/package.json +0 -34
- package/test/node_modules/to-regex-range/LICENSE +0 -21
- package/test/node_modules/to-regex-range/README.md +0 -305
- package/test/node_modules/to-regex-range/index.js +0 -288
- package/test/node_modules/to-regex-range/package.json +0 -88
- package/test/node_modules/toidentifier/HISTORY.md +0 -9
- package/test/node_modules/toidentifier/LICENSE +0 -21
- package/test/node_modules/toidentifier/README.md +0 -61
- package/test/node_modules/toidentifier/index.js +0 -32
- package/test/node_modules/toidentifier/package.json +0 -38
- package/test/node_modules/touch/LICENSE +0 -15
- package/test/node_modules/touch/README.md +0 -52
- package/test/node_modules/touch/bin/nodetouch.js +0 -112
- package/test/node_modules/touch/index.js +0 -224
- package/test/node_modules/touch/node_modules/nopt/LICENSE +0 -23
- package/test/node_modules/touch/node_modules/nopt/README.md +0 -208
- package/test/node_modules/touch/node_modules/nopt/bin/nopt.js +0 -44
- package/test/node_modules/touch/node_modules/nopt/examples/my-program.js +0 -30
- package/test/node_modules/touch/node_modules/nopt/lib/nopt.js +0 -552
- package/test/node_modules/touch/node_modules/nopt/package.json +0 -12
- package/test/node_modules/touch/package.json +0 -28
- package/test/node_modules/tsscmp/.travis.yml +0 -18
- package/test/node_modules/tsscmp/LICENSE +0 -21
- package/test/node_modules/tsscmp/README.md +0 -48
- package/test/node_modules/tsscmp/appveyor.yml +0 -29
- package/test/node_modules/tsscmp/lib/index.js +0 -38
- package/test/node_modules/tsscmp/package.json +0 -29
- package/test/node_modules/tsscmp/test/benchmark/index.js +0 -30
- package/test/node_modules/tsscmp/test/unit/index.js +0 -69
- package/test/node_modules/type-is/HISTORY.md +0 -259
- package/test/node_modules/type-is/LICENSE +0 -23
- package/test/node_modules/type-is/README.md +0 -170
- package/test/node_modules/type-is/index.js +0 -266
- package/test/node_modules/type-is/package.json +0 -45
- package/test/node_modules/undefsafe/.github/workflows/release.yml +0 -25
- package/test/node_modules/undefsafe/.jscsrc +0 -13
- package/test/node_modules/undefsafe/.jshintrc +0 -16
- package/test/node_modules/undefsafe/.travis.yml +0 -18
- package/test/node_modules/undefsafe/LICENSE +0 -22
- package/test/node_modules/undefsafe/README.md +0 -63
- package/test/node_modules/undefsafe/example.js +0 -14
- package/test/node_modules/undefsafe/lib/undefsafe.js +0 -125
- package/test/node_modules/undefsafe/package.json +0 -34
- package/test/node_modules/vary/HISTORY.md +0 -39
- package/test/node_modules/vary/LICENSE +0 -22
- package/test/node_modules/vary/README.md +0 -101
- package/test/node_modules/vary/index.js +0 -149
- package/test/node_modules/vary/package.json +0 -43
- package/test/node_modules/wrappy/LICENSE +0 -15
- package/test/node_modules/wrappy/README.md +0 -36
- package/test/node_modules/wrappy/package.json +0 -29
- package/test/node_modules/wrappy/wrappy.js +0 -33
- package/test/node_modules/yallist/LICENSE +0 -15
- package/test/node_modules/yallist/README.md +0 -204
- package/test/node_modules/yallist/iterator.js +0 -7
- package/test/node_modules/yallist/package.json +0 -29
- package/test/node_modules/yallist/yallist.js +0 -370
- package/test/node_modules/ylru/History.md +0 -42
- package/test/node_modules/ylru/LICENSE +0 -23
- package/test/node_modules/ylru/README.md +0 -99
- package/test/node_modules/ylru/index.d.ts +0 -18
- package/test/node_modules/ylru/index.js +0 -106
- package/test/node_modules/ylru/package.json +0 -52
- package/test/package-lock.json +0 -2212
- package/test/package.json +0 -17
- package/test/public/api +0 -1
- package/test/public/cartella nuova/ewewew.html +0 -12
- package/test/public/cartella nuova/prova.ejs +0 -12
- package/test/public/index.ejs +0 -12
- package/test/public/index.html +0 -12
- package/test/public/proma_template.ejs +0 -16
- package/test/public/un altro file.html +0 -12
- package/test/public/un_file.html +0 -12
- package/test/test.js +0 -63
|
@@ -1,906 +0,0 @@
|
|
|
1
|
-
const minimatch = module.exports = (p, pattern, options = {}) => {
|
|
2
|
-
assertValidPattern(pattern)
|
|
3
|
-
|
|
4
|
-
// shortcut: comments match nothing.
|
|
5
|
-
if (!options.nocomment && pattern.charAt(0) === '#') {
|
|
6
|
-
return false
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
return new Minimatch(pattern, options).match(p)
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
module.exports = minimatch
|
|
13
|
-
|
|
14
|
-
const path = require('./lib/path.js')
|
|
15
|
-
minimatch.sep = path.sep
|
|
16
|
-
|
|
17
|
-
const GLOBSTAR = Symbol('globstar **')
|
|
18
|
-
minimatch.GLOBSTAR = GLOBSTAR
|
|
19
|
-
const expand = require('brace-expansion')
|
|
20
|
-
|
|
21
|
-
const plTypes = {
|
|
22
|
-
'!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
|
|
23
|
-
'?': { open: '(?:', close: ')?' },
|
|
24
|
-
'+': { open: '(?:', close: ')+' },
|
|
25
|
-
'*': { open: '(?:', close: ')*' },
|
|
26
|
-
'@': { open: '(?:', close: ')' }
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// any single thing other than /
|
|
30
|
-
// don't need to escape / when using new RegExp()
|
|
31
|
-
const qmark = '[^/]'
|
|
32
|
-
|
|
33
|
-
// * => any number of characters
|
|
34
|
-
const star = qmark + '*?'
|
|
35
|
-
|
|
36
|
-
// ** when dots are allowed. Anything goes, except .. and .
|
|
37
|
-
// not (^ or / followed by one or two dots followed by $ or /),
|
|
38
|
-
// followed by anything, any number of times.
|
|
39
|
-
const twoStarDot = '(?:(?!(?:\\\/|^)(?:\\.{1,2})($|\\\/)).)*?'
|
|
40
|
-
|
|
41
|
-
// not a ^ or / followed by a dot,
|
|
42
|
-
// followed by anything, any number of times.
|
|
43
|
-
const twoStarNoDot = '(?:(?!(?:\\\/|^)\\.).)*?'
|
|
44
|
-
|
|
45
|
-
// "abc" -> { a:true, b:true, c:true }
|
|
46
|
-
const charSet = s => s.split('').reduce((set, c) => {
|
|
47
|
-
set[c] = true
|
|
48
|
-
return set
|
|
49
|
-
}, {})
|
|
50
|
-
|
|
51
|
-
// characters that need to be escaped in RegExp.
|
|
52
|
-
const reSpecials = charSet('().*{}+?[]^$\\!')
|
|
53
|
-
|
|
54
|
-
// characters that indicate we have to add the pattern start
|
|
55
|
-
const addPatternStartSet = charSet('[.(')
|
|
56
|
-
|
|
57
|
-
// normalizes slashes.
|
|
58
|
-
const slashSplit = /\/+/
|
|
59
|
-
|
|
60
|
-
minimatch.filter = (pattern, options = {}) =>
|
|
61
|
-
(p, i, list) => minimatch(p, pattern, options)
|
|
62
|
-
|
|
63
|
-
const ext = (a, b = {}) => {
|
|
64
|
-
const t = {}
|
|
65
|
-
Object.keys(a).forEach(k => t[k] = a[k])
|
|
66
|
-
Object.keys(b).forEach(k => t[k] = b[k])
|
|
67
|
-
return t
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
minimatch.defaults = def => {
|
|
71
|
-
if (!def || typeof def !== 'object' || !Object.keys(def).length) {
|
|
72
|
-
return minimatch
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
const orig = minimatch
|
|
76
|
-
|
|
77
|
-
const m = (p, pattern, options) => orig(p, pattern, ext(def, options))
|
|
78
|
-
m.Minimatch = class Minimatch extends orig.Minimatch {
|
|
79
|
-
constructor (pattern, options) {
|
|
80
|
-
super(pattern, ext(def, options))
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
m.Minimatch.defaults = options => orig.defaults(ext(def, options)).Minimatch
|
|
84
|
-
m.filter = (pattern, options) => orig.filter(pattern, ext(def, options))
|
|
85
|
-
m.defaults = options => orig.defaults(ext(def, options))
|
|
86
|
-
m.makeRe = (pattern, options) => orig.makeRe(pattern, ext(def, options))
|
|
87
|
-
m.braceExpand = (pattern, options) => orig.braceExpand(pattern, ext(def, options))
|
|
88
|
-
m.match = (list, pattern, options) => orig.match(list, pattern, ext(def, options))
|
|
89
|
-
|
|
90
|
-
return m
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
// Brace expansion:
|
|
98
|
-
// a{b,c}d -> abd acd
|
|
99
|
-
// a{b,}c -> abc ac
|
|
100
|
-
// a{0..3}d -> a0d a1d a2d a3d
|
|
101
|
-
// a{b,c{d,e}f}g -> abg acdfg acefg
|
|
102
|
-
// a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
|
|
103
|
-
//
|
|
104
|
-
// Invalid sets are not expanded.
|
|
105
|
-
// a{2..}b -> a{2..}b
|
|
106
|
-
// a{b}c -> a{b}c
|
|
107
|
-
minimatch.braceExpand = (pattern, options) => braceExpand(pattern, options)
|
|
108
|
-
|
|
109
|
-
const braceExpand = (pattern, options = {}) => {
|
|
110
|
-
assertValidPattern(pattern)
|
|
111
|
-
|
|
112
|
-
// Thanks to Yeting Li <https://github.com/yetingli> for
|
|
113
|
-
// improving this regexp to avoid a ReDOS vulnerability.
|
|
114
|
-
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
|
115
|
-
// shortcut. no need to expand.
|
|
116
|
-
return [pattern]
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return expand(pattern)
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
const MAX_PATTERN_LENGTH = 1024 * 64
|
|
123
|
-
const assertValidPattern = pattern => {
|
|
124
|
-
if (typeof pattern !== 'string') {
|
|
125
|
-
throw new TypeError('invalid pattern')
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if (pattern.length > MAX_PATTERN_LENGTH) {
|
|
129
|
-
throw new TypeError('pattern is too long')
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// parse a component of the expanded set.
|
|
134
|
-
// At this point, no pattern may contain "/" in it
|
|
135
|
-
// so we're going to return a 2d array, where each entry is the full
|
|
136
|
-
// pattern, split on '/', and then turned into a regular expression.
|
|
137
|
-
// A regexp is made at the end which joins each array with an
|
|
138
|
-
// escaped /, and another full one which joins each regexp with |.
|
|
139
|
-
//
|
|
140
|
-
// Following the lead of Bash 4.1, note that "**" only has special meaning
|
|
141
|
-
// when it is the *only* thing in a path portion. Otherwise, any series
|
|
142
|
-
// of * is equivalent to a single *. Globstar behavior is enabled by
|
|
143
|
-
// default, and can be disabled by setting options.noglobstar.
|
|
144
|
-
const SUBPARSE = Symbol('subparse')
|
|
145
|
-
|
|
146
|
-
minimatch.makeRe = (pattern, options) =>
|
|
147
|
-
new Minimatch(pattern, options || {}).makeRe()
|
|
148
|
-
|
|
149
|
-
minimatch.match = (list, pattern, options = {}) => {
|
|
150
|
-
const mm = new Minimatch(pattern, options)
|
|
151
|
-
list = list.filter(f => mm.match(f))
|
|
152
|
-
if (mm.options.nonull && !list.length) {
|
|
153
|
-
list.push(pattern)
|
|
154
|
-
}
|
|
155
|
-
return list
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// replace stuff like \* with *
|
|
159
|
-
const globUnescape = s => s.replace(/\\(.)/g, '$1')
|
|
160
|
-
const regExpEscape = s => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')
|
|
161
|
-
|
|
162
|
-
class Minimatch {
|
|
163
|
-
constructor (pattern, options) {
|
|
164
|
-
assertValidPattern(pattern)
|
|
165
|
-
|
|
166
|
-
if (!options) options = {}
|
|
167
|
-
|
|
168
|
-
this.options = options
|
|
169
|
-
this.set = []
|
|
170
|
-
this.pattern = pattern
|
|
171
|
-
this.windowsPathsNoEscape = !!options.windowsPathsNoEscape ||
|
|
172
|
-
options.allowWindowsEscape === false
|
|
173
|
-
if (this.windowsPathsNoEscape) {
|
|
174
|
-
this.pattern = this.pattern.replace(/\\/g, '/')
|
|
175
|
-
}
|
|
176
|
-
this.regexp = null
|
|
177
|
-
this.negate = false
|
|
178
|
-
this.comment = false
|
|
179
|
-
this.empty = false
|
|
180
|
-
this.partial = !!options.partial
|
|
181
|
-
|
|
182
|
-
// make the set of regexps etc.
|
|
183
|
-
this.make()
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
debug () {}
|
|
187
|
-
|
|
188
|
-
make () {
|
|
189
|
-
const pattern = this.pattern
|
|
190
|
-
const options = this.options
|
|
191
|
-
|
|
192
|
-
// empty patterns and comments match nothing.
|
|
193
|
-
if (!options.nocomment && pattern.charAt(0) === '#') {
|
|
194
|
-
this.comment = true
|
|
195
|
-
return
|
|
196
|
-
}
|
|
197
|
-
if (!pattern) {
|
|
198
|
-
this.empty = true
|
|
199
|
-
return
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// step 1: figure out negation, etc.
|
|
203
|
-
this.parseNegate()
|
|
204
|
-
|
|
205
|
-
// step 2: expand braces
|
|
206
|
-
let set = this.globSet = this.braceExpand()
|
|
207
|
-
|
|
208
|
-
if (options.debug) this.debug = (...args) => console.error(...args)
|
|
209
|
-
|
|
210
|
-
this.debug(this.pattern, set)
|
|
211
|
-
|
|
212
|
-
// step 3: now we have a set, so turn each one into a series of path-portion
|
|
213
|
-
// matching patterns.
|
|
214
|
-
// These will be regexps, except in the case of "**", which is
|
|
215
|
-
// set to the GLOBSTAR object for globstar behavior,
|
|
216
|
-
// and will not contain any / characters
|
|
217
|
-
set = this.globParts = set.map(s => s.split(slashSplit))
|
|
218
|
-
|
|
219
|
-
this.debug(this.pattern, set)
|
|
220
|
-
|
|
221
|
-
// glob --> regexps
|
|
222
|
-
set = set.map((s, si, set) => s.map(this.parse, this))
|
|
223
|
-
|
|
224
|
-
this.debug(this.pattern, set)
|
|
225
|
-
|
|
226
|
-
// filter out everything that didn't compile properly.
|
|
227
|
-
set = set.filter(s => s.indexOf(false) === -1)
|
|
228
|
-
|
|
229
|
-
this.debug(this.pattern, set)
|
|
230
|
-
|
|
231
|
-
this.set = set
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
parseNegate () {
|
|
235
|
-
if (this.options.nonegate) return
|
|
236
|
-
|
|
237
|
-
const pattern = this.pattern
|
|
238
|
-
let negate = false
|
|
239
|
-
let negateOffset = 0
|
|
240
|
-
|
|
241
|
-
for (let i = 0; i < pattern.length && pattern.charAt(i) === '!'; i++) {
|
|
242
|
-
negate = !negate
|
|
243
|
-
negateOffset++
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
if (negateOffset) this.pattern = pattern.slice(negateOffset)
|
|
247
|
-
this.negate = negate
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
// set partial to true to test if, for example,
|
|
251
|
-
// "/a/b" matches the start of "/*/b/*/d"
|
|
252
|
-
// Partial means, if you run out of file before you run
|
|
253
|
-
// out of pattern, then that's fine, as long as all
|
|
254
|
-
// the parts match.
|
|
255
|
-
matchOne (file, pattern, partial) {
|
|
256
|
-
var options = this.options
|
|
257
|
-
|
|
258
|
-
this.debug('matchOne',
|
|
259
|
-
{ 'this': this, file: file, pattern: pattern })
|
|
260
|
-
|
|
261
|
-
this.debug('matchOne', file.length, pattern.length)
|
|
262
|
-
|
|
263
|
-
for (var fi = 0,
|
|
264
|
-
pi = 0,
|
|
265
|
-
fl = file.length,
|
|
266
|
-
pl = pattern.length
|
|
267
|
-
; (fi < fl) && (pi < pl)
|
|
268
|
-
; fi++, pi++) {
|
|
269
|
-
this.debug('matchOne loop')
|
|
270
|
-
var p = pattern[pi]
|
|
271
|
-
var f = file[fi]
|
|
272
|
-
|
|
273
|
-
this.debug(pattern, p, f)
|
|
274
|
-
|
|
275
|
-
// should be impossible.
|
|
276
|
-
// some invalid regexp stuff in the set.
|
|
277
|
-
/* istanbul ignore if */
|
|
278
|
-
if (p === false) return false
|
|
279
|
-
|
|
280
|
-
if (p === GLOBSTAR) {
|
|
281
|
-
this.debug('GLOBSTAR', [pattern, p, f])
|
|
282
|
-
|
|
283
|
-
// "**"
|
|
284
|
-
// a/**/b/**/c would match the following:
|
|
285
|
-
// a/b/x/y/z/c
|
|
286
|
-
// a/x/y/z/b/c
|
|
287
|
-
// a/b/x/b/x/c
|
|
288
|
-
// a/b/c
|
|
289
|
-
// To do this, take the rest of the pattern after
|
|
290
|
-
// the **, and see if it would match the file remainder.
|
|
291
|
-
// If so, return success.
|
|
292
|
-
// If not, the ** "swallows" a segment, and try again.
|
|
293
|
-
// This is recursively awful.
|
|
294
|
-
//
|
|
295
|
-
// a/**/b/**/c matching a/b/x/y/z/c
|
|
296
|
-
// - a matches a
|
|
297
|
-
// - doublestar
|
|
298
|
-
// - matchOne(b/x/y/z/c, b/**/c)
|
|
299
|
-
// - b matches b
|
|
300
|
-
// - doublestar
|
|
301
|
-
// - matchOne(x/y/z/c, c) -> no
|
|
302
|
-
// - matchOne(y/z/c, c) -> no
|
|
303
|
-
// - matchOne(z/c, c) -> no
|
|
304
|
-
// - matchOne(c, c) yes, hit
|
|
305
|
-
var fr = fi
|
|
306
|
-
var pr = pi + 1
|
|
307
|
-
if (pr === pl) {
|
|
308
|
-
this.debug('** at the end')
|
|
309
|
-
// a ** at the end will just swallow the rest.
|
|
310
|
-
// We have found a match.
|
|
311
|
-
// however, it will not swallow /.x, unless
|
|
312
|
-
// options.dot is set.
|
|
313
|
-
// . and .. are *never* matched by **, for explosively
|
|
314
|
-
// exponential reasons.
|
|
315
|
-
for (; fi < fl; fi++) {
|
|
316
|
-
if (file[fi] === '.' || file[fi] === '..' ||
|
|
317
|
-
(!options.dot && file[fi].charAt(0) === '.')) return false
|
|
318
|
-
}
|
|
319
|
-
return true
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// ok, let's see if we can swallow whatever we can.
|
|
323
|
-
while (fr < fl) {
|
|
324
|
-
var swallowee = file[fr]
|
|
325
|
-
|
|
326
|
-
this.debug('\nglobstar while', file, fr, pattern, pr, swallowee)
|
|
327
|
-
|
|
328
|
-
// XXX remove this slice. Just pass the start index.
|
|
329
|
-
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
|
330
|
-
this.debug('globstar found match!', fr, fl, swallowee)
|
|
331
|
-
// found a match.
|
|
332
|
-
return true
|
|
333
|
-
} else {
|
|
334
|
-
// can't swallow "." or ".." ever.
|
|
335
|
-
// can only swallow ".foo" when explicitly asked.
|
|
336
|
-
if (swallowee === '.' || swallowee === '..' ||
|
|
337
|
-
(!options.dot && swallowee.charAt(0) === '.')) {
|
|
338
|
-
this.debug('dot detected!', file, fr, pattern, pr)
|
|
339
|
-
break
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
// ** swallows a segment, and continue.
|
|
343
|
-
this.debug('globstar swallow a segment, and continue')
|
|
344
|
-
fr++
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
// no match was found.
|
|
349
|
-
// However, in partial mode, we can't say this is necessarily over.
|
|
350
|
-
// If there's more *pattern* left, then
|
|
351
|
-
/* istanbul ignore if */
|
|
352
|
-
if (partial) {
|
|
353
|
-
// ran out of file
|
|
354
|
-
this.debug('\n>>> no match, partial?', file, fr, pattern, pr)
|
|
355
|
-
if (fr === fl) return true
|
|
356
|
-
}
|
|
357
|
-
return false
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
// something other than **
|
|
361
|
-
// non-magic patterns just have to match exactly
|
|
362
|
-
// patterns with magic have been turned into regexps.
|
|
363
|
-
var hit
|
|
364
|
-
if (typeof p === 'string') {
|
|
365
|
-
hit = f === p
|
|
366
|
-
this.debug('string match', p, f, hit)
|
|
367
|
-
} else {
|
|
368
|
-
hit = f.match(p)
|
|
369
|
-
this.debug('pattern match', p, f, hit)
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
if (!hit) return false
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
// Note: ending in / means that we'll get a final ""
|
|
376
|
-
// at the end of the pattern. This can only match a
|
|
377
|
-
// corresponding "" at the end of the file.
|
|
378
|
-
// If the file ends in /, then it can only match a
|
|
379
|
-
// a pattern that ends in /, unless the pattern just
|
|
380
|
-
// doesn't have any more for it. But, a/b/ should *not*
|
|
381
|
-
// match "a/b/*", even though "" matches against the
|
|
382
|
-
// [^/]*? pattern, except in partial mode, where it might
|
|
383
|
-
// simply not be reached yet.
|
|
384
|
-
// However, a/b/ should still satisfy a/*
|
|
385
|
-
|
|
386
|
-
// now either we fell off the end of the pattern, or we're done.
|
|
387
|
-
if (fi === fl && pi === pl) {
|
|
388
|
-
// ran out of pattern and filename at the same time.
|
|
389
|
-
// an exact hit!
|
|
390
|
-
return true
|
|
391
|
-
} else if (fi === fl) {
|
|
392
|
-
// ran out of file, but still had pattern left.
|
|
393
|
-
// this is ok if we're doing the match as part of
|
|
394
|
-
// a glob fs traversal.
|
|
395
|
-
return partial
|
|
396
|
-
} else /* istanbul ignore else */ if (pi === pl) {
|
|
397
|
-
// ran out of pattern, still have file left.
|
|
398
|
-
// this is only acceptable if we're on the very last
|
|
399
|
-
// empty segment of a file with a trailing slash.
|
|
400
|
-
// a/* should match a/b/
|
|
401
|
-
return (fi === fl - 1) && (file[fi] === '')
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
// should be unreachable.
|
|
405
|
-
/* istanbul ignore next */
|
|
406
|
-
throw new Error('wtf?')
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
braceExpand () {
|
|
410
|
-
return braceExpand(this.pattern, this.options)
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
parse (pattern, isSub) {
|
|
414
|
-
assertValidPattern(pattern)
|
|
415
|
-
|
|
416
|
-
const options = this.options
|
|
417
|
-
|
|
418
|
-
// shortcuts
|
|
419
|
-
if (pattern === '**') {
|
|
420
|
-
if (!options.noglobstar)
|
|
421
|
-
return GLOBSTAR
|
|
422
|
-
else
|
|
423
|
-
pattern = '*'
|
|
424
|
-
}
|
|
425
|
-
if (pattern === '') return ''
|
|
426
|
-
|
|
427
|
-
let re = ''
|
|
428
|
-
let hasMagic = !!options.nocase
|
|
429
|
-
let escaping = false
|
|
430
|
-
// ? => one single character
|
|
431
|
-
const patternListStack = []
|
|
432
|
-
const negativeLists = []
|
|
433
|
-
let stateChar
|
|
434
|
-
let inClass = false
|
|
435
|
-
let reClassStart = -1
|
|
436
|
-
let classStart = -1
|
|
437
|
-
let cs
|
|
438
|
-
let pl
|
|
439
|
-
let sp
|
|
440
|
-
// . and .. never match anything that doesn't start with .,
|
|
441
|
-
// even when options.dot is set.
|
|
442
|
-
const patternStart = pattern.charAt(0) === '.' ? '' // anything
|
|
443
|
-
// not (start or / followed by . or .. followed by / or end)
|
|
444
|
-
: options.dot ? '(?!(?:^|\\\/)\\.{1,2}(?:$|\\\/))'
|
|
445
|
-
: '(?!\\.)'
|
|
446
|
-
|
|
447
|
-
const clearStateChar = () => {
|
|
448
|
-
if (stateChar) {
|
|
449
|
-
// we had some state-tracking character
|
|
450
|
-
// that wasn't consumed by this pass.
|
|
451
|
-
switch (stateChar) {
|
|
452
|
-
case '*':
|
|
453
|
-
re += star
|
|
454
|
-
hasMagic = true
|
|
455
|
-
break
|
|
456
|
-
case '?':
|
|
457
|
-
re += qmark
|
|
458
|
-
hasMagic = true
|
|
459
|
-
break
|
|
460
|
-
default:
|
|
461
|
-
re += '\\' + stateChar
|
|
462
|
-
break
|
|
463
|
-
}
|
|
464
|
-
this.debug('clearStateChar %j %j', stateChar, re)
|
|
465
|
-
stateChar = false
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
for (let i = 0, c; (i < pattern.length) && (c = pattern.charAt(i)); i++) {
|
|
470
|
-
this.debug('%s\t%s %s %j', pattern, i, re, c)
|
|
471
|
-
|
|
472
|
-
// skip over any that are escaped.
|
|
473
|
-
if (escaping) {
|
|
474
|
-
/* istanbul ignore next - completely not allowed, even escaped. */
|
|
475
|
-
if (c === '/') {
|
|
476
|
-
return false
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
if (reSpecials[c]) {
|
|
480
|
-
re += '\\'
|
|
481
|
-
}
|
|
482
|
-
re += c
|
|
483
|
-
escaping = false
|
|
484
|
-
continue
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
switch (c) {
|
|
488
|
-
/* istanbul ignore next */
|
|
489
|
-
case '/': {
|
|
490
|
-
// Should already be path-split by now.
|
|
491
|
-
return false
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
case '\\':
|
|
495
|
-
clearStateChar()
|
|
496
|
-
escaping = true
|
|
497
|
-
continue
|
|
498
|
-
|
|
499
|
-
// the various stateChar values
|
|
500
|
-
// for the "extglob" stuff.
|
|
501
|
-
case '?':
|
|
502
|
-
case '*':
|
|
503
|
-
case '+':
|
|
504
|
-
case '@':
|
|
505
|
-
case '!':
|
|
506
|
-
this.debug('%s\t%s %s %j <-- stateChar', pattern, i, re, c)
|
|
507
|
-
|
|
508
|
-
// all of those are literals inside a class, except that
|
|
509
|
-
// the glob [!a] means [^a] in regexp
|
|
510
|
-
if (inClass) {
|
|
511
|
-
this.debug(' in class')
|
|
512
|
-
if (c === '!' && i === classStart + 1) c = '^'
|
|
513
|
-
re += c
|
|
514
|
-
continue
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
// if we already have a stateChar, then it means
|
|
518
|
-
// that there was something like ** or +? in there.
|
|
519
|
-
// Handle the stateChar, then proceed with this one.
|
|
520
|
-
this.debug('call clearStateChar %j', stateChar)
|
|
521
|
-
clearStateChar()
|
|
522
|
-
stateChar = c
|
|
523
|
-
// if extglob is disabled, then +(asdf|foo) isn't a thing.
|
|
524
|
-
// just clear the statechar *now*, rather than even diving into
|
|
525
|
-
// the patternList stuff.
|
|
526
|
-
if (options.noext) clearStateChar()
|
|
527
|
-
continue
|
|
528
|
-
|
|
529
|
-
case '(':
|
|
530
|
-
if (inClass) {
|
|
531
|
-
re += '('
|
|
532
|
-
continue
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
if (!stateChar) {
|
|
536
|
-
re += '\\('
|
|
537
|
-
continue
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
patternListStack.push({
|
|
541
|
-
type: stateChar,
|
|
542
|
-
start: i - 1,
|
|
543
|
-
reStart: re.length,
|
|
544
|
-
open: plTypes[stateChar].open,
|
|
545
|
-
close: plTypes[stateChar].close
|
|
546
|
-
})
|
|
547
|
-
// negation is (?:(?!js)[^/]*)
|
|
548
|
-
re += stateChar === '!' ? '(?:(?!(?:' : '(?:'
|
|
549
|
-
this.debug('plType %j %j', stateChar, re)
|
|
550
|
-
stateChar = false
|
|
551
|
-
continue
|
|
552
|
-
|
|
553
|
-
case ')':
|
|
554
|
-
if (inClass || !patternListStack.length) {
|
|
555
|
-
re += '\\)'
|
|
556
|
-
continue
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
clearStateChar()
|
|
560
|
-
hasMagic = true
|
|
561
|
-
pl = patternListStack.pop()
|
|
562
|
-
// negation is (?:(?!js)[^/]*)
|
|
563
|
-
// The others are (?:<pattern>)<type>
|
|
564
|
-
re += pl.close
|
|
565
|
-
if (pl.type === '!') {
|
|
566
|
-
negativeLists.push(pl)
|
|
567
|
-
}
|
|
568
|
-
pl.reEnd = re.length
|
|
569
|
-
continue
|
|
570
|
-
|
|
571
|
-
case '|':
|
|
572
|
-
if (inClass || !patternListStack.length) {
|
|
573
|
-
re += '\\|'
|
|
574
|
-
continue
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
clearStateChar()
|
|
578
|
-
re += '|'
|
|
579
|
-
continue
|
|
580
|
-
|
|
581
|
-
// these are mostly the same in regexp and glob
|
|
582
|
-
case '[':
|
|
583
|
-
// swallow any state-tracking char before the [
|
|
584
|
-
clearStateChar()
|
|
585
|
-
|
|
586
|
-
if (inClass) {
|
|
587
|
-
re += '\\' + c
|
|
588
|
-
continue
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
inClass = true
|
|
592
|
-
classStart = i
|
|
593
|
-
reClassStart = re.length
|
|
594
|
-
re += c
|
|
595
|
-
continue
|
|
596
|
-
|
|
597
|
-
case ']':
|
|
598
|
-
// a right bracket shall lose its special
|
|
599
|
-
// meaning and represent itself in
|
|
600
|
-
// a bracket expression if it occurs
|
|
601
|
-
// first in the list. -- POSIX.2 2.8.3.2
|
|
602
|
-
if (i === classStart + 1 || !inClass) {
|
|
603
|
-
re += '\\' + c
|
|
604
|
-
continue
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
// handle the case where we left a class open.
|
|
608
|
-
// "[z-a]" is valid, equivalent to "\[z-a\]"
|
|
609
|
-
// split where the last [ was, make sure we don't have
|
|
610
|
-
// an invalid re. if so, re-walk the contents of the
|
|
611
|
-
// would-be class to re-translate any characters that
|
|
612
|
-
// were passed through as-is
|
|
613
|
-
// TODO: It would probably be faster to determine this
|
|
614
|
-
// without a try/catch and a new RegExp, but it's tricky
|
|
615
|
-
// to do safely. For now, this is safe and works.
|
|
616
|
-
cs = pattern.substring(classStart + 1, i)
|
|
617
|
-
try {
|
|
618
|
-
RegExp('[' + cs + ']')
|
|
619
|
-
} catch (er) {
|
|
620
|
-
// not a valid class!
|
|
621
|
-
sp = this.parse(cs, SUBPARSE)
|
|
622
|
-
re = re.substring(0, reClassStart) + '\\[' + sp[0] + '\\]'
|
|
623
|
-
hasMagic = hasMagic || sp[1]
|
|
624
|
-
inClass = false
|
|
625
|
-
continue
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
// finish up the class.
|
|
629
|
-
hasMagic = true
|
|
630
|
-
inClass = false
|
|
631
|
-
re += c
|
|
632
|
-
continue
|
|
633
|
-
|
|
634
|
-
default:
|
|
635
|
-
// swallow any state char that wasn't consumed
|
|
636
|
-
clearStateChar()
|
|
637
|
-
|
|
638
|
-
if (reSpecials[c] && !(c === '^' && inClass)) {
|
|
639
|
-
re += '\\'
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
re += c
|
|
643
|
-
break
|
|
644
|
-
|
|
645
|
-
} // switch
|
|
646
|
-
} // for
|
|
647
|
-
|
|
648
|
-
// handle the case where we left a class open.
|
|
649
|
-
// "[abc" is valid, equivalent to "\[abc"
|
|
650
|
-
if (inClass) {
|
|
651
|
-
// split where the last [ was, and escape it
|
|
652
|
-
// this is a huge pita. We now have to re-walk
|
|
653
|
-
// the contents of the would-be class to re-translate
|
|
654
|
-
// any characters that were passed through as-is
|
|
655
|
-
cs = pattern.slice(classStart + 1)
|
|
656
|
-
sp = this.parse(cs, SUBPARSE)
|
|
657
|
-
re = re.substring(0, reClassStart) + '\\[' + sp[0]
|
|
658
|
-
hasMagic = hasMagic || sp[1]
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
// handle the case where we had a +( thing at the *end*
|
|
662
|
-
// of the pattern.
|
|
663
|
-
// each pattern list stack adds 3 chars, and we need to go through
|
|
664
|
-
// and escape any | chars that were passed through as-is for the regexp.
|
|
665
|
-
// Go through and escape them, taking care not to double-escape any
|
|
666
|
-
// | chars that were already escaped.
|
|
667
|
-
for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) {
|
|
668
|
-
let tail
|
|
669
|
-
tail = re.slice(pl.reStart + pl.open.length)
|
|
670
|
-
this.debug('setting tail', re, pl)
|
|
671
|
-
// maybe some even number of \, then maybe 1 \, followed by a |
|
|
672
|
-
tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, (_, $1, $2) => {
|
|
673
|
-
/* istanbul ignore else - should already be done */
|
|
674
|
-
if (!$2) {
|
|
675
|
-
// the | isn't already escaped, so escape it.
|
|
676
|
-
$2 = '\\'
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
// need to escape all those slashes *again*, without escaping the
|
|
680
|
-
// one that we need for escaping the | character. As it works out,
|
|
681
|
-
// escaping an even number of slashes can be done by simply repeating
|
|
682
|
-
// it exactly after itself. That's why this trick works.
|
|
683
|
-
//
|
|
684
|
-
// I am sorry that you have to see this.
|
|
685
|
-
return $1 + $1 + $2 + '|'
|
|
686
|
-
})
|
|
687
|
-
|
|
688
|
-
this.debug('tail=%j\n %s', tail, tail, pl, re)
|
|
689
|
-
const t = pl.type === '*' ? star
|
|
690
|
-
: pl.type === '?' ? qmark
|
|
691
|
-
: '\\' + pl.type
|
|
692
|
-
|
|
693
|
-
hasMagic = true
|
|
694
|
-
re = re.slice(0, pl.reStart) + t + '\\(' + tail
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
// handle trailing things that only matter at the very end.
|
|
698
|
-
clearStateChar()
|
|
699
|
-
if (escaping) {
|
|
700
|
-
// trailing \\
|
|
701
|
-
re += '\\\\'
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
// only need to apply the nodot start if the re starts with
|
|
705
|
-
// something that could conceivably capture a dot
|
|
706
|
-
const addPatternStart = addPatternStartSet[re.charAt(0)]
|
|
707
|
-
|
|
708
|
-
// Hack to work around lack of negative lookbehind in JS
|
|
709
|
-
// A pattern like: *.!(x).!(y|z) needs to ensure that a name
|
|
710
|
-
// like 'a.xyz.yz' doesn't match. So, the first negative
|
|
711
|
-
// lookahead, has to look ALL the way ahead, to the end of
|
|
712
|
-
// the pattern.
|
|
713
|
-
for (let n = negativeLists.length - 1; n > -1; n--) {
|
|
714
|
-
const nl = negativeLists[n]
|
|
715
|
-
|
|
716
|
-
const nlBefore = re.slice(0, nl.reStart)
|
|
717
|
-
const nlFirst = re.slice(nl.reStart, nl.reEnd - 8)
|
|
718
|
-
let nlAfter = re.slice(nl.reEnd)
|
|
719
|
-
const nlLast = re.slice(nl.reEnd - 8, nl.reEnd) + nlAfter
|
|
720
|
-
|
|
721
|
-
// Handle nested stuff like *(*.js|!(*.json)), where open parens
|
|
722
|
-
// mean that we should *not* include the ) in the bit that is considered
|
|
723
|
-
// "after" the negated section.
|
|
724
|
-
const openParensBefore = nlBefore.split('(').length - 1
|
|
725
|
-
let cleanAfter = nlAfter
|
|
726
|
-
for (let i = 0; i < openParensBefore; i++) {
|
|
727
|
-
cleanAfter = cleanAfter.replace(/\)[+*?]?/, '')
|
|
728
|
-
}
|
|
729
|
-
nlAfter = cleanAfter
|
|
730
|
-
|
|
731
|
-
const dollar = nlAfter === '' && isSub !== SUBPARSE ? '$' : ''
|
|
732
|
-
re = nlBefore + nlFirst + nlAfter + dollar + nlLast
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
// if the re is not "" at this point, then we need to make sure
|
|
736
|
-
// it doesn't match against an empty path part.
|
|
737
|
-
// Otherwise a/* will match a/, which it should not.
|
|
738
|
-
if (re !== '' && hasMagic) {
|
|
739
|
-
re = '(?=.)' + re
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
if (addPatternStart) {
|
|
743
|
-
re = patternStart + re
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
// parsing just a piece of a larger pattern.
|
|
747
|
-
if (isSub === SUBPARSE) {
|
|
748
|
-
return [re, hasMagic]
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
// skip the regexp for non-magical patterns
|
|
752
|
-
// unescape anything in it, though, so that it'll be
|
|
753
|
-
// an exact match against a file etc.
|
|
754
|
-
if (!hasMagic) {
|
|
755
|
-
return globUnescape(pattern)
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
const flags = options.nocase ? 'i' : ''
|
|
759
|
-
try {
|
|
760
|
-
return Object.assign(new RegExp('^' + re + '$', flags), {
|
|
761
|
-
_glob: pattern,
|
|
762
|
-
_src: re,
|
|
763
|
-
})
|
|
764
|
-
} catch (er) /* istanbul ignore next - should be impossible */ {
|
|
765
|
-
// If it was an invalid regular expression, then it can't match
|
|
766
|
-
// anything. This trick looks for a character after the end of
|
|
767
|
-
// the string, which is of course impossible, except in multi-line
|
|
768
|
-
// mode, but it's not a /m regex.
|
|
769
|
-
return new RegExp('$.')
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
makeRe () {
|
|
774
|
-
if (this.regexp || this.regexp === false) return this.regexp
|
|
775
|
-
|
|
776
|
-
// at this point, this.set is a 2d array of partial
|
|
777
|
-
// pattern strings, or "**".
|
|
778
|
-
//
|
|
779
|
-
// It's better to use .match(). This function shouldn't
|
|
780
|
-
// be used, really, but it's pretty convenient sometimes,
|
|
781
|
-
// when you just want to work with a regex.
|
|
782
|
-
const set = this.set
|
|
783
|
-
|
|
784
|
-
if (!set.length) {
|
|
785
|
-
this.regexp = false
|
|
786
|
-
return this.regexp
|
|
787
|
-
}
|
|
788
|
-
const options = this.options
|
|
789
|
-
|
|
790
|
-
const twoStar = options.noglobstar ? star
|
|
791
|
-
: options.dot ? twoStarDot
|
|
792
|
-
: twoStarNoDot
|
|
793
|
-
const flags = options.nocase ? 'i' : ''
|
|
794
|
-
|
|
795
|
-
// coalesce globstars and regexpify non-globstar patterns
|
|
796
|
-
// if it's the only item, then we just do one twoStar
|
|
797
|
-
// if it's the first, and there are more, prepend (\/|twoStar\/)? to next
|
|
798
|
-
// if it's the last, append (\/twoStar|) to previous
|
|
799
|
-
// if it's in the middle, append (\/|\/twoStar\/) to previous
|
|
800
|
-
// then filter out GLOBSTAR symbols
|
|
801
|
-
let re = set.map(pattern => {
|
|
802
|
-
pattern = pattern.map(p =>
|
|
803
|
-
typeof p === 'string' ? regExpEscape(p)
|
|
804
|
-
: p === GLOBSTAR ? GLOBSTAR
|
|
805
|
-
: p._src
|
|
806
|
-
).reduce((set, p) => {
|
|
807
|
-
if (!(set[set.length - 1] === GLOBSTAR && p === GLOBSTAR)) {
|
|
808
|
-
set.push(p)
|
|
809
|
-
}
|
|
810
|
-
return set
|
|
811
|
-
}, [])
|
|
812
|
-
pattern.forEach((p, i) => {
|
|
813
|
-
if (p !== GLOBSTAR || pattern[i-1] === GLOBSTAR) {
|
|
814
|
-
return
|
|
815
|
-
}
|
|
816
|
-
if (i === 0) {
|
|
817
|
-
if (pattern.length > 1) {
|
|
818
|
-
pattern[i+1] = '(?:\\\/|' + twoStar + '\\\/)?' + pattern[i+1]
|
|
819
|
-
} else {
|
|
820
|
-
pattern[i] = twoStar
|
|
821
|
-
}
|
|
822
|
-
} else if (i === pattern.length - 1) {
|
|
823
|
-
pattern[i-1] += '(?:\\\/|' + twoStar + ')?'
|
|
824
|
-
} else {
|
|
825
|
-
pattern[i-1] += '(?:\\\/|\\\/' + twoStar + '\\\/)' + pattern[i+1]
|
|
826
|
-
pattern[i+1] = GLOBSTAR
|
|
827
|
-
}
|
|
828
|
-
})
|
|
829
|
-
return pattern.filter(p => p !== GLOBSTAR).join('/')
|
|
830
|
-
}).join('|')
|
|
831
|
-
|
|
832
|
-
// must match entire pattern
|
|
833
|
-
// ending in a * or ** will make it less strict.
|
|
834
|
-
re = '^(?:' + re + ')$'
|
|
835
|
-
|
|
836
|
-
// can match anything, as long as it's not this.
|
|
837
|
-
if (this.negate) re = '^(?!' + re + ').*$'
|
|
838
|
-
|
|
839
|
-
try {
|
|
840
|
-
this.regexp = new RegExp(re, flags)
|
|
841
|
-
} catch (ex) /* istanbul ignore next - should be impossible */ {
|
|
842
|
-
this.regexp = false
|
|
843
|
-
}
|
|
844
|
-
return this.regexp
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
match (f, partial = this.partial) {
|
|
848
|
-
this.debug('match', f, this.pattern)
|
|
849
|
-
// short-circuit in the case of busted things.
|
|
850
|
-
// comments, etc.
|
|
851
|
-
if (this.comment) return false
|
|
852
|
-
if (this.empty) return f === ''
|
|
853
|
-
|
|
854
|
-
if (f === '/' && partial) return true
|
|
855
|
-
|
|
856
|
-
const options = this.options
|
|
857
|
-
|
|
858
|
-
// windows: need to use /, not \
|
|
859
|
-
if (path.sep !== '/') {
|
|
860
|
-
f = f.split(path.sep).join('/')
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
// treat the test path as a set of pathparts.
|
|
864
|
-
f = f.split(slashSplit)
|
|
865
|
-
this.debug(this.pattern, 'split', f)
|
|
866
|
-
|
|
867
|
-
// just ONE of the pattern sets in this.set needs to match
|
|
868
|
-
// in order for it to be valid. If negating, then just one
|
|
869
|
-
// match means that we have failed.
|
|
870
|
-
// Either way, return on the first hit.
|
|
871
|
-
|
|
872
|
-
const set = this.set
|
|
873
|
-
this.debug(this.pattern, 'set', set)
|
|
874
|
-
|
|
875
|
-
// Find the basename of the path by looking for the last non-empty segment
|
|
876
|
-
let filename
|
|
877
|
-
for (let i = f.length - 1; i >= 0; i--) {
|
|
878
|
-
filename = f[i]
|
|
879
|
-
if (filename) break
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
for (let i = 0; i < set.length; i++) {
|
|
883
|
-
const pattern = set[i]
|
|
884
|
-
let file = f
|
|
885
|
-
if (options.matchBase && pattern.length === 1) {
|
|
886
|
-
file = [filename]
|
|
887
|
-
}
|
|
888
|
-
const hit = this.matchOne(file, pattern, partial)
|
|
889
|
-
if (hit) {
|
|
890
|
-
if (options.flipNegate) return true
|
|
891
|
-
return !this.negate
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
// didn't get any hits. this is success if it's a negative
|
|
896
|
-
// pattern, failure otherwise.
|
|
897
|
-
if (options.flipNegate) return false
|
|
898
|
-
return this.negate
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
static defaults (def) {
|
|
902
|
-
return minimatch.defaults(def).Minimatch
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
minimatch.Minimatch = Minimatch
|