summaryrefslogtreecommitdiffstats
path: root/node_modules/@nodelib/fs.walk/out
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@nodelib/fs.walk/out')
-rw-r--r--node_modules/@nodelib/fs.walk/out/index.d.ts15
-rw-r--r--node_modules/@nodelib/fs.walk/out/index.js32
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/async.d.ts13
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/async.js30
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/index.d.ts5
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/index.js8
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/stream.d.ts13
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/stream.js30
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/sync.d.ts11
-rw-r--r--node_modules/@nodelib/fs.walk/out/providers/sync.js14
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/async.d.ts30
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/async.js93
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/common.d.ts7
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/common.js24
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/reader.d.ts7
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/reader.js11
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/sync.d.ts16
-rw-r--r--node_modules/@nodelib/fs.walk/out/readers/sync.js59
-rw-r--r--node_modules/@nodelib/fs.walk/out/settings.d.ts31
-rw-r--r--node_modules/@nodelib/fs.walk/out/settings.js26
-rw-r--r--node_modules/@nodelib/fs.walk/out/types/index.d.ts9
-rw-r--r--node_modules/@nodelib/fs.walk/out/types/index.js2
22 files changed, 0 insertions, 486 deletions
diff --git a/node_modules/@nodelib/fs.walk/out/index.d.ts b/node_modules/@nodelib/fs.walk/out/index.d.ts
deleted file mode 100644
index 5070b6a..0000000
--- a/node_modules/@nodelib/fs.walk/out/index.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-/// <reference types="node" />
-import { Readable } from 'stream';
-import { Dirent, FileSystemAdapter } from '@nodelib/fs.scandir';
-import { AsyncCallback } from './providers/async';
-import Settings, { DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction, Options } from './settings';
-import { 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 };
-//# sourceMappingURL=index.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/index.js b/node_modules/@nodelib/fs.walk/out/index.js
deleted file mode 100644
index f081527..0000000
--- a/node_modules/@nodelib/fs.walk/out/index.js
+++ /dev/null
@@ -1,32 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-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') {
- return new async_1.default(directory, getSettings()).read(optionsOrSettingsOrCallback);
- }
- 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);
-}
diff --git a/node_modules/@nodelib/fs.walk/out/providers/async.d.ts b/node_modules/@nodelib/fs.walk/out/providers/async.d.ts
deleted file mode 100644
index 1f5f1ba..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/async.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import AsyncReader from '../readers/async';
-import Settings from '../settings';
-import { Entry, Errno } from '../types';
-export declare type AsyncCallback = (err: 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;
-}
-//# sourceMappingURL=async.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/providers/async.js b/node_modules/@nodelib/fs.walk/out/providers/async.js
deleted file mode 100644
index 20e4ab5..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/async.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"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 = new Set();
- }
- read(callback) {
- this._reader.onError((error) => {
- callFailureCallback(callback, error);
- });
- this._reader.onEntry((entry) => {
- this._storage.add(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);
-}
diff --git a/node_modules/@nodelib/fs.walk/out/providers/index.d.ts b/node_modules/@nodelib/fs.walk/out/providers/index.d.ts
deleted file mode 100644
index cbdfb3b..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/index.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import AsyncProvider from './async';
-import StreamProvider from './stream';
-import SyncProvider from './sync';
-export { AsyncProvider, StreamProvider, SyncProvider };
-//# sourceMappingURL=index.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/providers/index.js b/node_modules/@nodelib/fs.walk/out/providers/index.js
deleted file mode 100644
index c6dd916..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/index.js
+++ /dev/null
@@ -1,8 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-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;
diff --git a/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts b/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts
deleted file mode 100644
index 810111d..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-/// <reference types="node" />
-import { Readable } from 'stream';
-import AsyncReader from '../readers/async';
-import 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;
-}
-//# sourceMappingURL=stream.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/providers/stream.js b/node_modules/@nodelib/fs.walk/out/providers/stream.js
deleted file mode 100644
index f44cd8a..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/stream.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"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: this._reader.destroy.bind(this._reader)
- });
- }
- 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;
diff --git a/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts b/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts
deleted file mode 100644
index 9570fd1..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import SyncReader from '../readers/sync';
-import Settings from '../settings';
-import { Entry } from '../types';
-export default class SyncProvider {
- private readonly _root;
- private readonly _settings;
- protected readonly _reader: SyncReader;
- constructor(_root: string, _settings: Settings);
- read(): Entry[];
-}
-//# sourceMappingURL=sync.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/providers/sync.js b/node_modules/@nodelib/fs.walk/out/providers/sync.js
deleted file mode 100644
index fef1d8d..0000000
--- a/node_modules/@nodelib/fs.walk/out/providers/sync.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"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;
diff --git a/node_modules/@nodelib/fs.walk/out/readers/async.d.ts b/node_modules/@nodelib/fs.walk/out/readers/async.d.ts
deleted file mode 100644
index 7325382..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/async.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/// <reference types="node" />
-import { EventEmitter } from 'events';
-import * as fsScandir from '@nodelib/fs.scandir';
-import Settings from '../settings';
-import { 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;
- 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 {};
-//# sourceMappingURL=async.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/readers/async.js b/node_modules/@nodelib/fs.walk/out/readers/async.js
deleted file mode 100644
index d6f666d..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/async.js
+++ /dev/null
@@ -1,93 +0,0 @@
-"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;
- }
- 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) {
- return done(error, undefined);
- }
- for (const entry of entries) {
- this._handleEntry(entry, item.base);
- }
- done(null, undefined);
- });
- }
- _handleError(error) {
- if (!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, entry.path);
- }
- }
- _emitEntry(entry) {
- this._emitter.emit('entry', entry);
- }
-}
-exports.default = AsyncReader;
diff --git a/node_modules/@nodelib/fs.walk/out/readers/common.d.ts b/node_modules/@nodelib/fs.walk/out/readers/common.d.ts
deleted file mode 100644
index 93bbae3..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/common.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import Settings, { FilterFunction } from '../settings';
-import { 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;
-//# sourceMappingURL=common.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/readers/common.js b/node_modules/@nodelib/fs.walk/out/readers/common.js
deleted file mode 100644
index c340606..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/common.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-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;
- }
- return a + separator + b;
-}
-exports.joinPathSegments = joinPathSegments;
diff --git a/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts b/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts
deleted file mode 100644
index 688968f..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import Settings from '../settings';
-export default class Reader {
- protected readonly _root: string;
- protected readonly _settings: Settings;
- constructor(_root: string, _settings: Settings);
-}
-//# sourceMappingURL=reader.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/readers/reader.js b/node_modules/@nodelib/fs.walk/out/readers/reader.js
deleted file mode 100644
index 25e7997..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/reader.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"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;
diff --git a/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts b/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts
deleted file mode 100644
index b0bb267..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import * as fsScandir from '@nodelib/fs.scandir';
-import { 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;
-}
-//# sourceMappingURL=sync.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/readers/sync.js b/node_modules/@nodelib/fs.walk/out/readers/sync.js
deleted file mode 100644
index d0f0691..0000000
--- a/node_modules/@nodelib/fs.walk/out/readers/sync.js
+++ /dev/null
@@ -1,59 +0,0 @@
-"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 = new Set();
- 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, entry.path);
- }
- }
- _pushToStorage(entry) {
- this._storage.add(entry);
- }
-}
-exports.default = SyncReader;
diff --git a/node_modules/@nodelib/fs.walk/out/settings.d.ts b/node_modules/@nodelib/fs.walk/out/settings.d.ts
deleted file mode 100644
index bc1f9d5..0000000
--- a/node_modules/@nodelib/fs.walk/out/settings.d.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import * as fsScandir from '@nodelib/fs.scandir';
-import { 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 declare type 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;
-}
-//# sourceMappingURL=settings.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/settings.js b/node_modules/@nodelib/fs.walk/out/settings.js
deleted file mode 100644
index 4357987..0000000
--- a/node_modules/@nodelib/fs.walk/out/settings.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"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, 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 === undefined ? value : option;
- }
-}
-exports.default = Settings;
diff --git a/node_modules/@nodelib/fs.walk/out/types/index.d.ts b/node_modules/@nodelib/fs.walk/out/types/index.d.ts
deleted file mode 100644
index 75bc4ab..0000000
--- a/node_modules/@nodelib/fs.walk/out/types/index.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/// <reference types="node" />
-import * as scandir from '@nodelib/fs.scandir';
-export declare type Entry = scandir.Entry;
-export declare type Errno = NodeJS.ErrnoException;
-export declare type QueueItem = {
- directory: string;
- base?: string;
-};
-//# sourceMappingURL=index.d.ts.map \ No newline at end of file
diff --git a/node_modules/@nodelib/fs.walk/out/types/index.js b/node_modules/@nodelib/fs.walk/out/types/index.js
deleted file mode 100644
index ce03781..0000000
--- a/node_modules/@nodelib/fs.walk/out/types/index.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });