@esportsplus/typescript 0.8.1 → 0.8.3
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/bin/tsc +9 -0
- package/bin/tsc-alias +3 -0
- package/package.json +3 -3
- package/node_modules/.package-lock.json +0 -446
- package/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
- package/node_modules/@nodelib/fs.scandir/README.md +0 -171
- package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
- package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
- package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
- package/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
- package/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
- package/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
- package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
- package/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
- package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
- package/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
- package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
- package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
- package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
- package/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
- package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
- package/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
- package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
- package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
- package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
- package/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
- package/node_modules/@nodelib/fs.scandir/package.json +0 -44
- package/node_modules/@nodelib/fs.stat/LICENSE +0 -21
- package/node_modules/@nodelib/fs.stat/README.md +0 -126
- package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
- package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
- package/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
- package/node_modules/@nodelib/fs.stat/out/index.js +0 -26
- package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
- package/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
- package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
- package/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
- package/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
- package/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
- package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
- package/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
- package/node_modules/@nodelib/fs.stat/package.json +0 -37
- package/node_modules/@nodelib/fs.walk/LICENSE +0 -21
- package/node_modules/@nodelib/fs.walk/README.md +0 -215
- package/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
- package/node_modules/@nodelib/fs.walk/out/index.js +0 -34
- package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
- package/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
- package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
- package/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
- package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
- package/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
- package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
- package/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
- package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
- package/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
- package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
- package/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
- package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
- package/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
- package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
- package/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
- package/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
- package/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
- package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
- package/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
- package/node_modules/@nodelib/fs.walk/package.json +0 -44
- package/node_modules/anymatch/LICENSE +0 -15
- package/node_modules/anymatch/README.md +0 -87
- package/node_modules/anymatch/index.d.ts +0 -20
- package/node_modules/anymatch/index.js +0 -104
- package/node_modules/anymatch/package.json +0 -48
- package/node_modules/array-union/index.d.ts +0 -25
- package/node_modules/array-union/index.js +0 -5
- package/node_modules/array-union/license +0 -9
- package/node_modules/array-union/package.json +0 -38
- package/node_modules/array-union/readme.md +0 -34
- package/node_modules/binary-extensions/binary-extensions.json +0 -263
- package/node_modules/binary-extensions/binary-extensions.json.d.ts +0 -3
- package/node_modules/binary-extensions/index.d.ts +0 -14
- package/node_modules/binary-extensions/index.js +0 -1
- package/node_modules/binary-extensions/license +0 -10
- package/node_modules/binary-extensions/package.json +0 -40
- package/node_modules/binary-extensions/readme.md +0 -25
- package/node_modules/braces/LICENSE +0 -21
- package/node_modules/braces/README.md +0 -586
- package/node_modules/braces/index.js +0 -170
- package/node_modules/braces/lib/compile.js +0 -60
- package/node_modules/braces/lib/constants.js +0 -57
- package/node_modules/braces/lib/expand.js +0 -113
- package/node_modules/braces/lib/parse.js +0 -331
- package/node_modules/braces/lib/stringify.js +0 -32
- package/node_modules/braces/lib/utils.js +0 -122
- package/node_modules/braces/package.json +0 -77
- package/node_modules/chokidar/LICENSE +0 -21
- package/node_modules/chokidar/README.md +0 -308
- package/node_modules/chokidar/index.js +0 -973
- package/node_modules/chokidar/lib/constants.js +0 -66
- package/node_modules/chokidar/lib/fsevents-handler.js +0 -526
- package/node_modules/chokidar/lib/nodefs-handler.js +0 -654
- package/node_modules/chokidar/package.json +0 -70
- package/node_modules/chokidar/types/index.d.ts +0 -192
- package/node_modules/commander/LICENSE +0 -22
- package/node_modules/commander/Readme.md +0 -1129
- package/node_modules/commander/esm.mjs +0 -16
- package/node_modules/commander/index.js +0 -27
- package/node_modules/commander/lib/argument.js +0 -147
- package/node_modules/commander/lib/command.js +0 -2179
- package/node_modules/commander/lib/error.js +0 -45
- package/node_modules/commander/lib/help.js +0 -461
- package/node_modules/commander/lib/option.js +0 -326
- package/node_modules/commander/lib/suggestSimilar.js +0 -100
- package/node_modules/commander/package-support.json +0 -16
- package/node_modules/commander/package.json +0 -80
- package/node_modules/commander/typings/index.d.ts +0 -891
- package/node_modules/dir-glob/index.js +0 -75
- package/node_modules/dir-glob/license +0 -9
- package/node_modules/dir-glob/package.json +0 -38
- package/node_modules/dir-glob/readme.md +0 -76
- package/node_modules/fast-glob/LICENSE +0 -21
- package/node_modules/fast-glob/README.md +0 -830
- package/node_modules/fast-glob/out/index.d.ts +0 -40
- package/node_modules/fast-glob/out/index.js +0 -102
- package/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
- package/node_modules/fast-glob/out/managers/tasks.js +0 -110
- package/node_modules/fast-glob/out/providers/async.d.ts +0 -9
- package/node_modules/fast-glob/out/providers/async.js +0 -23
- package/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
- package/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
- package/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -16
- package/node_modules/fast-glob/out/providers/filters/entry.js +0 -63
- package/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
- package/node_modules/fast-glob/out/providers/filters/error.js +0 -15
- package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
- package/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
- package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
- package/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
- package/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
- package/node_modules/fast-glob/out/providers/provider.js +0 -48
- package/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
- package/node_modules/fast-glob/out/providers/stream.js +0 -31
- package/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
- package/node_modules/fast-glob/out/providers/sync.js +0 -23
- package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
- package/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
- package/node_modules/fast-glob/out/readers/async.d.ts +0 -10
- package/node_modules/fast-glob/out/readers/async.js +0 -35
- package/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
- package/node_modules/fast-glob/out/readers/reader.js +0 -33
- package/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
- package/node_modules/fast-glob/out/readers/stream.js +0 -55
- package/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
- package/node_modules/fast-glob/out/readers/sync.js +0 -43
- package/node_modules/fast-glob/out/settings.d.ts +0 -164
- package/node_modules/fast-glob/out/settings.js +0 -59
- package/node_modules/fast-glob/out/types/index.d.ts +0 -31
- package/node_modules/fast-glob/out/types/index.js +0 -2
- package/node_modules/fast-glob/out/utils/array.d.ts +0 -2
- package/node_modules/fast-glob/out/utils/array.js +0 -22
- package/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
- package/node_modules/fast-glob/out/utils/errno.js +0 -7
- package/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
- package/node_modules/fast-glob/out/utils/fs.js +0 -19
- package/node_modules/fast-glob/out/utils/index.d.ts +0 -8
- package/node_modules/fast-glob/out/utils/index.js +0 -17
- package/node_modules/fast-glob/out/utils/path.d.ts +0 -13
- package/node_modules/fast-glob/out/utils/path.js +0 -68
- package/node_modules/fast-glob/out/utils/pattern.d.ts +0 -47
- package/node_modules/fast-glob/out/utils/pattern.js +0 -188
- package/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
- package/node_modules/fast-glob/out/utils/stream.js +0 -17
- package/node_modules/fast-glob/out/utils/string.d.ts +0 -2
- package/node_modules/fast-glob/out/utils/string.js +0 -11
- package/node_modules/fast-glob/package.json +0 -81
- package/node_modules/fastq/.github/dependabot.yml +0 -11
- package/node_modules/fastq/.github/workflows/ci.yml +0 -75
- package/node_modules/fastq/LICENSE +0 -13
- package/node_modules/fastq/README.md +0 -306
- package/node_modules/fastq/bench.js +0 -66
- package/node_modules/fastq/example.js +0 -14
- package/node_modules/fastq/example.mjs +0 -11
- package/node_modules/fastq/index.d.ts +0 -38
- package/node_modules/fastq/package.json +0 -53
- package/node_modules/fastq/queue.js +0 -311
- package/node_modules/fastq/test/example.ts +0 -83
- package/node_modules/fastq/test/promise.js +0 -248
- package/node_modules/fastq/test/test.js +0 -642
- package/node_modules/fastq/test/tsconfig.json +0 -11
- package/node_modules/fill-range/LICENSE +0 -21
- package/node_modules/fill-range/README.md +0 -237
- package/node_modules/fill-range/index.js +0 -248
- package/node_modules/fill-range/package.json +0 -74
- package/node_modules/get-tsconfig/LICENSE +0 -21
- package/node_modules/get-tsconfig/README.md +0 -235
- package/node_modules/get-tsconfig/dist/index.cjs +0 -7
- package/node_modules/get-tsconfig/dist/index.d.cts +0 -1439
- package/node_modules/get-tsconfig/dist/index.d.mts +0 -1439
- package/node_modules/get-tsconfig/dist/index.mjs +0 -7
- package/node_modules/get-tsconfig/package.json +0 -46
- package/node_modules/glob-parent/CHANGELOG.md +0 -110
- package/node_modules/glob-parent/LICENSE +0 -15
- package/node_modules/glob-parent/README.md +0 -137
- package/node_modules/glob-parent/index.js +0 -42
- package/node_modules/glob-parent/package.json +0 -48
- package/node_modules/globby/gitignore.js +0 -120
- package/node_modules/globby/index.d.ts +0 -186
- package/node_modules/globby/index.js +0 -181
- package/node_modules/globby/license +0 -9
- package/node_modules/globby/package.json +0 -82
- package/node_modules/globby/readme.md +0 -170
- package/node_modules/globby/stream-utils.js +0 -46
- package/node_modules/ignore/LICENSE-MIT +0 -21
- package/node_modules/ignore/README.md +0 -412
- package/node_modules/ignore/index.d.ts +0 -61
- package/node_modules/ignore/index.js +0 -626
- package/node_modules/ignore/legacy.js +0 -545
- package/node_modules/ignore/package.json +0 -73
- package/node_modules/is-binary-path/index.d.ts +0 -17
- package/node_modules/is-binary-path/index.js +0 -7
- package/node_modules/is-binary-path/license +0 -9
- package/node_modules/is-binary-path/package.json +0 -40
- package/node_modules/is-binary-path/readme.md +0 -34
- package/node_modules/is-extglob/LICENSE +0 -21
- package/node_modules/is-extglob/README.md +0 -107
- package/node_modules/is-extglob/index.js +0 -20
- package/node_modules/is-extglob/package.json +0 -69
- package/node_modules/is-glob/LICENSE +0 -21
- package/node_modules/is-glob/README.md +0 -206
- package/node_modules/is-glob/index.js +0 -150
- package/node_modules/is-glob/package.json +0 -81
- package/node_modules/is-number/LICENSE +0 -21
- package/node_modules/is-number/README.md +0 -187
- package/node_modules/is-number/index.js +0 -18
- package/node_modules/is-number/package.json +0 -82
- package/node_modules/merge2/LICENSE +0 -21
- package/node_modules/merge2/README.md +0 -144
- package/node_modules/merge2/index.js +0 -144
- package/node_modules/merge2/package.json +0 -43
- package/node_modules/micromatch/LICENSE +0 -21
- package/node_modules/micromatch/README.md +0 -1017
- package/node_modules/micromatch/index.js +0 -467
- package/node_modules/micromatch/package.json +0 -101
- package/node_modules/mylas/LICENSE +0 -21
- package/node_modules/mylas/README.md +0 -39
- package/node_modules/mylas/build/chunk-3EDNT3AM.js +0 -1
- package/node_modules/mylas/build/chunk-M3H36CX2.js +0 -3
- package/node_modules/mylas/build/index.d.ts +0 -22
- package/node_modules/mylas/build/index.js +0 -1
- package/node_modules/mylas/build/interfaces.d.ts +0 -201
- package/node_modules/mylas/build/register.d.ts +0 -9
- package/node_modules/mylas/build/register.js +0 -1
- package/node_modules/mylas/build/worker.js +0 -1
- package/node_modules/mylas/package.json +0 -65
- package/node_modules/normalize-path/LICENSE +0 -21
- package/node_modules/normalize-path/README.md +0 -127
- package/node_modules/normalize-path/index.js +0 -35
- package/node_modules/normalize-path/package.json +0 -77
- package/node_modules/path-type/index.d.ts +0 -51
- package/node_modules/path-type/index.js +0 -43
- package/node_modules/path-type/license +0 -9
- package/node_modules/path-type/package.json +0 -45
- package/node_modules/path-type/readme.md +0 -72
- package/node_modules/picomatch/CHANGELOG.md +0 -136
- package/node_modules/picomatch/LICENSE +0 -21
- package/node_modules/picomatch/README.md +0 -708
- package/node_modules/picomatch/index.js +0 -3
- package/node_modules/picomatch/lib/constants.js +0 -179
- package/node_modules/picomatch/lib/parse.js +0 -1091
- package/node_modules/picomatch/lib/picomatch.js +0 -342
- package/node_modules/picomatch/lib/scan.js +0 -391
- package/node_modules/picomatch/lib/utils.js +0 -64
- package/node_modules/picomatch/package.json +0 -81
- package/node_modules/plimit-lit/LICENSE +0 -21
- package/node_modules/plimit-lit/README.md +0 -99
- package/node_modules/plimit-lit/dist/index.d.ts +0 -6
- package/node_modules/plimit-lit/dist/plimit-lit.cjs +0 -91
- package/node_modules/plimit-lit/dist/plimit-lit.modern.js +0 -91
- package/node_modules/plimit-lit/dist/plimit-lit.module.js +0 -91
- package/node_modules/plimit-lit/package.json +0 -55
- package/node_modules/queue-lit/LICENSE +0 -21
- package/node_modules/queue-lit/README.md +0 -93
- package/node_modules/queue-lit/dist/index.d.ts +0 -34
- package/node_modules/queue-lit/dist/queue-lit.cjs +0 -110
- package/node_modules/queue-lit/dist/queue-lit.modern.js +0 -110
- package/node_modules/queue-lit/dist/queue-lit.module.js +0 -110
- package/node_modules/queue-lit/package.json +0 -53
- package/node_modules/queue-microtask/LICENSE +0 -20
- package/node_modules/queue-microtask/README.md +0 -90
- package/node_modules/queue-microtask/index.d.ts +0 -2
- package/node_modules/queue-microtask/index.js +0 -9
- package/node_modules/queue-microtask/package.json +0 -55
- package/node_modules/readdirp/LICENSE +0 -21
- package/node_modules/readdirp/README.md +0 -122
- package/node_modules/readdirp/index.d.ts +0 -43
- package/node_modules/readdirp/index.js +0 -287
- package/node_modules/readdirp/package.json +0 -122
- package/node_modules/resolve-pkg-maps/LICENSE +0 -21
- package/node_modules/resolve-pkg-maps/README.md +0 -216
- package/node_modules/resolve-pkg-maps/dist/index.cjs +0 -1
- package/node_modules/resolve-pkg-maps/dist/index.d.cts +0 -11
- package/node_modules/resolve-pkg-maps/dist/index.d.mts +0 -11
- package/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
- package/node_modules/resolve-pkg-maps/package.json +0 -42
- package/node_modules/reusify/.coveralls.yml +0 -1
- package/node_modules/reusify/.travis.yml +0 -28
- package/node_modules/reusify/LICENSE +0 -22
- package/node_modules/reusify/README.md +0 -145
- package/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
- package/node_modules/reusify/benchmarks/fib.js +0 -13
- package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
- package/node_modules/reusify/package.json +0 -45
- package/node_modules/reusify/reusify.js +0 -33
- package/node_modules/reusify/test.js +0 -66
- package/node_modules/run-parallel/LICENSE +0 -20
- package/node_modules/run-parallel/README.md +0 -85
- package/node_modules/run-parallel/index.js +0 -51
- package/node_modules/run-parallel/package.json +0 -58
- package/node_modules/slash/index.d.ts +0 -25
- package/node_modules/slash/index.js +0 -11
- package/node_modules/slash/license +0 -9
- package/node_modules/slash/package.json +0 -35
- package/node_modules/slash/readme.md +0 -44
- package/node_modules/to-regex-range/LICENSE +0 -21
- package/node_modules/to-regex-range/README.md +0 -305
- package/node_modules/to-regex-range/index.js +0 -288
- package/node_modules/to-regex-range/package.json +0 -88
- package/node_modules/tsc-alias/LICENSE +0 -21
- package/node_modules/tsc-alias/README.md +0 -184
- package/node_modules/tsc-alias/dist/bin/index.d.ts +0 -2
- package/node_modules/tsc-alias/dist/bin/index.js +0 -39
- package/node_modules/tsc-alias/dist/bin/index.js.map +0 -1
- package/node_modules/tsc-alias/dist/helpers/config.d.ts +0 -5
- package/node_modules/tsc-alias/dist/helpers/config.js +0 -181
- package/node_modules/tsc-alias/dist/helpers/config.js.map +0 -1
- package/node_modules/tsc-alias/dist/helpers/index.d.ts +0 -3
- package/node_modules/tsc-alias/dist/helpers/index.js +0 -20
- package/node_modules/tsc-alias/dist/helpers/index.js.map +0 -1
- package/node_modules/tsc-alias/dist/helpers/path.d.ts +0 -3
- package/node_modules/tsc-alias/dist/helpers/path.js +0 -73
- package/node_modules/tsc-alias/dist/helpers/path.js.map +0 -1
- package/node_modules/tsc-alias/dist/helpers/replacers.d.ts +0 -4
- package/node_modules/tsc-alias/dist/helpers/replacers.js +0 -150
- package/node_modules/tsc-alias/dist/helpers/replacers.js.map +0 -1
- package/node_modules/tsc-alias/dist/index.d.ts +0 -8
- package/node_modules/tsc-alias/dist/index.js +0 -74
- package/node_modules/tsc-alias/dist/index.js.map +0 -1
- package/node_modules/tsc-alias/dist/interfaces.d.ts +0 -87
- package/node_modules/tsc-alias/dist/interfaces.js +0 -3
- package/node_modules/tsc-alias/dist/interfaces.js.map +0 -1
- package/node_modules/tsc-alias/dist/replacers/base-url.replacer.d.ts +0 -2
- package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js +0 -33
- package/node_modules/tsc-alias/dist/replacers/base-url.replacer.js.map +0 -1
- package/node_modules/tsc-alias/dist/replacers/default.replacer.d.ts +0 -2
- package/node_modules/tsc-alias/dist/replacers/default.replacer.js +0 -67
- package/node_modules/tsc-alias/dist/replacers/default.replacer.js.map +0 -1
- package/node_modules/tsc-alias/dist/utils/import-path-resolver.d.ts +0 -19
- package/node_modules/tsc-alias/dist/utils/import-path-resolver.js +0 -87
- package/node_modules/tsc-alias/dist/utils/import-path-resolver.js.map +0 -1
- package/node_modules/tsc-alias/dist/utils/index.d.ts +0 -4
- package/node_modules/tsc-alias/dist/utils/index.js +0 -21
- package/node_modules/tsc-alias/dist/utils/index.js.map +0 -1
- package/node_modules/tsc-alias/dist/utils/output.d.ts +0 -11
- package/node_modules/tsc-alias/dist/utils/output.js +0 -44
- package/node_modules/tsc-alias/dist/utils/output.js.map +0 -1
- package/node_modules/tsc-alias/dist/utils/path-cache.d.ts +0 -12
- package/node_modules/tsc-alias/dist/utils/path-cache.js +0 -74
- package/node_modules/tsc-alias/dist/utils/path-cache.js.map +0 -1
- package/node_modules/tsc-alias/dist/utils/trie.d.ts +0 -9
- package/node_modules/tsc-alias/dist/utils/trie.js +0 -81
- package/node_modules/tsc-alias/dist/utils/trie.js.map +0 -1
- package/node_modules/tsc-alias/package.json +0 -66
- package/node_modules/typescript/LICENSE.txt +0 -55
- package/node_modules/typescript/README.md +0 -50
- package/node_modules/typescript/SECURITY.md +0 -41
- package/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
- package/node_modules/typescript/bin/tsc +0 -2
- package/node_modules/typescript/bin/tsserver +0 -2
- package/node_modules/typescript/lib/_tsc.js +0 -132810
- package/node_modules/typescript/lib/_tsserver.js +0 -659
- package/node_modules/typescript/lib/_typingsInstaller.js +0 -222
- package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/lib.d.ts +0 -22
- package/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
- package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
- package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
- package/node_modules/typescript/lib/lib.dom.d.ts +0 -29610
- package/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -493
- package/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
- package/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
- package/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
- package/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
- package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
- package/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
- package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
- package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
- package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
- package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
- package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
- package/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
- package/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
- package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
- package/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
- package/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
- package/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
- package/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
- package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
- package/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
- package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
- package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
- package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
- package/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
- package/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
- package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
- package/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
- package/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
- package/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
- package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
- package/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
- package/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
- package/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
- package/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
- package/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
- package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
- package/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
- package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
- package/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
- package/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
- package/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
- package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
- package/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
- package/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
- package/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
- package/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -121
- package/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
- package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
- package/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
- package/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
- package/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
- package/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
- package/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
- package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
- package/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
- package/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
- package/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
- package/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
- package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
- package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
- package/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
- package/node_modules/typescript/lib/lib.es5.d.ts +0 -4594
- package/node_modules/typescript/lib/lib.es6.d.ts +0 -23
- package/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
- package/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
- package/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
- package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
- package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
- package/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
- package/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
- package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
- package/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
- package/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
- package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
- package/node_modules/typescript/lib/lib.webworker.d.ts +0 -9894
- package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
- package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -287
- package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/tsc.js +0 -8
- package/node_modules/typescript/lib/tsserver.js +0 -8
- package/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
- package/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/node_modules/typescript/lib/typesMap.json +0 -497
- package/node_modules/typescript/lib/typescript.d.ts +0 -11399
- package/node_modules/typescript/lib/typescript.js +0 -199120
- package/node_modules/typescript/lib/typingsInstaller.js +0 -8
- package/node_modules/typescript/lib/watchGuard.js +0 -53
- package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2105
- package/node_modules/typescript/package.json +0 -120
package/bin/tsc
ADDED
package/bin/tsc-alias
ADDED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "ICJR",
|
|
3
3
|
"bin": {
|
|
4
|
-
"tsc": "./
|
|
5
|
-
"tsc-alias": "./
|
|
4
|
+
"tsc": "./bin/tsc",
|
|
5
|
+
"tsc-alias": "./bin/tsc-alias"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"tsc-alias": "^1.8.16",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"prepublishOnly": "npm run build"
|
|
29
29
|
},
|
|
30
30
|
"types": "build/index.d.ts",
|
|
31
|
-
"version": "0.8.
|
|
31
|
+
"version": "0.8.3"
|
|
32
32
|
}
|
|
@@ -1,446 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@esportsplus/typescript",
|
|
3
|
-
"version": "0.8.1",
|
|
4
|
-
"lockfileVersion": 3,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"packages": {
|
|
7
|
-
"node_modules/@nodelib/fs.scandir": {
|
|
8
|
-
"version": "2.1.5",
|
|
9
|
-
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
|
10
|
-
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@nodelib/fs.stat": "2.0.5",
|
|
13
|
-
"run-parallel": "^1.1.9"
|
|
14
|
-
},
|
|
15
|
-
"engines": {
|
|
16
|
-
"node": ">= 8"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"node_modules/@nodelib/fs.stat": {
|
|
20
|
-
"version": "2.0.5",
|
|
21
|
-
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
|
|
22
|
-
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
|
|
23
|
-
"engines": {
|
|
24
|
-
"node": ">= 8"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"node_modules/@nodelib/fs.walk": {
|
|
28
|
-
"version": "1.2.8",
|
|
29
|
-
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
|
|
30
|
-
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@nodelib/fs.scandir": "2.1.5",
|
|
33
|
-
"fastq": "^1.6.0"
|
|
34
|
-
},
|
|
35
|
-
"engines": {
|
|
36
|
-
"node": ">= 8"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"node_modules/anymatch": {
|
|
40
|
-
"version": "3.1.3",
|
|
41
|
-
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
|
|
42
|
-
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"normalize-path": "^3.0.0",
|
|
45
|
-
"picomatch": "^2.0.4"
|
|
46
|
-
},
|
|
47
|
-
"engines": {
|
|
48
|
-
"node": ">= 8"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"node_modules/array-union": {
|
|
52
|
-
"version": "2.1.0",
|
|
53
|
-
"resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
|
|
54
|
-
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
|
|
55
|
-
"engines": {
|
|
56
|
-
"node": ">=8"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"node_modules/binary-extensions": {
|
|
60
|
-
"version": "2.3.0",
|
|
61
|
-
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
|
|
62
|
-
"integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
|
|
63
|
-
"engines": {
|
|
64
|
-
"node": ">=8"
|
|
65
|
-
},
|
|
66
|
-
"funding": {
|
|
67
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"node_modules/braces": {
|
|
71
|
-
"version": "3.0.3",
|
|
72
|
-
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
|
|
73
|
-
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
|
|
74
|
-
"dependencies": {
|
|
75
|
-
"fill-range": "^7.1.1"
|
|
76
|
-
},
|
|
77
|
-
"engines": {
|
|
78
|
-
"node": ">=8"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"node_modules/chokidar": {
|
|
82
|
-
"version": "3.6.0",
|
|
83
|
-
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
|
|
84
|
-
"integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
|
|
85
|
-
"dependencies": {
|
|
86
|
-
"anymatch": "~3.1.2",
|
|
87
|
-
"braces": "~3.0.2",
|
|
88
|
-
"glob-parent": "~5.1.2",
|
|
89
|
-
"is-binary-path": "~2.1.0",
|
|
90
|
-
"is-glob": "~4.0.1",
|
|
91
|
-
"normalize-path": "~3.0.0",
|
|
92
|
-
"readdirp": "~3.6.0"
|
|
93
|
-
},
|
|
94
|
-
"engines": {
|
|
95
|
-
"node": ">= 8.10.0"
|
|
96
|
-
},
|
|
97
|
-
"funding": {
|
|
98
|
-
"url": "https://paulmillr.com/funding/"
|
|
99
|
-
},
|
|
100
|
-
"optionalDependencies": {
|
|
101
|
-
"fsevents": "~2.3.2"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"node_modules/commander": {
|
|
105
|
-
"version": "9.5.0",
|
|
106
|
-
"resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz",
|
|
107
|
-
"integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==",
|
|
108
|
-
"engines": {
|
|
109
|
-
"node": "^12.20.0 || >=14"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"node_modules/dir-glob": {
|
|
113
|
-
"version": "3.0.1",
|
|
114
|
-
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
|
|
115
|
-
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
|
|
116
|
-
"dependencies": {
|
|
117
|
-
"path-type": "^4.0.0"
|
|
118
|
-
},
|
|
119
|
-
"engines": {
|
|
120
|
-
"node": ">=8"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"node_modules/fast-glob": {
|
|
124
|
-
"version": "3.3.2",
|
|
125
|
-
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
|
|
126
|
-
"integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
|
|
127
|
-
"dependencies": {
|
|
128
|
-
"@nodelib/fs.stat": "^2.0.2",
|
|
129
|
-
"@nodelib/fs.walk": "^1.2.3",
|
|
130
|
-
"glob-parent": "^5.1.2",
|
|
131
|
-
"merge2": "^1.3.0",
|
|
132
|
-
"micromatch": "^4.0.4"
|
|
133
|
-
},
|
|
134
|
-
"engines": {
|
|
135
|
-
"node": ">=8.6.0"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
"node_modules/fastq": {
|
|
139
|
-
"version": "1.17.1",
|
|
140
|
-
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
|
|
141
|
-
"integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
|
|
142
|
-
"dependencies": {
|
|
143
|
-
"reusify": "^1.0.4"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"node_modules/fill-range": {
|
|
147
|
-
"version": "7.1.1",
|
|
148
|
-
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
|
|
149
|
-
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
|
|
150
|
-
"dependencies": {
|
|
151
|
-
"to-regex-range": "^5.0.1"
|
|
152
|
-
},
|
|
153
|
-
"engines": {
|
|
154
|
-
"node": ">=8"
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
"node_modules/get-tsconfig": {
|
|
158
|
-
"version": "4.10.1",
|
|
159
|
-
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz",
|
|
160
|
-
"integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==",
|
|
161
|
-
"license": "MIT",
|
|
162
|
-
"dependencies": {
|
|
163
|
-
"resolve-pkg-maps": "^1.0.0"
|
|
164
|
-
},
|
|
165
|
-
"funding": {
|
|
166
|
-
"url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"node_modules/glob-parent": {
|
|
170
|
-
"version": "5.1.2",
|
|
171
|
-
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
|
172
|
-
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
|
173
|
-
"dependencies": {
|
|
174
|
-
"is-glob": "^4.0.1"
|
|
175
|
-
},
|
|
176
|
-
"engines": {
|
|
177
|
-
"node": ">= 6"
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
"node_modules/globby": {
|
|
181
|
-
"version": "11.1.0",
|
|
182
|
-
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
|
|
183
|
-
"integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
|
|
184
|
-
"dependencies": {
|
|
185
|
-
"array-union": "^2.1.0",
|
|
186
|
-
"dir-glob": "^3.0.1",
|
|
187
|
-
"fast-glob": "^3.2.9",
|
|
188
|
-
"ignore": "^5.2.0",
|
|
189
|
-
"merge2": "^1.4.1",
|
|
190
|
-
"slash": "^3.0.0"
|
|
191
|
-
},
|
|
192
|
-
"engines": {
|
|
193
|
-
"node": ">=10"
|
|
194
|
-
},
|
|
195
|
-
"funding": {
|
|
196
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"node_modules/ignore": {
|
|
200
|
-
"version": "5.3.1",
|
|
201
|
-
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
|
|
202
|
-
"integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
|
|
203
|
-
"engines": {
|
|
204
|
-
"node": ">= 4"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"node_modules/is-binary-path": {
|
|
208
|
-
"version": "2.1.0",
|
|
209
|
-
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
|
210
|
-
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
|
|
211
|
-
"dependencies": {
|
|
212
|
-
"binary-extensions": "^2.0.0"
|
|
213
|
-
},
|
|
214
|
-
"engines": {
|
|
215
|
-
"node": ">=8"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"node_modules/is-extglob": {
|
|
219
|
-
"version": "2.1.1",
|
|
220
|
-
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
|
221
|
-
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
|
|
222
|
-
"engines": {
|
|
223
|
-
"node": ">=0.10.0"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"node_modules/is-glob": {
|
|
227
|
-
"version": "4.0.3",
|
|
228
|
-
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
|
229
|
-
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
|
230
|
-
"dependencies": {
|
|
231
|
-
"is-extglob": "^2.1.1"
|
|
232
|
-
},
|
|
233
|
-
"engines": {
|
|
234
|
-
"node": ">=0.10.0"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
"node_modules/is-number": {
|
|
238
|
-
"version": "7.0.0",
|
|
239
|
-
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
|
|
240
|
-
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
|
|
241
|
-
"engines": {
|
|
242
|
-
"node": ">=0.12.0"
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"node_modules/merge2": {
|
|
246
|
-
"version": "1.4.1",
|
|
247
|
-
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
|
248
|
-
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
|
|
249
|
-
"engines": {
|
|
250
|
-
"node": ">= 8"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
"node_modules/micromatch": {
|
|
254
|
-
"version": "4.0.7",
|
|
255
|
-
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
|
|
256
|
-
"integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
|
|
257
|
-
"dependencies": {
|
|
258
|
-
"braces": "^3.0.3",
|
|
259
|
-
"picomatch": "^2.3.1"
|
|
260
|
-
},
|
|
261
|
-
"engines": {
|
|
262
|
-
"node": ">=8.6"
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
"node_modules/mylas": {
|
|
266
|
-
"version": "2.1.13",
|
|
267
|
-
"resolved": "https://registry.npmjs.org/mylas/-/mylas-2.1.13.tgz",
|
|
268
|
-
"integrity": "sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==",
|
|
269
|
-
"engines": {
|
|
270
|
-
"node": ">=12.0.0"
|
|
271
|
-
},
|
|
272
|
-
"funding": {
|
|
273
|
-
"type": "github",
|
|
274
|
-
"url": "https://github.com/sponsors/raouldeheer"
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
"node_modules/normalize-path": {
|
|
278
|
-
"version": "3.0.0",
|
|
279
|
-
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
|
280
|
-
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
|
|
281
|
-
"engines": {
|
|
282
|
-
"node": ">=0.10.0"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
"node_modules/path-type": {
|
|
286
|
-
"version": "4.0.0",
|
|
287
|
-
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
|
|
288
|
-
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
|
|
289
|
-
"engines": {
|
|
290
|
-
"node": ">=8"
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
"node_modules/picomatch": {
|
|
294
|
-
"version": "2.3.1",
|
|
295
|
-
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
|
296
|
-
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
|
297
|
-
"engines": {
|
|
298
|
-
"node": ">=8.6"
|
|
299
|
-
},
|
|
300
|
-
"funding": {
|
|
301
|
-
"url": "https://github.com/sponsors/jonschlinkert"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"node_modules/plimit-lit": {
|
|
305
|
-
"version": "1.6.1",
|
|
306
|
-
"resolved": "https://registry.npmjs.org/plimit-lit/-/plimit-lit-1.6.1.tgz",
|
|
307
|
-
"integrity": "sha512-B7+VDyb8Tl6oMJT9oSO2CW8XC/T4UcJGrwOVoNGwOQsQYhlpfajmrMj5xeejqaASq3V/EqThyOeATEOMuSEXiA==",
|
|
308
|
-
"dependencies": {
|
|
309
|
-
"queue-lit": "^1.5.1"
|
|
310
|
-
},
|
|
311
|
-
"engines": {
|
|
312
|
-
"node": ">=12"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
"node_modules/queue-lit": {
|
|
316
|
-
"version": "1.5.2",
|
|
317
|
-
"resolved": "https://registry.npmjs.org/queue-lit/-/queue-lit-1.5.2.tgz",
|
|
318
|
-
"integrity": "sha512-tLc36IOPeMAubu8BkW8YDBV+WyIgKlYU7zUNs0J5Vk9skSZ4JfGlPOqplP0aHdfv7HL0B2Pg6nwiq60Qc6M2Hw==",
|
|
319
|
-
"engines": {
|
|
320
|
-
"node": ">=12"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"node_modules/queue-microtask": {
|
|
324
|
-
"version": "1.2.3",
|
|
325
|
-
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
|
326
|
-
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
|
|
327
|
-
"funding": [
|
|
328
|
-
{
|
|
329
|
-
"type": "github",
|
|
330
|
-
"url": "https://github.com/sponsors/feross"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"type": "patreon",
|
|
334
|
-
"url": "https://www.patreon.com/feross"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"type": "consulting",
|
|
338
|
-
"url": "https://feross.org/support"
|
|
339
|
-
}
|
|
340
|
-
]
|
|
341
|
-
},
|
|
342
|
-
"node_modules/readdirp": {
|
|
343
|
-
"version": "3.6.0",
|
|
344
|
-
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
|
|
345
|
-
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
|
|
346
|
-
"dependencies": {
|
|
347
|
-
"picomatch": "^2.2.1"
|
|
348
|
-
},
|
|
349
|
-
"engines": {
|
|
350
|
-
"node": ">=8.10.0"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"node_modules/resolve-pkg-maps": {
|
|
354
|
-
"version": "1.0.0",
|
|
355
|
-
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
|
|
356
|
-
"integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
|
|
357
|
-
"funding": {
|
|
358
|
-
"url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
"node_modules/reusify": {
|
|
362
|
-
"version": "1.0.4",
|
|
363
|
-
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
|
|
364
|
-
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
|
|
365
|
-
"engines": {
|
|
366
|
-
"iojs": ">=1.0.0",
|
|
367
|
-
"node": ">=0.10.0"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
"node_modules/run-parallel": {
|
|
371
|
-
"version": "1.2.0",
|
|
372
|
-
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
|
|
373
|
-
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
|
|
374
|
-
"funding": [
|
|
375
|
-
{
|
|
376
|
-
"type": "github",
|
|
377
|
-
"url": "https://github.com/sponsors/feross"
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"type": "patreon",
|
|
381
|
-
"url": "https://www.patreon.com/feross"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"type": "consulting",
|
|
385
|
-
"url": "https://feross.org/support"
|
|
386
|
-
}
|
|
387
|
-
],
|
|
388
|
-
"dependencies": {
|
|
389
|
-
"queue-microtask": "^1.2.2"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
"node_modules/slash": {
|
|
393
|
-
"version": "3.0.0",
|
|
394
|
-
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
|
|
395
|
-
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
|
|
396
|
-
"engines": {
|
|
397
|
-
"node": ">=8"
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
"node_modules/to-regex-range": {
|
|
401
|
-
"version": "5.0.1",
|
|
402
|
-
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
|
403
|
-
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
|
|
404
|
-
"dependencies": {
|
|
405
|
-
"is-number": "^7.0.0"
|
|
406
|
-
},
|
|
407
|
-
"engines": {
|
|
408
|
-
"node": ">=8.0"
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
"node_modules/tsc-alias": {
|
|
412
|
-
"version": "1.8.16",
|
|
413
|
-
"resolved": "https://registry.npmjs.org/tsc-alias/-/tsc-alias-1.8.16.tgz",
|
|
414
|
-
"integrity": "sha512-QjCyu55NFyRSBAl6+MTFwplpFcnm2Pq01rR/uxfqJoLMm6X3O14KEGtaSDZpJYaE1bJBGDjD0eSuiIWPe2T58g==",
|
|
415
|
-
"license": "MIT",
|
|
416
|
-
"dependencies": {
|
|
417
|
-
"chokidar": "^3.5.3",
|
|
418
|
-
"commander": "^9.0.0",
|
|
419
|
-
"get-tsconfig": "^4.10.0",
|
|
420
|
-
"globby": "^11.0.4",
|
|
421
|
-
"mylas": "^2.1.9",
|
|
422
|
-
"normalize-path": "^3.0.0",
|
|
423
|
-
"plimit-lit": "^1.2.6"
|
|
424
|
-
},
|
|
425
|
-
"bin": {
|
|
426
|
-
"tsc-alias": "dist/bin/index.js"
|
|
427
|
-
},
|
|
428
|
-
"engines": {
|
|
429
|
-
"node": ">=16.20.2"
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
"node_modules/typescript": {
|
|
433
|
-
"version": "5.8.3",
|
|
434
|
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
|
|
435
|
-
"integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
|
|
436
|
-
"license": "Apache-2.0",
|
|
437
|
-
"bin": {
|
|
438
|
-
"tsc": "bin/tsc",
|
|
439
|
-
"tsserver": "bin/tsserver"
|
|
440
|
-
},
|
|
441
|
-
"engines": {
|
|
442
|
-
"node": ">=14.17"
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) Denis Malinochkin
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
# @nodelib/fs.scandir
|
|
2
|
-
|
|
3
|
-
> List files and directories inside the specified directory.
|
|
4
|
-
|
|
5
|
-
## :bulb: Highlights
|
|
6
|
-
|
|
7
|
-
The package is aimed at obtaining information about entries in the directory.
|
|
8
|
-
|
|
9
|
-
* :moneybag: Returns useful information: `name`, `path`, `dirent` and `stats` (optional).
|
|
10
|
-
* :gear: On Node.js 10.10+ uses the mechanism without additional calls to determine the entry type. See [`old` and `modern` mode](#old-and-modern-mode).
|
|
11
|
-
* :link: Can safely work with broken symbolic links.
|
|
12
|
-
|
|
13
|
-
## Install
|
|
14
|
-
|
|
15
|
-
```console
|
|
16
|
-
npm install @nodelib/fs.scandir
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
import * as fsScandir from '@nodelib/fs.scandir';
|
|
23
|
-
|
|
24
|
-
fsScandir.scandir('path', (error, stats) => { /* … */ });
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## API
|
|
28
|
-
|
|
29
|
-
### .scandir(path, [optionsOrSettings], callback)
|
|
30
|
-
|
|
31
|
-
Returns an array of plain objects ([`Entry`](#entry)) with information about entry for provided path with standard callback-style.
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
fsScandir.scandir('path', (error, entries) => { /* … */ });
|
|
35
|
-
fsScandir.scandir('path', {}, (error, entries) => { /* … */ });
|
|
36
|
-
fsScandir.scandir('path', new fsScandir.Settings(), (error, entries) => { /* … */ });
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### .scandirSync(path, [optionsOrSettings])
|
|
40
|
-
|
|
41
|
-
Returns an array of plain objects ([`Entry`](#entry)) with information about entry for provided path.
|
|
42
|
-
|
|
43
|
-
```ts
|
|
44
|
-
const entries = fsScandir.scandirSync('path');
|
|
45
|
-
const entries = fsScandir.scandirSync('path', {});
|
|
46
|
-
const entries = fsScandir.scandirSync(('path', new fsScandir.Settings());
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
#### path
|
|
50
|
-
|
|
51
|
-
* Required: `true`
|
|
52
|
-
* Type: `string | Buffer | URL`
|
|
53
|
-
|
|
54
|
-
A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
55
|
-
|
|
56
|
-
#### optionsOrSettings
|
|
57
|
-
|
|
58
|
-
* Required: `false`
|
|
59
|
-
* Type: `Options | Settings`
|
|
60
|
-
* Default: An instance of `Settings` class
|
|
61
|
-
|
|
62
|
-
An [`Options`](#options) object or an instance of [`Settings`](#settingsoptions) class.
|
|
63
|
-
|
|
64
|
-
> :book: When you pass a plain object, an instance of the `Settings` class will be created automatically. If you plan to call the method frequently, use a pre-created instance of the `Settings` class.
|
|
65
|
-
|
|
66
|
-
### Settings([options])
|
|
67
|
-
|
|
68
|
-
A class of full settings of the package.
|
|
69
|
-
|
|
70
|
-
```ts
|
|
71
|
-
const settings = new fsScandir.Settings({ followSymbolicLinks: false });
|
|
72
|
-
|
|
73
|
-
const entries = fsScandir.scandirSync('path', settings);
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## Entry
|
|
77
|
-
|
|
78
|
-
* `name` — The name of the entry (`unknown.txt`).
|
|
79
|
-
* `path` — The path of the entry relative to call directory (`root/unknown.txt`).
|
|
80
|
-
* `dirent` — An instance of [`fs.Dirent`](./src/types/index.ts) class. On Node.js below 10.10 will be emulated by [`DirentFromStats`](./src/utils/fs.ts) class.
|
|
81
|
-
* `stats` (optional) — An instance of `fs.Stats` class.
|
|
82
|
-
|
|
83
|
-
For example, the `scandir` call for `tools` directory with one directory inside:
|
|
84
|
-
|
|
85
|
-
```ts
|
|
86
|
-
{
|
|
87
|
-
dirent: Dirent { name: 'typedoc', /* … */ },
|
|
88
|
-
name: 'typedoc',
|
|
89
|
-
path: 'tools/typedoc'
|
|
90
|
-
}
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
## Options
|
|
94
|
-
|
|
95
|
-
### stats
|
|
96
|
-
|
|
97
|
-
* Type: `boolean`
|
|
98
|
-
* Default: `false`
|
|
99
|
-
|
|
100
|
-
Adds an instance of `fs.Stats` class to the [`Entry`](#entry).
|
|
101
|
-
|
|
102
|
-
> :book: Always use `fs.readdir` without the `withFileTypes` option. ??TODO??
|
|
103
|
-
|
|
104
|
-
### followSymbolicLinks
|
|
105
|
-
|
|
106
|
-
* Type: `boolean`
|
|
107
|
-
* Default: `false`
|
|
108
|
-
|
|
109
|
-
Follow symbolic links or not. Call `fs.stat` on symbolic link if `true`.
|
|
110
|
-
|
|
111
|
-
### `throwErrorOnBrokenSymbolicLink`
|
|
112
|
-
|
|
113
|
-
* Type: `boolean`
|
|
114
|
-
* Default: `true`
|
|
115
|
-
|
|
116
|
-
Throw an error when symbolic link is broken if `true` or safely use `lstat` call if `false`.
|
|
117
|
-
|
|
118
|
-
### `pathSegmentSeparator`
|
|
119
|
-
|
|
120
|
-
* Type: `string`
|
|
121
|
-
* Default: `path.sep`
|
|
122
|
-
|
|
123
|
-
By default, this package uses the correct path separator for your OS (`\` on Windows, `/` on Unix-like systems). But you can set this option to any separator character(s) that you want to use instead.
|
|
124
|
-
|
|
125
|
-
### `fs`
|
|
126
|
-
|
|
127
|
-
* Type: [`FileSystemAdapter`](./src/adapters/fs.ts)
|
|
128
|
-
* Default: A default FS methods
|
|
129
|
-
|
|
130
|
-
By default, the built-in Node.js module (`fs`) is used to work with the file system. You can replace any method with your own.
|
|
131
|
-
|
|
132
|
-
```ts
|
|
133
|
-
interface FileSystemAdapter {
|
|
134
|
-
lstat?: typeof fs.lstat;
|
|
135
|
-
stat?: typeof fs.stat;
|
|
136
|
-
lstatSync?: typeof fs.lstatSync;
|
|
137
|
-
statSync?: typeof fs.statSync;
|
|
138
|
-
readdir?: typeof fs.readdir;
|
|
139
|
-
readdirSync?: typeof fs.readdirSync;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
const settings = new fsScandir.Settings({
|
|
143
|
-
fs: { lstat: fakeLstat }
|
|
144
|
-
});
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
## `old` and `modern` mode
|
|
148
|
-
|
|
149
|
-
This package has two modes that are used depending on the environment and parameters of use.
|
|
150
|
-
|
|
151
|
-
### old
|
|
152
|
-
|
|
153
|
-
* Node.js below `10.10` or when the `stats` option is enabled
|
|
154
|
-
|
|
155
|
-
When working in the old mode, the directory is read first (`fs.readdir`), then the type of entries is determined (`fs.lstat` and/or `fs.stat` for symbolic links).
|
|
156
|
-
|
|
157
|
-
### modern
|
|
158
|
-
|
|
159
|
-
* Node.js 10.10+ and the `stats` option is disabled
|
|
160
|
-
|
|
161
|
-
In the modern mode, reading the directory (`fs.readdir` with the `withFileTypes` option) is combined with obtaining information about its entries. An additional call for symbolic links (`fs.stat`) is still present.
|
|
162
|
-
|
|
163
|
-
This mode makes fewer calls to the file system. It's faster.
|
|
164
|
-
|
|
165
|
-
## Changelog
|
|
166
|
-
|
|
167
|
-
See the [Releases section of our GitHub project](https://github.com/nodelib/nodelib/releases) for changelog for each release version.
|
|
168
|
-
|
|
169
|
-
## License
|
|
170
|
-
|
|
171
|
-
This software is released under the terms of the MIT license.
|