Updated the project.
This commit is contained in:
parent
5dfe9f128d
commit
7919556077
1550 changed files with 17063 additions and 40183 deletions
38
my-app/node_modules/node-gyp/CHANGELOG.md
generated
vendored
Executable file → Normal file
38
my-app/node_modules/node-gyp/CHANGELOG.md
generated
vendored
Executable file → Normal file
|
@ -1,5 +1,34 @@
|
|||
# Changelog
|
||||
|
||||
## [10.1.0](https://github.com/nodejs/node-gyp/compare/v10.0.1...v10.1.0) (2024-03-13)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* improve visual studio detection ([#2957](https://github.com/nodejs/node-gyp/issues/2957)) ([109e3d4](https://github.com/nodejs/node-gyp/commit/109e3d4245504a7b75c99f578e1203c0ef4b518e))
|
||||
|
||||
|
||||
### Core
|
||||
|
||||
* add support for locally installed headers ([#2964](https://github.com/nodejs/node-gyp/issues/2964)) ([3298731](https://github.com/nodejs/node-gyp/commit/329873141f0d3e3787d3c006801431da04e4ed0c))
|
||||
* **deps:** bump actions/setup-python from 4 to 5 ([#2960](https://github.com/nodejs/node-gyp/issues/2960)) ([3f0df7e](https://github.com/nodejs/node-gyp/commit/3f0df7e9334e49e8c7f6fdbbb9e1e6c5a8cca53b))
|
||||
* **deps:** bump google-github-actions/release-please-action ([#2961](https://github.com/nodejs/node-gyp/issues/2961)) ([b1f1808](https://github.com/nodejs/node-gyp/commit/b1f1808bfff0d51e6d3eb696ab6a5b89b7b9630c))
|
||||
* print Python executable path using UTF-8 ([#2995](https://github.com/nodejs/node-gyp/issues/2995)) ([c472912](https://github.com/nodejs/node-gyp/commit/c4729129daa9bb5204246b857826fb391ac961e1))
|
||||
* update supported vs versions ([#2959](https://github.com/nodejs/node-gyp/issues/2959)) ([391cc5b](https://github.com/nodejs/node-gyp/commit/391cc5b9b25cffe0cb2edcba3583414a771b4a15))
|
||||
|
||||
|
||||
### Doc
|
||||
|
||||
* npm is currently v10 ([#2970](https://github.com/nodejs/node-gyp/issues/2970)) ([7705a22](https://github.com/nodejs/node-gyp/commit/7705a22f31a62076e9f8429780a459f4ad71ea4c))
|
||||
* remove outdated Node versions from readme ([#2955](https://github.com/nodejs/node-gyp/issues/2955)) ([ae8478e](https://github.com/nodejs/node-gyp/commit/ae8478ec32d9b2fa71b591ac22cdf867ef2e9a7d))
|
||||
* remove outdated update engines.node reference in 10.0.0 changelog ([b42e796](https://github.com/nodejs/node-gyp/commit/b42e7966177f006f3d1aab1d27885d8372c8ed01))
|
||||
|
||||
|
||||
### Miscellaneous
|
||||
|
||||
* only run release please on push ([cff9ac2](https://github.com/nodejs/node-gyp/commit/cff9ac2c3083769a383e00bc60b91562f03116e3))
|
||||
* upgrade release please action from v2 to v4 ([#2982](https://github.com/nodejs/node-gyp/issues/2982)) ([0035d8e](https://github.com/nodejs/node-gyp/commit/0035d8e9dc98b94f0bc8cd9023a6fa635003703e))
|
||||
|
||||
### [10.0.1](https://www.github.com/nodejs/node-gyp/compare/v10.0.0...v10.0.1) (2023-11-02)
|
||||
|
||||
|
||||
|
@ -23,7 +52,6 @@
|
|||
* the `Gyp` class exported is now created using ECMAScript classes and therefore might have small differences to classes that were previously created with `util.inherits`.
|
||||
* All internal functions have been coverted to return promises and no longer accept callbacks. This is not a breaking change for users but may be breaking to consumers of `node-gyp` if you are requiring internal functions directly.
|
||||
* `node-gyp` now supports node `^16.14.0 || >=18.0.0`
|
||||
* update engines.node to ^14.17.0 || ^16.13.0 || >=18.0.0
|
||||
|
||||
### Features
|
||||
|
||||
|
@ -706,11 +734,11 @@ Republish of v5.0.6 with unnecessary tarball removed from pack file.
|
|||
* [[`94c39c604e`](https://github.com/nodejs/node-gyp/commit/94c39c604e)] - **gyp**: fix ninja build failure (GYP patch) (Daniel Bevenius) [nodejs/node#12484](https://github.com/nodejs/node/pull/12484)
|
||||
* [[`e8ea74e0fa`](https://github.com/nodejs/node-gyp/commit/e8ea74e0fa)] - **tools**: patch gyp to avoid xcrun errors (Ujjwal Sharma) [nodejs/node#21520](https://github.com/nodejs/node/pull/21520)
|
||||
* [[`ea9aff44f2`](https://github.com/nodejs/node-gyp/commit/ea9aff44f2)] - **tools**: fix "the the" typos in comments (Masashi Hirano) [nodejs/node#20716](https://github.com/nodejs/node/pull/20716)
|
||||
* [[`207e5aa4fd`](https://github.com/nodejs/node-gyp/commit/207e5aa4fd)] - **gyp**: implement LD/LDXX for ninja and FIPS (Sam Roberts)
|
||||
* [[`207e5aa4fd`](https://github.com/nodejs/node-gyp/commit/207e5aa4fd)] - **gyp**: implement LD/LDXX for ninja and FIPS (Sam Roberts)
|
||||
* [[`b416c5f4b7`](https://github.com/nodejs/node-gyp/commit/b416c5f4b7)] - **gyp**: enable cctest to use objects (gyp part) (Daniel Bevenius) [nodejs/node#12450](https://github.com/nodejs/node/pull/12450)
|
||||
* [[`40692d016b`](https://github.com/nodejs/node-gyp/commit/40692d016b)] - **gyp**: add compile\_commands.json gyp generator (Ben Noordhuis) [nodejs/node#12450](https://github.com/nodejs/node/pull/12450)
|
||||
* [[`fc3c4e2b10`](https://github.com/nodejs/node-gyp/commit/fc3c4e2b10)] - **gyp**: float gyp patch for long filenames (Anna Henningsen) [nodejs/node#7963](https://github.com/nodejs/node/pull/7963)
|
||||
* [[`8aedbfdef6`](https://github.com/nodejs/node-gyp/commit/8aedbfdef6)] - **gyp**: backport GYP fix to fix AIX shared suffix (Stewart Addison)
|
||||
* [[`8aedbfdef6`](https://github.com/nodejs/node-gyp/commit/8aedbfdef6)] - **gyp**: backport GYP fix to fix AIX shared suffix (Stewart Addison)
|
||||
* [[`6cd84b84fc`](https://github.com/nodejs/node-gyp/commit/6cd84b84fc)] - **test**: formatting and minor fixes for execFileSync replacement (Rod Vagg) [#1521](https://github.com/nodejs/node-gyp/pull/1521)
|
||||
* [[`60e421363f`](https://github.com/nodejs/node-gyp/commit/60e421363f)] - **test**: added test/processExecSync.js for when execFileSync is not available. (Rohit Hazra) [#1492](https://github.com/nodejs/node-gyp/pull/1492)
|
||||
* [[`969447c5bd`](https://github.com/nodejs/node-gyp/commit/969447c5bd)] - **deps**: bump request to 2.8.7, fixes heok/hawk issues (Rohit Hazra) [#1492](https://github.com/nodejs/node-gyp/pull/1492)
|
||||
|
@ -772,7 +800,7 @@ Republish of v5.0.6 with unnecessary tarball removed from pack file.
|
|||
|
||||
## v3.5.0 2017-01-10
|
||||
|
||||
* [[`762d19a39e`](https://github.com/nodejs/node-gyp/commit/762d19a39e)] - \[doc\] merge History.md and CHANGELOG.md (Rod Vagg)
|
||||
* [[`762d19a39e`](https://github.com/nodejs/node-gyp/commit/762d19a39e)] - \[doc\] merge History.md and CHANGELOG.md (Rod Vagg)
|
||||
* [[`80fc5c3d31`](https://github.com/nodejs/node-gyp/commit/80fc5c3d31)] - Fix deprecated dependency warning (Simone Primarosa) [#1069](https://github.com/nodejs/node-gyp/pull/1069)
|
||||
* [[`05c44944fd`](https://github.com/nodejs/node-gyp/commit/05c44944fd)] - Open the build file with universal-newlines mode (Guy Margalit) [#1053](https://github.com/nodejs/node-gyp/pull/1053)
|
||||
* [[`37ae7be114`](https://github.com/nodejs/node-gyp/commit/37ae7be114)] - Try python launcher when stock python is python 3. (Ben Noordhuis) [#992](https://github.com/nodejs/node-gyp/pull/992)
|
||||
|
@ -829,7 +857,7 @@ Republish of v5.0.6 with unnecessary tarball removed from pack file.
|
|||
* [[`0e2dfda1f3`](https://github.com/nodejs/node-gyp/commit/0e2dfda1f3)] - Fix test/test-options when run through `npm test`. (Ben Noordhuis) [#755](https://github.com/nodejs/node-gyp/pull/755)
|
||||
* [[`9bfa0876b4`](https://github.com/nodejs/node-gyp/commit/9bfa0876b4)] - Add support for AIX (Michael Dawson) [#753](https://github.com/nodejs/node-gyp/pull/753)
|
||||
* [[`a8d441a0a2`](https://github.com/nodejs/node-gyp/commit/a8d441a0a2)] - Update README for Windows 10 support. (Jason Williams) [#766](https://github.com/nodejs/node-gyp/pull/766)
|
||||
* [[`d1d6015276`](https://github.com/nodejs/node-gyp/commit/d1d6015276)] - Update broken links and switch to HTTPS. (andrew morton)
|
||||
* [[`d1d6015276`](https://github.com/nodejs/node-gyp/commit/d1d6015276)] - Update broken links and switch to HTTPS. (andrew morton)
|
||||
|
||||
## v3.1.0 2015-11-14
|
||||
|
||||
|
|
0
my-app/node_modules/node-gyp/CONTRIBUTING.md
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/CONTRIBUTING.md
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/LICENSE
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/LICENSE
generated
vendored
Executable file → Normal file
12
my-app/node_modules/node-gyp/README.md
generated
vendored
Executable file → Normal file
12
my-app/node_modules/node-gyp/README.md
generated
vendored
Executable file → Normal file
|
@ -11,9 +11,8 @@ addons.
|
|||
|
||||
Note that `node-gyp` is _not_ used to build Node.js itself.
|
||||
|
||||
Multiple target versions of Node.js are supported (i.e. `0.8`, ..., `4`, `5`, `6`,
|
||||
etc.), regardless of what version of Node.js is actually installed on your system
|
||||
(`node-gyp` downloads the necessary development files or headers for the target version).
|
||||
All current and LTS target versions of Node.js are supported. Depending on what version of Node.js is actually installed on your system
|
||||
`node-gyp` downloads the necessary development files or headers for the target version. List of stable Node.js versions can be found on [Node.js website](https://nodejs.org/en/about/previous-releases).
|
||||
|
||||
## Features
|
||||
|
||||
|
@ -50,9 +49,7 @@ Install the current [version of Python](https://devguide.python.org/versions/) f
|
|||
[Microsoft Store](https://apps.microsoft.com/store/search?publisher=Python+Software+Foundation).
|
||||
|
||||
Install tools and configuration manually:
|
||||
* Install Visual C++ Build Environment: [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools)
|
||||
(using "Visual C++ build tools" if using a version older than VS2019, otherwise use "Desktop development with C++" workload) or [Visual Studio Community](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community)
|
||||
(using the "Desktop development with C++" workload)
|
||||
* Install Visual C++ Build Environment: For Visual Studio 2019 or later, use the `Desktop development with C++` workload from [Visual Studio Community](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community). For a version older than Visual Studio 2019, install [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools) with the `Visual C++ build tools` option.
|
||||
|
||||
If the above steps didn't work for you, please visit [Microsoft's Node.js Guidelines for Windows](https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules) for additional tips.
|
||||
|
||||
|
@ -60,6 +57,9 @@ Install tools and configuration manually:
|
|||
|
||||
To use the native ARM64 C++ compiler on Windows on ARM, ensure that you have Visual Studio 2022 [17.4 or later](https://devblogs.microsoft.com/visualstudio/arm64-visual-studio-is-officially-here/) installed.
|
||||
|
||||
It's advised to install following Powershell module: [VSSetup](https://github.com/microsoft/vssetup.powershell) using `Install-Module VSSetup -Scope CurrentUser`.
|
||||
This will make Visual Studio detection logic to use more flexible and accessible method, avoiding Powershell's `ConstrainedLanguage` mode.
|
||||
|
||||
### Configuring Python Dependency
|
||||
|
||||
`node-gyp` requires that you have installed a [supported version of Python](https://devguide.python.org/versions/).
|
||||
|
|
0
my-app/node_modules/node-gyp/SECURITY.md
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/SECURITY.md
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/addon.gypi
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/addon.gypi
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/LICENSE
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/LICENSE
generated
vendored
Executable file → Normal file
30
my-app/node_modules/node-gyp/gyp/README.md
generated
vendored
30
my-app/node_modules/node-gyp/gyp/README.md
generated
vendored
|
@ -1,30 +0,0 @@
|
|||
GYP can Generate Your Projects.
|
||||
===================================
|
||||
|
||||
Documents are available at [gyp.gsrc.io](https://gyp.gsrc.io), or you can check out ```md-pages``` branch to read those documents offline.
|
||||
|
||||
__gyp-next__ is [released](https://github.com/nodejs/gyp-next/releases) to the [__Python Packaging Index__](https://pypi.org/project/gyp-next) (PyPI) and can be installed with the command:
|
||||
* `python3 -m pip install gyp-next`
|
||||
|
||||
When used as a command line utility, __gyp-next__ can also be installed with [pipx](https://pypa.github.io/pipx):
|
||||
* `pipx install gyp-next`
|
||||
```
|
||||
Installing to a new venv 'gyp-next'
|
||||
installed package gyp-next 0.13.0, installed using Python 3.10.6
|
||||
These apps are now globally available
|
||||
- gyp
|
||||
done! ✨ 🌟 ✨
|
||||
```
|
||||
|
||||
Or to run __gyp-next__ directly without installing it:
|
||||
* `pipx run gyp-next --help`
|
||||
```
|
||||
NOTE: running app 'gyp' from 'gyp-next'
|
||||
usage: usage: gyp [options ...] [build_file ...]
|
||||
|
||||
options:
|
||||
-h, --help show this help message and exit
|
||||
--build CONFIGS configuration for build after project generation
|
||||
--check check format of gyp files
|
||||
[ ... ]
|
||||
```
|
0
my-app/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/common.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/common.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py
generated
vendored
Executable file → Normal file
6
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py
generated
vendored
Executable file → Normal file
6
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py
generated
vendored
Executable file → Normal file
|
@ -739,9 +739,9 @@ class AndroidMkWriter:
|
|||
% (self.android_class, self.android_module)
|
||||
)
|
||||
else:
|
||||
path = "$(call intermediates-dir-for,{},{},,,$(GYP_VAR_PREFIX))".format(
|
||||
self.android_class,
|
||||
self.android_module,
|
||||
path = (
|
||||
"$(call intermediates-dir-for,"
|
||||
f"{self.android_class},{self.android_module},,,$(GYP_VAR_PREFIX))"
|
||||
)
|
||||
|
||||
assert spec.get("product_dir") is None # TODO: not supported?
|
||||
|
|
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py
generated
vendored
Executable file → Normal file
7
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py
generated
vendored
Executable file → Normal file
7
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py
generated
vendored
Executable file → Normal file
|
@ -49,10 +49,9 @@ def GenerateOutput(target_list, target_dicts, data, params):
|
|||
# Use a banner that looks like the stock Python one and like what
|
||||
# code.interact uses by default, but tack on something to indicate what
|
||||
# locals are available, and identify gypsh.
|
||||
banner = "Python {} on {}\nlocals.keys() = {}\ngypsh".format(
|
||||
sys.version,
|
||||
sys.platform,
|
||||
repr(sorted(locals.keys())),
|
||||
banner = (
|
||||
f"Python {sys.version} on {sys.platform}\nlocals.keys() = "
|
||||
f"{repr(sorted(locals.keys()))}\ngypsh"
|
||||
)
|
||||
|
||||
code.interact(banner, local=locals)
|
||||
|
|
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
generated
vendored
Executable file → Normal file
20
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py
generated
vendored
Executable file → Normal file
20
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py
generated
vendored
Executable file → Normal file
|
@ -1778,11 +1778,9 @@ def _GetCopies(spec):
|
|||
outer_dir = posixpath.split(src_bare)[1]
|
||||
fixed_dst = _FixPath(dst)
|
||||
full_dst = f'"{fixed_dst}\\{outer_dir}\\"'
|
||||
cmd = 'mkdir {} 2>nul & cd "{}" && xcopy /e /f /y "{}" {}'.format(
|
||||
full_dst,
|
||||
_FixPath(base_dir),
|
||||
outer_dir,
|
||||
full_dst,
|
||||
cmd = (
|
||||
f'mkdir {full_dst} 2>nul & cd "{_FixPath(base_dir)}" && '
|
||||
f'xcopy /e /f /y "{outer_dir}" {full_dst}'
|
||||
)
|
||||
copies.append(
|
||||
(
|
||||
|
@ -1794,10 +1792,9 @@ def _GetCopies(spec):
|
|||
)
|
||||
else:
|
||||
fix_dst = _FixPath(cpy["destination"])
|
||||
cmd = 'mkdir "{}" 2>nul & set ERRORLEVEL=0 & copy /Y "{}" "{}"'.format(
|
||||
fix_dst,
|
||||
_FixPath(src),
|
||||
_FixPath(dst),
|
||||
cmd = (
|
||||
f'mkdir "{fix_dst}" 2>nul & set ERRORLEVEL=0 & '
|
||||
f'copy /Y "{_FixPath(src)}" "{_FixPath(dst)}"'
|
||||
)
|
||||
copies.append(([src], [dst], cmd, f"Copying {src} to {fix_dst}"))
|
||||
return copies
|
||||
|
@ -1899,9 +1896,8 @@ def _GetPlatformOverridesOfProject(spec):
|
|||
for config_name, c in spec["configurations"].items():
|
||||
config_fullname = _ConfigFullName(config_name, c)
|
||||
platform = c.get("msvs_target_platform", _ConfigPlatform(c))
|
||||
fixed_config_fullname = "{}|{}".format(
|
||||
_ConfigBaseName(config_name, _ConfigPlatform(c)),
|
||||
platform,
|
||||
fixed_config_fullname = (
|
||||
f"{_ConfigBaseName(config_name, _ConfigPlatform(c))}|{platform}"
|
||||
)
|
||||
if spec["toolset"] == "host" and generator_supports_multiple_toolsets:
|
||||
fixed_config_fullname = f"{config_name}|x64"
|
||||
|
|
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py
generated
vendored
Executable file → Normal file
10
my-app/node_modules/node-gyp/gyp/pylib/gyp/input.py
generated
vendored
Executable file → Normal file
10
my-app/node_modules/node-gyp/gyp/pylib/gyp/input.py
generated
vendored
Executable file → Normal file
|
@ -1135,18 +1135,16 @@ def EvalCondition(condition, conditions_key, phase, variables, build_file):
|
|||
true_dict = condition[i + 1]
|
||||
if type(true_dict) is not dict:
|
||||
raise GypError(
|
||||
"{} {} must be followed by a dictionary, not {}".format(
|
||||
conditions_key, cond_expr, type(true_dict)
|
||||
)
|
||||
f"{conditions_key} {cond_expr} must be followed by a dictionary, not "
|
||||
f"{type(true_dict)}"
|
||||
)
|
||||
if len(condition) > i + 2 and type(condition[i + 2]) is dict:
|
||||
false_dict = condition[i + 2]
|
||||
i = i + 3
|
||||
if i != len(condition):
|
||||
raise GypError(
|
||||
"{} {} has {} unexpected trailing items".format(
|
||||
conditions_key, cond_expr, len(condition) - i
|
||||
)
|
||||
f"{conditions_key} {cond_expr} has {len(condition) - i} "
|
||||
"unexpected trailing items"
|
||||
)
|
||||
else:
|
||||
false_dict = None
|
||||
|
|
9
my-app/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py
generated
vendored
Executable file → Normal file
9
my-app/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py
generated
vendored
Executable file → Normal file
|
@ -830,17 +830,14 @@ class MsvsSettings:
|
|||
("VCLinkerTool", "UACUIAccess"), config, default="false"
|
||||
)
|
||||
|
||||
inner = """
|
||||
inner = f"""
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level='{}' uiAccess='{}' />
|
||||
<requestedExecutionLevel level='{execution_level_map[execution_level]}' uiAccess='{ui_access}' />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>""".format(
|
||||
execution_level_map[execution_level],
|
||||
ui_access,
|
||||
)
|
||||
</trustInfo>""" # noqa: E501
|
||||
else:
|
||||
inner = ""
|
||||
|
||||
|
|
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/LICENSE
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/LICENSE
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/__init__.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/__init__.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_parser.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_parser.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_structures.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_structures.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/markers.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/markers.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/metadata.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/metadata.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/py.typed
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/py.typed
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/requirements.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/requirements.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/tags.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/tags.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/utils.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/utils.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/version.py
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/gyp/pylib/packaging/version.py
generated
vendored
Executable file → Normal file
8
my-app/node_modules/node-gyp/gyp/pyproject.toml
generated
vendored
Executable file → Normal file
8
my-app/node_modules/node-gyp/gyp/pyproject.toml
generated
vendored
Executable file → Normal file
|
@ -38,7 +38,7 @@ gyp = "gyp:script_main"
|
|||
"Homepage" = "https://github.com/nodejs/gyp-next"
|
||||
|
||||
[tool.ruff]
|
||||
select = [
|
||||
lint.select = [
|
||||
"C4", # flake8-comprehensions
|
||||
"C90", # McCabe cyclomatic complexity
|
||||
"DTZ", # flake8-datetimez
|
||||
|
@ -87,7 +87,7 @@ select = [
|
|||
# "T20", # flake8-print
|
||||
# "TRY", # tryceratops
|
||||
]
|
||||
ignore = [
|
||||
lint.ignore = [
|
||||
"E721",
|
||||
"PLC1901",
|
||||
"PLR0402",
|
||||
|
@ -105,10 +105,10 @@ extend-exclude = ["pylib/packaging"]
|
|||
line-length = 88
|
||||
target-version = "py37"
|
||||
|
||||
[tool.ruff.mccabe]
|
||||
[tool.ruff.lint.mccabe]
|
||||
max-complexity = 101
|
||||
|
||||
[tool.ruff.pylint]
|
||||
[tool.ruff.lint.pylint]
|
||||
max-args = 11
|
||||
max-branches = 108
|
||||
max-returns = 10
|
||||
|
|
0
my-app/node_modules/node-gyp/lib/Find-VisualStudio.cs
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/Find-VisualStudio.cs
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/build.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/build.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/clean.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/clean.js
generated
vendored
Executable file → Normal file
28
my-app/node_modules/node-gyp/lib/configure.js
generated
vendored
Executable file → Normal file
28
my-app/node_modules/node-gyp/lib/configure.js
generated
vendored
Executable file → Normal file
|
@ -1,6 +1,6 @@
|
|||
'use strict'
|
||||
|
||||
const { promises: fs } = require('graceful-fs')
|
||||
const { promises: fs, readFileSync } = require('graceful-fs')
|
||||
const path = require('path')
|
||||
const log = require('./log')
|
||||
const os = require('os')
|
||||
|
@ -13,6 +13,10 @@ const { findAccessibleSync } = require('./util')
|
|||
const { findPython } = require('./find-python')
|
||||
const { findVisualStudio } = win ? require('./find-visualstudio') : {}
|
||||
|
||||
const majorRe = /^#define NODE_MAJOR_VERSION (\d+)/m
|
||||
const minorRe = /^#define NODE_MINOR_VERSION (\d+)/m
|
||||
const patchRe = /^#define NODE_PATCH_VERSION (\d+)/m
|
||||
|
||||
async function configure (gyp, argv) {
|
||||
const buildDir = path.resolve('build')
|
||||
const configNames = ['config.gypi', 'common.gypi']
|
||||
|
@ -27,6 +31,28 @@ async function configure (gyp, argv) {
|
|||
// 'python' should be set by now
|
||||
process.env.PYTHON = python
|
||||
|
||||
if (!gyp.opts.nodedir &&
|
||||
process.config.variables.use_prefix_to_find_headers) {
|
||||
// check if the headers can be found using the prefix specified
|
||||
// at build time. Use them if they match the version expected
|
||||
const prefix = process.config.variables.node_prefix
|
||||
let availVersion
|
||||
try {
|
||||
const nodeVersionH = readFileSync(path.join(prefix,
|
||||
'include', 'node', 'node_version.h'), { encoding: 'utf8' })
|
||||
const major = nodeVersionH.match(majorRe)[1]
|
||||
const minor = nodeVersionH.match(minorRe)[1]
|
||||
const patch = nodeVersionH.match(patchRe)[1]
|
||||
availVersion = major + '.' + minor + '.' + patch
|
||||
} catch {}
|
||||
if (availVersion === release.version) {
|
||||
// ok version matches, use the headers
|
||||
gyp.opts.nodedir = prefix
|
||||
log.verbose('using local node headers based on prefix',
|
||||
'setting nodedir to ' + gyp.opts.nodedir)
|
||||
}
|
||||
}
|
||||
|
||||
if (gyp.opts.nodedir) {
|
||||
// --nodedir was specified. use that for the dev files
|
||||
nodeDir = gyp.opts.nodedir.replace(/^~/, os.homedir())
|
||||
|
|
0
my-app/node_modules/node-gyp/lib/create-config-gypi.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/create-config-gypi.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/download.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/download.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/find-node-directory.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/find-node-directory.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/lib/find-python.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/lib/find-python.js
generated
vendored
Executable file → Normal file
|
@ -41,7 +41,7 @@ class PythonFinder {
|
|||
static findPython = (...args) => new PythonFinder(...args).findPython()
|
||||
|
||||
log = log.withPrefix('find Python')
|
||||
argsExecutable = ['-c', 'import sys; print(sys.executable);']
|
||||
argsExecutable = ['-c', 'import sys; sys.stdout.buffer.write(sys.executable.encode(\'utf-8\'));']
|
||||
argsVersion = ['-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);']
|
||||
semverRange = '>=3.6.0'
|
||||
|
||||
|
|
127
my-app/node_modules/node-gyp/lib/find-visualstudio.js
generated
vendored
Executable file → Normal file
127
my-app/node_modules/node-gyp/lib/find-visualstudio.js
generated
vendored
Executable file → Normal file
|
@ -54,7 +54,10 @@ class VisualStudioFinder {
|
|||
}
|
||||
|
||||
const checks = [
|
||||
() => this.findVisualStudio2017OrNewer(),
|
||||
() => this.findVisualStudio2019OrNewerUsingSetupModule(),
|
||||
() => this.findVisualStudio2019OrNewer(),
|
||||
() => this.findVisualStudio2017UsingSetupModule(),
|
||||
() => this.findVisualStudio2017(),
|
||||
() => this.findVisualStudio2015(),
|
||||
() => this.findVisualStudio2013()
|
||||
]
|
||||
|
@ -113,9 +116,84 @@ class VisualStudioFinder {
|
|||
throw new Error('Could not find any Visual Studio installation to use')
|
||||
}
|
||||
|
||||
async findVisualStudio2019OrNewerUsingSetupModule () {
|
||||
return this.findNewVSUsingSetupModule([2019, 2022])
|
||||
}
|
||||
|
||||
async findVisualStudio2017UsingSetupModule () {
|
||||
if (this.nodeSemver.major >= 22) {
|
||||
this.addLog(
|
||||
'not looking for VS2017 as it is only supported up to Node.js 21')
|
||||
return null
|
||||
}
|
||||
return this.findNewVSUsingSetupModule([2017])
|
||||
}
|
||||
|
||||
async findNewVSUsingSetupModule (supportedYears) {
|
||||
const ps = path.join(process.env.SystemRoot, 'System32',
|
||||
'WindowsPowerShell', 'v1.0', 'powershell.exe')
|
||||
const vcInstallDir = this.envVcInstallDir
|
||||
|
||||
const checkModuleArgs = [
|
||||
'-NoProfile',
|
||||
'-Command',
|
||||
'&{@(Get-Module -ListAvailable -Name VSSetup).Version.ToString()}'
|
||||
]
|
||||
this.log.silly('Running', ps, checkModuleArgs)
|
||||
const [cErr] = await this.execFile(ps, checkModuleArgs)
|
||||
if (cErr) {
|
||||
this.addLog('VSSetup module doesn\'t seem to exist. You can install it via: "Install-Module VSSetup -Scope CurrentUser"')
|
||||
this.log.silly('VSSetup error = %j', cErr && (cErr.stack || cErr))
|
||||
return null
|
||||
}
|
||||
const filterArg = vcInstallDir !== undefined ? `| where {$_.InstallationPath -eq '${vcInstallDir}' }` : ''
|
||||
const psArgs = [
|
||||
'-NoProfile',
|
||||
'-Command',
|
||||
`&{Get-VSSetupInstance ${filterArg} | ConvertTo-Json -Depth 3}`
|
||||
]
|
||||
|
||||
this.log.silly('Running', ps, psArgs)
|
||||
const [err, stdout, stderr] = await this.execFile(ps, psArgs)
|
||||
let parsedData = this.parseData(err, stdout, stderr)
|
||||
if (parsedData === null) {
|
||||
return null
|
||||
}
|
||||
this.log.silly('Parsed data', parsedData)
|
||||
if (!Array.isArray(parsedData)) {
|
||||
// if there are only 1 result, then Powershell will output non-array
|
||||
parsedData = [parsedData]
|
||||
}
|
||||
// normalize output
|
||||
parsedData = parsedData.map((info) => {
|
||||
info.path = info.InstallationPath
|
||||
info.version = `${info.InstallationVersion.Major}.${info.InstallationVersion.Minor}.${info.InstallationVersion.Build}.${info.InstallationVersion.Revision}`
|
||||
info.packages = info.Packages.map((p) => p.Id)
|
||||
return info
|
||||
})
|
||||
// pass for further processing
|
||||
return this.processData(parsedData, supportedYears)
|
||||
}
|
||||
|
||||
// Invoke the PowerShell script to get information about Visual Studio 2019
|
||||
// or newer installations
|
||||
async findVisualStudio2019OrNewer () {
|
||||
return this.findNewVS([2019, 2022])
|
||||
}
|
||||
|
||||
// Invoke the PowerShell script to get information about Visual Studio 2017
|
||||
async findVisualStudio2017 () {
|
||||
if (this.nodeSemver.major >= 22) {
|
||||
this.addLog(
|
||||
'not looking for VS2017 as it is only supported up to Node.js 21')
|
||||
return null
|
||||
}
|
||||
return this.findNewVS([2017])
|
||||
}
|
||||
|
||||
// Invoke the PowerShell script to get information about Visual Studio 2017
|
||||
// or newer installations
|
||||
async findVisualStudio2017OrNewer () {
|
||||
async findNewVS (supportedYears) {
|
||||
const ps = path.join(process.env.SystemRoot, 'System32',
|
||||
'WindowsPowerShell', 'v1.0', 'powershell.exe')
|
||||
const csFile = path.join(__dirname, 'Find-VisualStudio.cs')
|
||||
|
@ -128,24 +206,35 @@ class VisualStudioFinder {
|
|||
]
|
||||
|
||||
this.log.silly('Running', ps, psArgs)
|
||||
const [err, stdout, stderr] = await execFile(ps, psArgs, { encoding: 'utf8' })
|
||||
return this.parseData(err, stdout, stderr)
|
||||
const [err, stdout, stderr] = await this.execFile(ps, psArgs)
|
||||
const parsedData = this.parseData(err, stdout, stderr, { checkIsArray: true })
|
||||
if (parsedData === null) {
|
||||
return null
|
||||
}
|
||||
return this.processData(parsedData, supportedYears)
|
||||
}
|
||||
|
||||
// Parse the output of the PowerShell script and look for an installation
|
||||
// of Visual Studio 2017 or newer to use
|
||||
parseData (err, stdout, stderr) {
|
||||
// Parse the output of the PowerShell script, make sanity checks
|
||||
parseData (err, stdout, stderr, sanityCheckOptions) {
|
||||
const defaultOptions = {
|
||||
checkIsArray: false
|
||||
}
|
||||
|
||||
// Merging provided options with the default options
|
||||
const sanityOptions = { ...defaultOptions, ...sanityCheckOptions }
|
||||
|
||||
this.log.silly('PS stderr = %j', stderr)
|
||||
|
||||
const failPowershell = () => {
|
||||
const failPowershell = (failureDetails) => {
|
||||
this.addLog(
|
||||
'could not use PowerShell to find Visual Studio 2017 or newer, try re-running with \'--loglevel silly\' for more details')
|
||||
`could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details. \n
|
||||
Failure details: ${failureDetails}`)
|
||||
return null
|
||||
}
|
||||
|
||||
if (err) {
|
||||
this.log.silly('PS err = %j', err && (err.stack || err))
|
||||
return failPowershell()
|
||||
return failPowershell(`${err}`.substring(0, 40))
|
||||
}
|
||||
|
||||
let vsInfo
|
||||
|
@ -157,11 +246,16 @@ class VisualStudioFinder {
|
|||
return failPowershell()
|
||||
}
|
||||
|
||||
if (!Array.isArray(vsInfo)) {
|
||||
if (sanityOptions.checkIsArray && !Array.isArray(vsInfo)) {
|
||||
this.log.silly('PS stdout = %j', stdout)
|
||||
return failPowershell()
|
||||
return failPowershell('Expected array as output of the PS script')
|
||||
}
|
||||
return vsInfo
|
||||
}
|
||||
|
||||
// Process parsed data containing information about VS installations
|
||||
// Look for the required parts, extract and output them back
|
||||
processData (vsInfo, supportedYears) {
|
||||
vsInfo = vsInfo.map((info) => {
|
||||
this.log.silly(`processing installation: "${info.path}"`)
|
||||
info.path = path.resolve(info.path)
|
||||
|
@ -175,11 +269,12 @@ class VisualStudioFinder {
|
|||
this.log.silly('vsInfo:', vsInfo)
|
||||
|
||||
// Remove future versions or errors parsing version number
|
||||
// Also remove any unsupported versions
|
||||
vsInfo = vsInfo.filter((info) => {
|
||||
if (info.versionYear) {
|
||||
if (info.versionYear && supportedYears.indexOf(info.versionYear) !== -1) {
|
||||
return true
|
||||
}
|
||||
this.addLog(`unknown version "${info.version}" found at "${info.path}"`)
|
||||
this.addLog(`${info.versionYear ? 'unsupported' : 'unknown'} version "${info.version}" found at "${info.path}"`)
|
||||
return false
|
||||
})
|
||||
|
||||
|
@ -438,6 +533,10 @@ class VisualStudioFinder {
|
|||
|
||||
return true
|
||||
}
|
||||
|
||||
async execFile (exec, args) {
|
||||
return await execFile(exec, args, { encoding: 'utf8' })
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = VisualStudioFinder
|
||||
|
|
0
my-app/node_modules/node-gyp/lib/install.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/install.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/list.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/list.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/log.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/log.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/node-gyp.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/node-gyp.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/process-release.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/process-release.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/rebuild.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/rebuild.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/remove.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/remove.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/util.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/lib/util.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/macOS_Catalina_acid_test.sh
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/macOS_Catalina_acid_test.sh
generated
vendored
Executable file → Normal file
BIN
my-app/node_modules/node-gyp/node_modules/.bin/glob
generated
vendored
BIN
my-app/node_modules/node-gyp/node_modules/.bin/glob
generated
vendored
Binary file not shown.
1
my-app/node_modules/node-gyp/node_modules/.bin/glob
generated
vendored
Symbolic link
1
my-app/node_modules/node-gyp/node_modules/.bin/glob
generated
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
../glob/dist/esm/bin.mjs
|
0
my-app/node_modules/node-gyp/node_modules/glob/LICENSE
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/node_modules/glob/LICENSE
generated
vendored
Executable file → Normal file
55
my-app/node_modules/node-gyp/node_modules/glob/README.md
generated
vendored
Executable file → Normal file
55
my-app/node_modules/node-gyp/node_modules/glob/README.md
generated
vendored
Executable file → Normal file
|
@ -77,7 +77,7 @@ g3.stream().on('data', path => {
|
|||
'got a path object',
|
||||
path.fullpath(),
|
||||
path.isDirectory(),
|
||||
path.readdirSync().map(e => e.name)
|
||||
path.readdirSync().map(e => e.name),
|
||||
)
|
||||
})
|
||||
|
||||
|
@ -422,7 +422,7 @@ share the previously loaded cache.
|
|||
`process.cwd()`. See also: "Windows, CWDs, Drive Letters, and
|
||||
UNC Paths", below.
|
||||
|
||||
This option may be eiher a string path or a `file://` URL
|
||||
This option may be either a string path or a `file://` URL
|
||||
object or string.
|
||||
|
||||
- `root` A string path resolved against the `cwd` option, which
|
||||
|
@ -509,6 +509,9 @@ share the previously loaded cache.
|
|||
- `nodir` Do not match directories, only files. (Note: to match
|
||||
_only_ directories, put a `/` at the end of the pattern.)
|
||||
|
||||
Note: when `follow` and `nodir` are both set, then symbolic
|
||||
links to directories are also omitted.
|
||||
|
||||
- `stat` Call `lstat()` on all entries, whether required or not
|
||||
to determine whether it's a valid match. When used with
|
||||
`withFileTypes`, this means that matches will include data such
|
||||
|
@ -539,6 +542,9 @@ share the previously loaded cache.
|
|||
it is not the first item in the pattern, or none if it is the
|
||||
first item in the pattern, following the same behavior as Bash.
|
||||
|
||||
Note: when `follow` and `nodir` are both set, then symbolic
|
||||
links to directories are also omitted.
|
||||
|
||||
- `realpath` Set to true to call `fs.realpath` on all of the
|
||||
results. In the case of an entry that cannot be resolved, the
|
||||
entry is omitted. This incurs a slight performance penalty, of
|
||||
|
@ -587,6 +593,51 @@ share the previously loaded cache.
|
|||
explicitly, then any provided `scurry` object must match this
|
||||
setting.
|
||||
|
||||
- `includeChildMatches` boolean, default `true`. Do not match any
|
||||
children of any matches. For example, the pattern `**\/foo`
|
||||
would match `a/foo`, but not `a/foo/b/foo` in this mode.
|
||||
|
||||
This is especially useful for cases like "find all
|
||||
`node_modules` folders, but not the ones in `node_modules`".
|
||||
|
||||
In order to support this, the `Ignore` implementation must
|
||||
support an `add(pattern: string)` method. If using the default
|
||||
`Ignore` class, then this is fine, but if this is set to
|
||||
`false`, and a custom `Ignore` is provided that does not have
|
||||
an `add()` method, then it will throw an error.
|
||||
|
||||
**Caveat** It _only_ ignores matches that would be a descendant
|
||||
of a previous match, and only if that descendant is matched
|
||||
_after_ the ancestor is encountered. Since the file system walk
|
||||
happens in indeterminate order, it's possible that a match will
|
||||
already be added before its ancestor, if multiple or braced
|
||||
patterns are used.
|
||||
|
||||
For example:
|
||||
|
||||
```js
|
||||
const results = await glob(
|
||||
[
|
||||
// likely to match first, since it's just a stat
|
||||
'a/b/c/d/e/f',
|
||||
|
||||
// this pattern is more complicated! It must to various readdir()
|
||||
// calls and test the results against a regular expression, and that
|
||||
// is certainly going to take a little bit longer.
|
||||
//
|
||||
// So, later on, it encounters a match at 'a/b/c/d/e', but it's too
|
||||
// late to ignore a/b/c/d/e/f, because it's already been emitted.
|
||||
'a/[bdf]/?/[a-z]/*',
|
||||
],
|
||||
{ includeChildMatches: false },
|
||||
)
|
||||
```
|
||||
|
||||
It's best to only set this to `false` if you can be reasonably
|
||||
sure that no components of the pattern will potentially match
|
||||
one another's file system descendants, or if the occasional
|
||||
included child entry will not cause problems.
|
||||
|
||||
## Glob Primer
|
||||
|
||||
Much more information about glob pattern expansion can be found
|
||||
|
|
45
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts
generated
vendored
Executable file → Normal file
45
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts
generated
vendored
Executable file → Normal file
|
@ -247,6 +247,50 @@ export interface GlobOptions {
|
|||
* `'//?/C:/foo/bar'`
|
||||
*/
|
||||
posix?: boolean;
|
||||
/**
|
||||
* Do not match any children of any matches. For example, the pattern
|
||||
* `**\/foo` would match `a/foo`, but not `a/foo/b/foo` in this mode.
|
||||
*
|
||||
* This is especially useful for cases like "find all `node_modules`
|
||||
* folders, but not the ones in `node_modules`".
|
||||
*
|
||||
* In order to support this, the `Ignore` implementation must support an
|
||||
* `add(pattern: string)` method. If using the default `Ignore` class, then
|
||||
* this is fine, but if this is set to `false`, and a custom `Ignore` is
|
||||
* provided that does not have an `add()` method, then it will throw an
|
||||
* error.
|
||||
*
|
||||
* **Caveat** It *only* ignores matches that would be a descendant of a
|
||||
* previous match, and only if that descendant is matched *after* the
|
||||
* ancestor is encountered. Since the file system walk happens in
|
||||
* indeterminate order, it's possible that a match will already be added
|
||||
* before its ancestor, if multiple or braced patterns are used.
|
||||
*
|
||||
* For example:
|
||||
*
|
||||
* ```ts
|
||||
* const results = await glob([
|
||||
* // likely to match first, since it's just a stat
|
||||
* 'a/b/c/d/e/f',
|
||||
*
|
||||
* // this pattern is more complicated! It must to various readdir()
|
||||
* // calls and test the results against a regular expression, and that
|
||||
* // is certainly going to take a little bit longer.
|
||||
* //
|
||||
* // So, later on, it encounters a match at 'a/b/c/d/e', but it's too
|
||||
* // late to ignore a/b/c/d/e/f, because it's already been emitted.
|
||||
* 'a/[bdf]/?/[a-z]/*',
|
||||
* ], { includeChildMatches: false })
|
||||
* ```
|
||||
*
|
||||
* It's best to only set this to `false` if you can be reasonably sure that
|
||||
* no components of the pattern will potentially match one another's file
|
||||
* system descendants, or if the occasional included child entry will not
|
||||
* cause problems.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
includeChildMatches?: boolean;
|
||||
}
|
||||
export type GlobOptionsWithFileTypesTrue = GlobOptions & {
|
||||
withFileTypes: true;
|
||||
|
@ -291,6 +335,7 @@ export declare class Glob<Opts extends GlobOptions> implements GlobOptions {
|
|||
signal?: AbortSignal;
|
||||
windowsPathsNoEscape: boolean;
|
||||
withFileTypes: FileTypes<Opts>;
|
||||
includeChildMatches: boolean;
|
||||
/**
|
||||
* The options provided to the constructor.
|
||||
*/
|
||||
|
|
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts.map
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.d.ts.map
generated
vendored
Executable file → Normal file
|
@ -1 +1 @@
|
|||
{"version":3,"file":"glob.d.ts","sourceRoot":"","sources":["../../src/glob.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAoB,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,UAAU,EAIX,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC,KAAK,CAAC,CAAA;AACvC,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC,CAAA;AAWlE;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B;;;;;OAKG;IACH,GAAG,CAAC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ules/node-gyp/node_modules/glob/dist/commonjs/glob.js
generated
vendored
Executable file → Normal file
44
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js
generated
vendored
Executable file → Normal file
|
@ -2,16 +2,16 @@
|
|||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Glob = void 0;
|
||||
const minimatch_1 = require("minimatch");
|
||||
const node_url_1 = require("node:url");
|
||||
const path_scurry_1 = require("path-scurry");
|
||||
const url_1 = require("url");
|
||||
const pattern_js_1 = require("./pattern.js");
|
||||
const walker_js_1 = require("./walker.js");
|
||||
// if no process global, just call it linux.
|
||||
// so we default to case-sensitive, / separators
|
||||
const defaultPlatform = typeof process === 'object' &&
|
||||
const defaultPlatform = (typeof process === 'object' &&
|
||||
process &&
|
||||
typeof process.platform === 'string'
|
||||
? process.platform
|
||||
typeof process.platform === 'string') ?
|
||||
process.platform
|
||||
: 'linux';
|
||||
/**
|
||||
* An object that can perform glob pattern traversals.
|
||||
|
@ -41,6 +41,7 @@ class Glob {
|
|||
signal;
|
||||
windowsPathsNoEscape;
|
||||
withFileTypes;
|
||||
includeChildMatches;
|
||||
/**
|
||||
* The options provided to the constructor.
|
||||
*/
|
||||
|
@ -77,7 +78,7 @@ class Glob {
|
|||
this.cwd = '';
|
||||
}
|
||||
else if (opts.cwd instanceof URL || opts.cwd.startsWith('file://')) {
|
||||
opts.cwd = (0, url_1.fileURLToPath)(opts.cwd);
|
||||
opts.cwd = (0, node_url_1.fileURLToPath)(opts.cwd);
|
||||
}
|
||||
this.cwd = opts.cwd || '';
|
||||
this.root = opts.root;
|
||||
|
@ -86,6 +87,7 @@ class Glob {
|
|||
this.noext = !!opts.noext;
|
||||
this.realpath = !!opts.realpath;
|
||||
this.absolute = opts.absolute;
|
||||
this.includeChildMatches = opts.includeChildMatches !== false;
|
||||
this.noglobstar = !!opts.noglobstar;
|
||||
this.matchBase = !!opts.matchBase;
|
||||
this.maxDepth =
|
||||
|
@ -100,7 +102,8 @@ class Glob {
|
|||
}
|
||||
this.windowsPathsNoEscape =
|
||||
!!opts.windowsPathsNoEscape ||
|
||||
opts.allowWindowsEscape === false;
|
||||
opts.allowWindowsEscape ===
|
||||
false;
|
||||
if (this.windowsPathsNoEscape) {
|
||||
pattern = pattern.map(p => p.replace(/\\/g, '/'));
|
||||
}
|
||||
|
@ -121,12 +124,9 @@ class Glob {
|
|||
}
|
||||
}
|
||||
else {
|
||||
const Scurry = opts.platform === 'win32'
|
||||
? path_scurry_1.PathScurryWin32
|
||||
: opts.platform === 'darwin'
|
||||
? path_scurry_1.PathScurryDarwin
|
||||
: opts.platform
|
||||
? path_scurry_1.PathScurryPosix
|
||||
const Scurry = opts.platform === 'win32' ? path_scurry_1.PathScurryWin32
|
||||
: opts.platform === 'darwin' ? path_scurry_1.PathScurryDarwin
|
||||
: opts.platform ? path_scurry_1.PathScurryPosix
|
||||
: path_scurry_1.PathScurry;
|
||||
this.scurry = new Scurry(this.cwd, {
|
||||
nocase: opts.nocase,
|
||||
|
@ -178,11 +178,12 @@ class Glob {
|
|||
return [
|
||||
...(await new walker_js_1.GlobWalker(this.patterns, this.scurry.cwd, {
|
||||
...this.opts,
|
||||
maxDepth: this.maxDepth !== Infinity
|
||||
? this.maxDepth + this.scurry.cwd.depth()
|
||||
maxDepth: this.maxDepth !== Infinity ?
|
||||
this.maxDepth + this.scurry.cwd.depth()
|
||||
: Infinity,
|
||||
platform: this.platform,
|
||||
nocase: this.nocase,
|
||||
includeChildMatches: this.includeChildMatches,
|
||||
}).walk()),
|
||||
];
|
||||
}
|
||||
|
@ -190,32 +191,35 @@ class Glob {
|
|||
return [
|
||||
...new walker_js_1.GlobWalker(this.patterns, this.scurry.cwd, {
|
||||
...this.opts,
|
||||
maxDepth: this.maxDepth !== Infinity
|
||||
? this.maxDepth + this.scurry.cwd.depth()
|
||||
maxDepth: this.maxDepth !== Infinity ?
|
||||
this.maxDepth + this.scurry.cwd.depth()
|
||||
: Infinity,
|
||||
platform: this.platform,
|
||||
nocase: this.nocase,
|
||||
includeChildMatches: this.includeChildMatches,
|
||||
}).walkSync(),
|
||||
];
|
||||
}
|
||||
stream() {
|
||||
return new walker_js_1.GlobStream(this.patterns, this.scurry.cwd, {
|
||||
...this.opts,
|
||||
maxDepth: this.maxDepth !== Infinity
|
||||
? this.maxDepth + this.scurry.cwd.depth()
|
||||
maxDepth: this.maxDepth !== Infinity ?
|
||||
this.maxDepth + this.scurry.cwd.depth()
|
||||
: Infinity,
|
||||
platform: this.platform,
|
||||
nocase: this.nocase,
|
||||
includeChildMatches: this.includeChildMatches,
|
||||
}).stream();
|
||||
}
|
||||
streamSync() {
|
||||
return new walker_js_1.GlobStream(this.patterns, this.scurry.cwd, {
|
||||
...this.opts,
|
||||
maxDepth: this.maxDepth !== Infinity
|
||||
? this.maxDepth + this.scurry.cwd.depth()
|
||||
maxDepth: this.maxDepth !== Infinity ?
|
||||
this.maxDepth + this.scurry.cwd.depth()
|
||||
: Infinity,
|
||||
platform: this.platform,
|
||||
nocase: this.nocase,
|
||||
includeChildMatches: this.includeChildMatches,
|
||||
}).streamSync();
|
||||
}
|
||||
/**
|
||||
|
|
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js.map
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/glob.js.map
generated
vendored
Executable file → Normal file
File diff suppressed because one or more lines are too long
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts.map
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.d.ts.map
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js.map
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/has-magic.js.map
generated
vendored
Executable file → Normal file
|
@ -1 +1 @@
|
|||
{"version":3,"file":"has-magic.js","sourceRoot":"","sources":["../../src/has-magic.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAGrC;;;;;;;;;;GAUG;AACI,MAAM,QAAQ,GAAG,CACtB,OAA0B,EAC1B,UAAuB,EAAE,EAChB,EAAE;IACX,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC3B,OAAO,GAAG,CAAC,OAAO,CAAC,CAAA;KACpB;IACD,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE;QACvB,IAAI,IAAI,qBAAS,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YAAE,OAAO,IAAI,CAAA;KACtD;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAXY,QAAA,QAAQ,YAWpB","sourcesContent":["import { Minimatch } from 'minimatch'\nimport { GlobOptions } from './glob.js'\n\n/**\n * Return true if the patterns provided contain any magic glob characters,\n * given the options provided.\n *\n * Brace expansion is not considered \"magic\" unless the `magicalBraces` option\n * is set, as brace expansion just turns one string into an array of strings.\n * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and\n * `'xby'` both do not contain any magic glob characters, and it's treated the\n * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`\n * is in the options, brace expansion _is_ treated as a pattern having magic.\n */\nexport const hasMagic = (\n pattern: string | string[],\n options: GlobOptions = {}\n): boolean => {\n if (!Array.isArray(pattern)) {\n pattern = [pattern]\n }\n for (const p of pattern) {\n if (new Minimatch(p, options).hasMagic()) return true\n }\n return false\n}\n"]}
|
||||
{"version":3,"file":"has-magic.js","sourceRoot":"","sources":["../../src/has-magic.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAGrC;;;;;;;;;;GAUG;AACI,MAAM,QAAQ,GAAG,CACtB,OAA0B,EAC1B,UAAuB,EAAE,EAChB,EAAE;IACX,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,OAAO,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,CAAC;IACD,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC;QACxB,IAAI,IAAI,qBAAS,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YAAE,OAAO,IAAI,CAAA;IACvD,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAXY,QAAA,QAAQ,YAWpB","sourcesContent":["import { Minimatch } from 'minimatch'\nimport { GlobOptions } from './glob.js'\n\n/**\n * Return true if the patterns provided contain any magic glob characters,\n * given the options provided.\n *\n * Brace expansion is not considered \"magic\" unless the `magicalBraces` option\n * is set, as brace expansion just turns one string into an array of strings.\n * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and\n * `'xby'` both do not contain any magic glob characters, and it's treated the\n * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`\n * is in the options, brace expansion _is_ treated as a pattern having magic.\n */\nexport const hasMagic = (\n pattern: string | string[],\n options: GlobOptions = {},\n): boolean => {\n if (!Array.isArray(pattern)) {\n pattern = [pattern]\n }\n for (const p of pattern) {\n if (new Minimatch(p, options).hasMagic()) return true\n }\n return false\n}\n"]}
|
7
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts
generated
vendored
Executable file → Normal file
7
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts
generated
vendored
Executable file → Normal file
|
@ -1,9 +1,11 @@
|
|||
import { Minimatch } from 'minimatch';
|
||||
/// <reference types="node" />
|
||||
import { Minimatch, MinimatchOptions } from 'minimatch';
|
||||
import { Path } from 'path-scurry';
|
||||
import { GlobWalkerOpts } from './walker.js';
|
||||
export interface IgnoreLike {
|
||||
ignored?: (p: Path) => boolean;
|
||||
childrenIgnored?: (p: Path) => boolean;
|
||||
add?: (ignore: string) => void;
|
||||
}
|
||||
/**
|
||||
* Class used to process ignored patterns
|
||||
|
@ -13,7 +15,10 @@ export declare class Ignore implements IgnoreLike {
|
|||
relativeChildren: Minimatch[];
|
||||
absolute: Minimatch[];
|
||||
absoluteChildren: Minimatch[];
|
||||
platform: NodeJS.Platform;
|
||||
mmopts: MinimatchOptions;
|
||||
constructor(ignored: string[], { nobrace, nocase, noext, noglobstar, platform, }: GlobWalkerOpts);
|
||||
add(ign: string): void;
|
||||
ignored(p: Path): boolean;
|
||||
childrenIgnored(p: Path): boolean;
|
||||
}
|
||||
|
|
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts.map
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.d.ts.map
generated
vendored
Executable file → Normal file
|
@ -1 +1 @@
|
|||
{"version":3,"file":"ignore.d.ts","sourceRoot":"","sources":["../../src/ignore.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,OAAO,CAAA;IAC9B,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,OAAO,CAAA;CACvC;AASD;;GAEG;AACH,qBAAa,MAAO,YAAW,UAAU;IACvC,QAAQ,EAAE,SAAS,EAAE,CAAA;IACrB,gBAAgB,EAAE,SAAS,EAAE,CAAA;IAC7B,QAAQ,EAAE,SAAS,EAAE,CAAA;IACrB,gBAAgB,EAAE,SAAS,EAAE,CAAA;gBAG3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p/node_modules/glob/dist/commonjs/ignore.js
generated
vendored
Executable file → Normal file
63
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js
generated
vendored
Executable file → Normal file
|
@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
exports.Ignore = void 0;
|
||||
const minimatch_1 = require("minimatch");
|
||||
const pattern_js_1 = require("./pattern.js");
|
||||
const defaultPlatform = typeof process === 'object' &&
|
||||
const defaultPlatform = (typeof process === 'object' &&
|
||||
process &&
|
||||
typeof process.platform === 'string'
|
||||
? process.platform
|
||||
typeof process.platform === 'string') ?
|
||||
process.platform
|
||||
: 'linux';
|
||||
/**
|
||||
* Class used to process ignored patterns
|
||||
|
@ -20,12 +20,15 @@ class Ignore {
|
|||
relativeChildren;
|
||||
absolute;
|
||||
absoluteChildren;
|
||||
platform;
|
||||
mmopts;
|
||||
constructor(ignored, { nobrace, nocase, noext, noglobstar, platform = defaultPlatform, }) {
|
||||
this.relative = [];
|
||||
this.absolute = [];
|
||||
this.relativeChildren = [];
|
||||
this.absoluteChildren = [];
|
||||
const mmopts = {
|
||||
this.platform = platform;
|
||||
this.mmopts = {
|
||||
dot: true,
|
||||
nobrace,
|
||||
nocase,
|
||||
|
@ -36,6 +39,10 @@ class Ignore {
|
|||
nocomment: true,
|
||||
nonegate: true,
|
||||
};
|
||||
for (const ign of ignored)
|
||||
this.add(ign);
|
||||
}
|
||||
add(ign) {
|
||||
// this is a little weird, but it gives us a clean set of optimized
|
||||
// minimatch matchers, without getting tripped up if one of them
|
||||
// ends in /** inside a brace section, and it's only inefficient at
|
||||
|
@ -48,30 +55,34 @@ class Ignore {
|
|||
// for absolute-ness.
|
||||
// Yet another way, Minimatch could take an array of glob strings, and
|
||||
// a cwd option, and do the right thing.
|
||||
for (const ign of ignored) {
|
||||
const mm = new minimatch_1.Minimatch(ign, mmopts);
|
||||
for (let i = 0; i < mm.set.length; i++) {
|
||||
const parsed = mm.set[i];
|
||||
const globParts = mm.globParts[i];
|
||||
/* c8 ignore start */
|
||||
if (!parsed || !globParts) {
|
||||
throw new Error('invalid pattern object');
|
||||
}
|
||||
/* c8 ignore stop */
|
||||
const p = new pattern_js_1.Pattern(parsed, globParts, 0, platform);
|
||||
const m = new minimatch_1.Minimatch(p.globString(), mmopts);
|
||||
const children = globParts[globParts.length - 1] === '**';
|
||||
const absolute = p.isAbsolute();
|
||||
const mm = new minimatch_1.Minimatch(ign, this.mmopts);
|
||||
for (let i = 0; i < mm.set.length; i++) {
|
||||
const parsed = mm.set[i];
|
||||
const globParts = mm.globParts[i];
|
||||
/* c8 ignore start */
|
||||
if (!parsed || !globParts) {
|
||||
throw new Error('invalid pattern object');
|
||||
}
|
||||
// strip off leading ./ portions
|
||||
// https://github.com/isaacs/node-glob/issues/570
|
||||
while (parsed[0] === '.' && globParts[0] === '.') {
|
||||
parsed.shift();
|
||||
globParts.shift();
|
||||
}
|
||||
/* c8 ignore stop */
|
||||
const p = new pattern_js_1.Pattern(parsed, globParts, 0, this.platform);
|
||||
const m = new minimatch_1.Minimatch(p.globString(), this.mmopts);
|
||||
const children = globParts[globParts.length - 1] === '**';
|
||||
const absolute = p.isAbsolute();
|
||||
if (absolute)
|
||||
this.absolute.push(m);
|
||||
else
|
||||
this.relative.push(m);
|
||||
if (children) {
|
||||
if (absolute)
|
||||
this.absolute.push(m);
|
||||
this.absoluteChildren.push(m);
|
||||
else
|
||||
this.relative.push(m);
|
||||
if (children) {
|
||||
if (absolute)
|
||||
this.absoluteChildren.push(m);
|
||||
else
|
||||
this.relativeChildren.push(m);
|
||||
}
|
||||
this.relativeChildren.push(m);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js.map
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/ignore.js.map
generated
vendored
Executable file → Normal file
File diff suppressed because one or more lines are too long
15
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts
generated
vendored
Executable file → Normal file
15
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts
generated
vendored
Executable file → Normal file
|
@ -2,6 +2,14 @@ import { Minipass } from 'minipass';
|
|||
import { Path } from 'path-scurry';
|
||||
import type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset } from './glob.js';
|
||||
import { Glob } from './glob.js';
|
||||
export { escape, unescape } from 'minimatch';
|
||||
export type { FSOption, Path, WalkOptions, WalkOptionsWithFileTypesTrue, WalkOptionsWithFileTypesUnset, } from 'path-scurry';
|
||||
export { Glob } from './glob.js';
|
||||
export type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset, } from './glob.js';
|
||||
export { hasMagic } from './has-magic.js';
|
||||
export { Ignore } from './ignore.js';
|
||||
export type { IgnoreLike } from './ignore.js';
|
||||
export type { MatchStream } from './walker.js';
|
||||
/**
|
||||
* Syncronous form of {@link globStream}. Will read all the matches as fast as
|
||||
* you consume them, even all in a single tick if you consume them immediately,
|
||||
|
@ -62,13 +70,6 @@ export declare const sync: typeof globSync & {
|
|||
stream: typeof globStreamSync;
|
||||
iterate: typeof globIterateSync;
|
||||
};
|
||||
export { escape, unescape } from 'minimatch';
|
||||
export { Glob } from './glob.js';
|
||||
export type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset, } from './glob.js';
|
||||
export { hasMagic } from './has-magic.js';
|
||||
export type { IgnoreLike } from './ignore.js';
|
||||
export type { MatchStream } from './walker.js';
|
||||
export type { Path, WalkOptionsWithFileTypesTrue, WalkOptionsWithFileTypesUnset, WalkOptions, FSOption, } from 'path-scurry';
|
||||
export declare const glob: typeof glob_ & {
|
||||
glob: typeof glob_;
|
||||
globSync: typeof globSync;
|
||||
|
|
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts.map
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.d.ts.map
generated
vendored
Executable file → Normal file
|
@ -1 +1 @@
|
|||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,KAAK,EACV,WAAW,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAGhC;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,4BAA4B,GACpC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;AACvB,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,6BAA6B,GACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAC3B,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,6BAA6B,GACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAC3B,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,WAAW,GACnB,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAQlD;;;GAGG;AACH,wBAAgB,UAAU,CACxB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,6BAA6B,GACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAC3B,wBAAgB,UAAU,CACxB,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,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAQ9D;;GAEG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,GAClD,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AACrC,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,4BAA4B,GACpC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AACnC,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,6BAA6B,GACrC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AACrC,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,WAAW,GACnB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AASxE,eAAO,MAAM,UAAU,uBAAiB,CAAA;AACxC,eAAO,MAAM,MAAM;;CAAsD,CAAA;AACzE,eAAO,MAAM,WAAW,wBAAkB,CAAA;AAC1C,eAAO,MAAM,OAAO;;CAElB,CAAA;AACF,eAAO,MAAM,IAAI;;;CAGf,CAAA;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;CAgBf,CAAA"}
|
20
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js
generated
vendored
Executable file → Normal file
20
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js
generated
vendored
Executable file → Normal file
|
@ -1,9 +1,18 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.glob = exports.hasMagic = exports.Glob = exports.unescape = exports.escape = exports.sync = exports.iterate = exports.iterateSync = exports.stream = exports.streamSync = exports.globIterate = exports.globIterateSync = exports.globSync = exports.globStream = exports.globStreamSync = void 0;
|
||||
exports.glob = exports.sync = exports.iterate = exports.iterateSync = exports.stream = exports.streamSync = exports.globIterate = exports.globIterateSync = exports.globSync = exports.globStream = exports.globStreamSync = exports.Ignore = exports.hasMagic = exports.Glob = exports.unescape = exports.escape = void 0;
|
||||
const minimatch_1 = require("minimatch");
|
||||
const glob_js_1 = require("./glob.js");
|
||||
const has_magic_js_1 = require("./has-magic.js");
|
||||
var minimatch_2 = require("minimatch");
|
||||
Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return minimatch_2.escape; } });
|
||||
Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return minimatch_2.unescape; } });
|
||||
var glob_js_2 = require("./glob.js");
|
||||
Object.defineProperty(exports, "Glob", { enumerable: true, get: function () { return glob_js_2.Glob; } });
|
||||
var has_magic_js_2 = require("./has-magic.js");
|
||||
Object.defineProperty(exports, "hasMagic", { enumerable: true, get: function () { return has_magic_js_2.hasMagic; } });
|
||||
var ignore_js_1 = require("./ignore.js");
|
||||
Object.defineProperty(exports, "Ignore", { enumerable: true, get: function () { return ignore_js_1.Ignore; } });
|
||||
function globStreamSync(pattern, options = {}) {
|
||||
return new glob_js_1.Glob(pattern, options).streamSync();
|
||||
}
|
||||
|
@ -38,15 +47,6 @@ exports.sync = Object.assign(globSync, {
|
|||
stream: globStreamSync,
|
||||
iterate: globIterateSync,
|
||||
});
|
||||
/* c8 ignore start */
|
||||
var minimatch_2 = require("minimatch");
|
||||
Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return minimatch_2.escape; } });
|
||||
Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return minimatch_2.unescape; } });
|
||||
var glob_js_2 = require("./glob.js");
|
||||
Object.defineProperty(exports, "Glob", { enumerable: true, get: function () { return glob_js_2.Glob; } });
|
||||
var has_magic_js_2 = require("./has-magic.js");
|
||||
Object.defineProperty(exports, "hasMagic", { enumerable: true, get: function () { return has_magic_js_2.hasMagic; } });
|
||||
/* c8 ignore stop */
|
||||
exports.glob = Object.assign(glob_, {
|
||||
glob: glob_,
|
||||
globSync,
|
||||
|
|
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js.map
generated
vendored
Executable file → Normal file
2
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/index.js.map
generated
vendored
Executable file → Normal file
File diff suppressed because one or more lines are too long
4
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/package.json
generated
vendored
Executable file → Normal file
4
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/package.json
generated
vendored
Executable file → Normal file
|
@ -1 +1,3 @@
|
|||
{"type":"commonjs"}
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
|
|
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts
generated
vendored
Executable file → Normal file
0
my-app/node_modules/node-gyp/node_modules/glob/dist/commonjs/pattern.d.ts
generated
vendored
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue