diff options
author | LinuxWizard42 <computerwizard@linuxmail.org> | 2022-10-12 23:08:57 +0300 |
---|---|---|
committer | LinuxWizard42 <computerwizard@linuxmail.org> | 2022-10-12 23:08:57 +0300 |
commit | 726b81b19251674e149ccfbb1abacbd837fc6db0 (patch) | |
tree | fbdbb227dc01357eb76e8222d76185bc124c5ca6 /node_modules/cross-spawn-windows-exe | |
parent | 34f0890e175698940d49238097579f44e4d78c89 (diff) | |
download | FlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.gz FlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.zst |
Removed files that should not have been included in git
Diffstat (limited to 'node_modules/cross-spawn-windows-exe')
21 files changed, 0 insertions, 828 deletions
diff --git a/node_modules/cross-spawn-windows-exe/LICENSE b/node_modules/cross-spawn-windows-exe/LICENSE deleted file mode 100644 index d645695..0000000 --- a/node_modules/cross-spawn-windows-exe/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/node_modules/cross-spawn-windows-exe/README.md b/node_modules/cross-spawn-windows-exe/README.md deleted file mode 100644 index 0fb5ad0..0000000 --- a/node_modules/cross-spawn-windows-exe/README.md +++ /dev/null @@ -1,67 +0,0 @@ -# `cross-spawn-windows-exe` - -> Cross-platform support for running Windows executables via Node.js. - -[](https://github.com/malept/cross-spawn-windows-exe/actions?query=workflow%3ACI) -[](https://codecov.io/gh/malept/cross-spawn-windows-exe) - -Utilizes [`@malept/cross-spawn-promise`](https://npm.im/@malept/cross-spawn-promise) (and by -extension, [`cross-spawn`](https://npm.im/cross-spawn)) to execute Windows executables regardless -of platform. - -For all platforms, Node 10 or above is required. - -On non-Windows, non-WSL host systems, the following dependencies are required: - -- .NET executables: [Mono](https://www.mono-project.com/) -- All other Windows executables: [Wine](https://www.winehq.org/) - -## Usage - -Using the `cross-spawn-windows-exe` API is similar in terms of function signature to `spawn` in -`@malept/cross-spawn-promise`. - -### Running a .NET executable - -```javascript -// Note: top-level await exists in Node >= 14.8.0. In earlier versions of Node, please wrap in an -// async function. - -const { spawnDotNet } = require("cross-spawn-windows-exe"); - -await spawnDotNet("./hellodotnet.exe", ["--arg1"]); -``` - -### Running a Windows executable - -```javascript -// Note: top-level await exists in Node >= 14.8.0. In earlier versions of Node, please wrap in an -// async function. - -const { spawnExe } = require("cross-spawn-windows-exe"); - -await spawnExe("./hellowindows.exe", ["--arg1"]); -``` - -### Normalizing Paths - -Executables generally can't handle UNIX-style paths that Windows Subsystem for Linux (WSL) passes -in, since it's a Linux environment. This module provides a function to convert those paths from -UNIX-style to Windows-style (via `wslpath`, which should be installed by default on every WSL -distribution), if the host system is determined to be WSL. For non-WSL environments, this is a -no-op. - -```javascript -// Note: top-level await exists in Node >= 14.8.0. In earlier versions of Node, please wrap in an -// async function. - -const { normalizePath, spawnExe } = require("cross-spawn-windows-exe"); - -const normalizedPath = await normalizePath("/tmp/foo"); -await spawnExe("./openfile.exe", ["--filename", normalizedPath]); -``` - -## Legal - -This module is licensed under the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0). -See `LICENSE` for details. diff --git a/node_modules/cross-spawn-windows-exe/dist/src/arch.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/arch.d.ts deleted file mode 100644 index 9bccafd..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/arch.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Determines whether the given architecture is a 64-bit arch. - * - * @param arch - a Node.js-style architecture name - */ -export declare function is64BitArch(arch: string): boolean; diff --git a/node_modules/cross-spawn-windows-exe/dist/src/arch.js b/node_modules/cross-spawn-windows-exe/dist/src/arch.js deleted file mode 100644 index e9ed6a3..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/arch.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.is64BitArch = void 0; -// List of Node.js-formatted 64 bit arches -const SIXTY_FOUR_BIT_ARCHES = ["arm64", "x64"]; -/** - * Determines whether the given architecture is a 64-bit arch. - * - * @param arch - a Node.js-style architecture name - */ -function is64BitArch(arch) { - return SIXTY_FOUR_BIT_ARCHES.includes(arch); -} -exports.is64BitArch = is64BitArch; -//# sourceMappingURL=arch.js.map
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/arch.js.map b/node_modules/cross-spawn-windows-exe/dist/src/arch.js.map deleted file mode 100644 index 4b70fd6..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/arch.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"arch.js","sourceRoot":"","sources":["../../src/arch.ts"],"names":[],"mappings":";;;AAAA,0CAA0C;AAC1C,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;AAE/C;;;;GAIG;AACH,SAAgB,WAAW,CAAC,IAAY;IACtC,OAAO,qBAAqB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC9C,CAAC;AAFD,kCAEC"}
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/dotnet.d.ts deleted file mode 100644 index 2d47c99..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { CrossSpawnArgs } from "@malept/cross-spawn-promise"; -import { CrossSpawnExeOptions } from "./wrapper"; -/** - * Installation instructions for dependencies related to running .NET executables on the - * host platform (i.e., Mono on non-Windows platforms). - */ -export declare function dotNetDependencyInstallInstructions(): string; -/** - * Heuristically determine the path to `mono` to use. - * - * Method used to determine the path: - * - * 1. `customDotNetPath`, if provided to the function - * 2. The `MONO_BINARY` environment variable, if set and non-empty - * 3. `mono` found by searching the directories in the `PATH` environment variable - */ -export declare function determineDotNetWrapper(customDotNetPath?: string): string; -/** - * Spawn a .NET executable. On non-Windows platforms, use [Nono](https://www.mono-project.com/) - * to run it. - */ -export declare function spawnDotNet(cmd: string, args?: CrossSpawnArgs, options?: CrossSpawnExeOptions): Promise<string>; diff --git a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js b/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js deleted file mode 100644 index ca6fc75..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.spawnDotNet = exports.determineDotNetWrapper = exports.dotNetDependencyInstallInstructions = void 0; -const wrapper_1 = require("./wrapper"); -/** - * Installation instructions for dependencies related to running .NET executables on the - * host platform (i.e., Mono on non-Windows platforms). - */ -function dotNetDependencyInstallInstructions() { - switch (process.platform) { - /* istanbul ignore next */ - case "win32": - return "No wrapper necessary"; - case "darwin": - return "Run `brew install mono` to install Mono on macOS via Homebrew."; - case "linux": - return "Consult your Linux distribution's package manager to determine how to install Mono."; - /* istanbul ignore next */ - default: - return "Consult your operating system's package manager to determine how to install Mono."; - } -} -exports.dotNetDependencyInstallInstructions = dotNetDependencyInstallInstructions; -/** - * Heuristically determine the path to `mono` to use. - * - * Method used to determine the path: - * - * 1. `customDotNetPath`, if provided to the function - * 2. The `MONO_BINARY` environment variable, if set and non-empty - * 3. `mono` found by searching the directories in the `PATH` environment variable - */ -function determineDotNetWrapper(customDotNetPath) { - if (customDotNetPath) { - return customDotNetPath; - } - if (process.env.MONO_BINARY) { - return process.env.MONO_BINARY; - } - return "mono"; -} -exports.determineDotNetWrapper = determineDotNetWrapper; -/** - * Spawn a .NET executable. On non-Windows platforms, use [Nono](https://www.mono-project.com/) - * to run it. - */ -async function spawnDotNet(cmd, args, options) { - var _a; - options !== null && options !== void 0 ? options : (options = {}); - (_a = options.wrapperInstructions) !== null && _a !== void 0 ? _a : (options.wrapperInstructions = dotNetDependencyInstallInstructions()); - return wrapper_1.spawnWrapperFromFunction(determineDotNetWrapper, cmd, args, options); -} -exports.spawnDotNet = spawnDotNet; -//# sourceMappingURL=dotnet.js.map
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js.map b/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js.map deleted file mode 100644 index cc4d3e1..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/dotnet.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"dotnet.js","sourceRoot":"","sources":["../../src/dotnet.ts"],"names":[],"mappings":";;;AACA,uCAA2E;AAE3E;;;GAGG;AACH,SAAgB,mCAAmC;IACjD,QAAQ,OAAO,CAAC,QAAQ,EAAE;QACxB,0BAA0B;QAC1B,KAAK,OAAO;YACV,OAAO,sBAAsB,CAAC;QAChC,KAAK,QAAQ;YACX,OAAO,gEAAgE,CAAC;QAC1E,KAAK,OAAO;YACV,OAAO,qFAAqF,CAAC;QAC/F,0BAA0B;QAC1B;YACE,OAAO,mFAAmF,CAAC;KAC9F;AACH,CAAC;AAbD,kFAaC;AAED;;;;;;;;GAQG;AACH,SAAgB,sBAAsB,CAAC,gBAAyB;IAC9D,IAAI,gBAAgB,EAAE;QACpB,OAAO,gBAAgB,CAAC;KACzB;IAED,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;QAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC;KAChC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAVD,wDAUC;AAED;;;GAGG;AACI,KAAK,UAAU,WAAW,CAC/B,GAAW,EACX,IAAqB,EACrB,OAA8B;;IAE9B,OAAO,aAAP,OAAO,cAAP,OAAO,IAAP,OAAO,GAAK,EAAE,EAAC;IACf,MAAA,OAAO,CAAC,mBAAmB,oCAA3B,OAAO,CAAC,mBAAmB,GAAK,mCAAmC,EAAE,EAAC;IACtE,OAAO,kCAAwB,CAAC,sBAAsB,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAC9E,CAAC;AARD,kCAQC"}
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts deleted file mode 100644 index 3c54957..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/exe.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { CrossSpawnArgs } from "@malept/cross-spawn-promise"; -import { CrossSpawnExeOptions } from "./wrapper"; -/** - * Installation instructions for dependencies related to running Windows executables on the - * host platform (i.e., Wine on non-Windows platforms). - */ -export declare function exeDependencyInstallInstructions(): string; -/** - * Heuristically determine the path to `wine` to use. - * - * Method used to determine the path: - * - * 1. `customWinePath`, if provided to the function - * 2. The `WINE_BINARY` environment variable, if set and non-empty - * 3. If the host architecture is x86-64, `wine64` found by searching the directories in the `PATH` - * environment variable - * 4. `wine` found by searching the directories in the `PATH` environment variable - */ -export declare function determineWineWrapper(customWinePath?: string): string; -/** - * Spawn a Windows executable. On non-Windows platforms, use [Wine](https://www.winehq.org/) - * to run it. - */ -export declare function spawnExe(cmd: string, args?: CrossSpawnArgs, options?: CrossSpawnExeOptions): Promise<string>; diff --git a/node_modules/cross-spawn-windows-exe/dist/src/exe.js b/node_modules/cross-spawn-windows-exe/dist/src/exe.js deleted file mode 100644 index 228d860..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/exe.js +++ /dev/null @@ -1,60 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.spawnExe = exports.determineWineWrapper = exports.exeDependencyInstallInstructions = void 0; -const wrapper_1 = require("./wrapper"); -const arch_1 = require("./arch"); -/** - * Installation instructions for dependencies related to running Windows executables on the - * host platform (i.e., Wine on non-Windows platforms). - */ -function exeDependencyInstallInstructions() { - switch (process.platform) { - /* istanbul ignore next */ - case "win32": - return "No wrapper necessary"; - case "darwin": - return "Run `brew install --cask wine-stable` to install 64-bit wine on macOS via Homebrew."; - case "linux": - return "Consult your Linux distribution's package manager to determine how to install Wine."; - /* istanbul ignore next */ - default: - return "Consult your operating system's package manager to determine how to install Wine."; - } -} -exports.exeDependencyInstallInstructions = exeDependencyInstallInstructions; -/** - * Heuristically determine the path to `wine` to use. - * - * Method used to determine the path: - * - * 1. `customWinePath`, if provided to the function - * 2. The `WINE_BINARY` environment variable, if set and non-empty - * 3. If the host architecture is x86-64, `wine64` found by searching the directories in the `PATH` - * environment variable - * 4. `wine` found by searching the directories in the `PATH` environment variable - */ -function determineWineWrapper(customWinePath) { - if (customWinePath) { - return customWinePath; - } - if (process.env.WINE_BINARY) { - return process.env.WINE_BINARY; - } - if (arch_1.is64BitArch(process.arch)) { - return "wine64"; - } - return "wine"; -} -exports.determineWineWrapper = determineWineWrapper; -/** - * Spawn a Windows executable. On non-Windows platforms, use [Wine](https://www.winehq.org/) - * to run it. - */ -async function spawnExe(cmd, args, options) { - var _a; - options !== null && options !== void 0 ? options : (options = {}); - (_a = options.wrapperInstructions) !== null && _a !== void 0 ? _a : (options.wrapperInstructions = exeDependencyInstallInstructions()); - return wrapper_1.spawnWrapperFromFunction(determineWineWrapper, cmd, args, options); -} -exports.spawnExe = spawnExe; -//# sourceMappingURL=exe.js.map
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/exe.js.map b/node_modules/cross-spawn-windows-exe/dist/src/exe.js.map deleted file mode 100644 index a79ba22..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/exe.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"exe.js","sourceRoot":"","sources":["../../src/exe.ts"],"names":[],"mappings":";;;AACA,uCAA2E;AAC3E,iCAAqC;AAErC;;;GAGG;AACH,SAAgB,gCAAgC;IAC9C,QAAQ,OAAO,CAAC,QAAQ,EAAE;QACxB,0BAA0B;QAC1B,KAAK,OAAO;YACV,OAAO,sBAAsB,CAAC;QAChC,KAAK,QAAQ;YACX,OAAO,qFAAqF,CAAC;QAC/F,KAAK,OAAO;YACV,OAAO,qFAAqF,CAAC;QAC/F,0BAA0B;QAC1B;YACE,OAAO,mFAAmF,CAAC;KAC9F;AACH,CAAC;AAbD,4EAaC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,oBAAoB,CAAC,cAAuB;IAC1D,IAAI,cAAc,EAAE;QAClB,OAAO,cAAc,CAAC;KACvB;IAED,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE;QAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC;KAChC;IAED,IAAI,kBAAW,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;QAC7B,OAAO,QAAQ,CAAC;KACjB;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAdD,oDAcC;AAED;;;GAGG;AACI,KAAK,UAAU,QAAQ,CAC5B,GAAW,EACX,IAAqB,EACrB,OAA8B;;IAE9B,OAAO,aAAP,OAAO,cAAP,OAAO,IAAP,OAAO,GAAK,EAAE,EAAC;IACf,MAAA,OAAO,CAAC,mBAAmB,oCAA3B,OAAO,CAAC,mBAAmB,GAAK,gCAAgC,EAAE,EAAC;IACnE,OAAO,kCAAwB,CAAC,oBAAoB,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAC5E,CAAC;AARD,4BAQC"}
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/index.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/index.d.ts deleted file mode 100644 index d1c8b39..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export { canRunWindowsExeNatively, CrossSpawnExeOptions, DetermineWrapperFunction, spawnWrapper as spawn, spawnWrapperFromFunction, WrapperError, } from "./wrapper"; -export { is64BitArch } from "./arch"; -export { normalizePath } from "./normalize-path"; -export { dotNetDependencyInstallInstructions, spawnDotNet } from "./dotnet"; -export { exeDependencyInstallInstructions, spawnExe } from "./exe"; diff --git a/node_modules/cross-spawn-windows-exe/dist/src/index.js b/node_modules/cross-spawn-windows-exe/dist/src/index.js deleted file mode 100644 index d4327be..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/index.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.spawnExe = exports.exeDependencyInstallInstructions = exports.spawnDotNet = exports.dotNetDependencyInstallInstructions = exports.normalizePath = exports.is64BitArch = exports.WrapperError = exports.spawnWrapperFromFunction = exports.spawn = exports.canRunWindowsExeNatively = void 0; -var wrapper_1 = require("./wrapper"); -Object.defineProperty(exports, "canRunWindowsExeNatively", { enumerable: true, get: function () { return wrapper_1.canRunWindowsExeNatively; } }); -Object.defineProperty(exports, "spawn", { enumerable: true, get: function () { return wrapper_1.spawnWrapper; } }); -Object.defineProperty(exports, "spawnWrapperFromFunction", { enumerable: true, get: function () { return wrapper_1.spawnWrapperFromFunction; } }); -Object.defineProperty(exports, "WrapperError", { enumerable: true, get: function () { return wrapper_1.WrapperError; } }); -var arch_1 = require("./arch"); -Object.defineProperty(exports, "is64BitArch", { enumerable: true, get: function () { return arch_1.is64BitArch; } }); -var normalize_path_1 = require("./normalize-path"); -Object.defineProperty(exports, "normalizePath", { enumerable: true, get: function () { return normalize_path_1.normalizePath; } }); -var dotnet_1 = require("./dotnet"); -Object.defineProperty(exports, "dotNetDependencyInstallInstructions", { enumerable: true, get: function () { return dotnet_1.dotNetDependencyInstallInstructions; } }); -Object.defineProperty(exports, "spawnDotNet", { enumerable: true, get: function () { return dotnet_1.spawnDotNet; } }); -var exe_1 = require("./exe"); -Object.defineProperty(exports, "exeDependencyInstallInstructions", { enumerable: true, get: function () { return exe_1.exeDependencyInstallInstructions; } }); -Object.defineProperty(exports, "spawnExe", { enumerable: true, get: function () { return exe_1.spawnExe; } }); -//# sourceMappingURL=index.js.map
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/index.js.map b/node_modules/cross-spawn-windows-exe/dist/src/index.js.map deleted file mode 100644 index dd2399a..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAOmB;AANjB,mHAAA,wBAAwB,OAAA;AAGxB,gGAAA,YAAY,OAAS;AACrB,mHAAA,wBAAwB,OAAA;AACxB,uGAAA,YAAY,OAAA;AAGd,+BAAqC;AAA5B,mGAAA,WAAW,OAAA;AACpB,mDAAiD;AAAxC,+GAAA,aAAa,OAAA;AAEtB,mCAA4E;AAAnE,6HAAA,mCAAmC,OAAA;AAAE,qGAAA,WAAW,OAAA;AACzD,6BAAmE;AAA1D,uHAAA,gCAAgC,OAAA;AAAE,+FAAA,QAAQ,OAAA"}
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.d.ts deleted file mode 100644 index 2c13c9b..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Converts a UNIX-style path to a Windows-style path via `wslpath`, which should come with any - * WSL distribution. - */ -export declare function convertUNIXPathToWindows(wslPath: string): Promise<string>; -/** - * Converts a UNIX-style path to a Windows-style path if run in a WSL environment. - */ -export declare function normalizePath(pathToNormalize: string): Promise<string>; diff --git a/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.js b/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.js deleted file mode 100644 index 0b07b45..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.normalizePath = exports.convertUNIXPathToWindows = void 0; -const is_wsl_1 = __importDefault(require("is-wsl")); -const cross_spawn_promise_1 = require("@malept/cross-spawn-promise"); -/** - * Provides a human-friendly error message when `@malept/cross-spawn-promise` can't find `wslpath`. - */ -function updateWSLPathError(error) { - if (error.code === "ENOENT" && error.syscall === "spawn wslpath") { - error.message = `Could not find 'wslpath' in any of the directories listed in the PATH environment variable, which is needed to convert WSL paths to Windows-style paths.`; - } -} -/** - * Converts a UNIX-style path to a Windows-style path via `wslpath`, which should come with any - * WSL distribution. - */ -async function convertUNIXPathToWindows(wslPath) { - const output = await cross_spawn_promise_1.spawn("wslpath", ["-w", wslPath], { - updateErrorCallback: updateWSLPathError, - }); - return output.trim(); -} -exports.convertUNIXPathToWindows = convertUNIXPathToWindows; -/** - * Converts a UNIX-style path to a Windows-style path if run in a WSL environment. - */ -async function normalizePath(pathToNormalize) { - if (is_wsl_1.default) { - return convertUNIXPathToWindows(pathToNormalize); - } - return pathToNormalize; -} -exports.normalizePath = normalizePath; -//# sourceMappingURL=normalize-path.js.map
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.js.map b/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.js.map deleted file mode 100644 index 8f8630e..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/normalize-path.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"normalize-path.js","sourceRoot":"","sources":["../../src/normalize-path.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA2B;AAC3B,qEAAoD;AAEpD;;GAEG;AACH,SAAS,kBAAkB,CAAC,KAA4B;IACtD,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,KAAK,eAAe,EAAE;QAChE,KAAK,CAAC,OAAO,GAAG,0JAA0J,CAAC;KAC5K;AACH,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,wBAAwB,CAC5C,OAAe;IAEf,MAAM,MAAM,GAAG,MAAM,2BAAK,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE;QACrD,mBAAmB,EAAE,kBAAkB;KACxC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC;AAPD,4DAOC;AAED;;GAEG;AACI,KAAK,UAAU,aAAa,CAAC,eAAuB;IACzD,IAAI,gBAAK,EAAE;QACT,OAAO,wBAAwB,CAAC,eAAe,CAAC,CAAC;KAClD;IAED,OAAO,eAAe,CAAC;AACzB,CAAC;AAND,sCAMC"}
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts deleted file mode 100644 index dda92f9..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { CrossSpawnArgs, CrossSpawnOptions } from "@malept/cross-spawn-promise"; -export declare function canRunWindowsExeNatively(): boolean; -/** - * The exception thrown when the wrapper command could not be found to execute. - */ -export declare class WrapperError extends Error { - /** - * @param wrapperCommand - The wrapper that tried to be executed - * @param installInstructions - Instructions on how to install the wrapper - */ - constructor(wrapperCommand: string, installInstructions?: string); -} -/** - * A function which determines the wrapper path or binary to use in [[spawnWrapper]]. - * - * @param customPath - The path specified by [[CrossSpawnExeOptions|CrossSpawnExeOptions.wrapperCommand]], usually - * prioritized over other paths/binaries in the function. - */ -export declare type DetermineWrapperFunction = (customPath?: string) => string; -/** - * An extension to `CrossSpawnOptions` to optionally specify a custom wrapper command and - * instructions to install the wrapper. - */ -export declare type CrossSpawnExeOptions = CrossSpawnOptions & { - /** - * The path to a binary that wraps the called executable. - * - * Defaults to `wine64` or `wine`, depending on the host machine's architecture. - */ - wrapperCommand?: string; - /** - * Instructions for installing the wrapper binary. - */ - wrapperInstructions?: string; -}; -/** - * Determines if the specified command exists, either in the `PATH` environment variable or if the - * absolute path exists. - */ -export declare function wrapperCommandExists(wrapperCommand: string): Promise<boolean>; -/** - * A wrapper for `cross-spawn`'s `spawn` function that wraps the `cmd` with `wrapperCommand` if it - * is specified. - */ -export declare function spawnWrapper(cmd: string, args?: CrossSpawnArgs, options?: CrossSpawnExeOptions): Promise<string>; -/** - * A helper variant of [[spawnWrapper]] which uses a [[DetermineWrapperFunction]] to - * determine `wrapperCommand`. - */ -export declare function spawnWrapperFromFunction(wrapperFunction: DetermineWrapperFunction, cmd: string, args?: CrossSpawnArgs, options?: CrossSpawnExeOptions): Promise<string>; diff --git a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.js b/node_modules/cross-spawn-windows-exe/dist/src/wrapper.js deleted file mode 100644 index 26154ff..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.js +++ /dev/null @@ -1,98 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.spawnWrapperFromFunction = exports.spawnWrapper = exports.wrapperCommandExists = exports.WrapperError = exports.canRunWindowsExeNatively = void 0; -const cross_spawn_promise_1 = require("@malept/cross-spawn-promise"); -const fs = __importStar(require("fs")); -const is_wsl_1 = __importDefault(require("is-wsl")); -const path = __importStar(require("path")); -const which_1 = __importDefault(require("which")); -function canRunWindowsExeNatively() { - return process.platform === "win32" || is_wsl_1.default; -} -exports.canRunWindowsExeNatively = canRunWindowsExeNatively; -/** - * The exception thrown when the wrapper command could not be found to execute. - */ -class WrapperError extends Error { - /** - * @param wrapperCommand - The wrapper that tried to be executed - * @param installInstructions - Instructions on how to install the wrapper - */ - constructor(wrapperCommand, installInstructions) { - const message = `Wrapper command '${wrapperCommand}' not found on the system.${installInstructions ? " " + installInstructions : ""}`; - super(message); - } -} -exports.WrapperError = WrapperError; -/** - * Determines if the specified command exists, either in the `PATH` environment variable or if the - * absolute path exists. - */ -async function wrapperCommandExists(wrapperCommand) { - if (path.isAbsolute(wrapperCommand)) { - return fs.existsSync(wrapperCommand); - } - else { - try { - await which_1.default(wrapperCommand); - return true; - } - catch (_a) { - return false; - } - } -} -exports.wrapperCommandExists = wrapperCommandExists; -/** - * A wrapper for `cross-spawn`'s `spawn` function that wraps the `cmd` with `wrapperCommand` if it - * is specified. - */ -async function spawnWrapper(cmd, args, options) { - options !== null && options !== void 0 ? options : (options = {}); - const { wrapperCommand, wrapperInstructions, ...crossSpawnOptions } = options; - if (wrapperCommand) { - if (!(await wrapperCommandExists(wrapperCommand))) { - throw new WrapperError(wrapperCommand, wrapperInstructions); - } - const augmentedArgs = args ? [cmd, ...args] : [cmd]; - return cross_spawn_promise_1.spawn(wrapperCommand, augmentedArgs, crossSpawnOptions); - } - return cross_spawn_promise_1.spawn(cmd, args, crossSpawnOptions); -} -exports.spawnWrapper = spawnWrapper; -/** - * A helper variant of [[spawnWrapper]] which uses a [[DetermineWrapperFunction]] to - * determine `wrapperCommand`. - */ -async function spawnWrapperFromFunction(wrapperFunction, cmd, args, options) { - let exeOptions = options; - if (!canRunWindowsExeNatively()) { - const wrapperCommand = wrapperFunction(options === null || options === void 0 ? void 0 : options.wrapperCommand); - exeOptions = options ? { ...options, wrapperCommand } : { wrapperCommand }; - } - return spawnWrapper(cmd, args, exeOptions); -} -exports.spawnWrapperFromFunction = spawnWrapperFromFunction; -//# sourceMappingURL=wrapper.js.map
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.js.map b/node_modules/cross-spawn-windows-exe/dist/src/wrapper.js.map deleted file mode 100644 index b5cdffb..0000000 --- a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"wrapper.js","sourceRoot":"","sources":["../../src/wrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAIqC;AACrC,uCAAyB;AACzB,oDAA2B;AAC3B,2CAA6B;AAC7B,kDAA0B;AAE1B,SAAgB,wBAAwB;IACtC,OAAO,OAAO,CAAC,QAAQ,KAAK,OAAO,IAAI,gBAAK,CAAC;AAC/C,CAAC;AAFD,4DAEC;AAED;;GAEG;AACH,MAAa,YAAa,SAAQ,KAAK;IACrC;;;OAGG;IACH,YAAY,cAAsB,EAAE,mBAA4B;QAC9D,MAAM,OAAO,GAAG,oBAAoB,cAAc,6BAChD,mBAAmB,CAAC,CAAC,CAAC,GAAG,GAAG,mBAAmB,CAAC,CAAC,CAAC,EACpD,EAAE,CAAC;QACH,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAXD,oCAWC;AA4BD;;;GAGG;AACI,KAAK,UAAU,oBAAoB,CACxC,cAAsB;IAEtB,IAAI,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE;QACnC,OAAO,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC;KACtC;SAAM;QACL,IAAI;YACF,MAAM,eAAK,CAAC,cAAc,CAAC,CAAC;YAC5B,OAAO,IAAI,CAAC;SACb;QAAC,WAAM;YACN,OAAO,KAAK,CAAC;SACd;KACF;AACH,CAAC;AAbD,oDAaC;AAED;;;GAGG;AACI,KAAK,UAAU,YAAY,CAChC,GAAW,EACX,IAAqB,EACrB,OAA8B;IAE9B,OAAO,aAAP,OAAO,cAAP,OAAO,IAAP,OAAO,GAAK,EAA0B,EAAC;IAEvC,MAAM,EAAE,cAAc,EAAE,mBAAmB,EAAE,GAAG,iBAAiB,EAAE,GAAG,OAAO,CAAC;IAC9E,IAAI,cAAc,EAAE;QAClB,IAAI,CAAC,CAAC,MAAM,oBAAoB,CAAC,cAAc,CAAC,CAAC,EAAE;YACjD,MAAM,IAAI,YAAY,CAAC,cAAc,EAAE,mBAAmB,CAAC,CAAC;SAC7D;QAED,MAAM,aAAa,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAEpD,OAAO,2BAAK,CAAC,cAAc,EAAE,aAAa,EAAE,iBAAiB,CAAC,CAAC;KAChE;IAED,OAAO,2BAAK,CAAC,GAAG,EAAE,IAAI,EAAE,iBAAiB,CAAC,CAAC;AAC7C,CAAC;AAnBD,oCAmBC;AAED;;;GAGG;AACI,KAAK,UAAU,wBAAwB,CAC5C,eAAyC,EACzC,GAAW,EACX,IAAqB,EACrB,OAA8B;IAE9B,IAAI,UAAU,GAAG,OAAO,CAAC;IACzB,IAAI,CAAC,wBAAwB,EAAE,EAAE;QAC/B,MAAM,cAAc,GAAW,eAAe,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,CAAC,CAAC;QACxE,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC;KAC5E;IACD,OAAO,YAAY,CAAC,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;AAC7C,CAAC;AAZD,4DAYC"}
\ No newline at end of file diff --git a/node_modules/cross-spawn-windows-exe/package.json b/node_modules/cross-spawn-windows-exe/package.json deleted file mode 100644 index 7ae0b2d..0000000 --- a/node_modules/cross-spawn-windows-exe/package.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "name": "cross-spawn-windows-exe", - "version": "1.2.0", - "description": "Cross-platform support for running Windows executables", - "main": "dist/src/index.js", - "files": [ - "dist" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/malept/cross-spawn-windows-exe.git" - }, - "bugs": { - "url": "https://github.com/malept/cross-spawn-windows-exe/issues" - }, - "homepage": "https://github.com/malept/cross-spawn-windows-exe#readme", - "keywords": [ - "cross-platform", - "spawn", - "windows", - "exe" - ], - "author": "Mark Lee", - "license": "Apache-2.0", - "engines": { - "node": ">= 10" - }, - "scripts": { - "ava": "ava", - "build": "tsc", - "coverage": "nyc --reporter=lcov --reporter=text ava", - "docs": "typedoc src/index.ts", - "lint": "prettier --check . && eslint --ext .ts .", - "prepare": "npm run build && husky install", - "test": "yarn lint && yarn ava" - }, - "dependencies": { - "@malept/cross-spawn-promise": "^1.1.0", - "is-wsl": "^2.2.0", - "which": "^2.0.2" - }, - "devDependencies": { - "@istanbuljs/nyc-config-typescript": "^1.0.1", - "@types/node": "^16.0.0", - "@types/sinon": "^10.0.0", - "@types/which": "^2.0.0", - "@typescript-eslint/eslint-plugin": "^4.3.0", - "@typescript-eslint/parser": "^4.3.0", - "ava": "^3.9.0", - "eslint": "^7.3.0", - "eslint-config-prettier": "^8.0.0", - "eslint-plugin-ava": "^12.0.0", - "eslint-plugin-import": "^2.21.2", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^3.1.4", - "eslint-plugin-promise": "^5.1.0", - "eslint-plugin-tsdoc": "^0.2.5", - "husky": "^6.0.0", - "lint-staged": "^11.0.0", - "nyc": "^15.1.0", - "prettier": "^2.0.5", - "sinon": "^11.1.0", - "source-map-support": "^0.5.19", - "ts-node": "^9.0.0", - "typedoc": "^0.20.0-beta.24", - "typescript": "~4.2.4" - }, - "ava": { - "extensions": [ - "ts" - ], - "require": [ - "ts-node/register" - ], - "timeout": "3m" - }, - "eslintConfig": { - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": "2018", - "sourceType": "module" - }, - "plugins": [ - "@typescript-eslint", - "eslint-plugin-tsdoc" - ], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:ava/recommended", - "plugin:import/errors", - "plugin:import/warnings", - "plugin:import/typescript", - "plugin:node/recommended", - "plugin:prettier/recommended", - "plugin:promise/recommended", - "prettier" - ], - "rules": { - "node/no-unsupported-features/es-syntax": [ - "error", - { - "ignores": [ - "modules" - ] - } - ], - "strict": "error", - "tsdoc/syntax": "warn" - }, - "overrides": [ - { - "files": "test/*.ts", - "rules": { - "import/no-named-as-default-member": "off" - } - } - ], - "settings": { - "node": { - "tryExtensions": [ - ".js", - ".json", - ".node", - ".ts" - ] - } - } - }, - "eslintIgnore": [ - "dist" - ], - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/malept" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/subscription/pkg/npm-cross-spawn-windows-exe?utm_medium=referral&utm_source=npm_fund" - } - ], - "lint-staged": { - "*.{json,md,yml}": "prettier --write", - "*.ts": [ - "prettier --write", - "eslint --fix" - ] - }, - "nyc": { - "extends": "@istanbuljs/nyc-config-typescript" - } -} |