diff --git a/pak-builder/node_modules/.package-lock.json b/pak-builder/node_modules/.package-lock.json index 71afc50..78703d9 100644 --- a/pak-builder/node_modules/.package-lock.json +++ b/pak-builder/node_modules/.package-lock.json @@ -1,35 +1,44 @@ { "name": "pak-builder", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 2, "requires": true, "packages": { "node_modules/@actions/core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.3.0.tgz", - "integrity": "sha512-xxtX0Cwdhb8LcgatfJkokqT8KzPvcIbwL9xpLU09nOwBzaStbfm0dNncsP0M4us+EpoPdWy7vbzU5vSOH7K6pg==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz", + "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg==" }, "node_modules/@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "dependencies": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", + "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "engines": { + "node": ">=6.9.0" + } }, "node_modules/@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "dependencies": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" } }, "node_modules/@babel/highlight/node_modules/ansi-styles": { @@ -89,11 +98,11 @@ } }, "node_modules/@nodelib/fs.scandir": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", - "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", + "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.4", + "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" }, "engines": { @@ -101,19 +110,19 @@ } }, "node_modules/@nodelib/fs.stat": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", - "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==", + "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.6", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", - "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.7.tgz", + "integrity": "sha512-BTIhocbPBSrRmHxOAJFtR18oLhxTtAFDAvL8hY1S3iU8k+E60W/YFs4jrixGzQjMpF4qPXxIQHcjVD9dz1C2QA==", "dependencies": { - "@nodelib/fs.scandir": "2.1.4", + "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" }, "engines": { @@ -186,9 +195,9 @@ "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==" }, "node_modules/@types/node": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz", - "integrity": "sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==" + "version": "15.12.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.12.4.tgz", + "integrity": "sha512-zrNj1+yqYF4WskCMOHwN+w9iuD12+dGm0rQ35HLl9/Ouuq52cEtd0CH9qMgrdNmi5ejC1/V7vKEXYubB+65DkA==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.0", @@ -300,16 +309,16 @@ } }, "node_modules/cacheable-request": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.1.tgz", - "integrity": "sha512-lt0mJ6YAnsrBErpTMWeu5kl/tg9xMAWjavYTN6VQXM1A/teBITuNcccXsCxF0tDQQJf9DfAaX5O4e0zp0KlfZw==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz", + "integrity": "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==", "dependencies": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", "http-cache-semantics": "^4.0.0", "keyv": "^4.0.0", "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", + "normalize-url": "^6.0.1", "responselike": "^2.0.0" }, "engines": { @@ -849,9 +858,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/install-rstats": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/install-rstats/-/install-rstats-1.3.4.tgz", - "integrity": "sha512-lkM9iwADAbDmElmZqUvV6HFqy2p8qgPM5lPOQnxVmo6zxtF+l/CWMRLi3YlS3xzvptYFISaJWPQ+fWiz0Ubscw==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/install-rstats/-/install-rstats-1.3.5.tgz", + "integrity": "sha512-mdZ3GE2cd9KlryDCstEpnsG0pS4O8DhKFejphBveXxb8Rfh/1DIMkkPMWL1RxFFW9SPsfrNnRYjbpz7b9cwgCg==", "dependencies": { "array-unique": "^0.3.2", "bluebird": "^3.7.2", @@ -1243,11 +1252,14 @@ } }, "node_modules/normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/npm-run-path": { @@ -1871,9 +1883,9 @@ } }, "node_modules/tail": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.2.tgz", - "integrity": "sha512-IlfiFF8g5sPAqIZEL3qkIFcjODBM5DqdkVUhwXdKSDYqOgXGL4Gu0Hh1UQWXdCW5gBHi52cnk9WWMowsfjF4XA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.3.tgz", + "integrity": "sha512-XbBmVsJZ636kncPew2Y+pOxOsb9GsNFZ1bcAGCDn23ME/JPJ+TImZYjnqBnMLdw+K11Hql5ZgiUQmRvDHaFc6w==", "engines": { "node": ">= 6.0.0" } @@ -1906,9 +1918,9 @@ } }, "node_modules/trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "engines": { "node": ">=8" } diff --git a/pak-builder/node_modules/@actions/core/README.md b/pak-builder/node_modules/@actions/core/README.md index cbb9cfc..deffaa5 100644 --- a/pak-builder/node_modules/@actions/core/README.md +++ b/pak-builder/node_modules/@actions/core/README.md @@ -23,6 +23,7 @@ Outputs can be set with `setOutput` which makes them available to be mapped into ```js const myInput = core.getInput('inputName', { required: true }); const myBooleanInput = core.getBooleanInput('booleanInputName', { required: true }); +const myMultilineInput = core.getMultilineInput('multilineInputName', { required: true }); core.setOutput('outputKey', 'outputVal'); ``` diff --git a/pak-builder/node_modules/@actions/core/lib/core.d.ts b/pak-builder/node_modules/@actions/core/lib/core.d.ts index e8abef2..6735251 100644 --- a/pak-builder/node_modules/@actions/core/lib/core.d.ts +++ b/pak-builder/node_modules/@actions/core/lib/core.d.ts @@ -46,6 +46,15 @@ export declare function addPath(inputPath: string): void; * @returns string */ export declare function getInput(name: string, options?: InputOptions): string; +/** + * Gets the values of an multiline input. Each value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string[] + * + */ +export declare function getMultilineInput(name: string, options?: InputOptions): string[]; /** * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. * Support boolean input list: `true | True | TRUE | false | False | FALSE` . diff --git a/pak-builder/node_modules/@actions/core/lib/core.js b/pak-builder/node_modules/@actions/core/lib/core.js index 005de8a..f9dbee3 100644 --- a/pak-builder/node_modules/@actions/core/lib/core.js +++ b/pak-builder/node_modules/@actions/core/lib/core.js @@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; +exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; const command_1 = require("./command"); const file_command_1 = require("./file-command"); const utils_1 = require("./utils"); @@ -114,6 +114,21 @@ function getInput(name, options) { return val.trim(); } exports.getInput = getInput; +/** + * Gets the values of an multiline input. Each value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string[] + * + */ +function getMultilineInput(name, options) { + const inputs = getInput(name, options) + .split('\n') + .filter(x => x !== ''); + return inputs; +} +exports.getMultilineInput = getMultilineInput; /** * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. * Support boolean input list: `true | True | TRUE | false | False | FALSE` . diff --git a/pak-builder/node_modules/@actions/core/lib/core.js.map b/pak-builder/node_modules/@actions/core/lib/core.js.map index fe0c4f5..8bd42c0 100644 --- a/pak-builder/node_modules/@actions/core/lib/core.js.map +++ b/pak-builder/node_modules/@actions/core/lib/core.js.map @@ -1 +1 @@ -{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAA+D;AAC/D,mCAAsC;AAEtC,uCAAwB;AACxB,2CAA4B;AAa5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS,GAAG,qCAAqC,CAAA;QACvD,MAAM,YAAY,GAAG,GAAG,IAAI,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;QACzF,2BAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;KACtC;SAAM;QACL,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,YAAY,CAAC,CAAA;KAC9C;AACH,CAAC;AAZD,wCAYC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;IACjD,IAAI,QAAQ,EAAE;QACZ,2BAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;KACpC;SAAM;QACL,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;KACxC;IACD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AARD,0BAQC;AAED;;;;;;;;GAQG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACrE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,IAAI,OAAO,IAAI,OAAO,CAAC,cAAc,KAAK,KAAK,EAAE;QAC/C,OAAO,GAAG,CAAA;KACX;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AAZD,4BAYC;AAED;;;;;;;;;GASG;AACH,SAAgB,eAAe,CAAC,IAAY,EAAE,OAAsB;IAClE,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC1C,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACnC,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAA;IACxC,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAC1C,MAAM,IAAI,SAAS,CACjB,6DAA6D,IAAI,IAAI;QACnE,4EAA4E,CAC/E,CAAA;AACH,CAAC;AAVD,0CAUC;AAED;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAHD,8BAGC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAC7C,eAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;AACvC,CAAC;AAFD,wCAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAuB;IAC/C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IAEnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAJD,8BAIC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAA;AAC5C,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAuB;IAC3C,eAAK,CAAC,OAAO,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AACzE,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAuB;IAC7C,eAAK,CAAC,SAAS,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AAC3E,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,OAAe;IAClC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,oBAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC"} \ No newline at end of file +{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA6C;AAC7C,iDAA+D;AAC/D,mCAAsC;AAEtC,uCAAwB;AACxB,2CAA4B;AAa5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,8DAA8D;AAC9D,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAQ;IACnD,MAAM,YAAY,GAAG,sBAAc,CAAC,GAAG,CAAC,CAAA;IACxC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,YAAY,CAAA;IAEhC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAA;IAChD,IAAI,QAAQ,EAAE;QACZ,MAAM,SAAS,GAAG,qCAAqC,CAAA;QACvD,MAAM,YAAY,GAAG,GAAG,IAAI,KAAK,SAAS,GAAG,EAAE,CAAC,GAAG,GAAG,YAAY,GAAG,EAAE,CAAC,GAAG,GAAG,SAAS,EAAE,CAAA;QACzF,2BAAgB,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;KACtC;SAAM;QACL,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,YAAY,CAAC,CAAA;KAC9C;AACH,CAAC;AAZD,wCAYC;AAED;;;GAGG;AACH,SAAgB,SAAS,CAAC,MAAc;IACtC,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,MAAM,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,SAAiB;IACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,EAAE,CAAA;IACjD,IAAI,QAAQ,EAAE;QACZ,2BAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;KACpC;SAAM;QACL,sBAAY,CAAC,UAAU,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;KACxC;IACD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAA;AAC7E,CAAC;AARD,0BAQC;AAED;;;;;;;;GAQG;AACH,SAAgB,QAAQ,CAAC,IAAY,EAAE,OAAsB;IAC3D,MAAM,GAAG,GACP,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,IAAI,EAAE,CAAA;IACrE,IAAI,OAAO,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,GAAG,EAAE;QACvC,MAAM,IAAI,KAAK,CAAC,oCAAoC,IAAI,EAAE,CAAC,CAAA;KAC5D;IAED,IAAI,OAAO,IAAI,OAAO,CAAC,cAAc,KAAK,KAAK,EAAE;QAC/C,OAAO,GAAG,CAAA;KACX;IAED,OAAO,GAAG,CAAC,IAAI,EAAE,CAAA;AACnB,CAAC;AAZD,4BAYC;AAED;;;;;;;GAOG;AACH,SAAgB,iBAAiB,CAC/B,IAAY,EACZ,OAAsB;IAEtB,MAAM,MAAM,GAAa,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;SAC7C,KAAK,CAAC,IAAI,CAAC;SACX,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAA;IAExB,OAAO,MAAM,CAAA;AACf,CAAC;AATD,8CASC;AAED;;;;;;;;;GASG;AACH,SAAgB,eAAe,CAAC,IAAY,EAAE,OAAsB;IAClE,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC1C,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IACnC,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAA;IACxC,IAAI,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAC1C,MAAM,IAAI,SAAS,CACjB,6DAA6D,IAAI,IAAI;QACnE,4EAA4E,CAC/E,CAAA;AACH,CAAC;AAVD,0CAUC;AAED;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IAC5B,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAHD,8BAGC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAAC,OAAgB;IAC7C,eAAK,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;AACvC,CAAC;AAFD,wCAEC;AAED,yEAAyE;AACzE,UAAU;AACV,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAuB;IAC/C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IAEnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAJD,8BAIC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;GAEG;AACH,SAAgB,OAAO;IACrB,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAA;AAC5C,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAuB;IAC3C,eAAK,CAAC,OAAO,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AACzE,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAuB;IAC7C,eAAK,CAAC,SAAS,EAAE,OAAO,YAAY,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AAC3E,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,OAAe;IAClC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,oBAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC;AAED,yEAAyE;AACzE,uBAAuB;AACvB,yEAAyE;AAEzE;;;;;GAKG;AACH,8DAA8D;AAC9D,SAAgB,SAAS,CAAC,IAAY,EAAE,KAAU;IAChD,sBAAY,CAAC,YAAY,EAAE,EAAC,IAAI,EAAC,EAAE,KAAK,CAAC,CAAA;AAC3C,CAAC;AAFD,8BAEC;AAED;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAY;IACnC,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,IAAI,EAAE,CAAA;AAC3C,CAAC;AAFD,4BAEC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@actions/core/package.json b/pak-builder/node_modules/@actions/core/package.json index 03ad328..9403749 100644 --- a/pak-builder/node_modules/@actions/core/package.json +++ b/pak-builder/node_modules/@actions/core/package.json @@ -1,6 +1,6 @@ { "name": "@actions/core", - "version": "1.3.0", + "version": "1.4.0", "description": "Actions core lib", "keywords": [ "github", diff --git a/pak-builder/node_modules/@babel/code-frame/lib/index.js b/pak-builder/node_modules/@babel/code-frame/lib/index.js index 5b2a57a..a32a1e1 100644 --- a/pak-builder/node_modules/@babel/code-frame/lib/index.js +++ b/pak-builder/node_modules/@babel/code-frame/lib/index.js @@ -6,11 +6,7 @@ Object.defineProperty(exports, "__esModule", { exports.codeFrameColumns = codeFrameColumns; exports.default = _default; -var _highlight = _interopRequireWildcard(require("@babel/highlight")); - -function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } - -function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } +var _highlight = require("@babel/highlight"); let deprecationWarningShown = false; diff --git a/pak-builder/node_modules/@babel/code-frame/package.json b/pak-builder/node_modules/@babel/code-frame/package.json index 0713a93..25f803d 100644 --- a/pak-builder/node_modules/@babel/code-frame/package.json +++ b/pak-builder/node_modules/@babel/code-frame/package.json @@ -1,8 +1,8 @@ { "name": "@babel/code-frame", - "version": "7.12.13", + "version": "7.14.5", "description": "Generate errors that contain a code frame that point to source locations.", - "author": "Sebastian McKenzie ", + "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-code-frame", "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen", "license": "MIT", @@ -14,13 +14,16 @@ "url": "https://github.com/babel/babel.git", "directory": "packages/babel-code-frame" }, - "main": "lib/index.js", + "main": "./lib/index.js", "dependencies": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" }, "devDependencies": { "@types/chalk": "^2.0.0", "chalk": "^2.0.0", "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" } } \ No newline at end of file diff --git a/pak-builder/node_modules/@babel/helper-validator-identifier/package.json b/pak-builder/node_modules/@babel/helper-validator-identifier/package.json index 3e5438d..80b8c9a 100644 --- a/pak-builder/node_modules/@babel/helper-validator-identifier/package.json +++ b/pak-builder/node_modules/@babel/helper-validator-identifier/package.json @@ -1,6 +1,6 @@ { "name": "@babel/helper-validator-identifier", - "version": "7.14.0", + "version": "7.14.5", "description": "Validate identifier/keywords name", "repository": { "type": "git", @@ -18,5 +18,9 @@ "@unicode/unicode-13.0.0": "^1.0.6", "benchmark": "^2.1.4", "charcodes": "^0.2.0" - } + }, + "engines": { + "node": ">=6.9.0" + }, + "author": "The Babel Team (https://babel.dev/team)" } \ No newline at end of file diff --git a/pak-builder/node_modules/@babel/highlight/lib/index.js b/pak-builder/node_modules/@babel/highlight/lib/index.js index 14ca2e3..34e308f 100644 --- a/pak-builder/node_modules/@babel/highlight/lib/index.js +++ b/pak-builder/node_modules/@babel/highlight/lib/index.js @@ -7,11 +7,11 @@ exports.shouldHighlight = shouldHighlight; exports.getChalk = getChalk; exports.default = highlight; -var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); +var _jsTokens = require("js-tokens"); -const jsTokens = require("js-tokens"); +var _helperValidatorIdentifier = require("@babel/helper-validator-identifier"); -const Chalk = require("chalk"); +var _chalk = require("chalk"); const sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]); @@ -64,8 +64,9 @@ let tokenize; tokenize = function* (text) { let match; - while (match = jsTokens.default.exec(text)) { - const token = jsTokens.matchToToken(match); + while (match = _jsTokens.default.exec(text)) { + const token = _jsTokens.matchToToken(match); + yield { type: getTokenType(token, match.index, text), value: token.value @@ -94,14 +95,14 @@ function highlightTokens(defs, text) { } function shouldHighlight(options) { - return !!Chalk.supportsColor || options.forceColor; + return !!_chalk.supportsColor || options.forceColor; } function getChalk(options) { - return options.forceColor ? new Chalk.constructor({ + return options.forceColor ? new _chalk.constructor({ enabled: true, level: 1 - }) : Chalk; + }) : _chalk; } function highlight(code, options = {}) { diff --git a/pak-builder/node_modules/@babel/highlight/package.json b/pak-builder/node_modules/@babel/highlight/package.json index 6d17799..210c22c 100644 --- a/pak-builder/node_modules/@babel/highlight/package.json +++ b/pak-builder/node_modules/@babel/highlight/package.json @@ -1,8 +1,8 @@ { "name": "@babel/highlight", - "version": "7.14.0", + "version": "7.14.5", "description": "Syntax highlight JavaScript strings for output in terminals.", - "author": "suchipi ", + "author": "The Babel Team (https://babel.dev/team)", "homepage": "https://babel.dev/docs/en/next/babel-highlight", "license": "MIT", "publishConfig": { @@ -13,14 +13,17 @@ "url": "https://github.com/babel/babel.git", "directory": "packages/babel-highlight" }, - "main": "lib/index.js", + "main": "./lib/index.js", "dependencies": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, "devDependencies": { "@types/chalk": "^2.0.0", "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" } } \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/.eslintcache b/pak-builder/node_modules/@nodelib/fs.scandir/.eslintcache deleted file mode 100644 index 733e3f4..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\adapters\\fs.spec.ts":"1","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\adapters\\fs.ts":"2","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\constants.ts":"3","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\index.spec.ts":"4","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\index.ts":"5","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\async.spec.ts":"6","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\async.ts":"7","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\common.spec.ts":"8","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\common.ts":"9","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\sync.spec.ts":"10","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\sync.ts":"11","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\settings.spec.ts":"12","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\settings.ts":"13","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\types\\index.ts":"14","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\utils\\fs.spec.ts":"15","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\utils\\fs.ts":"16","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\utils\\index.ts":"17"},{"size":807,"mtime":1609075886204,"results":"18","hashOfConfig":"19"},{"size":662,"mtime":1609075886204,"results":"20","hashOfConfig":"19"},{"size":629,"mtime":1609075886205,"results":"21","hashOfConfig":"19"},{"size":2048,"mtime":1609075886205,"results":"22","hashOfConfig":"19"},{"size":1618,"mtime":1609075886205,"results":"23","hashOfConfig":"19"},{"size":6536,"mtime":1609075886206,"results":"24","hashOfConfig":"19"},{"size":3511,"mtime":1609075886207,"results":"25","hashOfConfig":"19"},{"size":981,"mtime":1609075886207,"results":"26","hashOfConfig":"19"},{"size":278,"mtime":1609075886208,"results":"27","hashOfConfig":"19"},{"size":5757,"mtime":1609075886208,"results":"28","hashOfConfig":"19"},{"size":1679,"mtime":1609075886209,"results":"29","hashOfConfig":"19"},{"size":940,"mtime":1609075886210,"results":"30","hashOfConfig":"19"},{"size":1210,"mtime":1609075886211,"results":"31","hashOfConfig":"19"},{"size":361,"mtime":1609075886212,"results":"32","hashOfConfig":"19"},{"size":626,"mtime":1609075886213,"results":"33","hashOfConfig":"19"},{"size":949,"mtime":1609075886213,"results":"34","hashOfConfig":"19"},{"size":45,"mtime":1609075886214,"results":"35","hashOfConfig":"19"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1uegd6b",{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"58","messages":"59","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\adapters\\fs.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\adapters\\fs.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\constants.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\index.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\index.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\async.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\async.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\common.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\common.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\sync.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\providers\\sync.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\settings.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\settings.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\types\\index.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\utils\\fs.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\utils\\fs.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.scandir\\src\\utils\\index.ts",[]] \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts index d0adcb4..827f1db 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts @@ -1,13 +1,20 @@ -/// -import * as fs from 'fs'; -export declare type 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; -}; -export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter; -export declare function createFileSystemAdapter(fsMethods?: Partial): FileSystemAdapter; -//# sourceMappingURL=fs.d.ts.map \ No newline at end of file +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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts.map deleted file mode 100644 index 3cc3d1e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/adapters/fs.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC/B,KAAK,EAAE,OAAO,EAAE,CAAC,KAAK,CAAC;IACvB,IAAI,EAAE,OAAO,EAAE,CAAC,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,EAAE,CAAC,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC;IAC7B,OAAO,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC;IAC3B,WAAW,EAAE,OAAO,EAAE,CAAC,WAAW,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAOjC,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,iBAAiB,CASjG"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.js index a1d16ba..f0fe022 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.js @@ -1,19 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.d.ts deleted file mode 100644 index 2858c4b..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=fs.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.d.ts.map deleted file mode 100644 index 8e096bb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fs.spec.d.ts","sourceRoot":"","sources":["../../src/adapters/fs.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.js deleted file mode 100644 index 1b9031e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/adapters/fs.spec.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -const adapter = require("./fs"); -describe('Adapters → FileSystem', () => { - it('should return original FS methods', () => { - const expected = adapter.FILE_SYSTEM_ADAPTER; - const actual = adapter.createFileSystemAdapter(); - assert.deepStrictEqual(actual, expected); - }); - it('should return custom FS methods', () => { - const customLstatSyncMethod = () => new fs_macchiato_1.Stats(); - const expected = Object.assign(Object.assign({}, adapter.FILE_SYSTEM_ADAPTER), { lstatSync: customLstatSyncMethod }); - const actual = adapter.createFileSystemAdapter({ - lstatSync: customLstatSyncMethod - }); - assert.deepStrictEqual(actual, expected); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.d.ts index bb3f4fd..33f1749 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.d.ts @@ -1,5 +1,4 @@ -/** - * IS `true` for Node.js 10.10 and greater. - */ -export declare const IS_SUPPORT_READDIR_WITH_FILE_TYPES: boolean; -//# sourceMappingURL=constants.d.ts.map \ No newline at end of file +/** + * IS `true` for Node.js 10.10 and greater. + */ +export declare const IS_SUPPORT_READDIR_WITH_FILE_TYPES: boolean; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.d.ts.map deleted file mode 100644 index a986bb6..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,eAAO,MAAM,kCAAkC,SAAuD,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.js index 8b6c8d1..7e3d441 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/constants.js @@ -1,14 +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('.'); -const MAJOR_VERSION = parseInt(NODE_PROCESS_VERSION_PARTS[0], 10); -const MINOR_VERSION = 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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.d.ts index b12b529..b9da83e 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.d.ts @@ -1,13 +1,12 @@ -import { FileSystemAdapter } from './adapters/fs'; -import * as async from './providers/async'; -import Settings, { Options } from './settings'; -import { 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; -} -declare function scandirSync(path: string, optionsOrSettings?: Options | Settings): Entry[]; -export { scandir, scandirSync, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, Options }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file +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; +} +declare function scandirSync(path: string, optionsOrSettings?: Options | Settings): Entry[]; +export { scandir, scandirSync, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod, Options }; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.d.ts.map deleted file mode 100644 index bc4dec0..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAE3C,OAAO,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAExC,aAAK,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;AAEzC,iBAAS,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;AAC9D,iBAAS,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,GAAG,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;AAWrG,OAAO,WAAW,OAAO,CAAC;IACzB,SAAS,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;CAC/F;AAED,iBAAS,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,EAAE,CAIlF;AAUD,OAAO,EACN,OAAO,EACP,WAAW,EACX,QAAQ,EAIR,aAAa,EACb,MAAM,EACN,KAAK,EACL,iBAAiB,EACjB,OAAO,EACP,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.js index 653a510..99c70d3 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.js @@ -1,25 +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') { - return async.read(path, getSettings(), optionsOrSettingsOrCallback); - } - 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); -} +"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); +} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.d.ts deleted file mode 100644 index 4e9d2bb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=index.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.d.ts.map deleted file mode 100644 index 47bd666..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.js deleted file mode 100644 index 09773f6..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/index.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fs = require("fs"); -const rimraf = require("rimraf"); -const _1 = require("."); -describe('Package', () => { - before(() => { - rimraf.sync('fixtures'); - fs.mkdirSync('fixtures'); - fs.writeFileSync('fixtures/file.txt', ''); - }); - after(() => { - rimraf.sync('fixtures'); - }); - describe('.scandir', () => { - it('should work without options or settings', (done) => { - _1.scandir('fixtures', (error, entries) => { - assert.strictEqual(error, null); - assert.ok(entries[0].name); - assert.ok(entries[0].path); - assert.ok(entries[0].dirent); - done(); - }); - }); - it('should work with options', (done) => { - _1.scandir('fixtures', { stats: true }, (error, entries) => { - assert.strictEqual(error, null); - assert.ok(entries[0].name); - assert.ok(entries[0].path); - assert.ok(entries[0].dirent); - assert.ok(entries[0].stats); - done(); - }); - }); - it('should work with settings', (done) => { - const settings = new _1.Settings({ stats: true }); - _1.scandir('fixtures', settings, (error, entries) => { - assert.strictEqual(error, null); - assert.ok(entries[0].name); - assert.ok(entries[0].path); - assert.ok(entries[0].dirent); - assert.ok(entries[0].stats); - done(); - }); - }); - }); - describe('.scandirSync', () => { - it('should work without options or settings', () => { - const actual = _1.scandirSync('fixtures'); - assert.ok(actual[0].name); - assert.ok(actual[0].path); - assert.ok(actual[0].dirent); - }); - it('should work with options', () => { - const actual = _1.scandirSync('fixtures', { stats: true }); - assert.ok(actual[0].name); - assert.ok(actual[0].path); - assert.ok(actual[0].dirent); - assert.ok(actual[0].stats); - }); - it('should work with settings', () => { - const settings = new _1.Settings({ stats: true }); - const actual = _1.scandirSync('fixtures', settings); - assert.ok(actual[0].name); - assert.ok(actual[0].path); - assert.ok(actual[0].dirent); - assert.ok(actual[0].stats); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts index def26de..5829676 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts @@ -1,8 +1,7 @@ -/// -import Settings from '../settings'; -import { Entry } from '../types'; -export declare type AsyncCallback = (err: 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; -//# sourceMappingURL=async.d.ts.map \ No newline at end of file +/// +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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts.map deleted file mode 100644 index 7f486b5..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../src/providers/async.ts"],"names":[],"mappings":";AAIA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAS,MAAM,UAAU,CAAC;AASxC,oBAAY,aAAa,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;AAEnF,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAMzF;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CA0BzG;AAwBD,wBAAgB,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAsC5F"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.js index 182d1af..e8e2f0a 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.js @@ -1,92 +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) { - return 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) { - return callFailureCallback(callback, readdirError); - } - const entries = dirents.map((dirent) => ({ - dirent, - name: dirent.name, - path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator) - })); - if (!settings.followSymbolicLinks) { - return callSuccessCallback(callback, entries); - } - const tasks = entries.map((entry) => makeRplTaskEntry(entry, settings)); - rpl(tasks, (rplError, rplEntries) => { - if (rplError !== null) { - return callFailureCallback(callback, rplError); - } - callSuccessCallback(callback, rplEntries); - }); - }); -} -exports.readdirWithFileTypes = readdirWithFileTypes; -function makeRplTaskEntry(entry, settings) { - return (done) => { - if (!entry.dirent.isSymbolicLink()) { - return done(null, entry); - } - settings.fs.stat(entry.path, (statError, stats) => { - if (statError !== null) { - if (settings.throwErrorOnBrokenSymbolicLink) { - return done(statError); - } - return done(null, entry); - } - entry.dirent = utils.fs.createDirentFromStats(entry.name, stats); - return done(null, entry); - }); - }; -} -function readdir(directory, settings, callback) { - settings.fs.readdir(directory, (readdirError, names) => { - if (readdirError !== null) { - return callFailureCallback(callback, readdirError); - } - const filepaths = names.map((name) => common.joinPathSegments(directory, name, settings.pathSegmentSeparator)); - const tasks = filepaths.map((filepath) => { - return (done) => fsStat.stat(filepath, settings.fsStatSettings, done); - }); - rpl(tasks, (rplError, results) => { - if (rplError !== null) { - return callFailureCallback(callback, rplError); - } - const entries = []; - names.forEach((name, index) => { - const stats = results[index]; - const entry = { - name, - path: filepaths[index], - dirent: utils.fs.createDirentFromStats(name, stats) - }; - if (settings.stats) { - entry.stats = stats; - } - entries.push(entry); - }); - callSuccessCallback(callback, entries); - }); - }); -} -exports.readdir = readdir; -function callFailureCallback(callback, error) { - callback(error); -} -function callSuccessCallback(callback, result) { - callback(null, result); -} +"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); +} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.d.ts deleted file mode 100644 index c3f8248..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=async.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.d.ts.map deleted file mode 100644 index a67f476..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.spec.d.ts","sourceRoot":"","sources":["../../src/providers/async.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.js deleted file mode 100644 index b41ad70..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/async.spec.js +++ /dev/null @@ -1,180 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const path = require("path"); -const sinon = require("sinon"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -const constants_1 = require("../constants"); -const settings_1 = require("../settings"); -const provider = require("./async"); -const ROOT_PATH = 'root'; -const FIRST_FILE_PATH = 'first.txt'; -const SECOND_FILE_PATH = 'second.txt'; -const FIRST_ENTRY_PATH = path.join(ROOT_PATH, FIRST_FILE_PATH); -const SECOND_ENTRY_PATH = path.join(ROOT_PATH, SECOND_FILE_PATH); -describe('Providers → Async', () => { - describe('.read', () => { - it('should call correct method based on Node.js version', (done) => { - const readdir = sinon.stub(); - readdir.yields(null, []); - const settings = new settings_1.default({ - fs: { readdir: readdir } - }); - provider.read(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - assert.deepStrictEqual(entries, []); - if (constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) { - sinon.assert.match(readdir.args, [[ROOT_PATH, { withFileTypes: true }, sinon.match.func]]); - } - else { - sinon.assert.match(readdir.args, [[ROOT_PATH, sinon.match.func]]); - } - done(); - }); - }); - it('should always use `readdir` method when the `stats` option is enabled', (done) => { - const readdir = sinon.stub(); - readdir.yields(null, []); - const settings = new settings_1.default({ - fs: { readdir: readdir }, - stats: true - }); - provider.read(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - assert.deepStrictEqual(entries, []); - sinon.assert.match(readdir.args, [[ROOT_PATH, sinon.match.func]]); - done(); - }); - }); - }); - describe('.readdirWithFileTypes', () => { - it('should return entries', (done) => { - const dirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH }); - const readdir = sinon.stub(); - readdir.yields(null, [dirent]); - const settings = new settings_1.default({ - fs: { readdir: readdir } - }); - const expected = [ - { - dirent, - name: FIRST_FILE_PATH, - path: FIRST_ENTRY_PATH - } - ]; - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - sinon.assert.match(readdir.args, [[ROOT_PATH, { withFileTypes: true }, sinon.match.func]]); - assert.deepStrictEqual(entries, expected); - done(); - }); - }); - it('should call fs.stat for symbolic link when the "followSymbolicLink" option is enabled', (done) => { - const firstDirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH }); - const secondDirent = new fs_macchiato_1.Dirent({ name: SECOND_FILE_PATH, isSymbolicLink: true }); - const stats = new fs_macchiato_1.Stats(); - const readdir = sinon.stub(); - const stat = sinon.stub(); - readdir.yields(null, [firstDirent, secondDirent]); - stat.yields(null, stats); - const settings = new settings_1.default({ - followSymbolicLinks: true, - fs: { - readdir: readdir, - stat: stat - } - }); - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 2); - assert.ok(!entries[1].dirent.isSymbolicLink()); - sinon.assert.match(stat.args, [[SECOND_ENTRY_PATH, sinon.match.func]]); - done(); - }); - }); - it('should return lstat for broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is disabled', (done) => { - const firstDirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - const readdir = sinon.stub(); - const stat = sinon.stub(); - readdir.yields(null, [firstDirent]); - stat.yields(new Error('error')); - const settings = new settings_1.default({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: false, - fs: { - readdir: readdir, - stat: stat - } - }); - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 1); - assert.ok(entries[0].dirent.isSymbolicLink()); - done(); - }); - }); - it('should throw an error fro broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is enabled', (done) => { - const firstDirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - const readdir = sinon.stub(); - const stat = sinon.stub(); - readdir.yields(null, [firstDirent]); - stat.yields(new Error('error')); - const settings = new settings_1.default({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: true, - fs: { - readdir: readdir, - stat: stat - } - }); - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error.message, 'error'); - assert.strictEqual(entries, undefined); - done(); - }); - }); - }); - describe('.readdir', () => { - it('should return entries', (done) => { - const stats = new fs_macchiato_1.Stats(); - const readdir = sinon.stub(); - const lstat = sinon.stub(); - readdir.yields(null, [FIRST_FILE_PATH]); - lstat.yields(null, stats); - const settings = new settings_1.default({ - fs: { - readdir: readdir, - lstat: lstat - } - }); - provider.readdir(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - sinon.assert.match(readdir.args, [[ROOT_PATH, sinon.match.func]]); - sinon.assert.match(lstat.args, [[FIRST_ENTRY_PATH, sinon.match.func]]); - assert.strictEqual(entries[0].name, FIRST_FILE_PATH); - assert.strictEqual(entries[0].path, FIRST_ENTRY_PATH); - assert.strictEqual(entries[0].dirent.name, FIRST_FILE_PATH); - done(); - }); - }); - it('should return entries with `stats` property', (done) => { - const stats = new fs_macchiato_1.Stats(); - const readdir = sinon.stub(); - const lstat = sinon.stub(); - readdir.yields(null, [FIRST_FILE_PATH]); - lstat.yields(null, stats); - const settings = new settings_1.default({ - fs: { - readdir: readdir, - lstat: lstat - }, - stats: true - }); - provider.readdir(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - assert.deepStrictEqual(entries[0].stats, stats); - done(); - }); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts index cbfb4f3..2b4d08b 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts @@ -1,2 +1 @@ -export declare function joinPathSegments(a: string, b: string, separator: string): string; -//# sourceMappingURL=common.d.ts.map \ No newline at end of file +export declare function joinPathSegments(a: string, b: string, separator: string): string; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts.map deleted file mode 100644 index 18decb2..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/providers/common.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAShF"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.js index 2ce7318..8724cb5 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.js @@ -1,13 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.d.ts deleted file mode 100644 index c5ccf64..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=common.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.d.ts.map deleted file mode 100644 index 693b534..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"common.spec.d.ts","sourceRoot":"","sources":["../../src/providers/common.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.js deleted file mode 100644 index 8990c5a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/common.spec.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const common = require("./common"); -describe('Readers → Common', () => { - describe('.joinPathSegments', () => { - it('should return concatenated string', () => { - assert.strictEqual(common.joinPathSegments('.', 'a', '/'), './a'); - }); - it('should return correct string when the first segment ens with the separator symbol', () => { - // Unix - assert.strictEqual(common.joinPathSegments('/', 'a', '/'), '/a'); - assert.strictEqual(common.joinPathSegments('//', 'a', '/'), '//a'); - assert.strictEqual(common.joinPathSegments('/a/', 'b', '/'), '/a/b'); - // Windows - assert.strictEqual(common.joinPathSegments('C:/', 'Users', '/'), 'C:/Users'); - assert.strictEqual(common.joinPathSegments('C:\\', 'Users', '\\'), 'C:\\Users'); - assert.strictEqual(common.joinPathSegments('//?/C:/', 'Users', '/'), '//?/C:/Users'); - assert.strictEqual(common.joinPathSegments('\\\\?\\C:\\', 'Users', '\\'), '\\\\?\\C:\\Users'); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts index d6ed468..e05c8f0 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts @@ -1,6 +1,5 @@ -import Settings from '../settings'; -import { 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[]; -//# sourceMappingURL=sync.d.ts.map \ No newline at end of file +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[]; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts.map deleted file mode 100644 index ba3de16..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../src/providers/sync.ts"],"names":[],"mappings":"AAGA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAIjC,wBAAgB,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,KAAK,EAAE,CAMnE;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,KAAK,EAAE,CAwBnF;AAED,wBAAgB,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,KAAK,EAAE,CAmBtE"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.js index 1b32e38..146db34 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.js @@ -1,54 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.d.ts deleted file mode 100644 index 5167ab3..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=sync.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.d.ts.map deleted file mode 100644 index aae9498..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.spec.d.ts","sourceRoot":"","sources":["../../src/providers/sync.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.js deleted file mode 100644 index e6e82d4..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/providers/sync.spec.js +++ /dev/null @@ -1,144 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const path = require("path"); -const sinon = require("sinon"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -const constants_1 = require("../constants"); -const settings_1 = require("../settings"); -const provider = require("./sync"); -const ROOT_PATH = 'root'; -const FIRST_FILE_PATH = 'first.txt'; -const SECOND_FILE_PATH = 'second.txt'; -const FIRST_ENTRY_PATH = path.join(ROOT_PATH, FIRST_FILE_PATH); -const SECOND_ENTRY_PATH = path.join(ROOT_PATH, SECOND_FILE_PATH); -describe('Providers → Sync', () => { - describe('.read', () => { - it('should call correct method based on Node.js version', () => { - const readdirSync = sinon.stub().returns([]); - const settings = new settings_1.default({ - fs: { readdirSync: readdirSync } - }); - const actual = provider.read(ROOT_PATH, settings); - assert.deepStrictEqual(actual, []); - if (constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) { - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH, { withFileTypes: true }]]); - } - else { - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH]]); - } - }); - it('should always use `readdir` method when the `stats` option is enabled', () => { - const readdirSync = sinon.stub().returns([]); - const settings = new settings_1.default({ - fs: { readdirSync: readdirSync }, - stats: true - }); - provider.read(ROOT_PATH, settings); - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH]]); - }); - }); - describe('.readdirWithFileTypes', () => { - it('should return entries', () => { - const dirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH }); - const readdirSync = sinon.stub().returns([dirent]); - const settings = new settings_1.default({ - fs: { readdirSync: readdirSync } - }); - const expected = [ - { - dirent, - name: FIRST_FILE_PATH, - path: FIRST_ENTRY_PATH - } - ]; - const actual = provider.readdirWithFileTypes(ROOT_PATH, settings); - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH, { withFileTypes: true }]]); - assert.deepStrictEqual(actual, expected); - }); - it('should call fs.stat for symbolic link when the "followSymbolicLink" option is enabled', () => { - const firstDirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH }); - const secondDirent = new fs_macchiato_1.Dirent({ name: SECOND_FILE_PATH, isSymbolicLink: true }); - const stats = new fs_macchiato_1.Stats(); - const readdirSync = sinon.stub().returns([firstDirent, secondDirent]); - const statSync = sinon.stub().returns(stats); - const settings = new settings_1.default({ - followSymbolicLinks: true, - fs: { - readdirSync: readdirSync, - statSync: statSync - } - }); - const actual = provider.readdirWithFileTypes(ROOT_PATH, settings); - assert.strictEqual(actual.length, 2); - assert.deepStrictEqual(statSync.args, [[SECOND_ENTRY_PATH]]); - assert.ok(!actual[1].dirent.isSymbolicLink()); - }); - it('should return lstat for broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is disabled', () => { - const dirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - const readdirSync = sinon.stub().returns([dirent]); - const statSync = () => { - throw new Error('error'); - }; - const settings = new settings_1.default({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: false, - fs: { - readdirSync: readdirSync, - statSync: statSync - } - }); - const actual = provider.readdirWithFileTypes(ROOT_PATH, settings); - assert.strictEqual(actual.length, 1); - }); - it('should throw an error fro broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is enabled', () => { - const dirent = new fs_macchiato_1.Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - const readdirSync = sinon.stub().returns([dirent]); - const statSync = () => { - throw new Error('error'); - }; - const settings = new settings_1.default({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: true, - fs: { - readdirSync: readdirSync, - statSync: statSync - } - }); - const expectedErrorMessageRe = /Error: error/; - assert.throws(() => provider.readdirWithFileTypes(ROOT_PATH, settings), expectedErrorMessageRe); - }); - }); - describe('.readdir', () => { - it('should return entries', () => { - const stats = new fs_macchiato_1.Stats(); - const readdirSync = sinon.stub().returns([FIRST_FILE_PATH]); - const lstatSync = sinon.stub().returns(stats); - const settings = new settings_1.default({ - fs: { - readdirSync: readdirSync, - lstatSync: lstatSync - } - }); - const actual = provider.readdir(ROOT_PATH, settings); - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH]]); - assert.strictEqual(actual[0].name, FIRST_FILE_PATH); - assert.strictEqual(actual[0].path, FIRST_ENTRY_PATH); - assert.strictEqual(actual[0].dirent.name, FIRST_FILE_PATH); - }); - it('should return entries with `stats` property', () => { - const stats = new fs_macchiato_1.Stats(); - const readdirSync = sinon.stub().returns([FIRST_FILE_PATH]); - const lstatSync = sinon.stub().returns(stats); - const settings = new settings_1.default({ - fs: { - readdirSync: readdirSync, - lstatSync: lstatSync - }, - stats: true - }); - const actual = provider.readdir(ROOT_PATH, settings); - assert.deepStrictEqual(actual[0].stats, stats); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.d.ts index 175f7c1..a0db115 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.d.ts @@ -1,21 +1,20 @@ -import * as fsStat from '@nodelib/fs.stat'; -import * as fs from './adapters/fs'; -export declare type Options = { - followSymbolicLinks?: boolean; - fs?: Partial; - 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; -} -//# sourceMappingURL=settings.d.ts.map \ No newline at end of file +import * as fsStat from '@nodelib/fs.stat'; +import * as fs from './adapters/fs'; +export interface Options { + followSymbolicLinks?: boolean; + fs?: Partial; + 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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.d.ts.map deleted file mode 100644 index afc1803..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAE3C,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC;AAEpC,oBAAY,OAAO,GAAG;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IACnC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8BAA8B,CAAC,EAAE,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,QAAQ;IAahB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAZrC,SAAgB,mBAAmB,EAAE,OAAO,CAA4D;IACxG,SAAgB,EAAE,EAAE,EAAE,CAAC,iBAAiB,CAAgD;IACxF,SAAgB,oBAAoB,EAAE,MAAM,CAAgE;IAC5G,SAAgB,KAAK,EAAE,OAAO,CAA8C;IAC5E,SAAgB,8BAA8B,EAAE,OAAO,CAAsE;IAE7H,SAAgB,cAAc,EAAE,MAAM,CAAC,QAAQ,CAI5C;gBAE0B,QAAQ,GAAE,OAAY;IAEnD,OAAO,CAAC,SAAS;CAGjB"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.js index 700d2e9..15a3e8c 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.js @@ -1,24 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.d.ts deleted file mode 100644 index ff5bc0f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=settings.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.d.ts.map deleted file mode 100644 index b69e1aa..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"settings.spec.d.ts","sourceRoot":"","sources":["../src/settings.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.js deleted file mode 100644 index c5b442a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/settings.spec.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const path = require("path"); -const fs_macchiato_1 = require("../../fs.macchiato"); -const fs = require("./adapters/fs"); -const settings_1 = require("./settings"); -describe('Settings', () => { - it('should return instance with default values', () => { - const settings = new settings_1.default(); - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter()); - assert.ok(!settings.followSymbolicLinks); - assert.ok(!settings.stats); - assert.strictEqual(settings.pathSegmentSeparator, path.sep); - assert.ok(settings.fsStatSettings); - assert.ok(settings.throwErrorOnBrokenSymbolicLink); - }); - it('should return instance with custom values', () => { - const lstatSync = () => new fs_macchiato_1.Stats(); - const settings = new settings_1.default({ - fs: fs.createFileSystemAdapter({ lstatSync }), - stats: true - }); - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter({ lstatSync })); - assert.ok(settings.stats); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.d.ts index 50e4b8f..f326c5e 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.d.ts @@ -1,20 +1,20 @@ -/// -import * as fs from 'fs'; -export declare type Entry = { - dirent: Dirent; - name: string; - path: string; - stats?: Stats; -}; -export declare type Stats = fs.Stats; -export declare type Dirent = { - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isDirectory(): boolean; - isFIFO(): boolean; - isFile(): boolean; - isSocket(): boolean; - isSymbolicLink(): boolean; - name: string; -}; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file +/// +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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.d.ts.map deleted file mode 100644 index 4147dda..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAEzB,oBAAY,KAAK,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,oBAAY,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC;AAE7B,oBAAY,MAAM,GAAG;IACpB,aAAa,IAAI,OAAO,CAAC;IACzB,iBAAiB,IAAI,OAAO,CAAC;IAC7B,WAAW,IAAI,OAAO,CAAC;IACvB,MAAM,IAAI,OAAO,CAAC;IAClB,MAAM,IAAI,OAAO,CAAC;IAClB,QAAQ,IAAI,OAAO,CAAC;IACpB,cAAc,IAAI,OAAO,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACb,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.js index ce03781..c8ad2e5 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/types/index.js @@ -1,2 +1,2 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts index 8aef008..bb863f1 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts @@ -1,3 +1,2 @@ -import { Dirent, Stats } from '../types'; -export declare function createDirentFromStats(name: string, stats: Stats): Dirent; -//# sourceMappingURL=fs.d.ts.map \ No newline at end of file +import type { Dirent, Stats } from '../types'; +export declare function createDirentFromStats(name: string, stats: Stats): Dirent; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts.map deleted file mode 100644 index 57093d7..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/utils/fs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAsBzC,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAExE"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.js index f15b8cf..ace7c74 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.js @@ -1,19 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.d.ts deleted file mode 100644 index 2858c4b..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=fs.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.d.ts.map deleted file mode 100644 index 262a064..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fs.spec.d.ts","sourceRoot":"","sources":["../../src/utils/fs.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.js deleted file mode 100644 index ea8f426..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/fs.spec.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -const util = require("./fs"); -describe('Utils → FS', () => { - describe('.createDirentFromStats', () => { - it('should convert fs.Stats to fs.Dirent', () => { - const actual = util.createDirentFromStats('name', new fs_macchiato_1.Stats()); - assert.strictEqual(actual.name, 'name'); - assert.ok(!actual.isBlockDevice()); - assert.ok(!actual.isCharacterDevice()); - assert.ok(!actual.isDirectory()); - assert.ok(!actual.isFIFO()); - assert.ok(actual.isFile()); - assert.ok(!actual.isSocket()); - assert.ok(!actual.isSymbolicLink()); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts index 5ecd894..1b41954 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts @@ -1,3 +1,2 @@ -import * as fs from './fs'; -export { fs }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file +import * as fs from './fs'; +export { fs }; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts.map deleted file mode 100644 index 2f98e7e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,OAAO,EACN,EAAE,EACF,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.js b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.js index f03f4ad..f5de129 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.js +++ b/pak-builder/node_modules/@nodelib/fs.scandir/out/utils/index.js @@ -1,5 +1,5 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fs = void 0; -const fs = require("./fs"); -exports.fs = fs; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.fs = void 0; +const fs = require("./fs"); +exports.fs = fs; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/package.json b/pak-builder/node_modules/@nodelib/fs.scandir/package.json index 38fd05e..d3a8924 100644 --- a/pak-builder/node_modules/@nodelib/fs.scandir/package.json +++ b/pak-builder/node_modules/@nodelib/fs.scandir/package.json @@ -1,6 +1,6 @@ { "name": "@nodelib/fs.scandir", - "version": "2.1.4", + "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", @@ -16,6 +16,11 @@ "engines": { "node": ">= 8" }, + "files": [ + "out/**", + "!out/**/*.map", + "!out/**/*.spec.*" + ], "main": "out/index.js", "typings": "out/index.d.ts", "scripts": { @@ -28,8 +33,12 @@ "watch": "npm run clean && npm run compile:watch" }, "dependencies": { - "@nodelib/fs.stat": "2.0.4", + "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" }, - "gitHead": "cb5f7e893a986164c3b847a4f1faef6c54cadd68" + "devDependencies": { + "@nodelib/fs.macchiato": "1.0.4", + "@types/run-parallel": "^1.1.0" + }, + "gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562" } diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/adapters/fs.spec.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/adapters/fs.spec.ts deleted file mode 100644 index e274bc0..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/adapters/fs.spec.ts +++ /dev/null @@ -1,31 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; - -import { Stats } from '../../../fs.macchiato'; - -import * as adapter from './fs'; - -describe('Adapters → FileSystem', () => { - it('should return original FS methods', () => { - const expected: adapter.FileSystemAdapter = adapter.FILE_SYSTEM_ADAPTER; - - const actual = adapter.createFileSystemAdapter(); - - assert.deepStrictEqual(actual, expected); - }); - - it('should return custom FS methods', () => { - const customLstatSyncMethod: typeof fs.lstatSync = () => new Stats(); - - const expected: adapter.FileSystemAdapter = { - ...adapter.FILE_SYSTEM_ADAPTER, - lstatSync: customLstatSyncMethod - }; - - const actual = adapter.createFileSystemAdapter({ - lstatSync: customLstatSyncMethod - }); - - assert.deepStrictEqual(actual, expected); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/adapters/fs.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/adapters/fs.ts deleted file mode 100644 index c604fe8..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/adapters/fs.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as fs from 'fs'; - -export type 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; -}; - -export const FILE_SYSTEM_ADAPTER: FileSystemAdapter = { - lstat: fs.lstat, - stat: fs.stat, - lstatSync: fs.lstatSync, - statSync: fs.statSync, - readdir: fs.readdir, - readdirSync: fs.readdirSync -}; - -export function createFileSystemAdapter(fsMethods?: Partial): FileSystemAdapter { - if (fsMethods === undefined) { - return FILE_SYSTEM_ADAPTER; - } - - return { - ...FILE_SYSTEM_ADAPTER, - ...fsMethods - }; -} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/constants.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/constants.ts deleted file mode 100644 index 6ce0b76..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/constants.ts +++ /dev/null @@ -1,15 +0,0 @@ -const NODE_PROCESS_VERSION_PARTS = process.versions.node.split('.'); - -const MAJOR_VERSION = parseInt(NODE_PROCESS_VERSION_PARTS[0], 10); -const MINOR_VERSION = 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. - */ -export const IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_BY_MAJOR_AND_MINOR; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/index.spec.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/index.spec.ts deleted file mode 100644 index ff97932..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/index.spec.ts +++ /dev/null @@ -1,85 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; - -import * as rimraf from 'rimraf'; - -import { scandir, scandirSync, Settings } from '.'; - -describe('Package', () => { - before(() => { - rimraf.sync('fixtures'); - - fs.mkdirSync('fixtures'); - fs.writeFileSync('fixtures/file.txt', ''); - }); - - after(() => { - rimraf.sync('fixtures'); - }); - - describe('.scandir', () => { - it('should work without options or settings', (done) => { - scandir('fixtures', (error, entries) => { - assert.strictEqual(error, null); - assert.ok(entries[0].name); - assert.ok(entries[0].path); - assert.ok(entries[0].dirent); - done(); - }); - }); - - it('should work with options', (done) => { - scandir('fixtures', { stats: true }, (error, entries) => { - assert.strictEqual(error, null); - assert.ok(entries[0].name); - assert.ok(entries[0].path); - assert.ok(entries[0].dirent); - assert.ok(entries[0].stats); - done(); - }); - }); - - it('should work with settings', (done) => { - const settings = new Settings({ stats: true }); - - scandir('fixtures', settings, (error, entries) => { - assert.strictEqual(error, null); - assert.ok(entries[0].name); - assert.ok(entries[0].path); - assert.ok(entries[0].dirent); - assert.ok(entries[0].stats); - done(); - }); - }); - }); - - describe('.scandirSync', () => { - it('should work without options or settings', () => { - const actual = scandirSync('fixtures'); - - assert.ok(actual[0].name); - assert.ok(actual[0].path); - assert.ok(actual[0].dirent); - }); - - it('should work with options', () => { - const actual = scandirSync('fixtures', { stats: true }); - - assert.ok(actual[0].name); - assert.ok(actual[0].path); - assert.ok(actual[0].dirent); - assert.ok(actual[0].stats); - }); - - it('should work with settings', () => { - const settings = new Settings({ stats: true }); - - const actual = scandirSync('fixtures', settings); - - assert.ok(actual[0].name); - assert.ok(actual[0].path); - assert.ok(actual[0].dirent); - assert.ok(actual[0].stats); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/index.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/index.ts deleted file mode 100644 index 0147040..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/index.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { FileSystemAdapter } from './adapters/fs'; -import * as async from './providers/async'; -import * as sync from './providers/sync'; -import Settings, { Options } from './settings'; -import { Dirent, Entry } from './types'; - -type AsyncCallback = async.AsyncCallback; - -function scandir(path: string, callback: AsyncCallback): void; -function scandir(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void; -function scandir(path: string, optionsOrSettingsOrCallback: Options | Settings | AsyncCallback, callback?: AsyncCallback): void { - if (typeof optionsOrSettingsOrCallback === 'function') { - return async.read(path, getSettings(), optionsOrSettingsOrCallback); - } - - async.read(path, getSettings(optionsOrSettingsOrCallback), callback as AsyncCallback); -} - -// https://github.com/typescript-eslint/typescript-eslint/issues/60 -// eslint-disable-next-line no-redeclare -declare namespace scandir { - function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise; -} - -function scandirSync(path: string, optionsOrSettings?: Options | Settings): Entry[] { - const settings = getSettings(optionsOrSettings); - - return sync.read(path, settings); -} - -function getSettings(settingsOrOptions: Settings | Options = {}): Settings { - if (settingsOrOptions instanceof Settings) { - return settingsOrOptions; - } - - return new Settings(settingsOrOptions); -} - -export { - scandir, - scandirSync, - Settings, - - // https://github.com/typescript-eslint/typescript-eslint/issues/131 - // eslint-disable-next-line no-undef - AsyncCallback, - Dirent, - Entry, - FileSystemAdapter, - Options -}; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/async.spec.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/async.spec.ts deleted file mode 100644 index 8861d41..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/async.spec.ts +++ /dev/null @@ -1,236 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; -import * as path from 'path'; - -import * as sinon from 'sinon'; - -import { Dirent, Stats } from '../../../fs.macchiato'; -import { IS_SUPPORT_READDIR_WITH_FILE_TYPES } from '../constants'; -import Settings from '../settings'; -import { Entry } from '../types'; -import * as provider from './async'; - -const ROOT_PATH = 'root'; -const FIRST_FILE_PATH = 'first.txt'; -const SECOND_FILE_PATH = 'second.txt'; -const FIRST_ENTRY_PATH = path.join(ROOT_PATH, FIRST_FILE_PATH); -const SECOND_ENTRY_PATH = path.join(ROOT_PATH, SECOND_FILE_PATH); - -describe('Providers → Async', () => { - describe('.read', () => { - it('should call correct method based on Node.js version', (done) => { - const readdir = sinon.stub(); - - readdir.yields(null, []); - - const settings = new Settings({ - fs: { readdir: readdir as unknown as typeof fs.readdir } - }); - - provider.read(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - - assert.deepStrictEqual(entries, []); - - if (IS_SUPPORT_READDIR_WITH_FILE_TYPES) { - sinon.assert.match(readdir.args, [[ROOT_PATH, { withFileTypes: true }, sinon.match.func]]); - } else { - sinon.assert.match(readdir.args, [[ROOT_PATH, sinon.match.func]]); - } - - done(); - }); - }); - - it('should always use `readdir` method when the `stats` option is enabled', (done) => { - const readdir = sinon.stub(); - - readdir.yields(null, []); - - const settings = new Settings({ - fs: { readdir: readdir as unknown as typeof fs.readdir }, - stats: true - }); - - provider.read(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - - assert.deepStrictEqual(entries, []); - sinon.assert.match(readdir.args, [[ROOT_PATH, sinon.match.func]]); - - done(); - }); - }); - }); - - describe('.readdirWithFileTypes', () => { - it('should return entries', (done) => { - const dirent = new Dirent({ name: FIRST_FILE_PATH }); - const readdir = sinon.stub(); - - readdir.yields(null, [dirent]); - - const settings = new Settings({ - fs: { readdir: readdir as unknown as typeof fs.readdir } - }); - - const expected: Entry[] = [ - { - dirent, - name: FIRST_FILE_PATH, - path: FIRST_ENTRY_PATH - } - ]; - - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - - sinon.assert.match(readdir.args, [[ROOT_PATH, { withFileTypes: true }, sinon.match.func]]); - assert.deepStrictEqual(entries, expected); - - done(); - }); - }); - - it('should call fs.stat for symbolic link when the "followSymbolicLink" option is enabled', (done) => { - const firstDirent = new Dirent({ name: FIRST_FILE_PATH }); - const secondDirent = new Dirent({ name: SECOND_FILE_PATH, isSymbolicLink: true }); - const stats = new Stats(); - - const readdir = sinon.stub(); - const stat = sinon.stub(); - - readdir.yields(null, [firstDirent, secondDirent]); - stat.yields(null, stats); - - const settings = new Settings({ - followSymbolicLinks: true, - fs: { - readdir: readdir as unknown as typeof fs.readdir, - stat: stat as unknown as typeof fs.stat - } - }); - - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - - assert.strictEqual(entries.length, 2); - assert.ok(!entries[1].dirent.isSymbolicLink()); - sinon.assert.match(stat.args, [[SECOND_ENTRY_PATH, sinon.match.func]]); - - done(); - }); - }); - - it('should return lstat for broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is disabled', (done) => { - const firstDirent = new Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - - const readdir = sinon.stub(); - const stat = sinon.stub(); - - readdir.yields(null, [firstDirent]); - stat.yields(new Error('error')); - - const settings = new Settings({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: false, - fs: { - readdir: readdir as unknown as typeof fs.readdir, - stat: stat as unknown as typeof fs.stat - } - }); - - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - - assert.strictEqual(entries.length, 1); - assert.ok(entries[0].dirent.isSymbolicLink()); - - done(); - }); - }); - - it('should throw an error fro broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is enabled', (done) => { - const firstDirent = new Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - - const readdir = sinon.stub(); - const stat = sinon.stub(); - - readdir.yields(null, [firstDirent]); - stat.yields(new Error('error')); - - const settings = new Settings({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: true, - fs: { - readdir: readdir as unknown as typeof fs.readdir, - stat: stat as unknown as typeof fs.stat - } - }); - - provider.readdirWithFileTypes(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error.message, 'error'); - assert.strictEqual(entries, undefined); - - done(); - }); - }); - }); - - describe('.readdir', () => { - it('should return entries', (done) => { - const stats = new Stats(); - - const readdir = sinon.stub(); - const lstat = sinon.stub(); - - readdir.yields(null, [FIRST_FILE_PATH]); - lstat.yields(null, stats); - - const settings = new Settings({ - fs: { - readdir: readdir as unknown as typeof fs.readdir, - lstat: lstat as unknown as typeof fs.lstat - } - }); - - provider.readdir(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - - sinon.assert.match(readdir.args, [[ROOT_PATH, sinon.match.func]]); - sinon.assert.match(lstat.args, [[FIRST_ENTRY_PATH, sinon.match.func]]); - - assert.strictEqual(entries[0].name, FIRST_FILE_PATH); - assert.strictEqual(entries[0].path, FIRST_ENTRY_PATH); - assert.strictEqual(entries[0].dirent.name, FIRST_FILE_PATH); - - done(); - }); - }); - - it('should return entries with `stats` property', (done) => { - const stats = new Stats(); - - const readdir = sinon.stub(); - const lstat = sinon.stub(); - - readdir.yields(null, [FIRST_FILE_PATH]); - lstat.yields(null, stats); - - const settings = new Settings({ - fs: { - readdir: readdir as unknown as typeof fs.readdir, - lstat: lstat as unknown as typeof fs.lstat - }, - stats: true - }); - - provider.readdir(ROOT_PATH, settings, (error, entries) => { - assert.strictEqual(error, null); - assert.deepStrictEqual(entries[0].stats, stats); - - done(); - }); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/async.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/async.ts deleted file mode 100644 index 1ab93a2..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/async.ts +++ /dev/null @@ -1,121 +0,0 @@ -import * as fsStat from '@nodelib/fs.stat'; -import * as rpl from 'run-parallel'; - -import { IS_SUPPORT_READDIR_WITH_FILE_TYPES } from '../constants'; -import Settings from '../settings'; -import { Entry, Stats } from '../types'; -import * as utils from '../utils'; -import * as common from './common'; - -type RplTaskStats = rpl.Task; -type RplTaskEntry = rpl.Task; -type FailureCallback = (err: NodeJS.ErrnoException) => void; -type SuccessCallback = (err: null, entries: Entry[]) => void; - -export type AsyncCallback = (err: NodeJS.ErrnoException, entries: Entry[]) => void; - -export function read(directory: string, settings: Settings, callback: AsyncCallback): void { - if (!settings.stats && IS_SUPPORT_READDIR_WITH_FILE_TYPES) { - return readdirWithFileTypes(directory, settings, callback); - } - - return readdir(directory, settings, callback); -} - -export function readdirWithFileTypes(directory: string, settings: Settings, callback: AsyncCallback): void { - settings.fs.readdir(directory, { withFileTypes: true }, (readdirError, dirents) => { - if (readdirError !== null) { - return callFailureCallback(callback, readdirError); - } - - const entries: Entry[] = dirents.map((dirent) => ({ - dirent, - name: dirent.name, - path: common.joinPathSegments(directory, dirent.name, settings.pathSegmentSeparator) - })); - - if (!settings.followSymbolicLinks) { - return callSuccessCallback(callback, entries); - } - - const tasks: RplTaskEntry[] = entries.map((entry) => makeRplTaskEntry(entry, settings)); - - rpl(tasks, (rplError: Error | null, rplEntries) => { - if (rplError !== null) { - return callFailureCallback(callback, rplError); - } - - callSuccessCallback(callback, rplEntries); - }); - }); -} - -function makeRplTaskEntry(entry: Entry, settings: Settings): RplTaskEntry { - return (done) => { - if (!entry.dirent.isSymbolicLink()) { - return done(null, entry); - } - - settings.fs.stat(entry.path, (statError, stats) => { - if (statError !== null) { - if (settings.throwErrorOnBrokenSymbolicLink) { - return done(statError); - } - - return done(null, entry); - } - - entry.dirent = utils.fs.createDirentFromStats(entry.name, stats); - - return done(null, entry); - }); - }; -} - -export function readdir(directory: string, settings: Settings, callback: AsyncCallback): void { - settings.fs.readdir(directory, (readdirError, names) => { - if (readdirError !== null) { - return callFailureCallback(callback, readdirError); - } - - const filepaths = names.map((name) => common.joinPathSegments(directory, name, settings.pathSegmentSeparator)); - - const tasks: RplTaskStats[] = filepaths.map((filepath): RplTaskStats => { - return (done) => fsStat.stat(filepath, settings.fsStatSettings, done); - }); - - rpl(tasks, (rplError: Error | null, results) => { - if (rplError !== null) { - return callFailureCallback(callback, rplError); - } - - const entries: Entry[] = []; - - names.forEach((name, index) => { - const stats = results[index]; - - const entry: Entry = { - name, - path: filepaths[index], - dirent: utils.fs.createDirentFromStats(name, stats) - }; - - if (settings.stats) { - entry.stats = stats; - } - - entries.push(entry); - }); - - callSuccessCallback(callback, entries); - }); - }); -} - -function callFailureCallback(callback: AsyncCallback, error: NodeJS.ErrnoException): void { - (callback as FailureCallback)(error); -} - -function callSuccessCallback(callback: AsyncCallback, result: Entry[]): void { - (callback as unknown as SuccessCallback)(null, result); -} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/common.spec.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/common.spec.ts deleted file mode 100644 index 4c4b398..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/common.spec.ts +++ /dev/null @@ -1,24 +0,0 @@ -import * as assert from 'assert'; - -import * as common from './common'; - -describe('Readers → Common', () => { - describe('.joinPathSegments', () => { - it('should return concatenated string', () => { - assert.strictEqual(common.joinPathSegments('.', 'a', '/'), './a'); - }); - - it('should return correct string when the first segment ens with the separator symbol', () => { - // Unix - assert.strictEqual(common.joinPathSegments('/', 'a', '/'), '/a'); - assert.strictEqual(common.joinPathSegments('//', 'a', '/'), '//a'); - assert.strictEqual(common.joinPathSegments('/a/', 'b', '/'), '/a/b'); - - // Windows - assert.strictEqual(common.joinPathSegments('C:/', 'Users', '/'), 'C:/Users'); - assert.strictEqual(common.joinPathSegments('C:\\', 'Users', '\\'), 'C:\\Users'); - assert.strictEqual(common.joinPathSegments('//?/C:/', 'Users', '/'), '//?/C:/Users'); - assert.strictEqual(common.joinPathSegments('\\\\?\\C:\\', 'Users', '\\'), '\\\\?\\C:\\Users'); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/common.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/common.ts deleted file mode 100644 index e13e806..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/common.ts +++ /dev/null @@ -1,10 +0,0 @@ -export function joinPathSegments(a: string, b: string, separator: string): string { - /** - * 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; -} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/sync.spec.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/sync.spec.ts deleted file mode 100644 index 4b7f9b4..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/sync.spec.ts +++ /dev/null @@ -1,186 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; -import * as path from 'path'; - -import * as sinon from 'sinon'; - -import { Dirent, Stats } from '../../../fs.macchiato'; -import { IS_SUPPORT_READDIR_WITH_FILE_TYPES } from '../constants'; -import Settings from '../settings'; -import { Entry } from '../types'; -import * as provider from './sync'; - -const ROOT_PATH = 'root'; -const FIRST_FILE_PATH = 'first.txt'; -const SECOND_FILE_PATH = 'second.txt'; -const FIRST_ENTRY_PATH = path.join(ROOT_PATH, FIRST_FILE_PATH); -const SECOND_ENTRY_PATH = path.join(ROOT_PATH, SECOND_FILE_PATH); - -describe('Providers → Sync', () => { - describe('.read', () => { - it('should call correct method based on Node.js version', () => { - const readdirSync = sinon.stub().returns([]); - - const settings = new Settings({ - fs: { readdirSync: readdirSync as unknown as typeof fs.readdirSync } - }); - - const actual = provider.read(ROOT_PATH, settings); - - assert.deepStrictEqual(actual, []); - - if (IS_SUPPORT_READDIR_WITH_FILE_TYPES) { - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH, { withFileTypes: true }]]); - } else { - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH]]); - } - }); - - it('should always use `readdir` method when the `stats` option is enabled', () => { - const readdirSync = sinon.stub().returns([]); - - const settings = new Settings({ - fs: { readdirSync: readdirSync as unknown as typeof fs.readdirSync }, - stats: true - }); - - provider.read(ROOT_PATH, settings); - - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH]]); - }); - }); - - describe('.readdirWithFileTypes', () => { - it('should return entries', () => { - const dirent = new Dirent({ name: FIRST_FILE_PATH }); - const readdirSync = sinon.stub().returns([dirent]); - - const settings = new Settings({ - fs: { readdirSync: readdirSync as unknown as typeof fs.readdirSync } - }); - - const expected: Entry[] = [ - { - dirent, - name: FIRST_FILE_PATH, - path: FIRST_ENTRY_PATH - } - ]; - - const actual = provider.readdirWithFileTypes(ROOT_PATH, settings); - - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH, { withFileTypes: true }]]); - assert.deepStrictEqual(actual, expected); - }); - - it('should call fs.stat for symbolic link when the "followSymbolicLink" option is enabled', () => { - const firstDirent = new Dirent({ name: FIRST_FILE_PATH }); - const secondDirent = new Dirent({ name: SECOND_FILE_PATH, isSymbolicLink: true }); - const stats = new Stats(); - - const readdirSync = sinon.stub().returns([firstDirent, secondDirent]); - const statSync = sinon.stub().returns(stats); - - const settings = new Settings({ - followSymbolicLinks: true, - fs: { - readdirSync: readdirSync as unknown as typeof fs.readdirSync, - statSync: statSync as unknown as typeof fs.statSync - } - }); - - const actual = provider.readdirWithFileTypes(ROOT_PATH, settings); - - assert.strictEqual(actual.length, 2); - assert.deepStrictEqual(statSync.args, [[SECOND_ENTRY_PATH]]); - assert.ok(!actual[1].dirent.isSymbolicLink()); - }); - - it('should return lstat for broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is disabled', () => { - const dirent = new Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - - const readdirSync = sinon.stub().returns([dirent]); - const statSync = (): never => { - throw new Error('error'); - }; - - const settings = new Settings({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: false, - fs: { - readdirSync: readdirSync as unknown as typeof fs.readdirSync, - statSync: statSync as unknown as typeof fs.statSync - } - }); - - const actual = provider.readdirWithFileTypes(ROOT_PATH, settings); - - assert.strictEqual(actual.length, 1); - }); - - it('should throw an error fro broken symbolic link when the "throwErrorOnBrokenSymbolicLink" option is enabled', () => { - const dirent = new Dirent({ name: FIRST_FILE_PATH, isSymbolicLink: true }); - - const readdirSync = sinon.stub().returns([dirent]); - const statSync = (): never => { - throw new Error('error'); - }; - - const settings = new Settings({ - followSymbolicLinks: true, - throwErrorOnBrokenSymbolicLink: true, - fs: { - readdirSync: readdirSync as unknown as typeof fs.readdirSync, - statSync: statSync as unknown as typeof fs.statSync - } - }); - - const expectedErrorMessageRe = /Error: error/; - - assert.throws(() => provider.readdirWithFileTypes(ROOT_PATH, settings), expectedErrorMessageRe); - }); - }); - - describe('.readdir', () => { - it('should return entries', () => { - const stats = new Stats(); - - const readdirSync = sinon.stub().returns([FIRST_FILE_PATH]); - const lstatSync = sinon.stub().returns(stats); - - const settings = new Settings({ - fs: { - readdirSync: readdirSync as unknown as typeof fs.readdirSync, - lstatSync: lstatSync as unknown as typeof fs.lstatSync - } - }); - - const actual = provider.readdir(ROOT_PATH, settings); - - assert.deepStrictEqual(readdirSync.args, [[ROOT_PATH]]); - - assert.strictEqual(actual[0].name, FIRST_FILE_PATH); - assert.strictEqual(actual[0].path, FIRST_ENTRY_PATH); - assert.strictEqual(actual[0].dirent.name, FIRST_FILE_PATH); - }); - - it('should return entries with `stats` property', () => { - const stats = new Stats(); - - const readdirSync = sinon.stub().returns([FIRST_FILE_PATH]); - const lstatSync = sinon.stub().returns(stats); - - const settings = new Settings({ - fs: { - readdirSync: readdirSync as unknown as typeof fs.readdirSync, - lstatSync: lstatSync as unknown as typeof fs.lstatSync - }, - stats: true - }); - - const actual = provider.readdir(ROOT_PATH, settings); - - assert.deepStrictEqual(actual[0].stats, stats); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/sync.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/sync.ts deleted file mode 100644 index 5a15c0f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/providers/sync.ts +++ /dev/null @@ -1,62 +0,0 @@ -import * as fsStat from '@nodelib/fs.stat'; - -import { IS_SUPPORT_READDIR_WITH_FILE_TYPES } from '../constants'; -import Settings from '../settings'; -import { Entry } from '../types'; -import * as utils from '../utils'; -import * as common from './common'; - -export function read(directory: string, settings: Settings): Entry[] { - if (!settings.stats && IS_SUPPORT_READDIR_WITH_FILE_TYPES) { - return readdirWithFileTypes(directory, settings); - } - - return readdir(directory, settings); -} - -export function readdirWithFileTypes(directory: string, settings: Settings): Entry[] { - const dirents = settings.fs.readdirSync(directory, { withFileTypes: true }); - - return dirents.map((dirent) => { - const entry: 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; - }); -} - -export function readdir(directory: string, settings: Settings): Entry[] { - 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: Entry = { - name, - path: entryPath, - dirent: utils.fs.createDirentFromStats(name, stats) - }; - - if (settings.stats) { - entry.stats = stats; - } - - return entry; - }); -} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/settings.spec.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/settings.spec.ts deleted file mode 100644 index 5dd9894..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/settings.spec.ts +++ /dev/null @@ -1,32 +0,0 @@ -import * as assert from 'assert'; -import * as path from 'path'; - -import { Stats } from '../../fs.macchiato'; - -import * as fs from './adapters/fs'; -import Settings from './settings'; - -describe('Settings', () => { - it('should return instance with default values', () => { - const settings = new Settings(); - - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter()); - assert.ok(!settings.followSymbolicLinks); - assert.ok(!settings.stats); - assert.strictEqual(settings.pathSegmentSeparator, path.sep); - assert.ok(settings.fsStatSettings); - assert.ok(settings.throwErrorOnBrokenSymbolicLink); - }); - - it('should return instance with custom values', () => { - const lstatSync = (): Stats => new Stats(); - - const settings = new Settings({ - fs: fs.createFileSystemAdapter({ lstatSync }), - stats: true - }); - - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter({ lstatSync })); - assert.ok(settings.stats); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/settings.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/settings.ts deleted file mode 100644 index 7e8dd3b..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/settings.ts +++ /dev/null @@ -1,33 +0,0 @@ -import * as path from 'path'; - -import * as fsStat from '@nodelib/fs.stat'; - -import * as fs from './adapters/fs'; - -export type Options = { - followSymbolicLinks?: boolean; - fs?: Partial; - pathSegmentSeparator?: string; - stats?: boolean; - throwErrorOnBrokenSymbolicLink?: boolean; -}; - -export default class Settings { - public readonly followSymbolicLinks: boolean = this._getValue(this._options.followSymbolicLinks, false); - public readonly fs: fs.FileSystemAdapter = fs.createFileSystemAdapter(this._options.fs); - public readonly pathSegmentSeparator: string = this._getValue(this._options.pathSegmentSeparator, path.sep); - public readonly stats: boolean = this._getValue(this._options.stats, false); - public readonly throwErrorOnBrokenSymbolicLink: boolean = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true); - - public readonly fsStatSettings: fsStat.Settings = new fsStat.Settings({ - followSymbolicLink: this.followSymbolicLinks, - fs: this.fs, - throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink - }); - - constructor(private readonly _options: Options = {}) { } - - private _getValue(option: T | undefined, value: T): T { - return option ?? value; - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/types/index.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/types/index.ts deleted file mode 100644 index 5a20ffb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/types/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -import * as fs from 'fs'; - -export type Entry = { - dirent: Dirent; - name: string; - path: string; - stats?: Stats; -}; - -export type Stats = fs.Stats; - -export type Dirent = { - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isDirectory(): boolean; - isFIFO(): boolean; - isFile(): boolean; - isSocket(): boolean; - isSymbolicLink(): boolean; - name: string; -}; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/fs.spec.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/fs.spec.ts deleted file mode 100644 index a47760a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/fs.spec.ts +++ /dev/null @@ -1,21 +0,0 @@ -import * as assert from 'assert'; - -import { Stats } from '../../../fs.macchiato'; -import * as util from './fs'; - -describe('Utils → FS', () => { - describe('.createDirentFromStats', () => { - it('should convert fs.Stats to fs.Dirent', () => { - const actual = util.createDirentFromStats('name', new Stats()); - - assert.strictEqual(actual.name, 'name'); - assert.ok(!actual.isBlockDevice()); - assert.ok(!actual.isCharacterDevice()); - assert.ok(!actual.isDirectory()); - assert.ok(!actual.isFIFO()); - assert.ok(actual.isFile()); - assert.ok(!actual.isSocket()); - assert.ok(!actual.isSymbolicLink()); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/fs.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/fs.ts deleted file mode 100644 index 645f4a3..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/fs.ts +++ /dev/null @@ -1,27 +0,0 @@ -import * as fs from 'fs'; - -import { Dirent, Stats } from '../types'; - -class DirentFromStats implements fs.Dirent { - public isBlockDevice: Stats['isBlockDevice']; - public isCharacterDevice: Stats['isCharacterDevice']; - public isDirectory: Stats['isDirectory']; - public isFIFO: Stats['isFIFO']; - public isFile: Stats['isFile']; - public isSocket: Stats['isSocket']; - public isSymbolicLink: Stats['isSymbolicLink']; - - constructor(public name: string, stats: Stats) { - 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); - } -} - -export function createDirentFromStats(name: string, stats: Stats): Dirent { - return new DirentFromStats(name, stats); -} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/index.ts b/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/index.ts deleted file mode 100644 index 6fa8f6d..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/src/utils/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as fs from './fs'; - -export { - fs -}; diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/tsconfig.json b/pak-builder/node_modules/@nodelib/fs.scandir/tsconfig.json deleted file mode 100644 index 11e723f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "rootDir": "src", - "outDir": "out" - }, - "references": [ - { - "path": "../fs.macchiato" - }, - { - "path": "../fs.stat" - } - ] -} diff --git a/pak-builder/node_modules/@nodelib/fs.scandir/tsconfig.tsbuildinfo b/pak-builder/node_modules/@nodelib/fs.scandir/tsconfig.tsbuildinfo deleted file mode 100644 index d6a0758..0000000 --- a/pak-builder/node_modules/@nodelib/fs.scandir/tsconfig.tsbuildinfo +++ /dev/null @@ -1,1720 +0,0 @@ -{ - "program": { - "fileInfos": { - "../../../node_modules/typescript/lib/lib.es5.d.ts": { - "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", - "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.d.ts": { - "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", - "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2016.d.ts": { - "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", - "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2017.d.ts": { - "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", - "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2018.d.ts": { - "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", - "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.dom.d.ts": { - "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", - "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { - "version": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", - "signature": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { - "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", - "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { - "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", - "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { - "version": "63e0cc12d0f77394094bd19e84464f9840af0071e5b9358ced30511efef1d8d2", - "signature": "63e0cc12d0f77394094bd19e84464f9840af0071e5b9358ced30511efef1d8d2", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { - "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", - "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { - "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", - "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { - "version": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", - "signature": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { - "version": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", - "signature": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { - "version": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", - "signature": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { - "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", - "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { - "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", - "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { - "version": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", - "signature": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { - "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", - "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { - "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", - "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { - "version": "d0db416bccdb33975548baf09a42ee8c47eace1aac7907351a000f1e568e7232", - "signature": "d0db416bccdb33975548baf09a42ee8c47eace1aac7907351a000f1e568e7232", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { - "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", - "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { - "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", - "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { - "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", - "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { - "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", - "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { - "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", - "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { - "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", - "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { - "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", - "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { - "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", - "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { - "version": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", - "signature": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { - "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", - "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.full.d.ts": { - "version": "d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed", - "signature": "d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed", - "affectsGlobalScope": false - }, - "./src/constants.ts": { - "version": "e987ef952c80874e93b84cb440b66b0f2ada121cd05e8dab4954bba9c594f0a9", - "signature": "30834002ccdbc21abcb61f35461de0d03d146ba450e7b60873cb57c1d79b59f3", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/globals.d.ts": { - "version": "74d61a149bea97a20b324410e4520796ffc36dcf35b54f03cfd0cfe922bb61cc", - "signature": "74d61a149bea97a20b324410e4520796ffc36dcf35b54f03cfd0cfe922bb61cc", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/async_hooks.d.ts": { - "version": "950e73fe3bcda768b5f593cec3f7137bb7cab709a82be89dd08c2a20568a28e2", - "signature": "950e73fe3bcda768b5f593cec3f7137bb7cab709a82be89dd08c2a20568a28e2", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/buffer.d.ts": { - "version": "61215c1a376bbe8f51cab4cc4ddbf3746387015113c37a84d981d4738c21b878", - "signature": "61215c1a376bbe8f51cab4cc4ddbf3746387015113c37a84d981d4738c21b878", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/child_process.d.ts": { - "version": "5eca801fb67009c5728b88793670f0137b5e31a8f7d1576d5110a1276feaba8c", - "signature": "5eca801fb67009c5728b88793670f0137b5e31a8f7d1576d5110a1276feaba8c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/cluster.d.ts": { - "version": "ce629710e5e58724902b753212e97861fd73e2aa09f5d88cb6d55dc763cf8c8a", - "signature": "ce629710e5e58724902b753212e97861fd73e2aa09f5d88cb6d55dc763cf8c8a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/console.d.ts": { - "version": "525c8fc510d9632d2a0a9de2d41c3ac1cdd79ff44d3b45c6d81cacabb683528d", - "signature": "525c8fc510d9632d2a0a9de2d41c3ac1cdd79ff44d3b45c6d81cacabb683528d", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/constants.d.ts": { - "version": "0279383034fae92db8097d0a41350293553599cc9c3c917b60e2542d0dfcbd44", - "signature": "0279383034fae92db8097d0a41350293553599cc9c3c917b60e2542d0dfcbd44", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/crypto.d.ts": { - "version": "9b9f8b151698fb1798f04b8375e240c764f094e730192e6a5353abdb1c709d6f", - "signature": "9b9f8b151698fb1798f04b8375e240c764f094e730192e6a5353abdb1c709d6f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/dgram.d.ts": { - "version": "37c4598a5f2025c97492e18bed8909ccd10bf26bb5f54d5f6009f9153291af91", - "signature": "37c4598a5f2025c97492e18bed8909ccd10bf26bb5f54d5f6009f9153291af91", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/dns.d.ts": { - "version": "ef226a42de7022eacdfa0f15aabf73b46c47af93044c8ebfab8aa8e3cf6c330c", - "signature": "ef226a42de7022eacdfa0f15aabf73b46c47af93044c8ebfab8aa8e3cf6c330c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/domain.d.ts": { - "version": "d5b7c8819ce1bd31a45f7675309e145ec28e3aa1b60a8e0637fd0e8916255baa", - "signature": "d5b7c8819ce1bd31a45f7675309e145ec28e3aa1b60a8e0637fd0e8916255baa", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/events.d.ts": { - "version": "76048f3c7325a6c1fa6306d40eb0c8570fa0209d09472d46f9b1221f66edae6f", - "signature": "76048f3c7325a6c1fa6306d40eb0c8570fa0209d09472d46f9b1221f66edae6f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/fs.d.ts": { - "version": "03be37150cc8fe48fd243169653f15149e0ed4a34eea0cae027b708d39eb01f8", - "signature": "03be37150cc8fe48fd243169653f15149e0ed4a34eea0cae027b708d39eb01f8", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/http.d.ts": { - "version": "f50ba0d2d8f891fa11326db36e6c25fe14bce747cf2bd9b554de3bb2a814f49c", - "signature": "f50ba0d2d8f891fa11326db36e6c25fe14bce747cf2bd9b554de3bb2a814f49c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/http2.d.ts": { - "version": "48b53111cc4ce136803fbf857cd8de2d5df33895b1af714a87caf87562182e46", - "signature": "48b53111cc4ce136803fbf857cd8de2d5df33895b1af714a87caf87562182e46", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/https.d.ts": { - "version": "dacbe08610729f6343ea9880ea8e737c6d7a6efa4a318d8f6acaf85db4aceed6", - "signature": "dacbe08610729f6343ea9880ea8e737c6d7a6efa4a318d8f6acaf85db4aceed6", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/inspector.d.ts": { - "version": "4218ced3933a31eed1278d350dd63c5900df0f0904f57d61c054d7a4b83dbe4c", - "signature": "4218ced3933a31eed1278d350dd63c5900df0f0904f57d61c054d7a4b83dbe4c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/module.d.ts": { - "version": "03394bf8deb8781b490ae9266a843fbdf00647947d79e25fcbf1d89a9e9c8a66", - "signature": "03394bf8deb8781b490ae9266a843fbdf00647947d79e25fcbf1d89a9e9c8a66", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/net.d.ts": { - "version": "358398fe4034395d85c87c319cca7a04001434b13dc68d067481ecb374385bfc", - "signature": "358398fe4034395d85c87c319cca7a04001434b13dc68d067481ecb374385bfc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/os.d.ts": { - "version": "d9bc6f1917c24d862a68d2633e4a32fd586bfe3e412e5d11fd07d8266b94ced5", - "signature": "d9bc6f1917c24d862a68d2633e4a32fd586bfe3e412e5d11fd07d8266b94ced5", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/path.d.ts": { - "version": "5fb30076f0e0e5744db8993648bfb67aadd895f439edad5cce039127a87a8a36", - "signature": "5fb30076f0e0e5744db8993648bfb67aadd895f439edad5cce039127a87a8a36", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/perf_hooks.d.ts": { - "version": "93a8a589862b5ac8fd8bb46426f7b081ba825a5171337dd45de9bf141624d55e", - "signature": "93a8a589862b5ac8fd8bb46426f7b081ba825a5171337dd45de9bf141624d55e", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/process.d.ts": { - "version": "0e0d58f5e90c0a270dac052b9c5ad8ccdfc8271118c2105b361063218d528d6e", - "signature": "0e0d58f5e90c0a270dac052b9c5ad8ccdfc8271118c2105b361063218d528d6e", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/punycode.d.ts": { - "version": "3f6a1fd73c9dc3bd7f4b79bc075297ca6527904df69b0f2c2c94e4c4c7d9a32c", - "signature": "3f6a1fd73c9dc3bd7f4b79bc075297ca6527904df69b0f2c2c94e4c4c7d9a32c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/querystring.d.ts": { - "version": "758948c06a0d02623c7d4ed357ffa79bdc170de6e004046678774a1bfa9a29bb", - "signature": "758948c06a0d02623c7d4ed357ffa79bdc170de6e004046678774a1bfa9a29bb", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/readline.d.ts": { - "version": "2ca26a43dec700c4b0bdc04b123094f4becffda70e3960f3e10b025f7a15ba8f", - "signature": "2ca26a43dec700c4b0bdc04b123094f4becffda70e3960f3e10b025f7a15ba8f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/repl.d.ts": { - "version": "27c3f3f672a6ce267f7cc34643231032016fa4b6d195c0725db570de0a7a9f91", - "signature": "27c3f3f672a6ce267f7cc34643231032016fa4b6d195c0725db570de0a7a9f91", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/stream.d.ts": { - "version": "9c581919a8c483f5080487ae8ec1dd398d94027aedf8e77436085e7fab23951a", - "signature": "9c581919a8c483f5080487ae8ec1dd398d94027aedf8e77436085e7fab23951a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/string_decoder.d.ts": { - "version": "7e62aac2cc9c0710d772047ad89e8d7117f52592c791eb995ce1f865fedab432", - "signature": "7e62aac2cc9c0710d772047ad89e8d7117f52592c791eb995ce1f865fedab432", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/timers.d.ts": { - "version": "b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9", - "signature": "b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/tls.d.ts": { - "version": "48064f81a8354d04808e7b5bddf570aaf19f894cf1d8a2aa1f56c81decd33508", - "signature": "48064f81a8354d04808e7b5bddf570aaf19f894cf1d8a2aa1f56c81decd33508", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/trace_events.d.ts": { - "version": "a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638", - "signature": "a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/tty.d.ts": { - "version": "3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748", - "signature": "3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/url.d.ts": { - "version": "834545a7726e414890371aec1a89b7915963e08e790e093259e8bed429ef15c6", - "signature": "834545a7726e414890371aec1a89b7915963e08e790e093259e8bed429ef15c6", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/util.d.ts": { - "version": "b248fb69886bce18cf6650491f43f0326ed6d59c8fdf7fd63dbd35bf4ef3e2bc", - "signature": "b248fb69886bce18cf6650491f43f0326ed6d59c8fdf7fd63dbd35bf4ef3e2bc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/v8.d.ts": { - "version": "4407bd5f1d6f748590ba125195eb1d7a003c2de2f3b057456d3ac76a742d2561", - "signature": "4407bd5f1d6f748590ba125195eb1d7a003c2de2f3b057456d3ac76a742d2561", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/vm.d.ts": { - "version": "2b57b7d7191c6e2efc2ed4f87cf1e25c383278ac5d019670406508df42dc34f3", - "signature": "2b57b7d7191c6e2efc2ed4f87cf1e25c383278ac5d019670406508df42dc34f3", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/worker_threads.d.ts": { - "version": "46f0413ecc0d83b047d46dbe03a37c7c760f59f0bb9a8633150e2d9335870675", - "signature": "46f0413ecc0d83b047d46dbe03a37c7c760f59f0bb9a8633150e2d9335870675", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/zlib.d.ts": { - "version": "2ea98f43cfae8dfbefc45d8bd1ec4907bbad33d18203ea8ef8b50d36b97afa35", - "signature": "2ea98f43cfae8dfbefc45d8bd1ec4907bbad33d18203ea8ef8b50d36b97afa35", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/ts3.3/base.d.ts": { - "version": "067b1964df87a4fc98ebffbd2bada6d7ed14a5b032f9071ea39478d82e701a99", - "signature": "067b1964df87a4fc98ebffbd2bada6d7ed14a5b032f9071ea39478d82e701a99", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/globals.global.d.ts": { - "version": "2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1", - "signature": "2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/wasi.d.ts": { - "version": "14a6a3cee450438254c004a6b4f1191ec9977186bdeda07764f2a8d90ef71117", - "signature": "14a6a3cee450438254c004a6b4f1191ec9977186bdeda07764f2a8d90ef71117", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/ts3.6/base.d.ts": { - "version": "d170ea32762c00c660740f2cc0ca9526290ab9d9fb9c72282c1fa53cd1a7728e", - "signature": "d170ea32762c00c660740f2cc0ca9526290ab9d9fb9c72282c1fa53cd1a7728e", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/assert.d.ts": { - "version": "54b2276780dc8d538a71b954b87ea081a1e9f90e7f1195f2daf2bddde0bf52df", - "signature": "54b2276780dc8d538a71b954b87ea081a1e9f90e7f1195f2daf2bddde0bf52df", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/base.d.ts": { - "version": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", - "signature": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/index.d.ts": { - "version": "6fa68653382bd571bc63831e9f9c1307cc52f7310c1470463fe429d84147667d", - "signature": "6fa68653382bd571bc63831e9f9c1307cc52f7310c1470463fe429d84147667d", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/minimatch/index.d.ts": { - "version": "1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633", - "signature": "1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/glob/index.d.ts": { - "version": "393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0", - "signature": "393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/rimraf/index.d.ts": { - "version": "6462324ef579c47415610a63f1aa8b72f5b5114f8fe8307967f9add2bca634f5", - "signature": "6462324ef579c47415610a63f1aa8b72f5b5114f8fe8307967f9add2bca634f5", - "affectsGlobalScope": false - }, - "./src/adapters/fs.ts": { - "version": "97a8bee3a5b65983e9afb5b7efa4a50977d75b140e230fd2323c81f827770b39", - "signature": "6cee571d9f8ea88d197d1614e5cf328391e96dff69ca61ab5299a630d0c65822", - "affectsGlobalScope": false - }, - "../fs.stat/out/adapters/fs.d.ts": { - "version": "ceebf93146ac7b3f85276a2501de57c5cf5bb19742944c958bd831f995b41409", - "signature": "ceebf93146ac7b3f85276a2501de57c5cf5bb19742944c958bd831f995b41409", - "affectsGlobalScope": false - }, - "../fs.stat/out/settings.d.ts": { - "version": "30c47bd1f03a220a10e8c11708a2c73c04135999ca1a35271605f9683d36b432", - "signature": "30c47bd1f03a220a10e8c11708a2c73c04135999ca1a35271605f9683d36b432", - "affectsGlobalScope": false - }, - "../fs.stat/out/types/index.d.ts": { - "version": "8b9fa6dfb2bec7abe9937fe049505d896550b2ad600cb7114b6fe2813b5cf180", - "signature": "8b9fa6dfb2bec7abe9937fe049505d896550b2ad600cb7114b6fe2813b5cf180", - "affectsGlobalScope": false - }, - "../fs.stat/out/providers/async.d.ts": { - "version": "c692034610ac35559227657172f6f76581ee7b16c319c7d5973e19b650f11b9f", - "signature": "c692034610ac35559227657172f6f76581ee7b16c319c7d5973e19b650f11b9f", - "affectsGlobalScope": false - }, - "../fs.stat/out/index.d.ts": { - "version": "079488cc4bf1eef64297994ef8719c078a86380610beea1d1a920c9436997967", - "signature": "079488cc4bf1eef64297994ef8719c078a86380610beea1d1a920c9436997967", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/run-parallel/index.d.ts": { - "version": "eefea34ce2cdb15ab6678c8c7911c27b2c3da267d7922f192f3d2eb0bf621821", - "signature": "eefea34ce2cdb15ab6678c8c7911c27b2c3da267d7922f192f3d2eb0bf621821", - "affectsGlobalScope": false - }, - "./src/settings.ts": { - "version": "1e4df6b7ebf56063351b92afd854f2222b147c1cee37648dffc078441296d113", - "signature": "354b18c096926d3f35b597b6309d9792b6517840bbf972c095930d067e28de83", - "affectsGlobalScope": false - }, - "./src/types/index.ts": { - "version": "25cf5ed32a6edbc77c16dcbc59e2f8e447fe03e579a32d3aa3907ae57919977c", - "signature": "a86bb35bb7b946058e544aba4a7ac5359648d58904184701f1ca23b26b36ccd3", - "affectsGlobalScope": false - }, - "./src/utils/fs.ts": { - "version": "afd8d3bda70fc3602b633549c3647b4c5945274544690af57e058df7d3c7adc3", - "signature": "50d5aeb36e4c9ff996c8ecfe815588dda34ecc3d4773e8fd3507dc561a99b950", - "affectsGlobalScope": false - }, - "./src/utils/index.ts": { - "version": "1d6f2f71f6193511012745dec6b30646628c6d9275477a2eab9380b5133382bb", - "signature": "8990e1bf5a5a1ad74390339168ec2cc6de0c42a2edfc75d6dda3d9a05c70cf35", - "affectsGlobalScope": false - }, - "./src/providers/common.ts": { - "version": "74467f43113a719a495e44d5407e24094dccd039716bbf526842773a88608e0f", - "signature": "0483edfd584ef4cf3748ffebc395a3b93dae732cd6027fe1ab567c86039654ab", - "affectsGlobalScope": false - }, - "./src/providers/async.ts": { - "version": "87031909864afb217428dba1b92646be99009fc5b3de773d871b46469b0a4d04", - "signature": "fa316e5f457f8a5ef600f305a60cb0031f0cf07c7c6991b520d353739f56c6ad", - "affectsGlobalScope": false - }, - "./src/providers/sync.ts": { - "version": "46df98193e3b2de437807dcd354bddfb9d5d546b5791bfdfa1f99958ed1a1e91", - "signature": "e02ec7509984e7c388616c938f13b862166975fc6442dce1b6b3a5e630d43e19", - "affectsGlobalScope": false - }, - "./src/index.ts": { - "version": "1eb0c18106c45518281f6cae285f45345473184603e05a766f6e416fecba36b7", - "signature": "105b0c9e3b159a1f32ca33bf1cb5ead919ea15bab7143bd99b298ceb687b0e84", - "affectsGlobalScope": false - }, - "./src/index.spec.ts": { - "version": "2063af9ddce3744921cebb65bd70032ec84a6c2d3e359bc6a8fe5ba01484e0e7", - "signature": "a900cdf2c35bba00b0363cc950bbf88b887976e70a9eae929dad35ef964109d9", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/types.d.ts": { - "version": "47b605d1e61f92f418c7879051e5458f8ec00aeacac419a37754066fec42b9ba", - "signature": "47b605d1e61f92f418c7879051e5458f8ec00aeacac419a37754066fec42b9ba", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/dirent.d.ts": { - "version": "98387ef539ccca1023a5934f6ea2dd87ee8a6c87db31ec7986b9da016c66fc16", - "signature": "98387ef539ccca1023a5934f6ea2dd87ee8a6c87db31ec7986b9da016c66fc16", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/stats.d.ts": { - "version": "7c70ba0c69002f78ddac880f0096de5b0e78248cf680c1fe1a89439dbf069c5d", - "signature": "7c70ba0c69002f78ddac880f0096de5b0e78248cf680c1fe1a89439dbf069c5d", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/index.d.ts": { - "version": "e00937f585b9c2f95d9d4e00b4e76427eb9516c70a4470d805451ba2ea00044e", - "signature": "e00937f585b9c2f95d9d4e00b4e76427eb9516c70a4470d805451ba2ea00044e", - "affectsGlobalScope": false - }, - "./src/settings.spec.ts": { - "version": "7da4e11466b26fe96f3e4e3e46fc412870dd2dead2f1242897e088c526dd3625", - "signature": "714d2bb322e0442caf181768f049abd17a96d328d87169c2e6c13a86839c4463", - "affectsGlobalScope": false - }, - "./src/adapters/fs.spec.ts": { - "version": "c2643809431e7e7efde3d5788a889e0368005436bdb7f35925ef4e8ab758d99e", - "signature": "bd7314ded2b0851e1bb0834dc068cb4d18cdbecc9e965e8a0f4952ac3ee4610c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/sinon/ts3.1/index.d.ts": { - "version": "168435ab3390620aebf1aa0001b380983582d0849755eeb17f2c501d1fc57587", - "signature": "168435ab3390620aebf1aa0001b380983582d0849755eeb17f2c501d1fc57587", - "affectsGlobalScope": false - }, - "./src/providers/async.spec.ts": { - "version": "9f62b389e4d6f61e02f0a85f3622139c16d9ecdf9653c2c5db127908b338f531", - "signature": "6ff501c2b9280fbf7322044c48dff6eea6849df3b6ab6844facd9d789988a2c9", - "affectsGlobalScope": false - }, - "./src/providers/common.spec.ts": { - "version": "fc7c547c8896e8f5ba678866c1db946b0e142b2db65c7312dcca8a8e77a9b87b", - "signature": "d030e48e296ebe726e80c9b6e26988c7d9a5c1dba321a5f03d7ce297f130aeae", - "affectsGlobalScope": false - }, - "./src/providers/sync.spec.ts": { - "version": "11e77e69be2f8fd5f2de8a2262aef24bc17d90719007a784822514226fc30878", - "signature": "be22d8b5a836edfac7c9c5ef03e98058ec89f0b98edef8e54ea410187b0bda28", - "affectsGlobalScope": false - }, - "./src/utils/fs.spec.ts": { - "version": "33d768b4ce72260264526fb3106e7892d594217c8d3bb190728594a49442fcde", - "signature": "bd7314ded2b0851e1bb0834dc068cb4d18cdbecc9e965e8a0f4952ac3ee4610c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/eslint-visitor-keys/index.d.ts": { - "version": "725d9be2fd48440256f4deb00649adffdbc5ecd282b09e89d4e200663792c34c", - "signature": "725d9be2fd48440256f4deb00649adffdbc5ecd282b09e89d4e200663792c34c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/fs-extra/index.d.ts": { - "version": "aca36e2d27783f4bad7fc1786a532ff76024f0fc8575df48bcd9a5eb452fe7e7", - "signature": "aca36e2d27783f4bad7fc1786a532ff76024f0fc8575df48bcd9a5eb452fe7e7", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/highlight.js/index.d.ts": { - "version": "21a2fa3722dc0baba2649e040c3121eb38ce84f5afe35ff1c20276132eaa2f2c", - "signature": "21a2fa3722dc0baba2649e040c3121eb38ce84f5afe35ff1c20276132eaa2f2c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/json-schema/index.d.ts": { - "version": "b2be568d8ce95fcb26eebd04c035d94825655fdf689bf67d799f5ff8cbbb1024", - "signature": "b2be568d8ce95fcb26eebd04c035d94825655fdf689bf67d799f5ff8cbbb1024", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/common.d.ts": { - "version": "3594c022901a1c8993b0f78a3f534cfb81e7b619ed215348f7f6882f3db02abc", - "signature": "3594c022901a1c8993b0f78a3f534cfb81e7b619ed215348f7f6882f3db02abc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/array.d.ts": { - "version": "d03a1ae3d39f757c9f22e4e775b940a98d86bb50ec85529b59e32a17b65c2b90", - "signature": "d03a1ae3d39f757c9f22e4e775b940a98d86bb50ec85529b59e32a17b65c2b90", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/collection.d.ts": { - "version": "0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8", - "signature": "0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/date.d.ts": { - "version": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", - "signature": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/function.d.ts": { - "version": "c9f396e71966bd3a890d8a36a6a497dbf260e9b868158ea7824d4b5421210afe", - "signature": "c9f396e71966bd3a890d8a36a6a497dbf260e9b868158ea7824d4b5421210afe", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/lang.d.ts": { - "version": "509235563ea2b939e1bbe92aae17e71e6a82ceab8f568b45fb4fce7d72523a32", - "signature": "509235563ea2b939e1bbe92aae17e71e6a82ceab8f568b45fb4fce7d72523a32", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/math.d.ts": { - "version": "9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb", - "signature": "9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/number.d.ts": { - "version": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", - "signature": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/object.d.ts": { - "version": "c311349ec71bb69399ffc4092853e7d8a86c1ca39ddb4cd129e775c19d985793", - "signature": "c311349ec71bb69399ffc4092853e7d8a86c1ca39ddb4cd129e775c19d985793", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/seq.d.ts": { - "version": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", - "signature": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/string.d.ts": { - "version": "4908e4c00832b26ce77a629de8501b0e23a903c094f9e79a7fec313a15da796a", - "signature": "4908e4c00832b26ce77a629de8501b0e23a903c094f9e79a7fec313a15da796a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/util.d.ts": { - "version": "2630a7cbb597e85d713b7ef47f2946d4280d3d4c02733282770741d40672b1a5", - "signature": "2630a7cbb597e85d713b7ef47f2946d4280d3d4c02733282770741d40672b1a5", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/index.d.ts": { - "version": "0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8", - "signature": "0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/marked/index.d.ts": { - "version": "c08a5e873738f5576ae1ca5810b5ebc30509f05bde56c3a3bbdd75d6c0806e6a", - "signature": "c08a5e873738f5576ae1ca5810b5ebc30509f05bde56c3a3bbdd75d6c0806e6a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/minimist/index.d.ts": { - "version": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88", - "signature": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/mocha/index.d.ts": { - "version": "c4c03cf65951d980ba618ae9601d10438730803fc9c8a1f7b34af8739981e205", - "signature": "c4c03cf65951d980ba618ae9601d10438730803fc9c8a1f7b34af8739981e205", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/normalize-package-data/index.d.ts": { - "version": "c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613", - "signature": "c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/shelljs/index.d.ts": { - "version": "b73abc91e3166b1951d302f8008c17e62d32e570e71b2680141f7c3f5d0a990d", - "signature": "b73abc91e3166b1951d302f8008c17e62d32e570e71b2680141f7c3f5d0a990d", - "affectsGlobalScope": false - } - }, - "options": { - "target": 4, - "module": 1, - "moduleResolution": 2, - "strict": true, - "alwaysStrict": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "strictPropertyInitialization": true, - "forceConsistentCasingInFileNames": true, - "noImplicitAny": true, - "noImplicitReturns": true, - "noImplicitThis": true, - "noFallthroughCasesInSwitch": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "downlevelIteration": true, - "composite": true, - "declaration": true, - "declarationMap": true, - "pretty": true, - "rootDir": "./src", - "outDir": "./out", - "configFilePath": "./tsconfig.json" - }, - "referencedMap": { - "../../../node_modules/@types/fs-extra/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/glob/index.d.ts": [ - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/array.d.ts": [ - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/collection.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/common.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/date.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/function.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/lang.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/math.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/number.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/object.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/seq.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/string.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/util.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/index.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts" - ], - "../../../node_modules/@types/node/base.d.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts" - ], - "../../../node_modules/@types/node/child_process.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/cluster.d.ts": [ - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/crypto.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/dgram.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/domain.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/fs.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http2.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/https.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/index.d.ts": [ - "../../../node_modules/@types/node/base.d.ts" - ], - "../../../node_modules/@types/node/inspector.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/net.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/perf_hooks.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts" - ], - "../../../node_modules/@types/node/process.d.ts": [ - "../../../node_modules/@types/node/tty.d.ts" - ], - "../../../node_modules/@types/node/readline.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/repl.d.ts": [ - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/stream.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/tls.d.ts": [ - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/ts3.3/base.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts" - ], - "../../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/wasi.d.ts" - ], - "../../../node_modules/@types/node/tty.d.ts": [ - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/url.d.ts": [ - "../../../node_modules/@types/node/querystring.d.ts" - ], - "../../../node_modules/@types/node/v8.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/worker_threads.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/zlib.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/rimraf/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/shelljs/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.macchiato/out/dirent.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.macchiato/out/index.d.ts": [ - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/stats.d.ts" - ], - "../fs.macchiato/out/stats.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "./src/adapters/fs.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/adapters/fs.ts" - ], - "./src/adapters/fs.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ], - "./src/index.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/rimraf/index.d.ts", - "./src/index.ts" - ], - "./src/index.ts": [ - "./src/adapters/fs.ts", - "./src/providers/async.ts", - "./src/providers/sync.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/async.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/constants.ts", - "./src/providers/async.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/async.ts": [ - "../../../node_modules/@types/run-parallel/index.d.ts", - "../fs.stat/out/index.d.ts", - "./src/constants.ts", - "./src/providers/common.ts", - "./src/settings.ts", - "./src/types/index.ts", - "./src/utils/index.ts" - ], - "./src/providers/common.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "./src/providers/common.ts" - ], - "./src/providers/sync.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/constants.ts", - "./src/providers/sync.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/sync.ts": [ - "../fs.stat/out/index.d.ts", - "./src/constants.ts", - "./src/providers/common.ts", - "./src/settings.ts", - "./src/types/index.ts", - "./src/utils/index.ts" - ], - "./src/settings.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/adapters/fs.ts", - "./src/settings.ts" - ], - "./src/settings.ts": [ - "../../../node_modules/@types/node/path.d.ts", - "../fs.stat/out/index.d.ts", - "./src/adapters/fs.ts" - ], - "./src/types/index.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ], - "./src/utils/fs.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/utils/fs.ts" - ], - "./src/utils/fs.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "./src/types/index.ts" - ], - "./src/utils/index.ts": [ - "./src/utils/fs.ts" - ], - "../fs.stat/out/adapters/fs.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.stat/out/index.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts", - "../fs.stat/out/providers/async.d.ts", - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/providers/async.d.ts": [ - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/settings.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts" - ], - "../fs.stat/out/types/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ] - }, - "exportedModulesMap": { - "../../../node_modules/@types/fs-extra/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/glob/index.d.ts": [ - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/array.d.ts": [ - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/collection.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/common.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/date.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/function.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/lang.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/math.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/number.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/object.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/seq.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/string.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/util.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/index.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts" - ], - "../../../node_modules/@types/node/base.d.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts" - ], - "../../../node_modules/@types/node/child_process.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/cluster.d.ts": [ - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/crypto.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/dgram.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/domain.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/fs.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http2.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/https.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/index.d.ts": [ - "../../../node_modules/@types/node/base.d.ts" - ], - "../../../node_modules/@types/node/inspector.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/net.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/perf_hooks.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts" - ], - "../../../node_modules/@types/node/process.d.ts": [ - "../../../node_modules/@types/node/tty.d.ts" - ], - "../../../node_modules/@types/node/readline.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/repl.d.ts": [ - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/stream.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/tls.d.ts": [ - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/ts3.3/base.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts" - ], - "../../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/wasi.d.ts" - ], - "../../../node_modules/@types/node/tty.d.ts": [ - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/url.d.ts": [ - "../../../node_modules/@types/node/querystring.d.ts" - ], - "../../../node_modules/@types/node/v8.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/worker_threads.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/zlib.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/rimraf/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/shelljs/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.macchiato/out/dirent.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.macchiato/out/index.d.ts": [ - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/stats.d.ts" - ], - "../fs.macchiato/out/stats.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "./src/adapters/fs.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ], - "./src/index.ts": [ - "./src/adapters/fs.ts", - "./src/providers/async.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/async.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/sync.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/settings.ts": [ - "../fs.stat/out/index.d.ts", - "./src/adapters/fs.ts" - ], - "./src/types/index.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ], - "./src/utils/fs.ts": [ - "./src/types/index.ts" - ], - "./src/utils/index.ts": [ - "./src/utils/fs.ts" - ], - "../fs.stat/out/adapters/fs.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.stat/out/index.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts", - "../fs.stat/out/providers/async.d.ts", - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/providers/async.d.ts": [ - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/settings.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts" - ], - "../fs.stat/out/types/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../node_modules/@types/eslint-visitor-keys/index.d.ts", - "../../../node_modules/@types/fs-extra/index.d.ts", - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/highlight.js/index.d.ts", - "../../../node_modules/@types/json-schema/index.d.ts", - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts", - "../../../node_modules/@types/marked/index.d.ts", - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/minimist/index.d.ts", - "../../../node_modules/@types/mocha/index.d.ts", - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/base.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/wasi.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts", - "../../../node_modules/@types/normalize-package-data/index.d.ts", - "../../../node_modules/@types/rimraf/index.d.ts", - "../../../node_modules/@types/run-parallel/index.d.ts", - "../../../node_modules/@types/shelljs/index.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../../../node_modules/typescript/lib/lib.dom.d.ts", - "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", - "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", - "../../../node_modules/typescript/lib/lib.es2016.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.full.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", - "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", - "../../../node_modules/typescript/lib/lib.es5.d.ts", - "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", - "../../../node_modules/typescript/lib/lib.scripthost.d.ts", - "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts", - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/index.d.ts", - "../fs.macchiato/out/stats.d.ts", - "../fs.macchiato/out/types.d.ts", - "./src/adapters/fs.spec.ts", - "./src/adapters/fs.ts", - "./src/constants.ts", - "./src/index.spec.ts", - "./src/index.ts", - "./src/providers/async.spec.ts", - "./src/providers/async.ts", - "./src/providers/common.spec.ts", - "./src/providers/common.ts", - "./src/providers/sync.spec.ts", - "./src/providers/sync.ts", - "./src/settings.spec.ts", - "./src/settings.ts", - "./src/types/index.ts", - "./src/utils/fs.spec.ts", - "./src/utils/fs.ts", - "./src/utils/index.ts", - "../fs.stat/out/adapters/fs.d.ts", - "../fs.stat/out/index.d.ts", - "../fs.stat/out/providers/async.d.ts", - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ] - }, - "version": "3.9.7" -} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/.eslintcache b/pak-builder/node_modules/@nodelib/fs.stat/.eslintcache deleted file mode 100644 index a547acb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\adapters\\fs.spec.ts":"1","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\adapters\\fs.ts":"2","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\index.spec.ts":"3","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\index.ts":"4","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\async.spec.ts":"5","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\async.ts":"6","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\sync.spec.ts":"7","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\sync.ts":"8","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\settings.spec.ts":"9","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\settings.ts":"10","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\types\\index.ts":"11"},{"size":807,"mtime":1609075886217,"results":"12","hashOfConfig":"13"},{"size":544,"mtime":1609075886217,"results":"14","hashOfConfig":"13"},{"size":1664,"mtime":1609075886218,"results":"15","hashOfConfig":"13"},{"size":1576,"mtime":1609075886218,"results":"16","hashOfConfig":"13"},{"size":3262,"mtime":1609075886219,"results":"17","hashOfConfig":"13"},{"size":1258,"mtime":1609075886220,"results":"18","hashOfConfig":"13"},{"size":2676,"mtime":1609075886220,"results":"19","hashOfConfig":"13"},{"size":518,"mtime":1609075886220,"results":"20","hashOfConfig":"13"},{"size":943,"mtime":1609075886221,"results":"21","hashOfConfig":"13"},{"size":809,"mtime":1609075886221,"results":"22","hashOfConfig":"13"},{"size":109,"mtime":1609075886222,"results":"23","hashOfConfig":"13"},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"18hbtvp",{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\adapters\\fs.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\adapters\\fs.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\index.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\index.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\async.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\async.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\sync.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\providers\\sync.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\settings.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\settings.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.stat\\src\\types\\index.ts",[]] \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts index d17b356..3af759c 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts @@ -1,11 +1,13 @@ -/// -import * as fs from 'fs'; -export declare type FileSystemAdapter = { - lstat: typeof fs.lstat; - stat: typeof fs.stat; - lstatSync: typeof fs.lstatSync; - statSync: typeof fs.statSync; -}; -export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter; -export declare function createFileSystemAdapter(fsMethods?: Partial): FileSystemAdapter; -//# sourceMappingURL=fs.d.ts.map \ No newline at end of file +/// +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; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts.map deleted file mode 100644 index d84a447..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/adapters/fs.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC/B,KAAK,EAAE,OAAO,EAAE,CAAC,KAAK,CAAC;IACvB,IAAI,EAAE,OAAO,EAAE,CAAC,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,EAAE,CAAC,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,iBAKjC,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,iBAAiB,CASjG"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.js b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.js index c000ee9..8dc08c8 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.js +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.js @@ -1,17 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.d.ts deleted file mode 100644 index 2858c4b..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=fs.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.d.ts.map deleted file mode 100644 index 8e096bb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"fs.spec.d.ts","sourceRoot":"","sources":["../../src/adapters/fs.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.js b/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.js deleted file mode 100644 index 1b9031e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/adapters/fs.spec.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -const adapter = require("./fs"); -describe('Adapters → FileSystem', () => { - it('should return original FS methods', () => { - const expected = adapter.FILE_SYSTEM_ADAPTER; - const actual = adapter.createFileSystemAdapter(); - assert.deepStrictEqual(actual, expected); - }); - it('should return custom FS methods', () => { - const customLstatSyncMethod = () => new fs_macchiato_1.Stats(); - const expected = Object.assign(Object.assign({}, adapter.FILE_SYSTEM_ADAPTER), { lstatSync: customLstatSyncMethod }); - const actual = adapter.createFileSystemAdapter({ - lstatSync: customLstatSyncMethod - }); - assert.deepStrictEqual(actual, expected); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/index.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/index.d.ts index 5f092f9..f95db99 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/index.d.ts @@ -1,13 +1,12 @@ -import { FileSystemAdapter } from './adapters/fs'; -import * as async from './providers/async'; -import Settings, { Options } from './settings'; -import { 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; -} -declare function statSync(path: string, optionsOrSettings?: Options | Settings): Stats; -export { Settings, stat, statSync, AsyncCallback, FileSystemAdapter, Options, Stats }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file +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; +} +declare function statSync(path: string, optionsOrSettings?: Options | Settings): Stats; +export { Settings, stat, statSync, AsyncCallback, FileSystemAdapter, StatAsynchronousMethod, StatSynchronousMethod, Options, Stats }; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/index.d.ts.map deleted file mode 100644 index e07ff1a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAE3C,OAAO,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,aAAK,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;AAEzC,iBAAS,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;AAC3D,iBAAS,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,GAAG,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;AAWlG,OAAO,WAAW,IAAI,CAAC;IACtB,SAAS,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CAC7F;AAED,iBAAS,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAI7E;AAUD,OAAO,EACN,QAAQ,EACR,IAAI,EACJ,QAAQ,EAIR,aAAa,EACb,iBAAiB,EACjB,OAAO,EACP,KAAK,EACL,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/index.js b/pak-builder/node_modules/@nodelib/fs.stat/out/index.js index 9808b5a..b23f751 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/index.js +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/index.js @@ -1,25 +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') { - return async.read(path, getSettings(), optionsOrSettingsOrCallback); - } - 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); -} +"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); +} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.d.ts deleted file mode 100644 index 4e9d2bb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=index.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.d.ts.map deleted file mode 100644 index 47bd666..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.js b/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.js deleted file mode 100644 index 941ec3e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/index.spec.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fs = require("fs"); -const rimraf = require("rimraf"); -const _1 = require("."); -describe('Package', () => { - before(() => { - rimraf.sync('fixtures'); - fs.mkdirSync('fixtures'); - fs.mkdirSync('fixtures/a'); - fs.symlinkSync('a', 'fixtures/b', 'junction'); - }); - after(() => { - rimraf.sync('fixtures'); - }); - describe('.stat', () => { - it('should work without options or settings', (done) => { - _1.stat('fixtures/b', (error, stats) => { - assert.strictEqual(error, null); - assert.ok(stats); - done(); - }); - }); - it('should work with options', (done) => { - _1.stat('fixtures/b', { markSymbolicLink: true }, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.isSymbolicLink(), true); - done(); - }); - }); - it('should work with settings', (done) => { - const settings = new _1.Settings({ markSymbolicLink: true }); - _1.stat('fixtures/b', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.isSymbolicLink(), true); - done(); - }); - }); - }); - describe('.statSync', () => { - it('should work without options or settings', () => { - const actual = _1.statSync('fixtures/b'); - assert.ok(actual); - }); - it('should work with options', () => { - const actual = _1.statSync('fixtures/b', { markSymbolicLink: true }); - assert.strictEqual(actual.isSymbolicLink(), true); - }); - it('should work with settings', () => { - const settings = new _1.Settings({ markSymbolicLink: true }); - const actual = _1.statSync('fixtures/b', settings); - assert.strictEqual(actual.isSymbolicLink(), true); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.d.ts index a9637c5..85423ce 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.d.ts @@ -1,5 +1,4 @@ -import Settings from '../settings'; -import { ErrnoException, Stats } from '../types'; -export declare type AsyncCallback = (err: ErrnoException, stats: Stats) => void; -export declare function read(path: string, settings: Settings, callback: AsyncCallback): void; -//# sourceMappingURL=async.d.ts.map \ No newline at end of file +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; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.d.ts.map deleted file mode 100644 index 2a50cf6..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../src/providers/async.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjD,oBAAY,aAAa,GAAG,CAAC,GAAG,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;AAExE,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CA0BpF"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.js b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.js index 6235ea9..983ff0e 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.js +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.js @@ -1,32 +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) { - return callFailureCallback(callback, lstatError); - } - if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) { - return callSuccessCallback(callback, lstat); - } - settings.fs.stat(path, (statError, stat) => { - if (statError !== null) { - if (settings.throwErrorOnBrokenSymbolicLink) { - return callFailureCallback(callback, statError); - } - return callSuccessCallback(callback, lstat); - } - 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); -} +"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); +} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.d.ts deleted file mode 100644 index c3f8248..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=async.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.d.ts.map deleted file mode 100644 index a67f476..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.spec.d.ts","sourceRoot":"","sources":["../../src/providers/async.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.js b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.js deleted file mode 100644 index ead04b5..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/async.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const sinon = require("sinon"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -const settings_1 = require("../settings"); -const provider = require("./async"); -describe('Providers → Async', () => { - describe('.read', () => { - it('should return lstat for non-symlink entry', (done) => { - const lstat = sinon.stub().yields(null, new fs_macchiato_1.Stats()); - const settings = new settings_1.default({ - fs: { lstat } - }); - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 0); - done(); - }); - }); - it('should return lstat for symlink entry when the "followSymbolicLink" option is disabled', (done) => { - const lstat = sinon.stub().yields(null, new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const settings = new settings_1.default({ - followSymbolicLink: false, - fs: { lstat } - }); - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 0); - done(); - }); - }); - it('should return stat for symlink entry', (done) => { - const lstat = sinon.stub().yields(null, new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const stat = sinon.stub().yields(null, new fs_macchiato_1.Stats({ ino: 1 })); - const settings = new settings_1.default({ - fs: { lstat, stat } - }); - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 1); - done(); - }); - }); - it('should return marked stat for symlink entry when the "markSymbolicLink" option is enabled', (done) => { - const lstat = sinon.stub().yields(null, new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const stat = sinon.stub().yields(null, new fs_macchiato_1.Stats({ ino: 1 })); - const settings = new settings_1.default({ - fs: { lstat, stat }, - markSymbolicLink: true - }); - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.isSymbolicLink(), true); - done(); - }); - }); - it('should return lstat for broken symlink entry when the "throwErrorOnBrokenSymbolicLink" option is disabled', (done) => { - const lstat = sinon.stub().yields(null, new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const stat = sinon.stub().yields(new Error()); - const settings = new settings_1.default({ - fs: { lstat, stat }, - throwErrorOnBrokenSymbolicLink: false - }); - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 0); - done(); - }); - }); - it('should throw an error when symlink entry is broken', (done) => { - const lstat = sinon.stub().yields(null, new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const stat = sinon.stub().yields(new Error('broken')); - const settings = new settings_1.default({ - fs: { lstat, stat } - }); - provider.read('filepath', settings, (error) => { - assert.strictEqual(error.message, 'broken'); - done(); - }); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts index f4c1d78..428c3d7 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts @@ -1,4 +1,3 @@ -import Settings from '../settings'; -import { Stats } from '../types'; -export declare function read(path: string, settings: Settings): Stats; -//# sourceMappingURL=sync.d.ts.map \ No newline at end of file +import type Settings from '../settings'; +import type { Stats } from '../types'; +export declare function read(path: string, settings: Settings): Stats; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts.map deleted file mode 100644 index 4f4eb43..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../src/providers/sync.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,KAAK,CAsB5D"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.js b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.js index d478e1f..1521c36 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.js +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.js @@ -1,23 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.d.ts deleted file mode 100644 index 5167ab3..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=sync.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.d.ts.map deleted file mode 100644 index aae9498..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.spec.d.ts","sourceRoot":"","sources":["../../src/providers/sync.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.js b/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.js deleted file mode 100644 index 99e34b9..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/providers/sync.spec.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const sinon = require("sinon"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -const settings_1 = require("../settings"); -const provider = require("./sync"); -describe('Providers → Sync', () => { - describe('.read', () => { - it('should return lstat for non-symlink entry', () => { - const lstatSync = sinon.stub().returns(new fs_macchiato_1.Stats()); - const settings = new settings_1.default({ - fs: { lstatSync } - }); - const actual = provider.read('filepath', settings); - assert.strictEqual(actual.ino, 0); - }); - it('should return lstat for symlink entry when the "followSymbolicLink" option is disabled', () => { - const lstatSync = sinon.stub().returns(new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const settings = new settings_1.default({ - followSymbolicLink: false, - fs: { lstatSync } - }); - const actual = provider.read('filepath', settings); - assert.strictEqual(actual.ino, 0); - }); - it('should return stat for symlink entry', () => { - const lstatSync = sinon.stub().returns(new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().returns(new fs_macchiato_1.Stats({ ino: 1 })); - const settings = new settings_1.default({ - fs: { lstatSync, statSync } - }); - const actual = provider.read('filepath', settings); - assert.strictEqual(actual.ino, 1); - }); - it('should return marked stat for symlink entry when the "markSymbolicLink" option is enabled', () => { - const lstatSync = sinon.stub().returns(new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().returns(new fs_macchiato_1.Stats({ ino: 1 })); - const settings = new settings_1.default({ - markSymbolicLink: true, - fs: { lstatSync, statSync } - }); - const actual = provider.read('filepath', settings); - assert.strictEqual(actual.isSymbolicLink(), true); - }); - it('should return lstat for broken symlink entry when the "throwErrorOnBrokenSymbolicLink" option is disabled', () => { - const lstatSync = sinon.stub().returns(new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().throws(new Error('error')); - const settings = new settings_1.default({ - fs: { lstatSync, statSync }, - throwErrorOnBrokenSymbolicLink: false - }); - const actual = provider.read('filepath', settings); - assert.strictEqual(actual.ino, 0); - }); - it('should throw an error when symlink entry is broken', () => { - const lstatSync = sinon.stub().returns(new fs_macchiato_1.Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().throws(new Error('broken')); - const settings = new settings_1.default({ - fs: { lstatSync, statSync } - }); - const expectedErrorMessageRe = /broken/; - assert.throws(() => provider.read('filepath', settings), expectedErrorMessageRe); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.d.ts index 34c4620..f4b3d44 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.d.ts @@ -1,17 +1,16 @@ -import * as fs from './adapters/fs'; -export declare type Options = { - followSymbolicLink?: boolean; - fs?: Partial; - 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; -} -//# sourceMappingURL=settings.d.ts.map \ No newline at end of file +import * as fs from './adapters/fs'; +export interface Options { + followSymbolicLink?: boolean; + fs?: Partial; + 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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.d.ts.map deleted file mode 100644 index e98652c..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,eAAe,CAAC;AAEpC,oBAAY,OAAO,GAAG;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,8BAA8B,CAAC,EAAE,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,QAAQ;IAMhB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IALrC,SAAgB,kBAAkB,EAAE,OAAO,CAA0D;IACrG,SAAgB,EAAE,EAAE,EAAE,CAAC,iBAAiB,CAAgD;IACxF,SAAgB,gBAAgB,EAAE,OAAO,CAAyD;IAClG,SAAgB,8BAA8B,EAAE,OAAO,CAAsE;gBAEhG,QAAQ,GAAE,OAAY;IAEnD,OAAO,CAAC,SAAS;CAGjB"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.js b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.js index 18fa816..111ec09 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.js +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.js @@ -1,16 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.d.ts deleted file mode 100644 index ff5bc0f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=settings.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.d.ts.map deleted file mode 100644 index b69e1aa..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"settings.spec.d.ts","sourceRoot":"","sources":["../src/settings.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.js b/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.js deleted file mode 100644 index 14489ee..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/settings.spec.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fs_macchiato_1 = require("../../fs.macchiato"); -const fs = require("./adapters/fs"); -const settings_1 = require("./settings"); -describe('Settings', () => { - it('should return instance with default values', () => { - const settings = new settings_1.default(); - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter()); - assert.ok(settings.throwErrorOnBrokenSymbolicLink); - assert.ok(!settings.markSymbolicLink); - assert.ok(settings.followSymbolicLink); - }); - it('should return instance with custom values', () => { - const lstatSync = () => new fs_macchiato_1.Stats(); - const settings = new settings_1.default({ - followSymbolicLink: false, - fs: fs.createFileSystemAdapter({ lstatSync }), - throwErrorOnBrokenSymbolicLink: false - }); - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter({ lstatSync })); - assert.ok(!settings.throwErrorOnBrokenSymbolicLink); - assert.ok(!settings.followSymbolicLink); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.d.ts b/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.d.ts index 227f7bf..74c08ed 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.d.ts @@ -1,5 +1,4 @@ -/// -import * as fs from 'fs'; -export declare type Stats = fs.Stats; -export declare type ErrnoException = NodeJS.ErrnoException; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file +/// +import type * as fs from 'fs'; +export declare type Stats = fs.Stats; +export declare type ErrnoException = NodeJS.ErrnoException; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.d.ts.map deleted file mode 100644 index 9c0ca10..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AAEzB,oBAAY,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC;AAC7B,oBAAY,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.js b/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.js index ce03781..c8ad2e5 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.js +++ b/pak-builder/node_modules/@nodelib/fs.stat/out/types/index.js @@ -1,2 +1,2 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/package.json b/pak-builder/node_modules/@nodelib/fs.stat/package.json index 7fef92e..f2540c2 100644 --- a/pak-builder/node_modules/@nodelib/fs.stat/package.json +++ b/pak-builder/node_modules/@nodelib/fs.stat/package.json @@ -1,6 +1,6 @@ { "name": "@nodelib/fs.stat", - "version": "2.0.4", + "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", @@ -14,6 +14,11 @@ "engines": { "node": ">= 8" }, + "files": [ + "out/**", + "!out/**/*.map", + "!out/**/*.spec.*" + ], "main": "out/index.js", "typings": "out/index.d.ts", "scripts": { @@ -25,5 +30,8 @@ "build": "npm run clean && npm run compile && npm run lint && npm test", "watch": "npm run clean && npm run compile:watch" }, - "gitHead": "cb5f7e893a986164c3b847a4f1faef6c54cadd68" + "devDependencies": { + "@nodelib/fs.macchiato": "1.0.4" + }, + "gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562" } diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/adapters/fs.spec.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/adapters/fs.spec.ts deleted file mode 100644 index e274bc0..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/adapters/fs.spec.ts +++ /dev/null @@ -1,31 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; - -import { Stats } from '../../../fs.macchiato'; - -import * as adapter from './fs'; - -describe('Adapters → FileSystem', () => { - it('should return original FS methods', () => { - const expected: adapter.FileSystemAdapter = adapter.FILE_SYSTEM_ADAPTER; - - const actual = adapter.createFileSystemAdapter(); - - assert.deepStrictEqual(actual, expected); - }); - - it('should return custom FS methods', () => { - const customLstatSyncMethod: typeof fs.lstatSync = () => new Stats(); - - const expected: adapter.FileSystemAdapter = { - ...adapter.FILE_SYSTEM_ADAPTER, - lstatSync: customLstatSyncMethod - }; - - const actual = adapter.createFileSystemAdapter({ - lstatSync: customLstatSyncMethod - }); - - assert.deepStrictEqual(actual, expected); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/adapters/fs.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/adapters/fs.ts deleted file mode 100644 index 7f31cbb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/adapters/fs.ts +++ /dev/null @@ -1,26 +0,0 @@ -import * as fs from 'fs'; - -export type FileSystemAdapter = { - lstat: typeof fs.lstat; - stat: typeof fs.stat; - lstatSync: typeof fs.lstatSync; - statSync: typeof fs.statSync; -}; - -export const FILE_SYSTEM_ADAPTER: FileSystemAdapter = { - lstat: fs.lstat, - stat: fs.stat, - lstatSync: fs.lstatSync, - statSync: fs.statSync -}; - -export function createFileSystemAdapter(fsMethods?: Partial): FileSystemAdapter { - if (fsMethods === undefined) { - return FILE_SYSTEM_ADAPTER; - } - - return { - ...FILE_SYSTEM_ADAPTER, - ...fsMethods - }; -} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/index.spec.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/index.spec.ts deleted file mode 100644 index 7affed9..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/index.spec.ts +++ /dev/null @@ -1,70 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; - -import * as rimraf from 'rimraf'; - -import { stat, statSync, Settings } from '.'; - -describe('Package', () => { - before(() => { - rimraf.sync('fixtures'); - - fs.mkdirSync('fixtures'); - fs.mkdirSync('fixtures/a'); - fs.symlinkSync('a', 'fixtures/b', 'junction'); - }); - - after(() => { - rimraf.sync('fixtures'); - }); - - describe('.stat', () => { - it('should work without options or settings', (done) => { - stat('fixtures/b', (error, stats) => { - assert.strictEqual(error, null); - assert.ok(stats); - done(); - }); - }); - - it('should work with options', (done) => { - stat('fixtures/b', { markSymbolicLink: true }, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.isSymbolicLink(), true); - done(); - }); - }); - - it('should work with settings', (done) => { - const settings = new Settings({ markSymbolicLink: true }); - - stat('fixtures/b', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.isSymbolicLink(), true); - done(); - }); - }); - }); - - describe('.statSync', () => { - it('should work without options or settings', () => { - const actual = statSync('fixtures/b'); - - assert.ok(actual); - }); - - it('should work with options', () => { - const actual = statSync('fixtures/b', { markSymbolicLink: true }); - - assert.strictEqual(actual.isSymbolicLink(), true); - }); - - it('should work with settings', () => { - const settings = new Settings({ markSymbolicLink: true }); - - const actual = statSync('fixtures/b', settings); - - assert.strictEqual(actual.isSymbolicLink(), true); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/index.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/index.ts deleted file mode 100644 index 992f721..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/index.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { FileSystemAdapter } from './adapters/fs'; -import * as async from './providers/async'; -import * as sync from './providers/sync'; -import Settings, { Options } from './settings'; -import { Stats } from './types'; - -type AsyncCallback = async.AsyncCallback; - -function stat(path: string, callback: AsyncCallback): void; -function stat(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void; -function stat(path: string, optionsOrSettingsOrCallback: Options | Settings | AsyncCallback, callback?: AsyncCallback): void { - if (typeof optionsOrSettingsOrCallback === 'function') { - return async.read(path, getSettings(), optionsOrSettingsOrCallback); - } - - async.read(path, getSettings(optionsOrSettingsOrCallback), callback as AsyncCallback); -} - -// https://github.com/typescript-eslint/typescript-eslint/issues/60 -// eslint-disable-next-line no-redeclare -declare namespace stat { - function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise; -} - -function statSync(path: string, optionsOrSettings?: Options | Settings): Stats { - const settings = getSettings(optionsOrSettings); - - return sync.read(path, settings); -} - -function getSettings(settingsOrOptions: Settings | Options = {}): Settings { - if (settingsOrOptions instanceof Settings) { - return settingsOrOptions; - } - - return new Settings(settingsOrOptions); -} - -export { - Settings, - stat, - statSync, - - // https://github.com/typescript-eslint/typescript-eslint/issues/131 - // eslint-disable-next-line no-undef - AsyncCallback, - FileSystemAdapter, - Options, - Stats -}; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/async.spec.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/providers/async.spec.ts deleted file mode 100644 index 19ecf31..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/async.spec.ts +++ /dev/null @@ -1,102 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; - -import * as sinon from 'sinon'; - -import { Stats } from '../../../fs.macchiato'; -import Settings from '../settings'; -import * as provider from './async'; - -describe('Providers → Async', () => { - describe('.read', () => { - it('should return lstat for non-symlink entry', (done) => { - const lstat = sinon.stub().yields(null, new Stats()) as unknown as typeof fs.lstat; - - const settings = new Settings({ - fs: { lstat } - }); - - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 0); - done(); - }); - }); - - it('should return lstat for symlink entry when the "followSymbolicLink" option is disabled', (done) => { - const lstat = sinon.stub().yields(null, new Stats({ isSymbolicLink: true })) as unknown as typeof fs.lstat; - - const settings = new Settings({ - followSymbolicLink: false, - fs: { lstat } - }); - - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 0); - done(); - }); - }); - - it('should return stat for symlink entry', (done) => { - const lstat = sinon.stub().yields(null, new Stats({ isSymbolicLink: true })) as unknown as typeof fs.lstat; - const stat = sinon.stub().yields(null, new Stats({ ino: 1 })) as unknown as typeof fs.stat; - - const settings = new Settings({ - fs: { lstat, stat } - }); - - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 1); - done(); - }); - }); - - it('should return marked stat for symlink entry when the "markSymbolicLink" option is enabled', (done) => { - const lstat = sinon.stub().yields(null, new Stats({ isSymbolicLink: true })) as unknown as typeof fs.lstat; - const stat = sinon.stub().yields(null, new Stats({ ino: 1 })) as unknown as typeof fs.stat; - - const settings = new Settings({ - fs: { lstat, stat }, - markSymbolicLink: true - }); - - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.isSymbolicLink(), true); - done(); - }); - }); - - it('should return lstat for broken symlink entry when the "throwErrorOnBrokenSymbolicLink" option is disabled', (done) => { - const lstat = sinon.stub().yields(null, new Stats({ isSymbolicLink: true })) as unknown as typeof fs.lstat; - const stat = sinon.stub().yields(new Error()) as unknown as typeof fs.stat; - - const settings = new Settings({ - fs: { lstat, stat }, - throwErrorOnBrokenSymbolicLink: false - }); - - provider.read('filepath', settings, (error, stats) => { - assert.strictEqual(error, null); - assert.strictEqual(stats.ino, 0); - done(); - }); - }); - - it('should throw an error when symlink entry is broken', (done) => { - const lstat = sinon.stub().yields(null, new Stats({ isSymbolicLink: true })) as unknown as typeof fs.lstat; - const stat = sinon.stub().yields(new Error('broken')) as unknown as typeof fs.stat; - - const settings = new Settings({ - fs: { lstat, stat } - }); - - provider.read('filepath', settings, (error) => { - assert.strictEqual(error.message, 'broken'); - done(); - }); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/async.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/providers/async.ts deleted file mode 100644 index 1ec6c28..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/async.ts +++ /dev/null @@ -1,43 +0,0 @@ -import Settings from '../settings'; -import { ErrnoException, Stats } from '../types'; - -type FailureCallback = (err: ErrnoException) => void; -type SuccessCallback = (err: null, stats: Stats) => void; - -export type AsyncCallback = (err: ErrnoException, stats: Stats) => void; - -export function read(path: string, settings: Settings, callback: AsyncCallback): void { - settings.fs.lstat(path, (lstatError, lstat) => { - if (lstatError !== null) { - return callFailureCallback(callback, lstatError); - } - - if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) { - return callSuccessCallback(callback, lstat); - } - - settings.fs.stat(path, (statError, stat) => { - if (statError !== null) { - if (settings.throwErrorOnBrokenSymbolicLink) { - return callFailureCallback(callback, statError); - } - - return callSuccessCallback(callback, lstat); - } - - if (settings.markSymbolicLink) { - stat.isSymbolicLink = () => true; - } - - callSuccessCallback(callback, stat); - }); - }); -} - -function callFailureCallback(callback: AsyncCallback, error: ErrnoException): void { - (callback as FailureCallback)(error); -} - -function callSuccessCallback(callback: AsyncCallback, result: Stats): void { - (callback as unknown as SuccessCallback)(null, result); -} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/sync.spec.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/providers/sync.spec.ts deleted file mode 100644 index f027cda..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/sync.spec.ts +++ /dev/null @@ -1,90 +0,0 @@ -import * as assert from 'assert'; - -import * as sinon from 'sinon'; - -import { Stats } from '../../../fs.macchiato'; -import Settings from '../settings'; -import * as provider from './sync'; - -describe('Providers → Sync', () => { - describe('.read', () => { - it('should return lstat for non-symlink entry', () => { - const lstatSync = sinon.stub().returns(new Stats()); - - const settings = new Settings({ - fs: { lstatSync } - }); - - const actual = provider.read('filepath', settings); - - assert.strictEqual(actual.ino, 0); - }); - - it('should return lstat for symlink entry when the "followSymbolicLink" option is disabled', () => { - const lstatSync = sinon.stub().returns(new Stats({ isSymbolicLink: true })); - - const settings = new Settings({ - followSymbolicLink: false, - fs: { lstatSync } - }); - - const actual = provider.read('filepath', settings); - - assert.strictEqual(actual.ino, 0); - }); - - it('should return stat for symlink entry', () => { - const lstatSync = sinon.stub().returns(new Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().returns(new Stats({ ino: 1 })); - - const settings = new Settings({ - fs: { lstatSync, statSync } - }); - - const actual = provider.read('filepath', settings); - - assert.strictEqual(actual.ino, 1); - }); - - it('should return marked stat for symlink entry when the "markSymbolicLink" option is enabled', () => { - const lstatSync = sinon.stub().returns(new Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().returns(new Stats({ ino: 1 })); - - const settings = new Settings({ - markSymbolicLink: true, - fs: { lstatSync, statSync } - }); - - const actual = provider.read('filepath', settings); - - assert.strictEqual(actual.isSymbolicLink(), true); - }); - - it('should return lstat for broken symlink entry when the "throwErrorOnBrokenSymbolicLink" option is disabled', () => { - const lstatSync = sinon.stub().returns(new Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().throws(new Error('error')); - - const settings = new Settings({ - fs: { lstatSync, statSync }, - throwErrorOnBrokenSymbolicLink: false - }); - - const actual = provider.read('filepath', settings); - - assert.strictEqual(actual.ino, 0); - }); - - it('should throw an error when symlink entry is broken', () => { - const lstatSync = sinon.stub().returns(new Stats({ isSymbolicLink: true })); - const statSync = sinon.stub().throws(new Error('broken')); - - const settings = new Settings({ - fs: { lstatSync, statSync } - }); - - const expectedErrorMessageRe = /broken/; - - assert.throws(() => provider.read('filepath', settings), expectedErrorMessageRe); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/sync.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/providers/sync.ts deleted file mode 100644 index a1a36ce..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/providers/sync.ts +++ /dev/null @@ -1,26 +0,0 @@ -import Settings from '../settings'; -import { Stats } from '../types'; - -export function read(path: string, settings: Settings): Stats { - 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; - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/settings.spec.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/settings.spec.ts deleted file mode 100644 index d8d33b8..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/settings.spec.ts +++ /dev/null @@ -1,31 +0,0 @@ -import * as assert from 'assert'; - -import { Stats } from '../../fs.macchiato'; - -import * as fs from './adapters/fs'; -import Settings from './settings'; - -describe('Settings', () => { - it('should return instance with default values', () => { - const settings = new Settings(); - - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter()); - assert.ok(settings.throwErrorOnBrokenSymbolicLink); - assert.ok(!settings.markSymbolicLink); - assert.ok(settings.followSymbolicLink); - }); - - it('should return instance with custom values', () => { - const lstatSync = (): Stats => new Stats(); - - const settings = new Settings({ - followSymbolicLink: false, - fs: fs.createFileSystemAdapter({ lstatSync }), - throwErrorOnBrokenSymbolicLink: false - }); - - assert.deepStrictEqual(settings.fs, fs.createFileSystemAdapter({ lstatSync })); - assert.ok(!settings.throwErrorOnBrokenSymbolicLink); - assert.ok(!settings.followSymbolicLink); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/settings.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/settings.ts deleted file mode 100644 index e9d8a70..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/settings.ts +++ /dev/null @@ -1,21 +0,0 @@ -import * as fs from './adapters/fs'; - -export type Options = { - followSymbolicLink?: boolean; - fs?: Partial; - markSymbolicLink?: boolean; - throwErrorOnBrokenSymbolicLink?: boolean; -}; - -export default class Settings { - public readonly followSymbolicLink: boolean = this._getValue(this._options.followSymbolicLink, true); - public readonly fs: fs.FileSystemAdapter = fs.createFileSystemAdapter(this._options.fs); - public readonly markSymbolicLink: boolean = this._getValue(this._options.markSymbolicLink, false); - public readonly throwErrorOnBrokenSymbolicLink: boolean = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true); - - constructor(private readonly _options: Options = {}) { } - - private _getValue(option: T | undefined, value: T): T { - return option ?? value; - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/src/types/index.ts b/pak-builder/node_modules/@nodelib/fs.stat/src/types/index.ts deleted file mode 100644 index f12709a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/src/types/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as fs from 'fs'; - -export type Stats = fs.Stats; -export type ErrnoException = NodeJS.ErrnoException; diff --git a/pak-builder/node_modules/@nodelib/fs.stat/tsconfig.json b/pak-builder/node_modules/@nodelib/fs.stat/tsconfig.json deleted file mode 100644 index 7a98c7b..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "rootDir": "src", - "outDir": "out" - }, - "references": [ - { - "path": "../fs.macchiato" - } - ] -} diff --git a/pak-builder/node_modules/@nodelib/fs.stat/tsconfig.tsbuildinfo b/pak-builder/node_modules/@nodelib/fs.stat/tsconfig.tsbuildinfo deleted file mode 100644 index 04bbd19..0000000 --- a/pak-builder/node_modules/@nodelib/fs.stat/tsconfig.tsbuildinfo +++ /dev/null @@ -1,1570 +0,0 @@ -{ - "program": { - "fileInfos": { - "../../../node_modules/typescript/lib/lib.es5.d.ts": { - "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", - "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.d.ts": { - "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", - "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2016.d.ts": { - "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", - "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2017.d.ts": { - "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", - "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2018.d.ts": { - "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", - "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.dom.d.ts": { - "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", - "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { - "version": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", - "signature": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { - "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", - "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { - "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", - "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { - "version": "63e0cc12d0f77394094bd19e84464f9840af0071e5b9358ced30511efef1d8d2", - "signature": "63e0cc12d0f77394094bd19e84464f9840af0071e5b9358ced30511efef1d8d2", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { - "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", - "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { - "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", - "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { - "version": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", - "signature": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { - "version": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", - "signature": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { - "version": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", - "signature": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { - "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", - "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { - "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", - "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { - "version": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", - "signature": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { - "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", - "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { - "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", - "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { - "version": "d0db416bccdb33975548baf09a42ee8c47eace1aac7907351a000f1e568e7232", - "signature": "d0db416bccdb33975548baf09a42ee8c47eace1aac7907351a000f1e568e7232", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { - "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", - "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { - "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", - "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { - "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", - "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { - "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", - "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { - "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", - "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { - "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", - "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { - "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", - "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { - "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", - "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { - "version": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", - "signature": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { - "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", - "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.full.d.ts": { - "version": "d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed", - "signature": "d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/globals.d.ts": { - "version": "74d61a149bea97a20b324410e4520796ffc36dcf35b54f03cfd0cfe922bb61cc", - "signature": "74d61a149bea97a20b324410e4520796ffc36dcf35b54f03cfd0cfe922bb61cc", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/async_hooks.d.ts": { - "version": "950e73fe3bcda768b5f593cec3f7137bb7cab709a82be89dd08c2a20568a28e2", - "signature": "950e73fe3bcda768b5f593cec3f7137bb7cab709a82be89dd08c2a20568a28e2", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/buffer.d.ts": { - "version": "61215c1a376bbe8f51cab4cc4ddbf3746387015113c37a84d981d4738c21b878", - "signature": "61215c1a376bbe8f51cab4cc4ddbf3746387015113c37a84d981d4738c21b878", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/child_process.d.ts": { - "version": "5eca801fb67009c5728b88793670f0137b5e31a8f7d1576d5110a1276feaba8c", - "signature": "5eca801fb67009c5728b88793670f0137b5e31a8f7d1576d5110a1276feaba8c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/cluster.d.ts": { - "version": "ce629710e5e58724902b753212e97861fd73e2aa09f5d88cb6d55dc763cf8c8a", - "signature": "ce629710e5e58724902b753212e97861fd73e2aa09f5d88cb6d55dc763cf8c8a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/console.d.ts": { - "version": "525c8fc510d9632d2a0a9de2d41c3ac1cdd79ff44d3b45c6d81cacabb683528d", - "signature": "525c8fc510d9632d2a0a9de2d41c3ac1cdd79ff44d3b45c6d81cacabb683528d", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/constants.d.ts": { - "version": "0279383034fae92db8097d0a41350293553599cc9c3c917b60e2542d0dfcbd44", - "signature": "0279383034fae92db8097d0a41350293553599cc9c3c917b60e2542d0dfcbd44", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/crypto.d.ts": { - "version": "9b9f8b151698fb1798f04b8375e240c764f094e730192e6a5353abdb1c709d6f", - "signature": "9b9f8b151698fb1798f04b8375e240c764f094e730192e6a5353abdb1c709d6f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/dgram.d.ts": { - "version": "37c4598a5f2025c97492e18bed8909ccd10bf26bb5f54d5f6009f9153291af91", - "signature": "37c4598a5f2025c97492e18bed8909ccd10bf26bb5f54d5f6009f9153291af91", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/dns.d.ts": { - "version": "ef226a42de7022eacdfa0f15aabf73b46c47af93044c8ebfab8aa8e3cf6c330c", - "signature": "ef226a42de7022eacdfa0f15aabf73b46c47af93044c8ebfab8aa8e3cf6c330c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/domain.d.ts": { - "version": "d5b7c8819ce1bd31a45f7675309e145ec28e3aa1b60a8e0637fd0e8916255baa", - "signature": "d5b7c8819ce1bd31a45f7675309e145ec28e3aa1b60a8e0637fd0e8916255baa", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/events.d.ts": { - "version": "76048f3c7325a6c1fa6306d40eb0c8570fa0209d09472d46f9b1221f66edae6f", - "signature": "76048f3c7325a6c1fa6306d40eb0c8570fa0209d09472d46f9b1221f66edae6f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/fs.d.ts": { - "version": "03be37150cc8fe48fd243169653f15149e0ed4a34eea0cae027b708d39eb01f8", - "signature": "03be37150cc8fe48fd243169653f15149e0ed4a34eea0cae027b708d39eb01f8", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/http.d.ts": { - "version": "f50ba0d2d8f891fa11326db36e6c25fe14bce747cf2bd9b554de3bb2a814f49c", - "signature": "f50ba0d2d8f891fa11326db36e6c25fe14bce747cf2bd9b554de3bb2a814f49c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/http2.d.ts": { - "version": "48b53111cc4ce136803fbf857cd8de2d5df33895b1af714a87caf87562182e46", - "signature": "48b53111cc4ce136803fbf857cd8de2d5df33895b1af714a87caf87562182e46", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/https.d.ts": { - "version": "dacbe08610729f6343ea9880ea8e737c6d7a6efa4a318d8f6acaf85db4aceed6", - "signature": "dacbe08610729f6343ea9880ea8e737c6d7a6efa4a318d8f6acaf85db4aceed6", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/inspector.d.ts": { - "version": "4218ced3933a31eed1278d350dd63c5900df0f0904f57d61c054d7a4b83dbe4c", - "signature": "4218ced3933a31eed1278d350dd63c5900df0f0904f57d61c054d7a4b83dbe4c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/module.d.ts": { - "version": "03394bf8deb8781b490ae9266a843fbdf00647947d79e25fcbf1d89a9e9c8a66", - "signature": "03394bf8deb8781b490ae9266a843fbdf00647947d79e25fcbf1d89a9e9c8a66", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/net.d.ts": { - "version": "358398fe4034395d85c87c319cca7a04001434b13dc68d067481ecb374385bfc", - "signature": "358398fe4034395d85c87c319cca7a04001434b13dc68d067481ecb374385bfc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/os.d.ts": { - "version": "d9bc6f1917c24d862a68d2633e4a32fd586bfe3e412e5d11fd07d8266b94ced5", - "signature": "d9bc6f1917c24d862a68d2633e4a32fd586bfe3e412e5d11fd07d8266b94ced5", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/path.d.ts": { - "version": "5fb30076f0e0e5744db8993648bfb67aadd895f439edad5cce039127a87a8a36", - "signature": "5fb30076f0e0e5744db8993648bfb67aadd895f439edad5cce039127a87a8a36", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/perf_hooks.d.ts": { - "version": "93a8a589862b5ac8fd8bb46426f7b081ba825a5171337dd45de9bf141624d55e", - "signature": "93a8a589862b5ac8fd8bb46426f7b081ba825a5171337dd45de9bf141624d55e", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/process.d.ts": { - "version": "0e0d58f5e90c0a270dac052b9c5ad8ccdfc8271118c2105b361063218d528d6e", - "signature": "0e0d58f5e90c0a270dac052b9c5ad8ccdfc8271118c2105b361063218d528d6e", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/punycode.d.ts": { - "version": "3f6a1fd73c9dc3bd7f4b79bc075297ca6527904df69b0f2c2c94e4c4c7d9a32c", - "signature": "3f6a1fd73c9dc3bd7f4b79bc075297ca6527904df69b0f2c2c94e4c4c7d9a32c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/querystring.d.ts": { - "version": "758948c06a0d02623c7d4ed357ffa79bdc170de6e004046678774a1bfa9a29bb", - "signature": "758948c06a0d02623c7d4ed357ffa79bdc170de6e004046678774a1bfa9a29bb", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/readline.d.ts": { - "version": "2ca26a43dec700c4b0bdc04b123094f4becffda70e3960f3e10b025f7a15ba8f", - "signature": "2ca26a43dec700c4b0bdc04b123094f4becffda70e3960f3e10b025f7a15ba8f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/repl.d.ts": { - "version": "27c3f3f672a6ce267f7cc34643231032016fa4b6d195c0725db570de0a7a9f91", - "signature": "27c3f3f672a6ce267f7cc34643231032016fa4b6d195c0725db570de0a7a9f91", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/stream.d.ts": { - "version": "9c581919a8c483f5080487ae8ec1dd398d94027aedf8e77436085e7fab23951a", - "signature": "9c581919a8c483f5080487ae8ec1dd398d94027aedf8e77436085e7fab23951a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/string_decoder.d.ts": { - "version": "7e62aac2cc9c0710d772047ad89e8d7117f52592c791eb995ce1f865fedab432", - "signature": "7e62aac2cc9c0710d772047ad89e8d7117f52592c791eb995ce1f865fedab432", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/timers.d.ts": { - "version": "b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9", - "signature": "b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/tls.d.ts": { - "version": "48064f81a8354d04808e7b5bddf570aaf19f894cf1d8a2aa1f56c81decd33508", - "signature": "48064f81a8354d04808e7b5bddf570aaf19f894cf1d8a2aa1f56c81decd33508", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/trace_events.d.ts": { - "version": "a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638", - "signature": "a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/tty.d.ts": { - "version": "3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748", - "signature": "3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/url.d.ts": { - "version": "834545a7726e414890371aec1a89b7915963e08e790e093259e8bed429ef15c6", - "signature": "834545a7726e414890371aec1a89b7915963e08e790e093259e8bed429ef15c6", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/util.d.ts": { - "version": "b248fb69886bce18cf6650491f43f0326ed6d59c8fdf7fd63dbd35bf4ef3e2bc", - "signature": "b248fb69886bce18cf6650491f43f0326ed6d59c8fdf7fd63dbd35bf4ef3e2bc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/v8.d.ts": { - "version": "4407bd5f1d6f748590ba125195eb1d7a003c2de2f3b057456d3ac76a742d2561", - "signature": "4407bd5f1d6f748590ba125195eb1d7a003c2de2f3b057456d3ac76a742d2561", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/vm.d.ts": { - "version": "2b57b7d7191c6e2efc2ed4f87cf1e25c383278ac5d019670406508df42dc34f3", - "signature": "2b57b7d7191c6e2efc2ed4f87cf1e25c383278ac5d019670406508df42dc34f3", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/worker_threads.d.ts": { - "version": "46f0413ecc0d83b047d46dbe03a37c7c760f59f0bb9a8633150e2d9335870675", - "signature": "46f0413ecc0d83b047d46dbe03a37c7c760f59f0bb9a8633150e2d9335870675", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/zlib.d.ts": { - "version": "2ea98f43cfae8dfbefc45d8bd1ec4907bbad33d18203ea8ef8b50d36b97afa35", - "signature": "2ea98f43cfae8dfbefc45d8bd1ec4907bbad33d18203ea8ef8b50d36b97afa35", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/ts3.3/base.d.ts": { - "version": "067b1964df87a4fc98ebffbd2bada6d7ed14a5b032f9071ea39478d82e701a99", - "signature": "067b1964df87a4fc98ebffbd2bada6d7ed14a5b032f9071ea39478d82e701a99", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/globals.global.d.ts": { - "version": "2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1", - "signature": "2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/wasi.d.ts": { - "version": "14a6a3cee450438254c004a6b4f1191ec9977186bdeda07764f2a8d90ef71117", - "signature": "14a6a3cee450438254c004a6b4f1191ec9977186bdeda07764f2a8d90ef71117", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/ts3.6/base.d.ts": { - "version": "d170ea32762c00c660740f2cc0ca9526290ab9d9fb9c72282c1fa53cd1a7728e", - "signature": "d170ea32762c00c660740f2cc0ca9526290ab9d9fb9c72282c1fa53cd1a7728e", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/assert.d.ts": { - "version": "54b2276780dc8d538a71b954b87ea081a1e9f90e7f1195f2daf2bddde0bf52df", - "signature": "54b2276780dc8d538a71b954b87ea081a1e9f90e7f1195f2daf2bddde0bf52df", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/base.d.ts": { - "version": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", - "signature": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/index.d.ts": { - "version": "6fa68653382bd571bc63831e9f9c1307cc52f7310c1470463fe429d84147667d", - "signature": "6fa68653382bd571bc63831e9f9c1307cc52f7310c1470463fe429d84147667d", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/minimatch/index.d.ts": { - "version": "1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633", - "signature": "1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/glob/index.d.ts": { - "version": "393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0", - "signature": "393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/rimraf/index.d.ts": { - "version": "6462324ef579c47415610a63f1aa8b72f5b5114f8fe8307967f9add2bca634f5", - "signature": "6462324ef579c47415610a63f1aa8b72f5b5114f8fe8307967f9add2bca634f5", - "affectsGlobalScope": false - }, - "./src/adapters/fs.ts": { - "version": "fbff8c8901179945f364b5feeba4357dfae786b6e005ff4f0edd6784067bb2e6", - "signature": "ceebf93146ac7b3f85276a2501de57c5cf5bb19742944c958bd831f995b41409", - "affectsGlobalScope": false - }, - "./src/settings.ts": { - "version": "26286034a5898f7d69d87a8b3301ea15e18b23f9d8ee585bae78e8662cd7913e", - "signature": "30c47bd1f03a220a10e8c11708a2c73c04135999ca1a35271605f9683d36b432", - "affectsGlobalScope": false - }, - "./src/types/index.ts": { - "version": "78d675089b599dbe851a60f0a835c14787df11e086c11d6918e5f67db765f37f", - "signature": "8b9fa6dfb2bec7abe9937fe049505d896550b2ad600cb7114b6fe2813b5cf180", - "affectsGlobalScope": false - }, - "./src/providers/async.ts": { - "version": "96c019f1577a7d6435428c45190716b4f07be9f595166e4c7f503a1f6a9f8fe2", - "signature": "c692034610ac35559227657172f6f76581ee7b16c319c7d5973e19b650f11b9f", - "affectsGlobalScope": false - }, - "./src/providers/sync.ts": { - "version": "1fe18b4ba59ebbd46366867349dbc8dc9cc247ee921ce7ca476b7599321fd44e", - "signature": "59a8d722db79a6f25de70007977f2ab2cbc2c2ff6c1ad35a7d3479d6277233e2", - "affectsGlobalScope": false - }, - "./src/index.ts": { - "version": "2f0e89d618d76eb0b7bba6630b1c2698fdf173fbfd51f0934b6a4c0a1596ee4f", - "signature": "079488cc4bf1eef64297994ef8719c078a86380610beea1d1a920c9436997967", - "affectsGlobalScope": false - }, - "./src/index.spec.ts": { - "version": "ebbe92f1114d1b516b2be588b4a754ee03f8ea1fc5c697572add78a057123548", - "signature": "a900cdf2c35bba00b0363cc950bbf88b887976e70a9eae929dad35ef964109d9", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/types.d.ts": { - "version": "47b605d1e61f92f418c7879051e5458f8ec00aeacac419a37754066fec42b9ba", - "signature": "47b605d1e61f92f418c7879051e5458f8ec00aeacac419a37754066fec42b9ba", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/dirent.d.ts": { - "version": "98387ef539ccca1023a5934f6ea2dd87ee8a6c87db31ec7986b9da016c66fc16", - "signature": "98387ef539ccca1023a5934f6ea2dd87ee8a6c87db31ec7986b9da016c66fc16", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/stats.d.ts": { - "version": "7c70ba0c69002f78ddac880f0096de5b0e78248cf680c1fe1a89439dbf069c5d", - "signature": "7c70ba0c69002f78ddac880f0096de5b0e78248cf680c1fe1a89439dbf069c5d", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/index.d.ts": { - "version": "e00937f585b9c2f95d9d4e00b4e76427eb9516c70a4470d805451ba2ea00044e", - "signature": "e00937f585b9c2f95d9d4e00b4e76427eb9516c70a4470d805451ba2ea00044e", - "affectsGlobalScope": false - }, - "./src/settings.spec.ts": { - "version": "202fc385a602cd5ca176ade46ee0ae0020e5dcfbf12f12e9fc1e57f86ebc9e2b", - "signature": "714d2bb322e0442caf181768f049abd17a96d328d87169c2e6c13a86839c4463", - "affectsGlobalScope": false - }, - "./src/adapters/fs.spec.ts": { - "version": "c2643809431e7e7efde3d5788a889e0368005436bdb7f35925ef4e8ab758d99e", - "signature": "bd7314ded2b0851e1bb0834dc068cb4d18cdbecc9e965e8a0f4952ac3ee4610c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/sinon/ts3.1/index.d.ts": { - "version": "168435ab3390620aebf1aa0001b380983582d0849755eeb17f2c501d1fc57587", - "signature": "168435ab3390620aebf1aa0001b380983582d0849755eeb17f2c501d1fc57587", - "affectsGlobalScope": false - }, - "./src/providers/async.spec.ts": { - "version": "b39f1ed99d2e69f3d7d4f9f99cd931a080a02bb0071004b8082414f5e44bebea", - "signature": "6ff501c2b9280fbf7322044c48dff6eea6849df3b6ab6844facd9d789988a2c9", - "affectsGlobalScope": false - }, - "./src/providers/sync.spec.ts": { - "version": "ced98c0745c28af2360f4ecc3ea973384b369cc78d9e84f27603e162eef8b40d", - "signature": "be22d8b5a836edfac7c9c5ef03e98058ec89f0b98edef8e54ea410187b0bda28", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/eslint-visitor-keys/index.d.ts": { - "version": "725d9be2fd48440256f4deb00649adffdbc5ecd282b09e89d4e200663792c34c", - "signature": "725d9be2fd48440256f4deb00649adffdbc5ecd282b09e89d4e200663792c34c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/fs-extra/index.d.ts": { - "version": "aca36e2d27783f4bad7fc1786a532ff76024f0fc8575df48bcd9a5eb452fe7e7", - "signature": "aca36e2d27783f4bad7fc1786a532ff76024f0fc8575df48bcd9a5eb452fe7e7", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/highlight.js/index.d.ts": { - "version": "21a2fa3722dc0baba2649e040c3121eb38ce84f5afe35ff1c20276132eaa2f2c", - "signature": "21a2fa3722dc0baba2649e040c3121eb38ce84f5afe35ff1c20276132eaa2f2c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/json-schema/index.d.ts": { - "version": "b2be568d8ce95fcb26eebd04c035d94825655fdf689bf67d799f5ff8cbbb1024", - "signature": "b2be568d8ce95fcb26eebd04c035d94825655fdf689bf67d799f5ff8cbbb1024", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/common.d.ts": { - "version": "3594c022901a1c8993b0f78a3f534cfb81e7b619ed215348f7f6882f3db02abc", - "signature": "3594c022901a1c8993b0f78a3f534cfb81e7b619ed215348f7f6882f3db02abc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/array.d.ts": { - "version": "d03a1ae3d39f757c9f22e4e775b940a98d86bb50ec85529b59e32a17b65c2b90", - "signature": "d03a1ae3d39f757c9f22e4e775b940a98d86bb50ec85529b59e32a17b65c2b90", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/collection.d.ts": { - "version": "0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8", - "signature": "0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/date.d.ts": { - "version": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", - "signature": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/function.d.ts": { - "version": "c9f396e71966bd3a890d8a36a6a497dbf260e9b868158ea7824d4b5421210afe", - "signature": "c9f396e71966bd3a890d8a36a6a497dbf260e9b868158ea7824d4b5421210afe", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/lang.d.ts": { - "version": "509235563ea2b939e1bbe92aae17e71e6a82ceab8f568b45fb4fce7d72523a32", - "signature": "509235563ea2b939e1bbe92aae17e71e6a82ceab8f568b45fb4fce7d72523a32", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/math.d.ts": { - "version": "9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb", - "signature": "9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/number.d.ts": { - "version": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", - "signature": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/object.d.ts": { - "version": "c311349ec71bb69399ffc4092853e7d8a86c1ca39ddb4cd129e775c19d985793", - "signature": "c311349ec71bb69399ffc4092853e7d8a86c1ca39ddb4cd129e775c19d985793", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/seq.d.ts": { - "version": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", - "signature": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/string.d.ts": { - "version": "4908e4c00832b26ce77a629de8501b0e23a903c094f9e79a7fec313a15da796a", - "signature": "4908e4c00832b26ce77a629de8501b0e23a903c094f9e79a7fec313a15da796a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/util.d.ts": { - "version": "2630a7cbb597e85d713b7ef47f2946d4280d3d4c02733282770741d40672b1a5", - "signature": "2630a7cbb597e85d713b7ef47f2946d4280d3d4c02733282770741d40672b1a5", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/index.d.ts": { - "version": "0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8", - "signature": "0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/marked/index.d.ts": { - "version": "c08a5e873738f5576ae1ca5810b5ebc30509f05bde56c3a3bbdd75d6c0806e6a", - "signature": "c08a5e873738f5576ae1ca5810b5ebc30509f05bde56c3a3bbdd75d6c0806e6a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/minimist/index.d.ts": { - "version": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88", - "signature": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/mocha/index.d.ts": { - "version": "c4c03cf65951d980ba618ae9601d10438730803fc9c8a1f7b34af8739981e205", - "signature": "c4c03cf65951d980ba618ae9601d10438730803fc9c8a1f7b34af8739981e205", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/normalize-package-data/index.d.ts": { - "version": "c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613", - "signature": "c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/run-parallel/index.d.ts": { - "version": "eefea34ce2cdb15ab6678c8c7911c27b2c3da267d7922f192f3d2eb0bf621821", - "signature": "eefea34ce2cdb15ab6678c8c7911c27b2c3da267d7922f192f3d2eb0bf621821", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/shelljs/index.d.ts": { - "version": "b73abc91e3166b1951d302f8008c17e62d32e570e71b2680141f7c3f5d0a990d", - "signature": "b73abc91e3166b1951d302f8008c17e62d32e570e71b2680141f7c3f5d0a990d", - "affectsGlobalScope": false - } - }, - "options": { - "target": 4, - "module": 1, - "moduleResolution": 2, - "strict": true, - "alwaysStrict": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "strictPropertyInitialization": true, - "forceConsistentCasingInFileNames": true, - "noImplicitAny": true, - "noImplicitReturns": true, - "noImplicitThis": true, - "noFallthroughCasesInSwitch": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "downlevelIteration": true, - "composite": true, - "declaration": true, - "declarationMap": true, - "pretty": true, - "rootDir": "./src", - "outDir": "./out", - "configFilePath": "./tsconfig.json" - }, - "referencedMap": { - "../../../node_modules/@types/fs-extra/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/glob/index.d.ts": [ - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/array.d.ts": [ - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/collection.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/common.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/date.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/function.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/lang.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/math.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/number.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/object.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/seq.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/string.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/util.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/index.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts" - ], - "../../../node_modules/@types/node/base.d.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts" - ], - "../../../node_modules/@types/node/child_process.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/cluster.d.ts": [ - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/crypto.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/dgram.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/domain.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/fs.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http2.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/https.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/index.d.ts": [ - "../../../node_modules/@types/node/base.d.ts" - ], - "../../../node_modules/@types/node/inspector.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/net.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/perf_hooks.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts" - ], - "../../../node_modules/@types/node/process.d.ts": [ - "../../../node_modules/@types/node/tty.d.ts" - ], - "../../../node_modules/@types/node/readline.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/repl.d.ts": [ - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/stream.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/tls.d.ts": [ - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/ts3.3/base.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts" - ], - "../../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/wasi.d.ts" - ], - "../../../node_modules/@types/node/tty.d.ts": [ - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/url.d.ts": [ - "../../../node_modules/@types/node/querystring.d.ts" - ], - "../../../node_modules/@types/node/v8.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/worker_threads.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/zlib.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/rimraf/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/shelljs/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.macchiato/out/dirent.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.macchiato/out/index.d.ts": [ - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/stats.d.ts" - ], - "../fs.macchiato/out/stats.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "./src/adapters/fs.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/adapters/fs.ts" - ], - "./src/adapters/fs.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ], - "./src/index.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/rimraf/index.d.ts", - "./src/index.ts" - ], - "./src/index.ts": [ - "./src/adapters/fs.ts", - "./src/providers/async.ts", - "./src/providers/sync.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/async.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/providers/async.ts", - "./src/settings.ts" - ], - "./src/providers/async.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/sync.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/providers/sync.ts", - "./src/settings.ts" - ], - "./src/providers/sync.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/settings.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/adapters/fs.ts", - "./src/settings.ts" - ], - "./src/settings.ts": [ - "./src/adapters/fs.ts" - ], - "./src/types/index.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ] - }, - "exportedModulesMap": { - "../../../node_modules/@types/fs-extra/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/glob/index.d.ts": [ - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/array.d.ts": [ - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/collection.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/common.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/date.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/function.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/lang.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/math.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/number.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/object.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/seq.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/string.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/util.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/index.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts" - ], - "../../../node_modules/@types/node/base.d.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts" - ], - "../../../node_modules/@types/node/child_process.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/cluster.d.ts": [ - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/crypto.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/dgram.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/domain.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/fs.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http2.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/https.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/index.d.ts": [ - "../../../node_modules/@types/node/base.d.ts" - ], - "../../../node_modules/@types/node/inspector.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/net.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/perf_hooks.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts" - ], - "../../../node_modules/@types/node/process.d.ts": [ - "../../../node_modules/@types/node/tty.d.ts" - ], - "../../../node_modules/@types/node/readline.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/repl.d.ts": [ - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/stream.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/tls.d.ts": [ - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/ts3.3/base.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts" - ], - "../../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/wasi.d.ts" - ], - "../../../node_modules/@types/node/tty.d.ts": [ - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/url.d.ts": [ - "../../../node_modules/@types/node/querystring.d.ts" - ], - "../../../node_modules/@types/node/v8.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/worker_threads.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/zlib.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/rimraf/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/shelljs/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.macchiato/out/dirent.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.macchiato/out/index.d.ts": [ - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/stats.d.ts" - ], - "../fs.macchiato/out/stats.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "./src/adapters/fs.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ], - "./src/index.ts": [ - "./src/adapters/fs.ts", - "./src/providers/async.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/async.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/sync.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/settings.ts": [ - "./src/adapters/fs.ts" - ], - "./src/types/index.ts": [ - "../../../node_modules/@types/node/fs.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../node_modules/@types/eslint-visitor-keys/index.d.ts", - "../../../node_modules/@types/fs-extra/index.d.ts", - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/highlight.js/index.d.ts", - "../../../node_modules/@types/json-schema/index.d.ts", - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts", - "../../../node_modules/@types/marked/index.d.ts", - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/minimist/index.d.ts", - "../../../node_modules/@types/mocha/index.d.ts", - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/base.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/wasi.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts", - "../../../node_modules/@types/normalize-package-data/index.d.ts", - "../../../node_modules/@types/rimraf/index.d.ts", - "../../../node_modules/@types/run-parallel/index.d.ts", - "../../../node_modules/@types/shelljs/index.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../../../node_modules/typescript/lib/lib.dom.d.ts", - "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", - "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", - "../../../node_modules/typescript/lib/lib.es2016.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.full.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", - "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", - "../../../node_modules/typescript/lib/lib.es5.d.ts", - "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", - "../../../node_modules/typescript/lib/lib.scripthost.d.ts", - "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts", - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/index.d.ts", - "../fs.macchiato/out/stats.d.ts", - "../fs.macchiato/out/types.d.ts", - "./src/adapters/fs.spec.ts", - "./src/adapters/fs.ts", - "./src/index.spec.ts", - "./src/index.ts", - "./src/providers/async.spec.ts", - "./src/providers/async.ts", - "./src/providers/sync.spec.ts", - "./src/providers/sync.ts", - "./src/settings.spec.ts", - "./src/settings.ts", - "./src/types/index.ts" - ] - }, - "version": "3.9.7" -} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/.eslintcache b/pak-builder/node_modules/@nodelib/fs.walk/.eslintcache deleted file mode 100644 index 0d52eb1..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\index.spec.ts":"1","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\index.ts":"2","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\async.spec.ts":"3","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\async.ts":"4","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\index.ts":"5","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\stream.spec.ts":"6","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\stream.ts":"7","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\sync.spec.ts":"8","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\sync.ts":"9","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\async.spec.ts":"10","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\async.ts":"11","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\common.spec.ts":"12","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\common.ts":"13","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\reader.spec.ts":"14","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\reader.ts":"15","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\sync.spec.ts":"16","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\sync.ts":"17","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\settings.spec.ts":"18","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\settings.ts":"19","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\tests\\index.ts":"20","D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\types\\index.ts":"21"},{"size":3469,"mtime":1609075886224,"results":"22","hashOfConfig":"23"},{"size":2038,"mtime":1609075886224,"results":"24","hashOfConfig":"23"},{"size":1632,"mtime":1609075886225,"results":"25","hashOfConfig":"23"},{"size":1152,"mtime":1609075886225,"results":"26","hashOfConfig":"23"},{"size":171,"mtime":1609075886225,"results":"27","hashOfConfig":"23"},{"size":2441,"mtime":1609075886226,"results":"28","hashOfConfig":"23"},{"size":829,"mtime":1609075886226,"results":"29","hashOfConfig":"23"},{"size":975,"mtime":1609075886226,"results":"30","hashOfConfig":"23"},{"size":385,"mtime":1609075886227,"results":"31","hashOfConfig":"23"},{"size":6779,"mtime":1609075886227,"results":"32","hashOfConfig":"23"},{"size":3209,"mtime":1609075886227,"results":"33","hashOfConfig":"23"},{"size":3379,"mtime":1609078441945,"results":"34","hashOfConfig":"23"},{"size":852,"mtime":1609078441946,"results":"35","hashOfConfig":"23"},{"size":762,"mtime":1609075886228,"results":"36","hashOfConfig":"23"},{"size":287,"mtime":1609075886228,"results":"37","hashOfConfig":"23"},{"size":4065,"mtime":1609075886229,"results":"38","hashOfConfig":"23"},{"size":1778,"mtime":1609075886229,"results":"39","hashOfConfig":"23"},{"size":1063,"mtime":1609075886229,"results":"40","hashOfConfig":"23"},{"size":1828,"mtime":1609075886230,"results":"41","hashOfConfig":"23"},{"size":972,"mtime":1609075886230,"results":"42","hashOfConfig":"23"},{"size":193,"mtime":1609075886230,"results":"43","hashOfConfig":"23"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1ha7fjd",{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"58","messages":"59","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"60","messages":"61","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"62","messages":"63","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"64","messages":"65","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\index.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\index.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\async.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\async.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\index.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\stream.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\stream.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\sync.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\providers\\sync.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\async.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\async.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\common.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\common.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\reader.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\reader.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\sync.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\readers\\sync.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\settings.spec.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\settings.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\tests\\index.ts",[],"D:\\work\\OpenSource\\nodelib\\packages\\fs\\fs.walk\\src\\types\\index.ts",[]] \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/index.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/index.d.ts index 5070b6a..8864c7b 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/index.d.ts @@ -1,15 +1,14 @@ -/// -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; -} -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 +/// +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; +} +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 }; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/index.d.ts.map deleted file mode 100644 index 8e8ff95..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAsB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGjE,OAAO,QAAQ,EAAE,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC7G,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,iBAAS,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;AAChE,iBAAS,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,GAAG,QAAQ,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;AAWvG,OAAO,WAAW,IAAI,CAAC;IACtB,SAAS,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;CACpG;AAED,iBAAS,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,EAAE,CAKpF;AAED,iBAAS,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAKvF;AAUD,OAAO,EACN,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,QAAQ,EAER,aAAa,EACb,MAAM,EACN,KAAK,EACL,iBAAiB,EACjB,OAAO,EACP,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/index.js b/pak-builder/node_modules/@nodelib/fs.walk/out/index.js index 664644d..1520787 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/index.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/index.js @@ -1,33 +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') { - 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); -} +"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); +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.d.ts deleted file mode 100644 index 4e9d2bb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=index.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.d.ts.map deleted file mode 100644 index 47bd666..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.js deleted file mode 100644 index c854df3..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/index.spec.js +++ /dev/null @@ -1,99 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fs = require("fs"); -const rimraf = require("rimraf"); -const _1 = require("."); -const entryFilter = (entry) => !entry.dirent.isDirectory(); -function streamToPromise(stream) { - const entries = []; - return new Promise((resolve, reject) => { - stream.on('data', (entry) => entries.push(entry)); - stream.once('error', reject); - stream.once('end', () => resolve(entries)); - }); -} -describe('Package', () => { - before(() => { - rimraf.sync('fixtures'); - fs.mkdirSync('fixtures'); - fs.writeFileSync('fixtures/file.txt', ''); - fs.mkdirSync('fixtures/nested'); - fs.writeFileSync('fixtures/nested/file.txt', ''); - }); - after(() => { - rimraf.sync('fixtures'); - }); - describe('.walk', () => { - it('should throw an error for non-exist directory', (done) => { - _1.walk('non-exist-directory', (error, entries) => { - assert.strictEqual(error.code, 'ENOENT'); - assert.strictEqual(entries, undefined); - done(); - }); - }); - it('should work without options or settings', (done) => { - _1.walk('fixtures', (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 3); - done(); - }); - }); - it('should work with options', (done) => { - _1.walk('fixtures', { entryFilter }, (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 2); - done(); - }); - }); - it('should work with settings', (done) => { - const settings = new _1.Settings({ entryFilter }); - _1.walk('fixtures', settings, (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 2); - done(); - }); - }); - }); - describe('.walkStream', () => { - it('should throw an error for non-exist directory', async () => { - const stream = _1.walkStream('non-exist-directory'); - await assert.rejects(() => streamToPromise(stream), (error) => error.code === 'ENOENT'); - }); - it('should work without options or settings', async () => { - const stream = _1.walkStream('fixtures'); - const actual = await streamToPromise(stream); - assert.strictEqual(actual.length, 3); - }); - it('should work with options', async () => { - const stream = _1.walkStream('fixtures', { entryFilter }); - const actual = await streamToPromise(stream); - assert.strictEqual(actual.length, 2); - }); - it('should work with settings', async () => { - const settings = new _1.Settings({ entryFilter }); - const stream = _1.walkStream('fixtures', settings); - const actual = await streamToPromise(stream); - assert.strictEqual(actual.length, 2); - }); - }); - describe('.walkSync', () => { - it('should throw an error for non-exist directory', () => { - const matcher = (error) => error.code === 'ENOENT'; - assert.throws(() => _1.walkSync('non-exist-directory'), matcher); - }); - it('should work without options or settings', () => { - const actual = _1.walkSync('fixtures'); - assert.strictEqual(actual.length, 3); - }); - it('should work with options', () => { - const actual = _1.walkSync('fixtures', { entryFilter }); - assert.strictEqual(actual.length, 2); - }); - it('should work with settings', () => { - const settings = new _1.Settings({ entryFilter }); - const actual = _1.walkSync('fixtures', settings); - assert.strictEqual(actual.length, 2); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.d.ts index 1f5f1ba..0f6717d 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.d.ts @@ -1,13 +1,12 @@ -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 +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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.d.ts.map deleted file mode 100644 index 8da402f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../src/providers/async.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKxC,oBAAY,aAAa,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;AAEnE,MAAM,CAAC,OAAO,OAAO,aAAa;IAKrB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAU,OAAO,CAAC,QAAQ,CAAC,SAAS;IAJtE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAA+C;IAEtF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyB;gBAErB,KAAK,EAAE,MAAM,EAAmB,SAAS,EAAE,QAAQ;IAEzE,IAAI,CAAC,QAAQ,EAAE,aAAa,GAAG,IAAI;CAe1C"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.js b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.js index 20e4ab5..e09da83 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.js @@ -1,30 +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 = 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); -} +"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/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.d.ts deleted file mode 100644 index c3f8248..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=async.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.d.ts.map deleted file mode 100644 index a67f476..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.spec.d.ts","sourceRoot":"","sources":["../../src/providers/async.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.js deleted file mode 100644 index b947d31..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/async.spec.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const sinon = require("sinon"); -const settings_1 = require("../settings"); -const tests = require("../tests"); -const async_1 = require("./async"); -class TestProvider extends async_1.default { - constructor(_root, _settings = new settings_1.default()) { - super(_root, _settings); - this._reader = new tests.TestAsyncReader(); - } - get reader() { - return this._reader; - } -} -describe('Providers → Async', () => { - describe('.read', () => { - it('should call reader function with correct set of arguments', () => { - const provider = new TestProvider('directory'); - const fakeCallback = sinon.stub(); - provider.read(fakeCallback); - assert.ok(provider.reader.read.called); - }); - it('should call callback with error for failed launch', () => { - const provider = new TestProvider('directory'); - const fakeCallback = sinon.stub(); - provider.reader.onError.yields(tests.EPERM_ERRNO); - provider.read(fakeCallback); - assert.deepStrictEqual(fakeCallback.args, [[tests.EPERM_ERRNO]]); - }); - it('should push entries to storage and call callback with array of entries', () => { - const provider = new TestProvider('directory'); - const fakeEntry = tests.buildFakeFileEntry(); - const fakeCallback = sinon.stub(); - provider.reader.onEntry.yields(fakeEntry); - provider.reader.onEnd.yields(); - provider.read(fakeCallback); - assert.deepStrictEqual(fakeCallback.args, [[null, [fakeEntry]]]); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.d.ts index cbdfb3b..874f60c 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.d.ts @@ -1,5 +1,4 @@ -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 +import AsyncProvider from './async'; +import StreamProvider from './stream'; +import SyncProvider from './sync'; +export { AsyncProvider, StreamProvider, SyncProvider }; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.d.ts.map deleted file mode 100644 index b66c2b1..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/providers/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,SAAS,CAAC;AACpC,OAAO,cAAc,MAAM,UAAU,CAAC;AACtC,OAAO,YAAY,MAAM,QAAQ,CAAC;AAElC,OAAO,EACN,aAAa,EACb,cAAc,EACd,YAAY,EACZ,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.js b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.js index 6d632d6..4c2529c 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/index.js @@ -1,9 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts index 810111d..294185f 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts @@ -1,13 +1,12 @@ -/// -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 +/// +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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts.map deleted file mode 100644 index 47ad13e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../../src/providers/stream.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,QAAQ,MAAM,aAAa,CAAC;AAEnC,MAAM,CAAC,OAAO,OAAO,cAAc;IAYtB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAU,OAAO,CAAC,QAAQ,CAAC,SAAS;IAXtE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAA+C;IACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAQjC;gBAE0B,KAAK,EAAE,MAAM,EAAmB,SAAS,EAAE,QAAQ;IAEzE,IAAI,IAAI,QAAQ;CAiBvB"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.js b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.js index 3bd4949..51298b0 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.js @@ -1,34 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.d.ts deleted file mode 100644 index b45ee18..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=stream.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.d.ts.map deleted file mode 100644 index d16ea61..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"stream.spec.d.ts","sourceRoot":"","sources":["../../src/providers/stream.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.js deleted file mode 100644 index 79a6b29..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/stream.spec.js +++ /dev/null @@ -1,62 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const stream_1 = require("stream"); -const sinon = require("sinon"); -const settings_1 = require("../settings"); -const tests = require("../tests"); -const stream_2 = require("./stream"); -class TestProvider extends stream_2.default { - constructor(_root, _settings = new settings_1.default()) { - super(_root, _settings); - this._reader = new tests.TestAsyncReader(); - this._stream.emit = sinon.stub(); - this._stream.push = sinon.stub(); - } - get reader() { - return this._reader; - } - get stream() { - return this._stream; - } -} -describe('Providers → Stream', () => { - describe('.read', () => { - it('should return stream', () => { - const provider = new TestProvider('directory'); - const stream = provider.read(); - assert.ok(stream instanceof stream_1.Readable); - }); - it('should call reader function with correct set of arguments', () => { - const provider = new TestProvider('directory'); - provider.read(); - assert.ok(provider.reader.read.called); - }); - it('should re-emit the "error" event from reader', () => { - const provider = new TestProvider('directory'); - provider.reader.onError.yields(tests.EPERM_ERRNO); - provider.read(); - assert.deepStrictEqual(provider.stream.emit.args, [['error', tests.EPERM_ERRNO]]); - }); - it('should call the "push" method with entry value for the "entry" event from reader', () => { - const provider = new TestProvider('directory'); - const fakeEntry = tests.buildFakeFileEntry(); - provider.reader.onEntry.yields(fakeEntry); - provider.read(); - assert.deepStrictEqual(provider.stream.push.args, [[fakeEntry]]); - }); - it('should call the "push" method with "null" value for the "end" event from reader', () => { - const provider = new TestProvider('directory'); - provider.reader.onEnd.yields(); - provider.read(); - assert.deepStrictEqual(provider.stream.push.args, [[null]]); - }); - it('should do not destroy reader when it is already destroyed', () => { - const provider = new TestProvider('directory'); - const stream = provider.read(); - stream.destroy(); - assert.ok(stream.destroyed); - assert.doesNotThrow(() => stream.destroy()); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts index 9570fd1..551c42e 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts @@ -1,11 +1,10 @@ -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 +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[]; +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts.map deleted file mode 100644 index 8d92197..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../src/providers/sync.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,YAAY;IAGpB,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAU,OAAO,CAAC,QAAQ,CAAC,SAAS;IAFtE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAA8C;gBAEvD,KAAK,EAAE,MAAM,EAAmB,SAAS,EAAE,QAAQ;IAEzE,IAAI,IAAI,KAAK,EAAE;CAGtB"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.js b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.js index fef1d8d..faab6ca 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.js @@ -1,14 +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; +"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/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.d.ts deleted file mode 100644 index 5167ab3..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=sync.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.d.ts.map deleted file mode 100644 index aae9498..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.spec.d.ts","sourceRoot":"","sources":["../../src/providers/sync.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.js deleted file mode 100644 index 1fe94c5..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/providers/sync.spec.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const settings_1 = require("../settings"); -const tests = require("../tests"); -const sync_1 = require("./sync"); -class TestProvider extends sync_1.default { - constructor(_root, _settings = new settings_1.default()) { - super(_root, _settings); - this._reader = new tests.TestSyncReader(); - } - get reader() { - return this._reader; - } -} -describe('Providers → Sync', () => { - describe('.read', () => { - it('should call reader function with correct set of arguments and got result', () => { - const provider = new TestProvider('directory'); - const fakeEntry = tests.buildFakeFileEntry(); - provider.reader.read.returns([fakeEntry]); - const actual = provider.read(); - assert.deepStrictEqual(actual, [fakeEntry]); - assert.ok(provider.reader.read.called); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.d.ts index 80f9a8c..9acf4e6 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.d.ts @@ -1,31 +1,30 @@ -/// -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; - 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 {}; -//# sourceMappingURL=async.d.ts.map \ No newline at end of file +/// +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 {}; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.d.ts.map deleted file mode 100644 index 4e0defa..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.d.ts","sourceRoot":"","sources":["../../src/readers/async.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,KAAK,SAAS,MAAM,qBAAqB,CAAC;AAGjD,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAa,MAAM,UAAU,CAAC;AAEnD,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,aAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;AACjD,aAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;AACjD,aAAK,gBAAgB,GAAG,MAAM,IAAI,CAAC;AAEnC,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,MAAM;IAQnB,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ;IAPjE,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,SAAS,CAAC,OAAO,CAAqB;IAC1E,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAsB;IAE/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2E;IAClG,OAAO,CAAC,aAAa,CAAkB;IACvC,OAAO,CAAC,YAAY,CAAkB;gBAE1B,KAAK,EAAE,MAAM,EAAqB,SAAS,EAAE,QAAQ;IAU1D,IAAI,IAAI,YAAY;IAW3B,IAAW,WAAW,IAAI,OAAO,CAEhC;IAEM,OAAO,IAAI,IAAI;IASf,OAAO,CAAC,QAAQ,EAAE,kBAAkB,GAAG,IAAI;IAI3C,OAAO,CAAC,QAAQ,EAAE,kBAAkB,GAAG,IAAI;IAI3C,KAAK,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAI9C,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,OAAO;IAcf,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,YAAY;IAoBpB,OAAO,CAAC,UAAU;CAGlB"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.js index 93e6670..5a9be5b 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.js @@ -1,96 +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) { - return done(error, undefined); - } - 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, entry.path); - } - } - _emitEntry(entry) { - this._emitter.emit('entry', entry); - } -} -exports.default = AsyncReader; +"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, entry.path); + } + } + _emitEntry(entry) { + this._emitter.emit('entry', entry); + } +} +exports.default = AsyncReader; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.d.ts deleted file mode 100644 index c3f8248..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=async.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.d.ts.map deleted file mode 100644 index 9437942..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"async.spec.d.ts","sourceRoot":"","sources":["../../src/readers/async.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.js deleted file mode 100644 index 32fd785..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/async.spec.js +++ /dev/null @@ -1,165 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const path = require("path"); -const sinon = require("sinon"); -const settings_1 = require("../settings"); -const tests = require("../tests"); -const async_1 = require("./async"); -class TestReader extends async_1.default { - constructor(_root, _settings = new settings_1.default()) { - super(_root, _settings); - this._scandir = sinon.stub(); - } - get scandir() { - return this._scandir; - } -} -describe('Readers → Async', () => { - describe('.read', () => { - it('should emit "error" event when the first call of scandir is broken', (done) => { - const reader = new TestReader('non-exist-directory'); - reader.scandir.yields(tests.EPERM_ERRNO); - reader.onError((error) => { - assert.ok(error); - done(); - }); - reader.read(); - }); - it('should emit "end" event when the first call of scandir is broken but this error can be suppressed', (done) => { - const settings = new settings_1.default({ - errorFilter: (error) => error.code === 'EPERM' - }); - const reader = new TestReader('non-exist-directory', settings); - reader.scandir.yields(tests.EPERM_ERRNO); - reader.onEnd(() => { - done(); - }); - reader.read(); - }); - it('should do not emit events after first broken scandir call', (done) => { - const reader = new TestReader('directory'); - const firstFakeDirectoryEntry = tests.buildFakeDirectoryEntry({ name: 'a', path: 'directory/a' }); - const secondFakeDirectoryEntry = tests.buildFakeDirectoryEntry({ name: 'b', path: 'directory/b' }); - reader.scandir.onFirstCall().yields(null, [firstFakeDirectoryEntry, secondFakeDirectoryEntry]); - reader.scandir.onSecondCall().yieldsAsync(tests.EPERM_ERRNO); - reader.scandir.onThirdCall().yieldsAsync(tests.EPERM_ERRNO); - /** - * If the behavior is broken, then a third scandir call will trigger an unhandled error. - */ - reader.onError((error) => { - assert.ok(error); - done(); - }); - reader.read(); - }); - it('should return entries', (done) => { - const reader = new TestReader('directory'); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - const entries = []; - reader.onEntry((entry) => entries.push(entry)); - reader.onEnd(() => { - assert.deepStrictEqual(entries, [fakeDirectoryEntry, fakeFileEntry]); - done(); - }); - reader.read(); - }); - it('should push to results only directories', (done) => { - const settings = new settings_1.default({ entryFilter: (entry) => !entry.dirent.isFile() }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - const entries = []; - reader.onEntry((entry) => entries.push(entry)); - reader.onEnd(() => { - assert.deepStrictEqual(entries, [fakeDirectoryEntry]); - done(); - }); - reader.read(); - }); - it('should do not read root directory', (done) => { - const settings = new settings_1.default({ deepFilter: () => false }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - const entries = []; - reader.onEntry((entry) => entries.push(entry)); - reader.onEnd(() => { - assert.deepStrictEqual(entries, [fakeDirectoryEntry]); - done(); - }); - reader.read(); - }); - it('should set base path to entry when the `basePath` option is exist', (done) => { - const settings = new settings_1.default({ basePath: 'base' }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - const entries = []; - reader.onEntry((entry) => entries.push(entry)); - reader.onEnd(() => { - assert.strictEqual(entries[0].path, path.join('base', fakeDirectoryEntry.name)); - assert.strictEqual(entries[1].path, path.join('base', 'fake', fakeFileEntry.name)); - done(); - }); - reader.read(); - }); - it('should set base path to entry when the `basePath` option is exist and value is an empty string', (done) => { - const settings = new settings_1.default({ basePath: '' }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - const entries = []; - reader.onEntry((entry) => entries.push(entry)); - reader.onEnd(() => { - assert.strictEqual(entries[0].path, path.join(fakeDirectoryEntry.name)); - assert.strictEqual(entries[1].path, path.join('fake', fakeFileEntry.name)); - done(); - }); - reader.read(); - }); - }); - describe('.destroy', () => { - it('should do not emit entries after destroy', (done) => { - const reader = new TestReader('directory'); - const firstFakeDirectoryEntry = tests.buildFakeDirectoryEntry({ name: 'a', path: 'directory/a' }); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().yields(null, [firstFakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - reader.onEntry((entry) => { - if (entry.name === 'a') { - reader.destroy(); - } - else { - assert.fail('should do not emit entries after destroy'); - } - }); - reader.onEnd(() => { - done(); - }); - reader.read(); - }); - it('should mark stream as "destroyed" after first destroy', () => { - const reader = new TestReader('directory'); - reader.destroy(); - assert.ok(reader.isDestroyed); - }); - it('should throw an error when trying to destroy reader twice', () => { - const reader = new TestReader('directory'); - const expectedErrorMessageRe = /The reader is already destroyed/; - reader.destroy(); - assert.throws(() => reader.destroy(), expectedErrorMessageRe); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.d.ts index 93bbae3..5985f97 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.d.ts @@ -1,7 +1,7 @@ -import Settings, { FilterFunction } from '../settings'; -import { Errno } from '../types'; -export declare function isFatalError(settings: Settings, error: Errno): boolean; -export declare function isAppliedFilter(filter: FilterFunction | 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 +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(filter: FilterFunction | null, value: T): boolean; +export declare function replacePathSegmentSeparator(filepath: string, separator: string): string; +export declare function joinPathSegments(a: string, b: string, separator: string): string; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.d.ts.map deleted file mode 100644 index 8a5b96e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/readers/common.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,EAAE,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAMtE;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAEtF;AAED,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEvF;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAahF"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.js index 8294d59..a93572f 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.js @@ -1,31 +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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.d.ts deleted file mode 100644 index c5ccf64..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=common.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.d.ts.map deleted file mode 100644 index 14213d9..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"common.spec.d.ts","sourceRoot":"","sources":["../../src/readers/common.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.js deleted file mode 100644 index 93734aa..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/common.spec.js +++ /dev/null @@ -1,85 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const path = require("path"); -const settings_1 = require("../settings"); -const tests = require("../tests"); -const common = require("./common"); -describe('Readers → Common', () => { - describe('.isFatalError', () => { - it('should return true when filter is not defined', () => { - const settings = new settings_1.default(); - const actual = common.isFatalError(settings, tests.EPERM_ERRNO); - assert.ok(actual); - }); - it('should return true when the error cannot be suppressed', () => { - const settings = new settings_1.default({ - errorFilter: (error) => error.code === 'ENOENT' - }); - const actual = common.isFatalError(settings, tests.EPERM_ERRNO); - assert.ok(actual); - }); - it('should return false when the error can be suppressed', () => { - const settings = new settings_1.default({ - errorFilter: (error) => error.code === 'EPERM' - }); - const actual = common.isFatalError(settings, tests.EPERM_ERRNO); - assert.ok(!actual); - }); - }); - describe('.isAppliedFilter', () => { - it('should return true when the filter is not defined', () => { - const settings = new settings_1.default(); - const entry = tests.buildFakeFileEntry(); - const actual = common.isAppliedFilter(settings.entryFilter, entry); - assert.ok(actual); - }); - it('should return true when the entry will be applied', () => { - const settings = new settings_1.default({ - entryFilter: (entry) => entry.name === 'fake.txt' - }); - const fakeEntry = tests.buildFakeFileEntry(); - const actual = common.isAppliedFilter(settings.entryFilter, fakeEntry); - assert.ok(actual); - }); - it('should return false when the entry will be skipped', () => { - const settings = new settings_1.default({ - entryFilter: (entry) => entry.name !== 'fake.txt' - }); - const fakeEntry = tests.buildFakeFileEntry(); - const actual = common.isAppliedFilter(settings.entryFilter, fakeEntry); - assert.ok(!actual); - }); - }); - describe('.replacePathSegmentSeparator', () => { - it('should replace path segment separator', () => { - const filepath = path.join('directory', 'file.txt'); - const expected = 'directory_file.txt'; - const actual = common.replacePathSegmentSeparator(filepath, '_'); - assert.strictEqual(actual, expected); - }); - }); - describe('.joinPathSegments', () => { - it('should return concatenated string', () => { - const expected = 'a&b'; - const actual = common.joinPathSegments('a', 'b', '&'); - assert.strictEqual(actual, expected); - }); - it('should return second part of path when the first path is an empty string', () => { - const expected = 'b'; - const actual = common.joinPathSegments('', 'b', '&'); - assert.strictEqual(actual, expected); - }); - it('should return correct string when the first segment ens with the separator symbol', () => { - // Unix - assert.strictEqual(common.joinPathSegments('/', 'a', '/'), '/a'); - assert.strictEqual(common.joinPathSegments('//', 'a', '/'), '//a'); - assert.strictEqual(common.joinPathSegments('/a/', 'b', '/'), '/a/b'); - // Windows - assert.strictEqual(common.joinPathSegments('C:/', 'Users', '/'), 'C:/Users'); - assert.strictEqual(common.joinPathSegments('C:\\', 'Users', '\\'), 'C:\\Users'); - assert.strictEqual(common.joinPathSegments('//?/C:/', 'Users', '/'), '//?/C:/Users'); - assert.strictEqual(common.joinPathSegments('\\\\?\\C:\\', 'Users', '\\'), '\\\\?\\C:\\Users'); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts index 688968f..e1f383b 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts @@ -1,7 +1,6 @@ -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 +import type Settings from '../settings'; +export default class Reader { + protected readonly _root: string; + protected readonly _settings: Settings; + constructor(_root: string, _settings: Settings); +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts.map deleted file mode 100644 index 4b59981..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"reader.d.ts","sourceRoot":"","sources":["../../src/readers/reader.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,aAAa,CAAC;AAGnC,MAAM,CAAC,OAAO,OAAO,MAAM;IACd,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM;IAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ;gBAArD,KAAK,EAAE,MAAM,EAAqB,SAAS,EAAE,QAAQ;CAGpF"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.js index 25e7997..782f07c 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.js @@ -1,11 +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; +"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/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.d.ts deleted file mode 100644 index eda56bb..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=reader.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.d.ts.map deleted file mode 100644 index bbe7c4c..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"reader.spec.d.ts","sourceRoot":"","sources":["../../src/readers/reader.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.js deleted file mode 100644 index a805ca8..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/reader.spec.js +++ /dev/null @@ -1,25 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const path = require("path"); -const settings_1 = require("../settings"); -const reader_1 = require("./reader"); -class TestReader extends reader_1.default { - get root() { - return this._root; - } -} -function getReader(root, options = {}) { - return new TestReader(root, new settings_1.default(options)); -} -describe('Readers → Reader', () => { - describe('Constructor', () => { - it('should return root path with replaced path segment separators', () => { - const root = path.join('directory', 'file.txt'); - const reader = getReader(root, { pathSegmentSeparator: '_' }); - const expected = 'directory_file.txt'; - const actual = reader.root; - assert.strictEqual(actual, expected); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts index b0bb267..af41033 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts @@ -1,16 +1,15 @@ -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 +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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts.map deleted file mode 100644 index f6d327f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../src/readers/sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAoB,MAAM,UAAU,CAAC;AAEnD,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,MAAM;IAC7C,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,SAAS,CAAC,WAAW,CAAyB;IAElF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAyB;IAClD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAE7C,IAAI,IAAI,KAAK,EAAE;IAOtB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,cAAc;CAGtB"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.js index d0f0691..e99df32 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.js @@ -1,59 +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 = 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; +"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/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.d.ts deleted file mode 100644 index 5167ab3..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=sync.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.d.ts.map deleted file mode 100644 index bae880e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"sync.spec.d.ts","sourceRoot":"","sources":["../../src/readers/sync.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.js deleted file mode 100644 index bfd915f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/readers/sync.spec.js +++ /dev/null @@ -1,89 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const path = require("path"); -const sinon = require("sinon"); -const settings_1 = require("../settings"); -const tests = require("../tests"); -const sync_1 = require("./sync"); -class TestReader extends sync_1.default { - constructor(_root, _settings = new settings_1.default()) { - super(_root, _settings); - this._scandir = sinon.stub(); - } - get scandir() { - return this._scandir; - } -} -describe('Readers → Sync', () => { - describe('.read', () => { - it('should throw an error when the first call of scandir is broken', () => { - const reader = new TestReader('non-exist-directory'); - reader.scandir.throws(tests.EPERM_ERRNO); - assert.throws(() => reader.read(), { code: 'EPERM' }); - }); - it('should return empty array when the first call of scandir is broken but this error can be suppressed', () => { - const settings = new settings_1.default({ - errorFilter: (error) => error.code === 'EPERM' - }); - const reader = new TestReader('non-exist-directory', settings); - reader.scandir.throws(tests.EPERM_ERRNO); - const actual = reader.read(); - assert.deepStrictEqual(actual, []); - }); - it('should return entries', () => { - const reader = new TestReader('directory'); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - const expected = [fakeDirectoryEntry, fakeFileEntry]; - const actual = reader.read(); - assert.deepStrictEqual(actual, expected); - }); - it('should push to results only directories', () => { - const settings = new settings_1.default({ entryFilter: (entry) => !entry.dirent.isFile() }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - const expected = [fakeDirectoryEntry]; - const actual = reader.read(); - assert.deepStrictEqual(actual, expected); - }); - it('should do not read root directory', () => { - const settings = new settings_1.default({ deepFilter: () => false }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - const expected = [fakeDirectoryEntry]; - const actual = reader.read(); - assert.deepStrictEqual(actual, expected); - }); - it('should set base path to entry when the `basePath` option is exist', () => { - const settings = new settings_1.default({ basePath: 'base' }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - const actual = reader.read(); - assert.strictEqual(actual[0].path, path.join('base', fakeDirectoryEntry.name)); - assert.strictEqual(actual[1].path, path.join('base', 'fake', fakeFileEntry.name)); - }); - it('should set base path to entry when the `basePath` option is exist and value is an empty string', () => { - const settings = new settings_1.default({ basePath: '' }); - const reader = new TestReader('directory', settings); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - const actual = reader.read(); - assert.strictEqual(actual[0].path, fakeDirectoryEntry.name); - assert.strictEqual(actual[1].path, path.join('fake', fakeFileEntry.name)); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.d.ts index bc1f9d5..d1c4b45 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.d.ts @@ -1,31 +1,30 @@ -import * as fsScandir from '@nodelib/fs.scandir'; -import { Entry, Errno } from './types'; -export declare type FilterFunction = (value: T) => boolean; -export declare type DeepFilterFunction = FilterFunction; -export declare type EntryFilterFunction = FilterFunction; -export declare type ErrorFilterFunction = FilterFunction; -export declare type Options = { - basePath?: string; - concurrency?: number; - deepFilter?: DeepFilterFunction; - entryFilter?: EntryFilterFunction; - errorFilter?: ErrorFilterFunction; - followSymbolicLinks?: boolean; - fs?: Partial; - 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 +import * as fsScandir from '@nodelib/fs.scandir'; +import type { Entry, Errno } from './types'; +export declare type FilterFunction = (value: T) => boolean; +export declare type DeepFilterFunction = FilterFunction; +export declare type EntryFilterFunction = FilterFunction; +export declare type ErrorFilterFunction = FilterFunction; +export interface Options { + basePath?: string; + concurrency?: number; + deepFilter?: DeepFilterFunction; + entryFilter?: EntryFilterFunction; + errorFilter?: ErrorFilterFunction; + followSymbolicLinks?: boolean; + fs?: Partial; + 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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.d.ts.map deleted file mode 100644 index 007e06f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,SAAS,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEvC,oBAAY,cAAc,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC;AACtD,oBAAY,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AACvD,oBAAY,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AACxD,oBAAY,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAExD,oBAAY,OAAO,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,EAAE,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAC1C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8BAA8B,CAAC,EAAE,OAAO,CAAC;CACzC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,QAAQ;IAgBhB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAfrC,SAAgB,QAAQ,CAAC,EAAE,MAAM,CAAqD;IACtF,SAAgB,WAAW,EAAE,MAAM,CAAuD;IAC1F,SAAgB,UAAU,EAAE,kBAAkB,GAAG,IAAI,CAAkD;IACvG,SAAgB,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAmD;IAC1G,SAAgB,WAAW,EAAE,mBAAmB,GAAG,IAAI,CAAmD;IAC1G,SAAgB,oBAAoB,EAAE,MAAM,CAAgE;IAE5G,SAAgB,iBAAiB,EAAE,SAAS,CAAC,QAAQ,CAMlD;gBAE0B,QAAQ,GAAE,OAAY;IAEnD,OAAO,CAAC,SAAS;CAGjB"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.js b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.js index d0e4657..d7a85c8 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.js @@ -1,26 +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, 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; +"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; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.d.ts deleted file mode 100644 index ff5bc0f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=settings.spec.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.d.ts.map deleted file mode 100644 index b69e1aa..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"settings.spec.d.ts","sourceRoot":"","sources":["../src/settings.spec.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.js b/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.js deleted file mode 100644 index ed07688..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/settings.spec.js +++ /dev/null @@ -1,28 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const assert = require("assert"); -const fsScandir = require("@nodelib/fs.scandir"); -const settings_1 = require("./settings"); -describe('Settings', () => { - it('should return instance with default values', () => { - const fsWalkSettings = new settings_1.default(); - const fsScandirSettings = new fsScandir.Settings({ - followSymbolicLinks: undefined, - fs: undefined, - pathSegmentSeparator: undefined, - stats: undefined, - throwErrorOnBrokenSymbolicLink: undefined - }); - assert.strictEqual(fsWalkSettings.basePath, undefined); - assert.strictEqual(fsWalkSettings.concurrency, Infinity); - assert.strictEqual(fsWalkSettings.deepFilter, null); - assert.strictEqual(fsWalkSettings.entryFilter, null); - assert.strictEqual(fsWalkSettings.errorFilter, null); - assert.deepStrictEqual(fsWalkSettings.fsScandirSettings, fsScandirSettings); - }); - it('should return instance with custom values', () => { - const filter = () => true; - const fsWalkSettings = new settings_1.default({ entryFilter: filter }); - assert.strictEqual(fsWalkSettings.entryFilter, filter); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.d.ts deleted file mode 100644 index 0e54bb8..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as sinon from 'sinon'; -import { Entry, Errno } from '../types'; -export declare function buildFakeFileEntry(entry?: Partial): Entry; -export declare function buildFakeDirectoryEntry(entry?: Partial): Entry; -export declare const EPERM_ERRNO: Errno; -export declare class TestAsyncReader { - read: sinon.SinonStub; - destroy: sinon.SinonStub; - onError: sinon.SinonStub; - onEntry: sinon.SinonStub; - onEnd: sinon.SinonStub; -} -export declare class TestSyncReader { - read: sinon.SinonStub; -} -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.d.ts.map deleted file mode 100644 index a0c2c66..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tests/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAExC,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAOhE;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAOrE;AAED,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF,qBAAa,eAAe;IACpB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAgB;IACrC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAgB;IACxC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAgB;IACxC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAgB;IACxC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAgB;CAC7C;AAED,qBAAa,cAAc;IACnB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAgB;CAC5C"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.js b/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.js deleted file mode 100644 index a53715f..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/tests/index.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TestSyncReader = exports.TestAsyncReader = exports.EPERM_ERRNO = exports.buildFakeDirectoryEntry = exports.buildFakeFileEntry = void 0; -const sinon = require("sinon"); -const fs_macchiato_1 = require("../../../fs.macchiato"); -function buildFakeFileEntry(entry) { - return Object.assign({ name: 'fake.txt', path: 'directory/fake.txt', dirent: new fs_macchiato_1.Dirent({ name: 'fake.txt' }) }, entry); -} -exports.buildFakeFileEntry = buildFakeFileEntry; -function buildFakeDirectoryEntry(entry) { - return Object.assign({ name: 'fake', path: 'directory/fake', dirent: new fs_macchiato_1.Dirent({ name: 'fake', isFile: false, isDirectory: true }) }, entry); -} -exports.buildFakeDirectoryEntry = buildFakeDirectoryEntry; -exports.EPERM_ERRNO = { - name: 'EPERM', - code: 'EPERM', - message: 'EPERM' -}; -class TestAsyncReader { - constructor() { - this.read = sinon.stub(); - this.destroy = sinon.stub(); - this.onError = sinon.stub(); - this.onEntry = sinon.stub(); - this.onEnd = sinon.stub(); - } -} -exports.TestAsyncReader = TestAsyncReader; -class TestSyncReader { - constructor() { - this.read = sinon.stub(); - } -} -exports.TestSyncReader = TestSyncReader; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.d.ts b/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.d.ts index 75bc4ab..6ee9bd3 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.d.ts +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.d.ts @@ -1,9 +1,8 @@ -/// -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 +/// +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; +} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.d.ts.map b/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.d.ts.map deleted file mode 100644 index 1a73ab6..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,oBAAY,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;AAClC,oBAAY,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAE1C,oBAAY,SAAS,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"} \ No newline at end of file diff --git a/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.js b/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.js index ce03781..c8ad2e5 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.js +++ b/pak-builder/node_modules/@nodelib/fs.walk/out/types/index.js @@ -1,2 +1,2 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/package.json b/pak-builder/node_modules/@nodelib/fs.walk/package.json index 71dcbe7..1497210 100644 --- a/pak-builder/node_modules/@nodelib/fs.walk/package.json +++ b/pak-builder/node_modules/@nodelib/fs.walk/package.json @@ -1,6 +1,6 @@ { "name": "@nodelib/fs.walk", - "version": "1.2.6", + "version": "1.2.7", "description": "A library for efficiently walking a directory recursively", "license": "MIT", "repository": "https://github.com/nodelib/nodelib/tree/master/packages/fs/fs.walk", @@ -16,6 +16,12 @@ "engines": { "node": ">= 8" }, + "files": [ + "out/**", + "!out/**/*.map", + "!out/**/*.spec.*", + "!out/**/tests/**" + ], "main": "out/index.js", "typings": "out/index.d.ts", "scripts": { @@ -28,8 +34,11 @@ "watch": "npm run clean && npm run compile:watch" }, "dependencies": { - "@nodelib/fs.scandir": "2.1.4", + "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" }, - "gitHead": "bd149ea6dc1ef18c234730278271f6a7f3882ed2" + "devDependencies": { + "@nodelib/fs.macchiato": "1.0.4" + }, + "gitHead": "d6a7960d5281d3dd5f8e2efba49bb552d090f562" } diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/index.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/index.spec.ts deleted file mode 100644 index 6a2913e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/index.spec.ts +++ /dev/null @@ -1,129 +0,0 @@ -import * as assert from 'assert'; -import * as fs from 'fs'; -import { Readable } from 'stream'; - -import * as rimraf from 'rimraf'; - -import { Errno } from './types'; -import { walk, walkSync, walkStream, Settings, Entry } from '.'; - -const entryFilter = (entry: Entry): boolean => !entry.dirent.isDirectory(); - -function streamToPromise(stream: Readable): Promise { - const entries: Entry[] = []; - - return new Promise((resolve, reject) => { - stream.on('data', (entry: Entry) => entries.push(entry)); - stream.once('error', reject); - stream.once('end', () => resolve(entries)); - }); -} - -describe('Package', () => { - before(() => { - rimraf.sync('fixtures'); - - fs.mkdirSync('fixtures'); - fs.writeFileSync('fixtures/file.txt', ''); - fs.mkdirSync('fixtures/nested'); - fs.writeFileSync('fixtures/nested/file.txt', ''); - }); - - after(() => { - rimraf.sync('fixtures'); - }); - - describe('.walk', () => { - it('should throw an error for non-exist directory', (done) => { - walk('non-exist-directory', (error, entries) => { - assert.strictEqual(error.code, 'ENOENT'); - assert.strictEqual(entries, undefined); - done(); - }); - }); - - it('should work without options or settings', (done) => { - walk('fixtures', (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 3); - done(); - }); - }); - - it('should work with options', (done) => { - walk('fixtures', { entryFilter }, (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 2); - done(); - }); - }); - - it('should work with settings', (done) => { - const settings = new Settings({ entryFilter }); - - walk('fixtures', settings, (error, entries) => { - assert.strictEqual(error, null); - assert.strictEqual(entries.length, 2); - done(); - }); - }); - }); - - describe('.walkStream', () => { - it('should throw an error for non-exist directory', async () => { - const stream = walkStream('non-exist-directory'); - - await assert.rejects(() => streamToPromise(stream), (error: Errno) => error.code === 'ENOENT'); - }); - - it('should work without options or settings', async () => { - const stream = walkStream('fixtures'); - const actual = await streamToPromise(stream); - - assert.strictEqual(actual.length, 3); - }); - - it('should work with options', async () => { - const stream = walkStream('fixtures', { entryFilter }); - const actual = await streamToPromise(stream); - - assert.strictEqual(actual.length, 2); - }); - - it('should work with settings', async () => { - const settings = new Settings({ entryFilter }); - const stream = walkStream('fixtures', settings); - const actual = await streamToPromise(stream); - - assert.strictEqual(actual.length, 2); - }); - }); - - describe('.walkSync', () => { - it('should throw an error for non-exist directory', () => { - const matcher = (error: Errno): boolean => error.code === 'ENOENT'; - - assert.throws(() => walkSync('non-exist-directory'), matcher); - }); - - it('should work without options or settings', () => { - const actual = walkSync('fixtures'); - - assert.strictEqual(actual.length, 3); - }); - - it('should work with options', () => { - const actual = walkSync('fixtures', { entryFilter }); - - assert.strictEqual(actual.length, 2); - }); - - it('should work with settings', () => { - const settings = new Settings({ entryFilter }); - - const actual = walkSync('fixtures', settings); - - assert.strictEqual(actual.length, 2); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/index.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/index.ts deleted file mode 100644 index 5600dbf..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { Readable } from 'stream'; - -import { Dirent, FileSystemAdapter } from '@nodelib/fs.scandir'; - -import AsyncProvider, { AsyncCallback } from './providers/async'; -import StreamProvider from './providers/stream'; -import SyncProvider from './providers/sync'; -import Settings, { DeepFilterFunction, EntryFilterFunction, ErrorFilterFunction, Options } from './settings'; -import { Entry } from './types'; - -function walk(directory: string, callback: AsyncCallback): void; -function walk(directory: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void; -function walk(directory: string, optionsOrSettingsOrCallback: Options | Settings | AsyncCallback, callback?: AsyncCallback): void { - if (typeof optionsOrSettingsOrCallback === 'function') { - return new AsyncProvider(directory, getSettings()).read(optionsOrSettingsOrCallback); - } - - new AsyncProvider(directory, getSettings(optionsOrSettingsOrCallback)).read(callback as AsyncCallback); -} - -// https://github.com/typescript-eslint/typescript-eslint/issues/60 -// eslint-disable-next-line no-redeclare -declare namespace walk { - function __promisify__(directory: string, optionsOrSettings?: Options | Settings): Promise; -} - -function walkSync(directory: string, optionsOrSettings?: Options | Settings): Entry[] { - const settings = getSettings(optionsOrSettings); - const provider = new SyncProvider(directory, settings); - - return provider.read(); -} - -function walkStream(directory: string, optionsOrSettings?: Options | Settings): Readable { - const settings = getSettings(optionsOrSettings); - const provider = new StreamProvider(directory, settings); - - return provider.read(); -} - -function getSettings(settingsOrOptions: Settings | Options = {}): Settings { - if (settingsOrOptions instanceof Settings) { - return settingsOrOptions; - } - - return new Settings(settingsOrOptions); -} - -export { - walk, - walkSync, - walkStream, - Settings, - - AsyncCallback, - Dirent, - Entry, - FileSystemAdapter, - Options, - DeepFilterFunction, - EntryFilterFunction, - ErrorFilterFunction -}; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/async.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/providers/async.spec.ts deleted file mode 100644 index 83f540a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/async.spec.ts +++ /dev/null @@ -1,57 +0,0 @@ -import * as assert from 'assert'; - -import * as sinon from 'sinon'; - -import AsyncReader from '../readers/async'; -import Settings from '../settings'; -import * as tests from '../tests'; -import AsyncProvider from './async'; - -class TestProvider extends AsyncProvider { - protected readonly _reader: AsyncReader = new tests.TestAsyncReader() as unknown as AsyncReader; - - constructor(_root: string, _settings: Settings = new Settings()) { - super(_root, _settings); - } - - public get reader(): tests.TestAsyncReader { - return this._reader as unknown as tests.TestAsyncReader; - } -} - -describe('Providers → Async', () => { - describe('.read', () => { - it('should call reader function with correct set of arguments', () => { - const provider = new TestProvider('directory'); - const fakeCallback = sinon.stub(); - - provider.read(fakeCallback); - - assert.ok(provider.reader.read.called); - }); - - it('should call callback with error for failed launch', () => { - const provider = new TestProvider('directory'); - const fakeCallback = sinon.stub(); - - provider.reader.onError.yields(tests.EPERM_ERRNO); - - provider.read(fakeCallback); - - assert.deepStrictEqual(fakeCallback.args, [[tests.EPERM_ERRNO]]); - }); - - it('should push entries to storage and call callback with array of entries', () => { - const provider = new TestProvider('directory'); - const fakeEntry = tests.buildFakeFileEntry(); - const fakeCallback = sinon.stub(); - - provider.reader.onEntry.yields(fakeEntry); - provider.reader.onEnd.yields(); - - provider.read(fakeCallback); - - assert.deepStrictEqual(fakeCallback.args, [[null, [fakeEntry]]]); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/async.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/providers/async.ts deleted file mode 100644 index 0a59460..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/async.ts +++ /dev/null @@ -1,40 +0,0 @@ -import AsyncReader from '../readers/async'; -import Settings from '../settings'; -import { Entry, Errno } from '../types'; - -type FailureCallback = (err: Errno) => void; -type SuccessCallback = (err: null, entries: Entry[]) => void; - -export type AsyncCallback = (err: Errno, entries: Entry[]) => void; - -export default class AsyncProvider { - protected readonly _reader: AsyncReader = new AsyncReader(this._root, this._settings); - - private readonly _storage: Set = new Set(); - - constructor(private readonly _root: string, private readonly _settings: Settings) { } - - public read(callback: AsyncCallback): void { - this._reader.onError((error) => { - callFailureCallback(callback, error); - }); - - this._reader.onEntry((entry: Entry) => { - this._storage.add(entry); - }); - - this._reader.onEnd(() => { - callSuccessCallback(callback, [...this._storage]); - }); - - this._reader.read(); - } -} - -function callFailureCallback(callback: AsyncCallback, error: Errno): void { - (callback as FailureCallback)(error); -} - -function callSuccessCallback(callback: AsyncCallback, entries: Entry[]): void { - (callback as unknown as SuccessCallback)(null, entries); -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/index.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/providers/index.ts deleted file mode 100644 index fa06230..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import AsyncProvider from './async'; -import StreamProvider from './stream'; -import SyncProvider from './sync'; - -export { - AsyncProvider, - StreamProvider, - SyncProvider -}; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/stream.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/providers/stream.spec.ts deleted file mode 100644 index b96f41c..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/stream.spec.ts +++ /dev/null @@ -1,90 +0,0 @@ -import * as assert from 'assert'; -import { Readable } from 'stream'; - -import * as sinon from 'sinon'; - -import AsyncReader from '../readers/async'; -import Settings from '../settings'; -import * as tests from '../tests'; -import StreamProvider from './stream'; - -class TestProvider extends StreamProvider { - protected readonly _reader: AsyncReader = new tests.TestAsyncReader() as unknown as AsyncReader; - - constructor(_root: string, _settings: Settings = new Settings()) { - super(_root, _settings); - - this._stream.emit = sinon.stub(); - this._stream.push = sinon.stub(); - } - - public get reader(): tests.TestAsyncReader { - return this._reader as unknown as tests.TestAsyncReader; - } - - public get stream(): sinon.SinonStubbedInstance { - return this._stream as unknown as sinon.SinonStubbedInstance; - } -} - -describe('Providers → Stream', () => { - describe('.read', () => { - it('should return stream', () => { - const provider = new TestProvider('directory'); - - const stream = provider.read(); - - assert.ok(stream instanceof Readable); - }); - - it('should call reader function with correct set of arguments', () => { - const provider = new TestProvider('directory'); - - provider.read(); - - assert.ok(provider.reader.read.called); - }); - - it('should re-emit the "error" event from reader', () => { - const provider = new TestProvider('directory'); - - provider.reader.onError.yields(tests.EPERM_ERRNO); - - provider.read(); - - assert.deepStrictEqual(provider.stream.emit.args, [['error', tests.EPERM_ERRNO]]); - }); - - it('should call the "push" method with entry value for the "entry" event from reader', () => { - const provider = new TestProvider('directory'); - const fakeEntry = tests.buildFakeFileEntry(); - - provider.reader.onEntry.yields(fakeEntry); - - provider.read(); - - assert.deepStrictEqual(provider.stream.push.args, [[fakeEntry]]); - }); - - it('should call the "push" method with "null" value for the "end" event from reader', () => { - const provider = new TestProvider('directory'); - - provider.reader.onEnd.yields(); - - provider.read(); - - assert.deepStrictEqual(provider.stream.push.args, [[null]]); - }); - - it('should do not destroy reader when it is already destroyed', () => { - const provider = new TestProvider('directory'); - - const stream = provider.read(); - - stream.destroy(); - - assert.ok(stream.destroyed); - assert.doesNotThrow(() => stream.destroy()); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/stream.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/providers/stream.ts deleted file mode 100644 index a43a93a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/stream.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Readable } from 'stream'; -import AsyncReader from '../readers/async'; -import Settings from '../settings'; - -export default class StreamProvider { - protected readonly _reader: AsyncReader = new AsyncReader(this._root, this._settings); - protected readonly _stream: Readable = new Readable({ - objectMode: true, - read: () => { /* noop */ }, - destroy: () => { - if (!this._reader.isDestroyed) { - this._reader.destroy(); - } - } - }); - - constructor(private readonly _root: string, private readonly _settings: Settings) { } - - public read(): Readable { - 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; - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/sync.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/providers/sync.spec.ts deleted file mode 100644 index 1f45f83..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/sync.spec.ts +++ /dev/null @@ -1,34 +0,0 @@ -import * as assert from 'assert'; - -import SyncReader from '../readers/sync'; -import Settings from '../settings'; -import * as tests from '../tests'; -import SyncProvider from './sync'; - -class TestProvider extends SyncProvider { - protected readonly _reader: SyncReader = new tests.TestSyncReader() as unknown as SyncReader; - - constructor(_root: string, _settings: Settings = new Settings()) { - super(_root, _settings); - } - - public get reader(): tests.TestSyncReader { - return this._reader as unknown as tests.TestSyncReader; - } -} - -describe('Providers → Sync', () => { - describe('.read', () => { - it('should call reader function with correct set of arguments and got result', () => { - const provider = new TestProvider('directory'); - const fakeEntry = tests.buildFakeFileEntry(); - - provider.reader.read.returns([fakeEntry]); - - const actual = provider.read(); - - assert.deepStrictEqual(actual, [fakeEntry]); - assert.ok(provider.reader.read.called); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/sync.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/providers/sync.ts deleted file mode 100644 index 3a951c9..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/providers/sync.ts +++ /dev/null @@ -1,13 +0,0 @@ -import SyncReader from '../readers/sync'; -import Settings from '../settings'; -import { Entry } from '../types'; - -export default class SyncProvider { - protected readonly _reader: SyncReader = new SyncReader(this._root, this._settings); - - constructor(private readonly _root: string, private readonly _settings: Settings) { } - - public read(): Entry[] { - return this._reader.read(); - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/async.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/async.spec.ts deleted file mode 100644 index 0775439..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/async.spec.ts +++ /dev/null @@ -1,232 +0,0 @@ -import * as assert from 'assert'; -import * as path from 'path'; - -import * as fsScandir from '@nodelib/fs.scandir'; -import * as sinon from 'sinon'; - -import Settings from '../settings'; -import * as tests from '../tests'; -import { Entry } from '../types'; -import AsyncReader from './async'; - -type ScandirSignature = typeof fsScandir.scandir; - -class TestReader extends AsyncReader { - protected readonly _scandir: ScandirSignature = sinon.stub() as unknown as ScandirSignature; - - constructor(_root: string, _settings: Settings = new Settings()) { - super(_root, _settings); - } - - public get scandir(): sinon.SinonStub { - return this._scandir as unknown as sinon.SinonStub; - } -} - -describe('Readers → Async', () => { - describe('.read', () => { - it('should emit "error" event when the first call of scandir is broken', (done) => { - const reader = new TestReader('non-exist-directory'); - - reader.scandir.yields(tests.EPERM_ERRNO); - - reader.onError((error) => { - assert.ok(error); - done(); - }); - - reader.read(); - }); - - it('should emit "end" event when the first call of scandir is broken but this error can be suppressed', (done) => { - const settings = new Settings({ - errorFilter: (error) => error.code === 'EPERM' - }); - const reader = new TestReader('non-exist-directory', settings); - - reader.scandir.yields(tests.EPERM_ERRNO); - - reader.onEnd(() => { - done(); - }); - - reader.read(); - }); - - it('should do not emit events after first broken scandir call', (done) => { - const reader = new TestReader('directory'); - - const firstFakeDirectoryEntry = tests.buildFakeDirectoryEntry({ name: 'a', path: 'directory/a' }); - const secondFakeDirectoryEntry = tests.buildFakeDirectoryEntry({ name: 'b', path: 'directory/b' }); - - reader.scandir.onFirstCall().yields(null, [firstFakeDirectoryEntry, secondFakeDirectoryEntry]); - reader.scandir.onSecondCall().yieldsAsync(tests.EPERM_ERRNO); - reader.scandir.onThirdCall().yieldsAsync(tests.EPERM_ERRNO); - - /** - * If the behavior is broken, then a third scandir call will trigger an unhandled error. - */ - reader.onError((error) => { - assert.ok(error); - done(); - }); - - reader.read(); - }); - - it('should return entries', (done) => { - const reader = new TestReader('directory'); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - - const entries: Entry[] = []; - - reader.onEntry((entry) => entries.push(entry)); - - reader.onEnd(() => { - assert.deepStrictEqual(entries, [fakeDirectoryEntry, fakeFileEntry]); - done(); - }); - - reader.read(); - }); - - it('should push to results only directories', (done) => { - const settings = new Settings({ entryFilter: (entry) => !entry.dirent.isFile() }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - - const entries: Entry[] = []; - - reader.onEntry((entry) => entries.push(entry)); - - reader.onEnd(() => { - assert.deepStrictEqual(entries, [fakeDirectoryEntry]); - done(); - }); - - reader.read(); - }); - - it('should do not read root directory', (done) => { - const settings = new Settings({ deepFilter: () => false }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - - const entries: Entry[] = []; - - reader.onEntry((entry) => entries.push(entry)); - - reader.onEnd(() => { - assert.deepStrictEqual(entries, [fakeDirectoryEntry]); - done(); - }); - - reader.read(); - }); - - it('should set base path to entry when the `basePath` option is exist', (done) => { - const settings = new Settings({ basePath: 'base' }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - - const entries: Entry[] = []; - - reader.onEntry((entry) => entries.push(entry)); - - reader.onEnd(() => { - assert.strictEqual(entries[0].path, path.join('base', fakeDirectoryEntry.name)); - assert.strictEqual(entries[1].path, path.join('base', 'fake', fakeFileEntry.name)); - done(); - }); - - reader.read(); - }); - - it('should set base path to entry when the `basePath` option is exist and value is an empty string', (done) => { - const settings = new Settings({ basePath: '' }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().yields(null, [fakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - - const entries: Entry[] = []; - - reader.onEntry((entry) => entries.push(entry)); - - reader.onEnd(() => { - assert.strictEqual(entries[0].path, path.join(fakeDirectoryEntry.name)); - assert.strictEqual(entries[1].path, path.join('fake', fakeFileEntry.name)); - done(); - }); - - reader.read(); - }); - }); - - describe('.destroy', () => { - it('should do not emit entries after destroy', (done) => { - const reader = new TestReader('directory'); - - const firstFakeDirectoryEntry = tests.buildFakeDirectoryEntry({ name: 'a', path: 'directory/a' }); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().yields(null, [firstFakeDirectoryEntry]); - reader.scandir.onSecondCall().yields(null, [fakeFileEntry]); - - reader.onEntry((entry) => { - if (entry.name === 'a') { - reader.destroy(); - } else { - assert.fail('should do not emit entries after destroy'); - } - }); - - reader.onEnd(() => { - done(); - }); - - reader.read(); - }); - - it('should mark stream as "destroyed" after first destroy', () => { - const reader = new TestReader('directory'); - - reader.destroy(); - - assert.ok(reader.isDestroyed); - }); - - it('should throw an error when trying to destroy reader twice', () => { - const reader = new TestReader('directory'); - - const expectedErrorMessageRe = /The reader is already destroyed/; - - reader.destroy(); - - assert.throws(() => reader.destroy(), expectedErrorMessageRe); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/async.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/async.ts deleted file mode 100644 index d82884a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/async.ts +++ /dev/null @@ -1,126 +0,0 @@ -import { EventEmitter } from 'events'; - -import * as fsScandir from '@nodelib/fs.scandir'; -import * as fastq from 'fastq'; - -import Settings from '../settings'; -import { Entry, Errno, QueueItem } from '../types'; -import * as common from './common'; -import Reader from './reader'; - -type EntryEventCallback = (entry: Entry) => void; -type ErrorEventCallback = (error: Errno) => void; -type EndEventCallback = () => void; - -export default class AsyncReader extends Reader { - protected readonly _scandir: typeof fsScandir.scandir = fsScandir.scandir; - protected readonly _emitter: EventEmitter = new EventEmitter(); - - private readonly _queue: fastq.queue = fastq(this._worker.bind(this), this._settings.concurrency); - private _isFatalError: boolean = false; - private _isDestroyed: boolean = false; - - constructor(_root: string, protected readonly _settings: Settings) { - super(_root, _settings); - - this._queue.drain = () => { - if (!this._isFatalError) { - this._emitter.emit('end'); - } - }; - } - - public read(): EventEmitter { - this._isFatalError = false; - this._isDestroyed = false; - - setImmediate(() => { - this._pushToQueue(this._root, this._settings.basePath); - }); - - return this._emitter; - } - - public get isDestroyed(): boolean { - return this._isDestroyed; - } - - public destroy(): void { - if (this._isDestroyed) { - throw new Error('The reader is already destroyed'); - } - - this._isDestroyed = true; - this._queue.killAndDrain(); - } - - public onEntry(callback: EntryEventCallback): void { - this._emitter.on('entry', callback); - } - - public onError(callback: ErrorEventCallback): void { - this._emitter.once('error', callback); - } - - public onEnd(callback: EndEventCallback): void { - this._emitter.once('end', callback); - } - - private _pushToQueue(directory: string, base?: string): void { - const queueItem: QueueItem = { directory, base }; - - this._queue.push(queueItem, (error: Error | null) => { - if (error !== null) { - this._handleError(error); - } - }); - } - - private _worker(item: QueueItem, done: fastq.done): void { - this._scandir(item.directory, this._settings.fsScandirSettings, (error: NodeJS.ErrnoException | null, entries) => { - if (error !== null) { - return done(error, undefined); - } - - for (const entry of entries) { - this._handleEntry(entry, item.base); - } - - done(null as unknown as Error, undefined); - }); - } - - private _handleError(error: Error): void { - if (this._isDestroyed || !common.isFatalError(this._settings, error)) { - return; - } - - this._isFatalError = true; - this._isDestroyed = true; - this._emitter.emit('error', error); - } - - private _handleEntry(entry: Entry, base?: string): void { - 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); - } - } - - private _emitEntry(entry: Entry): void { - this._emitter.emit('entry', entry); - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/common.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/common.spec.ts deleted file mode 100644 index b883ddd..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/common.spec.ts +++ /dev/null @@ -1,114 +0,0 @@ -import * as assert from 'assert'; -import * as path from 'path'; - -import Settings from '../settings'; -import * as tests from '../tests'; -import * as common from './common'; - -describe('Readers → Common', () => { - describe('.isFatalError', () => { - it('should return true when filter is not defined', () => { - const settings = new Settings(); - - const actual = common.isFatalError(settings, tests.EPERM_ERRNO); - - assert.ok(actual); - }); - - it('should return true when the error cannot be suppressed', () => { - const settings = new Settings({ - errorFilter: (error) => error.code === 'ENOENT' - }); - - const actual = common.isFatalError(settings, tests.EPERM_ERRNO); - - assert.ok(actual); - }); - - it('should return false when the error can be suppressed', () => { - const settings = new Settings({ - errorFilter: (error) => error.code === 'EPERM' - }); - - const actual = common.isFatalError(settings, tests.EPERM_ERRNO); - - assert.ok(!actual); - }); - }); - - describe('.isAppliedFilter', () => { - it('should return true when the filter is not defined', () => { - const settings = new Settings(); - const entry = tests.buildFakeFileEntry(); - - const actual = common.isAppliedFilter(settings.entryFilter, entry); - - assert.ok(actual); - }); - - it('should return true when the entry will be applied', () => { - const settings = new Settings({ - entryFilter: (entry) => entry.name === 'fake.txt' - }); - const fakeEntry = tests.buildFakeFileEntry(); - - const actual = common.isAppliedFilter(settings.entryFilter, fakeEntry); - - assert.ok(actual); - }); - - it('should return false when the entry will be skipped', () => { - const settings = new Settings({ - entryFilter: (entry) => entry.name !== 'fake.txt' - }); - const fakeEntry = tests.buildFakeFileEntry(); - - const actual = common.isAppliedFilter(settings.entryFilter, fakeEntry); - - assert.ok(!actual); - }); - }); - - describe('.replacePathSegmentSeparator', () => { - it('should replace path segment separator', () => { - const filepath = path.join('directory', 'file.txt'); - - const expected = 'directory_file.txt'; - - const actual = common.replacePathSegmentSeparator(filepath, '_'); - - assert.strictEqual(actual, expected); - }); - }); - - describe('.joinPathSegments', () => { - it('should return concatenated string', () => { - const expected = 'a&b'; - - const actual = common.joinPathSegments('a', 'b', '&'); - - assert.strictEqual(actual, expected); - }); - - it('should return second part of path when the first path is an empty string', () => { - const expected = 'b'; - - const actual = common.joinPathSegments('', 'b', '&'); - - assert.strictEqual(actual, expected); - }); - - it('should return correct string when the first segment ens with the separator symbol', () => { - // Unix - assert.strictEqual(common.joinPathSegments('/', 'a', '/'), '/a'); - assert.strictEqual(common.joinPathSegments('//', 'a', '/'), '//a'); - assert.strictEqual(common.joinPathSegments('/a/', 'b', '/'), '/a/b'); - - // Windows - assert.strictEqual(common.joinPathSegments('C:/', 'Users', '/'), 'C:/Users'); - assert.strictEqual(common.joinPathSegments('C:\\', 'Users', '\\'), 'C:\\Users'); - assert.strictEqual(common.joinPathSegments('//?/C:/', 'Users', '/'), '//?/C:/Users'); - assert.strictEqual(common.joinPathSegments('\\\\?\\C:\\', 'Users', '\\'), '\\\\?\\C:\\Users'); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/common.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/common.ts deleted file mode 100644 index eeec667..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/common.ts +++ /dev/null @@ -1,33 +0,0 @@ -import Settings, { FilterFunction } from '../settings'; -import { Errno } from '../types'; - -export function isFatalError(settings: Settings, error: Errno): boolean { - if (settings.errorFilter === null) { - return true; - } - - return !settings.errorFilter(error); -} - -export function isAppliedFilter(filter: FilterFunction | null, value: T): boolean { - return filter === null || filter(value); -} - -export function replacePathSegmentSeparator(filepath: string, separator: string): string { - return filepath.split(/[/\\]/).join(separator); -} - -export function joinPathSegments(a: string, b: string, separator: string): string { - 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; -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/reader.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/reader.spec.ts deleted file mode 100644 index 2ac71bf..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/reader.spec.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as assert from 'assert'; -import * as path from 'path'; - -import Settings, { Options } from '../settings'; -import Reader from './reader'; - -class TestReader extends Reader { - public get root(): string { - return this._root; - } -} - -function getReader(root: string, options: Options = {}): TestReader { - return new TestReader(root, new Settings(options)); -} - -describe('Readers → Reader', () => { - describe('Constructor', () => { - it('should return root path with replaced path segment separators', () => { - const root = path.join('directory', 'file.txt'); - const reader = getReader(root, { pathSegmentSeparator: '_' }); - - const expected = 'directory_file.txt'; - - const actual = reader.root; - - assert.strictEqual(actual, expected); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/reader.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/reader.ts deleted file mode 100644 index fa434ad..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/reader.ts +++ /dev/null @@ -1,8 +0,0 @@ -import Settings from '../settings'; -import * as common from './common'; - -export default class Reader { - constructor(protected readonly _root: string, protected readonly _settings: Settings) { - this._root = common.replacePathSegmentSeparator(_root, _settings.pathSegmentSeparator); - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/sync.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/sync.spec.ts deleted file mode 100644 index d850d13..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/sync.spec.ts +++ /dev/null @@ -1,126 +0,0 @@ -import * as assert from 'assert'; -import * as path from 'path'; - -import * as sinon from 'sinon'; - -import Settings from '../settings'; -import * as tests from '../tests'; -import SyncReader from './sync'; - -class TestReader extends SyncReader { - protected readonly _scandir: sinon.SinonStub = sinon.stub(); - - constructor(_root: string, _settings: Settings = new Settings()) { - super(_root, _settings); - } - - public get scandir(): sinon.SinonStub { - return this._scandir; - } -} - -describe('Readers → Sync', () => { - describe('.read', () => { - it('should throw an error when the first call of scandir is broken', () => { - const reader = new TestReader('non-exist-directory'); - - reader.scandir.throws(tests.EPERM_ERRNO); - - assert.throws(() => reader.read(), { code: 'EPERM' }); - }); - - it('should return empty array when the first call of scandir is broken but this error can be suppressed', () => { - const settings = new Settings({ - errorFilter: (error) => error.code === 'EPERM' - }); - const reader = new TestReader('non-exist-directory', settings); - - reader.scandir.throws(tests.EPERM_ERRNO); - - const actual = reader.read(); - - assert.deepStrictEqual(actual, []); - }); - - it('should return entries', () => { - const reader = new TestReader('directory'); - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - - const expected = [fakeDirectoryEntry, fakeFileEntry]; - - const actual = reader.read(); - - assert.deepStrictEqual(actual, expected); - }); - - it('should push to results only directories', () => { - const settings = new Settings({ entryFilter: (entry) => !entry.dirent.isFile() }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - - const expected = [fakeDirectoryEntry]; - - const actual = reader.read(); - - assert.deepStrictEqual(actual, expected); - }); - - it('should do not read root directory', () => { - const settings = new Settings({ deepFilter: () => false }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - - const expected = [fakeDirectoryEntry]; - - const actual = reader.read(); - - assert.deepStrictEqual(actual, expected); - }); - - it('should set base path to entry when the `basePath` option is exist', () => { - const settings = new Settings({ basePath: 'base' }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - - const actual = reader.read(); - - assert.strictEqual(actual[0].path, path.join('base', fakeDirectoryEntry.name)); - assert.strictEqual(actual[1].path, path.join('base', 'fake', fakeFileEntry.name)); - }); - - it('should set base path to entry when the `basePath` option is exist and value is an empty string', () => { - const settings = new Settings({ basePath: '' }); - const reader = new TestReader('directory', settings); - - const fakeDirectoryEntry = tests.buildFakeDirectoryEntry(); - const fakeFileEntry = tests.buildFakeFileEntry(); - - reader.scandir.onFirstCall().returns([fakeDirectoryEntry]); - reader.scandir.onSecondCall().returns([fakeFileEntry]); - - const actual = reader.read(); - - assert.strictEqual(actual[0].path, fakeDirectoryEntry.name); - assert.strictEqual(actual[1].path, path.join('fake', fakeFileEntry.name)); - }); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/sync.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/readers/sync.ts deleted file mode 100644 index 5e24f87..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/readers/sync.ts +++ /dev/null @@ -1,69 +0,0 @@ -import * as fsScandir from '@nodelib/fs.scandir'; - -import { Entry, Errno, QueueItem } from '../types'; -import * as common from './common'; -import Reader from './reader'; - -export default class SyncReader extends Reader { - protected readonly _scandir: typeof fsScandir.scandirSync = fsScandir.scandirSync; - - private readonly _storage: Set = new Set(); - private readonly _queue: Set = new Set(); - - public read(): Entry[] { - this._pushToQueue(this._root, this._settings.basePath); - this._handleQueue(); - - return [...this._storage]; - } - - private _pushToQueue(directory: string, base?: string): void { - this._queue.add({ directory, base }); - } - - private _handleQueue(): void { - for (const item of this._queue.values()) { - this._handleDirectory(item.directory, item.base); - } - } - - private _handleDirectory(directory: string, base?: string): void { - try { - const entries = this._scandir(directory, this._settings.fsScandirSettings); - - for (const entry of entries) { - this._handleEntry(entry, base); - } - } catch (error) { - this._handleError(error as Errno); - } - } - - private _handleError(error: Errno): void { - if (!common.isFatalError(this._settings, error)) { - return; - } - - throw error; - } - - private _handleEntry(entry: Entry, base?: string): void { - 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); - } - } - - private _pushToStorage(entry: Entry): void { - this._storage.add(entry); - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/settings.spec.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/settings.spec.ts deleted file mode 100644 index 2e1419e..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/settings.spec.ts +++ /dev/null @@ -1,33 +0,0 @@ -import * as assert from 'assert'; - -import * as fsScandir from '@nodelib/fs.scandir'; - -import Settings from './settings'; - -describe('Settings', () => { - it('should return instance with default values', () => { - const fsWalkSettings = new Settings(); - const fsScandirSettings = new fsScandir.Settings({ - followSymbolicLinks: undefined, - fs: undefined, - pathSegmentSeparator: undefined, - stats: undefined, - throwErrorOnBrokenSymbolicLink: undefined - }); - - assert.strictEqual(fsWalkSettings.basePath, undefined); - assert.strictEqual(fsWalkSettings.concurrency, Infinity); - assert.strictEqual(fsWalkSettings.deepFilter, null); - assert.strictEqual(fsWalkSettings.entryFilter, null); - assert.strictEqual(fsWalkSettings.errorFilter, null); - assert.deepStrictEqual(fsWalkSettings.fsScandirSettings, fsScandirSettings); - }); - - it('should return instance with custom values', () => { - const filter = (): boolean => true; - - const fsWalkSettings = new Settings({ entryFilter: filter }); - - assert.strictEqual(fsWalkSettings.entryFilter, filter); - }); -}); diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/settings.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/settings.ts deleted file mode 100644 index 3b7a25a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/settings.ts +++ /dev/null @@ -1,46 +0,0 @@ -import * as path from 'path'; - -import * as fsScandir from '@nodelib/fs.scandir'; - -import { Entry, Errno } from './types'; - -export type FilterFunction = (value: T) => boolean; -export type DeepFilterFunction = FilterFunction; -export type EntryFilterFunction = FilterFunction; -export type ErrorFilterFunction = FilterFunction; - -export type Options = { - basePath?: string; - concurrency?: number; - deepFilter?: DeepFilterFunction; - entryFilter?: EntryFilterFunction; - errorFilter?: ErrorFilterFunction; - followSymbolicLinks?: boolean; - fs?: Partial; - pathSegmentSeparator?: string; - stats?: boolean; - throwErrorOnBrokenSymbolicLink?: boolean; -}; - -export default class Settings { - public readonly basePath?: string = this._getValue(this._options.basePath, undefined); - public readonly concurrency: number = this._getValue(this._options.concurrency, Infinity); - public readonly deepFilter: DeepFilterFunction | null = this._getValue(this._options.deepFilter, null); - public readonly entryFilter: EntryFilterFunction | null = this._getValue(this._options.entryFilter, null); - public readonly errorFilter: ErrorFilterFunction | null = this._getValue(this._options.errorFilter, null); - public readonly pathSegmentSeparator: string = this._getValue(this._options.pathSegmentSeparator, path.sep); - - public readonly fsScandirSettings: fsScandir.Settings = new fsScandir.Settings({ - followSymbolicLinks: this._options.followSymbolicLinks, - fs: this._options.fs, - pathSegmentSeparator: this._options.pathSegmentSeparator, - stats: this._options.stats, - throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink - }); - - constructor(private readonly _options: Options = {}) { } - - private _getValue(option: T | undefined, value: T): T { - return option ?? value; - } -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/tests/index.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/tests/index.ts deleted file mode 100644 index 651b246..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/tests/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -import * as sinon from 'sinon'; - -import { Dirent } from '../../../fs.macchiato'; -import { Entry, Errno } from '../types'; - -export function buildFakeFileEntry(entry?: Partial): Entry { - return { - name: 'fake.txt', - path: 'directory/fake.txt', - dirent: new Dirent({ name: 'fake.txt' }), - ...entry - }; -} - -export function buildFakeDirectoryEntry(entry?: Partial): Entry { - return { - name: 'fake', - path: 'directory/fake', - dirent: new Dirent({ name: 'fake', isFile: false, isDirectory: true }), - ...entry - }; -} - -export const EPERM_ERRNO: Errno = { - name: 'EPERM', - code: 'EPERM', - message: 'EPERM' -}; - -export class TestAsyncReader { - public read: sinon.SinonStub = sinon.stub(); - public destroy: sinon.SinonStub = sinon.stub(); - public onError: sinon.SinonStub = sinon.stub(); - public onEntry: sinon.SinonStub = sinon.stub(); - public onEnd: sinon.SinonStub = sinon.stub(); -} - -export class TestSyncReader { - public read: sinon.SinonStub = sinon.stub(); -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/src/types/index.ts b/pak-builder/node_modules/@nodelib/fs.walk/src/types/index.ts deleted file mode 100644 index 3dba47a..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/src/types/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -import * as scandir from '@nodelib/fs.scandir'; - -export type Entry = scandir.Entry; -export type Errno = NodeJS.ErrnoException; - -export type QueueItem = { - directory: string; - base?: string; -}; diff --git a/pak-builder/node_modules/@nodelib/fs.walk/tsconfig.json b/pak-builder/node_modules/@nodelib/fs.walk/tsconfig.json deleted file mode 100644 index 3202b34..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "compilerOptions": { - "rootDir": "src", - "outDir": "out" - }, - "references": [ - { - "path": "../fs.macchiato" - }, - { - "path": "../fs.scandir" - } - ] -} diff --git a/pak-builder/node_modules/@nodelib/fs.walk/tsconfig.tsbuildinfo b/pak-builder/node_modules/@nodelib/fs.walk/tsconfig.tsbuildinfo deleted file mode 100644 index 2c9a126..0000000 --- a/pak-builder/node_modules/@nodelib/fs.walk/tsconfig.tsbuildinfo +++ /dev/null @@ -1,1894 +0,0 @@ -{ - "program": { - "fileInfos": { - "../../../node_modules/typescript/lib/lib.es5.d.ts": { - "version": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", - "signature": "70ae6416528e68c2ee7b62892200d2ca631759943d4429f8b779b947ff1e124d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.d.ts": { - "version": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", - "signature": "dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2016.d.ts": { - "version": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", - "signature": "7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2017.d.ts": { - "version": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", - "signature": "8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.es2018.d.ts": { - "version": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", - "signature": "5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06", - "affectsGlobalScope": false - }, - "../../../node_modules/typescript/lib/lib.dom.d.ts": { - "version": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", - "signature": "9affb0a2ddc57df5b8174c0af96c288d697a262e5bc9ca1f544c999dc64a91e6", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts": { - "version": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", - "signature": "fb0c09b697dc42afa84d1587e3c994a2f554d2a45635e4f0618768d16a86b69a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts": { - "version": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", - "signature": "7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.scripthost.d.ts": { - "version": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", - "signature": "097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.core.d.ts": { - "version": "63e0cc12d0f77394094bd19e84464f9840af0071e5b9358ced30511efef1d8d2", - "signature": "63e0cc12d0f77394094bd19e84464f9840af0071e5b9358ced30511efef1d8d2", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts": { - "version": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", - "signature": "43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts": { - "version": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", - "signature": "cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts": { - "version": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", - "signature": "42f5e41e5893da663dbf0394268f54f1da4b43dc0ddd2ea4bf471fe5361d6faf", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts": { - "version": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", - "signature": "0b7a905675e6cb4211c128f0a3aa47d414b275180a299a9aad5d3ec298abbfc4", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts": { - "version": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", - "signature": "dfff68b3c34338f6b307a25d4566de15eed7973b0dc5d69f9fde2bcac1c25315", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts": { - "version": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", - "signature": "cb609802a8698aa28b9c56331d4b53f590ca3c1c3a255350304ae3d06017779d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts": { - "version": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", - "signature": "3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts": { - "version": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", - "signature": "4670208dd7da9d6c774ab1b75c1527a810388c7989c4905de6aaea8561cb9dce", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts": { - "version": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", - "signature": "3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.object.d.ts": { - "version": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", - "signature": "17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts": { - "version": "d0db416bccdb33975548baf09a42ee8c47eace1aac7907351a000f1e568e7232", - "signature": "d0db416bccdb33975548baf09a42ee8c47eace1aac7907351a000f1e568e7232", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.string.d.ts": { - "version": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", - "signature": "6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts": { - "version": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", - "signature": "12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts": { - "version": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", - "signature": "b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts": { - "version": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", - "signature": "0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts": { - "version": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", - "signature": "a40c4d82bf13fcded295ac29f354eb7d40249613c15e07b53f2fc75e45e16359", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts": { - "version": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", - "signature": "df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts": { - "version": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", - "signature": "bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts": { - "version": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", - "signature": "c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts": { - "version": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", - "signature": "4f435f794b7853c55e2ae7cff6206025802aa79232d2867544178f2ca8ff5eaa", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts": { - "version": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", - "signature": "89bf2b7a601b73ea4311eda9c41f86a58994fec1bee3b87c4a14d68d9adcdcbd", - "affectsGlobalScope": true - }, - "../../../node_modules/typescript/lib/lib.es2017.full.d.ts": { - "version": "d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed", - "signature": "d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/globals.d.ts": { - "version": "74d61a149bea97a20b324410e4520796ffc36dcf35b54f03cfd0cfe922bb61cc", - "signature": "74d61a149bea97a20b324410e4520796ffc36dcf35b54f03cfd0cfe922bb61cc", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/async_hooks.d.ts": { - "version": "950e73fe3bcda768b5f593cec3f7137bb7cab709a82be89dd08c2a20568a28e2", - "signature": "950e73fe3bcda768b5f593cec3f7137bb7cab709a82be89dd08c2a20568a28e2", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/buffer.d.ts": { - "version": "61215c1a376bbe8f51cab4cc4ddbf3746387015113c37a84d981d4738c21b878", - "signature": "61215c1a376bbe8f51cab4cc4ddbf3746387015113c37a84d981d4738c21b878", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/child_process.d.ts": { - "version": "5eca801fb67009c5728b88793670f0137b5e31a8f7d1576d5110a1276feaba8c", - "signature": "5eca801fb67009c5728b88793670f0137b5e31a8f7d1576d5110a1276feaba8c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/cluster.d.ts": { - "version": "ce629710e5e58724902b753212e97861fd73e2aa09f5d88cb6d55dc763cf8c8a", - "signature": "ce629710e5e58724902b753212e97861fd73e2aa09f5d88cb6d55dc763cf8c8a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/console.d.ts": { - "version": "525c8fc510d9632d2a0a9de2d41c3ac1cdd79ff44d3b45c6d81cacabb683528d", - "signature": "525c8fc510d9632d2a0a9de2d41c3ac1cdd79ff44d3b45c6d81cacabb683528d", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/constants.d.ts": { - "version": "0279383034fae92db8097d0a41350293553599cc9c3c917b60e2542d0dfcbd44", - "signature": "0279383034fae92db8097d0a41350293553599cc9c3c917b60e2542d0dfcbd44", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/crypto.d.ts": { - "version": "9b9f8b151698fb1798f04b8375e240c764f094e730192e6a5353abdb1c709d6f", - "signature": "9b9f8b151698fb1798f04b8375e240c764f094e730192e6a5353abdb1c709d6f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/dgram.d.ts": { - "version": "37c4598a5f2025c97492e18bed8909ccd10bf26bb5f54d5f6009f9153291af91", - "signature": "37c4598a5f2025c97492e18bed8909ccd10bf26bb5f54d5f6009f9153291af91", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/dns.d.ts": { - "version": "ef226a42de7022eacdfa0f15aabf73b46c47af93044c8ebfab8aa8e3cf6c330c", - "signature": "ef226a42de7022eacdfa0f15aabf73b46c47af93044c8ebfab8aa8e3cf6c330c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/domain.d.ts": { - "version": "d5b7c8819ce1bd31a45f7675309e145ec28e3aa1b60a8e0637fd0e8916255baa", - "signature": "d5b7c8819ce1bd31a45f7675309e145ec28e3aa1b60a8e0637fd0e8916255baa", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/events.d.ts": { - "version": "76048f3c7325a6c1fa6306d40eb0c8570fa0209d09472d46f9b1221f66edae6f", - "signature": "76048f3c7325a6c1fa6306d40eb0c8570fa0209d09472d46f9b1221f66edae6f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/fs.d.ts": { - "version": "03be37150cc8fe48fd243169653f15149e0ed4a34eea0cae027b708d39eb01f8", - "signature": "03be37150cc8fe48fd243169653f15149e0ed4a34eea0cae027b708d39eb01f8", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/http.d.ts": { - "version": "f50ba0d2d8f891fa11326db36e6c25fe14bce747cf2bd9b554de3bb2a814f49c", - "signature": "f50ba0d2d8f891fa11326db36e6c25fe14bce747cf2bd9b554de3bb2a814f49c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/http2.d.ts": { - "version": "48b53111cc4ce136803fbf857cd8de2d5df33895b1af714a87caf87562182e46", - "signature": "48b53111cc4ce136803fbf857cd8de2d5df33895b1af714a87caf87562182e46", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/https.d.ts": { - "version": "dacbe08610729f6343ea9880ea8e737c6d7a6efa4a318d8f6acaf85db4aceed6", - "signature": "dacbe08610729f6343ea9880ea8e737c6d7a6efa4a318d8f6acaf85db4aceed6", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/inspector.d.ts": { - "version": "4218ced3933a31eed1278d350dd63c5900df0f0904f57d61c054d7a4b83dbe4c", - "signature": "4218ced3933a31eed1278d350dd63c5900df0f0904f57d61c054d7a4b83dbe4c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/module.d.ts": { - "version": "03394bf8deb8781b490ae9266a843fbdf00647947d79e25fcbf1d89a9e9c8a66", - "signature": "03394bf8deb8781b490ae9266a843fbdf00647947d79e25fcbf1d89a9e9c8a66", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/net.d.ts": { - "version": "358398fe4034395d85c87c319cca7a04001434b13dc68d067481ecb374385bfc", - "signature": "358398fe4034395d85c87c319cca7a04001434b13dc68d067481ecb374385bfc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/os.d.ts": { - "version": "d9bc6f1917c24d862a68d2633e4a32fd586bfe3e412e5d11fd07d8266b94ced5", - "signature": "d9bc6f1917c24d862a68d2633e4a32fd586bfe3e412e5d11fd07d8266b94ced5", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/path.d.ts": { - "version": "5fb30076f0e0e5744db8993648bfb67aadd895f439edad5cce039127a87a8a36", - "signature": "5fb30076f0e0e5744db8993648bfb67aadd895f439edad5cce039127a87a8a36", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/perf_hooks.d.ts": { - "version": "93a8a589862b5ac8fd8bb46426f7b081ba825a5171337dd45de9bf141624d55e", - "signature": "93a8a589862b5ac8fd8bb46426f7b081ba825a5171337dd45de9bf141624d55e", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/process.d.ts": { - "version": "0e0d58f5e90c0a270dac052b9c5ad8ccdfc8271118c2105b361063218d528d6e", - "signature": "0e0d58f5e90c0a270dac052b9c5ad8ccdfc8271118c2105b361063218d528d6e", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/punycode.d.ts": { - "version": "3f6a1fd73c9dc3bd7f4b79bc075297ca6527904df69b0f2c2c94e4c4c7d9a32c", - "signature": "3f6a1fd73c9dc3bd7f4b79bc075297ca6527904df69b0f2c2c94e4c4c7d9a32c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/querystring.d.ts": { - "version": "758948c06a0d02623c7d4ed357ffa79bdc170de6e004046678774a1bfa9a29bb", - "signature": "758948c06a0d02623c7d4ed357ffa79bdc170de6e004046678774a1bfa9a29bb", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/readline.d.ts": { - "version": "2ca26a43dec700c4b0bdc04b123094f4becffda70e3960f3e10b025f7a15ba8f", - "signature": "2ca26a43dec700c4b0bdc04b123094f4becffda70e3960f3e10b025f7a15ba8f", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/repl.d.ts": { - "version": "27c3f3f672a6ce267f7cc34643231032016fa4b6d195c0725db570de0a7a9f91", - "signature": "27c3f3f672a6ce267f7cc34643231032016fa4b6d195c0725db570de0a7a9f91", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/stream.d.ts": { - "version": "9c581919a8c483f5080487ae8ec1dd398d94027aedf8e77436085e7fab23951a", - "signature": "9c581919a8c483f5080487ae8ec1dd398d94027aedf8e77436085e7fab23951a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/string_decoder.d.ts": { - "version": "7e62aac2cc9c0710d772047ad89e8d7117f52592c791eb995ce1f865fedab432", - "signature": "7e62aac2cc9c0710d772047ad89e8d7117f52592c791eb995ce1f865fedab432", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/timers.d.ts": { - "version": "b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9", - "signature": "b40652bf8ce4a18133b31349086523b219724dca8df3448c1a0742528e7ad5b9", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/tls.d.ts": { - "version": "48064f81a8354d04808e7b5bddf570aaf19f894cf1d8a2aa1f56c81decd33508", - "signature": "48064f81a8354d04808e7b5bddf570aaf19f894cf1d8a2aa1f56c81decd33508", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/trace_events.d.ts": { - "version": "a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638", - "signature": "a77fdb357c78b70142b2fdbbfb72958d69e8f765fd2a3c69946c1018e89d4638", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/tty.d.ts": { - "version": "3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748", - "signature": "3c2ac350c3baa61fd2b1925844109e098f4376d0768a4643abc82754fd752748", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/url.d.ts": { - "version": "834545a7726e414890371aec1a89b7915963e08e790e093259e8bed429ef15c6", - "signature": "834545a7726e414890371aec1a89b7915963e08e790e093259e8bed429ef15c6", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/util.d.ts": { - "version": "b248fb69886bce18cf6650491f43f0326ed6d59c8fdf7fd63dbd35bf4ef3e2bc", - "signature": "b248fb69886bce18cf6650491f43f0326ed6d59c8fdf7fd63dbd35bf4ef3e2bc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/v8.d.ts": { - "version": "4407bd5f1d6f748590ba125195eb1d7a003c2de2f3b057456d3ac76a742d2561", - "signature": "4407bd5f1d6f748590ba125195eb1d7a003c2de2f3b057456d3ac76a742d2561", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/vm.d.ts": { - "version": "2b57b7d7191c6e2efc2ed4f87cf1e25c383278ac5d019670406508df42dc34f3", - "signature": "2b57b7d7191c6e2efc2ed4f87cf1e25c383278ac5d019670406508df42dc34f3", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/worker_threads.d.ts": { - "version": "46f0413ecc0d83b047d46dbe03a37c7c760f59f0bb9a8633150e2d9335870675", - "signature": "46f0413ecc0d83b047d46dbe03a37c7c760f59f0bb9a8633150e2d9335870675", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/zlib.d.ts": { - "version": "2ea98f43cfae8dfbefc45d8bd1ec4907bbad33d18203ea8ef8b50d36b97afa35", - "signature": "2ea98f43cfae8dfbefc45d8bd1ec4907bbad33d18203ea8ef8b50d36b97afa35", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/ts3.3/base.d.ts": { - "version": "067b1964df87a4fc98ebffbd2bada6d7ed14a5b032f9071ea39478d82e701a99", - "signature": "067b1964df87a4fc98ebffbd2bada6d7ed14a5b032f9071ea39478d82e701a99", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/globals.global.d.ts": { - "version": "2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1", - "signature": "2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/node/wasi.d.ts": { - "version": "14a6a3cee450438254c004a6b4f1191ec9977186bdeda07764f2a8d90ef71117", - "signature": "14a6a3cee450438254c004a6b4f1191ec9977186bdeda07764f2a8d90ef71117", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/ts3.6/base.d.ts": { - "version": "d170ea32762c00c660740f2cc0ca9526290ab9d9fb9c72282c1fa53cd1a7728e", - "signature": "d170ea32762c00c660740f2cc0ca9526290ab9d9fb9c72282c1fa53cd1a7728e", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/assert.d.ts": { - "version": "54b2276780dc8d538a71b954b87ea081a1e9f90e7f1195f2daf2bddde0bf52df", - "signature": "54b2276780dc8d538a71b954b87ea081a1e9f90e7f1195f2daf2bddde0bf52df", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/base.d.ts": { - "version": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", - "signature": "e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/node/index.d.ts": { - "version": "6fa68653382bd571bc63831e9f9c1307cc52f7310c1470463fe429d84147667d", - "signature": "6fa68653382bd571bc63831e9f9c1307cc52f7310c1470463fe429d84147667d", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/minimatch/index.d.ts": { - "version": "1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633", - "signature": "1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/glob/index.d.ts": { - "version": "393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0", - "signature": "393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/rimraf/index.d.ts": { - "version": "6462324ef579c47415610a63f1aa8b72f5b5114f8fe8307967f9add2bca634f5", - "signature": "6462324ef579c47415610a63f1aa8b72f5b5114f8fe8307967f9add2bca634f5", - "affectsGlobalScope": false - }, - "../fs.scandir/out/adapters/fs.d.ts": { - "version": "6cee571d9f8ea88d197d1614e5cf328391e96dff69ca61ab5299a630d0c65822", - "signature": "6cee571d9f8ea88d197d1614e5cf328391e96dff69ca61ab5299a630d0c65822", - "affectsGlobalScope": false - }, - "../fs.stat/out/adapters/fs.d.ts": { - "version": "ceebf93146ac7b3f85276a2501de57c5cf5bb19742944c958bd831f995b41409", - "signature": "ceebf93146ac7b3f85276a2501de57c5cf5bb19742944c958bd831f995b41409", - "affectsGlobalScope": false - }, - "../fs.stat/out/settings.d.ts": { - "version": "30c47bd1f03a220a10e8c11708a2c73c04135999ca1a35271605f9683d36b432", - "signature": "30c47bd1f03a220a10e8c11708a2c73c04135999ca1a35271605f9683d36b432", - "affectsGlobalScope": false - }, - "../fs.stat/out/types/index.d.ts": { - "version": "8b9fa6dfb2bec7abe9937fe049505d896550b2ad600cb7114b6fe2813b5cf180", - "signature": "8b9fa6dfb2bec7abe9937fe049505d896550b2ad600cb7114b6fe2813b5cf180", - "affectsGlobalScope": false - }, - "../fs.stat/out/providers/async.d.ts": { - "version": "c692034610ac35559227657172f6f76581ee7b16c319c7d5973e19b650f11b9f", - "signature": "c692034610ac35559227657172f6f76581ee7b16c319c7d5973e19b650f11b9f", - "affectsGlobalScope": false - }, - "../fs.stat/out/index.d.ts": { - "version": "079488cc4bf1eef64297994ef8719c078a86380610beea1d1a920c9436997967", - "signature": "079488cc4bf1eef64297994ef8719c078a86380610beea1d1a920c9436997967", - "affectsGlobalScope": false - }, - "../fs.scandir/out/settings.d.ts": { - "version": "354b18c096926d3f35b597b6309d9792b6517840bbf972c095930d067e28de83", - "signature": "354b18c096926d3f35b597b6309d9792b6517840bbf972c095930d067e28de83", - "affectsGlobalScope": false - }, - "../fs.scandir/out/types/index.d.ts": { - "version": "a86bb35bb7b946058e544aba4a7ac5359648d58904184701f1ca23b26b36ccd3", - "signature": "a86bb35bb7b946058e544aba4a7ac5359648d58904184701f1ca23b26b36ccd3", - "affectsGlobalScope": false - }, - "../fs.scandir/out/providers/async.d.ts": { - "version": "fa316e5f457f8a5ef600f305a60cb0031f0cf07c7c6991b520d353739f56c6ad", - "signature": "fa316e5f457f8a5ef600f305a60cb0031f0cf07c7c6991b520d353739f56c6ad", - "affectsGlobalScope": false - }, - "../fs.scandir/out/index.d.ts": { - "version": "105b0c9e3b159a1f32ca33bf1cb5ead919ea15bab7143bd99b298ceb687b0e84", - "signature": "105b0c9e3b159a1f32ca33bf1cb5ead919ea15bab7143bd99b298ceb687b0e84", - "affectsGlobalScope": false - }, - "./src/types/index.ts": { - "version": "6a96e278bdce17d05b4f37250085483a80729a2158c7a867c408c84381028faa", - "signature": "e336f6c501a424c6e016b3244b094d5924d06b320cb659aaa0adb647ab5a9fd6", - "affectsGlobalScope": false - }, - "../../../node_modules/fastq/index.d.ts": { - "version": "f34118dde11e1e6b2402d7e250e6864b0705ec609c4a8cb6e7a64e94bc3800d1", - "signature": "f34118dde11e1e6b2402d7e250e6864b0705ec609c4a8cb6e7a64e94bc3800d1", - "affectsGlobalScope": false - }, - "./src/settings.ts": { - "version": "61f27272c17f7fc99cac0143e912a54f8b9f5e5123e88d3557336ac8d4187016", - "signature": "07924b2c69a8f7019f242fbb1d9363b98731456d8afc791fc0622c91f60598b7", - "affectsGlobalScope": false - }, - "./src/readers/common.ts": { - "version": "32f39c761407b1bf9e1eb841c52f8a55b619933a095789a4cf119d98b54afdf9", - "signature": "a19646eafd0213927fb4c08e69088bebf265b3c16726e8cacaa810b35d0dbeb5", - "affectsGlobalScope": false - }, - "./src/readers/reader.ts": { - "version": "6c46b344594d6870286dde196a95e72e3d63ed61d02a301cddd5a935ec5058d9", - "signature": "b8576d89cac43fe52489662c1218b463cba5197c3bec501e2832f5663327838d", - "affectsGlobalScope": false - }, - "./src/readers/async.ts": { - "version": "c7e216abc4caaf7ca77092e124dc378ff3af3143d246d3ba6182a445423c8109", - "signature": "e7a91ba8f4fa3f6d166235d9c94fc01d3b055fc4a16bc18dcf0c5c1e0491f22b", - "affectsGlobalScope": false - }, - "./src/providers/async.ts": { - "version": "b4666d83483f607e7dacbac5510cf9e108d0d38a79dda411d00857b20614f504", - "signature": "51d7fcd7672c0f53f01c84e5ea8ef5f3947e8a385807de7eecdc0b7464c2dd68", - "affectsGlobalScope": false - }, - "./src/providers/stream.ts": { - "version": "978511ca1df883f878315565dc638a6b0784b9c929d0103dc62c4c41024a1e10", - "signature": "13adf8b7a2325d87ea12edbb2081c0a81a06c575fb3d6c583fd9fc87113e7731", - "affectsGlobalScope": false - }, - "./src/readers/sync.ts": { - "version": "521e4d1fb8fb7de21cf7b599a9fd7ea0e6d747c8914cc7119b4a6b3756ff27d1", - "signature": "a7d40806b1d5aa763d2c75d00e5d6c3050f70e37ae2ca7f8856c48803d7a7f71", - "affectsGlobalScope": false - }, - "./src/providers/sync.ts": { - "version": "a984e8ab39513cc15581fabe10d543e80c265000dabbaf5ff06f7edacd509b86", - "signature": "56c12b46bc3bb96c824c0f7c7fe4a032f8dfe4ee77932ad78be7a5cf83eca366", - "affectsGlobalScope": false - }, - "./src/index.ts": { - "version": "79a628cf15fdf18ee685eaa0b75066cac2dfa18f80826336f2561e25530426f6", - "signature": "96892cc7ee950d2bbded6dc7f03ff50a719df54f6529aa938ce3854fef04ee2a", - "affectsGlobalScope": false - }, - "./src/index.spec.ts": { - "version": "c159a9d372124a9f22b0cb9dd242b5354d4c8e7f6f4602792d92b75a87d71605", - "signature": "a900cdf2c35bba00b0363cc950bbf88b887976e70a9eae929dad35ef964109d9", - "affectsGlobalScope": false - }, - "./src/settings.spec.ts": { - "version": "f68c3c54888592c789941dc2d6a7145a054dfdc359d8f806bb8aa37369b18bda", - "signature": "714d2bb322e0442caf181768f049abd17a96d328d87169c2e6c13a86839c4463", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/sinon/ts3.1/index.d.ts": { - "version": "168435ab3390620aebf1aa0001b380983582d0849755eeb17f2c501d1fc57587", - "signature": "168435ab3390620aebf1aa0001b380983582d0849755eeb17f2c501d1fc57587", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/types.d.ts": { - "version": "47b605d1e61f92f418c7879051e5458f8ec00aeacac419a37754066fec42b9ba", - "signature": "47b605d1e61f92f418c7879051e5458f8ec00aeacac419a37754066fec42b9ba", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/dirent.d.ts": { - "version": "98387ef539ccca1023a5934f6ea2dd87ee8a6c87db31ec7986b9da016c66fc16", - "signature": "98387ef539ccca1023a5934f6ea2dd87ee8a6c87db31ec7986b9da016c66fc16", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/stats.d.ts": { - "version": "7c70ba0c69002f78ddac880f0096de5b0e78248cf680c1fe1a89439dbf069c5d", - "signature": "7c70ba0c69002f78ddac880f0096de5b0e78248cf680c1fe1a89439dbf069c5d", - "affectsGlobalScope": false - }, - "../fs.macchiato/out/index.d.ts": { - "version": "e00937f585b9c2f95d9d4e00b4e76427eb9516c70a4470d805451ba2ea00044e", - "signature": "e00937f585b9c2f95d9d4e00b4e76427eb9516c70a4470d805451ba2ea00044e", - "affectsGlobalScope": false - }, - "./src/tests/index.ts": { - "version": "22b49bb57a9b554cbca55662d2e04f8a4285ef30ed58aaea4e5826b153a60d5b", - "signature": "f5bbb15da84f1ca0d672ab2f502188c214936713d1952885f299e63fa9e2b3de", - "affectsGlobalScope": false - }, - "./src/providers/async.spec.ts": { - "version": "6f0dd7b1ef7cd2ca78ed2f954047e3c6a9df5bc37329869f6211c9a6ca195b08", - "signature": "6ff501c2b9280fbf7322044c48dff6eea6849df3b6ab6844facd9d789988a2c9", - "affectsGlobalScope": false - }, - "./src/providers/index.ts": { - "version": "16e0fc0a24f33533156b270c2ac70e822fa952ef4a305db8248798a6d0ae539f", - "signature": "a4f97dec3015c794e10ffd88ee8832db66f667c51d49eb5d69b49b0e1efc410c", - "affectsGlobalScope": false - }, - "./src/providers/stream.spec.ts": { - "version": "3dfb335689cb23c892fec86351d885e642a68e346e5856cde087b46c74942097", - "signature": "91e8c9343cbf6795565dc7a86b811e9a9742d611faed3f588c2da40dccea14e3", - "affectsGlobalScope": false - }, - "./src/providers/sync.spec.ts": { - "version": "0f551e41ebec0b876ee7874bc7aac28f1644f4fdc73e9124116a80bbcee49190", - "signature": "be22d8b5a836edfac7c9c5ef03e98058ec89f0b98edef8e54ea410187b0bda28", - "affectsGlobalScope": false - }, - "./src/readers/async.spec.ts": { - "version": "a08e84ab63d51e9a4dfcfde0ed356aadb19a1fbbe6c48028be0fb1a189ca61f4", - "signature": "6ff501c2b9280fbf7322044c48dff6eea6849df3b6ab6844facd9d789988a2c9", - "affectsGlobalScope": false - }, - "./src/readers/common.spec.ts": { - "version": "cc13401e9c9d385fe793a35934d1b5f095707709985fccf28c29192c4f88b4d2", - "signature": "d030e48e296ebe726e80c9b6e26988c7d9a5c1dba321a5f03d7ce297f130aeae", - "affectsGlobalScope": false - }, - "./src/readers/reader.spec.ts": { - "version": "c337c2f503119ded6fa003a726da62a3c060c29ac61d0dff5d8190a7fc2394fc", - "signature": "e57ffc6520bdbd5a218c9b963087784eb84d6a96473c82b438b85628455e7827", - "affectsGlobalScope": false - }, - "./src/readers/sync.spec.ts": { - "version": "8c863d867daba979948c0e00bb270bfefbf769322a12c574871d84b1317fc1c1", - "signature": "be22d8b5a836edfac7c9c5ef03e98058ec89f0b98edef8e54ea410187b0bda28", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/eslint-visitor-keys/index.d.ts": { - "version": "725d9be2fd48440256f4deb00649adffdbc5ecd282b09e89d4e200663792c34c", - "signature": "725d9be2fd48440256f4deb00649adffdbc5ecd282b09e89d4e200663792c34c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/fs-extra/index.d.ts": { - "version": "aca36e2d27783f4bad7fc1786a532ff76024f0fc8575df48bcd9a5eb452fe7e7", - "signature": "aca36e2d27783f4bad7fc1786a532ff76024f0fc8575df48bcd9a5eb452fe7e7", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/highlight.js/index.d.ts": { - "version": "21a2fa3722dc0baba2649e040c3121eb38ce84f5afe35ff1c20276132eaa2f2c", - "signature": "21a2fa3722dc0baba2649e040c3121eb38ce84f5afe35ff1c20276132eaa2f2c", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/json-schema/index.d.ts": { - "version": "b2be568d8ce95fcb26eebd04c035d94825655fdf689bf67d799f5ff8cbbb1024", - "signature": "b2be568d8ce95fcb26eebd04c035d94825655fdf689bf67d799f5ff8cbbb1024", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/common.d.ts": { - "version": "3594c022901a1c8993b0f78a3f534cfb81e7b619ed215348f7f6882f3db02abc", - "signature": "3594c022901a1c8993b0f78a3f534cfb81e7b619ed215348f7f6882f3db02abc", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/array.d.ts": { - "version": "d03a1ae3d39f757c9f22e4e775b940a98d86bb50ec85529b59e32a17b65c2b90", - "signature": "d03a1ae3d39f757c9f22e4e775b940a98d86bb50ec85529b59e32a17b65c2b90", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/collection.d.ts": { - "version": "0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8", - "signature": "0c75b204aed9cf6ff1c7b4bed87a3ece0d9d6fc857a6350c0c95ed0c38c814e8", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/date.d.ts": { - "version": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", - "signature": "187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/function.d.ts": { - "version": "c9f396e71966bd3a890d8a36a6a497dbf260e9b868158ea7824d4b5421210afe", - "signature": "c9f396e71966bd3a890d8a36a6a497dbf260e9b868158ea7824d4b5421210afe", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/lang.d.ts": { - "version": "509235563ea2b939e1bbe92aae17e71e6a82ceab8f568b45fb4fce7d72523a32", - "signature": "509235563ea2b939e1bbe92aae17e71e6a82ceab8f568b45fb4fce7d72523a32", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/math.d.ts": { - "version": "9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb", - "signature": "9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/number.d.ts": { - "version": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", - "signature": "00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/object.d.ts": { - "version": "c311349ec71bb69399ffc4092853e7d8a86c1ca39ddb4cd129e775c19d985793", - "signature": "c311349ec71bb69399ffc4092853e7d8a86c1ca39ddb4cd129e775c19d985793", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/seq.d.ts": { - "version": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", - "signature": "3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/string.d.ts": { - "version": "4908e4c00832b26ce77a629de8501b0e23a903c094f9e79a7fec313a15da796a", - "signature": "4908e4c00832b26ce77a629de8501b0e23a903c094f9e79a7fec313a15da796a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/common/util.d.ts": { - "version": "2630a7cbb597e85d713b7ef47f2946d4280d3d4c02733282770741d40672b1a5", - "signature": "2630a7cbb597e85d713b7ef47f2946d4280d3d4c02733282770741d40672b1a5", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/lodash/index.d.ts": { - "version": "0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8", - "signature": "0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/marked/index.d.ts": { - "version": "c08a5e873738f5576ae1ca5810b5ebc30509f05bde56c3a3bbdd75d6c0806e6a", - "signature": "c08a5e873738f5576ae1ca5810b5ebc30509f05bde56c3a3bbdd75d6c0806e6a", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/minimist/index.d.ts": { - "version": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88", - "signature": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/mocha/index.d.ts": { - "version": "c4c03cf65951d980ba618ae9601d10438730803fc9c8a1f7b34af8739981e205", - "signature": "c4c03cf65951d980ba618ae9601d10438730803fc9c8a1f7b34af8739981e205", - "affectsGlobalScope": true - }, - "../../../node_modules/@types/normalize-package-data/index.d.ts": { - "version": "c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613", - "signature": "c9ad058b2cc9ce6dc2ed92960d6d009e8c04bef46d3f5312283debca6869f613", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/run-parallel/index.d.ts": { - "version": "eefea34ce2cdb15ab6678c8c7911c27b2c3da267d7922f192f3d2eb0bf621821", - "signature": "eefea34ce2cdb15ab6678c8c7911c27b2c3da267d7922f192f3d2eb0bf621821", - "affectsGlobalScope": false - }, - "../../../node_modules/@types/shelljs/index.d.ts": { - "version": "b73abc91e3166b1951d302f8008c17e62d32e570e71b2680141f7c3f5d0a990d", - "signature": "b73abc91e3166b1951d302f8008c17e62d32e570e71b2680141f7c3f5d0a990d", - "affectsGlobalScope": false - } - }, - "options": { - "target": 4, - "module": 1, - "moduleResolution": 2, - "strict": true, - "alwaysStrict": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "strictPropertyInitialization": true, - "forceConsistentCasingInFileNames": true, - "noImplicitAny": true, - "noImplicitReturns": true, - "noImplicitThis": true, - "noFallthroughCasesInSwitch": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "downlevelIteration": true, - "composite": true, - "declaration": true, - "declarationMap": true, - "pretty": true, - "rootDir": "./src", - "outDir": "./out", - "configFilePath": "./tsconfig.json" - }, - "referencedMap": { - "../../../node_modules/@types/fs-extra/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/glob/index.d.ts": [ - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/array.d.ts": [ - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/collection.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/common.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/date.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/function.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/lang.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/math.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/number.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/object.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/seq.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/string.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/util.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/index.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts" - ], - "../../../node_modules/@types/node/base.d.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts" - ], - "../../../node_modules/@types/node/child_process.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/cluster.d.ts": [ - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/crypto.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/dgram.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/domain.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/fs.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http2.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/https.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/index.d.ts": [ - "../../../node_modules/@types/node/base.d.ts" - ], - "../../../node_modules/@types/node/inspector.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/net.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/perf_hooks.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts" - ], - "../../../node_modules/@types/node/process.d.ts": [ - "../../../node_modules/@types/node/tty.d.ts" - ], - "../../../node_modules/@types/node/readline.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/repl.d.ts": [ - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/stream.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/tls.d.ts": [ - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/ts3.3/base.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts" - ], - "../../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/wasi.d.ts" - ], - "../../../node_modules/@types/node/tty.d.ts": [ - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/url.d.ts": [ - "../../../node_modules/@types/node/querystring.d.ts" - ], - "../../../node_modules/@types/node/v8.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/worker_threads.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/zlib.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/rimraf/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/shelljs/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.macchiato/out/dirent.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.macchiato/out/index.d.ts": [ - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/stats.d.ts" - ], - "../fs.macchiato/out/stats.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.scandir/out/adapters/fs.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.scandir/out/index.d.ts": [ - "../fs.scandir/out/adapters/fs.d.ts", - "../fs.scandir/out/providers/async.d.ts", - "../fs.scandir/out/settings.d.ts", - "../fs.scandir/out/types/index.d.ts" - ], - "../fs.scandir/out/providers/async.d.ts": [ - "../../../node_modules/@types/node/index.d.ts", - "../fs.scandir/out/settings.d.ts", - "../fs.scandir/out/types/index.d.ts" - ], - "../fs.scandir/out/settings.d.ts": [ - "../fs.scandir/out/adapters/fs.d.ts", - "../fs.stat/out/index.d.ts" - ], - "../fs.scandir/out/types/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.stat/out/adapters/fs.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.stat/out/index.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts", - "../fs.stat/out/providers/async.d.ts", - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/providers/async.d.ts": [ - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/settings.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts" - ], - "../fs.stat/out/types/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "./src/index.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/rimraf/index.d.ts", - "./src/index.ts", - "./src/types/index.ts" - ], - "./src/index.ts": [ - "../../../node_modules/@types/node/stream.d.ts", - "../fs.scandir/out/index.d.ts", - "./src/providers/async.ts", - "./src/providers/stream.ts", - "./src/providers/sync.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/async.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "./src/providers/async.ts", - "./src/readers/async.ts", - "./src/settings.ts", - "./src/tests/index.ts" - ], - "./src/providers/async.ts": [ - "./src/readers/async.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/index.ts": [ - "./src/providers/async.ts", - "./src/providers/stream.ts", - "./src/providers/sync.ts" - ], - "./src/providers/stream.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "./src/providers/stream.ts", - "./src/readers/async.ts", - "./src/settings.ts", - "./src/tests/index.ts" - ], - "./src/providers/stream.ts": [ - "../../../node_modules/@types/node/stream.d.ts", - "./src/readers/async.ts", - "./src/settings.ts" - ], - "./src/providers/sync.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "./src/providers/sync.ts", - "./src/readers/sync.ts", - "./src/settings.ts", - "./src/tests/index.ts" - ], - "./src/providers/sync.ts": [ - "./src/readers/sync.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/readers/async.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../fs.scandir/out/index.d.ts", - "./src/readers/async.ts", - "./src/settings.ts", - "./src/tests/index.ts", - "./src/types/index.ts" - ], - "./src/readers/async.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/fastq/index.d.ts", - "../fs.scandir/out/index.d.ts", - "./src/readers/common.ts", - "./src/readers/reader.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/readers/common.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "./src/readers/common.ts", - "./src/settings.ts", - "./src/tests/index.ts" - ], - "./src/readers/common.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/readers/reader.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "./src/readers/reader.ts", - "./src/settings.ts" - ], - "./src/readers/reader.ts": [ - "./src/readers/common.ts", - "./src/settings.ts" - ], - "./src/readers/sync.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "./src/readers/sync.ts", - "./src/settings.ts", - "./src/tests/index.ts" - ], - "./src/readers/sync.ts": [ - "../fs.scandir/out/index.d.ts", - "./src/readers/common.ts", - "./src/readers/reader.ts", - "./src/types/index.ts" - ], - "./src/settings.spec.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../fs.scandir/out/index.d.ts", - "./src/settings.ts" - ], - "./src/settings.ts": [ - "../../../node_modules/@types/node/path.d.ts", - "../fs.scandir/out/index.d.ts", - "./src/types/index.ts" - ], - "./src/tests/index.ts": [ - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../fs.macchiato/out/index.d.ts", - "./src/types/index.ts" - ], - "./src/types/index.ts": [ - "../fs.scandir/out/index.d.ts" - ] - }, - "exportedModulesMap": { - "../../../node_modules/@types/fs-extra/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/glob/index.d.ts": [ - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/array.d.ts": [ - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/collection.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/common.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/date.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/function.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/lang.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/math.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/number.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/object.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/seq.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/string.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/common/util.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/index.d.ts" - ], - "../../../node_modules/@types/lodash/index.d.ts": [ - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts" - ], - "../../../node_modules/@types/node/base.d.ts": [ - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts" - ], - "../../../node_modules/@types/node/child_process.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/cluster.d.ts": [ - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/crypto.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/dgram.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/domain.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/fs.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/http2.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/https.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/url.d.ts" - ], - "../../../node_modules/@types/node/index.d.ts": [ - "../../../node_modules/@types/node/base.d.ts" - ], - "../../../node_modules/@types/node/inspector.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/net.d.ts": [ - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/perf_hooks.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts" - ], - "../../../node_modules/@types/node/process.d.ts": [ - "../../../node_modules/@types/node/tty.d.ts" - ], - "../../../node_modules/@types/node/readline.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/repl.d.ts": [ - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/stream.d.ts": [ - "../../../node_modules/@types/node/events.d.ts" - ], - "../../../node_modules/@types/node/tls.d.ts": [ - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/ts3.3/base.d.ts": [ - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts" - ], - "../../../node_modules/@types/node/ts3.6/base.d.ts": [ - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/wasi.d.ts" - ], - "../../../node_modules/@types/node/tty.d.ts": [ - "../../../node_modules/@types/node/net.d.ts" - ], - "../../../node_modules/@types/node/url.d.ts": [ - "../../../node_modules/@types/node/querystring.d.ts" - ], - "../../../node_modules/@types/node/v8.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/node/worker_threads.d.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/vm.d.ts" - ], - "../../../node_modules/@types/node/zlib.d.ts": [ - "../../../node_modules/@types/node/stream.d.ts" - ], - "../../../node_modules/@types/rimraf/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../../../node_modules/@types/shelljs/index.d.ts": [ - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.macchiato/out/dirent.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.macchiato/out/index.d.ts": [ - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/stats.d.ts" - ], - "../fs.macchiato/out/stats.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../fs.macchiato/out/types.d.ts" - ], - "../fs.scandir/out/adapters/fs.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.scandir/out/index.d.ts": [ - "../fs.scandir/out/adapters/fs.d.ts", - "../fs.scandir/out/providers/async.d.ts", - "../fs.scandir/out/settings.d.ts", - "../fs.scandir/out/types/index.d.ts" - ], - "../fs.scandir/out/providers/async.d.ts": [ - "../../../node_modules/@types/node/index.d.ts", - "../fs.scandir/out/settings.d.ts", - "../fs.scandir/out/types/index.d.ts" - ], - "../fs.scandir/out/settings.d.ts": [ - "../fs.scandir/out/adapters/fs.d.ts", - "../fs.stat/out/index.d.ts" - ], - "../fs.scandir/out/types/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.stat/out/adapters/fs.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "../fs.stat/out/index.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts", - "../fs.stat/out/providers/async.d.ts", - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/providers/async.d.ts": [ - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts" - ], - "../fs.stat/out/settings.d.ts": [ - "../fs.stat/out/adapters/fs.d.ts" - ], - "../fs.stat/out/types/index.d.ts": [ - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/index.d.ts" - ], - "./src/index.ts": [ - "../../../node_modules/@types/node/stream.d.ts", - "../fs.scandir/out/index.d.ts", - "./src/providers/async.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/async.ts": [ - "./src/readers/async.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/providers/index.ts": [ - "./src/providers/async.ts", - "./src/providers/stream.ts", - "./src/providers/sync.ts" - ], - "./src/providers/stream.ts": [ - "../../../node_modules/@types/node/stream.d.ts", - "./src/readers/async.ts", - "./src/settings.ts" - ], - "./src/providers/sync.ts": [ - "./src/readers/sync.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/readers/async.ts": [ - "../../../node_modules/@types/node/events.d.ts", - "../fs.scandir/out/index.d.ts", - "./src/readers/reader.ts", - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/readers/common.ts": [ - "./src/settings.ts", - "./src/types/index.ts" - ], - "./src/readers/reader.ts": [ - "./src/settings.ts" - ], - "./src/readers/sync.ts": [ - "../fs.scandir/out/index.d.ts", - "./src/readers/reader.ts", - "./src/types/index.ts" - ], - "./src/settings.ts": [ - "../fs.scandir/out/index.d.ts", - "./src/types/index.ts" - ], - "./src/tests/index.ts": [ - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "./src/types/index.ts" - ], - "./src/types/index.ts": [ - "../fs.scandir/out/index.d.ts" - ] - }, - "semanticDiagnosticsPerFile": [ - "../../../node_modules/@types/eslint-visitor-keys/index.d.ts", - "../../../node_modules/@types/fs-extra/index.d.ts", - "../../../node_modules/@types/glob/index.d.ts", - "../../../node_modules/@types/highlight.js/index.d.ts", - "../../../node_modules/@types/json-schema/index.d.ts", - "../../../node_modules/@types/lodash/common/array.d.ts", - "../../../node_modules/@types/lodash/common/collection.d.ts", - "../../../node_modules/@types/lodash/common/common.d.ts", - "../../../node_modules/@types/lodash/common/date.d.ts", - "../../../node_modules/@types/lodash/common/function.d.ts", - "../../../node_modules/@types/lodash/common/lang.d.ts", - "../../../node_modules/@types/lodash/common/math.d.ts", - "../../../node_modules/@types/lodash/common/number.d.ts", - "../../../node_modules/@types/lodash/common/object.d.ts", - "../../../node_modules/@types/lodash/common/seq.d.ts", - "../../../node_modules/@types/lodash/common/string.d.ts", - "../../../node_modules/@types/lodash/common/util.d.ts", - "../../../node_modules/@types/lodash/index.d.ts", - "../../../node_modules/@types/marked/index.d.ts", - "../../../node_modules/@types/minimatch/index.d.ts", - "../../../node_modules/@types/minimist/index.d.ts", - "../../../node_modules/@types/mocha/index.d.ts", - "../../../node_modules/@types/node/assert.d.ts", - "../../../node_modules/@types/node/async_hooks.d.ts", - "../../../node_modules/@types/node/base.d.ts", - "../../../node_modules/@types/node/buffer.d.ts", - "../../../node_modules/@types/node/child_process.d.ts", - "../../../node_modules/@types/node/cluster.d.ts", - "../../../node_modules/@types/node/console.d.ts", - "../../../node_modules/@types/node/constants.d.ts", - "../../../node_modules/@types/node/crypto.d.ts", - "../../../node_modules/@types/node/dgram.d.ts", - "../../../node_modules/@types/node/dns.d.ts", - "../../../node_modules/@types/node/domain.d.ts", - "../../../node_modules/@types/node/events.d.ts", - "../../../node_modules/@types/node/fs.d.ts", - "../../../node_modules/@types/node/globals.d.ts", - "../../../node_modules/@types/node/globals.global.d.ts", - "../../../node_modules/@types/node/http.d.ts", - "../../../node_modules/@types/node/http2.d.ts", - "../../../node_modules/@types/node/https.d.ts", - "../../../node_modules/@types/node/index.d.ts", - "../../../node_modules/@types/node/inspector.d.ts", - "../../../node_modules/@types/node/module.d.ts", - "../../../node_modules/@types/node/net.d.ts", - "../../../node_modules/@types/node/os.d.ts", - "../../../node_modules/@types/node/path.d.ts", - "../../../node_modules/@types/node/perf_hooks.d.ts", - "../../../node_modules/@types/node/process.d.ts", - "../../../node_modules/@types/node/punycode.d.ts", - "../../../node_modules/@types/node/querystring.d.ts", - "../../../node_modules/@types/node/readline.d.ts", - "../../../node_modules/@types/node/repl.d.ts", - "../../../node_modules/@types/node/stream.d.ts", - "../../../node_modules/@types/node/string_decoder.d.ts", - "../../../node_modules/@types/node/timers.d.ts", - "../../../node_modules/@types/node/tls.d.ts", - "../../../node_modules/@types/node/trace_events.d.ts", - "../../../node_modules/@types/node/ts3.3/base.d.ts", - "../../../node_modules/@types/node/ts3.6/base.d.ts", - "../../../node_modules/@types/node/tty.d.ts", - "../../../node_modules/@types/node/url.d.ts", - "../../../node_modules/@types/node/util.d.ts", - "../../../node_modules/@types/node/v8.d.ts", - "../../../node_modules/@types/node/vm.d.ts", - "../../../node_modules/@types/node/wasi.d.ts", - "../../../node_modules/@types/node/worker_threads.d.ts", - "../../../node_modules/@types/node/zlib.d.ts", - "../../../node_modules/@types/normalize-package-data/index.d.ts", - "../../../node_modules/@types/rimraf/index.d.ts", - "../../../node_modules/@types/run-parallel/index.d.ts", - "../../../node_modules/@types/shelljs/index.d.ts", - "../../../node_modules/@types/sinon/ts3.1/index.d.ts", - "../../../node_modules/fastq/index.d.ts", - "../../../node_modules/typescript/lib/lib.dom.d.ts", - "../../../node_modules/typescript/lib/lib.dom.iterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.collection.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.core.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.generator.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.promise.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts", - "../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", - "../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts", - "../../../node_modules/typescript/lib/lib.es2016.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.full.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.intl.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.object.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.string.d.ts", - "../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.intl.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.promise.d.ts", - "../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts", - "../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts", - "../../../node_modules/typescript/lib/lib.es5.d.ts", - "../../../node_modules/typescript/lib/lib.esnext.intl.d.ts", - "../../../node_modules/typescript/lib/lib.scripthost.d.ts", - "../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts", - "../fs.macchiato/out/dirent.d.ts", - "../fs.macchiato/out/index.d.ts", - "../fs.macchiato/out/stats.d.ts", - "../fs.macchiato/out/types.d.ts", - "../fs.scandir/out/adapters/fs.d.ts", - "../fs.scandir/out/index.d.ts", - "../fs.scandir/out/providers/async.d.ts", - "../fs.scandir/out/settings.d.ts", - "../fs.scandir/out/types/index.d.ts", - "../fs.stat/out/adapters/fs.d.ts", - "../fs.stat/out/index.d.ts", - "../fs.stat/out/providers/async.d.ts", - "../fs.stat/out/settings.d.ts", - "../fs.stat/out/types/index.d.ts", - "./src/index.spec.ts", - "./src/index.ts", - "./src/providers/async.spec.ts", - "./src/providers/async.ts", - "./src/providers/index.ts", - "./src/providers/stream.spec.ts", - "./src/providers/stream.ts", - "./src/providers/sync.spec.ts", - "./src/providers/sync.ts", - "./src/readers/async.spec.ts", - "./src/readers/async.ts", - "./src/readers/common.spec.ts", - "./src/readers/common.ts", - "./src/readers/reader.spec.ts", - "./src/readers/reader.ts", - "./src/readers/sync.spec.ts", - "./src/readers/sync.ts", - "./src/settings.spec.ts", - "./src/settings.ts", - "./src/tests/index.ts", - "./src/types/index.ts" - ] - }, - "version": "3.9.7" -} \ No newline at end of file diff --git a/pak-builder/node_modules/@types/node/README.md b/pak-builder/node_modules/@types/node/README.md index 0ca3518..e272818 100755 --- a/pak-builder/node_modules/@types/node/README.md +++ b/pak-builder/node_modules/@types/node/README.md @@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/). Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. ### Additional Details - * Last updated: Tue, 25 May 2021 00:01:37 GMT + * Last updated: Fri, 18 Jun 2021 21:01:11 GMT * Dependencies: none * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout` diff --git a/pak-builder/node_modules/@types/node/buffer.d.ts b/pak-builder/node_modules/@types/node/buffer.d.ts index 0aa039c..a415a4d 100755 --- a/pak-builder/node_modules/@types/node/buffer.d.ts +++ b/pak-builder/node_modules/@types/node/buffer.d.ts @@ -1,4 +1,6 @@ declare module 'buffer' { + import { BinaryLike } from 'crypto'; + export const INSPECT_MAX_BYTES: number; export const kMaxLength: number; export const kStringMaxLength: number; @@ -19,4 +21,64 @@ declare module 'buffer' { }; export { BuffType as Buffer }; + + /** + * @experimental + */ + export interface BlobOptions { + /** + * @default 'utf8' + */ + encoding?: BufferEncoding; + + /** + * The Blob content-type. The intent is for `type` to convey + * the MIME media type of the data, however no validation of the type format + * is performed. + */ + type?: string; + } + + /** + * @experimental + */ + export class Blob { + /** + * Returns a promise that fulfills with an {ArrayBuffer} containing a copy of the `Blob` data. + */ + readonly size: number; + + /** + * The content-type of the `Blob`. + */ + readonly type: string; + + /** + * Creates a new `Blob` object containing a concatenation of the given sources. + * + * {ArrayBuffer}, {TypedArray}, {DataView}, and {Buffer} sources are copied into + * the 'Blob' and can therefore be safely modified after the 'Blob' is created. + * + * String sources are also copied into the `Blob`. + */ + constructor(sources: Array<(BinaryLike | Blob)>, options?: BlobOptions); + + arrayBuffer(): Promise; + + /** + * @param start The starting index. + * @param end The ending index. + * @param type The content-type for the new `Blob` + */ + slice(start?: number, end?: number, type?: string): Blob; + + /** + * Returns a promise that resolves the contents of the `Blob` decoded as a UTF-8 string. + */ + text(): Promise; + } +} + +declare module 'node:buffer' { + export * from 'buffer'; } diff --git a/pak-builder/node_modules/@types/node/child_process.d.ts b/pak-builder/node_modules/@types/node/child_process.d.ts index 1fa211f..37fd485 100755 --- a/pak-builder/node_modules/@types/node/child_process.d.ts +++ b/pak-builder/node_modules/@types/node/child_process.d.ts @@ -4,7 +4,7 @@ declare module 'child_process' { import * as net from 'net'; import { Writable, Readable, Stream, Pipe } from 'stream'; - type Serializable = string | object | number | boolean; + type Serializable = string | object | number | boolean | bigint; type SendHandle = net.Socket | net.Server; interface ChildProcess extends EventEmitter { @@ -20,7 +20,7 @@ declare module 'child_process' { Readable | Writable | null | undefined // extra ]; readonly killed: boolean; - readonly pid: number; + readonly pid?: number; readonly connected: boolean; readonly exitCode: number | null; readonly signalCode: NodeJS.Signals | null; @@ -135,12 +135,18 @@ declare module 'child_process' { type SerializationType = 'json' | 'advanced'; - interface MessagingOptions { + interface MessagingOptions extends Abortable { /** * Specify the kind of serialization used for sending messages between processes. * @default 'json' */ serialization?: SerializationType; + + /** + * The signal value to be used when the spawned process will be killed by the abort signal. + * @default 'SIGTERM' + */ + killSignal?: NodeJS.Signals | number; } interface ProcessEnvOptions { @@ -451,7 +457,6 @@ declare module 'child_process' { interface SpawnSyncOptions extends CommonSpawnOptions { input?: string | NodeJS.ArrayBufferView; - killSignal?: NodeJS.Signals | number; maxBuffer?: number; encoding?: BufferEncoding | 'buffer' | null; } diff --git a/pak-builder/node_modules/@types/node/console.d.ts b/pak-builder/node_modules/@types/node/console.d.ts index 102042c..e5f9cba 100755 --- a/pak-builder/node_modules/@types/node/console.d.ts +++ b/pak-builder/node_modules/@types/node/console.d.ts @@ -25,16 +25,16 @@ declare module 'console' { */ countReset(label?: string): void; /** - * The `console.debug()` function is an alias for {@link console.log()}. + * The `console.debug()` function is an alias for {@link console.log}. */ debug(message?: any, ...optionalParams: any[]): void; /** - * Uses {@link util.inspect()} on `obj` and prints the resulting string to `stdout`. + * Uses {@link util.inspect} on `obj` and prints the resulting string to `stdout`. * This function bypasses any custom `inspect()` function defined on `obj`. */ dir(obj: any, options?: InspectOptions): void; /** - * This method calls {@link console.log()} passing it the arguments received. Please note that this method does not produce any XML formatting + * This method calls {@link console.log} passing it the arguments received. Please note that this method does not produce any XML formatting */ dirxml(...data: any[]): void; /** @@ -47,7 +47,7 @@ declare module 'console' { */ group(...label: any[]): void; /** - * The `console.groupCollapsed()` function is an alias for {@link console.group()}. + * The `console.groupCollapsed()` function is an alias for {@link console.group}. */ groupCollapsed(...label: any[]): void; /** @@ -55,7 +55,7 @@ declare module 'console' { */ groupEnd(): void; /** - * The {@link console.info()} function is an alias for {@link console.log()}. + * The {@link console.info} function is an alias for {@link console.log}. */ info(message?: any, ...optionalParams: any[]): void; /** @@ -72,19 +72,19 @@ declare module 'console' { */ time(label?: string): void; /** - * Stops a timer that was previously started by calling {@link console.time()} and prints the result to `stdout`. + * Stops a timer that was previously started by calling {@link console.time} and prints the result to `stdout`. */ timeEnd(label?: string): void; /** - * For a timer that was previously started by calling {@link console.time()}, prints the elapsed time and other `data` arguments to `stdout`. + * For a timer that was previously started by calling {@link console.time}, prints the elapsed time and other `data` arguments to `stdout`. */ timeLog(label?: string, ...data: any[]): void; /** - * Prints to `stderr` the string 'Trace :', followed by the {@link util.format()} formatted message and stack trace to the current position in the code. + * Prints to `stderr` the string 'Trace :', followed by the {@link util.format} formatted message and stack trace to the current position in the code. */ trace(message?: any, ...optionalParams: any[]): void; /** - * The {@link console.warn()} function is an alias for {@link console.error()}. + * The {@link console.warn} function is an alias for {@link console.error}. */ warn(message?: any, ...optionalParams: any[]): void; diff --git a/pak-builder/node_modules/@types/node/crypto.d.ts b/pak-builder/node_modules/@types/node/crypto.d.ts index 030a543..db06d15 100755 --- a/pak-builder/node_modules/@types/node/crypto.d.ts +++ b/pak-builder/node_modules/@types/node/crypto.d.ts @@ -197,6 +197,45 @@ declare module 'crypto' { passphrase?: string | Buffer; } + interface JwkKeyExportOptions { + format: 'jwk'; + } + + interface JsonWebKey { + crv?: string; + d?: string; + dp?: string; + dq?: string; + e?: string; + k?: string; + kty?: string; + n?: string; + p?: string; + q?: string; + qi?: string; + x?: string; + y?: string; + } + + interface AsymmetricKeyDetails { + /** + * Key size in bits (RSA, DSA). + */ + modulusLength?: number; + /** + * Public exponent (RSA). + */ + publicExponent?: bigint; + /** + * Size of q in bits (DSA). + */ + divisorLength?: number; + /** + * Name of the curve (EC). + */ + namedCurve?: string; + } + class KeyObject { private constructor(); asymmetricKeyType?: KeyType; @@ -205,6 +244,13 @@ declare module 'crypto' { * bytes. This property is `undefined` for symmetric keys. */ asymmetricKeySize?: number; + /** + * This property exists only on asymmetric keys. Depending on the type of the key, + * this object contains information about the key. None of the information obtained + * through this property can be used to uniquely identify a key or to compromise the + * security of the key. + */ + asymmetricKeyDetails?: AsymmetricKeyDetails; export(options: KeyExportOptions<'pem'>): string | Buffer; export(options?: KeyExportOptions<'der'>): Buffer; symmetricKeySize?: number; @@ -330,6 +376,8 @@ declare module 'crypto' { type?: 'pkcs1' | 'spki'; } + function generateKey(type: 'hmac' | 'aes', options: {length: number}, callback: (err: Error | null, key: KeyObject) => void): void; + function createPrivateKey(key: PrivateKeyInput | string | Buffer): KeyObject; function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject): KeyObject; function createSecretKey(key: NodeJS.ArrayBufferView): KeyObject; @@ -1163,22 +1211,28 @@ declare module 'crypto' { * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is * dependent upon the key type (especially Ed25519 and Ed448). * - * If `key` is not a [`KeyObject`][], this function behaves as if `key` had been - * passed to [`crypto.createPrivateKey()`][]. + * If `key` is not a `KeyObject`, this function behaves as if `key` had been + * passed to `crypto.createPrivateKey(). */ function sign( algorithm: string | null | undefined, data: NodeJS.ArrayBufferView, key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, ): Buffer; + function sign( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, + callback: (error: Error | null, data: Buffer) => void + ): void; /** * Calculates and returns the signature for `data` using the given private key and * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is * dependent upon the key type (especially Ed25519 and Ed448). * - * If `key` is not a [`KeyObject`][], this function behaves as if `key` had been - * passed to [`crypto.createPublicKey()`][]. + * If `key` is not a `KeyObject`, this function behaves as if `key` had been + * passed to `crypto.createPublicKey()`. */ function verify( algorithm: string | null | undefined, @@ -1186,6 +1240,13 @@ declare module 'crypto' { key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: NodeJS.ArrayBufferView, ): boolean; + function verify( + algorithm: string | null | undefined, + data: NodeJS.ArrayBufferView, + key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, + signature: NodeJS.ArrayBufferView, + callback: (error: Error | null, result: boolean) => void + ): void; /** * Computes the Diffie-Hellman secret based on a privateKey and a publicKey. @@ -1254,7 +1315,7 @@ declare module 'crypto' { * * The supplied `callback` function is called with two arguments: `err` and `derivedKey`. * If an errors occurs while deriving the key, `err` will be set; otherwise `err` will be `null`. - * The successfully generated `derivedKey` will be passed to the callback as an [`ArrayBuffer`][]. + * The successfully generated `derivedKey` will be passed to the callback as an `ArrayBuffer`. * An error will be thrown if any of the input aguments specify invalid values or types. */ function hkdf(digest: string, key: BinaryLike | KeyObject, salt: BinaryLike, info: BinaryLike, keylen: number, callback: (err: Error | null, derivedKey: ArrayBuffer) => any): void; @@ -1263,7 +1324,7 @@ declare module 'crypto' { * Provides a synchronous HKDF key derivation function as defined in RFC 5869. * The given `key`, `salt` and `info` are used with the `digest` to derive a key of `keylen` bytes. * - * The successfully generated `derivedKey` will be returned as an [`ArrayBuffer`][]. + * The successfully generated `derivedKey` will be returned as an `ArrayBuffer`. * An error will be thrown if any of the input aguments specify invalid values or types, * or if the derived key cannot be generated. */ @@ -1372,6 +1433,16 @@ declare module 'crypto' { */ readonly keyUsage: string[]; + /** + * The issuer identification included in this certificate. + */ + readonly issuer: string; + + /** + * The issuer certificate or `undefined` if the issuer certificate is not available. + */ + readonly issuerCertificate?: X509Certificate; + /** * The public key for this certificate. */ @@ -1438,7 +1509,7 @@ declare module 'crypto' { toJSON(): string; /** - * Returns information about this certificate using the legacy [certificate object][] encoding. + * Returns information about this certificate using the legacy certificate object encoding. */ toLegacyObject(): PeerCertificate; @@ -1453,4 +1524,57 @@ declare module 'crypto' { */ verify(publicKey: KeyObject): boolean; } + + type LargeNumberLike = NodeJS.ArrayBufferView | SharedArrayBuffer | ArrayBuffer | bigint; + + interface GeneratePrimeOptions { + add?: LargeNumberLike; + rem?: LargeNumberLike; + /** + * @default false + */ + safe?: boolean; + bigint?: boolean; + } + + interface GeneratePrimeOptionsBigInt extends GeneratePrimeOptions { + bigint: true; + } + + interface GeneratePrimeOptionsArrayBuffer extends GeneratePrimeOptions { + bigint?: false; + } + + function generatePrime(size: number, callback: (err: Error | null, prime: ArrayBuffer) => void): void; + function generatePrime(size: number, options: GeneratePrimeOptionsBigInt, callback: (err: Error | null, prime: bigint) => void): void; + function generatePrime(size: number, options: GeneratePrimeOptionsArrayBuffer, callback: (err: Error | null, prime: ArrayBuffer) => void): void; + function generatePrime(size: number, options: GeneratePrimeOptions, callback: (err: Error | null, prime: ArrayBuffer | bigint) => void): void; + + function generatePrimeSync(size: number): ArrayBuffer; + function generatePrimeSync(size: number, options: GeneratePrimeOptionsBigInt): bigint; + function generatePrimeSync(size: number, options: GeneratePrimeOptionsArrayBuffer): ArrayBuffer; + function generatePrimeSync(size: number, options: GeneratePrimeOptions): ArrayBuffer | bigint; + + interface CheckPrimeOptions { + /** + * The number of Miller-Rabin probabilistic primality iterations to perform. + * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most 2-64 for random input. + * Care must be used when selecting a number of checks. + * Refer to the OpenSSL documentation for the BN_is_prime_ex function nchecks options for more details. + * + * @default 0 + */ + checks?: number; + } + + /** + * Checks the primality of the candidate. + */ + function checkPrime(value: LargeNumberLike, callback: (err: Error | null, result: boolean) => void): void; + function checkPrime(value: LargeNumberLike, options: CheckPrimeOptions, callback: (err: Error | null, result: boolean) => void): void; + + /** + * Checks the primality of the candidate. + */ + function checkPrimeSync(value: LargeNumberLike, options?: CheckPrimeOptions): boolean; } diff --git a/pak-builder/node_modules/@types/node/dgram.d.ts b/pak-builder/node_modules/@types/node/dgram.d.ts index c94eb4a..9aa2a6c 100755 --- a/pak-builder/node_modules/@types/node/dgram.d.ts +++ b/pak-builder/node_modules/@types/node/dgram.d.ts @@ -1,7 +1,7 @@ declare module 'dgram' { import { AddressInfo } from 'net'; import * as dns from 'dns'; - import EventEmitter = require('events'); + import { EventEmitter, Abortable } from 'events'; interface RemoteInfo { address: string; @@ -19,7 +19,7 @@ declare module 'dgram' { type SocketType = "udp4" | "udp6"; - interface SocketOptions { + interface SocketOptions extends Abortable { type: SocketType; reuseAddr?: boolean; /** diff --git a/pak-builder/node_modules/@types/node/fs.d.ts b/pak-builder/node_modules/@types/node/fs.d.ts index dd01a7b..e6b95cc 100755 --- a/pak-builder/node_modules/@types/node/fs.d.ts +++ b/pak-builder/node_modules/@types/node/fs.d.ts @@ -276,9 +276,7 @@ declare module 'fs' { /** * Asynchronous rename(2) - Change the name or location of a file or directory. * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; @@ -297,9 +295,7 @@ declare module 'fs' { /** * Synchronous rename(2) - Change the name or location of a file or directory. * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function renameSync(oldPath: PathLike, newPath: PathLike): void; @@ -313,7 +309,6 @@ declare module 'fs' { /** * Asynchronous truncate(2) - Truncate a file to a specified length. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function truncate(path: PathLike, callback: NoParamCallback): void; @@ -1242,7 +1237,7 @@ declare module 'fs' { * Asynchronous close(2) - close a file descriptor. * @param fd A file descriptor. */ - export function close(fd: number, callback: NoParamCallback): void; + export function close(fd: number, callback?: NoParamCallback): void; // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. export namespace close { @@ -1487,6 +1482,8 @@ declare module 'fs' { */ export function writeSync(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): number; + export type ReadPosition = number | bigint; + /** * Asynchronously reads data from the file referenced by the supplied file descriptor. * @param fd A file descriptor. @@ -1500,7 +1497,7 @@ declare module 'fs' { buffer: TBuffer, offset: number, length: number, - position: number | null, + position: ReadPosition | null, callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, ): void; @@ -1534,7 +1531,7 @@ declare module 'fs' { /** * @default null */ - position?: number | null; + position?: ReadPosition | null; } /** @@ -1545,7 +1542,7 @@ declare module 'fs' { * @param length The number of bytes to read. * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. */ - export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: number | null): number; + export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: ReadPosition | null): number; /** * Similar to the above `fs.readSync` function, this version takes an optional `options` object. @@ -1569,7 +1566,6 @@ declare module 'fs' { /** * Asynchronously reads the entire contents of a file. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. * If a flag is not provided, it defaults to `'r'`. @@ -1583,7 +1579,6 @@ declare module 'fs' { /** * Asynchronously reads the entire contents of a file. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. * If a flag is not provided, it defaults to `'r'`. @@ -1637,7 +1632,6 @@ declare module 'fs' { /** * Synchronously reads the entire contents of a file. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param options An object that may contain an optional flag. If a flag is not provided, it defaults to `'r'`. */ @@ -1646,7 +1640,6 @@ declare module 'fs' { /** * Synchronously reads the entire contents of a file. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. * If a flag is not provided, it defaults to `'r'`. @@ -1656,7 +1649,6 @@ declare module 'fs' { /** * Synchronously reads the entire contents of a file. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. * If a flag is not provided, it defaults to `'r'`. @@ -1668,7 +1660,6 @@ declare module 'fs' { /** * Asynchronously writes data to a file, replacing the file if it already exists. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. @@ -1682,7 +1673,6 @@ declare module 'fs' { /** * Asynchronously writes data to a file, replacing the file if it already exists. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. */ @@ -1708,7 +1698,6 @@ declare module 'fs' { /** * Synchronously writes data to a file, replacing the file if it already exists. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. @@ -1722,7 +1711,6 @@ declare module 'fs' { /** * Asynchronously append data to a file, creating the file if it does not exist. * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. @@ -1736,7 +1724,6 @@ declare module 'fs' { /** * Asynchronously append data to a file, creating the file if it does not exist. * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. */ @@ -1762,7 +1749,6 @@ declare module 'fs' { /** * Synchronously append data to a file, creating the file if it does not exist. * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * If a file descriptor is provided, the underlying file will _not_ be closed automatically. * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. @@ -1781,36 +1767,36 @@ declare module 'fs' { /** * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void; /** * Stop watching for changes on `filename`. * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function unwatchFile(filename: PathLike, listener?: (curr: Stats, prev: Stats) => void): void; + export interface WatchOptions extends Abortable { + encoding?: BufferEncoding | "buffer"; + persistent?: boolean; + recursive?: boolean; + } + + export type WatchListener = (event: "rename" | "change", filename: T) => void; + /** * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. * If `encoding` is not supplied, the default of `'utf8'` is used. * If `persistent` is not supplied, the default of `true` is used. * If `recursive` is not supplied, the default of `false` is used. */ - export function watch( - filename: PathLike, - options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | BufferEncoding | undefined | null, - listener?: (event: "rename" | "change", filename: string) => void, - ): FSWatcher; + export function watch(filename: PathLike, options: WatchOptions & { encoding: "buffer" } | "buffer", listener?: WatchListener): FSWatcher; /** * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. * If `encoding` is not supplied, the default of `'utf8'` is used. * If `persistent` is not supplied, the default of `true` is used. @@ -1818,37 +1804,30 @@ declare module 'fs' { */ export function watch( filename: PathLike, - options: { encoding: "buffer", persistent?: boolean, recursive?: boolean; } | "buffer", - listener?: (event: "rename" | "change", filename: Buffer) => void + options?: WatchOptions | BufferEncoding | null, + listener?: WatchListener, ): FSWatcher; /** * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. * If `encoding` is not supplied, the default of `'utf8'` is used. * If `persistent` is not supplied, the default of `true` is used. * If `recursive` is not supplied, the default of `false` is used. */ - export function watch( - filename: PathLike, - options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | string | null, - listener?: (event: "rename" | "change", filename: string | Buffer) => void, - ): FSWatcher; + export function watch(filename: PathLike, options: WatchOptions | string, listener?: WatchListener): FSWatcher; /** * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ - export function watch(filename: PathLike, listener?: (event: "rename" | "change", filename: string) => any): FSWatcher; + export function watch(filename: PathLike, listener?: WatchListener): FSWatcher; /** * Asynchronously tests whether or not the given path exists by checking with the file system. * @deprecated since v1.0.0 Use `fs.stat()` or `fs.access()` instead * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function exists(path: PathLike, callback: (exists: boolean) => void): void; @@ -1864,7 +1843,6 @@ declare module 'fs' { /** * Synchronously tests whether or not the given path exists by checking with the file system. * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function existsSync(path: PathLike): boolean; @@ -2034,14 +2012,12 @@ declare module 'fs' { /** * Asynchronously tests a user's permissions for the file specified by path. * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; /** * Asynchronously tests a user's permissions for the file specified by path. * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function access(path: PathLike, callback: NoParamCallback): void; @@ -2058,7 +2034,6 @@ declare module 'fs' { /** * Synchronously tests a user's permissions for the file specified by path. * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function accessSync(path: PathLike, mode?: number): void; @@ -2083,14 +2058,12 @@ declare module 'fs' { /** * Returns a new `ReadStream` object. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function createReadStream(path: PathLike, options?: string | ReadStreamOptions): ReadStream; /** * Returns a new `WriteStream` object. * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. */ export function createWriteStream(path: PathLike, options?: string | StreamOptions): WriteStream; diff --git a/pak-builder/node_modules/@types/node/fs/promises.d.ts b/pak-builder/node_modules/@types/node/fs/promises.d.ts index b54e21a..465e8e6 100755 --- a/pak-builder/node_modules/@types/node/fs/promises.d.ts +++ b/pak-builder/node_modules/@types/node/fs/promises.d.ts @@ -17,6 +17,7 @@ declare module 'fs/promises' { BufferEncodingOption, OpenMode, Mode, + WatchOptions, } from 'fs'; interface FileHandle { @@ -555,4 +556,37 @@ declare module 'fs/promises' { function readFile(path: PathLike | FileHandle, options?: BaseEncodingOptions & Abortable & { flag?: OpenMode } | BufferEncoding | null): Promise; function opendir(path: string, options?: OpenDirOptions): Promise; + + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + function watch(filename: PathLike, options: WatchOptions & { encoding: "buffer" } | "buffer"): AsyncIterable; + + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + function watch( + filename: PathLike, + options?: WatchOptions | BufferEncoding + ): AsyncIterable; + + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. + * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. + * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. + * If `encoding` is not supplied, the default of `'utf8'` is used. + * If `persistent` is not supplied, the default of `true` is used. + * If `recursive` is not supplied, the default of `false` is used. + */ + function watch(filename: PathLike, options: WatchOptions | string): AsyncIterable | AsyncIterable; } diff --git a/pak-builder/node_modules/@types/node/globals.d.ts b/pak-builder/node_modules/@types/node/globals.d.ts index 3933f68..fd6836c 100755 --- a/pak-builder/node_modules/@types/node/globals.d.ts +++ b/pak-builder/node_modules/@types/node/globals.d.ts @@ -37,9 +37,9 @@ interface ImportMeta { ------------------------------------------------*/ // For backwards compability -interface NodeRequire extends NodeJS.Require {} -interface RequireResolve extends NodeJS.RequireResolve {} -interface NodeModule extends NodeJS.Module {} +interface NodeRequire extends NodeJS.Require { } +interface RequireResolve extends NodeJS.RequireResolve { } +interface NodeModule extends NodeJS.Module { } declare var process: NodeJS.Process; declare var console: Console; @@ -318,6 +318,7 @@ interface AbortController { /** * Returns the AbortSignal object associated with this object. */ + readonly signal: AbortSignal; /** * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. @@ -341,6 +342,7 @@ declare var AbortController: { declare var AbortSignal: { prototype: AbortSignal; new(): AbortSignal; + // TODO: Add abort() static }; //#endregion borrowed diff --git a/pak-builder/node_modules/@types/node/http.d.ts b/pak-builder/node_modules/@types/node/http.d.ts index bc8cdd6..8c138c2 100755 --- a/pak-builder/node_modules/@types/node/http.d.ts +++ b/pak-builder/node_modules/@types/node/http.d.ts @@ -107,7 +107,7 @@ declare module 'http' { ServerResponse?: typeof ServerResponse; /** * Optionally overrides the value of - * [`--max-http-header-size`][] for requests received by this server, i.e. + * `--max-http-header-size` for requests received by this server, i.e. * the maximum length of request headers in bytes. * @default 8192 */ @@ -156,7 +156,8 @@ declare module 'http' { // https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js class OutgoingMessage extends stream.Writable { - upgrading: boolean; + readonly req: IncomingMessage; + chunkedEncoding: boolean; shouldKeepAlive: boolean; useChunkedEncodingByDefault: boolean; @@ -165,12 +166,12 @@ declare module 'http' { * @deprecated Use `writableEnded` instead. */ finished: boolean; - headersSent: boolean; + readonly headersSent: boolean; /** * @deprecated Use `socket` instead. */ - connection: Socket | null; - socket: Socket | null; + readonly connection: Socket | null; + readonly socket: Socket | null; constructor(); @@ -420,7 +421,14 @@ declare module 'http' { /** * Read-only property specifying the maximum allowed size of HTTP headers in bytes. - * Defaults to 16KB. Configurable using the [`--max-http-header-size`][] CLI option. + * Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option. */ const maxHeaderSize: number; + + /** + * + * This utility function converts a URL object into an ordinary options object as + * expected by the `http.request()` and `https.request()` APIs. + */ + function urlToHttpOptions(url: URL): ClientRequestArgs; } diff --git a/pak-builder/node_modules/@types/node/http2.d.ts b/pak-builder/node_modules/@types/node/http2.d.ts index 97bc32a..d26344e 100755 --- a/pak-builder/node_modules/@types/node/http2.d.ts +++ b/pak-builder/node_modules/@types/node/http2.d.ts @@ -438,6 +438,13 @@ declare module 'http2' { paddingStrategy?: number; peerMaxConcurrentStreams?: number; settings?: Settings; + /** + * Specifies a timeout in milliseconds that + * a server should wait when an [`'unknownProtocol'`][] is emitted. If the + * socket has not been destroyed by that time the server will destroy it. + * @default 100000 + */ + unknownProtocolTimeout?: number; selectPadding?(frameLen: number, maxFrameLen: number): number; createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex; diff --git a/pak-builder/node_modules/@types/node/index.d.ts b/pak-builder/node_modules/@types/node/index.d.ts index 673d818..aa5aaea 100755 --- a/pak-builder/node_modules/@types/node/index.d.ts +++ b/pak-builder/node_modules/@types/node/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for non-npm package Node.js 15.6 +// Type definitions for non-npm package Node.js 15.12 // Project: http://nodejs.org/ // Definitions by: Microsoft TypeScript // DefinitelyTyped @@ -50,9 +50,9 @@ // NOTE: TypeScript version-specific augmentations can be found in the following paths: // - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.8 -// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.5 +// - ~/index.d.ts - Definitions specific to TypeScript 3.7 +// - ~/ts3.6/index.d.ts - Definitions specific to TypeScript 3.6 -// NOTE: Augmentations for TypeScript 3.5 and later should use individual files for overrides -// within the respective ~/ts3.5 (or later) folder. However, this is disallowed for versions -// prior to TypeScript 3.5, so the older definitions will be found here. +// NOTE: Augmentations for TypeScript 3.6 and later should use individual files for overrides +// within the respective ~/ts3.6 (or later) folder. However, this is disallowed for versions +// prior to TypeScript 3.6, so the older definitions will be found here. diff --git a/pak-builder/node_modules/@types/node/os.d.ts b/pak-builder/node_modules/@types/node/os.d.ts index 6c92907..b49949a 100755 --- a/pak-builder/node_modules/@types/node/os.d.ts +++ b/pak-builder/node_modules/@types/node/os.d.ts @@ -212,7 +212,7 @@ declare module 'os' { /** * Returns a string identifying the kernel version. * On POSIX systems, the operating system release is determined by calling - * [uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available, + * uname(3). On Windows, `pRtlGetVersion` is used, and if it is not available, * `GetVersionExW()` will be used. See * https://en.wikipedia.org/wiki/Uname#Examples for more information. */ diff --git a/pak-builder/node_modules/@types/node/package.json b/pak-builder/node_modules/@types/node/package.json index 062518e..90e0073 100755 --- a/pak-builder/node_modules/@types/node/package.json +++ b/pak-builder/node_modules/@types/node/package.json @@ -1,7 +1,8 @@ { "name": "@types/node", - "version": "15.6.1", + "version": "15.12.4", "description": "TypeScript definitions for Node.js", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", "license": "MIT", "contributors": [ { @@ -226,6 +227,6 @@ }, "scripts": {}, "dependencies": {}, - "typesPublisherContentHash": "f8f8a539a80cc272f918927a96e6cef5cc69df79ec257791f25651eb317ea354", - "typeScriptVersion": "3.5" + "typesPublisherContentHash": "4015e73b317c1729ff4d886338909c254c7ee7b4dd58073d03ac030b42a807cf", + "typeScriptVersion": "3.6" } \ No newline at end of file diff --git a/pak-builder/node_modules/@types/node/perf_hooks.d.ts b/pak-builder/node_modules/@types/node/perf_hooks.d.ts index 9eee617..4545f91 100755 --- a/pak-builder/node_modules/@types/node/perf_hooks.d.ts +++ b/pak-builder/node_modules/@types/node/perf_hooks.d.ts @@ -3,7 +3,8 @@ declare module 'perf_hooks' { type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http'; - interface PerformanceEntry { + class PerformanceEntry { + protected constructor(); /** * The total number of milliseconds elapsed for this entry. * This value will not be meaningful for all Performance Entry types. @@ -41,7 +42,7 @@ declare module 'perf_hooks' { readonly flags?: number; } - interface PerformanceNodeTiming extends PerformanceEntry { + class PerformanceNodeTiming extends PerformanceEntry { /** * The high resolution millisecond timestamp at which the Node.js process completed bootstrap. */ @@ -88,7 +89,10 @@ declare module 'perf_hooks' { * @param util1 The result of a previous call to eventLoopUtilization() * @param util2 The result of a previous call to eventLoopUtilization() prior to util1 */ - type EventLoopUtilityFunction = (util1?: EventLoopUtilization, util2?: EventLoopUtilization) => EventLoopUtilization; + type EventLoopUtilityFunction = ( + util1?: EventLoopUtilization, + util2?: EventLoopUtilization, + ) => EventLoopUtilization; interface Performance { /** @@ -122,7 +126,7 @@ declare module 'perf_hooks' { * @param startMark * @param endMark */ - measure(name: string, startMark: string, endMark: string): void; + measure(name: string, startMark?: string, endMark?: string): void; /** * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. @@ -218,15 +222,36 @@ declare module 'perf_hooks' { resolution?: number; } - interface EventLoopDelayMonitor { + interface Histogram { /** - * Enables the event loop delay sample timer. Returns `true` if the timer was started, `false` if it was already started. + * A `Map` object detailing the accumulated percentile distribution. */ - enable(): boolean; + readonly percentiles: Map; + /** - * Disables the event loop delay sample timer. Returns `true` if the timer was stopped, `false` if it was already stopped. + * The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold. */ - disable(): boolean; + readonly exceeds: number; + + /** + * The minimum recorded event loop delay. + */ + readonly min: number; + + /** + * The maximum recorded event loop delay. + */ + readonly max: number; + + /** + * The mean of the recorded event loop delays. + */ + readonly mean: number; + + /** + * The standard deviation of the recorded event loop delays. + */ + readonly stddev: number; /** * Resets the collected histogram data. @@ -238,37 +263,48 @@ declare module 'perf_hooks' { * @param percentile A percentile value between 1 and 100. */ percentile(percentile: number): number; + } + interface IntervalHistogram extends Histogram { /** - * A `Map` object detailing the accumulated percentile distribution. + * Enables the event loop delay sample timer. Returns `true` if the timer was started, `false` if it was already started. */ - readonly percentiles: Map; - + enable(): boolean; /** - * The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold. + * Disables the event loop delay sample timer. Returns `true` if the timer was stopped, `false` if it was already stopped. */ - readonly exceeds: number; + disable(): boolean; + } + + interface RecordableHistogram extends Histogram { + record(val: number | bigint): void; /** - * The minimum recorded event loop delay. + * Calculates the amount of time (in nanoseconds) that has passed since the previous call to recordDelta() and records that amount in the histogram. */ - readonly min: number; + recordDelta(): void; + } + + function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram; + interface CreateHistogramOptions { /** - * The maximum recorded event loop delay. + * The minimum recordable value. Must be an integer value greater than 0. + * @default 1 */ - readonly max: number; + min?: number | bigint; /** - * The mean of the recorded event loop delays. + * The maximum recordable value. Must be an integer value greater than min. + * @default Number.MAX_SAFE_INTEGER */ - readonly mean: number; - + max?: number | bigint; /** - * The standard deviation of the recorded event loop delays. + * The number of accuracy digits. Must be a number between 1 and 5. + * @default 3 */ - readonly stddev: number; + figures?: number; } - function monitorEventLoopDelay(options?: EventLoopMonitorOptions): EventLoopDelayMonitor; + function createHistogram(options?: CreateHistogramOptions): RecordableHistogram; } diff --git a/pak-builder/node_modules/@types/node/process.d.ts b/pak-builder/node_modules/@types/node/process.d.ts index 20c1aba..02778bb 100755 --- a/pak-builder/node_modules/@types/node/process.d.ts +++ b/pak-builder/node_modules/@types/node/process.d.ts @@ -336,7 +336,7 @@ declare module 'process' { /** * The `process.allowedNodeEnvironmentFlags` property is a special, - * read-only `Set` of flags allowable within the [`NODE_OPTIONS`][] + * read-only `Set` of flags allowable within the `NODE_OPTIONS` * environment variable. */ allowedNodeEnvironmentFlags: ReadonlySet; diff --git a/pak-builder/node_modules/@types/node/readline.d.ts b/pak-builder/node_modules/@types/node/readline.d.ts index 3969af5..988d216 100755 --- a/pak-builder/node_modules/@types/node/readline.d.ts +++ b/pak-builder/node_modules/@types/node/readline.d.ts @@ -1,5 +1,5 @@ declare module 'readline' { - import EventEmitter = require('events'); + import { Abortable, EventEmitter } from 'events'; interface Key { sequence?: string; @@ -42,6 +42,7 @@ declare module 'readline' { setPrompt(prompt: string): void; prompt(preserveCursor?: boolean): void; question(query: string, callback: (answer: string) => void): void; + question(query: string, options: Abortable, callback: (answer: string) => void): void; pause(): this; resume(): this; close(): void; @@ -63,8 +64,8 @@ declare module 'readline' { * 5. SIGCONT * 6. SIGINT * 7. SIGTSTP + * 8. history */ - addListener(event: string, listener: (...args: any[]) => void): this; addListener(event: "close", listener: () => void): this; addListener(event: "line", listener: (input: string) => void): this; @@ -73,6 +74,7 @@ declare module 'readline' { addListener(event: "SIGCONT", listener: () => void): this; addListener(event: "SIGINT", listener: () => void): this; addListener(event: "SIGTSTP", listener: () => void): this; + addListener(event: "history", listener: (history: string[]) => void): this; emit(event: string | symbol, ...args: any[]): boolean; emit(event: "close"): boolean; @@ -82,6 +84,7 @@ declare module 'readline' { emit(event: "SIGCONT"): boolean; emit(event: "SIGINT"): boolean; emit(event: "SIGTSTP"): boolean; + emit(event: "history", history: string[]): boolean; on(event: string, listener: (...args: any[]) => void): this; on(event: "close", listener: () => void): this; @@ -91,6 +94,7 @@ declare module 'readline' { on(event: "SIGCONT", listener: () => void): this; on(event: "SIGINT", listener: () => void): this; on(event: "SIGTSTP", listener: () => void): this; + on(event: "history", listener: (history: string[]) => void): this; once(event: string, listener: (...args: any[]) => void): this; once(event: "close", listener: () => void): this; @@ -100,6 +104,7 @@ declare module 'readline' { once(event: "SIGCONT", listener: () => void): this; once(event: "SIGINT", listener: () => void): this; once(event: "SIGTSTP", listener: () => void): this; + once(event: "history", listener: (history: string[]) => void): this; prependListener(event: string, listener: (...args: any[]) => void): this; prependListener(event: "close", listener: () => void): this; @@ -109,6 +114,7 @@ declare module 'readline' { prependListener(event: "SIGCONT", listener: () => void): this; prependListener(event: "SIGINT", listener: () => void): this; prependListener(event: "SIGTSTP", listener: () => void): this; + prependListener(event: "history", listener: (history: string[]) => void): this; prependOnceListener(event: string, listener: (...args: any[]) => void): this; prependOnceListener(event: "close", listener: () => void): this; @@ -118,6 +124,8 @@ declare module 'readline' { prependOnceListener(event: "SIGCONT", listener: () => void): this; prependOnceListener(event: "SIGINT", listener: () => void): this; prependOnceListener(event: "SIGTSTP", listener: () => void): this; + prependOnceListener(event: "history", listener: (history: string[]) => void): this; + [Symbol.asyncIterator](): AsyncIterableIterator; } @@ -133,9 +141,22 @@ declare module 'readline' { output?: NodeJS.WritableStream; completer?: Completer | AsyncCompleter; terminal?: boolean; + /** + * Initial list of history lines. This option makes sense + * only if `terminal` is set to `true` by the user or by an internal `output` + * check, otherwise the history caching mechanism is not initialized at all. + * @default [] + */ + history?: string[]; historySize?: number; prompt?: string; crlfDelay?: number; + /** + * If `true`, when a new input line added + * to the history list duplicates an older one, this removes the older line + * from the list. + * @default false + */ removeHistoryDuplicates?: boolean; escapeCodeTimeout?: number; tabSize?: number; diff --git a/pak-builder/node_modules/@types/node/stream.d.ts b/pak-builder/node_modules/@types/node/stream.d.ts index 8d24d2a..e471cba 100755 --- a/pak-builder/node_modules/@types/node/stream.d.ts +++ b/pak-builder/node_modules/@types/node/stream.d.ts @@ -301,7 +301,7 @@ declare module 'stream' { */ function addAbortSignal(signal: AbortSignal, stream: T): T; - interface FinishedOptions { + interface FinishedOptions extends Abortable { error?: boolean; readable?: boolean; writable?: boolean; diff --git a/pak-builder/node_modules/@types/node/timers.d.ts b/pak-builder/node_modules/@types/node/timers.d.ts index 6c19240..d0a933b 100755 --- a/pak-builder/node_modules/@types/node/timers.d.ts +++ b/pak-builder/node_modules/@types/node/timers.d.ts @@ -1,16 +1,13 @@ declare module 'timers' { - interface TimerOptions { + import { Abortable } from 'events'; + + interface TimerOptions extends Abortable { /** * Set to `false` to indicate that the scheduled `Timeout` * should not require the Node.js event loop to remain active. * @default true */ ref?: boolean; - - /** - * An optional `AbortSignal` that can be used to cancel the scheduled `Timeout`. - */ - signal?: AbortSignal; } function setTimeout(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout; diff --git a/pak-builder/node_modules/@types/node/timers/promises.d.ts b/pak-builder/node_modules/@types/node/timers/promises.d.ts index 1c04f50..dbd4c99 100755 --- a/pak-builder/node_modules/@types/node/timers/promises.d.ts +++ b/pak-builder/node_modules/@types/node/timers/promises.d.ts @@ -3,11 +3,19 @@ declare module 'timers/promises' { /** * Returns a promise that resolves after the specified delay in milliseconds. + * @param delay defaults to 1 */ - function setTimeout(delay: number, value?: T, options?: TimerOptions): Promise; + function setTimeout(delay?: number, value?: T, options?: TimerOptions): Promise; /** * Returns a promise that resolves in the next tick. */ - function setImmediate(value: T, options?: TimerOptions): Promise; + function setImmediate(value?: T, options?: TimerOptions): Promise; + + /** + * + * Returns an async iterator that generates values in an interval of delay ms. + * @param delay defaults to 1 + */ + function setInterval(delay?: number, value?: T, options?: TimerOptions): AsyncIterable; } diff --git a/pak-builder/node_modules/@types/node/tls.d.ts b/pak-builder/node_modules/@types/node/tls.d.ts index b2f50a4..7a0647c 100755 --- a/pak-builder/node_modules/@types/node/tls.d.ts +++ b/pak-builder/node_modules/@types/node/tls.d.ts @@ -1,4 +1,5 @@ declare module 'tls' { + import { X509Certificate } from 'crypto'; import * as net from 'net'; const CLIENT_RENEG_LIMIT: number; @@ -295,6 +296,16 @@ declare module 'tls' { */ enableTrace(): void; + /** + * If there is no peer certificate, or the socket has been destroyed, `undefined` will be returned. + */ + getPeerX509Certificate(): X509Certificate | undefined; + + /** + * If there is no local certificate, or the socket has been destroyed, `undefined` will be returned. + */ + getX509Certificate(): X509Certificate | undefined; + /** * @param length number of bytes to retrieve from keying material * @param label an application specific label, typically this will be a value from the diff --git a/pak-builder/node_modules/@types/node/ts3.6/base.d.ts b/pak-builder/node_modules/@types/node/ts3.6/base.d.ts index 81ce877..0c67093 100755 --- a/pak-builder/node_modules/@types/node/ts3.6/base.d.ts +++ b/pak-builder/node_modules/@types/node/ts3.6/base.d.ts @@ -3,8 +3,8 @@ // NOTE: TypeScript version-specific augmentations can be found in the following paths: // - ~/base.d.ts - Shared definitions common to all TypeScript versions // - ~/index.d.ts - Definitions specific to TypeScript 3.7 and above -// - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.6 and earlier -// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.6 and earlier with assert pulled in +// - ~/ts3.6/base.d.ts - Definitions specific to TypeScript 3.6 and earlier +// - ~/ts3.6/index.d.ts - Definitions specific to TypeScript 3.6 and earlier with assert pulled in // Reference required types from the default lib: /// @@ -61,8 +61,8 @@ /// /// -// TypeScript 3.5-specific augmentations: +// TypeScript 3.6-specific augmentations: /// -// TypeScript 3.5-specific augmentations: +// TypeScript 3.6-specific augmentations: /// diff --git a/pak-builder/node_modules/@types/node/ts3.6/index.d.ts b/pak-builder/node_modules/@types/node/ts3.6/index.d.ts index e34d7e5..1a7d360 100755 --- a/pak-builder/node_modules/@types/node/ts3.6/index.d.ts +++ b/pak-builder/node_modules/@types/node/ts3.6/index.d.ts @@ -1,4 +1,4 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.5 - 3.6. +// NOTE: These definitions support NodeJS and TypeScript 3.6. // This is required to enable typing assert in ts3.7 without causing errors // Typically type modifications should be made in base.d.ts instead of here diff --git a/pak-builder/node_modules/@types/node/wasi.d.ts b/pak-builder/node_modules/@types/node/wasi.d.ts index fe2b2aa..895572c 100755 --- a/pak-builder/node_modules/@types/node/wasi.d.ts +++ b/pak-builder/node_modules/@types/node/wasi.d.ts @@ -58,7 +58,7 @@ declare module 'wasi' { * invoke the `__wasi_unstable_reactor_start()` export. If neither of those exports * is present on `instance`, then `start()` does nothing. * - * `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named + * `start()` requires that `instance` exports a `WebAssembly.Memory` named * `memory`. If `instance` does not have a `memory` export an exception is thrown. * * If `start()` is called more than once, an exception is thrown. @@ -69,7 +69,7 @@ declare module 'wasi' { * Attempt to initialize `instance` as a WASI reactor by invoking its `_initialize()` export, if it is present. * If `instance` contains a `_start()` export, then an exception is thrown. * - * `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named + * `start()` requires that `instance` exports a `WebAssembly.Memory` named * `memory`. If `instance` does not have a `memory` export an exception is thrown. * * If `initialize()` is called more than once, an exception is thrown. @@ -79,7 +79,7 @@ declare module 'wasi' { /** * Is an object that implements the WASI system call API. This object * should be passed as the `wasi_snapshot_preview1` import during the instantiation of a - * [`WebAssembly.Instance`][]. + * `WebAssembly.Instance`. */ readonly wasiImport: NodeJS.Dict; // TODO: Narrow to DOM types } diff --git a/pak-builder/node_modules/@types/node/worker_threads.d.ts b/pak-builder/node_modules/@types/node/worker_threads.d.ts index dbaed2a..86015d3 100755 --- a/pak-builder/node_modules/@types/node/worker_threads.d.ts +++ b/pak-builder/node_modules/@types/node/worker_threads.d.ts @@ -1,4 +1,5 @@ declare module 'worker_threads' { + import { Blob } from 'node:buffer'; import { Context } from 'vm'; import { EventEmitter } from 'events'; import { EventLoopUtilityFunction } from 'perf_hooks'; @@ -23,7 +24,7 @@ declare module 'worker_threads' { eventLoopUtilization: EventLoopUtilityFunction; } - type TransferListItem = ArrayBuffer | MessagePort | FileHandle | X509Certificate; + type TransferListItem = ArrayBuffer | MessagePort | FileHandle | X509Certificate | Blob; class MessagePort extends EventEmitter { close(): void; @@ -145,11 +146,11 @@ declare module 'worker_threads' { /** * Returns a readable stream for a V8 snapshot of the current state of the Worker. - * See [`v8.getHeapSnapshot()`][] for more details. + * See `v8.getHeapSnapshot()` for more details. * * If the Worker thread is no longer running, which may occur before the - * [`'exit'` event][] is emitted, the returned `Promise` will be rejected - * immediately with an [`ERR_WORKER_NOT_RUNNING`][] error + * `'exit'` event is emitted, the returned `Promise` will be rejected + * immediately with an `ERR_WORKER_NOT_RUNNING` error */ getHeapSnapshot(): Promise; @@ -261,4 +262,21 @@ declare module 'worker_threads' { * `MessagePort`’s queue. */ function receiveMessageOnPort(port: MessagePort): { message: any } | undefined; + + type Serializable = string | object | number | boolean | bigint; + + /** + * @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key. + * @experimental + */ + function getEnvironmentData(key: Serializable): Serializable; + + /** + * @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key. + * @param value Any arbitrary, cloneable JavaScript value that will be cloned + * and passed automatically to all new `Worker` instances. If `value` is passed + * as `undefined`, any previously set value for the `key` will be deleted. + * @experimental + */ + function setEnvironmentData(key: Serializable, value: Serializable): void; } diff --git a/pak-builder/node_modules/cacheable-request/package.json b/pak-builder/node_modules/cacheable-request/package.json index fec4797..b3e0242 100644 --- a/pak-builder/node_modules/cacheable-request/package.json +++ b/pak-builder/node_modules/cacheable-request/package.json @@ -1,6 +1,6 @@ { "name": "cacheable-request", - "version": "7.0.1", + "version": "7.0.2", "description": "Wrap native HTTP requests with RFC compliant cache support", "license": "MIT", "repository": "lukechilds/cacheable-request", @@ -34,7 +34,7 @@ "http-cache-semantics": "^4.0.0", "keyv": "^4.0.0", "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", + "normalize-url": "^6.0.1", "responselike": "^2.0.0" }, "devDependencies": { diff --git a/pak-builder/node_modules/install-rstats/lib/create-lib.sh b/pak-builder/node_modules/install-rstats/lib/create-lib.sh index 08ca23b..545c6ef 100755 --- a/pak-builder/node_modules/install-rstats/lib/create-lib.sh +++ b/pak-builder/node_modules/install-rstats/lib/create-lib.sh @@ -13,13 +13,53 @@ else case ${0##*/} in sh|dash) sourced=1;; esac fi +function vercomp () { + if [[ $1 == $2 ]] + then + return 0 + fi + local IFS=. + local i ver1=($1) ver2=($2) + # fill empty fields in ver1 with zeros + for ((i=${#ver1[@]}; i<${#ver2[@]}; i++)) + do + ver1[i]=0 + done + for ((i=0; i<${#ver1[@]}; i++)) + do + if [[ -z ${ver2[i]} ]] + then + # fill empty fields in ver2 with zeros + ver2[i]=0 + fi + if ((10#${ver1[i]} > 10#${ver2[i]})) + then + return 1 + fi + if ((10#${ver1[i]} < 10#${ver2[i]})) + then + return 2 + fi + done + return 0 +} + function create_libs() { local vers=$(installed_r_versions) local base="/Library/Frameworks/R.framework/Versions" for ver in $vers do - renv="$base/$ver/Resources/etc/Renviron" - lib=$(bash -c "source $renv; echo \$R_LIBS_USER") + # from R 4.2.0 R_LIBS_USER is not hard-coded in the config, + # but we need to run R to query it. This works on older versions + # as well, but for those we can get away without starting R, so + # we don't. + if [[ "`(vercomp $ver 4.1.9; echo $?)`" == "1" ]]; then + exec="$base/$ver/Resources/R" + lib=`$exec --vanilla -s -e 'cat(Sys.getenv("R_LIBS_USER"))'` + else + renv="$base/$ver/Resources/etc/Renviron" + lib=$(bash -c "source $renv; echo \$R_LIBS_USER") + fi # This is to expand the tilde lib=$(bash -c "echo $lib") if test -e "$lib"; then diff --git a/pak-builder/node_modules/install-rstats/news.md b/pak-builder/node_modules/install-rstats/news.md index 6d2a3d1..9851cc4 100644 --- a/pak-builder/node_modules/install-rstats/news.md +++ b/pak-builder/node_modules/install-rstats/news.md @@ -1,4 +1,8 @@ +# 1.3.5 + +* Fix user library creation on R 4.2.x, on macOS. + # 1.3.4 * Create shortcuts for i386 versions on Windows. diff --git a/pak-builder/node_modules/install-rstats/package.json b/pak-builder/node_modules/install-rstats/package.json index 691d935..90b8936 100644 --- a/pak-builder/node_modules/install-rstats/package.json +++ b/pak-builder/node_modules/install-rstats/package.json @@ -1,6 +1,6 @@ { "name": "install-rstats", - "version": "1.3.4", + "version": "1.3.5", "description": "Install R versions", "main": "index.js", "repository": "r-hub/node-install-rstats", @@ -46,8 +46,10 @@ "package.json", "lib" ], - "pkg": { - "build": [ "install-rstats.js", "lib/installer.sh" ] + "build": [ + "install-rstats.js", + "lib/installer.sh" + ] } } diff --git a/pak-builder/node_modules/normalize-url/index.d.ts b/pak-builder/node_modules/normalize-url/index.d.ts index 7e332f2..ca40f8f 100644 --- a/pak-builder/node_modules/normalize-url/index.d.ts +++ b/pak-builder/node_modules/normalize-url/index.d.ts @@ -103,6 +103,30 @@ declare namespace normalizeUrl { */ readonly stripProtocol?: boolean; + /** + Strip the [text fragment](https://web.dev/text-fragments/) part of the URL + + __Note:__ The text fragment will always be removed if the `stripHash` option is set to `true`, as the hash contains the text fragment. + + @default true + + @example + ``` + normalizeUrl('http://sindresorhus.com/about.html#:~:text=hello'); + //=> 'http://sindresorhus.com/about.html#' + + normalizeUrl('http://sindresorhus.com/about.html#section:~:text=hello'); + //=> 'http://sindresorhus.com/about.html#section' + + normalizeUrl('http://sindresorhus.com/about.html#:~:text=hello', {stripTextFragment: false}); + //=> 'http://sindresorhus.com/about.html#:~:text=hello' + + normalizeUrl('http://sindresorhus.com/about.html#section:~:text=hello', {stripTextFragment: false}); + //=> 'http://sindresorhus.com/about.html#section:~:text=hello' + ``` + */ + readonly stripTextFragment?: boolean; + /** Removes `www.` from the URL. @@ -131,13 +155,31 @@ declare namespace normalizeUrl { }); //=> 'http://sindresorhus.com/?foo=bar' ``` + + If a boolean is provided, `true` will remove all the query parameters. + + ``` + normalizeUrl('www.sindresorhus.com?foo=bar', { + removeQueryParameters: true + }); + //=> 'http://sindresorhus.com' + ``` + + `false` will not remove any query parameter. + + ``` + normalizeUrl('www.sindresorhus.com?foo=bar&utm_medium=test&ref=test_ref', { + removeQueryParameters: false + }); + //=> 'http://www.sindresorhus.com/?foo=bar&ref=test_ref&utm_medium=test' + ``` */ - readonly removeQueryParameters?: ReadonlyArray; + readonly removeQueryParameters?: ReadonlyArray | boolean; /** Removes trailing slash. - __Note__: Trailing slash is always removed if the URL doesn't have a pathname. + __Note__: Trailing slash is always removed if the URL doesn't have a pathname unless the `removeSingleSlash` option is set to `false`. @default true @@ -155,6 +197,22 @@ declare namespace normalizeUrl { */ readonly removeTrailingSlash?: boolean; + /** + Remove a sole `/` pathname in the output. This option is independant of `removeTrailingSlash`. + + @default true + + @example + ``` + normalizeUrl('https://sindresorhus.com/'); + //=> 'https://sindresorhus.com' + + normalizeUrl('https://sindresorhus.com/', {removeSingleSlash: false}); + //=> 'https://sindresorhus.com/' + ``` + */ + readonly removeSingleSlash?: boolean; + /** Removes the default directory index file from path that matches any of the provided strings or regexes. When `true`, the regex `/^index\.[a-z]+$/` is used. @@ -188,29 +246,22 @@ declare namespace normalizeUrl { } } -declare const normalizeUrl: { - /** - [Normalize](https://en.wikipedia.org/wiki/URL_normalization) a URL. - - @param url - URL to normalize, including [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs). +/** +[Normalize](https://en.wikipedia.org/wiki/URL_normalization) a URL. - @example - ``` - import normalizeUrl = require('normalize-url'); +@param url - URL to normalize, including [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs). - normalizeUrl('sindresorhus.com'); - //=> 'http://sindresorhus.com' +@example +``` +import normalizeUrl = require('normalize-url'); - normalizeUrl('HTTP://xn--xample-hva.com:80/?b=bar&a=foo'); - //=> 'http://êxample.com/?a=foo&b=bar' - ``` - */ - (url: string, options?: normalizeUrl.Options): string; +normalizeUrl('sindresorhus.com'); +//=> 'http://sindresorhus.com' - // TODO: Remove this for the next major release, refactor the whole definition to: - // declare function normalizeUrl(url: string, options?: normalizeUrl.Options): string; - // export = normalizeUrl; - default: typeof normalizeUrl; -}; +normalizeUrl('//www.sindresorhus.com:80/../baz?b=bar&a=foo'); +//=> 'http://sindresorhus.com/baz?a=foo&b=bar' +``` +*/ +declare function normalizeUrl(url: string, options?: normalizeUrl.Options): string; export = normalizeUrl; diff --git a/pak-builder/node_modules/normalize-url/index.js b/pak-builder/node_modules/normalize-url/index.js index 2ab7f57..c9340ab 100644 --- a/pak-builder/node_modules/normalize-url/index.js +++ b/pak-builder/node_modules/normalize-url/index.js @@ -1,6 +1,4 @@ 'use strict'; -// TODO: Use the `URL` global when targeting Node.js 10 -const URLParser = typeof URL === 'undefined' ? require('url').URL : URL; // https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs const DATA_URL_DEFAULT_MIME_TYPE = 'text/plain'; @@ -11,21 +9,20 @@ const testParameter = (name, filters) => { }; const normalizeDataURL = (urlString, {stripHash}) => { - const parts = urlString.match(/^data:([^,]*?),([^#]*?)(?:#(.*))?$/); + const match = /^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(urlString); - if (!parts) { + if (!match) { throw new Error(`Invalid URL: ${urlString}`); } - const mediaType = parts[1].split(';'); - const body = parts[2]; - const hash = stripHash ? '' : parts[3]; - - let base64 = false; + let {type, data, hash} = match.groups; + const mediaType = type.split(';'); + hash = stripHash ? '' : hash; + let isBase64 = false; if (mediaType[mediaType.length - 1] === 'base64') { mediaType.pop(); - base64 = true; + isBase64 = true; } // Lowercase MIME type @@ -51,7 +48,7 @@ const normalizeDataURL = (urlString, {stripHash}) => { ...attributes ]; - if (base64) { + if (isBase64) { normalizedMediaType.push('base64'); } @@ -59,7 +56,7 @@ const normalizeDataURL = (urlString, {stripHash}) => { normalizedMediaType.unshift(mimeType); } - return `data:${normalizedMediaType.join(';')},${base64 ? body.trim() : body}${hash ? `#${hash}` : ''}`; + return `data:${normalizedMediaType.join(';')},${isBase64 ? data.trim() : data}${hash ? `#${hash}` : ''}`; }; const normalizeUrl = (urlString, options) => { @@ -70,27 +67,16 @@ const normalizeUrl = (urlString, options) => { forceHttps: false, stripAuthentication: true, stripHash: false, + stripTextFragment: true, stripWWW: true, removeQueryParameters: [/^utm_\w+/i], removeTrailingSlash: true, + removeSingleSlash: true, removeDirectoryIndex: false, sortQueryParameters: true, ...options }; - // TODO: Remove this at some point in the future - if (Reflect.has(options, 'normalizeHttps')) { - throw new Error('options.normalizeHttps is renamed to options.forceHttp'); - } - - if (Reflect.has(options, 'normalizeHttp')) { - throw new Error('options.normalizeHttp is renamed to options.forceHttps'); - } - - if (Reflect.has(options, 'stripFragment')) { - throw new Error('options.stripFragment is renamed to options.stripHash'); - } - urlString = urlString.trim(); // Data URL @@ -98,6 +84,10 @@ const normalizeUrl = (urlString, options) => { return normalizeDataURL(urlString, options); } + if (/^view-source:/i.test(urlString)) { + throw new Error('`view-source:` is not supported as it is a non-standard protocol'); + } + const hasRelativeProtocol = urlString.startsWith('//'); const isRelativeUrl = !hasRelativeProtocol && /^\.*\//.test(urlString); @@ -106,7 +96,7 @@ const normalizeUrl = (urlString, options) => { urlString = urlString.replace(/^(?!(?:\w+:)?\/\/)|^\/\//, options.defaultProtocol); } - const urlObj = new URLParser(urlString); + const urlObj = new URL(urlString); if (options.forceHttp && options.forceHttps) { throw new Error('The `forceHttp` and `forceHttps` options cannot be used together'); @@ -129,24 +119,20 @@ const normalizeUrl = (urlString, options) => { // Remove hash if (options.stripHash) { urlObj.hash = ''; + } else if (options.stripTextFragment) { + urlObj.hash = urlObj.hash.replace(/#?:~:text.*?$/i, ''); } // Remove duplicate slashes if not preceded by a protocol if (urlObj.pathname) { - // TODO: Use the following instead when targeting Node.js 10 - // `urlObj.pathname = urlObj.pathname.replace(/(? { - if (/^(?!\/)/g.test(p1)) { - return `${p1}/`; - } - - return '/'; - }); + urlObj.pathname = urlObj.pathname.replace(/(? { urlObj.hostname = urlObj.hostname.replace(/\.$/, ''); // Remove `www.` - if (options.stripWWW && /^www\.([a-z\-\d]{2,63})\.([a-z.]{2,5})$/.test(urlObj.hostname)) { - // Each label should be max 63 at length (min: 2). - // The extension should be max 5 at length (min: 2). + if (options.stripWWW && /^www\.(?!www\.)(?:[a-z\-\d]{1,63})\.(?:[a-z.\-\d]{2,63})$/.test(urlObj.hostname)) { + // Each label should be max 63 at length (min: 1). // Source: https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names + // Each TLD should be up to 63 characters long (min: 2). + // It is technically possible to have a single character TLD, but none currently exist. urlObj.hostname = urlObj.hostname.replace(/^www\./, ''); } } @@ -186,6 +173,10 @@ const normalizeUrl = (urlString, options) => { } } + if (options.removeQueryParameters === true) { + urlObj.search = ''; + } + // Sort query parameters if (options.sortQueryParameters) { urlObj.searchParams.sort(); @@ -195,11 +186,17 @@ const normalizeUrl = (urlString, options) => { urlObj.pathname = urlObj.pathname.replace(/\/$/, ''); } + const oldUrlString = urlString; + // Take advantage of many of the Node `url` normalizations urlString = urlObj.toString(); - // Remove ending `/` - if ((options.removeTrailingSlash || urlObj.pathname === '/') && urlObj.hash === '') { + if (!options.removeSingleSlash && urlObj.pathname === '/' && !oldUrlString.endsWith('/') && urlObj.hash === '') { + urlString = urlString.replace(/\/$/, ''); + } + + // Remove ending `/` unless removeSingleSlash is false + if ((options.removeTrailingSlash || urlObj.pathname === '/') && urlObj.hash === '' && options.removeSingleSlash) { urlString = urlString.replace(/\/$/, ''); } @@ -217,5 +214,3 @@ const normalizeUrl = (urlString, options) => { }; module.exports = normalizeUrl; -// TODO: Remove this for the next major release -module.exports.default = normalizeUrl; diff --git a/pak-builder/node_modules/normalize-url/package.json b/pak-builder/node_modules/normalize-url/package.json index b0d59e0..2670e4a 100644 --- a/pak-builder/node_modules/normalize-url/package.json +++ b/pak-builder/node_modules/normalize-url/package.json @@ -1,16 +1,17 @@ { "name": "normalize-url", - "version": "4.5.1", + "version": "6.1.0", "description": "Normalize a URL", "license": "MIT", "repository": "sindresorhus/normalize-url", + "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" + "url": "https://sindresorhus.com" }, "engines": { - "node": ">=8" + "node": ">=10" }, "scripts": { "test": "xo && nyc ava && tsd" @@ -36,9 +37,14 @@ ], "devDependencies": { "ava": "^2.4.0", - "coveralls": "^3.0.6", - "nyc": "^14.1.1", - "tsd": "^0.8.0", - "xo": "^0.24.0" + "nyc": "^15.0.0", + "tsd": "^0.11.0", + "xo": "^0.25.3" + }, + "nyc": { + "reporter": [ + "text", + "lcov" + ] } } diff --git a/pak-builder/node_modules/normalize-url/readme.md b/pak-builder/node_modules/normalize-url/readme.md index a851fdd..4b29b29 100644 --- a/pak-builder/node_modules/normalize-url/readme.md +++ b/pak-builder/node_modules/normalize-url/readme.md @@ -1,16 +1,16 @@ -# normalize-url [![Build Status](https://travis-ci.org/sindresorhus/normalize-url.svg?branch=master)](https://travis-ci.org/sindresorhus/normalize-url) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/normalize-url/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/normalize-url?branch=master) +# normalize-url [![Coverage Status](https://codecov.io/gh/sindresorhus/normalize-url/branch/main/graph/badge.svg)](https://codecov.io/gh/sindresorhus/normalize-url) > [Normalize](https://en.wikipedia.org/wiki/URL_normalization) a URL Useful when you need to display, store, deduplicate, sort, compare, etc, URLs. - ## Install ``` $ npm install normalize-url ``` +*If you need to use this in the browser, use version 4: `npm i normalize-url@4`* ## Usage @@ -20,11 +20,10 @@ const normalizeUrl = require('normalize-url'); normalizeUrl('sindresorhus.com'); //=> 'http://sindresorhus.com' -normalizeUrl('HTTP://xn--xample-hva.com:80/?b=bar&a=foo'); -//=> 'http://êxample.com/?a=foo&b=bar' +normalizeUrl('//www.sindresorhus.com:80/../baz?b=bar&a=foo'); +//=> 'http://sindresorhus.com/baz?a=foo&b=bar' ``` - ## API ### normalizeUrl(url, options?) @@ -41,12 +40,12 @@ Type: `object` ##### defaultProtocol -Type: `string`
+Type: `string`\ Default: `http:` ##### normalizeProtocol -Type: `boolean`
+Type: `boolean`\ Default: `true` Prepend `defaultProtocol` to the URL if it's protocol-relative. @@ -61,7 +60,7 @@ normalizeUrl('//sindresorhus.com:80/', {normalizeProtocol: false}); ##### forceHttp -Type: `boolean`
+Type: `boolean`\ Default: `false` Normalize `https:` to `http:`. @@ -76,7 +75,7 @@ normalizeUrl('https://sindresorhus.com:80/', {forceHttp: true}); ##### forceHttps -Type: `boolean`
+Type: `boolean`\ Default: `false` Normalize `http:` to `https:`. @@ -93,7 +92,7 @@ This option can't be used with the `forceHttp` option at the same time. ##### stripAuthentication -Type: `boolean`
+Type: `boolean`\ Default: `true` Strip the [authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) part of the URL. @@ -108,7 +107,7 @@ normalizeUrl('user:password@sindresorhus.com', {stripAuthentication: false}); ##### stripHash -Type: `boolean`
+Type: `boolean`\ Default: `false` Strip the hash part of the URL. @@ -123,7 +122,7 @@ normalizeUrl('sindresorhus.com/about.html#contact', {stripHash: true}); ##### stripProtocol -Type: `boolean`
+Type: `boolean`\ Default: `false` Remove HTTP(S) protocol from the URL: `http://sindresorhus.com` → `sindresorhus.com`. @@ -132,13 +131,36 @@ Remove HTTP(S) protocol from the URL: `http://sindresorhus.com` → `sindresorhu normalizeUrl('https://sindresorhus.com'); //=> 'https://sindresorhus.com' -normalizeUrl('sindresorhus.com', {stripProtocol: true}); +normalizeUrl('https://sindresorhus.com', {stripProtocol: true}); //=> 'sindresorhus.com' ``` +##### stripTextFragment + +Type: `boolean`\ +Default: `true` + +Strip the [text fragment](https://web.dev/text-fragments/) part of the URL. + +**Note:** The text fragment will always be removed if the `stripHash` option is set to `true`, as the hash contains the text fragment. + +```js +normalizeUrl('http://sindresorhus.com/about.html#:~:text=hello'); +//=> 'http://sindresorhus.com/about.html#' + +normalizeUrl('http://sindresorhus.com/about.html#section:~:text=hello'); +//=> 'http://sindresorhus.com/about.html#section' + +normalizeUrl('http://sindresorhus.com/about.html#:~:text=hello', {stripTextFragment: false}); +//=> 'http://sindresorhus.com/about.html#:~:text=hello' + +normalizeUrl('http://sindresorhus.com/about.html#section:~:text=hello', {stripTextFragment: false}); +//=> 'http://sindresorhus.com/about.html#section:~:text=hello' +``` + ##### stripWWW -Type: `boolean`
+Type: `boolean`\ Default: `true` Remove `www.` from the URL. @@ -153,7 +175,7 @@ normalizeUrl('http://www.sindresorhus.com', {stripWWW: false}); ##### removeQueryParameters -Type: `Array`
+Type: `Array | boolean`\ Default: `[/^utm_\w+/i]` Remove query parameters that matches any of the provided strings or regexes. @@ -165,14 +187,32 @@ normalizeUrl('www.sindresorhus.com?foo=bar&ref=test_ref', { //=> 'http://sindresorhus.com/?foo=bar' ``` +If a boolean is provided, `true` will remove all the query parameters. + +```js +normalizeUrl('www.sindresorhus.com?foo=bar', { + removeQueryParameters: true +}); +//=> 'http://sindresorhus.com' +``` + +`false` will not remove any query parameter. + +```js +normalizeUrl('www.sindresorhus.com?foo=bar&utm_medium=test&ref=test_ref', { + removeQueryParameters: false +}); +//=> 'http://www.sindresorhus.com/?foo=bar&ref=test_ref&utm_medium=test' +``` + ##### removeTrailingSlash -Type: `boolean`
+Type: `boolean`\ Default: `true` Remove trailing slash. -**Note:** Trailing slash is always removed if the URL doesn't have a pathname. +**Note:** Trailing slash is always removed if the URL doesn't have a pathname unless the `removeSingleSlash` option is set to `false`. ```js normalizeUrl('http://sindresorhus.com/redirect/'); @@ -185,9 +225,25 @@ normalizeUrl('http://sindresorhus.com/', {removeTrailingSlash: false}); //=> 'http://sindresorhus.com' ``` +##### removeSingleSlash + +Type: `boolean`\ +Default: `true` + +Remove a sole `/` pathname in the output. This option is independant of `removeTrailingSlash`. + +```js +normalizeUrl('https://sindresorhus.com/'); +//=> 'https://sindresorhus.com' + +normalizeUrl('https://sindresorhus.com/', {removeSingleSlash: false}); +//=> 'https://sindresorhus.com/' +``` + + ##### removeDirectoryIndex -Type: `boolean | Array`
+Type: `boolean | Array`\ Default: `false` Removes the default directory index file from path that matches any of the provided strings or regexes. When `true`, the regex `/^index\.[a-z]+$/` is used. @@ -201,7 +257,7 @@ normalizeUrl('www.sindresorhus.com/foo/default.php', { ##### sortQueryParameters -Type: `boolean`
+Type: `boolean`\ Default: `true` Sorts the query parameters alphabetically by key. @@ -213,12 +269,10 @@ normalizeUrl('www.sindresorhus.com?b=two&a=one&c=three', { //=> 'http://sindresorhus.com/?b=two&a=one&c=three' ``` - ## Related - [compare-urls](https://github.com/sindresorhus/compare-urls) - Compare URLs by first normalizing them - ---
diff --git a/pak-builder/node_modules/tail/.github/dependabot.yml b/pak-builder/node_modules/tail/.github/dependabot.yml new file mode 100644 index 0000000..67c661a --- /dev/null +++ b/pak-builder/node_modules/tail/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: npm + directory: "/" + schedule: + interval: monthly + open-pull-requests-limit: 10 diff --git a/pak-builder/node_modules/tail/lib/tail.js b/pak-builder/node_modules/tail/lib/tail.js index 7da5b7d..b29f80f 100644 --- a/pak-builder/node_modules/tail/lib/tail.js +++ b/pak-builder/node_modules/tail/lib/tail.js @@ -17,7 +17,7 @@ class Tail extends events.EventEmitter { this.absPath = path.dirname(this.filename); this.separator = (options.separator !== undefined) ? options.separator : /[\r]{0,1}\n/;// null is a valid param this.fsWatchOptions = options.fsWatchOptions || {}; - this.follow = 'follow' in options ? options.follow : true; + this.follow = options['follow'] != undefined ? options['follow'] : true; this.logger = options.logger || new devNull(); this.useWatchFile = options.useWatchFile || false; this.flushAtEOF = options.flushAtEOF || false; diff --git a/pak-builder/node_modules/tail/package.json b/pak-builder/node_modules/tail/package.json index 1707abf..afa88ae 100644 --- a/pak-builder/node_modules/tail/package.json +++ b/pak-builder/node_modules/tail/package.json @@ -14,7 +14,7 @@ "file", "logs" ], - "version": "2.2.2", + "version": "2.2.3", "homepage": "https://www.lucagrulla.com/node-tail", "repository": { "type": "git", diff --git a/pak-builder/node_modules/trim-newlines/index.js b/pak-builder/node_modules/trim-newlines/index.js index a0abc6a..8412224 100644 --- a/pak-builder/node_modules/trim-newlines/index.js +++ b/pak-builder/node_modules/trim-newlines/index.js @@ -1,4 +1,13 @@ 'use strict'; module.exports = string => string.replace(/^[\r\n]+/, '').replace(/[\r\n]+$/, ''); module.exports.start = string => string.replace(/^[\r\n]+/, ''); -module.exports.end = string => string.replace(/[\r\n]+$/, ''); + +module.exports.end = string => { + let end = string.length; + + while (end > 0 && (string[end - 1] === '\r' || string[end - 1] === '\n')) { + end--; + } + + return end < string.length ? string.slice(0, end) : string; +}; diff --git a/pak-builder/node_modules/trim-newlines/package.json b/pak-builder/node_modules/trim-newlines/package.json index a1b9e59..2359077 100644 --- a/pak-builder/node_modules/trim-newlines/package.json +++ b/pak-builder/node_modules/trim-newlines/package.json @@ -1,6 +1,6 @@ { "name": "trim-newlines", - "version": "3.0.0", + "version": "3.0.1", "description": "Trim newlines from the start and/or end of a string", "license": "MIT", "repository": "sindresorhus/trim-newlines", diff --git a/pak-builder/package-lock.json b/pak-builder/package-lock.json index ce3fa19..c881ce3 100644 --- a/pak-builder/package-lock.json +++ b/pak-builder/package-lock.json @@ -1,47 +1,56 @@ { "name": "pak-builder", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "1.0.0", + "version": "1.0.1", "license": "ISC", "dependencies": { "@actions/core": "^1.2.6", "del": "^5.1.0", "execa": "^4.1.0", - "install-rstats": "^1.3.3", + "install-rstats": "^1.3.5", "mkdirp": "^1.0.4", "temp-dir": "^2.0.0" } }, "node_modules/@actions/core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.3.0.tgz", - "integrity": "sha512-xxtX0Cwdhb8LcgatfJkokqT8KzPvcIbwL9xpLU09nOwBzaStbfm0dNncsP0M4us+EpoPdWy7vbzU5vSOH7K6pg==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz", + "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg==" }, "node_modules/@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "dependencies": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", + "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "engines": { + "node": ">=6.9.0" + } }, "node_modules/@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "dependencies": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" } }, "node_modules/@babel/highlight/node_modules/ansi-styles": { @@ -101,11 +110,11 @@ } }, "node_modules/@nodelib/fs.scandir": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", - "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", + "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.4", + "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" }, "engines": { @@ -113,19 +122,19 @@ } }, "node_modules/@nodelib/fs.stat": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", - "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==", + "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.6", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", - "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.7.tgz", + "integrity": "sha512-BTIhocbPBSrRmHxOAJFtR18oLhxTtAFDAvL8hY1S3iU8k+E60W/YFs4jrixGzQjMpF4qPXxIQHcjVD9dz1C2QA==", "dependencies": { - "@nodelib/fs.scandir": "2.1.4", + "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" }, "engines": { @@ -198,9 +207,9 @@ "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==" }, "node_modules/@types/node": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz", - "integrity": "sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==" + "version": "15.12.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.12.4.tgz", + "integrity": "sha512-zrNj1+yqYF4WskCMOHwN+w9iuD12+dGm0rQ35HLl9/Ouuq52cEtd0CH9qMgrdNmi5ejC1/V7vKEXYubB+65DkA==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.0", @@ -312,16 +321,16 @@ } }, "node_modules/cacheable-request": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.1.tgz", - "integrity": "sha512-lt0mJ6YAnsrBErpTMWeu5kl/tg9xMAWjavYTN6VQXM1A/teBITuNcccXsCxF0tDQQJf9DfAaX5O4e0zp0KlfZw==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz", + "integrity": "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==", "dependencies": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", "http-cache-semantics": "^4.0.0", "keyv": "^4.0.0", "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", + "normalize-url": "^6.0.1", "responselike": "^2.0.0" }, "engines": { @@ -861,9 +870,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/install-rstats": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/install-rstats/-/install-rstats-1.3.4.tgz", - "integrity": "sha512-lkM9iwADAbDmElmZqUvV6HFqy2p8qgPM5lPOQnxVmo6zxtF+l/CWMRLi3YlS3xzvptYFISaJWPQ+fWiz0Ubscw==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/install-rstats/-/install-rstats-1.3.5.tgz", + "integrity": "sha512-mdZ3GE2cd9KlryDCstEpnsG0pS4O8DhKFejphBveXxb8Rfh/1DIMkkPMWL1RxFFW9SPsfrNnRYjbpz7b9cwgCg==", "dependencies": { "array-unique": "^0.3.2", "bluebird": "^3.7.2", @@ -1255,11 +1264,14 @@ } }, "node_modules/normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/npm-run-path": { @@ -1883,9 +1895,9 @@ } }, "node_modules/tail": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.2.tgz", - "integrity": "sha512-IlfiFF8g5sPAqIZEL3qkIFcjODBM5DqdkVUhwXdKSDYqOgXGL4Gu0Hh1UQWXdCW5gBHi52cnk9WWMowsfjF4XA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.3.tgz", + "integrity": "sha512-XbBmVsJZ636kncPew2Y+pOxOsb9GsNFZ1bcAGCDn23ME/JPJ+TImZYjnqBnMLdw+K11Hql5ZgiUQmRvDHaFc6w==", "engines": { "node": ">= 6.0.0" } @@ -1918,9 +1930,9 @@ } }, "node_modules/trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", "engines": { "node": ">=8" } @@ -2025,29 +2037,29 @@ }, "dependencies": { "@actions/core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.3.0.tgz", - "integrity": "sha512-xxtX0Cwdhb8LcgatfJkokqT8KzPvcIbwL9xpLU09nOwBzaStbfm0dNncsP0M4us+EpoPdWy7vbzU5vSOH7K6pg==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.4.0.tgz", + "integrity": "sha512-CGx2ilGq5i7zSLgiiGUtBCxhRRxibJYU6Fim0Q1Wg2aQL2LTnF27zbqZOrxfvFQ55eSBW0L8uVStgtKMpa0Qlg==" }, "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "requires": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" } }, "@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", + "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==" }, "@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "requires": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, @@ -2099,25 +2111,25 @@ } }, "@nodelib/fs.scandir": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", - "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "requires": { - "@nodelib/fs.stat": "2.0.4", + "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "@nodelib/fs.stat": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", - "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" }, "@nodelib/fs.walk": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", - "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.7.tgz", + "integrity": "sha512-BTIhocbPBSrRmHxOAJFtR18oLhxTtAFDAvL8hY1S3iU8k+E60W/YFs4jrixGzQjMpF4qPXxIQHcjVD9dz1C2QA==", "requires": { - "@nodelib/fs.scandir": "2.1.4", + "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, @@ -2178,9 +2190,9 @@ "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==" }, "@types/node": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz", - "integrity": "sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==" + "version": "15.12.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.12.4.tgz", + "integrity": "sha512-zrNj1+yqYF4WskCMOHwN+w9iuD12+dGm0rQ35HLl9/Ouuq52cEtd0CH9qMgrdNmi5ejC1/V7vKEXYubB+65DkA==" }, "@types/normalize-package-data": { "version": "2.4.0", @@ -2265,16 +2277,16 @@ "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==" }, "cacheable-request": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.1.tgz", - "integrity": "sha512-lt0mJ6YAnsrBErpTMWeu5kl/tg9xMAWjavYTN6VQXM1A/teBITuNcccXsCxF0tDQQJf9DfAaX5O4e0zp0KlfZw==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.2.tgz", + "integrity": "sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==", "requires": { "clone-response": "^1.0.2", "get-stream": "^5.1.0", "http-cache-semantics": "^4.0.0", "keyv": "^4.0.0", "lowercase-keys": "^2.0.0", - "normalize-url": "^4.1.0", + "normalize-url": "^6.0.1", "responselike": "^2.0.0" } }, @@ -2679,9 +2691,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "install-rstats": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/install-rstats/-/install-rstats-1.3.4.tgz", - "integrity": "sha512-lkM9iwADAbDmElmZqUvV6HFqy2p8qgPM5lPOQnxVmo6zxtF+l/CWMRLi3YlS3xzvptYFISaJWPQ+fWiz0Ubscw==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/install-rstats/-/install-rstats-1.3.5.tgz", + "integrity": "sha512-mdZ3GE2cd9KlryDCstEpnsG0pS4O8DhKFejphBveXxb8Rfh/1DIMkkPMWL1RxFFW9SPsfrNnRYjbpz7b9cwgCg==", "requires": { "array-unique": "^0.3.2", "bluebird": "^3.7.2", @@ -2978,9 +2990,9 @@ } }, "normalize-url": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", - "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" }, "npm-run-path": { "version": "4.0.1", @@ -3406,9 +3418,9 @@ } }, "tail": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.2.tgz", - "integrity": "sha512-IlfiFF8g5sPAqIZEL3qkIFcjODBM5DqdkVUhwXdKSDYqOgXGL4Gu0Hh1UQWXdCW5gBHi52cnk9WWMowsfjF4XA==" + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/tail/-/tail-2.2.3.tgz", + "integrity": "sha512-XbBmVsJZ636kncPew2Y+pOxOsb9GsNFZ1bcAGCDn23ME/JPJ+TImZYjnqBnMLdw+K11Hql5ZgiUQmRvDHaFc6w==" }, "temp-dir": { "version": "2.0.0", @@ -3429,9 +3441,9 @@ } }, "trim-newlines": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", - "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==" + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" }, "trim-repeated": { "version": "1.0.0", diff --git a/pak-builder/package.json b/pak-builder/package.json index 6afd145..873c258 100644 --- a/pak-builder/package.json +++ b/pak-builder/package.json @@ -1,6 +1,6 @@ { "name": "pak-builder", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "index.js", "scripts": { @@ -13,7 +13,7 @@ "@actions/core": "^1.2.6", "del": "^5.1.0", "execa": "^4.1.0", - "install-rstats": "^1.3.3", + "install-rstats": "^1.3.5", "mkdirp": "^1.0.4", "temp-dir": "^2.0.0" }