Initial commit...

new file:   archetypes/default.md
	new file:   config.toml
	new file:   content/about/_index.md
	new file:   content/access/_index.md
	new file:   content/background.jpg
	new file:   content/background.mp4
	new file:   content/blog/_index.md
	new file:   content/manifesto/_index.md
	new file:   content/posts/_index.md
	new file:   content/posts/apple-breaks-privacy.md
	new file:   content/posts/main_street_against_big_tech.md
	new file:   content/posts/template.md
	new file:   content/posts/what_is_done_with_personal_data.md
	new file:   content/projects/_index.md
	new file:   node_modules/.bin/nanoid
	new file:   node_modules/.bin/postcss
	new file:   node_modules/.package-lock.json
	new file:   node_modules/@nodelib/fs.scandir/LICENSE
	new file:   node_modules/@nodelib/fs.scandir/README.md
	new file:   node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/adapters/fs.js
	new file:   node_modules/@nodelib/fs.scandir/out/constants.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/constants.js
	new file:   node_modules/@nodelib/fs.scandir/out/index.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/index.js
	new file:   node_modules/@nodelib/fs.scandir/out/providers/async.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/providers/async.js
	new file:   node_modules/@nodelib/fs.scandir/out/providers/common.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/providers/common.js
	new file:   node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/providers/sync.js
	new file:   node_modules/@nodelib/fs.scandir/out/settings.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/settings.js
	new file:   node_modules/@nodelib/fs.scandir/out/types/index.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/types/index.js
	new file:   node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/utils/fs.js
	new file:   node_modules/@nodelib/fs.scandir/out/utils/index.d.ts
	new file:   node_modules/@nodelib/fs.scandir/out/utils/index.js
	new file:   node_modules/@nodelib/fs.scandir/package.json
	new file:   node_modules/@nodelib/fs.stat/LICENSE
	new file:   node_modules/@nodelib/fs.stat/README.md
	new file:   node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts
	new file:   node_modules/@nodelib/fs.stat/out/adapters/fs.js
	new file:   node_modules/@nodelib/fs.stat/out/index.d.ts
	new file:   node_modules/@nodelib/fs.stat/out/index.js
	new file:   node_modules/@nodelib/fs.stat/out/providers/async.d.ts
	new file:   node_modules/@nodelib/fs.stat/out/providers/async.js
	new file:   node_modules/@nodelib/fs.stat/out/providers/sync.d.ts
	new file:   node_modules/@nodelib/fs.stat/out/providers/sync.js
	new file:   node_modules/@nodelib/fs.stat/out/settings.d.ts
	new file:   node_modules/@nodelib/fs.stat/out/settings.js
	new file:   node_modules/@nodelib/fs.stat/out/types/index.d.ts
	new file:   node_modules/@nodelib/fs.stat/out/types/index.js
	new file:   node_modules/@nodelib/fs.stat/package.json
	new file:   node_modules/@nodelib/fs.walk/LICENSE
	new file:   node_modules/@nodelib/fs.walk/README.md
	new file:   node_modules/@nodelib/fs.walk/out/index.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/index.js
	new file:   node_modules/@nodelib/fs.walk/out/providers/async.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/providers/async.js
	new file:   node_modules/@nodelib/fs.walk/out/providers/index.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/providers/index.js
	new file:   node_modules/@nodelib/fs.walk/out/providers/stream.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/providers/stream.js
	new file:   node_modules/@nodelib/fs.walk/out/providers/sync.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/providers/sync.js
	new file:   node_modules/@nodelib/fs.walk/out/readers/async.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/readers/async.js
	new file:   node_modules/@nodelib/fs.walk/out/readers/common.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/readers/common.js
	new file:   node_modules/@nodelib/fs.walk/out/readers/reader.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/readers/reader.js
	new file:   node_modules/@nodelib/fs.walk/out/readers/sync.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/readers/sync.js
	new file:   node_modules/@nodelib/fs.walk/out/settings.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/settings.js
	new file:   node_modules/@nodelib/fs.walk/out/types/index.d.ts
	new file:   node_modules/@nodelib/fs.walk/out/types/index.js
	new file:   node_modules/@nodelib/fs.walk/package.json
	new file:   node_modules/ansi-regex/index.d.ts
	new file:   node_modules/ansi-regex/index.js
	new file:   node_modules/ansi-regex/license
	new file:   node_modules/ansi-regex/package.json
	new file:   node_modules/ansi-regex/readme.md
	new file:   node_modules/ansi-styles/index.d.ts
	new file:   node_modules/ansi-styles/index.js
	new file:   node_modules/ansi-styles/license
	new file:   node_modules/ansi-styles/package.json
	new file:   node_modules/ansi-styles/readme.md
	new file:   node_modules/anymatch/LICENSE
	new file:   node_modules/anymatch/README.md
	new file:   node_modules/anymatch/index.d.ts
	new file:   node_modules/anymatch/index.js
	new file:   node_modules/anymatch/package.json
	new file:   node_modules/array-union/index.d.ts
	new file:   node_modules/array-union/index.js
	new file:   node_modules/array-union/license
	new file:   node_modules/array-union/package.json
	new file:   node_modules/array-union/readme.md
	new file:   node_modules/binary-extensions/binary-extensions.json
	new file:   node_modules/binary-extensions/binary-extensions.json.d.ts
	new file:   node_modules/binary-extensions/index.d.ts
	new file:   node_modules/binary-extensions/index.js
	new file:   node_modules/binary-extensions/license
	new file:   node_modules/binary-extensions/package.json
	new file:   node_modules/binary-extensions/readme.md
	new file:   node_modules/braces/CHANGELOG.md
	new file:   node_modules/braces/LICENSE
	new file:   node_modules/braces/README.md
	new file:   node_modules/braces/index.js
	new file:   node_modules/braces/lib/compile.js
	new file:   node_modules/braces/lib/constants.js
	new file:   node_modules/braces/lib/expand.js
	new file:   node_modules/braces/lib/parse.js
	new file:   node_modules/braces/lib/stringify.js
	new file:   node_modules/braces/lib/utils.js
	new file:   node_modules/braces/package.json
	new file:   node_modules/chokidar/LICENSE
	new file:   node_modules/chokidar/README.md
	new file:   node_modules/chokidar/index.js
	new file:   node_modules/chokidar/lib/constants.js
	new file:   node_modules/chokidar/lib/fsevents-handler.js
	new file:   node_modules/chokidar/lib/nodefs-handler.js
	new file:   node_modules/chokidar/package.json
	new file:   node_modules/chokidar/types/index.d.ts
	new file:   node_modules/cliui/CHANGELOG.md
	new file:   node_modules/cliui/LICENSE.txt
	new file:   node_modules/cliui/README.md
	new file:   node_modules/cliui/build/index.cjs
	new file:   node_modules/cliui/build/lib/index.js
	new file:   node_modules/cliui/build/lib/string-utils.js
	new file:   node_modules/cliui/index.mjs
	new file:   node_modules/cliui/package.json
	new file:   node_modules/color-convert/CHANGELOG.md
	new file:   node_modules/color-convert/LICENSE
	new file:   node_modules/color-convert/README.md
	new file:   node_modules/color-convert/conversions.js
	new file:   node_modules/color-convert/index.js
	new file:   node_modules/color-convert/package.json
	new file:   node_modules/color-convert/route.js
	new file:   node_modules/color-name/LICENSE
	new file:   node_modules/color-name/README.md
	new file:   node_modules/color-name/index.js
	new file:   node_modules/color-name/package.json
	new file:   node_modules/dependency-graph/CHANGELOG.md
	new file:   node_modules/dependency-graph/LICENSE
	new file:   node_modules/dependency-graph/README.md
	new file:   node_modules/dependency-graph/lib/dep_graph.js
	new file:   node_modules/dependency-graph/lib/index.d.ts
	new file:   node_modules/dependency-graph/package.json
	new file:   node_modules/dependency-graph/specs/dep_graph_spec.js
	new file:   node_modules/dir-glob/index.js
	new file:   node_modules/dir-glob/license
	new file:   node_modules/dir-glob/package.json
	new file:   node_modules/dir-glob/readme.md
	new file:   node_modules/emoji-regex/LICENSE-MIT.txt
	new file:   node_modules/emoji-regex/README.md
	new file:   node_modules/emoji-regex/es2015/index.js
	new file:   node_modules/emoji-regex/es2015/text.js
	new file:   node_modules/emoji-regex/index.d.ts
	new file:   node_modules/emoji-regex/index.js
	new file:   node_modules/emoji-regex/package.json
	new file:   node_modules/emoji-regex/text.js
	new file:   node_modules/escalade/dist/index.js
	new file:   node_modules/escalade/dist/index.mjs
	new file:   node_modules/escalade/index.d.ts
	new file:   node_modules/escalade/license
	new file:   node_modules/escalade/package.json
	new file:   node_modules/escalade/readme.md
	new file:   node_modules/escalade/sync/index.d.ts
	new file:   node_modules/escalade/sync/index.js
	new file:   node_modules/escalade/sync/index.mjs
	new file:   node_modules/fast-glob/LICENSE
	new file:   node_modules/fast-glob/README.md
	new file:   node_modules/fast-glob/out/index.d.ts
	new file:   node_modules/fast-glob/out/index.js
	new file:   node_modules/fast-glob/out/managers/patterns.d.ts
	new file:   node_modules/fast-glob/out/managers/patterns.js
	new file:   node_modules/fast-glob/out/managers/tasks.d.ts
	new file:   node_modules/fast-glob/out/managers/tasks.js
	new file:   node_modules/fast-glob/out/providers/async.d.ts
	new file:   node_modules/fast-glob/out/providers/async.js
	new file:   node_modules/fast-glob/out/providers/filters/deep.d.ts
	new file:   node_modules/fast-glob/out/providers/filters/deep.js
	new file:   node_modules/fast-glob/out/providers/filters/entry.d.ts
	new file:   node_modules/fast-glob/out/providers/filters/entry.js
	new file:   node_modules/fast-glob/out/providers/filters/error.d.ts
	new file:   node_modules/fast-glob/out/providers/filters/error.js
	new file:   node_modules/fast-glob/out/providers/matchers/matcher.d.ts
	new file:   node_modules/fast-glob/out/providers/matchers/matcher.js
	new file:   node_modules/fast-glob/out/providers/matchers/partial.d.ts
	new file:   node_modules/fast-glob/out/providers/matchers/partial.js
	new file:   node_modules/fast-glob/out/providers/provider.d.ts
	new file:   node_modules/fast-glob/out/providers/provider.js
	new file:   node_modules/fast-glob/out/providers/stream.d.ts
	new file:   node_modules/fast-glob/out/providers/stream.js
	new file:   node_modules/fast-glob/out/providers/sync.d.ts
	new file:   node_modules/fast-glob/out/providers/sync.js
	new file:   node_modules/fast-glob/out/providers/transformers/entry.d.ts
	new file:   node_modules/fast-glob/out/providers/transformers/entry.js
	new file:   node_modules/fast-glob/out/readers/reader.d.ts
	new file:   node_modules/fast-glob/out/readers/reader.js
	new file:   node_modules/fast-glob/out/readers/stream.d.ts
	new file:   node_modules/fast-glob/out/readers/stream.js
	new file:   node_modules/fast-glob/out/readers/sync.d.ts
	new file:   node_modules/fast-glob/out/readers/sync.js
	new file:   node_modules/fast-glob/out/settings.d.ts
	new file:   node_modules/fast-glob/out/settings.js
	new file:   node_modules/fast-glob/out/types/index.d.ts
	new file:   node_modules/fast-glob/out/types/index.js
	new file:   node_modules/fast-glob/out/utils/array.d.ts
	new file:   node_modules/fast-glob/out/utils/array.js
	new file:   node_modules/fast-glob/out/utils/errno.d.ts
	new file:   node_modules/fast-glob/out/utils/errno.js
	new file:   node_modules/fast-glob/out/utils/fs.d.ts
	new file:   node_modules/fast-glob/out/utils/fs.js
	new file:   node_modules/fast-glob/out/utils/index.d.ts
	new file:   node_modules/fast-glob/out/utils/index.js
	new file:   node_modules/fast-glob/out/utils/path.d.ts
	new file:   node_modules/fast-glob/out/utils/path.js
	new file:   node_modules/fast-glob/out/utils/pattern.d.ts
	new file:   node_modules/fast-glob/out/utils/pattern.js
	new file:   node_modules/fast-glob/out/utils/stream.d.ts
	new file:   node_modules/fast-glob/out/utils/stream.js
	new file:   node_modules/fast-glob/out/utils/string.d.ts
	new file:   node_modules/fast-glob/out/utils/string.js
	new file:   node_modules/fast-glob/package.json
	new file:   node_modules/fastq/.github/dependabot.yml
	new file:   node_modules/fastq/.github/workflows/ci.yml
	new file:   node_modules/fastq/LICENSE
	new file:   node_modules/fastq/README.md
	new file:   node_modules/fastq/bench.js
	new file:   node_modules/fastq/example.js
	new file:   node_modules/fastq/example.mjs
	new file:   node_modules/fastq/index.d.ts
	new file:   node_modules/fastq/package.json
	new file:   node_modules/fastq/queue.js
	new file:   node_modules/fastq/test/example.ts
	new file:   node_modules/fastq/test/promise.js
	new file:   node_modules/fastq/test/test.js
	new file:   node_modules/fastq/test/tsconfig.json
	new file:   node_modules/fill-range/LICENSE
	new file:   node_modules/fill-range/README.md
	new file:   node_modules/fill-range/index.js
	new file:   node_modules/fill-range/package.json
	new file:   node_modules/fs-extra/CHANGELOG.md
	new file:   node_modules/fs-extra/LICENSE
	new file:   node_modules/fs-extra/README.md
	new file:   node_modules/fs-extra/lib/copy-sync/copy-sync.js
	new file:   node_modules/fs-extra/lib/copy-sync/index.js
	new file:   node_modules/fs-extra/lib/copy/copy.js
	new file:   node_modules/fs-extra/lib/copy/index.js
	new file:   node_modules/fs-extra/lib/empty/index.js
	new file:   node_modules/fs-extra/lib/ensure/file.js
	new file:   node_modules/fs-extra/lib/ensure/index.js
	new file:   node_modules/fs-extra/lib/ensure/link.js
	new file:   node_modules/fs-extra/lib/ensure/symlink-paths.js
	new file:   node_modules/fs-extra/lib/ensure/symlink-type.js
	new file:   node_modules/fs-extra/lib/ensure/symlink.js
	new file:   node_modules/fs-extra/lib/fs/index.js
	new file:   node_modules/fs-extra/lib/index.js
	new file:   node_modules/fs-extra/lib/json/index.js
	new file:   node_modules/fs-extra/lib/json/jsonfile.js
	new file:   node_modules/fs-extra/lib/json/output-json-sync.js
	new file:   node_modules/fs-extra/lib/json/output-json.js
	new file:   node_modules/fs-extra/lib/mkdirs/index.js
	new file:   node_modules/fs-extra/lib/mkdirs/make-dir.js
	new file:   node_modules/fs-extra/lib/mkdirs/utils.js
	new file:   node_modules/fs-extra/lib/move-sync/index.js
	new file:   node_modules/fs-extra/lib/move-sync/move-sync.js
	new file:   node_modules/fs-extra/lib/move/index.js
	new file:   node_modules/fs-extra/lib/move/move.js
	new file:   node_modules/fs-extra/lib/output/index.js
	new file:   node_modules/fs-extra/lib/path-exists/index.js
	new file:   node_modules/fs-extra/lib/remove/index.js
	new file:   node_modules/fs-extra/lib/remove/rimraf.js
	new file:   node_modules/fs-extra/lib/util/stat.js
	new file:   node_modules/fs-extra/lib/util/utimes.js
	new file:   node_modules/fs-extra/package.json
	new file:   node_modules/get-caller-file/LICENSE.md
	new file:   node_modules/get-caller-file/README.md
	new file:   node_modules/get-caller-file/index.d.ts
	new file:   node_modules/get-caller-file/index.js
	new file:   node_modules/get-caller-file/index.js.map
	new file:   node_modules/get-caller-file/package.json
	new file:   node_modules/get-stdin/index.d.ts
	new file:   node_modules/get-stdin/index.js
	new file:   node_modules/get-stdin/license
	new file:   node_modules/get-stdin/package.json
	new file:   node_modules/get-stdin/readme.md
	new file:   node_modules/glob-parent/CHANGELOG.md
	new file:   node_modules/glob-parent/LICENSE
	new file:   node_modules/glob-parent/README.md
	new file:   node_modules/glob-parent/index.js
	new file:   node_modules/glob-parent/package.json
	new file:   node_modules/globby/gitignore.js
	new file:   node_modules/globby/index.d.ts
	new file:   node_modules/globby/index.js
	new file:   node_modules/globby/license
	new file:   node_modules/globby/package.json
	new file:   node_modules/globby/readme.md
	new file:   node_modules/globby/stream-utils.js
	new file:   node_modules/globby/to-path.js
	new file:   node_modules/graceful-fs/LICENSE
	new file:   node_modules/graceful-fs/README.md
	new file:   node_modules/graceful-fs/clone.js
	new file:   node_modules/graceful-fs/graceful-fs.js
	new file:   node_modules/graceful-fs/legacy-streams.js
	new file:   node_modules/graceful-fs/package.json
	new file:   node_modules/graceful-fs/polyfills.js
	new file:   node_modules/ignore/LICENSE-MIT
	new file:   node_modules/ignore/README.md
	new file:   node_modules/ignore/index.d.ts
	new file:   node_modules/ignore/index.js
	new file:   node_modules/ignore/legacy.js
	new file:   node_modules/ignore/package.json
	new file:   node_modules/is-binary-path/index.d.ts
	new file:   node_modules/is-binary-path/index.js
	new file:   node_modules/is-binary-path/license
	new file:   node_modules/is-binary-path/package.json
	new file:   node_modules/is-binary-path/readme.md
	new file:   node_modules/is-extglob/LICENSE
	new file:   node_modules/is-extglob/README.md
	new file:   node_modules/is-extglob/index.js
	new file:   node_modules/is-extglob/package.json
	new file:   node_modules/is-fullwidth-code-point/index.d.ts
	new file:   node_modules/is-fullwidth-code-point/index.js
	new file:   node_modules/is-fullwidth-code-point/license
	new file:   node_modules/is-fullwidth-code-point/package.json
	new file:   node_modules/is-fullwidth-code-point/readme.md
	new file:   node_modules/is-glob/LICENSE
	new file:   node_modules/is-glob/README.md
	new file:   node_modules/is-glob/index.js
	new file:   node_modules/is-glob/package.json
	new file:   node_modules/is-number/LICENSE
	new file:   node_modules/is-number/README.md
	new file:   node_modules/is-number/index.js
	new file:   node_modules/is-number/package.json
	new file:   node_modules/jsonfile/CHANGELOG.md
	new file:   node_modules/jsonfile/LICENSE
	new file:   node_modules/jsonfile/README.md
	new file:   node_modules/jsonfile/index.js
	new file:   node_modules/jsonfile/package.json
	new file:   node_modules/jsonfile/utils.js
	new file:   node_modules/lilconfig/dist/index.d.ts
	new file:   node_modules/lilconfig/dist/index.js
	new file:   node_modules/lilconfig/package.json
	new file:   node_modules/lilconfig/readme.md
	new file:   node_modules/merge2/LICENSE
	new file:   node_modules/merge2/README.md
	new file:   node_modules/merge2/index.js
	new file:   node_modules/merge2/package.json
	new file:   node_modules/micromatch/CHANGELOG.md
	new file:   node_modules/micromatch/LICENSE
	new file:   node_modules/micromatch/README.md
	new file:   node_modules/micromatch/index.js
	new file:   node_modules/micromatch/package.json
	new file:   node_modules/nanoid/LICENSE
	new file:   node_modules/nanoid/README.md
	new file:   node_modules/nanoid/async/index.browser.cjs
	new file:   node_modules/nanoid/async/index.browser.js
	new file:   node_modules/nanoid/async/index.cjs
	new file:   node_modules/nanoid/async/index.d.ts
	new file:   node_modules/nanoid/async/index.js
	new file:   node_modules/nanoid/async/index.native.js
	new file:   node_modules/nanoid/async/package.json
	new file:   node_modules/nanoid/bin/nanoid.cjs
	new file:   node_modules/nanoid/index.browser.cjs
	new file:   node_modules/nanoid/index.browser.js
	new file:   node_modules/nanoid/index.cjs
	new file:   node_modules/nanoid/index.d.ts
	new file:   node_modules/nanoid/index.dev.js
	new file:   node_modules/nanoid/index.js
	new file:   node_modules/nanoid/index.prod.js
	new file:   node_modules/nanoid/nanoid.js
	new file:   node_modules/nanoid/non-secure/index.cjs
	new file:   node_modules/nanoid/non-secure/index.d.ts
	new file:   node_modules/nanoid/non-secure/index.js
	new file:   node_modules/nanoid/non-secure/package.json
	new file:   node_modules/nanoid/package.json
	new file:   node_modules/nanoid/url-alphabet/index.cjs
	new file:   node_modules/nanoid/url-alphabet/index.js
	new file:   node_modules/nanoid/url-alphabet/package.json
	new file:   node_modules/normalize-path/LICENSE
	new file:   node_modules/normalize-path/README.md
	new file:   node_modules/normalize-path/index.js
	new file:   node_modules/normalize-path/package.json
	new file:   node_modules/path-type/index.d.ts
	new file:   node_modules/path-type/index.js
	new file:   node_modules/path-type/license
	new file:   node_modules/path-type/package.json
	new file:   node_modules/path-type/readme.md
	new file:   node_modules/picocolors/LICENSE
	new file:   node_modules/picocolors/README.md
	new file:   node_modules/picocolors/package.json
	new file:   node_modules/picocolors/picocolors.browser.js
	new file:   node_modules/picocolors/picocolors.d.ts
	new file:   node_modules/picocolors/picocolors.js
	new file:   node_modules/picocolors/types.ts
	new file:   node_modules/picomatch/CHANGELOG.md
	new file:   node_modules/picomatch/LICENSE
	new file:   node_modules/picomatch/README.md
	new file:   node_modules/picomatch/index.js
	new file:   node_modules/picomatch/lib/constants.js
	new file:   node_modules/picomatch/lib/parse.js
	new file:   node_modules/picomatch/lib/picomatch.js
	new file:   node_modules/picomatch/lib/scan.js
	new file:   node_modules/picomatch/lib/utils.js
	new file:   node_modules/picomatch/package.json
	new file:   node_modules/pify/index.js
	new file:   node_modules/pify/license
	new file:   node_modules/pify/package.json
	new file:   node_modules/pify/readme.md
	new file:   node_modules/postcss-cli/LICENSE
	new file:   node_modules/postcss-cli/README.md
	new file:   node_modules/postcss-cli/index.js
	new file:   node_modules/postcss-cli/lib/DependencyGraph.js
	new file:   node_modules/postcss-cli/lib/args.js
	new file:   node_modules/postcss-cli/lib/getMapfile.js
	new file:   node_modules/postcss-cli/package.json
	new file:   node_modules/postcss-load-config/LICENSE
	new file:   node_modules/postcss-load-config/README.md
	new file:   node_modules/postcss-load-config/package.json
	new file:   node_modules/postcss-load-config/src/index.d.ts
	new file:   node_modules/postcss-load-config/src/index.js
	new file:   node_modules/postcss-load-config/src/options.js
	new file:   node_modules/postcss-load-config/src/plugins.js
	new file:   node_modules/postcss-load-config/src/req.js
	new file:   node_modules/postcss-reporter/LICENSE
	new file:   node_modules/postcss-reporter/README.md
	new file:   node_modules/postcss-reporter/index.js
	new file:   node_modules/postcss-reporter/lib/formatter.js
	new file:   node_modules/postcss-reporter/lib/reporter.js
	new file:   node_modules/postcss-reporter/lib/util.js
	new file:   node_modules/postcss-reporter/package.json
	new file:   node_modules/postcss/LICENSE
	new file:   node_modules/postcss/README.md
	new file:   node_modules/postcss/lib/at-rule.d.ts
	new file:   node_modules/postcss/lib/at-rule.js
	new file:   node_modules/postcss/lib/comment.d.ts
	new file:   node_modules/postcss/lib/comment.js
	new file:   node_modules/postcss/lib/container.d.ts
	new file:   node_modules/postcss/lib/container.js
	new file:   node_modules/postcss/lib/css-syntax-error.d.ts
	new file:   node_modules/postcss/lib/css-syntax-error.js
	new file:   node_modules/postcss/lib/declaration.d.ts
	new file:   node_modules/postcss/lib/declaration.js
	new file:   node_modules/postcss/lib/document.d.ts
	new file:   node_modules/postcss/lib/document.js
	new file:   node_modules/postcss/lib/fromJSON.d.ts
	new file:   node_modules/postcss/lib/fromJSON.js
	new file:   node_modules/postcss/lib/input.d.ts
	new file:   node_modules/postcss/lib/input.js
	new file:   node_modules/postcss/lib/lazy-result.d.ts
	new file:   node_modules/postcss/lib/lazy-result.js
	new file:   node_modules/postcss/lib/list.d.ts
	new file:   node_modules/postcss/lib/list.js
	new file:   node_modules/postcss/lib/map-generator.js
	new file:   node_modules/postcss/lib/no-work-result.d.ts
	new file:   node_modules/postcss/lib/no-work-result.js
	new file:   node_modules/postcss/lib/node.d.ts
	new file:   node_modules/postcss/lib/node.js
	new file:   node_modules/postcss/lib/parse.d.ts
	new file:   node_modules/postcss/lib/parse.js
	new file:   node_modules/postcss/lib/parser.js
	new file:   node_modules/postcss/lib/postcss.d.ts
	new file:   node_modules/postcss/lib/postcss.js
	new file:   node_modules/postcss/lib/postcss.mjs
	new file:   node_modules/postcss/lib/previous-map.d.ts
	new file:   node_modules/postcss/lib/previous-map.js
	new file:   node_modules/postcss/lib/processor.d.ts
	new file:   node_modules/postcss/lib/processor.js
	new file:   node_modules/postcss/lib/result.d.ts
	new file:   node_modules/postcss/lib/result.js
	new file:   node_modules/postcss/lib/root.d.ts
	new file:   node_modules/postcss/lib/root.js
	new file:   node_modules/postcss/lib/rule.d.ts
	new file:   node_modules/postcss/lib/rule.js
	new file:   node_modules/postcss/lib/stringifier.d.ts
	new file:   node_modules/postcss/lib/stringifier.js
	new file:   node_modules/postcss/lib/stringify.d.ts
	new file:   node_modules/postcss/lib/stringify.js
	new file:   node_modules/postcss/lib/symbols.js
	new file:   node_modules/postcss/lib/terminal-highlight.js
	new file:   node_modules/postcss/lib/tokenize.js
	new file:   node_modules/postcss/lib/warn-once.js
	new file:   node_modules/postcss/lib/warning.d.ts
	new file:   node_modules/postcss/lib/warning.js
	new file:   node_modules/postcss/package.json
	new file:   node_modules/pretty-hrtime/.jshintignore
	new file:   node_modules/pretty-hrtime/.npmignore
	new file:   node_modules/pretty-hrtime/LICENSE
	new file:   node_modules/pretty-hrtime/README.md
	new file:   node_modules/pretty-hrtime/index.js
	new file:   node_modules/pretty-hrtime/package.json
	new file:   node_modules/queue-microtask/LICENSE
	new file:   node_modules/queue-microtask/README.md
	new file:   node_modules/queue-microtask/index.d.ts
	new file:   node_modules/queue-microtask/index.js
	new file:   node_modules/queue-microtask/package.json
	new file:   node_modules/read-cache/LICENSE
	new file:   node_modules/read-cache/README.md
	new file:   node_modules/read-cache/index.js
	new file:   node_modules/read-cache/package.json
	new file:   node_modules/readdirp/LICENSE
	new file:   node_modules/readdirp/README.md
	new file:   node_modules/readdirp/index.d.ts
	new file:   node_modules/readdirp/index.js
	new file:   node_modules/readdirp/package.json
	new file:   node_modules/require-directory/.jshintrc
	new file:   node_modules/require-directory/.npmignore
	new file:   node_modules/require-directory/.travis.yml
	new file:   node_modules/require-directory/LICENSE
	new file:   node_modules/require-directory/README.markdown
	new file:   node_modules/require-directory/index.js
	new file:   node_modules/require-directory/package.json
	new file:   node_modules/reusify/.coveralls.yml
	new file:   node_modules/reusify/.travis.yml
	new file:   node_modules/reusify/LICENSE
	new file:   node_modules/reusify/README.md
	new file:   node_modules/reusify/benchmarks/createNoCodeFunction.js
	new file:   node_modules/reusify/benchmarks/fib.js
	new file:   node_modules/reusify/benchmarks/reuseNoCodeFunction.js
	new file:   node_modules/reusify/package.json
	new file:   node_modules/reusify/reusify.js
	new file:   node_modules/reusify/test.js
	new file:   node_modules/run-parallel/LICENSE
	new file:   node_modules/run-parallel/README.md
	new file:   node_modules/run-parallel/index.js
	new file:   node_modules/run-parallel/package.json
	new file:   node_modules/slash/index.d.ts
	new file:   node_modules/slash/index.js
	new file:   node_modules/slash/license
	new file:   node_modules/slash/package.json
	new file:   node_modules/slash/readme.md
	new file:   node_modules/source-map-js/CHANGELOG.md
	new file:   node_modules/source-map-js/LICENSE
	new file:   node_modules/source-map-js/README.md
	new file:   node_modules/source-map-js/lib/array-set.js
	new file:   node_modules/source-map-js/lib/base64-vlq.js
	new file:   node_modules/source-map-js/lib/base64.js
	new file:   node_modules/source-map-js/lib/binary-search.js
	new file:   node_modules/source-map-js/lib/mapping-list.js
	new file:   node_modules/source-map-js/lib/quick-sort.js
	new file:   node_modules/source-map-js/lib/source-map-consumer.js
	new file:   node_modules/source-map-js/lib/source-map-generator.js
	new file:   node_modules/source-map-js/lib/source-node.js
	new file:   node_modules/source-map-js/lib/util.js
	new file:   node_modules/source-map-js/package.json
	new file:   node_modules/source-map-js/source-map.d.ts
	new file:   node_modules/source-map-js/source-map.js
	new file:   node_modules/string-width/index.d.ts
	new file:   node_modules/string-width/index.js
	new file:   node_modules/string-width/license
	new file:   node_modules/string-width/package.json
	new file:   node_modules/string-width/readme.md
	new file:   node_modules/strip-ansi/index.d.ts
	new file:   node_modules/strip-ansi/index.js
	new file:   node_modules/strip-ansi/license
	new file:   node_modules/strip-ansi/package.json
	new file:   node_modules/strip-ansi/readme.md
	new file:   node_modules/thenby/LICENSE.TXT
	new file:   node_modules/thenby/README.md
	new file:   node_modules/thenby/package.json
	new file:   node_modules/thenby/thenBy.min.js
	new file:   node_modules/thenby/thenBy.module.d.ts
	new file:   node_modules/thenby/thenBy.module.js
	new file:   node_modules/to-regex-range/LICENSE
	new file:   node_modules/to-regex-range/README.md
	new file:   node_modules/to-regex-range/index.js
	new file:   node_modules/to-regex-range/package.json
	new file:   node_modules/universalify/LICENSE
	new file:   node_modules/universalify/README.md
	new file:   node_modules/universalify/index.js
	new file:   node_modules/universalify/package.json
	new file:   node_modules/wrap-ansi/index.js
	new file:   node_modules/wrap-ansi/license
	new file:   node_modules/wrap-ansi/package.json
	new file:   node_modules/wrap-ansi/readme.md
	new file:   node_modules/y18n/CHANGELOG.md
	new file:   node_modules/y18n/LICENSE
	new file:   node_modules/y18n/README.md
	new file:   node_modules/y18n/build/index.cjs
	new file:   node_modules/y18n/build/lib/cjs.js
	new file:   node_modules/y18n/build/lib/index.js
	new file:   node_modules/y18n/build/lib/platform-shims/node.js
	new file:   node_modules/y18n/index.mjs
	new file:   node_modules/y18n/package.json
	new file:   node_modules/yaml/LICENSE
	new file:   node_modules/yaml/README.md
	new file:   node_modules/yaml/browser/dist/PlainValue-b8036b75.js
	new file:   node_modules/yaml/browser/dist/Schema-e94716c8.js
	new file:   node_modules/yaml/browser/dist/index.js
	new file:   node_modules/yaml/browser/dist/legacy-exports.js
	new file:   node_modules/yaml/browser/dist/package.json
	new file:   node_modules/yaml/browser/dist/parse-cst.js
	new file:   node_modules/yaml/browser/dist/resolveSeq-492ab440.js
	new file:   node_modules/yaml/browser/dist/types.js
	new file:   node_modules/yaml/browser/dist/util.js
	new file:   node_modules/yaml/browser/dist/warnings-df54cb69.js
	new file:   node_modules/yaml/browser/index.js
	new file:   node_modules/yaml/browser/map.js
	new file:   node_modules/yaml/browser/pair.js
	new file:   node_modules/yaml/browser/parse-cst.js
	new file:   node_modules/yaml/browser/scalar.js
	new file:   node_modules/yaml/browser/schema.js
	new file:   node_modules/yaml/browser/seq.js
	new file:   node_modules/yaml/browser/types.js
	new file:   node_modules/yaml/browser/types/binary.js
	new file:   node_modules/yaml/browser/types/omap.js
	new file:   node_modules/yaml/browser/types/pairs.js
	new file:   node_modules/yaml/browser/types/set.js
	new file:   node_modules/yaml/browser/types/timestamp.js
	new file:   node_modules/yaml/browser/util.js
	new file:   node_modules/yaml/dist/Document-9b4560a1.js
	new file:   node_modules/yaml/dist/PlainValue-ec8e588e.js
	new file:   node_modules/yaml/dist/Schema-88e323a7.js
	new file:   node_modules/yaml/dist/index.js
	new file:   node_modules/yaml/dist/legacy-exports.js
	new file:   node_modules/yaml/dist/parse-cst.js
	new file:   node_modules/yaml/dist/resolveSeq-d03cb037.js
	new file:   node_modules/yaml/dist/test-events.js
	new file:   node_modules/yaml/dist/types.js
	new file:   node_modules/yaml/dist/util.js
	new file:   node_modules/yaml/dist/warnings-1000a372.js
	new file:   node_modules/yaml/index.d.ts
	new file:   node_modules/yaml/index.js
	new file:   node_modules/yaml/map.js
	new file:   node_modules/yaml/package.json
	new file:   node_modules/yaml/pair.js
	new file:   node_modules/yaml/parse-cst.d.ts
	new file:   node_modules/yaml/parse-cst.js
	new file:   node_modules/yaml/scalar.js
	new file:   node_modules/yaml/schema.js
	new file:   node_modules/yaml/seq.js
	new file:   node_modules/yaml/types.d.ts
	new file:   node_modules/yaml/types.js
	new file:   node_modules/yaml/types.mjs
	new file:   node_modules/yaml/types/binary.js
	new file:   node_modules/yaml/types/omap.js
	new file:   node_modules/yaml/types/pairs.js
	new file:   node_modules/yaml/types/set.js
	new file:   node_modules/yaml/types/timestamp.js
	new file:   node_modules/yaml/util.d.ts
	new file:   node_modules/yaml/util.js
	new file:   node_modules/yaml/util.mjs
	new file:   node_modules/yargs-parser/CHANGELOG.md
	new file:   node_modules/yargs-parser/LICENSE.txt
	new file:   node_modules/yargs-parser/README.md
	new file:   node_modules/yargs-parser/browser.js
	new file:   node_modules/yargs-parser/build/index.cjs
	new file:   node_modules/yargs-parser/build/lib/index.js
	new file:   node_modules/yargs-parser/build/lib/string-utils.js
	new file:   node_modules/yargs-parser/build/lib/tokenize-arg-string.js
	new file:   node_modules/yargs-parser/build/lib/yargs-parser-types.js
	new file:   node_modules/yargs-parser/build/lib/yargs-parser.js
	new file:   node_modules/yargs-parser/package.json
	new file:   node_modules/yargs/LICENSE
	new file:   node_modules/yargs/README.md
	new file:   node_modules/yargs/browser.mjs
	new file:   node_modules/yargs/build/index.cjs
	new file:   node_modules/yargs/build/lib/argsert.js
	new file:   node_modules/yargs/build/lib/command.js
	new file:   node_modules/yargs/build/lib/completion-templates.js
	new file:   node_modules/yargs/build/lib/completion.js
	new file:   node_modules/yargs/build/lib/middleware.js
	new file:   node_modules/yargs/build/lib/parse-command.js
	new file:   node_modules/yargs/build/lib/typings/common-types.js
	new file:   node_modules/yargs/build/lib/typings/yargs-parser-types.js
	new file:   node_modules/yargs/build/lib/usage.js
	new file:   node_modules/yargs/build/lib/utils/apply-extends.js
	new file:   node_modules/yargs/build/lib/utils/is-promise.js
	new file:   node_modules/yargs/build/lib/utils/levenshtein.js
	new file:   node_modules/yargs/build/lib/utils/maybe-async-result.js
	new file:   node_modules/yargs/build/lib/utils/obj-filter.js
	new file:   node_modules/yargs/build/lib/utils/process-argv.js
	new file:   node_modules/yargs/build/lib/utils/set-blocking.js
	new file:   node_modules/yargs/build/lib/utils/which-module.js
	new file:   node_modules/yargs/build/lib/validation.js
	new file:   node_modules/yargs/build/lib/yargs-factory.js
	new file:   node_modules/yargs/build/lib/yerror.js
	new file:   node_modules/yargs/helpers/helpers.mjs
	new file:   node_modules/yargs/helpers/index.js
	new file:   node_modules/yargs/helpers/package.json
	new file:   node_modules/yargs/index.cjs
	new file:   node_modules/yargs/index.mjs
	new file:   node_modules/yargs/lib/platform-shims/browser.mjs
	new file:   node_modules/yargs/lib/platform-shims/esm.mjs
	new file:   node_modules/yargs/locales/be.json
	new file:   node_modules/yargs/locales/de.json
	new file:   node_modules/yargs/locales/en.json
	new file:   node_modules/yargs/locales/es.json
	new file:   node_modules/yargs/locales/fi.json
	new file:   node_modules/yargs/locales/fr.json
	new file:   node_modules/yargs/locales/hi.json
	new file:   node_modules/yargs/locales/hu.json
	new file:   node_modules/yargs/locales/id.json
	new file:   node_modules/yargs/locales/it.json
	new file:   node_modules/yargs/locales/ja.json
	new file:   node_modules/yargs/locales/ko.json
	new file:   node_modules/yargs/locales/nb.json
	new file:   node_modules/yargs/locales/nl.json
	new file:   node_modules/yargs/locales/nn.json
	new file:   node_modules/yargs/locales/pirate.json
	new file:   node_modules/yargs/locales/pl.json
	new file:   node_modules/yargs/locales/pt.json
	new file:   node_modules/yargs/locales/pt_BR.json
	new file:   node_modules/yargs/locales/ru.json
	new file:   node_modules/yargs/locales/th.json
	new file:   node_modules/yargs/locales/tr.json
	new file:   node_modules/yargs/locales/uk_UA.json
	new file:   node_modules/yargs/locales/uz.json
	new file:   node_modules/yargs/locales/zh_CN.json
	new file:   node_modules/yargs/locales/zh_TW.json
	new file:   node_modules/yargs/package.json
	new file:   node_modules/yargs/yargs
	new file:   package-lock.json
	new file:   package.json
	new file:   public/about/index.html
	new file:   public/about/index.xml
	new file:   public/access/index.html
	new file:   public/access/index.xml
	new file:   public/background.jpg
	new file:   public/background.mp4
	new file:   public/blog/index.html
	new file:   public/blog/index.xml
	new file:   public/categories/index.html
	new file:   public/categories/index.xml
	new file:   public/css/default-skin.css
	new file:   public/css/default-skin.png
	new file:   public/css/default-skin.svg
	new file:   public/css/photoswipe.css
	new file:   public/css/preloader.gif
	new file:   public/css/style.css
	new file:   public/index.html
	new file:   public/index.xml
	new file:   public/js/photoswipe-ui-default.min.js
	new file:   public/js/photoswipe.min.js
	new file:   public/manifesto/index.html
	new file:   public/manifesto/index.xml
	new file:   public/posts/apple-breaks-privacy/index.html
	new file:   public/posts/index.html
	new file:   public/posts/index.xml
	new file:   public/posts/main_street_against_big_tech/index.html
	new file:   public/posts/manifesto/index.html
	new file:   public/posts/what_is_done_with_personal_data/index.html
	new file:   public/projects/index.html
	new file:   public/projects/index.xml
	new file:   public/sam.ico
	new file:   public/sitemap.xml
	new file:   public/tags/index.html
	new file:   public/tags/index.xml
	new file:   public/tn.png
	new file:   resources/_gen/assets/css/ananke/css/main.css_bb5467e0521bbea6b1e66429f6ec028e.content
	new file:   resources/_gen/assets/css/ananke/css/main.css_bb5467e0521bbea6b1e66429f6ec028e.json
	new file:   resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content
	new file:   resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.json
