@pnpm/exe 11.0.0-alpha.5 → 11.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node-gyp-bin/node-gyp +6 -0
- package/dist/node-gyp-bin/node-gyp.cmd +5 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/ansi-regex/index.js +16 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/ansi-styles/index.js +170 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/eastasianwidth/index.js +307 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/emoji-regex/index.js +7 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/index.js +322 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/index.min.js +12 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/package.json +3 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/string-width/index.js +49 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/strip-ansi/index.js +8 -0
- package/dist/node_modules/@isaacs/cliui/dist/commonjs/wrap-ansi/index.js +176 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/ansi-regex/index.js +12 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/ansi-styles/index.js +167 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/eastasianwidth/index.js +299 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/emoji-regex/index.js +3 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/index.js +317 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/index.min.js +12 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/package.json +3 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/string-width/index.js +46 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/strip-ansi/index.js +4 -0
- package/dist/node_modules/@isaacs/cliui/dist/esm/wrap-ansi/index.js +172 -0
- package/dist/node_modules/@isaacs/cliui/package.json +163 -0
- package/dist/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
- package/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
- package/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
- package/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
- package/dist/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
- package/dist/node_modules/@isaacs/fs-minipass/package.json +72 -0
- package/dist/node_modules/@npmcli/agent/lib/agents.js +206 -0
- package/dist/node_modules/@npmcli/agent/lib/dns.js +53 -0
- package/dist/node_modules/@npmcli/agent/lib/errors.js +61 -0
- package/dist/node_modules/@npmcli/agent/lib/index.js +56 -0
- package/dist/node_modules/@npmcli/agent/lib/options.js +86 -0
- package/dist/node_modules/@npmcli/agent/lib/proxy.js +88 -0
- package/dist/node_modules/@npmcli/agent/package.json +60 -0
- package/dist/node_modules/@npmcli/fs/lib/common/get-options.js +20 -0
- package/dist/node_modules/@npmcli/fs/lib/common/node.js +9 -0
- package/dist/node_modules/@npmcli/fs/lib/cp/LICENSE +15 -0
- package/dist/node_modules/@npmcli/fs/lib/cp/errors.js +129 -0
- package/dist/node_modules/@npmcli/fs/lib/cp/index.js +22 -0
- package/dist/node_modules/@npmcli/fs/lib/cp/polyfill.js +428 -0
- package/dist/node_modules/@npmcli/fs/lib/index.js +13 -0
- package/dist/node_modules/@npmcli/fs/lib/move-file.js +78 -0
- package/dist/node_modules/@npmcli/fs/lib/readdir-scoped.js +20 -0
- package/dist/node_modules/@npmcli/fs/lib/with-temp-dir.js +39 -0
- package/dist/node_modules/@npmcli/fs/package.json +54 -0
- package/dist/node_modules/abbrev/LICENSE +46 -0
- package/dist/node_modules/abbrev/lib/index.js +53 -0
- package/dist/node_modules/abbrev/package.json +45 -0
- package/dist/node_modules/agent-base/LICENSE +22 -0
- package/dist/node_modules/agent-base/dist/helpers.js +66 -0
- package/dist/node_modules/agent-base/dist/index.js +178 -0
- package/dist/node_modules/agent-base/package.json +46 -0
- package/dist/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/dist/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/dist/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/dist/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/dist/node_modules/balanced-match/package.json +71 -0
- package/dist/node_modules/brace-expansion/LICENSE +23 -0
- package/dist/node_modules/brace-expansion/dist/commonjs/index.js +199 -0
- package/dist/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/dist/node_modules/brace-expansion/dist/esm/index.js +195 -0
- package/dist/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/dist/node_modules/brace-expansion/package.json +64 -0
- package/dist/node_modules/cacache/lib/content/path.js +29 -0
- package/dist/node_modules/cacache/lib/content/read.js +165 -0
- package/dist/node_modules/cacache/lib/content/rm.js +18 -0
- package/dist/node_modules/cacache/lib/content/write.js +206 -0
- package/dist/node_modules/cacache/lib/entry-index.js +336 -0
- package/dist/node_modules/cacache/lib/get.js +170 -0
- package/dist/node_modules/cacache/lib/index.js +42 -0
- package/dist/node_modules/cacache/lib/memoization.js +72 -0
- package/dist/node_modules/cacache/lib/put.js +80 -0
- package/dist/node_modules/cacache/lib/rm.js +31 -0
- package/dist/node_modules/cacache/lib/util/glob.js +7 -0
- package/dist/node_modules/cacache/lib/util/hash-to-segments.js +7 -0
- package/dist/node_modules/cacache/lib/util/tmp.js +26 -0
- package/dist/node_modules/cacache/lib/verify.js +258 -0
- package/dist/node_modules/cacache/package.json +83 -0
- package/dist/node_modules/chownr/dist/commonjs/index.js +93 -0
- package/dist/node_modules/chownr/dist/commonjs/package.json +3 -0
- package/dist/node_modules/chownr/dist/esm/index.js +85 -0
- package/dist/node_modules/chownr/dist/esm/package.json +3 -0
- package/dist/node_modules/chownr/package.json +69 -0
- package/dist/node_modules/cross-spawn/LICENSE +21 -0
- package/dist/node_modules/cross-spawn/index.js +39 -0
- package/dist/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/dist/node_modules/cross-spawn/lib/parse.js +91 -0
- package/dist/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/dist/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/dist/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/dist/node_modules/cross-spawn/package.json +73 -0
- package/dist/node_modules/debug/LICENSE +20 -0
- package/dist/node_modules/debug/package.json +64 -0
- package/dist/node_modules/debug/src/browser.js +272 -0
- package/dist/node_modules/debug/src/common.js +292 -0
- package/dist/node_modules/debug/src/index.js +10 -0
- package/dist/node_modules/debug/src/node.js +263 -0
- package/dist/node_modules/encoding/.prettierrc.js +8 -0
- package/dist/node_modules/encoding/LICENSE +16 -0
- package/dist/node_modules/encoding/lib/encoding.js +83 -0
- package/dist/node_modules/encoding/package.json +18 -0
- package/dist/node_modules/env-paths/index.js +74 -0
- package/dist/node_modules/env-paths/license +9 -0
- package/dist/node_modules/env-paths/package.json +45 -0
- package/dist/node_modules/err-code/.eslintrc.json +7 -0
- package/dist/node_modules/err-code/bower.json +30 -0
- package/dist/node_modules/err-code/index.js +47 -0
- package/dist/node_modules/err-code/index.umd.js +51 -0
- package/dist/node_modules/err-code/package.json +34 -0
- package/dist/node_modules/exponential-backoff/LICENSE +202 -0
- package/dist/node_modules/exponential-backoff/dist/backoff.js +124 -0
- package/dist/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
- package/dist/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
- package/dist/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
- package/dist/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
- package/dist/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
- package/dist/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
- package/dist/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
- package/dist/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
- package/dist/node_modules/exponential-backoff/dist/options.js +31 -0
- package/dist/node_modules/exponential-backoff/package.json +62 -0
- package/dist/node_modules/fdir/LICENSE +7 -0
- package/dist/node_modules/fdir/dist/index.cjs +588 -0
- package/dist/node_modules/fdir/dist/index.d.cts +155 -0
- package/dist/node_modules/fdir/dist/index.d.mts +155 -0
- package/dist/node_modules/fdir/dist/index.mjs +570 -0
- package/dist/node_modules/fdir/package.json +103 -0
- package/dist/node_modules/foreground-child/LICENSE +15 -0
- package/dist/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
- package/dist/node_modules/foreground-child/dist/commonjs/index.js +123 -0
- package/dist/node_modules/foreground-child/dist/commonjs/package.json +3 -0
- package/dist/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
- package/dist/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
- package/dist/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
- package/dist/node_modules/foreground-child/dist/esm/index.js +115 -0
- package/dist/node_modules/foreground-child/dist/esm/package.json +3 -0
- package/dist/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
- package/dist/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
- package/dist/node_modules/foreground-child/package.json +106 -0
- package/dist/node_modules/fs-minipass/LICENSE +15 -0
- package/dist/node_modules/fs-minipass/lib/index.js +443 -0
- package/dist/node_modules/fs-minipass/package.json +54 -0
- package/dist/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/dist/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/dist/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/dist/node_modules/glob/dist/commonjs/index.js +68 -0
- package/dist/node_modules/glob/dist/commonjs/package.json +3 -0
- package/dist/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/dist/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/dist/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/dist/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/dist/node_modules/glob/dist/esm/bin.mjs +346 -0
- package/dist/node_modules/glob/dist/esm/glob.js +243 -0
- package/dist/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/dist/node_modules/glob/dist/esm/ignore.js +115 -0
- package/dist/node_modules/glob/dist/esm/index.js +55 -0
- package/dist/node_modules/glob/dist/esm/package.json +3 -0
- package/dist/node_modules/glob/dist/esm/pattern.js +215 -0
- package/dist/node_modules/glob/dist/esm/processor.js +294 -0
- package/dist/node_modules/glob/dist/esm/walker.js +381 -0
- package/dist/node_modules/glob/package.json +97 -0
- package/dist/node_modules/graceful-fs/LICENSE +15 -0
- package/dist/node_modules/graceful-fs/clone.js +23 -0
- package/dist/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/dist/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/dist/node_modules/graceful-fs/package.json +53 -0
- package/dist/node_modules/graceful-fs/polyfills.js +355 -0
- package/dist/node_modules/http-cache-semantics/LICENSE +9 -0
- package/dist/node_modules/http-cache-semantics/index.js +928 -0
- package/dist/node_modules/http-cache-semantics/package.json +22 -0
- package/dist/node_modules/http-proxy-agent/LICENSE +22 -0
- package/dist/node_modules/http-proxy-agent/dist/index.js +148 -0
- package/dist/node_modules/http-proxy-agent/package.json +47 -0
- package/dist/node_modules/https-proxy-agent/LICENSE +22 -0
- package/dist/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/dist/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/dist/node_modules/https-proxy-agent/package.json +50 -0
- package/dist/node_modules/iconv-lite/.github/dependabot.yml +11 -0
- package/dist/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
- package/dist/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/dist/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
- package/dist/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/dist/node_modules/iconv-lite/.idea/modules.xml +8 -0
- package/dist/node_modules/iconv-lite/.idea/vcs.xml +6 -0
- package/dist/node_modules/iconv-lite/LICENSE +21 -0
- package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
- package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
- package/dist/node_modules/iconv-lite/encodings/index.js +23 -0
- package/dist/node_modules/iconv-lite/encodings/internal.js +198 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
- package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/dist/node_modules/iconv-lite/encodings/utf16.js +197 -0
- package/dist/node_modules/iconv-lite/encodings/utf32.js +319 -0
- package/dist/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/dist/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/dist/node_modules/iconv-lite/lib/index.js +180 -0
- package/dist/node_modules/iconv-lite/lib/streams.js +109 -0
- package/dist/node_modules/iconv-lite/package.json +44 -0
- package/dist/node_modules/imurmurhash/imurmurhash.js +138 -0
- package/dist/node_modules/imurmurhash/imurmurhash.min.js +12 -0
- package/dist/node_modules/imurmurhash/package.json +40 -0
- package/dist/node_modules/ip-address/LICENSE +19 -0
- package/dist/node_modules/ip-address/dist/address-error.js +12 -0
- package/dist/node_modules/ip-address/dist/common.js +46 -0
- package/dist/node_modules/ip-address/dist/ip-address.js +35 -0
- package/dist/node_modules/ip-address/dist/ipv4.js +360 -0
- package/dist/node_modules/ip-address/dist/ipv6.js +1003 -0
- package/dist/node_modules/ip-address/dist/v4/constants.js +8 -0
- package/dist/node_modules/ip-address/dist/v6/constants.js +76 -0
- package/dist/node_modules/ip-address/dist/v6/helpers.js +45 -0
- package/dist/node_modules/ip-address/dist/v6/regular-expressions.js +95 -0
- package/dist/node_modules/ip-address/package.json +78 -0
- package/dist/node_modules/isexe/LICENSE +15 -0
- package/dist/node_modules/isexe/index.js +57 -0
- package/dist/node_modules/isexe/mode.js +41 -0
- package/dist/node_modules/isexe/package.json +31 -0
- package/dist/node_modules/isexe/windows.js +42 -0
- package/dist/node_modules/jackspeak/dist/commonjs/index.js +944 -0
- package/dist/node_modules/jackspeak/dist/commonjs/index.min.js +33 -0
- package/dist/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/dist/node_modules/jackspeak/dist/esm/index.js +936 -0
- package/dist/node_modules/jackspeak/dist/esm/index.min.js +33 -0
- package/dist/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/dist/node_modules/jackspeak/package.json +115 -0
- package/dist/node_modules/lru-cache/LICENSE +15 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/dist/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/dist/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/dist/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/dist/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/dist/node_modules/lru-cache/package.json +116 -0
- package/dist/node_modules/make-fetch-happen/LICENSE +16 -0
- package/dist/node_modules/make-fetch-happen/lib/cache/entry.js +471 -0
- package/dist/node_modules/make-fetch-happen/lib/cache/errors.js +11 -0
- package/dist/node_modules/make-fetch-happen/lib/cache/index.js +49 -0
- package/dist/node_modules/make-fetch-happen/lib/cache/key.js +17 -0
- package/dist/node_modules/make-fetch-happen/lib/cache/policy.js +161 -0
- package/dist/node_modules/make-fetch-happen/lib/fetch.js +118 -0
- package/dist/node_modules/make-fetch-happen/lib/index.js +41 -0
- package/dist/node_modules/make-fetch-happen/lib/options.js +59 -0
- package/dist/node_modules/make-fetch-happen/lib/pipeline.js +41 -0
- package/dist/node_modules/make-fetch-happen/lib/remote.js +132 -0
- package/dist/node_modules/make-fetch-happen/package.json +74 -0
- package/dist/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/dist/node_modules/minimatch/dist/commonjs/ast.js +601 -0
- package/dist/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/dist/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/dist/node_modules/minimatch/dist/commonjs/index.js +1035 -0
- package/dist/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/dist/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/dist/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/dist/node_modules/minimatch/dist/esm/ast.js +597 -0
- package/dist/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/dist/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/dist/node_modules/minimatch/dist/esm/index.js +1022 -0
- package/dist/node_modules/minimatch/dist/esm/package.json +3 -0
- package/dist/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/dist/node_modules/minimatch/package.json +67 -0
- package/dist/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/dist/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/dist/node_modules/minipass/dist/esm/index.js +1018 -0
- package/dist/node_modules/minipass/dist/esm/package.json +3 -0
- package/dist/node_modules/minipass/package.json +82 -0
- package/dist/node_modules/minipass-collect/LICENSE +15 -0
- package/dist/node_modules/minipass-collect/index.js +71 -0
- package/dist/node_modules/minipass-collect/package.json +30 -0
- package/dist/node_modules/minipass-fetch/LICENSE +28 -0
- package/dist/node_modules/minipass-fetch/lib/abort-error.js +17 -0
- package/dist/node_modules/minipass-fetch/lib/blob.js +97 -0
- package/dist/node_modules/minipass-fetch/lib/body.js +350 -0
- package/dist/node_modules/minipass-fetch/lib/fetch-error.js +32 -0
- package/dist/node_modules/minipass-fetch/lib/headers.js +267 -0
- package/dist/node_modules/minipass-fetch/lib/index.js +376 -0
- package/dist/node_modules/minipass-fetch/lib/request.js +282 -0
- package/dist/node_modules/minipass-fetch/lib/response.js +90 -0
- package/dist/node_modules/minipass-fetch/package.json +70 -0
- package/dist/node_modules/minipass-flush/LICENSE +15 -0
- package/dist/node_modules/minipass-flush/index.js +39 -0
- package/dist/node_modules/minipass-flush/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minipass-flush/node_modules/minipass/index.js +649 -0
- package/dist/node_modules/minipass-flush/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/minipass-flush/package.json +39 -0
- package/dist/node_modules/minipass-pipeline/LICENSE +15 -0
- package/dist/node_modules/minipass-pipeline/index.js +128 -0
- package/dist/node_modules/minipass-pipeline/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minipass-pipeline/node_modules/minipass/index.js +649 -0
- package/dist/node_modules/minipass-pipeline/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/minipass-pipeline/package.json +29 -0
- package/dist/node_modules/minipass-sized/LICENSE +15 -0
- package/dist/node_modules/minipass-sized/index.js +67 -0
- package/dist/node_modules/minipass-sized/node_modules/minipass/LICENSE +15 -0
- package/dist/node_modules/minipass-sized/node_modules/minipass/index.js +649 -0
- package/dist/node_modules/minipass-sized/node_modules/minipass/package.json +56 -0
- package/dist/node_modules/minipass-sized/package-lock.json +3464 -0
- package/dist/node_modules/minipass-sized/package.json +39 -0
- package/dist/node_modules/minizlib/LICENSE +26 -0
- package/dist/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/dist/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/dist/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/dist/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/dist/node_modules/minizlib/dist/esm/index.js +363 -0
- package/dist/node_modules/minizlib/dist/esm/package.json +3 -0
- package/dist/node_modules/minizlib/package.json +80 -0
- package/dist/node_modules/ms/index.js +162 -0
- package/dist/node_modules/ms/package.json +38 -0
- package/dist/node_modules/negotiator/LICENSE +24 -0
- package/dist/node_modules/negotiator/index.js +83 -0
- package/dist/node_modules/negotiator/lib/charset.js +169 -0
- package/dist/node_modules/negotiator/lib/encoding.js +205 -0
- package/dist/node_modules/negotiator/lib/language.js +179 -0
- package/dist/node_modules/negotiator/lib/mediaType.js +294 -0
- package/dist/node_modules/negotiator/package.json +43 -0
- package/dist/node_modules/node-gyp/.release-please-manifest.json +3 -0
- package/dist/node_modules/node-gyp/LICENSE +24 -0
- package/dist/node_modules/node-gyp/addon.gypi +204 -0
- package/dist/node_modules/node-gyp/bin/node-gyp.js +138 -0
- package/dist/node_modules/node-gyp/eslint.config.js +3 -0
- package/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
- package/dist/node_modules/node-gyp/gyp/LICENSE +28 -0
- package/dist/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
- package/dist/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
- package/dist/node_modules/node-gyp/gyp/gyp +8 -0
- package/dist/node_modules/node-gyp/gyp/gyp.bat +5 -0
- package/dist/node_modules/node-gyp/gyp/gyp_main.py +45 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1283 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1545 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +707 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +725 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +186 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +170 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1169 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1316 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +461 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +88 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +55 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2755 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3970 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2957 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1389 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +3097 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +765 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1255 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +371 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1936 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +301 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3180 -0
- package/dist/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +64 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +824 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/tags.py +553 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
- package/dist/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
- package/dist/node_modules/node-gyp/gyp/pyproject.toml +114 -0
- package/dist/node_modules/node-gyp/gyp/release-please-config.json +11 -0
- package/dist/node_modules/node-gyp/gyp/test_gyp.py +260 -0
- package/dist/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
- package/dist/node_modules/node-gyp/lib/build.js +230 -0
- package/dist/node_modules/node-gyp/lib/clean.js +15 -0
- package/dist/node_modules/node-gyp/lib/configure.js +328 -0
- package/dist/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
- package/dist/node_modules/node-gyp/lib/download.js +39 -0
- package/dist/node_modules/node-gyp/lib/find-node-directory.js +63 -0
- package/dist/node_modules/node-gyp/lib/find-python.js +310 -0
- package/dist/node_modules/node-gyp/lib/find-visualstudio.js +600 -0
- package/dist/node_modules/node-gyp/lib/install.js +411 -0
- package/dist/node_modules/node-gyp/lib/list.js +26 -0
- package/dist/node_modules/node-gyp/lib/log.js +168 -0
- package/dist/node_modules/node-gyp/lib/node-gyp.js +199 -0
- package/dist/node_modules/node-gyp/lib/process-release.js +146 -0
- package/dist/node_modules/node-gyp/lib/rebuild.js +12 -0
- package/dist/node_modules/node-gyp/lib/remove.js +43 -0
- package/dist/node_modules/node-gyp/lib/util.js +81 -0
- package/dist/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.js +56 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/index.min.js +2 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/options.js +3 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/package.json +3 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/posix.js +67 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/commonjs/win32.js +63 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.js +16 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/index.min.js +2 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/options.js +2 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/package.json +3 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/posix.js +62 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/dist/esm/win32.js +58 -0
- package/dist/node_modules/node-gyp/node_modules/isexe/package.json +78 -0
- package/dist/node_modules/node-gyp/node_modules/which/LICENSE +15 -0
- package/dist/node_modules/node-gyp/node_modules/which/bin/which.js +52 -0
- package/dist/node_modules/node-gyp/node_modules/which/lib/index.js +111 -0
- package/dist/node_modules/node-gyp/node_modules/which/package.json +52 -0
- package/dist/node_modules/node-gyp/package.json +52 -0
- package/dist/node_modules/node-gyp/release-please-config.json +40 -0
- package/dist/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -0
- package/dist/node_modules/nopt/LICENSE +15 -0
- package/dist/node_modules/nopt/bin/nopt.js +29 -0
- package/dist/node_modules/nopt/lib/debug.js +5 -0
- package/dist/node_modules/nopt/lib/nopt-lib.js +514 -0
- package/dist/node_modules/nopt/lib/nopt.js +34 -0
- package/dist/node_modules/nopt/lib/type-defs.js +91 -0
- package/dist/node_modules/nopt/package.json +52 -0
- package/dist/node_modules/p-map/index.js +283 -0
- package/dist/node_modules/p-map/license +9 -0
- package/dist/node_modules/p-map/package.json +57 -0
- package/dist/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
- package/dist/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
- package/dist/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
- package/dist/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
- package/dist/node_modules/package-json-from-dist/package.json +68 -0
- package/dist/node_modules/path-key/index.js +16 -0
- package/dist/node_modules/path-key/license +9 -0
- package/dist/node_modules/path-key/package.json +39 -0
- package/dist/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
- package/dist/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/dist/node_modules/path-scurry/dist/esm/index.js +1983 -0
- package/dist/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/dist/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.js +1589 -0
- package/dist/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/dist/node_modules/path-scurry/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/dist/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js +1585 -0
- package/dist/node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/dist/node_modules/path-scurry/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/dist/node_modules/path-scurry/node_modules/lru-cache/package.json +101 -0
- package/dist/node_modules/path-scurry/package.json +88 -0
- package/dist/node_modules/picomatch/LICENSE +21 -0
- package/dist/node_modules/picomatch/index.js +17 -0
- package/dist/node_modules/picomatch/lib/constants.js +180 -0
- package/dist/node_modules/picomatch/lib/parse.js +1085 -0
- package/dist/node_modules/picomatch/lib/picomatch.js +341 -0
- package/dist/node_modules/picomatch/lib/scan.js +391 -0
- package/dist/node_modules/picomatch/lib/utils.js +72 -0
- package/dist/node_modules/picomatch/package.json +83 -0
- package/dist/node_modules/picomatch/posix.js +3 -0
- package/dist/node_modules/proc-log/LICENSE +15 -0
- package/dist/node_modules/proc-log/lib/index.js +153 -0
- package/dist/node_modules/proc-log/package.json +46 -0
- package/dist/node_modules/promise-retry/LICENSE +19 -0
- package/dist/node_modules/promise-retry/index.js +52 -0
- package/dist/node_modules/promise-retry/package.json +37 -0
- package/dist/node_modules/retry/License +21 -0
- package/dist/node_modules/retry/equation.gif +0 -0
- package/dist/node_modules/retry/index.js +1 -0
- package/dist/node_modules/retry/lib/retry.js +100 -0
- package/dist/node_modules/retry/lib/retry_operation.js +158 -0
- package/dist/node_modules/retry/package.json +32 -0
- package/dist/node_modules/safer-buffer/LICENSE +21 -0
- package/dist/node_modules/safer-buffer/dangerous.js +58 -0
- package/dist/node_modules/safer-buffer/package.json +34 -0
- package/dist/node_modules/safer-buffer/safer.js +77 -0
- package/dist/node_modules/safer-buffer/tests.js +406 -0
- package/dist/node_modules/semver/LICENSE +15 -0
- package/dist/node_modules/semver/bin/semver.js +191 -0
- package/dist/node_modules/semver/classes/comparator.js +143 -0
- package/dist/node_modules/semver/classes/index.js +7 -0
- package/dist/node_modules/semver/classes/range.js +557 -0
- package/dist/node_modules/semver/classes/semver.js +333 -0
- package/dist/node_modules/semver/functions/clean.js +8 -0
- package/dist/node_modules/semver/functions/cmp.js +54 -0
- package/dist/node_modules/semver/functions/coerce.js +62 -0
- package/dist/node_modules/semver/functions/compare-build.js +9 -0
- package/dist/node_modules/semver/functions/compare-loose.js +5 -0
- package/dist/node_modules/semver/functions/compare.js +7 -0
- package/dist/node_modules/semver/functions/diff.js +60 -0
- package/dist/node_modules/semver/functions/eq.js +5 -0
- package/dist/node_modules/semver/functions/gt.js +5 -0
- package/dist/node_modules/semver/functions/gte.js +5 -0
- package/dist/node_modules/semver/functions/inc.js +21 -0
- package/dist/node_modules/semver/functions/lt.js +5 -0
- package/dist/node_modules/semver/functions/lte.js +5 -0
- package/dist/node_modules/semver/functions/major.js +5 -0
- package/dist/node_modules/semver/functions/minor.js +5 -0
- package/dist/node_modules/semver/functions/neq.js +5 -0
- package/dist/node_modules/semver/functions/parse.js +18 -0
- package/dist/node_modules/semver/functions/patch.js +5 -0
- package/dist/node_modules/semver/functions/prerelease.js +8 -0
- package/dist/node_modules/semver/functions/rcompare.js +5 -0
- package/dist/node_modules/semver/functions/rsort.js +5 -0
- package/dist/node_modules/semver/functions/satisfies.js +12 -0
- package/dist/node_modules/semver/functions/sort.js +5 -0
- package/dist/node_modules/semver/functions/valid.js +8 -0
- package/dist/node_modules/semver/index.js +91 -0
- package/dist/node_modules/semver/internal/constants.js +37 -0
- package/dist/node_modules/semver/internal/debug.js +11 -0
- package/dist/node_modules/semver/internal/identifiers.js +29 -0
- package/dist/node_modules/semver/internal/lrucache.js +42 -0
- package/dist/node_modules/semver/internal/parse-options.js +17 -0
- package/dist/node_modules/semver/internal/re.js +223 -0
- package/dist/node_modules/semver/package.json +78 -0
- package/dist/node_modules/semver/preload.js +4 -0
- package/dist/node_modules/semver/range.bnf +16 -0
- package/dist/node_modules/semver/ranges/gtr.js +6 -0
- package/dist/node_modules/semver/ranges/intersects.js +9 -0
- package/dist/node_modules/semver/ranges/ltr.js +6 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/dist/node_modules/semver/ranges/min-version.js +63 -0
- package/dist/node_modules/semver/ranges/outside.js +82 -0
- package/dist/node_modules/semver/ranges/simplify.js +49 -0
- package/dist/node_modules/semver/ranges/subset.js +249 -0
- package/dist/node_modules/semver/ranges/to-comparators.js +10 -0
- package/dist/node_modules/semver/ranges/valid.js +13 -0
- package/dist/node_modules/shebang-command/index.js +19 -0
- package/dist/node_modules/shebang-command/license +9 -0
- package/dist/node_modules/shebang-command/package.json +34 -0
- package/dist/node_modules/shebang-regex/index.js +2 -0
- package/dist/node_modules/shebang-regex/license +9 -0
- package/dist/node_modules/shebang-regex/package.json +35 -0
- package/dist/node_modules/signal-exit/LICENSE.txt +16 -0
- package/dist/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/dist/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/dist/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/dist/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/dist/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/dist/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/dist/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/dist/node_modules/signal-exit/package.json +106 -0
- package/dist/node_modules/smart-buffer/.prettierrc.yaml +5 -0
- package/dist/node_modules/smart-buffer/LICENSE +20 -0
- package/dist/node_modules/smart-buffer/build/smartbuffer.js +1233 -0
- package/dist/node_modules/smart-buffer/build/utils.js +108 -0
- package/dist/node_modules/smart-buffer/package.json +79 -0
- package/dist/node_modules/socks/.eslintrc.cjs +11 -0
- package/dist/node_modules/socks/.prettierrc.yaml +7 -0
- package/dist/node_modules/socks/LICENSE +20 -0
- package/dist/node_modules/socks/build/client/socksclient.js +793 -0
- package/dist/node_modules/socks/build/common/constants.js +108 -0
- package/dist/node_modules/socks/build/common/helpers.js +167 -0
- package/dist/node_modules/socks/build/common/receivebuffer.js +43 -0
- package/dist/node_modules/socks/build/common/util.js +25 -0
- package/dist/node_modules/socks/build/index.js +18 -0
- package/dist/node_modules/socks/package.json +58 -0
- package/dist/node_modules/socks-proxy-agent/LICENSE +22 -0
- package/dist/node_modules/socks-proxy-agent/dist/index.js +195 -0
- package/dist/node_modules/socks-proxy-agent/package.json +142 -0
- package/dist/node_modules/ssri/lib/index.js +580 -0
- package/dist/node_modules/ssri/package.json +66 -0
- package/dist/node_modules/tar/dist/commonjs/create.js +83 -0
- package/dist/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
- package/dist/node_modules/tar/dist/commonjs/extract.js +88 -0
- package/dist/node_modules/tar/dist/commonjs/get-write-flag.js +29 -0
- package/dist/node_modules/tar/dist/commonjs/header.js +325 -0
- package/dist/node_modules/tar/dist/commonjs/index.js +64 -0
- package/dist/node_modules/tar/dist/commonjs/index.min.js +4 -0
- package/dist/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
- package/dist/node_modules/tar/dist/commonjs/list.js +150 -0
- package/dist/node_modules/tar/dist/commonjs/make-command.js +61 -0
- package/dist/node_modules/tar/dist/commonjs/mkdir.js +188 -0
- package/dist/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
- package/dist/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
- package/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
- package/dist/node_modules/tar/dist/commonjs/options.js +66 -0
- package/dist/node_modules/tar/dist/commonjs/pack.js +516 -0
- package/dist/node_modules/tar/dist/commonjs/package.json +3 -0
- package/dist/node_modules/tar/dist/commonjs/parse.js +620 -0
- package/dist/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
- package/dist/node_modules/tar/dist/commonjs/pax.js +158 -0
- package/dist/node_modules/tar/dist/commonjs/process-umask.js +7 -0
- package/dist/node_modules/tar/dist/commonjs/read-entry.js +140 -0
- package/dist/node_modules/tar/dist/commonjs/replace.js +232 -0
- package/dist/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
- package/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
- package/dist/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
- package/dist/node_modules/tar/dist/commonjs/types.js +50 -0
- package/dist/node_modules/tar/dist/commonjs/unpack.js +957 -0
- package/dist/node_modules/tar/dist/commonjs/update.js +33 -0
- package/dist/node_modules/tar/dist/commonjs/warn-method.js +31 -0
- package/dist/node_modules/tar/dist/commonjs/winchars.js +14 -0
- package/dist/node_modules/tar/dist/commonjs/write-entry.js +699 -0
- package/dist/node_modules/tar/dist/esm/create.js +77 -0
- package/dist/node_modules/tar/dist/esm/cwd-error.js +14 -0
- package/dist/node_modules/tar/dist/esm/extract.js +49 -0
- package/dist/node_modules/tar/dist/esm/get-write-flag.js +23 -0
- package/dist/node_modules/tar/dist/esm/header.js +288 -0
- package/dist/node_modules/tar/dist/esm/index.js +20 -0
- package/dist/node_modules/tar/dist/esm/index.min.js +4 -0
- package/dist/node_modules/tar/dist/esm/large-numbers.js +94 -0
- package/dist/node_modules/tar/dist/esm/list.js +110 -0
- package/dist/node_modules/tar/dist/esm/make-command.js +57 -0
- package/dist/node_modules/tar/dist/esm/mkdir.js +180 -0
- package/dist/node_modules/tar/dist/esm/mode-fix.js +25 -0
- package/dist/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
- package/dist/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
- package/dist/node_modules/tar/dist/esm/options.js +54 -0
- package/dist/node_modules/tar/dist/esm/pack.js +474 -0
- package/dist/node_modules/tar/dist/esm/package.json +3 -0
- package/dist/node_modules/tar/dist/esm/parse.js +616 -0
- package/dist/node_modules/tar/dist/esm/path-reservations.js +166 -0
- package/dist/node_modules/tar/dist/esm/pax.js +154 -0
- package/dist/node_modules/tar/dist/esm/process-umask.js +3 -0
- package/dist/node_modules/tar/dist/esm/read-entry.js +136 -0
- package/dist/node_modules/tar/dist/esm/replace.js +226 -0
- package/dist/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
- package/dist/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
- package/dist/node_modules/tar/dist/esm/symlink-error.js +15 -0
- package/dist/node_modules/tar/dist/esm/types.js +45 -0
- package/dist/node_modules/tar/dist/esm/unpack.js +916 -0
- package/dist/node_modules/tar/dist/esm/update.js +30 -0
- package/dist/node_modules/tar/dist/esm/warn-method.js +27 -0
- package/dist/node_modules/tar/dist/esm/winchars.js +9 -0
- package/dist/node_modules/tar/dist/esm/write-entry.js +657 -0
- package/dist/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
- package/dist/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
- package/dist/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
- package/dist/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
- package/dist/node_modules/tar/node_modules/yallist/package.json +68 -0
- package/dist/node_modules/tar/package.json +292 -0
- package/dist/node_modules/tinyglobby/LICENSE +21 -0
- package/dist/node_modules/tinyglobby/dist/index.cjs +350 -0
- package/dist/node_modules/tinyglobby/dist/index.d.cts +147 -0
- package/dist/node_modules/tinyglobby/dist/index.d.mts +147 -0
- package/dist/node_modules/tinyglobby/dist/index.mjs +318 -0
- package/dist/node_modules/tinyglobby/package.json +73 -0
- package/dist/node_modules/unique-filename/LICENSE +5 -0
- package/dist/node_modules/unique-filename/lib/index.js +7 -0
- package/dist/node_modules/unique-filename/package.json +53 -0
- package/dist/node_modules/unique-slug/LICENSE +15 -0
- package/dist/node_modules/unique-slug/lib/index.js +11 -0
- package/dist/node_modules/unique-slug/package.json +49 -0
- package/{LICENSE → dist/node_modules/v8-compile-cache/LICENSE} +1 -2
- package/dist/node_modules/v8-compile-cache/package.json +34 -0
- package/dist/node_modules/v8-compile-cache/v8-compile-cache.js +373 -0
- package/dist/node_modules/which/LICENSE +15 -0
- package/dist/node_modules/which/bin/node-which +52 -0
- package/dist/node_modules/which/package.json +43 -0
- package/dist/node_modules/which/which.js +125 -0
- package/dist/node_modules/yallist/LICENSE +15 -0
- package/dist/node_modules/yallist/iterator.js +8 -0
- package/dist/node_modules/yallist/package.json +29 -0
- package/dist/node_modules/yallist/yallist.js +426 -0
- package/dist/pnpm.mjs +231795 -0
- package/dist/pnpmrc +2 -0
- package/dist/templates/completion.bash +31 -0
- package/dist/templates/completion.fish +22 -0
- package/dist/templates/completion.ps1 +193 -0
- package/dist/templates/completion.zsh +27 -0
- package/dist/vendor/fastlist-0.3.0-x64.exe +0 -0
- package/dist/vendor/fastlist-0.3.0-x86.exe +0 -0
- package/dist/worker.js +11930 -0
- package/package.json +17 -9
- package/setup.js +2 -1
- package/CHANGELOG.md +0 -15
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Copyright (c) 2012 Google Inc. All rights reserved.
|
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
# found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
"""Visual Studio project reader/writer."""
|
|
6
|
+
|
|
7
|
+
from gyp import easy_xml
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Writer:
|
|
11
|
+
"""Visual Studio XML tool file writer."""
|
|
12
|
+
|
|
13
|
+
def __init__(self, tool_file_path, name):
|
|
14
|
+
"""Initializes the tool file.
|
|
15
|
+
|
|
16
|
+
Args:
|
|
17
|
+
tool_file_path: Path to the tool file.
|
|
18
|
+
name: Name of the tool file.
|
|
19
|
+
"""
|
|
20
|
+
self.tool_file_path = tool_file_path
|
|
21
|
+
self.name = name
|
|
22
|
+
self.rules_section = ["Rules"]
|
|
23
|
+
|
|
24
|
+
def AddCustomBuildRule(
|
|
25
|
+
self, name, cmd, description, additional_dependencies, outputs, extensions
|
|
26
|
+
):
|
|
27
|
+
"""Adds a rule to the tool file.
|
|
28
|
+
|
|
29
|
+
Args:
|
|
30
|
+
name: Name of the rule.
|
|
31
|
+
description: Description of the rule.
|
|
32
|
+
cmd: Command line of the rule.
|
|
33
|
+
additional_dependencies: other files which may trigger the rule.
|
|
34
|
+
outputs: outputs of the rule.
|
|
35
|
+
extensions: extensions handled by the rule.
|
|
36
|
+
"""
|
|
37
|
+
rule = [
|
|
38
|
+
"CustomBuildRule",
|
|
39
|
+
{
|
|
40
|
+
"Name": name,
|
|
41
|
+
"ExecutionDescription": description,
|
|
42
|
+
"CommandLine": cmd,
|
|
43
|
+
"Outputs": ";".join(outputs),
|
|
44
|
+
"FileExtensions": ";".join(extensions),
|
|
45
|
+
"AdditionalDependencies": ";".join(additional_dependencies),
|
|
46
|
+
},
|
|
47
|
+
]
|
|
48
|
+
self.rules_section.append(rule)
|
|
49
|
+
|
|
50
|
+
def WriteIfChanged(self):
|
|
51
|
+
"""Writes the tool file."""
|
|
52
|
+
content = [
|
|
53
|
+
"VisualStudioToolFile",
|
|
54
|
+
{"Version": "8.00", "Name": self.name},
|
|
55
|
+
self.rules_section,
|
|
56
|
+
]
|
|
57
|
+
easy_xml.WriteXmlIfChanged(
|
|
58
|
+
content, self.tool_file_path, encoding="Windows-1252"
|
|
59
|
+
)
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# Copyright (c) 2012 Google Inc. All rights reserved.
|
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
# found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
"""Visual Studio user preferences file writer."""
|
|
6
|
+
|
|
7
|
+
import os
|
|
8
|
+
import re
|
|
9
|
+
import socket # for gethostname
|
|
10
|
+
|
|
11
|
+
from gyp import easy_xml
|
|
12
|
+
|
|
13
|
+
# ------------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def _FindCommandInPath(command):
|
|
17
|
+
"""If there are no slashes in the command given, this function
|
|
18
|
+
searches the PATH env to find the given command, and converts it
|
|
19
|
+
to an absolute path. We have to do this because MSVS is looking
|
|
20
|
+
for an actual file to launch a debugger on, not just a command
|
|
21
|
+
line. Note that this happens at GYP time, so anything needing to
|
|
22
|
+
be built needs to have a full path."""
|
|
23
|
+
if "/" in command or "\\" in command:
|
|
24
|
+
# If the command already has path elements (either relative or
|
|
25
|
+
# absolute), then assume it is constructed properly.
|
|
26
|
+
return command
|
|
27
|
+
else:
|
|
28
|
+
# Search through the path list and find an existing file that
|
|
29
|
+
# we can access.
|
|
30
|
+
paths = os.environ.get("PATH", "").split(os.pathsep)
|
|
31
|
+
for path in paths:
|
|
32
|
+
item = os.path.join(path, command)
|
|
33
|
+
if os.path.isfile(item) and os.access(item, os.X_OK):
|
|
34
|
+
return item
|
|
35
|
+
return command
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _QuoteWin32CommandLineArgs(args):
|
|
39
|
+
new_args = []
|
|
40
|
+
for arg in args:
|
|
41
|
+
# Replace all double-quotes with double-double-quotes to escape
|
|
42
|
+
# them for cmd shell, and then quote the whole thing if there
|
|
43
|
+
# are any.
|
|
44
|
+
if arg.find('"') != -1:
|
|
45
|
+
arg = '""'.join(arg.split('"'))
|
|
46
|
+
arg = '"%s"' % arg
|
|
47
|
+
|
|
48
|
+
# Otherwise, if there are any spaces, quote the whole arg.
|
|
49
|
+
elif re.search(r"[ \t\n]", arg):
|
|
50
|
+
arg = '"%s"' % arg
|
|
51
|
+
new_args.append(arg)
|
|
52
|
+
return new_args
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class Writer:
|
|
56
|
+
"""Visual Studio XML user user file writer."""
|
|
57
|
+
|
|
58
|
+
def __init__(self, user_file_path, version, name):
|
|
59
|
+
"""Initializes the user file.
|
|
60
|
+
|
|
61
|
+
Args:
|
|
62
|
+
user_file_path: Path to the user file.
|
|
63
|
+
version: Version info.
|
|
64
|
+
name: Name of the user file.
|
|
65
|
+
"""
|
|
66
|
+
self.user_file_path = user_file_path
|
|
67
|
+
self.version = version
|
|
68
|
+
self.name = name
|
|
69
|
+
self.configurations = {}
|
|
70
|
+
|
|
71
|
+
def AddConfig(self, name):
|
|
72
|
+
"""Adds a configuration to the project.
|
|
73
|
+
|
|
74
|
+
Args:
|
|
75
|
+
name: Configuration name.
|
|
76
|
+
"""
|
|
77
|
+
self.configurations[name] = ["Configuration", {"Name": name}]
|
|
78
|
+
|
|
79
|
+
def AddDebugSettings(
|
|
80
|
+
self, config_name, command, environment={}, working_directory=""
|
|
81
|
+
):
|
|
82
|
+
"""Adds a DebugSettings node to the user file for a particular config.
|
|
83
|
+
|
|
84
|
+
Args:
|
|
85
|
+
command: command line to run. First element in the list is the
|
|
86
|
+
executable. All elements of the command will be quoted if
|
|
87
|
+
necessary.
|
|
88
|
+
working_directory: other files which may trigger the rule. (optional)
|
|
89
|
+
"""
|
|
90
|
+
command = _QuoteWin32CommandLineArgs(command)
|
|
91
|
+
|
|
92
|
+
abs_command = _FindCommandInPath(command[0])
|
|
93
|
+
|
|
94
|
+
if environment and isinstance(environment, dict):
|
|
95
|
+
env_list = [f'{key}="{val}"' for (key, val) in environment.items()]
|
|
96
|
+
environment = " ".join(env_list)
|
|
97
|
+
else:
|
|
98
|
+
environment = ""
|
|
99
|
+
|
|
100
|
+
n_cmd = [
|
|
101
|
+
"DebugSettings",
|
|
102
|
+
{
|
|
103
|
+
"Command": abs_command,
|
|
104
|
+
"WorkingDirectory": working_directory,
|
|
105
|
+
"CommandArguments": " ".join(command[1:]),
|
|
106
|
+
"RemoteMachine": socket.gethostname(),
|
|
107
|
+
"Environment": environment,
|
|
108
|
+
"EnvironmentMerge": "true",
|
|
109
|
+
# Currently these are all "dummy" values that we're just setting
|
|
110
|
+
# in the default manner that MSVS does it. We could use some of
|
|
111
|
+
# these to add additional capabilities, I suppose, but they might
|
|
112
|
+
# not have parity with other platforms then.
|
|
113
|
+
"Attach": "false",
|
|
114
|
+
"DebuggerType": "3", # 'auto' debugger
|
|
115
|
+
"Remote": "1",
|
|
116
|
+
"RemoteCommand": "",
|
|
117
|
+
"HttpUrl": "",
|
|
118
|
+
"PDBPath": "",
|
|
119
|
+
"SQLDebugging": "",
|
|
120
|
+
"DebuggerFlavor": "0",
|
|
121
|
+
"MPIRunCommand": "",
|
|
122
|
+
"MPIRunArguments": "",
|
|
123
|
+
"MPIRunWorkingDirectory": "",
|
|
124
|
+
"ApplicationCommand": "",
|
|
125
|
+
"ApplicationArguments": "",
|
|
126
|
+
"ShimCommand": "",
|
|
127
|
+
"MPIAcceptMode": "",
|
|
128
|
+
"MPIAcceptFilter": "",
|
|
129
|
+
},
|
|
130
|
+
]
|
|
131
|
+
|
|
132
|
+
# Find the config, and add it if it doesn't exist.
|
|
133
|
+
if config_name not in self.configurations:
|
|
134
|
+
self.AddConfig(config_name)
|
|
135
|
+
|
|
136
|
+
# Add the DebugSettings onto the appropriate config.
|
|
137
|
+
self.configurations[config_name].append(n_cmd)
|
|
138
|
+
|
|
139
|
+
def WriteIfChanged(self):
|
|
140
|
+
"""Writes the user file."""
|
|
141
|
+
configs = ["Configurations"]
|
|
142
|
+
for config, spec in sorted(self.configurations.items()):
|
|
143
|
+
configs.append(spec)
|
|
144
|
+
|
|
145
|
+
content = [
|
|
146
|
+
"VisualStudioUserFile",
|
|
147
|
+
{"Version": self.version.ProjectVersion(), "Name": self.name},
|
|
148
|
+
configs,
|
|
149
|
+
]
|
|
150
|
+
easy_xml.WriteXmlIfChanged(
|
|
151
|
+
content, self.user_file_path, encoding="Windows-1252"
|
|
152
|
+
)
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
# Copyright (c) 2013 Google Inc. All rights reserved.
|
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
|
3
|
+
# found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
"""Utility functions shared amongst the Windows generators."""
|
|
6
|
+
|
|
7
|
+
import copy
|
|
8
|
+
import os
|
|
9
|
+
|
|
10
|
+
# A dictionary mapping supported target types to extensions.
|
|
11
|
+
TARGET_TYPE_EXT = {
|
|
12
|
+
"executable": "exe",
|
|
13
|
+
"loadable_module": "dll",
|
|
14
|
+
"shared_library": "dll",
|
|
15
|
+
"static_library": "lib",
|
|
16
|
+
"windows_driver": "sys",
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _GetLargePdbShimCcPath():
|
|
21
|
+
"""Returns the path of the large_pdb_shim.cc file."""
|
|
22
|
+
this_dir = os.path.abspath(os.path.dirname(__file__))
|
|
23
|
+
src_dir = os.path.abspath(os.path.join(this_dir, "..", ".."))
|
|
24
|
+
win_data_dir = os.path.join(src_dir, "data", "win")
|
|
25
|
+
large_pdb_shim_cc = os.path.join(win_data_dir, "large-pdb-shim.cc")
|
|
26
|
+
return large_pdb_shim_cc
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def _DeepCopySomeKeys(in_dict, keys):
|
|
30
|
+
"""Performs a partial deep-copy on |in_dict|, only copying the keys in |keys|.
|
|
31
|
+
|
|
32
|
+
Arguments:
|
|
33
|
+
in_dict: The dictionary to copy.
|
|
34
|
+
keys: The keys to be copied. If a key is in this list and doesn't exist in
|
|
35
|
+
|in_dict| this is not an error.
|
|
36
|
+
Returns:
|
|
37
|
+
The partially deep-copied dictionary.
|
|
38
|
+
"""
|
|
39
|
+
d = {}
|
|
40
|
+
for key in keys:
|
|
41
|
+
if key not in in_dict:
|
|
42
|
+
continue
|
|
43
|
+
d[key] = copy.deepcopy(in_dict[key])
|
|
44
|
+
return d
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _SuffixName(name, suffix):
|
|
48
|
+
"""Add a suffix to the end of a target.
|
|
49
|
+
|
|
50
|
+
Arguments:
|
|
51
|
+
name: name of the target (foo#target)
|
|
52
|
+
suffix: the suffix to be added
|
|
53
|
+
Returns:
|
|
54
|
+
Target name with suffix added (foo_suffix#target)
|
|
55
|
+
"""
|
|
56
|
+
parts = name.rsplit("#", 1)
|
|
57
|
+
parts[0] = f"{parts[0]}_{suffix}"
|
|
58
|
+
return "#".join(parts)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def _ShardName(name, number):
|
|
62
|
+
"""Add a shard number to the end of a target.
|
|
63
|
+
|
|
64
|
+
Arguments:
|
|
65
|
+
name: name of the target (foo#target)
|
|
66
|
+
number: shard number
|
|
67
|
+
Returns:
|
|
68
|
+
Target name with shard added (foo_1#target)
|
|
69
|
+
"""
|
|
70
|
+
return _SuffixName(name, str(number))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def ShardTargets(target_list, target_dicts):
|
|
74
|
+
"""Shard some targets apart to work around the linkers limits.
|
|
75
|
+
|
|
76
|
+
Arguments:
|
|
77
|
+
target_list: List of target pairs: 'base/base.gyp:base'.
|
|
78
|
+
target_dicts: Dict of target properties keyed on target pair.
|
|
79
|
+
Returns:
|
|
80
|
+
Tuple of the new sharded versions of the inputs.
|
|
81
|
+
"""
|
|
82
|
+
# Gather the targets to shard, and how many pieces.
|
|
83
|
+
targets_to_shard = {}
|
|
84
|
+
for t in target_dicts:
|
|
85
|
+
shards = int(target_dicts[t].get("msvs_shard", 0))
|
|
86
|
+
if shards:
|
|
87
|
+
targets_to_shard[t] = shards
|
|
88
|
+
# Shard target_list.
|
|
89
|
+
new_target_list = []
|
|
90
|
+
for t in target_list:
|
|
91
|
+
if t in targets_to_shard:
|
|
92
|
+
for i in range(targets_to_shard[t]):
|
|
93
|
+
new_target_list.append(_ShardName(t, i))
|
|
94
|
+
else:
|
|
95
|
+
new_target_list.append(t)
|
|
96
|
+
# Shard target_dict.
|
|
97
|
+
new_target_dicts = {}
|
|
98
|
+
for t in target_dicts:
|
|
99
|
+
if t in targets_to_shard:
|
|
100
|
+
for i in range(targets_to_shard[t]):
|
|
101
|
+
name = _ShardName(t, i)
|
|
102
|
+
new_target_dicts[name] = copy.copy(target_dicts[t])
|
|
103
|
+
new_target_dicts[name]["target_name"] = _ShardName(
|
|
104
|
+
new_target_dicts[name]["target_name"], i
|
|
105
|
+
)
|
|
106
|
+
sources = new_target_dicts[name].get("sources", [])
|
|
107
|
+
new_sources = []
|
|
108
|
+
for pos in range(i, len(sources), targets_to_shard[t]):
|
|
109
|
+
new_sources.append(sources[pos])
|
|
110
|
+
new_target_dicts[name]["sources"] = new_sources
|
|
111
|
+
else:
|
|
112
|
+
new_target_dicts[t] = target_dicts[t]
|
|
113
|
+
# Shard dependencies.
|
|
114
|
+
for t in sorted(new_target_dicts):
|
|
115
|
+
for deptype in ("dependencies", "dependencies_original"):
|
|
116
|
+
dependencies = copy.copy(new_target_dicts[t].get(deptype, []))
|
|
117
|
+
new_dependencies = []
|
|
118
|
+
for d in dependencies:
|
|
119
|
+
if d in targets_to_shard:
|
|
120
|
+
for i in range(targets_to_shard[d]):
|
|
121
|
+
new_dependencies.append(_ShardName(d, i))
|
|
122
|
+
else:
|
|
123
|
+
new_dependencies.append(d)
|
|
124
|
+
new_target_dicts[t][deptype] = new_dependencies
|
|
125
|
+
|
|
126
|
+
return (new_target_list, new_target_dicts)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def _GetPdbPath(target_dict, config_name, vars):
|
|
130
|
+
"""Returns the path to the PDB file that will be generated by a given
|
|
131
|
+
configuration.
|
|
132
|
+
|
|
133
|
+
The lookup proceeds as follows:
|
|
134
|
+
- Look for an explicit path in the VCLinkerTool configuration block.
|
|
135
|
+
- Look for an 'msvs_large_pdb_path' variable.
|
|
136
|
+
- Use '<(PRODUCT_DIR)/<(product_name).(exe|dll).pdb' if 'product_name' is
|
|
137
|
+
specified.
|
|
138
|
+
- Use '<(PRODUCT_DIR)/<(target_name).(exe|dll).pdb'.
|
|
139
|
+
|
|
140
|
+
Arguments:
|
|
141
|
+
target_dict: The target dictionary to be searched.
|
|
142
|
+
config_name: The name of the configuration of interest.
|
|
143
|
+
vars: A dictionary of common GYP variables with generator-specific values.
|
|
144
|
+
Returns:
|
|
145
|
+
The path of the corresponding PDB file.
|
|
146
|
+
"""
|
|
147
|
+
config = target_dict["configurations"][config_name]
|
|
148
|
+
msvs = config.setdefault("msvs_settings", {})
|
|
149
|
+
|
|
150
|
+
linker = msvs.get("VCLinkerTool", {})
|
|
151
|
+
|
|
152
|
+
pdb_path = linker.get("ProgramDatabaseFile")
|
|
153
|
+
if pdb_path:
|
|
154
|
+
return pdb_path
|
|
155
|
+
|
|
156
|
+
variables = target_dict.get("variables", {})
|
|
157
|
+
pdb_path = variables.get("msvs_large_pdb_path", None)
|
|
158
|
+
if pdb_path:
|
|
159
|
+
return pdb_path
|
|
160
|
+
|
|
161
|
+
pdb_base = target_dict.get("product_name", target_dict["target_name"])
|
|
162
|
+
pdb_base = "{}.{}.pdb".format(pdb_base, TARGET_TYPE_EXT[target_dict["type"]])
|
|
163
|
+
pdb_path = vars["PRODUCT_DIR"] + "/" + pdb_base
|
|
164
|
+
|
|
165
|
+
return pdb_path
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def InsertLargePdbShims(target_list, target_dicts, vars):
|
|
169
|
+
"""Insert a shim target that forces the linker to use 4KB pagesize PDBs.
|
|
170
|
+
|
|
171
|
+
This is a workaround for targets with PDBs greater than 1GB in size, the
|
|
172
|
+
limit for the 1KB pagesize PDBs created by the linker by default.
|
|
173
|
+
|
|
174
|
+
Arguments:
|
|
175
|
+
target_list: List of target pairs: 'base/base.gyp:base'.
|
|
176
|
+
target_dicts: Dict of target properties keyed on target pair.
|
|
177
|
+
vars: A dictionary of common GYP variables with generator-specific values.
|
|
178
|
+
Returns:
|
|
179
|
+
Tuple of the shimmed version of the inputs.
|
|
180
|
+
"""
|
|
181
|
+
# Determine which targets need shimming.
|
|
182
|
+
targets_to_shim = []
|
|
183
|
+
for t in target_dicts:
|
|
184
|
+
target_dict = target_dicts[t]
|
|
185
|
+
|
|
186
|
+
# We only want to shim targets that have msvs_large_pdb enabled.
|
|
187
|
+
if not int(target_dict.get("msvs_large_pdb", 0)):
|
|
188
|
+
continue
|
|
189
|
+
# This is intended for executable, shared_library and loadable_module
|
|
190
|
+
# targets where every configuration is set up to produce a PDB output.
|
|
191
|
+
# If any of these conditions is not true then the shim logic will fail
|
|
192
|
+
# below.
|
|
193
|
+
targets_to_shim.append(t)
|
|
194
|
+
|
|
195
|
+
large_pdb_shim_cc = _GetLargePdbShimCcPath()
|
|
196
|
+
|
|
197
|
+
for t in targets_to_shim:
|
|
198
|
+
target_dict = target_dicts[t]
|
|
199
|
+
target_name = target_dict.get("target_name")
|
|
200
|
+
|
|
201
|
+
base_dict = _DeepCopySomeKeys(
|
|
202
|
+
target_dict, ["configurations", "default_configuration", "toolset"]
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
# This is the dict for copying the source file (part of the GYP tree)
|
|
206
|
+
# to the intermediate directory of the project. This is necessary because
|
|
207
|
+
# we can't always build a relative path to the shim source file (on Windows
|
|
208
|
+
# GYP and the project may be on different drives), and Ninja hates absolute
|
|
209
|
+
# paths (it ends up generating the .obj and .obj.d alongside the source
|
|
210
|
+
# file, polluting GYPs tree).
|
|
211
|
+
copy_suffix = "large_pdb_copy"
|
|
212
|
+
copy_target_name = target_name + "_" + copy_suffix
|
|
213
|
+
full_copy_target_name = _SuffixName(t, copy_suffix)
|
|
214
|
+
shim_cc_basename = os.path.basename(large_pdb_shim_cc)
|
|
215
|
+
shim_cc_dir = vars["SHARED_INTERMEDIATE_DIR"] + "/" + copy_target_name
|
|
216
|
+
shim_cc_path = shim_cc_dir + "/" + shim_cc_basename
|
|
217
|
+
copy_dict = copy.deepcopy(base_dict)
|
|
218
|
+
copy_dict["target_name"] = copy_target_name
|
|
219
|
+
copy_dict["type"] = "none"
|
|
220
|
+
copy_dict["sources"] = [large_pdb_shim_cc]
|
|
221
|
+
copy_dict["copies"] = [
|
|
222
|
+
{"destination": shim_cc_dir, "files": [large_pdb_shim_cc]}
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
# This is the dict for the PDB generating shim target. It depends on the
|
|
226
|
+
# copy target.
|
|
227
|
+
shim_suffix = "large_pdb_shim"
|
|
228
|
+
shim_target_name = target_name + "_" + shim_suffix
|
|
229
|
+
full_shim_target_name = _SuffixName(t, shim_suffix)
|
|
230
|
+
shim_dict = copy.deepcopy(base_dict)
|
|
231
|
+
shim_dict["target_name"] = shim_target_name
|
|
232
|
+
shim_dict["type"] = "static_library"
|
|
233
|
+
shim_dict["sources"] = [shim_cc_path]
|
|
234
|
+
shim_dict["dependencies"] = [full_copy_target_name]
|
|
235
|
+
|
|
236
|
+
# Set up the shim to output its PDB to the same location as the final linker
|
|
237
|
+
# target.
|
|
238
|
+
for config_name, config in shim_dict.get("configurations").items():
|
|
239
|
+
pdb_path = _GetPdbPath(target_dict, config_name, vars)
|
|
240
|
+
|
|
241
|
+
# A few keys that we don't want to propagate.
|
|
242
|
+
for key in ["msvs_precompiled_header", "msvs_precompiled_source", "test"]:
|
|
243
|
+
config.pop(key, None)
|
|
244
|
+
|
|
245
|
+
msvs = config.setdefault("msvs_settings", {})
|
|
246
|
+
|
|
247
|
+
# Update the compiler directives in the shim target.
|
|
248
|
+
compiler = msvs.setdefault("VCCLCompilerTool", {})
|
|
249
|
+
compiler["DebugInformationFormat"] = "3"
|
|
250
|
+
compiler["ProgramDataBaseFileName"] = pdb_path
|
|
251
|
+
|
|
252
|
+
# Set the explicit PDB path in the appropriate configuration of the
|
|
253
|
+
# original target.
|
|
254
|
+
config = target_dict["configurations"][config_name]
|
|
255
|
+
msvs = config.setdefault("msvs_settings", {})
|
|
256
|
+
linker = msvs.setdefault("VCLinkerTool", {})
|
|
257
|
+
linker["GenerateDebugInformation"] = "true"
|
|
258
|
+
linker["ProgramDatabaseFile"] = pdb_path
|
|
259
|
+
|
|
260
|
+
# Add the new targets. They must go to the beginning of the list so that
|
|
261
|
+
# the dependency generation works as expected in ninja.
|
|
262
|
+
target_list.insert(0, full_copy_target_name)
|
|
263
|
+
target_list.insert(0, full_shim_target_name)
|
|
264
|
+
target_dicts[full_copy_target_name] = copy_dict
|
|
265
|
+
target_dicts[full_shim_target_name] = shim_dict
|
|
266
|
+
|
|
267
|
+
# Update the original target to depend on the shim target.
|
|
268
|
+
target_dict.setdefault("dependencies", []).append(full_shim_target_name)
|
|
269
|
+
|
|
270
|
+
return (target_list, target_dicts)
|