@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,128 @@
|
|
|
1
|
+
# Copyright (c) 2016 Ben Noordhuis <info@bnoordhuis.nl>. 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
|
+
import json
|
|
6
|
+
import os
|
|
7
|
+
|
|
8
|
+
import gyp.common
|
|
9
|
+
import gyp.xcode_emulation
|
|
10
|
+
|
|
11
|
+
generator_additional_non_configuration_keys = []
|
|
12
|
+
generator_additional_path_sections = []
|
|
13
|
+
generator_extra_sources_for_rules = []
|
|
14
|
+
generator_filelist_paths = None
|
|
15
|
+
generator_supports_multiple_toolsets = True
|
|
16
|
+
generator_wants_sorted_dependencies = False
|
|
17
|
+
|
|
18
|
+
# Lifted from make.py. The actual values don't matter much.
|
|
19
|
+
generator_default_variables = {
|
|
20
|
+
"CONFIGURATION_NAME": "$(BUILDTYPE)",
|
|
21
|
+
"EXECUTABLE_PREFIX": "",
|
|
22
|
+
"EXECUTABLE_SUFFIX": "",
|
|
23
|
+
"INTERMEDIATE_DIR": "$(obj).$(TOOLSET)/$(TARGET)/geni",
|
|
24
|
+
"PRODUCT_DIR": "$(builddir)",
|
|
25
|
+
"RULE_INPUT_DIRNAME": "%(INPUT_DIRNAME)s",
|
|
26
|
+
"RULE_INPUT_EXT": "$(suffix $<)",
|
|
27
|
+
"RULE_INPUT_NAME": "$(notdir $<)",
|
|
28
|
+
"RULE_INPUT_PATH": "$(abspath $<)",
|
|
29
|
+
"RULE_INPUT_ROOT": "%(INPUT_ROOT)s",
|
|
30
|
+
"SHARED_INTERMEDIATE_DIR": "$(obj)/gen",
|
|
31
|
+
"SHARED_LIB_PREFIX": "lib",
|
|
32
|
+
"STATIC_LIB_PREFIX": "lib",
|
|
33
|
+
"STATIC_LIB_SUFFIX": ".a",
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def IsMac(params):
|
|
38
|
+
return gyp.common.GetFlavor(params) == "mac"
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def CalculateVariables(default_variables, params):
|
|
42
|
+
default_variables.setdefault("OS", gyp.common.GetFlavor(params))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def AddCommandsForTarget(cwd, target, params, per_config_commands):
|
|
46
|
+
output_dir = params["generator_flags"].get("output_dir", "out")
|
|
47
|
+
for configuration_name, configuration in target["configurations"].items():
|
|
48
|
+
if IsMac(params):
|
|
49
|
+
xcode_settings = gyp.xcode_emulation.XcodeSettings(target)
|
|
50
|
+
cflags = xcode_settings.GetCflags(configuration_name)
|
|
51
|
+
cflags_c = xcode_settings.GetCflagsC(configuration_name)
|
|
52
|
+
cflags_cc = xcode_settings.GetCflagsCC(configuration_name)
|
|
53
|
+
else:
|
|
54
|
+
cflags = configuration.get("cflags", [])
|
|
55
|
+
cflags_c = configuration.get("cflags_c", [])
|
|
56
|
+
cflags_cc = configuration.get("cflags_cc", [])
|
|
57
|
+
|
|
58
|
+
cflags_c = cflags + cflags_c
|
|
59
|
+
cflags_cc = cflags + cflags_cc
|
|
60
|
+
|
|
61
|
+
defines = configuration.get("defines", [])
|
|
62
|
+
defines = ["-D" + s for s in defines]
|
|
63
|
+
|
|
64
|
+
# TODO(bnoordhuis) Handle generated source files.
|
|
65
|
+
extensions = (".c", ".cc", ".cpp", ".cxx")
|
|
66
|
+
sources = [s for s in target.get("sources", []) if s.endswith(extensions)]
|
|
67
|
+
|
|
68
|
+
def resolve(filename):
|
|
69
|
+
return os.path.abspath(os.path.join(cwd, filename))
|
|
70
|
+
|
|
71
|
+
# TODO(bnoordhuis) Handle generated header files.
|
|
72
|
+
include_dirs = configuration.get("include_dirs", [])
|
|
73
|
+
include_dirs = [s for s in include_dirs if not s.startswith("$(obj)")]
|
|
74
|
+
includes = ["-I" + resolve(s) for s in include_dirs]
|
|
75
|
+
|
|
76
|
+
defines = gyp.common.EncodePOSIXShellList(defines)
|
|
77
|
+
includes = gyp.common.EncodePOSIXShellList(includes)
|
|
78
|
+
cflags_c = gyp.common.EncodePOSIXShellList(cflags_c)
|
|
79
|
+
cflags_cc = gyp.common.EncodePOSIXShellList(cflags_cc)
|
|
80
|
+
|
|
81
|
+
commands = per_config_commands.setdefault(configuration_name, [])
|
|
82
|
+
for source in sources:
|
|
83
|
+
file = resolve(source)
|
|
84
|
+
isc = source.endswith(".c")
|
|
85
|
+
cc = "cc" if isc else "c++"
|
|
86
|
+
cflags = cflags_c if isc else cflags_cc
|
|
87
|
+
command = " ".join(
|
|
88
|
+
(
|
|
89
|
+
cc,
|
|
90
|
+
defines,
|
|
91
|
+
includes,
|
|
92
|
+
cflags,
|
|
93
|
+
"-c",
|
|
94
|
+
gyp.common.EncodePOSIXShellArgument(file),
|
|
95
|
+
)
|
|
96
|
+
)
|
|
97
|
+
commands.append({"command": command, "directory": output_dir, "file": file})
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def GenerateOutput(target_list, target_dicts, data, params):
|
|
101
|
+
per_config_commands = {}
|
|
102
|
+
for qualified_target, target in target_dicts.items():
|
|
103
|
+
build_file, _target_name, _toolset = gyp.common.ParseQualifiedTarget(
|
|
104
|
+
qualified_target
|
|
105
|
+
)
|
|
106
|
+
if IsMac(params):
|
|
107
|
+
settings = data[build_file]
|
|
108
|
+
gyp.xcode_emulation.MergeGlobalXcodeSettingsToSpec(settings, target)
|
|
109
|
+
cwd = os.path.dirname(build_file)
|
|
110
|
+
AddCommandsForTarget(cwd, target, params, per_config_commands)
|
|
111
|
+
|
|
112
|
+
output_dir = None
|
|
113
|
+
try:
|
|
114
|
+
# generator_output can be `None` on Windows machines, or even not
|
|
115
|
+
# defined in other cases
|
|
116
|
+
output_dir = params.get("options").generator_output
|
|
117
|
+
except AttributeError:
|
|
118
|
+
pass
|
|
119
|
+
output_dir = output_dir or params["generator_flags"].get("output_dir", "out")
|
|
120
|
+
for configuration_name, commands in per_config_commands.items():
|
|
121
|
+
filename = os.path.join(output_dir, configuration_name, "compile_commands.json")
|
|
122
|
+
gyp.common.EnsureDirExists(filename)
|
|
123
|
+
fp = open(filename, "w")
|
|
124
|
+
json.dump(commands, fp=fp, indent=0, check_circular=False)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
def PerformBuild(data, configurations, params):
|
|
128
|
+
pass
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
|
|
6
|
+
import json
|
|
7
|
+
import os
|
|
8
|
+
|
|
9
|
+
import gyp
|
|
10
|
+
import gyp.common
|
|
11
|
+
import gyp.msvs_emulation
|
|
12
|
+
|
|
13
|
+
generator_supports_multiple_toolsets = True
|
|
14
|
+
|
|
15
|
+
generator_wants_static_library_dependencies_adjusted = False
|
|
16
|
+
|
|
17
|
+
generator_filelist_paths = {}
|
|
18
|
+
|
|
19
|
+
generator_default_variables = {}
|
|
20
|
+
for dirname in [
|
|
21
|
+
"INTERMEDIATE_DIR",
|
|
22
|
+
"SHARED_INTERMEDIATE_DIR",
|
|
23
|
+
"PRODUCT_DIR",
|
|
24
|
+
"LIB_DIR",
|
|
25
|
+
"SHARED_LIB_DIR",
|
|
26
|
+
]:
|
|
27
|
+
# Some gyp steps fail if these are empty(!).
|
|
28
|
+
generator_default_variables[dirname] = "dir"
|
|
29
|
+
for unused in [
|
|
30
|
+
"RULE_INPUT_PATH",
|
|
31
|
+
"RULE_INPUT_ROOT",
|
|
32
|
+
"RULE_INPUT_NAME",
|
|
33
|
+
"RULE_INPUT_DIRNAME",
|
|
34
|
+
"RULE_INPUT_EXT",
|
|
35
|
+
"EXECUTABLE_PREFIX",
|
|
36
|
+
"EXECUTABLE_SUFFIX",
|
|
37
|
+
"STATIC_LIB_PREFIX",
|
|
38
|
+
"STATIC_LIB_SUFFIX",
|
|
39
|
+
"SHARED_LIB_PREFIX",
|
|
40
|
+
"SHARED_LIB_SUFFIX",
|
|
41
|
+
"CONFIGURATION_NAME",
|
|
42
|
+
]:
|
|
43
|
+
generator_default_variables[unused] = ""
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def CalculateVariables(default_variables, params):
|
|
47
|
+
generator_flags = params.get("generator_flags", {})
|
|
48
|
+
for key, val in generator_flags.items():
|
|
49
|
+
default_variables.setdefault(key, val)
|
|
50
|
+
default_variables.setdefault("OS", gyp.common.GetFlavor(params))
|
|
51
|
+
|
|
52
|
+
flavor = gyp.common.GetFlavor(params)
|
|
53
|
+
if flavor == "win":
|
|
54
|
+
gyp.msvs_emulation.CalculateCommonVariables(default_variables, params)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def CalculateGeneratorInputInfo(params):
|
|
58
|
+
"""Calculate the generator specific info that gets fed to input (called by
|
|
59
|
+
gyp)."""
|
|
60
|
+
generator_flags = params.get("generator_flags", {})
|
|
61
|
+
if generator_flags.get("adjust_static_libraries", False):
|
|
62
|
+
global generator_wants_static_library_dependencies_adjusted
|
|
63
|
+
generator_wants_static_library_dependencies_adjusted = True
|
|
64
|
+
|
|
65
|
+
toplevel = params["options"].toplevel_dir
|
|
66
|
+
generator_dir = os.path.relpath(params["options"].generator_output or ".")
|
|
67
|
+
# output_dir: relative path from generator_dir to the build directory.
|
|
68
|
+
output_dir = generator_flags.get("output_dir", "out")
|
|
69
|
+
qualified_out_dir = os.path.normpath(
|
|
70
|
+
os.path.join(toplevel, generator_dir, output_dir, "gypfiles")
|
|
71
|
+
)
|
|
72
|
+
global generator_filelist_paths
|
|
73
|
+
generator_filelist_paths = {
|
|
74
|
+
"toplevel": toplevel,
|
|
75
|
+
"qualified_out_dir": qualified_out_dir,
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def GenerateOutput(target_list, target_dicts, data, params):
|
|
80
|
+
# Map of target -> list of targets it depends on.
|
|
81
|
+
edges = {}
|
|
82
|
+
|
|
83
|
+
# Queue of targets to visit.
|
|
84
|
+
targets_to_visit = target_list[:]
|
|
85
|
+
|
|
86
|
+
while len(targets_to_visit) > 0:
|
|
87
|
+
target = targets_to_visit.pop()
|
|
88
|
+
if target in edges:
|
|
89
|
+
continue
|
|
90
|
+
edges[target] = []
|
|
91
|
+
|
|
92
|
+
for dep in target_dicts[target].get("dependencies", []):
|
|
93
|
+
edges[target].append(dep)
|
|
94
|
+
targets_to_visit.append(dep)
|
|
95
|
+
|
|
96
|
+
try:
|
|
97
|
+
filepath = params["generator_flags"]["output_dir"]
|
|
98
|
+
except KeyError:
|
|
99
|
+
filepath = "."
|
|
100
|
+
filename = os.path.join(filepath, "dump.json")
|
|
101
|
+
f = open(filename, "w")
|
|
102
|
+
json.dump(edges, f)
|
|
103
|
+
f.close()
|
|
104
|
+
print("Wrote json to %s." % filename)
|
|
@@ -0,0 +1,461 @@
|
|
|
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
|
+
"""GYP backend that generates Eclipse CDT settings files.
|
|
6
|
+
|
|
7
|
+
This backend DOES NOT generate Eclipse CDT projects. Instead, it generates XML
|
|
8
|
+
files that can be imported into an Eclipse CDT project. The XML file contains a
|
|
9
|
+
list of include paths and symbols (i.e. defines).
|
|
10
|
+
|
|
11
|
+
Because a full .cproject definition is not created by this generator, it's not
|
|
12
|
+
possible to properly define the include dirs and symbols for each file
|
|
13
|
+
individually. Instead, one set of includes/symbols is generated for the entire
|
|
14
|
+
project. This works fairly well (and is a vast improvement in general), but may
|
|
15
|
+
still result in a few indexer issues here and there.
|
|
16
|
+
|
|
17
|
+
This generator has no automated tests, so expect it to be broken.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
import os.path
|
|
21
|
+
import shlex
|
|
22
|
+
import subprocess
|
|
23
|
+
import xml.etree.ElementTree as ET
|
|
24
|
+
from xml.sax.saxutils import escape
|
|
25
|
+
|
|
26
|
+
import gyp
|
|
27
|
+
import gyp.common
|
|
28
|
+
import gyp.msvs_emulation
|
|
29
|
+
|
|
30
|
+
generator_wants_static_library_dependencies_adjusted = False
|
|
31
|
+
|
|
32
|
+
generator_default_variables = {}
|
|
33
|
+
|
|
34
|
+
for dirname in ["INTERMEDIATE_DIR", "PRODUCT_DIR", "LIB_DIR", "SHARED_LIB_DIR"]:
|
|
35
|
+
# Some gyp steps fail if these are empty(!), so we convert them to variables
|
|
36
|
+
generator_default_variables[dirname] = "$" + dirname
|
|
37
|
+
|
|
38
|
+
for unused in [
|
|
39
|
+
"RULE_INPUT_PATH",
|
|
40
|
+
"RULE_INPUT_ROOT",
|
|
41
|
+
"RULE_INPUT_NAME",
|
|
42
|
+
"RULE_INPUT_DIRNAME",
|
|
43
|
+
"RULE_INPUT_EXT",
|
|
44
|
+
"EXECUTABLE_PREFIX",
|
|
45
|
+
"EXECUTABLE_SUFFIX",
|
|
46
|
+
"STATIC_LIB_PREFIX",
|
|
47
|
+
"STATIC_LIB_SUFFIX",
|
|
48
|
+
"SHARED_LIB_PREFIX",
|
|
49
|
+
"SHARED_LIB_SUFFIX",
|
|
50
|
+
"CONFIGURATION_NAME",
|
|
51
|
+
]:
|
|
52
|
+
generator_default_variables[unused] = ""
|
|
53
|
+
|
|
54
|
+
# Include dirs will occasionally use the SHARED_INTERMEDIATE_DIR variable as
|
|
55
|
+
# part of the path when dealing with generated headers. This value will be
|
|
56
|
+
# replaced dynamically for each configuration.
|
|
57
|
+
generator_default_variables["SHARED_INTERMEDIATE_DIR"] = "$SHARED_INTERMEDIATE_DIR"
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def CalculateVariables(default_variables, params):
|
|
61
|
+
generator_flags = params.get("generator_flags", {})
|
|
62
|
+
for key, val in generator_flags.items():
|
|
63
|
+
default_variables.setdefault(key, val)
|
|
64
|
+
flavor = gyp.common.GetFlavor(params)
|
|
65
|
+
default_variables.setdefault("OS", flavor)
|
|
66
|
+
if flavor == "win":
|
|
67
|
+
gyp.msvs_emulation.CalculateCommonVariables(default_variables, params)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def CalculateGeneratorInputInfo(params):
|
|
71
|
+
"""Calculate the generator specific info that gets fed to input (called by
|
|
72
|
+
gyp)."""
|
|
73
|
+
generator_flags = params.get("generator_flags", {})
|
|
74
|
+
if generator_flags.get("adjust_static_libraries", False):
|
|
75
|
+
global generator_wants_static_library_dependencies_adjusted
|
|
76
|
+
generator_wants_static_library_dependencies_adjusted = True
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def GetAllIncludeDirectories(
|
|
80
|
+
target_list,
|
|
81
|
+
target_dicts,
|
|
82
|
+
shared_intermediate_dirs,
|
|
83
|
+
config_name,
|
|
84
|
+
params,
|
|
85
|
+
compiler_path,
|
|
86
|
+
):
|
|
87
|
+
"""Calculate the set of include directories to be used.
|
|
88
|
+
|
|
89
|
+
Returns:
|
|
90
|
+
A list including all the include_dir's specified for every target followed
|
|
91
|
+
by any include directories that were added as cflag compiler options.
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
gyp_includes_set = set()
|
|
95
|
+
compiler_includes_list = []
|
|
96
|
+
|
|
97
|
+
# Find compiler's default include dirs.
|
|
98
|
+
if compiler_path:
|
|
99
|
+
command = shlex.split(compiler_path)
|
|
100
|
+
command.extend(["-E", "-xc++", "-v", "-"])
|
|
101
|
+
proc = subprocess.Popen(
|
|
102
|
+
args=command,
|
|
103
|
+
stdin=subprocess.PIPE,
|
|
104
|
+
stdout=subprocess.PIPE,
|
|
105
|
+
stderr=subprocess.PIPE,
|
|
106
|
+
)
|
|
107
|
+
output = proc.communicate()[1].decode("utf-8")
|
|
108
|
+
# Extract the list of include dirs from the output, which has this format:
|
|
109
|
+
# ...
|
|
110
|
+
# #include "..." search starts here:
|
|
111
|
+
# #include <...> search starts here:
|
|
112
|
+
# /usr/include/c++/4.6
|
|
113
|
+
# /usr/local/include
|
|
114
|
+
# End of search list.
|
|
115
|
+
# ...
|
|
116
|
+
in_include_list = False
|
|
117
|
+
for line in output.splitlines():
|
|
118
|
+
if line.startswith("#include"):
|
|
119
|
+
in_include_list = True
|
|
120
|
+
continue
|
|
121
|
+
if line.startswith("End of search list."):
|
|
122
|
+
break
|
|
123
|
+
if in_include_list:
|
|
124
|
+
include_dir = line.strip()
|
|
125
|
+
if include_dir not in compiler_includes_list:
|
|
126
|
+
compiler_includes_list.append(include_dir)
|
|
127
|
+
|
|
128
|
+
flavor = gyp.common.GetFlavor(params)
|
|
129
|
+
if flavor == "win":
|
|
130
|
+
generator_flags = params.get("generator_flags", {})
|
|
131
|
+
for target_name in target_list:
|
|
132
|
+
target = target_dicts[target_name]
|
|
133
|
+
if config_name in target["configurations"]:
|
|
134
|
+
config = target["configurations"][config_name]
|
|
135
|
+
|
|
136
|
+
# Look for any include dirs that were explicitly added via cflags. This
|
|
137
|
+
# may be done in gyp files to force certain includes to come at the end.
|
|
138
|
+
# TODO(jgreenwald): Change the gyp files to not abuse cflags for this, and
|
|
139
|
+
# remove this.
|
|
140
|
+
if flavor == "win":
|
|
141
|
+
msvs_settings = gyp.msvs_emulation.MsvsSettings(target, generator_flags)
|
|
142
|
+
cflags = msvs_settings.GetCflags(config_name)
|
|
143
|
+
else:
|
|
144
|
+
cflags = config["cflags"]
|
|
145
|
+
for cflag in cflags:
|
|
146
|
+
if cflag.startswith("-I"):
|
|
147
|
+
include_dir = cflag[2:]
|
|
148
|
+
if include_dir not in compiler_includes_list:
|
|
149
|
+
compiler_includes_list.append(include_dir)
|
|
150
|
+
|
|
151
|
+
# Find standard gyp include dirs.
|
|
152
|
+
if "include_dirs" in config:
|
|
153
|
+
include_dirs = config["include_dirs"]
|
|
154
|
+
for shared_intermediate_dir in shared_intermediate_dirs:
|
|
155
|
+
for include_dir in include_dirs:
|
|
156
|
+
include_dir = include_dir.replace(
|
|
157
|
+
"$SHARED_INTERMEDIATE_DIR", shared_intermediate_dir
|
|
158
|
+
)
|
|
159
|
+
if not os.path.isabs(include_dir):
|
|
160
|
+
base_dir = os.path.dirname(target_name)
|
|
161
|
+
|
|
162
|
+
include_dir = base_dir + "/" + include_dir
|
|
163
|
+
include_dir = os.path.abspath(include_dir)
|
|
164
|
+
|
|
165
|
+
gyp_includes_set.add(include_dir)
|
|
166
|
+
|
|
167
|
+
# Generate a list that has all the include dirs.
|
|
168
|
+
all_includes_list = list(gyp_includes_set)
|
|
169
|
+
all_includes_list.sort()
|
|
170
|
+
for compiler_include in compiler_includes_list:
|
|
171
|
+
if compiler_include not in gyp_includes_set:
|
|
172
|
+
all_includes_list.append(compiler_include)
|
|
173
|
+
|
|
174
|
+
# All done.
|
|
175
|
+
return all_includes_list
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def GetCompilerPath(target_list, data, options):
|
|
179
|
+
"""Determine a command that can be used to invoke the compiler.
|
|
180
|
+
|
|
181
|
+
Returns:
|
|
182
|
+
If this is a gyp project that has explicit make settings, try to determine
|
|
183
|
+
the compiler from that. Otherwise, see if a compiler was specified via the
|
|
184
|
+
CC_target environment variable.
|
|
185
|
+
"""
|
|
186
|
+
# First, see if the compiler is configured in make's settings.
|
|
187
|
+
build_file, _, _ = gyp.common.ParseQualifiedTarget(target_list[0])
|
|
188
|
+
make_global_settings_dict = data[build_file].get("make_global_settings", {})
|
|
189
|
+
for key, value in make_global_settings_dict:
|
|
190
|
+
if key in ["CC", "CXX"]:
|
|
191
|
+
return os.path.join(options.toplevel_dir, value)
|
|
192
|
+
|
|
193
|
+
# Check to see if the compiler was specified as an environment variable.
|
|
194
|
+
for key in ["CC_target", "CC", "CXX"]:
|
|
195
|
+
compiler = os.environ.get(key)
|
|
196
|
+
if compiler:
|
|
197
|
+
return compiler
|
|
198
|
+
|
|
199
|
+
return "gcc"
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
def GetAllDefines(target_list, target_dicts, data, config_name, params, compiler_path):
|
|
203
|
+
"""Calculate the defines for a project.
|
|
204
|
+
|
|
205
|
+
Returns:
|
|
206
|
+
A dict that includes explicit defines declared in gyp files along with all
|
|
207
|
+
of the default defines that the compiler uses.
|
|
208
|
+
"""
|
|
209
|
+
|
|
210
|
+
# Get defines declared in the gyp files.
|
|
211
|
+
all_defines = {}
|
|
212
|
+
flavor = gyp.common.GetFlavor(params)
|
|
213
|
+
if flavor == "win":
|
|
214
|
+
generator_flags = params.get("generator_flags", {})
|
|
215
|
+
for target_name in target_list:
|
|
216
|
+
target = target_dicts[target_name]
|
|
217
|
+
|
|
218
|
+
if flavor == "win":
|
|
219
|
+
msvs_settings = gyp.msvs_emulation.MsvsSettings(target, generator_flags)
|
|
220
|
+
extra_defines = msvs_settings.GetComputedDefines(config_name)
|
|
221
|
+
else:
|
|
222
|
+
extra_defines = []
|
|
223
|
+
if config_name in target["configurations"]:
|
|
224
|
+
config = target["configurations"][config_name]
|
|
225
|
+
target_defines = config["defines"]
|
|
226
|
+
else:
|
|
227
|
+
target_defines = []
|
|
228
|
+
for define in target_defines + extra_defines:
|
|
229
|
+
split_define = define.split("=", 1)
|
|
230
|
+
if len(split_define) == 1:
|
|
231
|
+
split_define.append("1")
|
|
232
|
+
if split_define[0].strip() in all_defines:
|
|
233
|
+
# Already defined
|
|
234
|
+
continue
|
|
235
|
+
all_defines[split_define[0].strip()] = split_define[1].strip()
|
|
236
|
+
# Get default compiler defines (if possible).
|
|
237
|
+
if flavor == "win":
|
|
238
|
+
return all_defines # Default defines already processed in the loop above.
|
|
239
|
+
if compiler_path:
|
|
240
|
+
command = shlex.split(compiler_path)
|
|
241
|
+
command.extend(["-E", "-dM", "-"])
|
|
242
|
+
cpp_proc = subprocess.Popen(
|
|
243
|
+
args=command, cwd=".", stdin=subprocess.PIPE, stdout=subprocess.PIPE
|
|
244
|
+
)
|
|
245
|
+
cpp_output = cpp_proc.communicate()[0].decode("utf-8")
|
|
246
|
+
cpp_lines = cpp_output.split("\n")
|
|
247
|
+
for cpp_line in cpp_lines:
|
|
248
|
+
if not cpp_line.strip():
|
|
249
|
+
continue
|
|
250
|
+
cpp_line_parts = cpp_line.split(" ", 2)
|
|
251
|
+
key = cpp_line_parts[1]
|
|
252
|
+
val = cpp_line_parts[2] if len(cpp_line_parts) >= 3 else "1"
|
|
253
|
+
all_defines[key] = val
|
|
254
|
+
|
|
255
|
+
return all_defines
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
def WriteIncludePaths(out, eclipse_langs, include_dirs):
|
|
259
|
+
"""Write the includes section of a CDT settings export file."""
|
|
260
|
+
|
|
261
|
+
out.write(
|
|
262
|
+
' <section name="org.eclipse.cdt.internal.ui.wizards.'
|
|
263
|
+
'settingswizards.IncludePaths">\n'
|
|
264
|
+
)
|
|
265
|
+
out.write(' <language name="holder for library settings"></language>\n')
|
|
266
|
+
for lang in eclipse_langs:
|
|
267
|
+
out.write(' <language name="%s">\n' % lang)
|
|
268
|
+
for include_dir in include_dirs:
|
|
269
|
+
out.write(
|
|
270
|
+
' <includepath workspace_path="false">%s</includepath>\n'
|
|
271
|
+
% include_dir
|
|
272
|
+
)
|
|
273
|
+
out.write(" </language>\n")
|
|
274
|
+
out.write(" </section>\n")
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
def WriteMacros(out, eclipse_langs, defines):
|
|
278
|
+
"""Write the macros section of a CDT settings export file."""
|
|
279
|
+
|
|
280
|
+
out.write(
|
|
281
|
+
' <section name="org.eclipse.cdt.internal.ui.wizards.'
|
|
282
|
+
'settingswizards.Macros">\n'
|
|
283
|
+
)
|
|
284
|
+
out.write(' <language name="holder for library settings"></language>\n')
|
|
285
|
+
for lang in eclipse_langs:
|
|
286
|
+
out.write(' <language name="%s">\n' % lang)
|
|
287
|
+
for key in sorted(defines):
|
|
288
|
+
out.write(
|
|
289
|
+
" <macro><name>%s</name><value>%s</value></macro>\n"
|
|
290
|
+
% (escape(key), escape(defines[key]))
|
|
291
|
+
)
|
|
292
|
+
out.write(" </language>\n")
|
|
293
|
+
out.write(" </section>\n")
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
def GenerateOutputForConfig(target_list, target_dicts, data, params, config_name):
|
|
297
|
+
options = params["options"]
|
|
298
|
+
generator_flags = params.get("generator_flags", {})
|
|
299
|
+
|
|
300
|
+
# build_dir: relative path from source root to our output files.
|
|
301
|
+
# e.g. "out/Debug"
|
|
302
|
+
build_dir = os.path.join(generator_flags.get("output_dir", "out"), config_name)
|
|
303
|
+
|
|
304
|
+
toplevel_build = os.path.join(options.toplevel_dir, build_dir)
|
|
305
|
+
# Ninja uses out/Debug/gen while make uses out/Debug/obj/gen as the
|
|
306
|
+
# SHARED_INTERMEDIATE_DIR. Include both possible locations.
|
|
307
|
+
shared_intermediate_dirs = [
|
|
308
|
+
os.path.join(toplevel_build, "obj", "gen"),
|
|
309
|
+
os.path.join(toplevel_build, "gen"),
|
|
310
|
+
]
|
|
311
|
+
|
|
312
|
+
GenerateCdtSettingsFile(
|
|
313
|
+
target_list,
|
|
314
|
+
target_dicts,
|
|
315
|
+
data,
|
|
316
|
+
params,
|
|
317
|
+
config_name,
|
|
318
|
+
os.path.join(toplevel_build, "eclipse-cdt-settings.xml"),
|
|
319
|
+
options,
|
|
320
|
+
shared_intermediate_dirs,
|
|
321
|
+
)
|
|
322
|
+
GenerateClasspathFile(
|
|
323
|
+
target_list,
|
|
324
|
+
target_dicts,
|
|
325
|
+
options.toplevel_dir,
|
|
326
|
+
toplevel_build,
|
|
327
|
+
os.path.join(toplevel_build, "eclipse-classpath.xml"),
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
def GenerateCdtSettingsFile(
|
|
332
|
+
target_list,
|
|
333
|
+
target_dicts,
|
|
334
|
+
data,
|
|
335
|
+
params,
|
|
336
|
+
config_name,
|
|
337
|
+
out_name,
|
|
338
|
+
options,
|
|
339
|
+
shared_intermediate_dirs,
|
|
340
|
+
):
|
|
341
|
+
gyp.common.EnsureDirExists(out_name)
|
|
342
|
+
with open(out_name, "w") as out:
|
|
343
|
+
out.write('<?xml version="1.0" encoding="UTF-8"?>\n')
|
|
344
|
+
out.write("<cdtprojectproperties>\n")
|
|
345
|
+
|
|
346
|
+
eclipse_langs = [
|
|
347
|
+
"C++ Source File",
|
|
348
|
+
"C Source File",
|
|
349
|
+
"Assembly Source File",
|
|
350
|
+
"GNU C++",
|
|
351
|
+
"GNU C",
|
|
352
|
+
"Assembly",
|
|
353
|
+
]
|
|
354
|
+
compiler_path = GetCompilerPath(target_list, data, options)
|
|
355
|
+
include_dirs = GetAllIncludeDirectories(
|
|
356
|
+
target_list,
|
|
357
|
+
target_dicts,
|
|
358
|
+
shared_intermediate_dirs,
|
|
359
|
+
config_name,
|
|
360
|
+
params,
|
|
361
|
+
compiler_path,
|
|
362
|
+
)
|
|
363
|
+
WriteIncludePaths(out, eclipse_langs, include_dirs)
|
|
364
|
+
defines = GetAllDefines(
|
|
365
|
+
target_list, target_dicts, data, config_name, params, compiler_path
|
|
366
|
+
)
|
|
367
|
+
WriteMacros(out, eclipse_langs, defines)
|
|
368
|
+
|
|
369
|
+
out.write("</cdtprojectproperties>\n")
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
def GenerateClasspathFile(
|
|
373
|
+
target_list, target_dicts, toplevel_dir, toplevel_build, out_name
|
|
374
|
+
):
|
|
375
|
+
"""Generates a classpath file suitable for symbol navigation and code
|
|
376
|
+
completion of Java code (such as in Android projects) by finding all
|
|
377
|
+
.java and .jar files used as action inputs."""
|
|
378
|
+
gyp.common.EnsureDirExists(out_name)
|
|
379
|
+
result = ET.Element("classpath")
|
|
380
|
+
|
|
381
|
+
def AddElements(kind, paths):
|
|
382
|
+
# First, we need to normalize the paths so they are all relative to the
|
|
383
|
+
# toplevel dir.
|
|
384
|
+
rel_paths = set()
|
|
385
|
+
for path in paths:
|
|
386
|
+
if os.path.isabs(path):
|
|
387
|
+
rel_paths.add(os.path.relpath(path, toplevel_dir))
|
|
388
|
+
else:
|
|
389
|
+
rel_paths.add(path)
|
|
390
|
+
|
|
391
|
+
for path in sorted(rel_paths):
|
|
392
|
+
entry_element = ET.SubElement(result, "classpathentry")
|
|
393
|
+
entry_element.set("kind", kind)
|
|
394
|
+
entry_element.set("path", path)
|
|
395
|
+
|
|
396
|
+
AddElements("lib", GetJavaJars(target_list, target_dicts, toplevel_dir))
|
|
397
|
+
AddElements("src", GetJavaSourceDirs(target_list, target_dicts, toplevel_dir))
|
|
398
|
+
# Include the standard JRE container and a dummy out folder
|
|
399
|
+
AddElements("con", ["org.eclipse.jdt.launching.JRE_CONTAINER"])
|
|
400
|
+
# Include a dummy out folder so that Eclipse doesn't use the default /bin
|
|
401
|
+
# folder in the root of the project.
|
|
402
|
+
AddElements("output", [os.path.join(toplevel_build, ".eclipse-java-build")])
|
|
403
|
+
|
|
404
|
+
ET.ElementTree(result).write(out_name)
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
def GetJavaJars(target_list, target_dicts, toplevel_dir):
|
|
408
|
+
"""Generates a sequence of all .jars used as inputs."""
|
|
409
|
+
for target_name in target_list:
|
|
410
|
+
target = target_dicts[target_name]
|
|
411
|
+
for action in target.get("actions", []):
|
|
412
|
+
for input_ in action["inputs"]:
|
|
413
|
+
if os.path.splitext(input_)[1] == ".jar" and not input_.startswith("$"):
|
|
414
|
+
if os.path.isabs(input_):
|
|
415
|
+
yield input_
|
|
416
|
+
else:
|
|
417
|
+
yield os.path.join(os.path.dirname(target_name), input_)
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
def GetJavaSourceDirs(target_list, target_dicts, toplevel_dir):
|
|
421
|
+
"""Generates a sequence of all likely java package root directories."""
|
|
422
|
+
for target_name in target_list:
|
|
423
|
+
target = target_dicts[target_name]
|
|
424
|
+
for action in target.get("actions", []):
|
|
425
|
+
for input_ in action["inputs"]:
|
|
426
|
+
if os.path.splitext(input_)[1] == ".java" and not input_.startswith(
|
|
427
|
+
"$"
|
|
428
|
+
):
|
|
429
|
+
dir_ = os.path.dirname(
|
|
430
|
+
os.path.join(os.path.dirname(target_name), input_)
|
|
431
|
+
)
|
|
432
|
+
# If there is a parent 'src' or 'java' folder, navigate up to it -
|
|
433
|
+
# these are canonical package root names in Chromium. This will
|
|
434
|
+
# break if 'src' or 'java' exists in the package structure. This
|
|
435
|
+
# could be further improved by inspecting the java file for the
|
|
436
|
+
# package name if this proves to be too fragile in practice.
|
|
437
|
+
parent_search = dir_
|
|
438
|
+
while os.path.basename(parent_search) not in ["src", "java"]:
|
|
439
|
+
parent_search, _ = os.path.split(parent_search)
|
|
440
|
+
if not parent_search or parent_search == toplevel_dir:
|
|
441
|
+
# Didn't find a known root, just return the original path
|
|
442
|
+
yield dir_
|
|
443
|
+
break
|
|
444
|
+
else:
|
|
445
|
+
yield parent_search
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
def GenerateOutput(target_list, target_dicts, data, params):
|
|
449
|
+
"""Generate an XML settings file that can be imported into a CDT project."""
|
|
450
|
+
|
|
451
|
+
if params["options"].generator_output:
|
|
452
|
+
raise NotImplementedError("--generator_output not implemented for eclipse")
|
|
453
|
+
|
|
454
|
+
if user_config := params.get("generator_flags", {}).get("config", None):
|
|
455
|
+
GenerateOutputForConfig(target_list, target_dicts, data, params, user_config)
|
|
456
|
+
else:
|
|
457
|
+
config_names = target_dicts[target_list[0]]["configurations"]
|
|
458
|
+
for config_name in config_names:
|
|
459
|
+
GenerateOutputForConfig(
|
|
460
|
+
target_list, target_dicts, data, params, config_name
|
|
461
|
+
)
|