This commit is contained in:
david@federated.company 2023-04-21 08:57:54 -06:00
parent 71c218f9be
commit a1adfc8706
758 changed files with 82435 additions and 0 deletions

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

38
config.toml Normal file
View File

@ -0,0 +1,38 @@
baseURL = "http://federated.computer/"
languageCode = "en-us"
title = "Federated Computer"
theme = "sam"
enableEmoji = "true"
[[params.mainMenu]]
link = "/"
text = "Federated Computer"
[[params.mainMenu]]
link = "/manifesto"
text = "Our Manifesto"
[[params.mainMenu]]
link = "/access"
text = "Early Access"
[[params.mainMenu]]
link = "/projects"
text = "Projects"
[[params.mainMenu]]
link = "/posts"
text = "Posts"
[[params.mainMenu]]
link = "/about"
text = "About Us"
[[params.videoBackground.sources]]
source = "/background.mp4" # Your video file
type = "video/mp4"
poster = "/background.jpg" # The image to show when the video isn't playing
[params.videoBackground]
overlay = "rgba(0, 0, 0, 0.4)" # optional

43
content/about/_index.md Normal file
View File

@ -0,0 +1,43 @@
---
title: "About"
date: 2022-02-14T14:12:46-07:00
draft: false
---
[<Back](https://federated.computer)
## The Company :chart_with_upwards_trend:
Federated Computer is proudly located in Colorado Springs in the great state of Colorado under the majestic heights of Pikes Peak. We embrace the values of those who went before us here for full choice, freedom and respect for the people and places around us.
## The Team :rainbow:
Federated Computer was founded by pioneers in cloud computing who worked side-by-side at Joyent building one of the first and most consequential cloud companies.
- David Young: One of cloud-computing's pioneers. Founder and CEO of Joyent, Inc. Brought node.js, containers, public cloud, programmable datacenters, and cloud operating systems first to market. He also started an ice cream company ("Honeymoon Ice Cream") which may have been the toughest thing he's ever done in business.
## Careers :crown:
Federated Computer is hiring talented individuals who are experts in their respective fields and who are excited and passionate about our project to bring freedom to Customers everywhere. If you'd like to talk about joining, please send your resume and a cover letter to jobs@federated.company and we will be in touch. Promise. No recruiters, please. Federated Computer is an equal-opportunity company.
## Opensource :tada:
Federated is fully committed to open source as a movement, way of life, and company mission. We have been at the forefront of open-sourcing projects such as node.js, technologies for storage services, containers, cloud operating systems, and much more. We don't have enough, today, to meaningfully contribute to the community, but that will happen prior to our general release.
## Resellers and Partners :flags:
We welcome the chance to work with companies providing hosting and other open-source software and services. Please get in touch with us at partners@federated.company so that we can talk.
## Federation 2023 :alarm_clock:
Join us for the first Federation Conference in Summer, 2023 a free-wheeling meet-up to gather software freedom lovers from around the world. It will be held in Colorado Springs, Co. Send us email to info@federated.company to be notified of further details as they become available.
## Contact Us :postal_horn:
Email: info@federated.company.
:whale: Twitter: [@federatedcompu](https://twitter.com/federatedcompu) :crown: Careers: jobs@federated.company :flags: Partners and Resellers: partners@federated.company
:honeybee:
(c) 2022 Federated Computer, Inc.

35
content/access/_index.md Normal file
View File

@ -0,0 +1,35 @@
---
title: "Early Access"
date: 2022-02-14T14:12:23-07:00
draft: false
---
[<Back](https://federated.computer)
## Who Uses Federated Today?
Parts or whole of the Federated suite is used by privacy-loving early adoptors in departments and workgroups at these companies and institutions, among others :kissing_heart::
- [Private Island](https://privateisland.io)
- [Kona Kamps](https://konakamps.com)
- [Joyent](https://joyent.com)
- [LA Tri Club](https://latriclub.com)
- [Flake](https://www.veniceflake.com/)
- [Federated Computer](https://federated.computer)
- [Madison Capital](https://madisoncapital.com)
- [Norcia Benedictines](https://en.nursia.org/)
- [Kaizen Recruit](https://kaizenrecruit.com)
## Getting Access... :muscle:
You can also get early access to the Federated suite. It's battle-tested, secure, safe. Just not feature-complete and not everything has been fully integrated. But it works on the web and with all your favorite "fat" clients such as mail.app, calendar.app, Windows Mail.
If you'd like to get in on our early access program, send us some information about your organization to earlyaccess@federated.company. At the moment, we are only accepting customers at the $25/month tier which should be more than fine for a workgroup of 3-5 people. You get email, calendar, contacts...video conferencing...password managment and a whole lot more. We'll tell you what's on the menu when we touch base. Again, not everything is fully integrated, but it all works and you'll get exceptional, personal customer support.
## Earn Federated for "Life"!
You will have our eternal thanks for your participation in the early access program. When Federated reaches general availability, you can earn access to the $100/month tier (good for a department) for "life" by having five of your friends or colleagues sign up for the $25/month tier or higher for 12 months during the "early access" period. ("Life", for us, means 10 years...we're old souls.)
:smiley:
(c) 2022 Federated Computer, Inc.

BIN
content/background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

BIN
content/background.mp4 Normal file

Binary file not shown.

15
content/blog/_index.md Normal file
View File

@ -0,0 +1,15 @@
---
title: "Posts"
date: 2022-02-14T14:12:23-07:00
draft: false
---
[<Back](https://federated.computer)
## Posts
Some content.
:smiley:
(c) 2022 Federated Computer, Inc.

View File

@ -0,0 +1,37 @@
---
title: "Manifesto"
date: 2022-02-14T13:50:44-07:00
draft: false
---
[<Back](https://federated.computer)
## The Problem :broken_heart:
Being the "customer" on the internet today is broken...terribly.
Let's say you want to buy some productivity software from Google. It looks great, works well, but there's something off about the experience. You talk about "fly fishing" in an email to a friend, and suddenly ads are showing up around the web with offers for fishing gear and trips. Not good.
Apple claims to be a privacy advocate, but its not uncommon for a "secure" iMessage to somehow convert to a recommendation from an Apple entertainment service.
And let's not even mention Facebook and its horde of data-vacuuming sites and services.
All these services and companies seem to be connected by an even shadier collection of data brokers and salespeople willing to profile and collate all our private data so that we can be targeted, judged, assessed, sifted, sold. It has to end. But how?
## Some Hope :sunny:
Companies like Brave, Signal, and Federated, and projects such as GrapheneOS, Nextcloud, Linux, and many others are building "Privacy Always" services, applications, and companies, BUT the solution starts with customers.
Customers must begin to understand key points:
1. Centralization is dangerous. Decentralization gives the customer control. You don't put all your money in the same account with all the other customers at the bank. So why do that with your priceless, important data?
2. Payment must be private. How and who we pay is one of the ways "they" get hold to profile us and measure how effective their data harvesting is...
3. Your data should be protected by keys only you hold. If you don't hold the keys, then someone else is looking through your stuff, indexing it, profiling it, and using it against you.
4. You don't want to use a service that can cancel you if the service doesn't like your point-of-view or data. Did you know Google is now throwing off files and customers from Google Drive if Google doesn't like the content of private files under the cover of "terms of service". It's not about the politics. It's about freedom.
5. Customers have options that respect their privacy and integrity. Customers need to vote with their feet else they will continue to be abused.
The time is now. Choose privacy. Choose freedom.
:cat:
(c) 2022 Federated Computer, Inc.

18
content/posts/_index.md Normal file
View File

@ -0,0 +1,18 @@
---
title: "Posts"
date: 2022-02-14T13:50:44-07:00
draft: false
---
[<Back](https://federated.computer)
## Posts
We see things on the web, in society, talked about on the Twitters, and elsewhere, constantly reminding us at Federated Computer we are working to help many to liberate individuals, entrpreneurs, small businesses, not-for-profits, and countless others from the digital grip of "Big Tech". Here's is a collection of some of the interesting, encouraging, informative things we've seen (including some of our own commentary, from time to time).
One of the key values at Federated Computer is *privacy*. Privacy is about protecting what makes us humans: our day-to-day behavior, our personality, our fears, our relationships, and our vulnerabilities. Everyone deserves privacy.
Governments, corporations, and other powerful entities block us from exercising our right to privacy in many different ways. With commercially available spyware, with covert monitoring of our communications, with ads that track us around the internet, with pseudo anonymous data sets purchased and sold and used to manipulate sentiment and sew division, we must learn to fight to defend and fight to exercise our right to privacy.
:cat:

View File

@ -0,0 +1,13 @@
---
title: "Link 003: Does Apple Value Privacy?"
date: 2022-02-14T13:20:52-07:00
draft: false
---
We need to talk about how Apple is normalizing surveillance. [Wired, October, 2021.](https://www.wired.co.uk/article/apple-surveillance-technology)
"Apple is demonstrating that privacy can sell. About 94 per cent of American users opted out of data collection when Apple gave them the choice."
But there's a catch...
"Indeed, once one starts scratching the surface, Apples contribution to the development of invasive technologies and the normalisation of surveillance becomes evident. Apple created the Bluetooth beacons tracking people in shops, gyms, hotels, airports and more by connecting to their phones. Apples usage of Face ID as a way to unlock the iPhone has contributed to normalising facial recognition. Its AirTag a small device that can be stuck to personal items in order to track them has caused concerns among privacy advocates that they will make it easier to track people. The Apple Watch, as the most advanced wearable on the market, leads us one step closer to under-the-skin surveillance, which can read our bodies and emotions. Most recently, Apple has developed a tool that can scan photos in peoples devices in search of child abuse material. While the objective is noble, the tool could be used for less ethical purposes and, according to security expert Bruce Schneier, it effectively breaks end-to-end encryption the most powerful way we currently have to protect the privacy of our devices. (Apple later decided to pause its plans to roll out the tool.)"

View File

@ -0,0 +1,9 @@
---
title: "Link 002: Main Street Against Big Tech"
date: 2022-02-14T13:20:52-07:00
draft: false
---
Here's an organization working to break the grip of "Big Tech" on our commercial lives as small businesses and entrepreneurs. It can seem "convenient" to use the offerings of "Big Tech". Why not just trade the ease-of-use of the Google platform for a bit of loss of privacy. The answer is: if it isn't private, you've lost all control over your future. Is that too dramatic? We don't think so. "Big Tech" will ignore you at first, but will have inconvenient requests, in time. The web site is filled with stories of small businesses and entrepreneurs abused by "Big Tech". Give it a serious look!
[Main Street Against Big Tech](https://www.mainstreetagainstbigtech.org/)

View File

@ -0,0 +1,7 @@
---
title: "Link XXX: Title"
date: 2022-02-14T13:20:52-07:00
draft: true
---
Post text.

View File

@ -0,0 +1,13 @@
---
title: "Link 001: What is done with personal data?"
date: 2022-02-14T13:20:52-07:00
draft: false
---
"For decades, personal data has been routinely packaged and sold on the private market to all manner of companies: marketing firms, hedge funds, data analytics companies, and so forth. The conceit is that, as long as this data is anonymized, it cant be used to identify anyone. And prior to the online age, that was the case; it wasnt a huge threat to personal privacy that Visa was selling the shopping habits of millions of Americans.
But today, things are different. Apple has detailed facial maps of hundreds of millions of iPhone users. Oura has biometric data on anyone who uses an Oura Ring. Netflix knows everything about what youve watched on their service, Uber knows everywhere youve taken a cab, Facebook knows more about you than your parents. Countless companies have unfathomable amounts of information on their customers, and frequently, this information is for sale. Its easy to imagine one company building an unfathomably vast database of information from many different sources, and using that collected data to triangulate and de-anonymize individual people.
The fix? Simple: Ban the sale of personal data, period. Additionally, require all companies to allow their users to opt out from the retention of data about them, including a right to retroactively delete all data at any time. To make sure such laws arent ignored, include severe penalties for violations."
From [Revolver News, November, 2021.](https://www.revolver.news/2021/11/online-anonymity-policy-solutions-gop-platform/)

View File

@ -0,0 +1,41 @@
---
title: "Featured Projects"
date: 2022-02-14T14:12:36-07:00
draft: false
---
[<Back](https://federated.computer)
## We Love Open Source :fire:
Federated loves projects working to free us all from the surveillance and tyranny of our digital overlords. Here is a partial list of some of the important components in our integrated, cloud-first solution. You can think of Federated as both industry-leading, automated management of Customer installations, but also, like a Linux distribution, a well-thought-out collection and integration of best-of-breed open-source solutions available today.
## Important Components :raised_hands:
[Nextcloud](https://nextcloud.com)
Nextcloud is a core-component of the Federated Computer solution. Built as an open-source productivity suite, there are Nextcloud solutions for reading email, calendaring, team management, note taking, project management, and an application store for hundreds of additional solutions. Federated Computer has packaged the Nextcloud experience into a seamless experience for our Customers.
[Jitsi](https://jitsi.org)
Jitsi is the industry-leading open-source solution for video-conferencing and team chat. Used by companies like Brave, Federated Computer has integrated Jitsi to work seamlessly with Nextcloud and the other components of the Federated suite.
[Mail-in-a-box](https://mailinabox.email)
Who says self-hosted email doesn't work? Mail-in-a-box is purpose built for mail infrastructure for small groups with built in spam protection (that works) and the ability to get the big boys of mail (ahem, Google) to accept our self-hosted mail and deliver it to the world. Federated has integrated the user accounts and permissions in Mail-in-a-box to the rest of the Federated suite.
[Lightning Payments](https://lightning.network)
Every Federated Customer gets a Lightning Payment node allowing them to use Bitcoin for day-to-day payments and complete protection for the intrusive surveillance of the big payment companies and their technology partners. Federated has deeply integrated Lightning into our solution bringing ease-of-use, for the first time, to the king cryptocurrency Bitcoin.
It's important today, more than ever, that Customers and developers work together to build pathways away from digital slvery to digital freedom.
Don't see a favorite project in the mix? We use many different components in our solution. This is just a highlight reel. Reach out, let's talk!
## Always Open Source :yum:
Federated Computer is committed to maintaining all of its code out in the open under the least restrictive licenses. We want Customers and Developers to have the freedom to run code and solutions anywhere they want...even if we think our take is best. We will be open-sourcing our platform, glue code, and additional key components just prior to when we reach general availability.
:bouquet:
(c) 2022 Federated Computer, Inc.

1
node_modules/.bin/nanoid generated vendored Symbolic link
View File

@ -0,0 +1 @@
../nanoid/bin/nanoid.cjs

1
node_modules/.bin/postcss generated vendored Symbolic link
View File

@ -0,0 +1 @@
../postcss-cli/index.js

732
node_modules/.package-lock.json generated vendored Normal file
View File

@ -0,0 +1,732 @@
{
"name": "federated",
"lockfileVersion": 2,
"requires": true,
"packages": {
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/@nodelib/fs.stat": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
"engines": {
"node": ">= 8"
}
},
"node_modules/@nodelib/fs.walk": {
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/ansi-regex": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"engines": {
"node": ">=8"
}
},
"node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/anymatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
"dependencies": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
},
"engines": {
"node": ">= 8"
}
},
"node_modules/array-union": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz",
"integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/binary-extensions": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"engines": {
"node": ">=8"
}
},
"node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"dependencies": {
"fill-range": "^7.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/chokidar": {
"version": "3.5.3",
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
"funding": [
{
"type": "individual",
"url": "https://paulmillr.com/funding/"
}
],
"dependencies": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
"glob-parent": "~5.1.2",
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
"normalize-path": "~3.0.0",
"readdirp": "~3.6.0"
},
"engines": {
"node": ">= 8.10.0"
},
"optionalDependencies": {
"fsevents": "~2.3.2"
}
},
"node_modules/cliui": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",
"integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==",
"dependencies": {
"string-width": "^4.2.0",
"strip-ansi": "^6.0.0",
"wrap-ansi": "^7.0.0"
}
},
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dependencies": {
"color-name": "~1.1.4"
},
"engines": {
"node": ">=7.0.0"
}
},
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/dependency-graph": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz",
"integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==",
"engines": {
"node": ">= 0.6.0"
}
},
"node_modules/dir-glob": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
"dependencies": {
"path-type": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
},
"node_modules/escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
"engines": {
"node": ">=6"
}
},
"node_modules/fast-glob": {
"version": "3.2.11",
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz",
"integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==",
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
"@nodelib/fs.walk": "^1.2.3",
"glob-parent": "^5.1.2",
"merge2": "^1.3.0",
"micromatch": "^4.0.4"
},
"engines": {
"node": ">=8.6.0"
}
},
"node_modules/fastq": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
"integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==",
"dependencies": {
"reusify": "^1.0.4"
}
},
"node_modules/fill-range": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"dependencies": {
"to-regex-range": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/fs-extra": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz",
"integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==",
"dependencies": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/get-caller-file": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"engines": {
"node": "6.* || 8.* || >= 10.*"
}
},
"node_modules/get-stdin": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-9.0.0.tgz",
"integrity": "sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dependencies": {
"is-glob": "^4.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/globby": {
"version": "12.2.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-12.2.0.tgz",
"integrity": "sha512-wiSuFQLZ+urS9x2gGPl1H5drc5twabmm4m2gTR27XDFyjUHJUNsS8o/2aKyIF6IoBaR630atdher0XJ5g6OMmA==",
"dependencies": {
"array-union": "^3.0.1",
"dir-glob": "^3.0.1",
"fast-glob": "^3.2.7",
"ignore": "^5.1.9",
"merge2": "^1.4.1",
"slash": "^4.0.0"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/graceful-fs": {
"version": "4.2.9",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz",
"integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ=="
},
"node_modules/ignore": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
"integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==",
"engines": {
"node": ">= 4"
}
},
"node_modules/is-binary-path": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
"dependencies": {
"binary-extensions": "^2.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/is-extglob": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"engines": {
"node": ">=8"
}
},
"node_modules/is-glob": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dependencies": {
"is-extglob": "^2.1.1"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"engines": {
"node": ">=0.12.0"
}
},
"node_modules/jsonfile": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dependencies": {
"universalify": "^2.0.0"
},
"optionalDependencies": {
"graceful-fs": "^4.1.6"
}
},
"node_modules/lilconfig": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.4.tgz",
"integrity": "sha512-bfTIN7lEsiooCocSISTWXkiWJkRqtL9wYtYy+8EK3Y41qh3mpwPU0ycTOgjdY9ErwXCc8QyrQp82bdL0Xkm9yA==",
"engines": {
"node": ">=10"
}
},
"node_modules/merge2": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
"engines": {
"node": ">= 8"
}
},
"node_modules/micromatch": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
"integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
"dependencies": {
"braces": "^3.0.1",
"picomatch": "^2.2.3"
},
"engines": {
"node": ">=8.6"
}
},
"node_modules/nanoid": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.0.tgz",
"integrity": "sha512-JzxqqT5u/x+/KOFSd7JP15DOo9nOoHpx6DYatqIHUW2+flybkm+mdcraotSQR5WcnZr+qhGVh8Ted0KdfSMxlg==",
"peer": true,
"bin": {
"nanoid": "bin/nanoid.cjs"
},
"engines": {
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
"node_modules/normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/path-type": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
"engines": {
"node": ">=8"
}
},
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
},
"node_modules/picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"engines": {
"node": ">=8.6"
},
"funding": {
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/pify": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/postcss": {
"version": "8.4.6",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.6.tgz",
"integrity": "sha512-OovjwIzs9Te46vlEx7+uXB0PLijpwjXGKXjVGGPIGubGpq7uh5Xgf6D6FiJ/SzJMBosHDp6a2hiXOS97iBXcaA==",
"peer": true,
"dependencies": {
"nanoid": "^3.2.0",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
},
"engines": {
"node": "^10 || ^12 || >=14"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
}
},
"node_modules/postcss-cli": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/postcss-cli/-/postcss-cli-9.1.0.tgz",
"integrity": "sha512-zvDN2ADbWfza42sAnj+O2uUWyL0eRL1V+6giM2vi4SqTR3gTYy8XzcpfwccayF2szcUif0HMmXiEaDv9iEhcpw==",
"dependencies": {
"chokidar": "^3.3.0",
"dependency-graph": "^0.11.0",
"fs-extra": "^10.0.0",
"get-stdin": "^9.0.0",
"globby": "^12.0.0",
"picocolors": "^1.0.0",
"postcss-load-config": "^3.0.0",
"postcss-reporter": "^7.0.0",
"pretty-hrtime": "^1.0.3",
"read-cache": "^1.0.0",
"slash": "^4.0.0",
"yargs": "^17.0.0"
},
"bin": {
"postcss": "index.js"
},
"engines": {
"node": ">=12"
},
"peerDependencies": {
"postcss": "^8.0.0"
}
},
"node_modules/postcss-load-config": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.3.tgz",
"integrity": "sha512-5EYgaM9auHGtO//ljHH+v/aC/TQ5LHXtL7bQajNAUBKUVKiYE8rYpFms7+V26D9FncaGe2zwCoPQsFKb5zF/Hw==",
"dependencies": {
"lilconfig": "^2.0.4",
"yaml": "^1.10.2"
},
"engines": {
"node": ">= 10"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
},
"peerDependencies": {
"ts-node": ">=9.0.0"
},
"peerDependenciesMeta": {
"ts-node": {
"optional": true
}
}
},
"node_modules/postcss-reporter": {
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-7.0.5.tgz",
"integrity": "sha512-glWg7VZBilooZGOFPhN9msJ3FQs19Hie7l5a/eE6WglzYqVeH3ong3ShFcp9kDWJT1g2Y/wd59cocf9XxBtkWA==",
"dependencies": {
"picocolors": "^1.0.0",
"thenby": "^1.3.4"
},
"engines": {
"node": ">=10"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
},
"peerDependencies": {
"postcss": "^8.1.0"
}
},
"node_modules/pretty-hrtime": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
"integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=",
"engines": {
"node": ">= 0.8"
}
},
"node_modules/queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
},
"node_modules/read-cache": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
"integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=",
"dependencies": {
"pify": "^2.3.0"
}
},
"node_modules/readdirp": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
"dependencies": {
"picomatch": "^2.2.1"
},
"engines": {
"node": ">=8.10.0"
}
},
"node_modules/require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/reusify": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
"engines": {
"iojs": ">=1.0.0",
"node": ">=0.10.0"
}
},
"node_modules/run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"dependencies": {
"queue-microtask": "^1.2.2"
}
},
"node_modules/slash": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz",
"integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==",
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/source-map-js": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"peer": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/string-width": {
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
"strip-ansi": "^6.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"dependencies": {
"ansi-regex": "^5.0.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/thenby": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/thenby/-/thenby-1.3.4.tgz",
"integrity": "sha512-89Gi5raiWA3QZ4b2ePcEwswC3me9JIg+ToSgtE0JWeCynLnLxNr/f9G+xfo9K+Oj4AFdom8YNJjibIARTJmapQ=="
},
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dependencies": {
"is-number": "^7.0.0"
},
"engines": {
"node": ">=8.0"
}
},
"node_modules/universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"engines": {
"node": ">= 10.0.0"
}
},
"node_modules/wrap-ansi": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dependencies": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
"node_modules/y18n": {
"version": "5.0.8",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
"integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
"engines": {
"node": ">=10"
}
},
"node_modules/yaml": {
"version": "1.10.2",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
"integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
"engines": {
"node": ">= 6"
}
},
"node_modules/yargs": {
"version": "17.3.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz",
"integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==",
"dependencies": {
"cliui": "^7.0.2",
"escalade": "^3.1.1",
"get-caller-file": "^2.0.5",
"require-directory": "^2.1.1",
"string-width": "^4.2.3",
"y18n": "^5.0.5",
"yargs-parser": "^21.0.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/yargs-parser": {
"version": "21.0.0",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.0.tgz",
"integrity": "sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==",
"engines": {
"node": ">=12"
}
}
}
}

