@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,553 @@
|
|
|
1
|
+
# This file is dual licensed under the terms of the Apache License, Version
|
|
2
|
+
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
|
|
3
|
+
# for complete details.
|
|
4
|
+
|
|
5
|
+
import logging
|
|
6
|
+
import platform
|
|
7
|
+
import struct
|
|
8
|
+
import subprocess
|
|
9
|
+
import sys
|
|
10
|
+
import sysconfig
|
|
11
|
+
from importlib.machinery import EXTENSION_SUFFIXES
|
|
12
|
+
from typing import (
|
|
13
|
+
Dict,
|
|
14
|
+
FrozenSet,
|
|
15
|
+
Iterable,
|
|
16
|
+
Iterator,
|
|
17
|
+
List,
|
|
18
|
+
Optional,
|
|
19
|
+
Sequence,
|
|
20
|
+
Tuple,
|
|
21
|
+
Union,
|
|
22
|
+
cast,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
from . import _manylinux, _musllinux
|
|
26
|
+
|
|
27
|
+
logger = logging.getLogger(__name__)
|
|
28
|
+
|
|
29
|
+
PythonVersion = Sequence[int]
|
|
30
|
+
MacVersion = Tuple[int, int]
|
|
31
|
+
|
|
32
|
+
INTERPRETER_SHORT_NAMES: Dict[str, str] = {
|
|
33
|
+
"python": "py", # Generic.
|
|
34
|
+
"cpython": "cp",
|
|
35
|
+
"pypy": "pp",
|
|
36
|
+
"ironpython": "ip",
|
|
37
|
+
"jython": "jy",
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
_32_BIT_INTERPRETER = struct.calcsize("P") == 4
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class Tag:
|
|
45
|
+
"""
|
|
46
|
+
A representation of the tag triple for a wheel.
|
|
47
|
+
|
|
48
|
+
Instances are considered immutable and thus are hashable. Equality checking
|
|
49
|
+
is also supported.
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
__slots__ = ["_interpreter", "_abi", "_platform", "_hash"]
|
|
53
|
+
|
|
54
|
+
def __init__(self, interpreter: str, abi: str, platform: str) -> None:
|
|
55
|
+
self._interpreter = interpreter.lower()
|
|
56
|
+
self._abi = abi.lower()
|
|
57
|
+
self._platform = platform.lower()
|
|
58
|
+
# The __hash__ of every single element in a Set[Tag] will be evaluated each time
|
|
59
|
+
# that a set calls its `.disjoint()` method, which may be called hundreds of
|
|
60
|
+
# times when scanning a page of links for packages with tags matching that
|
|
61
|
+
# Set[Tag]. Pre-computing the value here produces significant speedups for
|
|
62
|
+
# downstream consumers.
|
|
63
|
+
self._hash = hash((self._interpreter, self._abi, self._platform))
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def interpreter(self) -> str:
|
|
67
|
+
return self._interpreter
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def abi(self) -> str:
|
|
71
|
+
return self._abi
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
def platform(self) -> str:
|
|
75
|
+
return self._platform
|
|
76
|
+
|
|
77
|
+
def __eq__(self, other: object) -> bool:
|
|
78
|
+
if not isinstance(other, Tag):
|
|
79
|
+
return NotImplemented
|
|
80
|
+
|
|
81
|
+
return (
|
|
82
|
+
(self._hash == other._hash) # Short-circuit ASAP for perf reasons.
|
|
83
|
+
and (self._platform == other._platform)
|
|
84
|
+
and (self._abi == other._abi)
|
|
85
|
+
and (self._interpreter == other._interpreter)
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
def __hash__(self) -> int:
|
|
89
|
+
return self._hash
|
|
90
|
+
|
|
91
|
+
def __str__(self) -> str:
|
|
92
|
+
return f"{self._interpreter}-{self._abi}-{self._platform}"
|
|
93
|
+
|
|
94
|
+
def __repr__(self) -> str:
|
|
95
|
+
return f"<{self} @ {id(self)}>"
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def parse_tag(tag: str) -> FrozenSet[Tag]:
|
|
99
|
+
"""
|
|
100
|
+
Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances.
|
|
101
|
+
|
|
102
|
+
Returning a set is required due to the possibility that the tag is a
|
|
103
|
+
compressed tag set.
|
|
104
|
+
"""
|
|
105
|
+
tags = set()
|
|
106
|
+
interpreters, abis, platforms = tag.split("-")
|
|
107
|
+
for interpreter in interpreters.split("."):
|
|
108
|
+
for abi in abis.split("."):
|
|
109
|
+
for platform_ in platforms.split("."):
|
|
110
|
+
tags.add(Tag(interpreter, abi, platform_))
|
|
111
|
+
return frozenset(tags)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def _get_config_var(name: str, warn: bool = False) -> Union[int, str, None]:
|
|
115
|
+
value: Union[int, str, None] = sysconfig.get_config_var(name)
|
|
116
|
+
if value is None and warn:
|
|
117
|
+
logger.debug(
|
|
118
|
+
"Config variable '%s' is unset, Python ABI tag may be incorrect", name
|
|
119
|
+
)
|
|
120
|
+
return value
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def _normalize_string(string: str) -> str:
|
|
124
|
+
return string.replace(".", "_").replace("-", "_").replace(" ", "_")
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def _abi3_applies(python_version: PythonVersion) -> bool:
|
|
128
|
+
"""
|
|
129
|
+
Determine if the Python version supports abi3.
|
|
130
|
+
|
|
131
|
+
PEP 384 was first implemented in Python 3.2.
|
|
132
|
+
"""
|
|
133
|
+
return len(python_version) > 1 and tuple(python_version) >= (3, 2)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> List[str]:
|
|
137
|
+
py_version = tuple(py_version) # To allow for version comparison.
|
|
138
|
+
abis = []
|
|
139
|
+
version = _version_nodot(py_version[:2])
|
|
140
|
+
debug = pymalloc = ucs4 = ""
|
|
141
|
+
with_debug = _get_config_var("Py_DEBUG", warn)
|
|
142
|
+
has_refcount = hasattr(sys, "gettotalrefcount")
|
|
143
|
+
# Windows doesn't set Py_DEBUG, so checking for support of debug-compiled
|
|
144
|
+
# extension modules is the best option.
|
|
145
|
+
# https://github.com/pypa/pip/issues/3383#issuecomment-173267692
|
|
146
|
+
has_ext = "_d.pyd" in EXTENSION_SUFFIXES
|
|
147
|
+
if with_debug or (with_debug is None and (has_refcount or has_ext)):
|
|
148
|
+
debug = "d"
|
|
149
|
+
if py_version < (3, 8):
|
|
150
|
+
with_pymalloc = _get_config_var("WITH_PYMALLOC", warn)
|
|
151
|
+
if with_pymalloc or with_pymalloc is None:
|
|
152
|
+
pymalloc = "m"
|
|
153
|
+
if py_version < (3, 3):
|
|
154
|
+
unicode_size = _get_config_var("Py_UNICODE_SIZE", warn)
|
|
155
|
+
if unicode_size == 4 or (
|
|
156
|
+
unicode_size is None and sys.maxunicode == 0x10FFFF
|
|
157
|
+
):
|
|
158
|
+
ucs4 = "u"
|
|
159
|
+
elif debug:
|
|
160
|
+
# Debug builds can also load "normal" extension modules.
|
|
161
|
+
# We can also assume no UCS-4 or pymalloc requirement.
|
|
162
|
+
abis.append(f"cp{version}")
|
|
163
|
+
abis.insert(
|
|
164
|
+
0,
|
|
165
|
+
"cp{version}{debug}{pymalloc}{ucs4}".format(
|
|
166
|
+
version=version, debug=debug, pymalloc=pymalloc, ucs4=ucs4
|
|
167
|
+
),
|
|
168
|
+
)
|
|
169
|
+
return abis
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
def cpython_tags(
|
|
173
|
+
python_version: Optional[PythonVersion] = None,
|
|
174
|
+
abis: Optional[Iterable[str]] = None,
|
|
175
|
+
platforms: Optional[Iterable[str]] = None,
|
|
176
|
+
*,
|
|
177
|
+
warn: bool = False,
|
|
178
|
+
) -> Iterator[Tag]:
|
|
179
|
+
"""
|
|
180
|
+
Yields the tags for a CPython interpreter.
|
|
181
|
+
|
|
182
|
+
The tags consist of:
|
|
183
|
+
- cp<python_version>-<abi>-<platform>
|
|
184
|
+
- cp<python_version>-abi3-<platform>
|
|
185
|
+
- cp<python_version>-none-<platform>
|
|
186
|
+
- cp<less than python_version>-abi3-<platform> # Older Python versions down to 3.2.
|
|
187
|
+
|
|
188
|
+
If python_version only specifies a major version then user-provided ABIs and
|
|
189
|
+
the 'none' ABItag will be used.
|
|
190
|
+
|
|
191
|
+
If 'abi3' or 'none' are specified in 'abis' then they will be yielded at
|
|
192
|
+
their normal position and not at the beginning.
|
|
193
|
+
"""
|
|
194
|
+
if not python_version:
|
|
195
|
+
python_version = sys.version_info[:2]
|
|
196
|
+
|
|
197
|
+
interpreter = f"cp{_version_nodot(python_version[:2])}"
|
|
198
|
+
|
|
199
|
+
if abis is None:
|
|
200
|
+
if len(python_version) > 1:
|
|
201
|
+
abis = _cpython_abis(python_version, warn)
|
|
202
|
+
else:
|
|
203
|
+
abis = []
|
|
204
|
+
abis = list(abis)
|
|
205
|
+
# 'abi3' and 'none' are explicitly handled later.
|
|
206
|
+
for explicit_abi in ("abi3", "none"):
|
|
207
|
+
try:
|
|
208
|
+
abis.remove(explicit_abi)
|
|
209
|
+
except ValueError:
|
|
210
|
+
pass
|
|
211
|
+
|
|
212
|
+
platforms = list(platforms or platform_tags())
|
|
213
|
+
for abi in abis:
|
|
214
|
+
for platform_ in platforms:
|
|
215
|
+
yield Tag(interpreter, abi, platform_)
|
|
216
|
+
if _abi3_applies(python_version):
|
|
217
|
+
yield from (Tag(interpreter, "abi3", platform_) for platform_ in platforms)
|
|
218
|
+
yield from (Tag(interpreter, "none", platform_) for platform_ in platforms)
|
|
219
|
+
|
|
220
|
+
if _abi3_applies(python_version):
|
|
221
|
+
for minor_version in range(python_version[1] - 1, 1, -1):
|
|
222
|
+
for platform_ in platforms:
|
|
223
|
+
interpreter = "cp{version}".format(
|
|
224
|
+
version=_version_nodot((python_version[0], minor_version))
|
|
225
|
+
)
|
|
226
|
+
yield Tag(interpreter, "abi3", platform_)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
def _generic_abi() -> List[str]:
|
|
230
|
+
"""
|
|
231
|
+
Return the ABI tag based on EXT_SUFFIX.
|
|
232
|
+
"""
|
|
233
|
+
# The following are examples of `EXT_SUFFIX`.
|
|
234
|
+
# We want to keep the parts which are related to the ABI and remove the
|
|
235
|
+
# parts which are related to the platform:
|
|
236
|
+
# - linux: '.cpython-310-x86_64-linux-gnu.so' => cp310
|
|
237
|
+
# - mac: '.cpython-310-darwin.so' => cp310
|
|
238
|
+
# - win: '.cp310-win_amd64.pyd' => cp310
|
|
239
|
+
# - win: '.pyd' => cp37 (uses _cpython_abis())
|
|
240
|
+
# - pypy: '.pypy38-pp73-x86_64-linux-gnu.so' => pypy38_pp73
|
|
241
|
+
# - graalpy: '.graalpy-38-native-x86_64-darwin.dylib'
|
|
242
|
+
# => graalpy_38_native
|
|
243
|
+
|
|
244
|
+
ext_suffix = _get_config_var("EXT_SUFFIX", warn=True)
|
|
245
|
+
if not isinstance(ext_suffix, str) or ext_suffix[0] != ".":
|
|
246
|
+
raise SystemError("invalid sysconfig.get_config_var('EXT_SUFFIX')")
|
|
247
|
+
parts = ext_suffix.split(".")
|
|
248
|
+
if len(parts) < 3:
|
|
249
|
+
# CPython3.7 and earlier uses ".pyd" on Windows.
|
|
250
|
+
return _cpython_abis(sys.version_info[:2])
|
|
251
|
+
soabi = parts[1]
|
|
252
|
+
if soabi.startswith("cpython"):
|
|
253
|
+
# non-windows
|
|
254
|
+
abi = "cp" + soabi.split("-")[1]
|
|
255
|
+
elif soabi.startswith("cp"):
|
|
256
|
+
# windows
|
|
257
|
+
abi = soabi.split("-")[0]
|
|
258
|
+
elif soabi.startswith("pypy"):
|
|
259
|
+
abi = "-".join(soabi.split("-")[:2])
|
|
260
|
+
elif soabi.startswith("graalpy"):
|
|
261
|
+
abi = "-".join(soabi.split("-")[:3])
|
|
262
|
+
elif soabi:
|
|
263
|
+
# pyston, ironpython, others?
|
|
264
|
+
abi = soabi
|
|
265
|
+
else:
|
|
266
|
+
return []
|
|
267
|
+
return [_normalize_string(abi)]
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
def generic_tags(
|
|
271
|
+
interpreter: Optional[str] = None,
|
|
272
|
+
abis: Optional[Iterable[str]] = None,
|
|
273
|
+
platforms: Optional[Iterable[str]] = None,
|
|
274
|
+
*,
|
|
275
|
+
warn: bool = False,
|
|
276
|
+
) -> Iterator[Tag]:
|
|
277
|
+
"""
|
|
278
|
+
Yields the tags for a generic interpreter.
|
|
279
|
+
|
|
280
|
+
The tags consist of:
|
|
281
|
+
- <interpreter>-<abi>-<platform>
|
|
282
|
+
|
|
283
|
+
The "none" ABI will be added if it was not explicitly provided.
|
|
284
|
+
"""
|
|
285
|
+
if not interpreter:
|
|
286
|
+
interp_name = interpreter_name()
|
|
287
|
+
interp_version = interpreter_version(warn=warn)
|
|
288
|
+
interpreter = "".join([interp_name, interp_version])
|
|
289
|
+
if abis is None:
|
|
290
|
+
abis = _generic_abi()
|
|
291
|
+
else:
|
|
292
|
+
abis = list(abis)
|
|
293
|
+
platforms = list(platforms or platform_tags())
|
|
294
|
+
if "none" not in abis:
|
|
295
|
+
abis.append("none")
|
|
296
|
+
for abi in abis:
|
|
297
|
+
for platform_ in platforms:
|
|
298
|
+
yield Tag(interpreter, abi, platform_)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
def _py_interpreter_range(py_version: PythonVersion) -> Iterator[str]:
|
|
302
|
+
"""
|
|
303
|
+
Yields Python versions in descending order.
|
|
304
|
+
|
|
305
|
+
After the latest version, the major-only version will be yielded, and then
|
|
306
|
+
all previous versions of that major version.
|
|
307
|
+
"""
|
|
308
|
+
if len(py_version) > 1:
|
|
309
|
+
yield f"py{_version_nodot(py_version[:2])}"
|
|
310
|
+
yield f"py{py_version[0]}"
|
|
311
|
+
if len(py_version) > 1:
|
|
312
|
+
for minor in range(py_version[1] - 1, -1, -1):
|
|
313
|
+
yield f"py{_version_nodot((py_version[0], minor))}"
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
def compatible_tags(
|
|
317
|
+
python_version: Optional[PythonVersion] = None,
|
|
318
|
+
interpreter: Optional[str] = None,
|
|
319
|
+
platforms: Optional[Iterable[str]] = None,
|
|
320
|
+
) -> Iterator[Tag]:
|
|
321
|
+
"""
|
|
322
|
+
Yields the sequence of tags that are compatible with a specific version of Python.
|
|
323
|
+
|
|
324
|
+
The tags consist of:
|
|
325
|
+
- py*-none-<platform>
|
|
326
|
+
- <interpreter>-none-any # ... if `interpreter` is provided.
|
|
327
|
+
- py*-none-any
|
|
328
|
+
"""
|
|
329
|
+
if not python_version:
|
|
330
|
+
python_version = sys.version_info[:2]
|
|
331
|
+
platforms = list(platforms or platform_tags())
|
|
332
|
+
for version in _py_interpreter_range(python_version):
|
|
333
|
+
for platform_ in platforms:
|
|
334
|
+
yield Tag(version, "none", platform_)
|
|
335
|
+
if interpreter:
|
|
336
|
+
yield Tag(interpreter, "none", "any")
|
|
337
|
+
for version in _py_interpreter_range(python_version):
|
|
338
|
+
yield Tag(version, "none", "any")
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
def _mac_arch(arch: str, is_32bit: bool = _32_BIT_INTERPRETER) -> str:
|
|
342
|
+
if not is_32bit:
|
|
343
|
+
return arch
|
|
344
|
+
|
|
345
|
+
if arch.startswith("ppc"):
|
|
346
|
+
return "ppc"
|
|
347
|
+
|
|
348
|
+
return "i386"
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
def _mac_binary_formats(version: MacVersion, cpu_arch: str) -> List[str]:
|
|
352
|
+
formats = [cpu_arch]
|
|
353
|
+
if cpu_arch == "x86_64":
|
|
354
|
+
if version < (10, 4):
|
|
355
|
+
return []
|
|
356
|
+
formats.extend(["intel", "fat64", "fat32"])
|
|
357
|
+
|
|
358
|
+
elif cpu_arch == "i386":
|
|
359
|
+
if version < (10, 4):
|
|
360
|
+
return []
|
|
361
|
+
formats.extend(["intel", "fat32", "fat"])
|
|
362
|
+
|
|
363
|
+
elif cpu_arch == "ppc64":
|
|
364
|
+
# TODO: Need to care about 32-bit PPC for ppc64 through 10.2?
|
|
365
|
+
if version > (10, 5) or version < (10, 4):
|
|
366
|
+
return []
|
|
367
|
+
formats.append("fat64")
|
|
368
|
+
|
|
369
|
+
elif cpu_arch == "ppc":
|
|
370
|
+
if version > (10, 6):
|
|
371
|
+
return []
|
|
372
|
+
formats.extend(["fat32", "fat"])
|
|
373
|
+
|
|
374
|
+
if cpu_arch in {"arm64", "x86_64"}:
|
|
375
|
+
formats.append("universal2")
|
|
376
|
+
|
|
377
|
+
if cpu_arch in {"x86_64", "i386", "ppc64", "ppc", "intel"}:
|
|
378
|
+
formats.append("universal")
|
|
379
|
+
|
|
380
|
+
return formats
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
def mac_platforms(
|
|
384
|
+
version: Optional[MacVersion] = None, arch: Optional[str] = None
|
|
385
|
+
) -> Iterator[str]:
|
|
386
|
+
"""
|
|
387
|
+
Yields the platform tags for a macOS system.
|
|
388
|
+
|
|
389
|
+
The `version` parameter is a two-item tuple specifying the macOS version to
|
|
390
|
+
generate platform tags for. The `arch` parameter is the CPU architecture to
|
|
391
|
+
generate platform tags for. Both parameters default to the appropriate value
|
|
392
|
+
for the current system.
|
|
393
|
+
"""
|
|
394
|
+
version_str, _, cpu_arch = platform.mac_ver()
|
|
395
|
+
if version is None:
|
|
396
|
+
version = cast("MacVersion", tuple(map(int, version_str.split(".")[:2])))
|
|
397
|
+
if version == (10, 16):
|
|
398
|
+
# When built against an older macOS SDK, Python will report macOS 10.16
|
|
399
|
+
# instead of the real version.
|
|
400
|
+
version_str = subprocess.run(
|
|
401
|
+
[
|
|
402
|
+
sys.executable,
|
|
403
|
+
"-sS",
|
|
404
|
+
"-c",
|
|
405
|
+
"import platform; print(platform.mac_ver()[0])",
|
|
406
|
+
],
|
|
407
|
+
check=True,
|
|
408
|
+
env={"SYSTEM_VERSION_COMPAT": "0"},
|
|
409
|
+
stdout=subprocess.PIPE,
|
|
410
|
+
text=True,
|
|
411
|
+
).stdout
|
|
412
|
+
version = cast("MacVersion", tuple(map(int, version_str.split(".")[:2])))
|
|
413
|
+
else:
|
|
414
|
+
version = version
|
|
415
|
+
if arch is None:
|
|
416
|
+
arch = _mac_arch(cpu_arch)
|
|
417
|
+
else:
|
|
418
|
+
arch = arch
|
|
419
|
+
|
|
420
|
+
if (10, 0) <= version and version < (11, 0):
|
|
421
|
+
# Prior to Mac OS 11, each yearly release of Mac OS bumped the
|
|
422
|
+
# "minor" version number. The major version was always 10.
|
|
423
|
+
for minor_version in range(version[1], -1, -1):
|
|
424
|
+
compat_version = 10, minor_version
|
|
425
|
+
binary_formats = _mac_binary_formats(compat_version, arch)
|
|
426
|
+
for binary_format in binary_formats:
|
|
427
|
+
yield "macosx_{major}_{minor}_{binary_format}".format(
|
|
428
|
+
major=10, minor=minor_version, binary_format=binary_format
|
|
429
|
+
)
|
|
430
|
+
|
|
431
|
+
if version >= (11, 0):
|
|
432
|
+
# Starting with Mac OS 11, each yearly release bumps the major version
|
|
433
|
+
# number. The minor versions are now the midyear updates.
|
|
434
|
+
for major_version in range(version[0], 10, -1):
|
|
435
|
+
compat_version = major_version, 0
|
|
436
|
+
binary_formats = _mac_binary_formats(compat_version, arch)
|
|
437
|
+
for binary_format in binary_formats:
|
|
438
|
+
yield "macosx_{major}_{minor}_{binary_format}".format(
|
|
439
|
+
major=major_version, minor=0, binary_format=binary_format
|
|
440
|
+
)
|
|
441
|
+
|
|
442
|
+
if version >= (11, 0):
|
|
443
|
+
# Mac OS 11 on x86_64 is compatible with binaries from previous releases.
|
|
444
|
+
# Arm64 support was introduced in 11.0, so no Arm binaries from previous
|
|
445
|
+
# releases exist.
|
|
446
|
+
#
|
|
447
|
+
# However, the "universal2" binary format can have a
|
|
448
|
+
# macOS version earlier than 11.0 when the x86_64 part of the binary supports
|
|
449
|
+
# that version of macOS.
|
|
450
|
+
if arch == "x86_64":
|
|
451
|
+
for minor_version in range(16, 3, -1):
|
|
452
|
+
compat_version = 10, minor_version
|
|
453
|
+
binary_formats = _mac_binary_formats(compat_version, arch)
|
|
454
|
+
for binary_format in binary_formats:
|
|
455
|
+
yield "macosx_{major}_{minor}_{binary_format}".format(
|
|
456
|
+
major=compat_version[0],
|
|
457
|
+
minor=compat_version[1],
|
|
458
|
+
binary_format=binary_format,
|
|
459
|
+
)
|
|
460
|
+
else:
|
|
461
|
+
for minor_version in range(16, 3, -1):
|
|
462
|
+
compat_version = 10, minor_version
|
|
463
|
+
binary_format = "universal2"
|
|
464
|
+
yield "macosx_{major}_{minor}_{binary_format}".format(
|
|
465
|
+
major=compat_version[0],
|
|
466
|
+
minor=compat_version[1],
|
|
467
|
+
binary_format=binary_format,
|
|
468
|
+
)
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
def _linux_platforms(is_32bit: bool = _32_BIT_INTERPRETER) -> Iterator[str]:
|
|
472
|
+
linux = _normalize_string(sysconfig.get_platform())
|
|
473
|
+
if not linux.startswith("linux_"):
|
|
474
|
+
# we should never be here, just yield the sysconfig one and return
|
|
475
|
+
yield linux
|
|
476
|
+
return
|
|
477
|
+
if is_32bit:
|
|
478
|
+
if linux == "linux_x86_64":
|
|
479
|
+
linux = "linux_i686"
|
|
480
|
+
elif linux == "linux_aarch64":
|
|
481
|
+
linux = "linux_armv8l"
|
|
482
|
+
_, arch = linux.split("_", 1)
|
|
483
|
+
archs = {"armv8l": ["armv8l", "armv7l"]}.get(arch, [arch])
|
|
484
|
+
yield from _manylinux.platform_tags(archs)
|
|
485
|
+
yield from _musllinux.platform_tags(archs)
|
|
486
|
+
for arch in archs:
|
|
487
|
+
yield f"linux_{arch}"
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
def _generic_platforms() -> Iterator[str]:
|
|
491
|
+
yield _normalize_string(sysconfig.get_platform())
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
def platform_tags() -> Iterator[str]:
|
|
495
|
+
"""
|
|
496
|
+
Provides the platform tags for this installation.
|
|
497
|
+
"""
|
|
498
|
+
if platform.system() == "Darwin":
|
|
499
|
+
return mac_platforms()
|
|
500
|
+
elif platform.system() == "Linux":
|
|
501
|
+
return _linux_platforms()
|
|
502
|
+
else:
|
|
503
|
+
return _generic_platforms()
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
def interpreter_name() -> str:
|
|
507
|
+
"""
|
|
508
|
+
Returns the name of the running interpreter.
|
|
509
|
+
|
|
510
|
+
Some implementations have a reserved, two-letter abbreviation which will
|
|
511
|
+
be returned when appropriate.
|
|
512
|
+
"""
|
|
513
|
+
name = sys.implementation.name
|
|
514
|
+
return INTERPRETER_SHORT_NAMES.get(name) or name
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
def interpreter_version(*, warn: bool = False) -> str:
|
|
518
|
+
"""
|
|
519
|
+
Returns the version of the running interpreter.
|
|
520
|
+
"""
|
|
521
|
+
version = _get_config_var("py_version_nodot", warn=warn)
|
|
522
|
+
if version:
|
|
523
|
+
version = str(version)
|
|
524
|
+
else:
|
|
525
|
+
version = _version_nodot(sys.version_info[:2])
|
|
526
|
+
return version
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
def _version_nodot(version: PythonVersion) -> str:
|
|
530
|
+
return "".join(map(str, version))
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
def sys_tags(*, warn: bool = False) -> Iterator[Tag]:
|
|
534
|
+
"""
|
|
535
|
+
Returns the sequence of tag triples for the running interpreter.
|
|
536
|
+
|
|
537
|
+
The order of the sequence corresponds to priority order for the
|
|
538
|
+
interpreter, from most to least important.
|
|
539
|
+
"""
|
|
540
|
+
|
|
541
|
+
interp_name = interpreter_name()
|
|
542
|
+
if interp_name == "cp":
|
|
543
|
+
yield from cpython_tags(warn=warn)
|
|
544
|
+
else:
|
|
545
|
+
yield from generic_tags()
|
|
546
|
+
|
|
547
|
+
if interp_name == "pp":
|
|
548
|
+
interp = "pp3"
|
|
549
|
+
elif interp_name == "cp":
|
|
550
|
+
interp = "cp" + interpreter_version(warn=warn)
|
|
551
|
+
else:
|
|
552
|
+
interp = None
|
|
553
|
+
yield from compatible_tags(interpreter=interp)
|