From 3c51c3be85bb0d1bdb87ea0d6632f1c256912f27 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 6 Oct 2019 21:37:45 +0200 Subject: build: Add some required modules for node --- node_modules/@nodelib/fs.stat/out/managers/options.d.ts | 11 +++++++++++ node_modules/@nodelib/fs.stat/out/managers/options.js | 12 ++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 node_modules/@nodelib/fs.stat/out/managers/options.d.ts create mode 100644 node_modules/@nodelib/fs.stat/out/managers/options.js (limited to 'node_modules/@nodelib/fs.stat/out/managers') diff --git a/node_modules/@nodelib/fs.stat/out/managers/options.d.ts b/node_modules/@nodelib/fs.stat/out/managers/options.d.ts new file mode 100644 index 0000000..6e2e9b0 --- /dev/null +++ b/node_modules/@nodelib/fs.stat/out/managers/options.d.ts @@ -0,0 +1,11 @@ +import { FileSystemAdapter } from '../adapters/fs'; +export interface Options { + fs?: Partial; + throwErrorOnBrokenSymlinks?: boolean; + followSymlinks?: boolean; +} +export declare type StrictOptions = { + fs: FileSystemAdapter; +} & Required; +export declare function prepare(opts?: Options): StrictOptions; +//# sourceMappingURL=options.d.ts.map \ No newline at end of file diff --git a/node_modules/@nodelib/fs.stat/out/managers/options.js b/node_modules/@nodelib/fs.stat/out/managers/options.js new file mode 100644 index 0000000..ae52922 --- /dev/null +++ b/node_modules/@nodelib/fs.stat/out/managers/options.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const fsAdapter = require("../adapters/fs"); +function prepare(opts) { + const options = Object.assign({ + fs: fsAdapter.getFileSystemAdapter(opts ? opts.fs : undefined), + throwErrorOnBrokenSymlinks: true, + followSymlinks: true + }, opts); + return options; +} +exports.prepare = prepare; -- cgit v1.2.3