21
node_modules/@nodelib/fs.scandir/LICENSE generated vendored Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) Denis Malinochkin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

171
node_modules/@nodelib/fs.scandir/README.md generated vendored Normal file
View File

@ -0,0 +1,171 @@
# @nodelib/fs.scandir
> List files and directories inside the specified directory.
## :bulb: Highlights
The package is aimed at obtaining information about entries in the directory.
* :moneybag: Returns useful information: `name`, `path`, `dirent` and `stats` (optional).
* :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).
* :link: Can safely work with broken symbolic links.
## Install
```console
npm install @nodelib/fs.scandir
```
## Usage
```ts
import * as fsScandir from '@nodelib/fs.scandir';
fsScandir.scandir('path', (error, stats) => { /* … */ });
```
## API
### .scandir(path, [optionsOrSettings], callback)
Returns an array of plain objects ([`Entry`](#entry)) with information about entry for provided path with standard callback-style.
```ts
fsScandir.scandir('path', (error, entries) => { /* … */ });
fsScandir.scandir('path', {}, (error, entries) => { /* … */ });
fsScandir.scandir('path', new fsScandir.Settings(), (error, entries) => { /* … */ });
```
### .scandirSync(path, [optionsOrSettings])
Returns an array of plain objects ([`Entry`](#entry)) with information about entry for provided path.
```ts
const entries = fsScandir.scandirSync('path');
const entries = fsScandir.scandirSync('path', {});
const entries = fsScandir.scandirSync(('path', new fsScandir.Settings());
```
#### path
* Required: `true`
* Type: `string | Buffer | URL`
A path to a file. If a URL is provided, it must use the `file:` protocol.
#### optionsOrSettings
* Required: `false`
* Type: `Options | Settings`
* Default: An instance of `Settings` class
An [`Options`](#options) object or an instance of [`Settings`](#settingsoptions) class.
> :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.
### Settings([options])
A class of full settings of the package.
```ts
const settings = new fsScandir.Settings({ followSymbolicLinks: false });
const entries = fsScandir.scandirSync('path', settings);
```
## Entry
* `name` — The name of the entry (`unknown.txt`).
* `path` — The path of the entry relative to call directory (`root/unknown.txt`).
* `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.
* `stats` (optional) — An instance of `fs.Stats` class.
For example, the `scandir` call for `tools` directory with one directory inside:
```ts
{
dirent: Dirent { name: 'typedoc', /* … */ },
name: 'typedoc',
path: 'tools/typedoc'
}
```
## Options
### stats
* Type: `boolean`
* Default: `false`
Adds an instance of `fs.Stats` class to the [`Entry`](#entry).
> :book: Always use `fs.readdir` without the `withFileTypes` option. ??TODO??
### followSymbolicLinks
* Type: `boolean`
* Default: `false`
Follow symbolic links or not. Call `fs.stat` on symbolic link if `true`.
### `throwErrorOnBrokenSymbolicLink`
* Type: `boolean`
* Default: `true`
Throw an error when symbolic link is broken if `true` or safely use `lstat` call if `false`.
### `pathSegmentSeparator`
* Type: `string`
* Default: `path.sep`
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.
### `fs`
* Type: [`FileSystemAdapter`](./src/adapters/fs.ts)
* Default: A default FS methods
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.
```ts
interface FileSystemAdapter {
lstat?: typeof fs.lstat;
stat?: typeof fs.stat;
lstatSync?: typeof fs.lstatSync;
statSync?: typeof fs.statSync;
readdir?: typeof fs.readdir;
readdirSync?: typeof fs.readdirSync;
}
const settings = new fsScandir.Settings({
fs: { lstat: fakeLstat }
});
```
## `old` and `modern` mode
This package has two modes that are used depending on the environment and parameters of use.
### old
* Node.js below `10.10` or when the `stats` option is enabled
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).
### modern
* Node.js 10.10+ and the `stats` option is disabled
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.
This mode makes fewer calls to the file system. It's faster.
## Changelog
See the [Releases section of our GitHub project](https://github.com/nodelib/nodelib/releases) for changelog for each release version.
## License
This software is released under the terms of the MIT license.

20
node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts generated vendored Normal file
View File

@ -0,0 +1,20 @@
import type * as fsStat from '@nodelib/fs.stat';
import type { Dirent, ErrnoException } from '../types';
export interface ReaddirAsynchronousMethod {
(filepath: string, options: {
withFileTypes: true;
}, callback: (error: ErrnoException | null, files: Dirent[]) => void): void;
(filepath: string, callback: (error: ErrnoException | null, files: string[]) => void): void;
}
export interface ReaddirSynchronousMethod {
(filepath: string, options: {
withFileTypes: true;
}): Dirent[];
(filepath: string): string[];
}
export declare type FileSystemAdapter = fsStat.FileSystemAdapter & {
readdir: ReaddirAsynchronousMethod;
readdirSync: ReaddirSynchronousMethod;
};
export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter;
export declare function createFileSystemAdapter(fsMethods?: Partial<FileSystemAdapter>): FileSystemAdapter;

19
node_modules/@nodelib/fs.scandir/out/adapters/fs.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
const fs = require("fs");
exports.FILE_SYSTEM_ADAPTER = {
lstat: fs.lstat,
stat: fs.stat,
lstatSync: fs.lstatSync,
statSync: fs.statSync,
readdir: fs.readdir,
readdirSync: fs.readdirSync
};
function createFileSystemAdapter(fsMethods) {
if (fsMethods === undefined) {
return exports.FILE_SYSTEM_ADAPTER;
}
return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
}
exports.createFileSystemAdapter = createFileSystemAdapter;

4
node_modules/@nodelib/fs.scandir/out/constants.d.ts generated vendored Normal file
View File

@ -0,0 +1,4 @@
/**
* IS `true` for Node.js 10.10 and greater.
*/
export declare const IS_SUPPORT_READDIR_WITH_FILE_TYPES: boolean;

17
node_modules/@nodelib/fs.scandir/out/constants.js generated vendored Normal file
View File

@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
const NODE_PROCESS_VERSION_PARTS = process.versions.node.split('.');
if (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {
throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
}
const MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
const MINOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[1], 10);
const SUPPORTED_MAJOR_VERSION = 10;
const SUPPORTED_MINOR_VERSION = 10;
const IS_MATCHED_BY_MAJOR = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION;
const IS_MATCHED_BY_MAJOR_AND_MINOR = MAJOR_VERSION === SUPPORTED_MAJOR_VERSION && MINOR_VERSION >= SUPPORTED_MINOR_VERSION;
/**
* IS `true` for Node.js 10.10 and greater.
*/
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR;

12
node_modules/@nodelib/fs.scandir/out/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,12 @@
import type { FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod } from './adapters/fs';
import * as async from './providers/async';
import Settings, { Options } from './settings';
import type { Dirent, Entry } from './types';
declare type AsyncCallback = async.AsyncCallback;
declare function scandir(path: string, callback: AsyncCallback): void;
declare function scandir(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
declare namespace scandir {
function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>;
}
declare function scandirSync(path: string, optionsOrSettings?: Options | Settings): Entry[];
export { scandir, scandirSync, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod, Options };

26
node_modules/@nodelib/fs.scandir/out/index.js generated vendored Normal file
View File

@ -0,0 +1,26 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Settings = exports.scandirSync = exports.scandir = void 0;
const async = require("./providers/async");
const sync = require("./providers/sync");
const settings_1 = require("./settings");
exports.Settings = settings_1.default;
function scandir(path, optionsOrSettingsOrCallback, callback) {
if (typeof optionsOrSettingsOrCallback === 'function') {
async.read(path, getSettings(), optionsOrSettingsOrCallback);
return;
}
async.read(path, getSettings(optionsOrSettingsOrCallback), callback);
}
exports.scandir = scandir;
function scandirSync(path, optionsOrSettings) {
const settings = getSettings(optionsOrSettings);
return sync.read(path, settings);
}
exports.scandirSync = scandirSync;
function getSettings(settingsOrOptions = {}) {
if (settingsOrOptions instanceof settings_1.default) {
return settingsOrOptions;
}
return new settings_1.default(settingsOrOptions);
}

View File

@ -0,0 +1,7 @@
/// <reference types="node" />
import type Settings from '../settings';
import type { Entry } from '../types';
export declare type AsyncCallback = (error: NodeJS.ErrnoException, entries: Entry[]) => void;
export declare function read(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdirWithFileTypes(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdir(directory: string, settings: Settings, callback: AsyncCallback): void;

104
node_modules/@nodelib/fs.scandir/out/providers/async.js generated vendored Normal file
View File

@ -0,0 +1,104 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
const fsStat = require("@nodelib/fs.stat");
const rpl = require("run-parallel");
const constants_1 = require("../constants");
const utils = require("../utils");
const common = require("./common");
function read(directory, settings, callback) {
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
readdirWithFileTypes(directory, settings, callback);
return;
}
readdir(directory, settings, callback);
}
exports.read = read;
function readdirWithFileTypes(directory, settings, callback) {
settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => {
if (readdirError !== null) {
callFailureCallback(callback, readdirError);
return;
}
const entries = dirents.map((dirent) => ({
dirent,
name: dirent.name,
path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)
}));
if (!settings.followSymbolicLinks) {
callSuccessCallback(callback, entries);
return;
}
const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings));
rpl(tasks, (rplError, rplEntries) => {
if (rplError !== null) {
callFailureCallback(callback, rplError);
return;
}
callSuccessCallback(callback, rplEntries);
});
});
}
exports.readdirWithFileTypes = readdirWithFileTypes;
function makeRplTaskEntry(entry, settings) {
return (done) => {
if (!entry.dirent.isSymbolicLink()) {
done(null, entry);
return;
}
settings.fs.stat(entry.path, (statError, stats) => {
if (statError !== null) {
if (settings.throwErrorOnBrokenSymbolicLink) {
done(statError);
return;
}
done(null, entry);
return;
}
entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);
done(null, entry);
});
};
}
function readdir(directory, settings, callback) {
settings.fs.readdir(directory, (readdirError, names) => {
if (readdirError !== null) {
callFailureCallback(callback, readdirError);
return;
}
const tasks = names.map((name) => {
const path = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
return (done) => {
fsStat.stat(path, settings.fsStatSettings, (error, stats) => {
if (error !== null) {
done(error);
return;
}
const entry = {
name,
path,
dirent: utils.fs.createDirentFromStats(name, stats)
};
if (settings.stats) {
entry.stats = stats;
}
done(null, entry);
});
};
});
rpl(tasks, (rplError, entries) => {
if (rplError !== null) {
callFailureCallback(callback, rplError);
return;
}
callSuccessCallback(callback, entries);
});
});
}
exports.readdir = readdir;
function callFailureCallback(callback, error) {
callback(error);
}
function callSuccessCallback(callback, result) {
callback(null, result);
}

View File

@ -0,0 +1 @@
export declare function joinPathSegments(a: string, b: string, separator: string): string;

View File

@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.joinPathSegments = void 0;
function joinPathSegments(a, b, separator) {
/**
* The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
*/
if (a.endsWith(separator)) {
return a + b;
}
return a + separator + b;
}
exports.joinPathSegments = joinPathSegments;

View File

@ -0,0 +1,5 @@
import type Settings from '../settings';
import type { Entry } from '../types';
export declare function read(directory: string, settings: Settings): Entry[];
export declare function readdirWithFileTypes(directory: string, settings: Settings): Entry[];
export declare function readdir(directory: string, settings: Settings): Entry[];

54
node_modules/@nodelib/fs.scandir/out/providers/sync.js generated vendored Normal file
View File

@ -0,0 +1,54 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
const fsStat = require("@nodelib/fs.stat");
const constants_1 = require("../constants");
const utils = require("../utils");
const common = require("./common");
function read(directory, settings) {
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
return readdirWithFileTypes(directory, settings);
}
return readdir(directory, settings);
}
exports.read = read;
function readdirWithFileTypes(directory, settings) {
const dirents = settings.fs.readdirSync(directory, { withFileTypes: true });
return dirents.map((dirent) => {
const entry = {
dirent,
name: dirent.name,
path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator)
};
if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {
try {
const stats = settings.fs.statSync(entry.path);
entry.dirent = utils.fs.createDirentFromStats(entry.name, stats);
}
catch (error) {
if (settings.throwErrorOnBrokenSymbolicLink) {
throw error;
}
}
}
return entry;
});
}
exports.readdirWithFileTypes = readdirWithFileTypes;
function readdir(directory, settings) {
const names = settings.fs.readdirSync(directory);
return names.map((name) => {
const entryPath = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
const stats = fsStat.statSync(entryPath, settings.fsStatSettings);
const entry = {
name,
path: entryPath,
dirent: utils.fs.createDirentFromStats(name, stats)
};
if (settings.stats) {
entry.stats = stats;
}
return entry;
});
}
exports.readdir = readdir;

20
node_modules/@nodelib/fs.scandir/out/settings.d.ts generated vendored Normal file
View File

@ -0,0 +1,20 @@
import * as fsStat from '@nodelib/fs.stat';
import * as fs from './adapters/fs';
export interface Options {
followSymbolicLinks?: boolean;
fs?: Partial<fs.FileSystemAdapter>;
pathSegmentSeparator?: string;
stats?: boolean;
throwErrorOnBrokenSymbolicLink?: boolean;
}
export default class Settings {
private readonly _options;
readonly followSymbolicLinks: boolean;
readonly fs: fs.FileSystemAdapter;
readonly pathSegmentSeparator: string;
readonly stats: boolean;
readonly throwErrorOnBrokenSymbolicLink: boolean;
readonly fsStatSettings: fsStat.Settings;
constructor(_options?: Options);
private _getValue;
}

24
node_modules/@nodelib/fs.scandir/out/settings.js generated vendored Normal file
View File

@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const path = require("path");
const fsStat = require("@nodelib/fs.stat");
const fs = require("./adapters/fs");
class Settings {
constructor(_options = {}) {
this._options = _options;
this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
this.fs = fs.createFileSystemAdapter(this._options.fs);
this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);
this.stats = this._getValue(this._options.stats, false);
this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
this.fsStatSettings = new fsStat.Settings({
followSymbolicLink: this.followSymbolicLinks,
fs: this.fs,
throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink
});
}
_getValue(option, value) {
return option !== null && option !== void 0 ? option : value;
}
}
exports.default = Settings;

20
node_modules/@nodelib/fs.scandir/out/types/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,20 @@
/// <reference types="node" />
import type * as fs from 'fs';
export interface Entry {
dirent: Dirent;
name: string;
path: string;
stats?: Stats;
}
export declare type Stats = fs.Stats;
export declare type ErrnoException = NodeJS.ErrnoException;
export interface Dirent {
isBlockDevice: () => boolean;
isCharacterDevice: () => boolean;
isDirectory: () => boolean;
isFIFO: () => boolean;
isFile: () => boolean;
isSocket: () => boolean;
isSymbolicLink: () => boolean;
name: string;
}

2
node_modules/@nodelib/fs.scandir/out/types/index.js generated vendored Normal file
View File

@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

2
node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts generated vendored Normal file
View File

@ -0,0 +1,2 @@
import type { Dirent, Stats } from '../types';
export declare function createDirentFromStats(name: string, stats: Stats): Dirent;

19
node_modules/@nodelib/fs.scandir/out/utils/fs.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createDirentFromStats = void 0;
class DirentFromStats {
constructor(name, stats) {
this.name = name;
this.isBlockDevice = stats.isBlockDevice.bind(stats);
this.isCharacterDevice = stats.isCharacterDevice.bind(stats);
this.isDirectory = stats.isDirectory.bind(stats);
this.isFIFO = stats.isFIFO.bind(stats);
this.isFile = stats.isFile.bind(stats);
this.isSocket = stats.isSocket.bind(stats);
this.isSymbolicLink = stats.isSymbolicLink.bind(stats);
}
}
function createDirentFromStats(name, stats) {
return new DirentFromStats(name, stats);
}
exports.createDirentFromStats = createDirentFromStats;

View File

@ -0,0 +1,2 @@
import * as fs from './fs';
export { fs };

5
node_modules/@nodelib/fs.scandir/out/utils/index.js generated vendored Normal file
View File

@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fs = void 0;
const fs = require("./fs");
exports.fs = fs;

44
node_modules/@nodelib/fs.scandir/package.json generated vendored Normal file
View File

@ -0,0 +1,44 @@
{
"name": "@nodelib/fs.scandir",
"version": "2.1.5",
"description": "List files and directories inside the specified directory",
"license": "MIT",
"repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.scandir",
"keywords": [
"NodeLib",
"fs",
"FileSystem",
"file system",
"scandir",
"readdir",
"dirent"
],
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*"
],
"main": "out/index.js",
"typings": "out/index.d.ts",
"scripts": {
"clean": "rimraf {tsconfig.tsbuildinfo,out}",
"lint": "eslint \"src/**/*.ts\" --cache",
"compile": "tsc -b .",
"compile:watch": "tsc -p . --watch --sourceMap",
"test": "mocha \"out/**/*.spec.js\" -s 0",
"build": "npm run clean && npm run compile && npm run lint && npm test",
"watch": "npm run clean && npm run compile:watch"
},
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
},
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4",
"@types/run-parallel": "^1.1.0"
},
"gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562"
}

21
node_modules/@nodelib/fs.stat/LICENSE generated vendored Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) Denis Malinochkin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

126
node_modules/@nodelib/fs.stat/README.md generated vendored Normal file
View File

@ -0,0 +1,126 @@
# @nodelib/fs.stat
> Get the status of a file with some features.
## :bulb: Highlights
Wrapper around standard method `fs.lstat` and `fs.stat` with some features.
* :beginner: Normally follows symbolic link.
* :gear: Can safely work with broken symbolic link.
## Install
```console
npm install @nodelib/fs.stat
```
## Usage
```ts
import * as fsStat from '@nodelib/fs.stat';
fsStat.stat('path', (error, stats) => { /* … */ });
```
## API
### .stat(path, [optionsOrSettings], callback)
Returns an instance of `fs.Stats` class for provided path with standard callback-style.
```ts
fsStat.stat('path', (error, stats) => { /* … */ });
fsStat.stat('path', {}, (error, stats) => { /* … */ });
fsStat.stat('path', new fsStat.Settings(), (error, stats) => { /* … */ });
```
### .statSync(path, [optionsOrSettings])
Returns an instance of `fs.Stats` class for provided path.
```ts
const stats = fsStat.stat('path');
const stats = fsStat.stat('path', {});
const stats = fsStat.stat('path', new fsStat.Settings());
```
#### path
* Required: `true`
* Type: `string | Buffer | URL`
A path to a file. If a URL is provided, it must use the `file:` protocol.
#### optionsOrSettings
* Required: `false`
* Type: `Options | Settings`
* Default: An instance of `Settings` class
An [`Options`](#options) object or an instance of [`Settings`](#settings) class.
> :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.
### Settings([options])
A class of full settings of the package.
```ts
const settings = new fsStat.Settings({ followSymbolicLink: false });
const stats = fsStat.stat('path', settings);
```
## Options
### `followSymbolicLink`
* Type: `boolean`
* Default: `true`
Follow symbolic link or not. Call `fs.stat` on symbolic link if `true`.
### `markSymbolicLink`
* Type: `boolean`
* Default: `false`
Mark symbolic link by setting the return value of `isSymbolicLink` function to always `true` (even after `fs.stat`).
> :book: Can be used if you want to know what is hidden behind a symbolic link, but still continue to know that it is a symbolic link.
### `throwErrorOnBrokenSymbolicLink`
* Type: `boolean`
* Default: `true`
Throw an error when symbolic link is broken if `true` or safely return `lstat` call if `false`.
### `fs`
* Type: [`FileSystemAdapter`](./src/adapters/fs.ts)
* Default: A default FS methods
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.
```ts
interface FileSystemAdapter {
lstat?: typeof fs.lstat;
stat?: typeof fs.stat;
lstatSync?: typeof fs.lstatSync;
statSync?: typeof fs.statSync;
}
const settings = new fsStat.Settings({
fs: { lstat: fakeLstat }
});
```
## Changelog
See the [Releases section of our GitHub project](https://github.com/nodelib/nodelib/releases) for changelog for each release version.
## License
This software is released under the terms of the MIT license.

13
node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts generated vendored Normal file
View File

@ -0,0 +1,13 @@
/// <reference types="node" />
import * as fs from 'fs';
import type { ErrnoException } from '../types';
export declare type StatAsynchronousMethod = (path: string, callback: (error: ErrnoException | null, stats: fs.Stats) => void) => void;
export declare type StatSynchronousMethod = (path: string) => fs.Stats;
export interface FileSystemAdapter {
lstat: StatAsynchronousMethod;
stat: StatAsynchronousMethod;
lstatSync: StatSynchronousMethod;
statSync: StatSynchronousMethod;
}
export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter;
export declare function createFileSystemAdapter(fsMethods?: Partial<FileSystemAdapter>): FileSystemAdapter;

17
node_modules/@nodelib/fs.stat/out/adapters/fs.js generated vendored Normal file
View File

@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
const fs = require("fs");
exports.FILE_SYSTEM_ADAPTER = {
lstat: fs.lstat,
stat: fs.stat,
lstatSync: fs.lstatSync,
statSync: fs.statSync
};
function createFileSystemAdapter(fsMethods) {
if (fsMethods === undefined) {
return exports.FILE_SYSTEM_ADAPTER;
}
return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
}
exports.createFileSystemAdapter = createFileSystemAdapter;

12
node_modules/@nodelib/fs.stat/out/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,12 @@
import type { FileSystemAdapter, StatAsynchronousMethod, StatSynchronousMethod } from './adapters/fs';
import * as async from './providers/async';
import Settings, { Options } from './settings';
import type { Stats } from './types';
declare type AsyncCallback = async.AsyncCallback;
declare function stat(path: string, callback: AsyncCallback): void;
declare function stat(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
declare namespace stat {
function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise<Stats>;
}
declare function statSync(path: string, optionsOrSettings?: Options | Settings): Stats;
export { Settings, stat, statSync, AsyncCallback, FileSystemAdapter, StatAsynchronousMethod, StatSynchronousMethod, Options, Stats };

26
node_modules/@nodelib/fs.stat/out/index.js generated vendored Normal file
View File

@ -0,0 +1,26 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.statSync = exports.stat = exports.Settings = void 0;
const async = require("./providers/async");
const sync = require("./providers/sync");
const settings_1 = require("./settings");
exports.Settings = settings_1.default;
function stat(path, optionsOrSettingsOrCallback, callback) {
if (typeof optionsOrSettingsOrCallback === 'function') {
async.read(path, getSettings(), optionsOrSettingsOrCallback);
return;
}
async.read(path, getSettings(optionsOrSettingsOrCallback), callback);
}
exports.stat = stat;
function statSync(path, optionsOrSettings) {
const settings = getSettings(optionsOrSettings);
return sync.read(path, settings);
}
exports.statSync = statSync;
function getSettings(settingsOrOptions = {}) {
if (settingsOrOptions instanceof settings_1.default) {
return settingsOrOptions;
}
return new settings_1.default(settingsOrOptions);
}

View File

@ -0,0 +1,4 @@
import type Settings from '../settings';
import type { ErrnoException, Stats } from '../types';
export declare type AsyncCallback = (error: ErrnoException, stats: Stats) => void;
export declare function read(path: string, settings: Settings, callback: AsyncCallback): void;

36
node_modules/@nodelib/fs.stat/out/providers/async.js generated vendored Normal file
View File

@ -0,0 +1,36 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.read = void 0;
function read(path, settings, callback) {
settings.fs.lstat(path, (lstatError, lstat) => {
if (lstatError !== null) {
callFailureCallback(callback, lstatError);
return;
}
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
callSuccessCallback(callback, lstat);
return;
}
settings.fs.stat(path, (statError, stat) => {
if (statError !== null) {
if (settings.throwErrorOnBrokenSymbolicLink) {
callFailureCallback(callback, statError);
return;
}
callSuccessCallback(callback, lstat);
return;
}
if (settings.markSymbolicLink) {
stat.isSymbolicLink = () => true;
}
callSuccessCallback(callback, stat);
});
});
}
exports.read = read;
function callFailureCallback(callback, error) {
callback(error);
}
function callSuccessCallback(callback, result) {
callback(null, result);
}

View File

@ -0,0 +1,3 @@
import type Settings from '../settings';
import type { Stats } from '../types';
export declare function read(path: string, settings: Settings): Stats;

23
node_modules/@nodelib/fs.stat/out/providers/sync.js generated vendored Normal file
View File

@ -0,0 +1,23 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.read = void 0;
function read(path, settings) {
const lstat = settings.fs.lstatSync(path);
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
return lstat;
}
try {
const stat = settings.fs.statSync(path);
if (settings.markSymbolicLink) {
stat.isSymbolicLink = () => true;
}
return stat;
}
catch (error) {
if (!settings.throwErrorOnBrokenSymbolicLink) {
return lstat;
}
throw error;
}
}
exports.read = read;

16
node_modules/@nodelib/fs.stat/out/settings.d.ts generated vendored Normal file
View File

@ -0,0 +1,16 @@
import * as fs from './adapters/fs';
export interface Options {
followSymbolicLink?: boolean;
fs?: Partial<fs.FileSystemAdapter>;
markSymbolicLink?: boolean;
throwErrorOnBrokenSymbolicLink?: boolean;
}
export default class Settings {
private readonly _options;
readonly followSymbolicLink: boolean;
readonly fs: fs.FileSystemAdapter;
readonly markSymbolicLink: boolean;
readonly throwErrorOnBrokenSymbolicLink: boolean;
constructor(_options?: Options);
private _getValue;
}

16
node_modules/@nodelib/fs.stat/out/settings.js generated vendored Normal file
View File

@ -0,0 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("./adapters/fs");
class Settings {
constructor(_options = {}) {
this._options = _options;
this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
this.fs = fs.createFileSystemAdapter(this._options.fs);
this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
}
_getValue(option, value) {
return option !== null && option !== void 0 ? option : value;
}
}
exports.default = Settings;

4
node_modules/@nodelib/fs.stat/out/types/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,4 @@
/// <reference types="node" />
import type * as fs from 'fs';
export declare type Stats = fs.Stats;
export declare type ErrnoException = NodeJS.ErrnoException;

2
node_modules/@nodelib/fs.stat/out/types/index.js generated vendored Normal file
View File

@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

37
node_modules/@nodelib/fs.stat/package.json generated vendored Normal file
View File

@ -0,0 +1,37 @@
{
"name": "@nodelib/fs.stat",
"version": "2.0.5",
"description": "Get the status of a file with some features",
"license": "MIT",
"repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.stat",
"keywords": [
"NodeLib",
"fs",
"FileSystem",
"file system",
"stat"
],
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*"
],
"main": "out/index.js",
"typings": "out/index.d.ts",
"scripts": {
"clean": "rimraf {tsconfig.tsbuildinfo,out}",
"lint": "eslint \"src/**/*.ts\" --cache",
"compile": "tsc -b .",
"compile:watch": "tsc -p . --watch --sourceMap",
"test": "mocha \"out/**/*.spec.js\" -s 0",
"build": "npm run clean && npm run compile && npm run lint && npm test",
"watch": "npm run clean && npm run compile:watch"
},
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4"
},
"gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562"
}

21
node_modules/@nodelib/fs.walk/LICENSE generated vendored Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) Denis Malinochkin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

215
node_modules/@nodelib/fs.walk/README.md generated vendored Normal file
View File

@ -0,0 +1,215 @@
# @nodelib/fs.walk
> A library for efficiently walking a directory recursively.
## :bulb: Highlights
* :moneybag: Returns useful information: `name`, `path`, `dirent` and `stats` (optional).
* :rocket: On Node.js 10.10+ uses the mechanism without additional calls to determine the entry type for performance reasons. See [`old` and `modern` mode](https://github.com/nodelib/nodelib/blob/master/packages/fs/fs.scandir/README.md#old-and-modern-mode).
* :gear: Built-in directories/files and error filtering system.
* :link: Can safely work with broken symbolic links.
## Install
```console
npm install @nodelib/fs.walk
```
## Usage
```ts
import * as fsWalk from '@nodelib/fs.walk';
fsWalk.walk('path', (error, entries) => { /* … */ });
```
## API
### .walk(path, [optionsOrSettings], callback)
Reads the directory recursively and asynchronously. Requires a callback function.
> :book: If you want to use the Promise API, use `util.promisify`.
```ts
fsWalk.walk('path', (error, entries) => { /* … */ });
fsWalk.walk('path', {}, (error, entries) => { /* … */ });
fsWalk.walk('path', new fsWalk.Settings(), (error, entries) => { /* … */ });
```
### .walkStream(path, [optionsOrSettings])
Reads the directory recursively and asynchronously. [Readable Stream](https://nodejs.org/dist/latest-v12.x/docs/api/stream.html#stream_readable_streams) is used as a provider.
```ts
const stream = fsWalk.walkStream('path');
const stream = fsWalk.walkStream('path', {});
const stream = fsWalk.walkStream('path', new fsWalk.Settings());
```
### .walkSync(path, [optionsOrSettings])
Reads the directory recursively and synchronously. Returns an array of entries.
```ts
const entries = fsWalk.walkSync('path');
const entries = fsWalk.walkSync('path', {});
const entries = fsWalk.walkSync('path', new fsWalk.Settings());
```
#### path
* Required: `true`
* Type: `string | Buffer | URL`
A path to a file. If a URL is provided, it must use the `file:` protocol.
#### optionsOrSettings
* Required: `false`
* Type: `Options | Settings`
* Default: An instance of `Settings` class
An [`Options`](#options) object or an instance of [`Settings`](#settings) class.
> :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.
### Settings([options])
A class of full settings of the package.
```ts
const settings = new fsWalk.Settings({ followSymbolicLinks: true });
const entries = fsWalk.walkSync('path', settings);
```
## Entry
* `name` — The name of the entry (`unknown.txt`).
* `path` — The path of the entry relative to call directory (`root/unknown.txt`).
* `dirent` — An instance of [`fs.Dirent`](./src/types/index.ts) class.
* [`stats`] — An instance of `fs.Stats` class.
## Options
### basePath
* Type: `string`
* Default: `undefined`
By default, all paths are built relative to the root path. You can use this option to set custom root path.
In the example below we read the files from the `root` directory, but in the results the root path will be `custom`.
```ts
fsWalk.walkSync('root'); // → ['root/file.txt']
fsWalk.walkSync('root', { basePath: 'custom' }); // → ['custom/file.txt']
```
### concurrency
* Type: `number`
* Default: `Infinity`
The maximum number of concurrent calls to `fs.readdir`.
> :book: The higher the number, the higher performance and the load on the File System. If you want to read in quiet mode, set the value to `4 * os.cpus().length` (4 is default size of [thread pool work scheduling](http://docs.libuv.org/en/v1.x/threadpool.html#thread-pool-work-scheduling)).
### deepFilter
* Type: [`DeepFilterFunction`](./src/settings.ts)
* Default: `undefined`
A function that indicates whether the directory will be read deep or not.
```ts
// Skip all directories that starts with `node_modules`
const filter: DeepFilterFunction = (entry) => !entry.path.startsWith('node_modules');
```
### entryFilter
* Type: [`EntryFilterFunction`](./src/settings.ts)
* Default: `undefined`
A function that indicates whether the entry will be included to results or not.
```ts
// Exclude all `.js` files from results
const filter: EntryFilterFunction = (entry) => !entry.name.endsWith('.js');
```
### errorFilter
* Type: [`ErrorFilterFunction`](./src/settings.ts)
* Default: `undefined`
A function that allows you to skip errors that occur when reading directories.
For example, you can skip `ENOENT` errors if required:
```ts
// Skip all ENOENT errors
const filter: ErrorFilterFunction = (error) => error.code == 'ENOENT';
```
### stats
* Type: `boolean`
* Default: `false`
Adds an instance of `fs.Stats` class to the [`Entry`](#entry).
> :book: Always use `fs.readdir` with additional `fs.lstat/fs.stat` calls to determine the entry type.
### followSymbolicLinks
* Type: `boolean`
* Default: `false`
Follow symbolic links or not. Call `fs.stat` on symbolic link if `true`.
### `throwErrorOnBrokenSymbolicLink`
* Type: `boolean`
* Default: `true`
Throw an error when symbolic link is broken if `true` or safely return `lstat` call if `false`.
### `pathSegmentSeparator`
* Type: `string`
* Default: `path.sep`
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.
### `fs`
* Type: `FileSystemAdapter`
* Default: A default FS methods
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.
```ts
interface FileSystemAdapter {
lstat: typeof fs.lstat;
stat: typeof fs.stat;
lstatSync: typeof fs.lstatSync;
statSync: typeof fs.statSync;
readdir: typeof fs.readdir;
readdirSync: typeof fs.readdirSync;
}
const settings = new fsWalk.Settings({
fs: { lstat: fakeLstat }
});
```
## Changelog
See the [Releases section of our GitHub project](https://github.com/nodelib/nodelib/releases) for changelog for each release version.
## License
This software is released under the terms of the MIT license.

14
node_modules/@nodelib/fs.walk/out/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,14 @@
/// <reference types="node" />
import type { Readable } from 'stream';
import type { Dirent, FileSystemAdapter } from '@nodelib/fs.scandir';
import { AsyncCallback } from './providers/async';
import Settings, { DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction, Options } from './settings';
import type { Entry } from './types';
declare function walk(directory: string, callback: AsyncCallback): void;
declare function walk(directory: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
declare namespace walk {
function __promisify__(directory: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>;
}
declare function walkSync(directory: string, optionsOrSettings?: Options | Settings): Entry[];
declare function walkStream(directory: string, optionsOrSettings?: Options | Settings): Readable;
export { walk, walkSync, walkStream, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, Options, DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction };

34
node_modules/@nodelib/fs.walk/out/index.js generated vendored Normal file
View File

@ -0,0 +1,34 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
const async_1 = require("./providers/async");
const stream_1 = require("./providers/stream");
const sync_1 = require("./providers/sync");
const settings_1 = require("./settings");
exports.Settings = settings_1.default;
function walk(directory, optionsOrSettingsOrCallback, callback) {
if (typeof optionsOrSettingsOrCallback === 'function') {
new async_1.default(directory, getSettings()).read(optionsOrSettingsOrCallback);
return;
}
new async_1.default(directory, getSettings(optionsOrSettingsOrCallback)).read(callback);
}
exports.walk = walk;
function walkSync(directory, optionsOrSettings) {
const settings = getSettings(optionsOrSettings);
const provider = new sync_1.default(directory, settings);
return provider.read();
}
exports.walkSync = walkSync;
function walkStream(directory, optionsOrSettings) {
const settings = getSettings(optionsOrSettings);
const provider = new stream_1.default(directory, settings);
return provider.read();
}
exports.walkStream = walkStream;
function getSettings(settingsOrOptions = {}) {
if (settingsOrOptions instanceof settings_1.default) {
return settingsOrOptions;
}
return new settings_1.default(settingsOrOptions);
}

12
node_modules/@nodelib/fs.walk/out/providers/async.d.ts generated vendored Normal file
View File

@ -0,0 +1,12 @@
import AsyncReader from '../readers/async';
import type Settings from '../settings';
import type { Entry, Errno } from '../types';
export declare type AsyncCallback = (error: Errno, entries: Entry[]) => void;
export default class AsyncProvider {
private readonly _root;
private readonly _settings;
protected readonly _reader: AsyncReader;
private readonly _storage;
constructor(_root: string, _settings: Settings);
read(callback: AsyncCallback): void;
}

30
node_modules/@nodelib/fs.walk/out/providers/async.js generated vendored Normal file
View File

@ -0,0 +1,30 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const async_1 = require("../readers/async");
class AsyncProvider {
constructor(_root, _settings) {
this._root = _root;
this._settings = _settings;
this._reader = new async_1.default(this._root, this._settings);
this._storage = [];
}
read(callback) {
this._reader.onError((error) => {
callFailureCallback(callback, error);
});
this._reader.onEntry((entry) => {
this._storage.push(entry);
});
this._reader.onEnd(() => {
callSuccessCallback(callback, this._storage);
});
this._reader.read();
}
}
exports.default = AsyncProvider;
function callFailureCallback(callback, error) {
callback(error);
}
function callSuccessCallback(callback, entries) {
callback(null, entries);
}

View File

@ -0,0 +1,4 @@
import AsyncProvider from './async';
import StreamProvider from './stream';
import SyncProvider from './sync';
export { AsyncProvider, StreamProvider, SyncProvider };

9
node_modules/@nodelib/fs.walk/out/providers/index.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SyncProvider = exports.StreamProvider = exports.AsyncProvider = void 0;
const async_1 = require("./async");
exports.AsyncProvider = async_1.default;
const stream_1 = require("./stream");
exports.StreamProvider = stream_1.default;
const sync_1 = require("./sync");
exports.SyncProvider = sync_1.default;

View File

@ -0,0 +1,12 @@
/// <reference types="node" />
import { Readable } from 'stream';
import AsyncReader from '../readers/async';
import type Settings from '../settings';
export default class StreamProvider {
private readonly _root;
private readonly _settings;
protected readonly _reader: AsyncReader;
protected readonly _stream: Readable;
constructor(_root: string, _settings: Settings);
read(): Readable;
}

34
node_modules/@nodelib/fs.walk/out/providers/stream.js generated vendored Normal file
View File

@ -0,0 +1,34 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const stream_1 = require("stream");
const async_1 = require("../readers/async");
class StreamProvider {
constructor(_root, _settings) {
this._root = _root;
this._settings = _settings;
this._reader = new async_1.default(this._root, this._settings);
this._stream = new stream_1.Readable({
objectMode: true,
read: () => { },
destroy: () => {
if (!this._reader.isDestroyed) {
this._reader.destroy();
}
}
});
}
read() {
this._reader.onError((error) => {
this._stream.emit('error', error);
});
this._reader.onEntry((entry) => {
this._stream.push(entry);
});
this._reader.onEnd(() => {
this._stream.push(null);
});
this._reader.read();
return this._stream;
}
}
exports.default = StreamProvider;

10
node_modules/@nodelib/fs.walk/out/providers/sync.d.ts generated vendored Normal file
View File

@ -0,0 +1,10 @@
import SyncReader from '../readers/sync';
import type Settings from '../settings';
import type { Entry } from '../types';
export default class SyncProvider {
private readonly _root;
private readonly _settings;
protected readonly _reader: SyncReader;
constructor(_root: string, _settings: Settings);
read(): Entry[];
}

14
node_modules/@nodelib/fs.walk/out/providers/sync.js generated vendored Normal file
View File

@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const sync_1 = require("../readers/sync");
class SyncProvider {
constructor(_root, _settings) {
this._root = _root;
this._settings = _settings;
this._reader = new sync_1.default(this._root, this._settings);
}
read() {
return this._reader.read();
}
}
exports.default = SyncProvider;

30
node_modules/@nodelib/fs.walk/out/readers/async.d.ts generated vendored Normal file
View File

@ -0,0 +1,30 @@
/// <reference types="node" />
import { EventEmitter } from 'events';
import * as fsScandir from '@nodelib/fs.scandir';
import type Settings from '../settings';
import type { Entry, Errno } from '../types';
import Reader from './reader';
declare type EntryEventCallback = (entry: Entry) => void;
declare type ErrorEventCallback = (error: Errno) => void;
declare type EndEventCallback = () => void;
export default class AsyncReader extends Reader {
protected readonly _settings: Settings;
protected readonly _scandir: typeof fsScandir.scandir;
protected readonly _emitter: EventEmitter;
private readonly _queue;
private _isFatalError;
private _isDestroyed;
constructor(_root: string, _settings: Settings);
read(): EventEmitter;
get isDestroyed(): boolean;
destroy(): void;
onEntry(callback: EntryEventCallback): void;
onError(callback: ErrorEventCallback): void;
onEnd(callback: EndEventCallback): void;
private _pushToQueue;
private _worker;
private _handleError;
private _handleEntry;
private _emitEntry;
}
export {};

97
node_modules/@nodelib/fs.walk/out/readers/async.js generated vendored Normal file
View File

@ -0,0 +1,97 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const events_1 = require("events");
const fsScandir = require("@nodelib/fs.scandir");
const fastq = require("fastq");
const common = require("./common");
const reader_1 = require("./reader");
class AsyncReader extends reader_1.default {
constructor(_root, _settings) {
super(_root, _settings);
this._settings = _settings;
this._scandir = fsScandir.scandir;
this._emitter = new events_1.EventEmitter();
this._queue = fastq(this._worker.bind(this), this._settings.concurrency);
this._isFatalError = false;
this._isDestroyed = false;
this._queue.drain = () => {
if (!this._isFatalError) {
this._emitter.emit('end');
}
};
}
read() {
this._isFatalError = false;
this._isDestroyed = false;
setImmediate(() => {
this._pushToQueue(this._root, this._settings.basePath);
});
return this._emitter;
}
get isDestroyed() {
return this._isDestroyed;
}
destroy() {
if (this._isDestroyed) {
throw new Error('The reader is already destroyed');
}
this._isDestroyed = true;
this._queue.killAndDrain();
}
onEntry(callback) {
this._emitter.on('entry', callback);
}
onError(callback) {
this._emitter.once('error', callback);
}
onEnd(callback) {
this._emitter.once('end', callback);
}
_pushToQueue(directory, base) {
const queueItem = { directory, base };
this._queue.push(queueItem, (error) => {
if (error !== null) {
this._handleError(error);
}
});
}
_worker(item, done) {
this._scandir(item.directory, this._settings.fsScandirSettings, (error, entries) => {
if (error !== null) {
done(error, undefined);
return;
}
for (const entry of entries) {
this._handleEntry(entry, item.base);
}
done(null, undefined);
});
}
_handleError(error) {
if (this._isDestroyed || !common.isFatalError(this._settings, error)) {
return;
}
this._isFatalError = true;
this._isDestroyed = true;
this._emitter.emit('error', error);
}
_handleEntry(entry, base) {
if (this._isDestroyed || this._isFatalError) {
return;
}
const fullpath = entry.path;
if (base !== undefined) {
entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);
}
if (common.isAppliedFilter(this._settings.entryFilter, entry)) {
this._emitEntry(entry);
}
if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {
this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);
}
}
_emitEntry(entry) {
this._emitter.emit('entry', entry);
}
}
exports.default = AsyncReader;

View File

@ -0,0 +1,7 @@
import type { FilterFunction } from '../settings';
import type Settings from '../settings';
import type { Errno } from '../types';
export declare function isFatalError(settings: Settings, error: Errno): boolean;
export declare function isAppliedFilter<T>(filter: FilterFunction<T> | null, value: T): boolean;
export declare function replacePathSegmentSeparator(filepath: string, separator: string): string;
export declare function joinPathSegments(a: string, b: string, separator: string): string;

31
node_modules/@nodelib/fs.walk/out/readers/common.js generated vendored Normal file
View File

@ -0,0 +1,31 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
function isFatalError(settings, error) {
if (settings.errorFilter === null) {
return true;
}
return !settings.errorFilter(error);
}
exports.isFatalError = isFatalError;
function isAppliedFilter(filter, value) {
return filter === null || filter(value);
}
exports.isAppliedFilter = isAppliedFilter;
function replacePathSegmentSeparator(filepath, separator) {
return filepath.split(/[/\\]/).join(separator);
}
exports.replacePathSegmentSeparator = replacePathSegmentSeparator;
function joinPathSegments(a, b, separator) {
if (a === '') {
return b;
}
/**
* The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
*/
if (a.endsWith(separator)) {
return a + b;
}
return a + separator + b;
}
exports.joinPathSegments = joinPathSegments;

View File

@ -0,0 +1,6 @@
import type Settings from '../settings';
export default class Reader {
protected readonly _root: string;
protected readonly _settings: Settings;
constructor(_root: string, _settings: Settings);
}

11
node_modules/@nodelib/fs.walk/out/readers/reader.js generated vendored Normal file
View File

@ -0,0 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const common = require("./common");
class Reader {
constructor(_root, _settings) {
this._root = _root;
this._settings = _settings;
this._root = common.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator);
}
}
exports.default = Reader;

15
node_modules/@nodelib/fs.walk/out/readers/sync.d.ts generated vendored Normal file
View File

@ -0,0 +1,15 @@
import * as fsScandir from '@nodelib/fs.scandir';
import type { Entry } from '../types';
import Reader from './reader';
export default class SyncReader extends Reader {
protected readonly _scandir: typeof fsScandir.scandirSync;
private readonly _storage;
private readonly _queue;
read(): Entry[];
private _pushToQueue;
private _handleQueue;
private _handleDirectory;
private _handleError;
private _handleEntry;
private _pushToStorage;
}

59
node_modules/@nodelib/fs.walk/out/readers/sync.js generated vendored Normal file
View File

@ -0,0 +1,59 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fsScandir = require("@nodelib/fs.scandir");
const common = require("./common");
const reader_1 = require("./reader");
class SyncReader extends reader_1.default {
constructor() {
super(...arguments);
this._scandir = fsScandir.scandirSync;
this._storage = [];
this._queue = new Set();
}
read() {
this._pushToQueue(this._root, this._settings.basePath);
this._handleQueue();
return this._storage;
}
_pushToQueue(directory, base) {
this._queue.add({ directory, base });
}
_handleQueue() {
for (const item of this._queue.values()) {
this._handleDirectory(item.directory, item.base);
}
}
_handleDirectory(directory, base) {
try {
const entries = this._scandir(directory, this._settings.fsScandirSettings);
for (const entry of entries) {
this._handleEntry(entry, base);
}
}
catch (error) {
this._handleError(error);
}
}
_handleError(error) {
if (!common.isFatalError(this._settings, error)) {
return;
}
throw error;
}
_handleEntry(entry, base) {
const fullpath = entry.path;
if (base !== undefined) {
entry.path = common.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);
}
if (common.isAppliedFilter(this._settings.entryFilter, entry)) {
this._pushToStorage(entry);
}
if (entry.dirent.isDirectory() && common.isAppliedFilter(this._settings.deepFilter, entry)) {
this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);
}
}
_pushToStorage(entry) {
this._storage.push(entry);
}
}
exports.default = SyncReader;

30
node_modules/@nodelib/fs.walk/out/settings.d.ts generated vendored Normal file
View File

@ -0,0 +1,30 @@
import * as fsScandir from '@nodelib/fs.scandir';
import type { Entry, Errno } from './types';
export declare type FilterFunction<T> = (value: T) => boolean;
export declare type DeepFilterFunction = FilterFunction<Entry>;
export declare type EntryFilterFunction = FilterFunction<Entry>;
export declare type ErrorFilterFunction = FilterFunction<Errno>;
export interface Options {
basePath?: string;
concurrency?: number;
deepFilter?: DeepFilterFunction;
entryFilter?: EntryFilterFunction;
errorFilter?: ErrorFilterFunction;
followSymbolicLinks?: boolean;
fs?: Partial<fsScandir.FileSystemAdapter>;
pathSegmentSeparator?: string;
stats?: boolean;
throwErrorOnBrokenSymbolicLink?: boolean;
}
export default class Settings {
private readonly _options;
readonly basePath?: string;
readonly concurrency: number;
readonly deepFilter: DeepFilterFunction | null;
readonly entryFilter: EntryFilterFunction | null;
readonly errorFilter: ErrorFilterFunction | null;
readonly pathSegmentSeparator: string;
readonly fsScandirSettings: fsScandir.Settings;
constructor(_options?: Options);
private _getValue;
}

26
node_modules/@nodelib/fs.walk/out/settings.js generated vendored Normal file
View File

@ -0,0 +1,26 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const path = require("path");
const fsScandir = require("@nodelib/fs.scandir");
class Settings {
constructor(_options = {}) {
this._options = _options;
this.basePath = this._getValue(this._options.basePath, undefined);
this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY);
this.deepFilter = this._getValue(this._options.deepFilter, null);
this.entryFilter = this._getValue(this._options.entryFilter, null);
this.errorFilter = this._getValue(this._options.errorFilter, null);
this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);
this.fsScandirSettings = new fsScandir.Settings({
followSymbolicLinks: this._options.followSymbolicLinks,
fs: this._options.fs,
pathSegmentSeparator: this._options.pathSegmentSeparator,
stats: this._options.stats,
throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink
});
}
_getValue(option, value) {
return option !== null && option !== void 0 ? option : value;
}
}
exports.default = Settings;

8
node_modules/@nodelib/fs.walk/out/types/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,8 @@
/// <reference types="node" />
import type * as scandir from '@nodelib/fs.scandir';
export declare type Entry = scandir.Entry;
export declare type Errno = NodeJS.ErrnoException;
export interface QueueItem {
directory: string;
base?: string;
}

2
node_modules/@nodelib/fs.walk/out/types/index.js generated vendored Normal file
View File

@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

44
node_modules/@nodelib/fs.walk/package.json generated vendored Normal file
View File

@ -0,0 +1,44 @@
{
"name": "@nodelib/fs.walk",
"version": "1.2.8",
"description": "A library for efficiently walking a directory recursively",
"license": "MIT",
"repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk",
"keywords": [
"NodeLib",
"fs",
"FileSystem",
"file system",
"walk",
"scanner",
"crawler"
],
"engines": {
"node": ">= 8"
},
"files": [
"out/**",
"!out/**/*.map",
"!out/**/*.spec.*",
"!out/**/tests/**"
],
"main": "out/index.js",
"typings": "out/index.d.ts",
"scripts": {
"clean": "rimraf {tsconfig.tsbuildinfo,out}",
"lint": "eslint \"src/**/*.ts\" --cache",
"compile": "tsc -b .",
"compile:watch": "tsc -p . --watch --sourceMap",
"test": "mocha \"out/**/*.spec.js\" -s 0",
"build": "npm run clean && npm run compile && npm run lint && npm test",
"watch": "npm run clean && npm run compile:watch"
},
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
},
"devDependencies": {
"@nodelib/fs.macchiato": "1.0.4"
},
"gitHead": "1e5bad48565da2b06b8600e744324ea240bf49d8"
}

37
node_modules/ansi-regex/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,37 @@
declare namespace ansiRegex {
interface Options {
/**
Match only the first ANSI escape.
@default false
*/
onlyFirst: boolean;
}
}
/**
Regular expression for matching ANSI escape codes.
@example
```
import ansiRegex = require('ansi-regex');
ansiRegex().test('\u001B[4mcake\u001B[0m');
//=> true
ansiRegex().test('cake');
//=> false
'\u001B[4mcake\u001B[0m'.match(ansiRegex());
//=> ['\u001B[4m', '\u001B[0m']
'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
//=> ['\u001B[4m']
'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
```
*/
declare function ansiRegex(options?: ansiRegex.Options): RegExp;
export = ansiRegex;

10
node_modules/ansi-regex/index.js generated vendored Normal file
View File

@ -0,0 +1,10 @@
'use strict';
module.exports = ({onlyFirst = false} = {}) => {
const pattern = [
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
].join('|');
return new RegExp(pattern, onlyFirst ? undefined : 'g');
};

9
node_modules/ansi-regex/license generated vendored Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

55
node_modules/ansi-regex/package.json generated vendored Normal file
View File

@ -0,0 +1,55 @@
{
"name": "ansi-regex",
"version": "5.0.1",
"description": "Regular expression for matching ANSI escape codes",
"license": "MIT",
"repository": "chalk/ansi-regex",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd",
"view-supported": "node fixtures/view-codes.js"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"command-line",
"text",
"regex",
"regexp",
"re",
"match",
"test",
"find",
"pattern"
],
"devDependencies": {
"ava": "^2.4.0",
"tsd": "^0.9.0",
"xo": "^0.25.3"
}
}

78
node_modules/ansi-regex/readme.md generated vendored Normal file
View File

@ -0,0 +1,78 @@
# ansi-regex
> Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
## Install
```
$ npm install ansi-regex
```
## Usage
```js
const ansiRegex = require('ansi-regex');
ansiRegex().test('\u001B[4mcake\u001B[0m');
//=> true
ansiRegex().test('cake');
//=> false
'\u001B[4mcake\u001B[0m'.match(ansiRegex());
//=> ['\u001B[4m', '\u001B[0m']
'\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
//=> ['\u001B[4m']
'\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
//=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
```
## API
### ansiRegex(options?)
Returns a regex for matching ANSI escape codes.
#### options
Type: `object`
##### onlyFirst
Type: `boolean`<br>
Default: `false` *(Matches any ANSI escape codes in a string)*
Match only the first ANSI escape.
## FAQ
### Why do you test for codes not in the ECMA 48 standard?
Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. We test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them.
On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out.
## Maintainers
- [Sindre Sorhus](https://github.com/sindresorhus)
- [Josh Junon](https://github.com/qix-)
---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-ansi-regex?utm_source=npm-ansi-regex&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>

345
node_modules/ansi-styles/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,345 @@
declare type CSSColor =
| 'aliceblue'
| 'antiquewhite'
| 'aqua'
| 'aquamarine'
| 'azure'
| 'beige'
| 'bisque'
| 'black'
| 'blanchedalmond'
| 'blue'
| 'blueviolet'
| 'brown'
| 'burlywood'
| 'cadetblue'
| 'chartreuse'
| 'chocolate'
| 'coral'
| 'cornflowerblue'
| 'cornsilk'
| 'crimson'
| 'cyan'
| 'darkblue'
| 'darkcyan'
| 'darkgoldenrod'
| 'darkgray'
| 'darkgreen'
| 'darkgrey'
| 'darkkhaki'
| 'darkmagenta'
| 'darkolivegreen'
| 'darkorange'
| 'darkorchid'
| 'darkred'
| 'darksalmon'
| 'darkseagreen'
| 'darkslateblue'
| 'darkslategray'
| 'darkslategrey'
| 'darkturquoise'
| 'darkviolet'
| 'deeppink'
| 'deepskyblue'
| 'dimgray'
| 'dimgrey'
| 'dodgerblue'
| 'firebrick'
| 'floralwhite'
| 'forestgreen'
| 'fuchsia'
| 'gainsboro'
| 'ghostwhite'
| 'gold'
| 'goldenrod'
| 'gray'
| 'green'
| 'greenyellow'
| 'grey'
| 'honeydew'
| 'hotpink'
| 'indianred'
| 'indigo'
| 'ivory'
| 'khaki'
| 'lavender'
| 'lavenderblush'
| 'lawngreen'
| 'lemonchiffon'
| 'lightblue'
| 'lightcoral'
| 'lightcyan'
| 'lightgoldenrodyellow'
| 'lightgray'
| 'lightgreen'
| 'lightgrey'
| 'lightpink'
| 'lightsalmon'
| 'lightseagreen'
| 'lightskyblue'
| 'lightslategray'
| 'lightslategrey'
| 'lightsteelblue'
| 'lightyellow'
| 'lime'
| 'limegreen'
| 'linen'
| 'magenta'
| 'maroon'
| 'mediumaquamarine'
| 'mediumblue'
| 'mediumorchid'
| 'mediumpurple'
| 'mediumseagreen'
| 'mediumslateblue'
| 'mediumspringgreen'
| 'mediumturquoise'
| 'mediumvioletred'
| 'midnightblue'
| 'mintcream'
| 'mistyrose'
| 'moccasin'
| 'navajowhite'
| 'navy'
| 'oldlace'
| 'olive'
| 'olivedrab'
| 'orange'
| 'orangered'
| 'orchid'
| 'palegoldenrod'
| 'palegreen'
| 'paleturquoise'
| 'palevioletred'
| 'papayawhip'
| 'peachpuff'
| 'peru'
| 'pink'
| 'plum'
| 'powderblue'
| 'purple'
| 'rebeccapurple'
| 'red'
| 'rosybrown'
| 'royalblue'
| 'saddlebrown'
| 'salmon'
| 'sandybrown'
| 'seagreen'
| 'seashell'
| 'sienna'
| 'silver'
| 'skyblue'
| 'slateblue'
| 'slategray'
| 'slategrey'
| 'snow'
| 'springgreen'
| 'steelblue'
| 'tan'
| 'teal'
| 'thistle'
| 'tomato'
| 'turquoise'
| 'violet'
| 'wheat'
| 'white'
| 'whitesmoke'
| 'yellow'
| 'yellowgreen';
declare namespace ansiStyles {
interface ColorConvert {
/**
The RGB color space.
@param red - (`0`-`255`)
@param green - (`0`-`255`)
@param blue - (`0`-`255`)
*/
rgb(red: number, green: number, blue: number): string;
/**
The RGB HEX color space.
@param hex - A hexadecimal string containing RGB data.
*/
hex(hex: string): string;
/**
@param keyword - A CSS color name.
*/
keyword(keyword: CSSColor): string;
/**
The HSL color space.
@param hue - (`0`-`360`)
@param saturation - (`0`-`100`)
@param lightness - (`0`-`100`)
*/
hsl(hue: number, saturation: number, lightness: number): string;
/**
The HSV color space.
@param hue - (`0`-`360`)
@param saturation - (`0`-`100`)
@param value - (`0`-`100`)
*/
hsv(hue: number, saturation: number, value: number): string;
/**
The HSV color space.
@param hue - (`0`-`360`)
@param whiteness - (`0`-`100`)
@param blackness - (`0`-`100`)
*/
hwb(hue: number, whiteness: number, blackness: number): string;
/**
Use a [4-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4-bit) to set text color.
*/
ansi(ansi: number): string;
/**
Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
*/
ansi256(ansi: number): string;
}
interface CSPair {
/**
The ANSI terminal control sequence for starting this style.
*/
readonly open: string;
/**
The ANSI terminal control sequence for ending this style.
*/
readonly close: string;
}
interface ColorBase {
readonly ansi: ColorConvert;
readonly ansi256: ColorConvert;
readonly ansi16m: ColorConvert;
/**
The ANSI terminal control sequence for ending this color.
*/
readonly close: string;
}
interface Modifier {
/**
Resets the current color chain.
*/
readonly reset: CSPair;
/**
Make text bold.
*/
readonly bold: CSPair;
/**
Emitting only a small amount of light.
*/
readonly dim: CSPair;
/**
Make text italic. (Not widely supported)
*/
readonly italic: CSPair;
/**
Make text underline. (Not widely supported)
*/
readonly underline: CSPair;
/**
Inverse background and foreground colors.
*/
readonly inverse: CSPair;
/**
Prints the text, but makes it invisible.
*/
readonly hidden: CSPair;
/**
Puts a horizontal line through the center of the text. (Not widely supported)
*/
readonly strikethrough: CSPair;
}
interface ForegroundColor {
readonly black: CSPair;
readonly red: CSPair;
readonly green: CSPair;
readonly yellow: CSPair;
readonly blue: CSPair;
readonly cyan: CSPair;
readonly magenta: CSPair;
readonly white: CSPair;
/**
Alias for `blackBright`.
*/
readonly gray: CSPair;
/**
Alias for `blackBright`.
*/
readonly grey: CSPair;
readonly blackBright: CSPair;
readonly redBright: CSPair;
readonly greenBright: CSPair;
readonly yellowBright: CSPair;
readonly blueBright: CSPair;
readonly cyanBright: CSPair;
readonly magentaBright: CSPair;
readonly whiteBright: CSPair;
}
interface BackgroundColor {
readonly bgBlack: CSPair;
readonly bgRed: CSPair;
readonly bgGreen: CSPair;
readonly bgYellow: CSPair;
readonly bgBlue: CSPair;
readonly bgCyan: CSPair;
readonly bgMagenta: CSPair;
readonly bgWhite: CSPair;
/**
Alias for `bgBlackBright`.
*/
readonly bgGray: CSPair;
/**
Alias for `bgBlackBright`.
*/
readonly bgGrey: CSPair;
readonly bgBlackBright: CSPair;
readonly bgRedBright: CSPair;
readonly bgGreenBright: CSPair;
readonly bgYellowBright: CSPair;
readonly bgBlueBright: CSPair;
readonly bgCyanBright: CSPair;
readonly bgMagentaBright: CSPair;
readonly bgWhiteBright: CSPair;
}
}
declare const ansiStyles: {
readonly modifier: ansiStyles.Modifier;
readonly color: ansiStyles.ForegroundColor & ansiStyles.ColorBase;
readonly bgColor: ansiStyles.BackgroundColor & ansiStyles.ColorBase;
readonly codes: ReadonlyMap<number, number>;
} & ansiStyles.BackgroundColor & ansiStyles.ForegroundColor & ansiStyles.Modifier;
export = ansiStyles;

163
node_modules/ansi-styles/index.js generated vendored Normal file
View File

@ -0,0 +1,163 @@
'use strict';
const wrapAnsi16 = (fn, offset) => (...args) => {
const code = fn(...args);
return `\u001B[${code + offset}m`;
};
const wrapAnsi256 = (fn, offset) => (...args) => {
const code = fn(...args);
return `\u001B[${38 + offset};5;${code}m`;
};
const wrapAnsi16m = (fn, offset) => (...args) => {
const rgb = fn(...args);
return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
};
const ansi2ansi = n => n;
const rgb2rgb = (r, g, b) => [r, g, b];
const setLazyProperty = (object, property, get) => {
Object.defineProperty(object, property, {
get: () => {
const value = get();
Object.defineProperty(object, property, {
value,
enumerable: true,
configurable: true
});
return value;
},
enumerable: true,
configurable: true
});
};
/** @type {typeof import('color-convert')} */
let colorConvert;
const makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => {
if (colorConvert === undefined) {
colorConvert = require('color-convert');
}
const offset = isBackground ? 10 : 0;
const styles = {};
for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
const name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace;
if (sourceSpace === targetSpace) {
styles[name] = wrap(identity, offset);
} else if (typeof suite === 'object') {
styles[name] = wrap(suite[targetSpace], offset);
}
}
return styles;
};
function assembleStyles() {
const codes = new Map();
const styles = {
modifier: {
reset: [0, 0],
// 21 isn't widely supported and 22 does the same thing
bold: [1, 22],
dim: [2, 22],
italic: [3, 23],
underline: [4, 24],
inverse: [7, 27],
hidden: [8, 28],
strikethrough: [9, 29]
},
color: {
black: [30, 39],
red: [31, 39],
green: [32, 39],
yellow: [33, 39],
blue: [34, 39],
magenta: [35, 39],
cyan: [36, 39],
white: [37, 39],
// Bright color
blackBright: [90, 39],
redBright: [91, 39],
greenBright: [92, 39],
yellowBright: [93, 39],
blueBright: [94, 39],
magentaBright: [95, 39],
cyanBright: [96, 39],
whiteBright: [97, 39]
},
bgColor: {
bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
bgYellow: [43, 49],
bgBlue: [44, 49],
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],
// Bright color
bgBlackBright: [100, 49],
bgRedBright: [101, 49],
bgGreenBright: [102, 49],
bgYellowBright: [103, 49],
bgBlueBright: [104, 49],
bgMagentaBright: [105, 49],
bgCyanBright: [106, 49],
bgWhiteBright: [107, 49]
}
};
// Alias bright black as gray (and grey)
styles.color.gray = styles.color.blackBright;
styles.bgColor.bgGray = styles.bgColor.bgBlackBright;
styles.color.grey = styles.color.blackBright;
styles.bgColor.bgGrey = styles.bgColor.bgBlackBright;
for (const [groupName, group] of Object.entries(styles)) {
for (const [styleName, style] of Object.entries(group)) {
styles[styleName] = {
open: `\u001B[${style[0]}m`,
close: `\u001B[${style[1]}m`
};
group[styleName] = styles[styleName];
codes.set(style[0], style[1]);
}
Object.defineProperty(styles, groupName, {
value: group,
enumerable: false
});
}
Object.defineProperty(styles, 'codes', {
value: codes,
enumerable: false
});
styles.color.close = '\u001B[39m';
styles.bgColor.close = '\u001B[49m';
setLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false));
setLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false));
setLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false));
setLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true));
setLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true));
setLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true));
return styles;
}
// Make the export immutable
Object.defineProperty(module, 'exports', {
enumerable: true,
get: assembleStyles
});

9
node_modules/ansi-styles/license generated vendored Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

56
node_modules/ansi-styles/package.json generated vendored Normal file
View File

@ -0,0 +1,56 @@
{
"name": "ansi-styles",
"version": "4.3.0",
"description": "ANSI escape codes for styling strings in the terminal",
"license": "MIT",
"repository": "chalk/ansi-styles",
"funding": "https://github.com/chalk/ansi-styles?sponsor=1",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "xo && ava && tsd",
"screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"ansi",
"styles",
"color",
"colour",
"colors",
"terminal",
"console",
"cli",
"string",
"tty",
"escape",
"formatting",
"rgb",
"256",
"shell",
"xterm",
"log",
"logging",
"command-line",
"text"
],
"dependencies": {
"color-convert": "^2.0.1"
},
"devDependencies": {
"@types/color-convert": "^1.9.0",
"ava": "^2.3.0",
"svg-term-cli": "^2.1.1",
"tsd": "^0.11.0",
"xo": "^0.25.3"
}
}

152
node_modules/ansi-styles/readme.md generated vendored Normal file
View File

@ -0,0 +1,152 @@
# ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles)
> [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
<img src="screenshot.svg" width="900">
## Install
```
$ npm install ansi-styles
```
## Usage
```js
const style = require('ansi-styles');
console.log(`${style.green.open}Hello world!${style.green.close}`);
// Color conversion between 16/256/truecolor
// NOTE: If conversion goes to 16 colors or 256 colors, the original color
// may be degraded to fit that color palette. This means terminals
// that do not support 16 million colors will best-match the
// original color.
console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close);
console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close);
console.log(style.color.ansi16m.hex('#abcdef') + 'Hello world!' + style.color.close);
```
## API
Each style has an `open` and `close` property.
## Styles
### Modifiers
- `reset`
- `bold`
- `dim`
- `italic` *(Not widely supported)*
- `underline`
- `inverse`
- `hidden`
- `strikethrough` *(Not widely supported)*
### Colors
- `black`
- `red`
- `green`
- `yellow`
- `blue`
- `magenta`
- `cyan`
- `white`
- `blackBright` (alias: `gray`, `grey`)
- `redBright`
- `greenBright`
- `yellowBright`
- `blueBright`
- `magentaBright`
- `cyanBright`
- `whiteBright`
### Background colors
- `bgBlack`
- `bgRed`
- `bgGreen`
- `bgYellow`
- `bgBlue`
- `bgMagenta`
- `bgCyan`
- `bgWhite`
- `bgBlackBright` (alias: `bgGray`, `bgGrey`)
- `bgRedBright`
- `bgGreenBright`
- `bgYellowBright`
- `bgBlueBright`
- `bgMagentaBright`
- `bgCyanBright`
- `bgWhiteBright`
## Advanced usage
By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
- `style.modifier`
- `style.color`
- `style.bgColor`
###### Example
```js
console.log(style.color.green.open);
```
Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values.
###### Example
```js
console.log(style.codes.get(36));
//=> 39
```
## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728)
`ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors.
The following color spaces from `color-convert` are supported:
- `rgb`
- `hex`
- `keyword`
- `hsl`
- `hsv`
- `hwb`
- `ansi`
- `ansi256`
To use these, call the associated conversion function with the intended output, for example:
```js
style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code
style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code
style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code
style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code
```
## Related
- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
## Maintainers
- [Sindre Sorhus](https://github.com/sindresorhus)
- [Josh Junon](https://github.com/qix-)
## For enterprise
Available as part of the Tidelift Subscription.
The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

15
node_modules/anymatch/LICENSE generated vendored Normal file
View File

@ -0,0 +1,15 @@
The ISC License
Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

87
node_modules/anymatch/README.md generated vendored Normal file
View File

@ -0,0 +1,87 @@
anymatch [![Build Status](https://travis-ci.org/micromatch/anymatch.svg?branch=master)](https://travis-ci.org/micromatch/anymatch) [![Coverage Status](https://img.shields.io/coveralls/micromatch/anymatch.svg?branch=master)](https://coveralls.io/r/micromatch/anymatch?branch=master)
======
Javascript module to match a string against a regular expression, glob, string,
or function that takes the string as an argument and returns a truthy or falsy
value. The matcher can also be an array of any or all of these. Useful for
allowing a very flexible user-defined config to define things like file paths.
__Note: This module has Bash-parity, please be aware that Windows-style backslashes are not supported as separators. See https://github.com/micromatch/micromatch#backslashes for more information.__
Usage
-----
```sh
npm install anymatch
```
#### anymatch(matchers, testString, [returnIndex], [options])
* __matchers__: (_Array|String|RegExp|Function_)
String to be directly matched, string with glob patterns, regular expression
test, function that takes the testString as an argument and returns a truthy
value if it should be matched, or an array of any number and mix of these types.
* __testString__: (_String|Array_) The string to test against the matchers. If
passed as an array, the first element of the array will be used as the
`testString` for non-function matchers, while the entire array will be applied
as the arguments for function matchers.
* __options__: (_Object_ [optional]_) Any of the [picomatch](https://github.com/micromatch/picomatch#options) options.
* __returnIndex__: (_Boolean [optional]_) If true, return the array index of
the first matcher that that testString matched, or -1 if no match, instead of a
boolean result.
```js
const anymatch = require('anymatch');
const matchers = [ 'path/to/file.js', 'path/anyjs/**/*.js', /foo.js$/, string => string.includes('bar') && string.length > 10 ] ;
anymatch(matchers, 'path/to/file.js'); // true
anymatch(matchers, 'path/anyjs/baz.js'); // true
anymatch(matchers, 'path/to/foo.js'); // true
anymatch(matchers, 'path/to/bar.js'); // true
anymatch(matchers, 'bar.js'); // false
// returnIndex = true
anymatch(matchers, 'foo.js', {returnIndex: true}); // 2
anymatch(matchers, 'path/anyjs/foo.js', {returnIndex: true}); // 1
// any picomatc
// using globs to match directories and their children
anymatch('node_modules', 'node_modules'); // true
anymatch('node_modules', 'node_modules/somelib/index.js'); // false
anymatch('node_modules/**', 'node_modules/somelib/index.js'); // true
anymatch('node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // false
anymatch('**/node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // true
const matcher = anymatch(matchers);
['foo.js', 'bar.js'].filter(matcher); // [ 'foo.js' ]
anymatch master*
```
#### anymatch(matchers)
You can also pass in only your matcher(s) to get a curried function that has
already been bound to the provided matching criteria. This can be used as an
`Array#filter` callback.
```js
var matcher = anymatch(matchers);
matcher('path/to/file.js'); // true
matcher('path/anyjs/baz.js', true); // 1
['foo.js', 'bar.js'].filter(matcher); // ['foo.js']
```
Changelog
----------
[See release notes page on GitHub](https://github.com/micromatch/anymatch/releases)
- **v3.0:** Removed `startIndex` and `endIndex` arguments. Node 8.x-only.
- **v2.0:** [micromatch](https://github.com/jonschlinkert/micromatch) moves away from minimatch-parity and inline with Bash. This includes handling backslashes differently (see https://github.com/micromatch/micromatch#backslashes for more information).
- **v1.2:** anymatch uses [micromatch](https://github.com/jonschlinkert/micromatch)
for glob pattern matching. Issues with glob pattern matching should be
reported directly to the [micromatch issue tracker](https://github.com/jonschlinkert/micromatch/issues).
License
-------
[ISC](https://raw.github.com/micromatch/anymatch/master/LICENSE)

19
node_modules/anymatch/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,19 @@
type AnymatchFn = (testString: string) => boolean;
type AnymatchPattern = string|RegExp|AnymatchFn;
type AnymatchMatcher = AnymatchPattern|AnymatchPattern[]
type AnymatchTester = {
(testString: string|any[], returnIndex: true): number;
(testString: string|any[]): boolean;
}
type PicomatchOptions = {dot: boolean};
declare const anymatch: {
(matchers: AnymatchMatcher): AnymatchTester;
(matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;
(matchers: AnymatchMatcher, testString: string|any[]): boolean;
}
export {AnymatchMatcher as Matcher}
export {AnymatchTester as Tester}
export default anymatch

104
node_modules/anymatch/index.js generated vendored Normal file
View File

@ -0,0 +1,104 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const picomatch = require('picomatch');
const normalizePath = require('normalize-path');
/**
* @typedef {(testString: string) => boolean} AnymatchFn
* @typedef {string|RegExp|AnymatchFn} AnymatchPattern
* @typedef {AnymatchPattern|AnymatchPattern[]} AnymatchMatcher
*/
const BANG = '!';
const DEFAULT_OPTIONS = {returnIndex: false};
const arrify = (item) => Array.isArray(item) ? item : [item];
/**
* @param {AnymatchPattern} matcher
* @param {object} options
* @returns {AnymatchFn}
*/
const createPattern = (matcher, options) => {
if (typeof matcher === 'function') {
return matcher;
}
if (typeof matcher === 'string') {
const glob = picomatch(matcher, options);
return (string) => matcher === string || glob(string);
}
if (matcher instanceof RegExp) {
return (string) => matcher.test(string);
}
return (string) => false;
};
/**
* @param {Array<Function>} patterns
* @param {Array<Function>} negPatterns
* @param {String|Array} args
* @param {Boolean} returnIndex
* @returns {boolean|number}
*/
const matchPatterns = (patterns, negPatterns, args, returnIndex) => {
const isList = Array.isArray(args);
const _path = isList ? args[0] : args;
if (!isList && typeof _path !== 'string') {
throw new TypeError('anymatch: second argument must be a string: got ' +
Object.prototype.toString.call(_path))
}
const path = normalizePath(_path);
for (let index = 0; index < negPatterns.length; index++) {
const nglob = negPatterns[index];
if (nglob(path)) {
return returnIndex ? -1 : false;
}
}
const applied = isList && [path].concat(args.slice(1));
for (let index = 0; index < patterns.length; index++) {
const pattern = patterns[index];
if (isList ? pattern(...applied) : pattern(path)) {
return returnIndex ? index : true;
}
}
return returnIndex ? -1 : false;
};
/**
* @param {AnymatchMatcher} matchers
* @param {Array|string} testString
* @param {object} options
* @returns {boolean|number|Function}
*/
const anymatch = (matchers, testString, options = DEFAULT_OPTIONS) => {
if (matchers == null) {
throw new TypeError('anymatch: specify first argument');
}
const opts = typeof options === 'boolean' ? {returnIndex: options} : options;
const returnIndex = opts.returnIndex || false;
// Early cache for matchers.
const mtchers = arrify(matchers);
const negatedGlobs = mtchers
.filter(item => typeof item === 'string' && item.charAt(0) === BANG)
.map(item => item.slice(1))
.map(item => picomatch(item, opts));
const patterns = mtchers
.filter(item => typeof item !== 'string' || (typeof item === 'string' && item.charAt(0) !== BANG))
.map(matcher => createPattern(matcher, opts));
if (testString == null) {
return (testString, ri = false) => {
const returnIndex = typeof ri === 'boolean' ? ri : false;
return matchPatterns(patterns, negatedGlobs, testString, returnIndex);
}
}
return matchPatterns(patterns, negatedGlobs, testString, returnIndex);
};
anymatch.default = anymatch;
module.exports = anymatch;

48
node_modules/anymatch/package.json generated vendored Normal file
View File

@ -0,0 +1,48 @@
{
"name": "anymatch",
"version": "3.1.2",
"description": "Matches strings against configurable strings, globs, regular expressions, and/or functions",
"files": [
"index.js",
"index.d.ts"
],
"dependencies": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
},
"author": {
"name": "Elan Shanker",
"url": "https://github.com/es128"
},
"license": "ISC",
"homepage": "https://github.com/micromatch/anymatch",
"repository": {
"type": "git",
"url": "https://github.com/micromatch/anymatch"
},
"keywords": [
"match",
"any",
"string",
"file",
"fs",
"list",
"glob",
"regex",
"regexp",
"regular",
"expression",
"function"
],
"scripts": {
"test": "nyc mocha",
"mocha": "mocha"
},
"devDependencies": {
"mocha": "^6.1.3",
"nyc": "^14.0.0"
},
"engines": {
"node": ">= 8"
}
}

25
node_modules/array-union/index.d.ts generated vendored Normal file
View File

@ -0,0 +1,25 @@
/**
Create an array of unique values, in order, from the input arrays.
@example
```
import arrayUnion = require('array-union');
arrayUnion([1, 1, 2, 3], [2, 3]);
//=> [1, 2, 3]
arrayUnion(['foo', 'foo', 'bar']);
//=> ['foo', 'bar']
arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']);
//=> ['🐱', '🦄', '🐻', '🌈']
arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']);
//=> ['🐱', '🦄', '🐻', '🐶', '🌈']
```
*/
declare function arrayUnion<ArgumentsType extends readonly unknown[]>(
...arguments: readonly ArgumentsType[]
): ArgumentsType;
export = arrayUnion;

3
node_modules/array-union/index.js generated vendored Normal file
View File

@ -0,0 +1,3 @@
const arrayUnion = (...arguments_) => [...new Set(arguments_.flat())];
export default arrayUnion;

9
node_modules/array-union/license generated vendored Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

46
node_modules/array-union/package.json generated vendored Normal file
View File

@ -0,0 +1,46 @@
{
"name": "array-union",
"version": "3.0.1",
"description": "Create an array of unique values, in order, from the input arrays",
"license": "MIT",
"repository": "sindresorhus/array-union",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=12"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"array",
"set",
"uniq",
"unique",
"duplicate",
"remove",
"union",
"combine",
"merge"
],
"devDependencies": {
"ava": "^3.15.0",
"tsd": "^0.14.0",
"xo": "^0.38.2"
},
"tsd": {
"compilerOptions": {
"esModuleInterop": true
}
}
}

39
node_modules/array-union/readme.md generated vendored Normal file
View File

@ -0,0 +1,39 @@
# array-union
> Create an array of unique values, in order, from the input arrays
## Install
```
$ npm install array-union
```
## Usage
```js
import arrayUnion from 'array-union';
arrayUnion([1, 1, 2, 3], [2, 3]);
//=> [1, 2, 3]
arrayUnion(['foo', 'foo', 'bar']);
//=> ['foo', 'bar']
arrayUnion(['🐱', '🦄', '🐻'], ['🦄', '🌈']);
//=> ['🐱', '🦄', '🐻', '🌈']
arrayUnion(['🐱', '🦄'], ['🐻', '🦄'], ['🐶', '🌈', '🌈']);
//=> ['🐱', '🦄', '🐻', '🐶', '🌈']
```
---
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-array-union?utm_source=npm-array-union&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>

Some files were not shown because too many files have changed in this diff Show More