dep 0.18.2 → 1.0.0
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/.claude/settings.local.json +41 -0
- package/.github/workflows/nodejs.yml +20 -0
- package/CHANGELOG.md +7 -0
- package/README.md +12 -40
- package/bin/dep.js +24 -20
- package/lib/install/installer/bin.js +28 -24
- package/lib/install/installer/git.js +7 -7
- package/lib/install/installer/local.js +2 -2
- package/lib/install/installer/registry.js +5 -5
- package/lib/install/installer/remote.js +5 -5
- package/lib/install/installer.js +18 -17
- package/lib/install/resolver/fetcher.js +6 -6
- package/lib/install/resolver/fetchers/git.js +7 -7
- package/lib/install/resolver/fetchers/local.js +4 -3
- package/lib/install/resolver/fetchers/registry.js +12 -12
- package/lib/install/resolver/fetchers/remote.js +6 -6
- package/lib/install/resolver/tree.js +9 -12
- package/lib/install/resolver.js +7 -7
- package/lib/install/saver.js +8 -8
- package/lib/install.js +13 -13
- package/lib/lock/locker.js +114 -6
- package/lib/lock/resolver/fetcher.js +29 -0
- package/lib/lock/resolver/fetchers/git.js +76 -0
- package/lib/lock/resolver/fetchers/local.js +19 -0
- package/lib/lock/resolver/fetchers/registry.js +51 -0
- package/lib/lock/resolver/fetchers/remote.js +43 -0
- package/lib/lock/resolver/tree.js +43 -0
- package/lib/lock/resolver.js +43 -74
- package/lib/lock.js +16 -15
- package/lib/run/list.js +1 -1
- package/lib/run/runner.js +24 -20
- package/lib/run.js +10 -6
- package/lib/utils/drop-privilege.js +7 -4
- package/lib/utils/git.js +12 -11
- package/lib/utils/is-root.js +1 -1
- package/lib/utils/nm.js +2 -2
- package/lib/utils/node-gyp.js +5 -4
- package/lib/utils/npmrc.js +8 -5
- package/lib/utils/pick-version.js +15 -0
- package/node_modules/@isaacs/fs-minipass/README.md +71 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
- package/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
- package/node_modules/@isaacs/fs-minipass/package.json +72 -0
- package/node_modules/@pnpm/config.env-replace/dist/env-replace.d.ts +2 -0
- package/node_modules/@pnpm/config.env-replace/dist/env-replace.docs.mdx +18 -0
- package/node_modules/@pnpm/config.env-replace/dist/env-replace.js +30 -0
- package/node_modules/@pnpm/config.env-replace/dist/env-replace.js.map +1 -0
- package/node_modules/@pnpm/config.env-replace/dist/env-replace.spec.d.ts +1 -0
- package/node_modules/@pnpm/config.env-replace/dist/env-replace.spec.js +26 -0
- package/node_modules/@pnpm/config.env-replace/dist/env-replace.spec.js.map +1 -0
- package/node_modules/@pnpm/config.env-replace/dist/index.d.ts +1 -0
- package/node_modules/@pnpm/config.env-replace/dist/index.js +6 -0
- package/node_modules/@pnpm/config.env-replace/dist/index.js.map +1 -0
- package/node_modules/@pnpm/config.env-replace/dist/preview-1680634751300.js +7 -0
- package/node_modules/@pnpm/config.env-replace/dist/tsconfig.json +32 -0
- package/node_modules/@pnpm/config.env-replace/env-replace.docs.mdx +18 -0
- package/node_modules/@pnpm/config.env-replace/env-replace.spec.ts +27 -0
- package/node_modules/@pnpm/config.env-replace/env-replace.ts +28 -0
- package/node_modules/@pnpm/config.env-replace/index.ts +1 -0
- package/node_modules/@pnpm/config.env-replace/package-tar/pnpm-config.env-replace-1.1.0.tgz +0 -0
- package/node_modules/@pnpm/config.env-replace/package.json +31 -0
- package/node_modules/@pnpm/config.env-replace/tsconfig.json +32 -0
- package/node_modules/@pnpm/config.env-replace/types/asset.d.ts +29 -0
- package/node_modules/@pnpm/config.env-replace/types/style.d.ts +42 -0
- package/node_modules/@pnpm/network.ca-file/ca-file.docs.mdx +12 -0
- package/node_modules/@pnpm/network.ca-file/ca-file.spec.ts +20 -0
- package/node_modules/@pnpm/network.ca-file/ca-file.ts +16 -0
- package/node_modules/@pnpm/network.ca-file/dist/ca-file.d.ts +1 -0
- package/node_modules/@pnpm/network.ca-file/dist/ca-file.docs.mdx +12 -0
- package/node_modules/@pnpm/network.ca-file/dist/ca-file.js +25 -0
- package/node_modules/@pnpm/network.ca-file/dist/ca-file.js.map +1 -0
- package/node_modules/@pnpm/network.ca-file/dist/ca-file.spec.d.ts +1 -0
- package/node_modules/@pnpm/network.ca-file/dist/ca-file.spec.js +24 -0
- package/node_modules/@pnpm/network.ca-file/dist/ca-file.spec.js.map +1 -0
- package/node_modules/@pnpm/network.ca-file/dist/fixtures/ca-file1.txt +14 -0
- package/node_modules/@pnpm/network.ca-file/dist/index.d.ts +1 -0
- package/node_modules/@pnpm/network.ca-file/dist/index.js +18 -0
- package/node_modules/@pnpm/network.ca-file/dist/index.js.map +1 -0
- package/node_modules/@pnpm/network.ca-file/dist/tsconfig.json +32 -0
- package/node_modules/@pnpm/network.ca-file/fixtures/ca-file1.txt +14 -0
- package/node_modules/@pnpm/network.ca-file/index.ts +1 -0
- package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/README.md +143 -0
- package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/clone.js +23 -0
- package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/package.json +50 -0
- package/node_modules/@pnpm/network.ca-file/node_modules/graceful-fs/polyfills.js +355 -0
- package/node_modules/@pnpm/network.ca-file/package-tar/pnpm-network.ca-file-1.0.2.tgz +0 -0
- package/node_modules/@pnpm/network.ca-file/package.json +34 -0
- package/node_modules/@pnpm/network.ca-file/preview-1668994697977.js +7 -0
- package/node_modules/@pnpm/network.ca-file/tsconfig.json +32 -0
- package/node_modules/@pnpm/network.ca-file/types/asset.d.ts +29 -0
- package/node_modules/@pnpm/network.ca-file/types/style.d.ts +42 -0
- package/node_modules/@pnpm/npm-conf/index.js +96 -0
- package/node_modules/@pnpm/npm-conf/lib/conf.js +196 -0
- package/node_modules/@pnpm/npm-conf/lib/defaults.js +176 -0
- package/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js +19 -0
- package/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.test.js +50 -0
- package/node_modules/@pnpm/npm-conf/lib/make.js +99 -0
- package/node_modules/@pnpm/npm-conf/lib/tsconfig.make-out.json +14 -0
- package/node_modules/@pnpm/npm-conf/lib/types.d.ts +122 -0
- package/node_modules/@pnpm/npm-conf/lib/types.js +134 -0
- package/node_modules/@pnpm/npm-conf/lib/util.js +145 -0
- package/node_modules/@pnpm/npm-conf/lib/util.test.js +8 -0
- package/node_modules/@pnpm/npm-conf/license +9 -0
- package/node_modules/@pnpm/npm-conf/package.json +45 -0
- package/node_modules/@pnpm/npm-conf/readme.md +47 -0
- package/node_modules/abbrev/lib/index.js +53 -0
- package/node_modules/abbrev/package.json +33 -47
- package/node_modules/ajv/README.md +224 -78
- package/node_modules/ajv/dist/ajv.bundle.js +187 -158
- package/node_modules/ajv/dist/ajv.min.js +2 -2
- package/node_modules/ajv/dist/ajv.min.js.map +1 -1
- package/node_modules/ajv/lib/ajv.d.ts +16 -4
- package/node_modules/ajv/lib/ajv.js +9 -0
- package/node_modules/ajv/lib/compile/equal.js +1 -1
- package/node_modules/ajv/lib/compile/formats.js +10 -17
- package/node_modules/ajv/lib/compile/index.js +9 -7
- package/node_modules/ajv/lib/compile/util.js +9 -44
- package/node_modules/ajv/lib/data.js +1 -1
- package/node_modules/ajv/lib/definition_schema.js +1 -1
- package/node_modules/ajv/lib/dot/_limit.jst +9 -0
- package/node_modules/ajv/lib/dot/_limitItems.jst +2 -0
- package/node_modules/ajv/lib/dot/_limitLength.jst +2 -0
- package/node_modules/ajv/lib/dot/_limitProperties.jst +2 -0
- package/node_modules/ajv/lib/dot/allOf.jst +0 -2
- package/node_modules/ajv/lib/dot/anyOf.jst +0 -2
- package/node_modules/ajv/lib/dot/coerce.def +18 -28
- package/node_modules/ajv/lib/dot/contains.jst +0 -2
- package/node_modules/ajv/lib/dot/definitions.def +9 -7
- package/node_modules/ajv/lib/dot/dependencies.jst +1 -2
- package/node_modules/ajv/lib/dot/if.jst +0 -2
- package/node_modules/ajv/lib/dot/items.jst +0 -2
- package/node_modules/ajv/lib/dot/multipleOf.jst +2 -0
- package/node_modules/ajv/lib/dot/pattern.jst +15 -4
- package/node_modules/ajv/lib/dot/properties.jst +6 -5
- package/node_modules/ajv/lib/dot/propertyNames.jst +0 -2
- package/node_modules/ajv/lib/dot/uniqueItems.jst +1 -1
- package/node_modules/ajv/lib/dot/validate.jst +3 -9
- package/node_modules/ajv/lib/dotjs/_limit.js +6 -0
- package/node_modules/ajv/lib/dotjs/_limitItems.js +3 -0
- package/node_modules/ajv/lib/dotjs/_limitLength.js +3 -0
- package/node_modules/ajv/lib/dotjs/_limitProperties.js +3 -0
- package/node_modules/ajv/lib/dotjs/allOf.js +1 -2
- package/node_modules/ajv/lib/dotjs/anyOf.js +1 -2
- package/node_modules/ajv/lib/dotjs/contains.js +1 -2
- package/node_modules/ajv/lib/dotjs/dependencies.js +2 -2
- package/node_modules/ajv/lib/dotjs/if.js +2 -3
- package/node_modules/ajv/lib/dotjs/items.js +3 -4
- package/node_modules/ajv/lib/dotjs/multipleOf.js +3 -0
- package/node_modules/ajv/lib/dotjs/not.js +1 -1
- package/node_modules/ajv/lib/dotjs/oneOf.js +1 -1
- package/node_modules/ajv/lib/dotjs/pattern.js +14 -4
- package/node_modules/ajv/lib/dotjs/properties.js +11 -6
- package/node_modules/ajv/lib/dotjs/propertyNames.js +1 -2
- package/node_modules/ajv/lib/dotjs/required.js +1 -1
- package/node_modules/ajv/lib/dotjs/uniqueItems.js +1 -1
- package/node_modules/ajv/lib/dotjs/validate.js +13 -25
- package/node_modules/ajv/lib/keyword.js +1 -1
- package/node_modules/ajv/lib/refs/data.json +1 -1
- package/node_modules/ajv/lib/refs/json-schema-secure.json +1 -1
- package/node_modules/ajv/package.json +77 -97
- package/node_modules/ajv/scripts/publish-built-version +1 -1
- package/node_modules/ajv/scripts/travis-gh-pages +1 -1
- package/node_modules/ansi-align/CHANGELOG.md +8 -1
- package/node_modules/ansi-align/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/index.js +25 -21
- package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/license +4 -16
- package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/package.json +40 -75
- package/node_modules/ansi-align/node_modules/is-fullwidth-code-point/readme.md +6 -6
- package/node_modules/ansi-align/node_modules/string-width/index.js +15 -7
- package/node_modules/ansi-align/node_modules/string-width/package.json +54 -86
- package/node_modules/ansi-align/node_modules/string-width/readme.md +15 -10
- package/node_modules/ansi-align/package.json +26 -55
- package/node_modules/ansi-regex/index.js +8 -2
- package/node_modules/ansi-regex/license +4 -16
- package/node_modules/ansi-regex/package.json +53 -107
- package/node_modules/ansi-regex/readme.md +48 -9
- package/node_modules/any-promise/package.json +24 -51
- package/node_modules/asn1/Jenkinsfile +65 -0
- package/node_modules/asn1/package.json +19 -63
- package/node_modules/assert-plus/package.json +14 -78
- package/node_modules/asynckit/package.json +40 -68
- package/node_modules/atomically/dist/constants.d.ts +15 -0
- package/node_modules/atomically/dist/constants.js +19 -0
- package/node_modules/atomically/dist/index.d.ts +15 -0
- package/node_modules/atomically/dist/index.js +209 -0
- package/node_modules/atomically/dist/types.d.ts +27 -0
- package/node_modules/atomically/dist/types.js +2 -0
- package/node_modules/atomically/dist/utils/lang.d.ts +6 -0
- package/node_modules/atomically/dist/utils/lang.js +16 -0
- package/node_modules/atomically/dist/utils/scheduler.d.ts +6 -0
- package/node_modules/atomically/dist/utils/scheduler.js +34 -0
- package/node_modules/atomically/dist/utils/temp.d.ts +11 -0
- package/node_modules/atomically/dist/utils/temp.js +59 -0
- package/node_modules/atomically/license +21 -0
- package/node_modules/atomically/package.json +42 -0
- package/node_modules/atomically/readme.md +147 -0
- package/node_modules/aws-sign2/package.json +10 -43
- package/node_modules/aws4/README.md +68 -380
- package/node_modules/aws4/aws4.js +71 -29
- package/node_modules/aws4/package.json +14 -97
- package/node_modules/bare-events/LICENSE +201 -0
- package/node_modules/bare-events/README.md +25 -0
- package/node_modules/bare-events/global.d.ts +15 -0
- package/node_modules/bare-events/global.js +5 -0
- package/node_modules/bare-events/index.d.ts +85 -0
- package/node_modules/bare-events/index.js +378 -0
- package/node_modules/bare-events/lib/errors.js +26 -0
- package/node_modules/bare-events/package.json +63 -0
- package/node_modules/bare-events/web.d.ts +79 -0
- package/node_modules/bare-events/web.js +353 -0
- package/node_modules/bare-fs/CMakeLists.txt +13 -0
- package/node_modules/bare-fs/LICENSE +201 -0
- package/node_modules/bare-fs/README.md +989 -0
- package/node_modules/bare-fs/binding.c +2889 -0
- package/node_modules/bare-fs/binding.js +1 -0
- package/node_modules/bare-fs/index.d.ts +1232 -0
- package/node_modules/bare-fs/index.js +2842 -0
- package/node_modules/bare-fs/lib/constants.d.ts +49 -0
- package/node_modules/bare-fs/lib/constants.js +49 -0
- package/node_modules/bare-fs/lib/errors.d.ts +11 -0
- package/node_modules/bare-fs/lib/errors.js +55 -0
- package/node_modules/bare-fs/package.json +74 -0
- package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/promises.d.ts +313 -0
- package/node_modules/bare-fs/promises.js +119 -0
- package/node_modules/bare-os/CMakeLists.txt +13 -0
- package/node_modules/bare-os/LICENSE +201 -0
- package/node_modules/bare-os/README.md +252 -0
- package/node_modules/bare-os/binding.c +1538 -0
- package/node_modules/bare-os/binding.js +1 -0
- package/node_modules/bare-os/index.d.ts +150 -0
- package/node_modules/bare-os/index.js +131 -0
- package/node_modules/bare-os/lib/constants.d.ts +7 -0
- package/node_modules/bare-os/lib/constants.js +7 -0
- package/node_modules/bare-os/lib/errors.d.ts +5 -0
- package/node_modules/bare-os/lib/errors.js +22 -0
- package/node_modules/bare-os/package.json +55 -0
- package/node_modules/bare-os/prebuilds/android-arm/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/android-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/android-ia32/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/android-x64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/darwin-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/darwin-x64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/ios-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/ios-arm64-simulator/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/ios-x64-simulator/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/linux-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/linux-x64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/win32-arm64/bare-os.bare +0 -0
- package/node_modules/bare-os/prebuilds/win32-x64/bare-os.bare +0 -0
- package/node_modules/bare-path/LICENSE +201 -0
- package/node_modules/bare-path/NOTICE +28 -0
- package/node_modules/bare-path/README.md +19 -0
- package/node_modules/bare-path/index.d.ts +27 -0
- package/node_modules/bare-path/index.js +9 -0
- package/node_modules/bare-path/lib/constants.js +11 -0
- package/node_modules/bare-path/lib/posix.js +246 -0
- package/node_modules/bare-path/lib/shared.js +73 -0
- package/node_modules/bare-path/lib/win32.js +547 -0
- package/node_modules/bare-path/package.json +44 -0
- package/node_modules/bare-stream/LICENSE +201 -0
- package/node_modules/bare-stream/README.md +354 -0
- package/node_modules/bare-stream/global.d.ts +31 -0
- package/node_modules/bare-stream/global.js +15 -0
- package/node_modules/bare-stream/index.d.ts +235 -0
- package/node_modules/bare-stream/index.js +493 -0
- package/node_modules/bare-stream/node_modules/b4a/LICENSE +201 -0
- package/node_modules/bare-stream/node_modules/b4a/README.md +153 -0
- package/node_modules/bare-stream/node_modules/b4a/browser.js +541 -0
- package/node_modules/bare-stream/node_modules/b4a/index.js +188 -0
- package/node_modules/bare-stream/node_modules/b4a/lib/ascii.js +31 -0
- package/node_modules/bare-stream/node_modules/b4a/lib/base64.js +64 -0
- package/node_modules/bare-stream/node_modules/b4a/lib/hex.js +51 -0
- package/node_modules/bare-stream/node_modules/b4a/lib/latin1.js +31 -0
- package/node_modules/bare-stream/node_modules/b4a/lib/utf16le.js +40 -0
- package/node_modules/bare-stream/node_modules/b4a/lib/utf8.js +144 -0
- package/node_modules/bare-stream/node_modules/b4a/package.json +51 -0
- package/node_modules/bare-stream/node_modules/b4a/react-native.js +5 -0
- package/node_modules/bare-stream/package.json +75 -0
- package/node_modules/bare-stream/promises.js +3 -0
- package/node_modules/bare-stream/web.d.ts +152 -0
- package/node_modules/bare-stream/web.js +607 -0
- package/node_modules/bare-url/CMakeLists.txt +27 -0
- package/node_modules/bare-url/LICENSE +201 -0
- package/node_modules/bare-url/README.md +172 -0
- package/node_modules/bare-url/binding.c +186 -0
- package/node_modules/bare-url/binding.js +1 -0
- package/node_modules/bare-url/global.d.ts +12 -0
- package/node_modules/bare-url/global.js +2 -0
- package/node_modules/bare-url/index.d.ts +41 -0
- package/node_modules/bare-url/index.js +411 -0
- package/node_modules/bare-url/lib/errors.d.ts +10 -0
- package/node_modules/bare-url/lib/errors.js +33 -0
- package/node_modules/bare-url/lib/url-search-params.d.ts +23 -0
- package/node_modules/bare-url/lib/url-search-params.js +194 -0
- package/node_modules/bare-url/package.json +54 -0
- package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
- package/node_modules/bcrypt-pbkdf/package.json +8 -37
- package/node_modules/boxen/index.d.ts +246 -157
- package/node_modules/boxen/index.js +327 -92
- package/node_modules/boxen/license +1 -1
- package/node_modules/boxen/node_modules/camelcase/index.d.ts +102 -0
- package/node_modules/boxen/node_modules/camelcase/index.js +110 -0
- package/node_modules/boxen/node_modules/camelcase/license +9 -0
- package/node_modules/boxen/node_modules/camelcase/package.json +47 -0
- package/node_modules/boxen/node_modules/camelcase/readme.md +135 -0
- package/node_modules/boxen/node_modules/chalk/license +1 -1
- package/node_modules/boxen/node_modules/chalk/package.json +81 -101
- package/node_modules/boxen/node_modules/chalk/readme.md +87 -104
- package/node_modules/boxen/node_modules/chalk/source/index.d.ts +325 -0
- package/node_modules/boxen/node_modules/chalk/source/index.js +225 -0
- package/node_modules/boxen/node_modules/chalk/source/utilities.js +33 -0
- package/node_modules/boxen/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/node_modules/boxen/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/node_modules/boxen/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/node_modules/boxen/node_modules/type-fest/index.d.ts +178 -0
- package/node_modules/boxen/node_modules/type-fest/license-cc0 +121 -0
- package/node_modules/boxen/node_modules/type-fest/license-mit +9 -0
- package/node_modules/boxen/node_modules/type-fest/package.json +91 -0
- package/node_modules/boxen/node_modules/type-fest/readme.md +1060 -0
- package/node_modules/boxen/node_modules/type-fest/source/all-union-fields.d.ts +88 -0
- package/node_modules/boxen/node_modules/type-fest/source/and.d.ts +25 -0
- package/node_modules/boxen/node_modules/type-fest/source/array-indices.d.ts +23 -0
- package/node_modules/boxen/node_modules/type-fest/source/array-slice.d.ts +109 -0
- package/node_modules/boxen/node_modules/type-fest/source/array-splice.d.ts +99 -0
- package/node_modules/boxen/node_modules/type-fest/source/array-tail.d.ts +76 -0
- package/node_modules/boxen/node_modules/type-fest/source/array-values.d.ts +22 -0
- package/node_modules/boxen/node_modules/type-fest/source/arrayable.d.ts +29 -0
- package/node_modules/boxen/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- package/node_modules/boxen/node_modules/type-fest/source/asyncify.d.ts +32 -0
- package/node_modules/boxen/node_modules/type-fest/source/basic.d.ts +68 -0
- package/node_modules/boxen/node_modules/type-fest/source/camel-case.d.ts +89 -0
- package/node_modules/boxen/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +97 -0
- package/node_modules/boxen/node_modules/type-fest/source/camel-cased-properties.d.ts +43 -0
- package/node_modules/boxen/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- package/node_modules/boxen/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- package/node_modules/boxen/node_modules/type-fest/source/conditional-pick-deep.d.ts +118 -0
- package/node_modules/boxen/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- package/node_modules/boxen/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- package/node_modules/boxen/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
- package/node_modules/boxen/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +106 -0
- package/node_modules/boxen/node_modules/type-fest/source/delimiter-cased-properties.d.ts +46 -0
- package/node_modules/boxen/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
- package/node_modules/boxen/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
- package/node_modules/boxen/node_modules/type-fest/source/empty-object.d.ts +46 -0
- package/node_modules/boxen/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- package/node_modules/boxen/node_modules/type-fest/source/entries.d.ts +62 -0
- package/node_modules/boxen/node_modules/type-fest/source/entry.d.ts +65 -0
- package/node_modules/boxen/node_modules/type-fest/source/exact.d.ts +68 -0
- package/node_modules/boxen/node_modules/type-fest/source/except.d.ts +108 -0
- package/node_modules/boxen/node_modules/type-fest/source/find-global-type.d.ts +64 -0
- package/node_modules/boxen/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- package/node_modules/boxen/node_modules/type-fest/source/get.d.ts +219 -0
- package/node_modules/boxen/node_modules/type-fest/source/global-this.d.ts +21 -0
- package/node_modules/boxen/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
- package/node_modules/boxen/node_modules/type-fest/source/greater-than.d.ts +56 -0
- package/node_modules/boxen/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- package/node_modules/boxen/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- package/node_modules/boxen/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- package/node_modules/boxen/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- package/node_modules/boxen/node_modules/type-fest/source/if-any.d.ts +24 -0
- package/node_modules/boxen/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
- package/node_modules/boxen/node_modules/type-fest/source/if-never.d.ts +24 -0
- package/node_modules/boxen/node_modules/type-fest/source/if-null.d.ts +24 -0
- package/node_modules/boxen/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- package/node_modules/boxen/node_modules/type-fest/source/includes.d.ts +22 -0
- package/node_modules/boxen/node_modules/type-fest/source/int-closed-range.d.ts +35 -0
- package/node_modules/boxen/node_modules/type-fest/source/int-range.d.ts +55 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/array.d.ts +126 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/characters.d.ts +67 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/index.d.ts +8 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/keys.d.ts +97 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/numeric.d.ts +118 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/object.d.ts +236 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/string.d.ts +210 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/tuple.d.ts +90 -0
- package/node_modules/boxen/node_modules/type-fest/source/internal/type.d.ts +139 -0
- package/node_modules/boxen/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-any.d.ts +33 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-equal.d.ts +31 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-float.d.ts +41 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-integer.d.ts +58 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-literal.d.ts +296 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-never.d.ts +42 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-null.d.ts +20 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-tuple.d.ts +89 -0
- package/node_modules/boxen/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- package/node_modules/boxen/node_modules/type-fest/source/iterable-element.d.ts +64 -0
- package/node_modules/boxen/node_modules/type-fest/source/join.d.ts +68 -0
- package/node_modules/boxen/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/boxen/node_modules/type-fest/source/jsonify.d.ts +122 -0
- package/node_modules/boxen/node_modules/type-fest/source/kebab-case.d.ts +44 -0
- package/node_modules/boxen/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +63 -0
- package/node_modules/boxen/node_modules/type-fest/source/kebab-cased-properties.d.ts +40 -0
- package/node_modules/boxen/node_modules/type-fest/source/keys-of-union.d.ts +42 -0
- package/node_modules/boxen/node_modules/type-fest/source/last-array-element.d.ts +38 -0
- package/node_modules/boxen/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
- package/node_modules/boxen/node_modules/type-fest/source/less-than.d.ts +26 -0
- package/node_modules/boxen/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- package/node_modules/boxen/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- package/node_modules/boxen/node_modules/type-fest/source/literal-union.d.ts +37 -0
- package/node_modules/boxen/node_modules/type-fest/source/merge-deep.d.ts +486 -0
- package/node_modules/boxen/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- package/node_modules/boxen/node_modules/type-fest/source/merge.d.ts +48 -0
- package/node_modules/boxen/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- package/node_modules/boxen/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- package/node_modules/boxen/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
- package/node_modules/boxen/node_modules/type-fest/source/non-empty-string.d.ts +28 -0
- package/node_modules/boxen/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
- package/node_modules/boxen/node_modules/type-fest/source/numeric.d.ts +222 -0
- package/node_modules/boxen/node_modules/type-fest/source/observable-like.d.ts +63 -0
- package/node_modules/boxen/node_modules/type-fest/source/omit-deep.d.ts +167 -0
- package/node_modules/boxen/node_modules/type-fest/source/omit-index-signature.d.ts +95 -0
- package/node_modules/boxen/node_modules/type-fest/source/opaque.d.ts +1 -0
- package/node_modules/boxen/node_modules/type-fest/source/optional-keys-of.d.ts +39 -0
- package/node_modules/boxen/node_modules/type-fest/source/or.d.ts +25 -0
- package/node_modules/boxen/node_modules/type-fest/source/override-properties.d.ts +36 -0
- package/node_modules/boxen/node_modules/type-fest/source/package-json.d.ts +676 -0
- package/node_modules/boxen/node_modules/type-fest/source/partial-deep.d.ts +151 -0
- package/node_modules/boxen/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +78 -0
- package/node_modules/boxen/node_modules/type-fest/source/pascal-case.d.ts +42 -0
- package/node_modules/boxen/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +62 -0
- package/node_modules/boxen/node_modules/type-fest/source/pascal-cased-properties.d.ts +36 -0
- package/node_modules/boxen/node_modules/type-fest/source/paths.d.ts +262 -0
- package/node_modules/boxen/node_modules/type-fest/source/pick-deep.d.ts +149 -0
- package/node_modules/boxen/node_modules/type-fest/source/pick-index-signature.d.ts +50 -0
- package/node_modules/boxen/node_modules/type-fest/source/primitive.d.ts +13 -0
- package/node_modules/boxen/node_modules/type-fest/source/promisable.d.ts +25 -0
- package/node_modules/boxen/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
- package/node_modules/boxen/node_modules/type-fest/source/readonly-keys-of.d.ts +30 -0
- package/node_modules/boxen/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- package/node_modules/boxen/node_modules/type-fest/source/replace.d.ts +85 -0
- package/node_modules/boxen/node_modules/type-fest/source/require-all-or-none.d.ts +51 -0
- package/node_modules/boxen/node_modules/type-fest/source/require-at-least-one.d.ts +47 -0
- package/node_modules/boxen/node_modules/type-fest/source/require-exactly-one.d.ts +45 -0
- package/node_modules/boxen/node_modules/type-fest/source/require-one-or-none.d.ts +46 -0
- package/node_modules/boxen/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/boxen/node_modules/type-fest/source/required-keys-of.d.ts +30 -0
- package/node_modules/boxen/node_modules/type-fest/source/schema.d.ts +114 -0
- package/node_modules/boxen/node_modules/type-fest/source/screaming-snake-case.d.ts +28 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-field-type.d.ts +65 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-non-nullable-deep.d.ts +83 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-optional.d.ts +38 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-readonly.d.ts +39 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-required-deep.d.ts +68 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-required.d.ts +70 -0
- package/node_modules/boxen/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- package/node_modules/boxen/node_modules/type-fest/source/shared-union-fields-deep.d.ts +178 -0
- package/node_modules/boxen/node_modules/type-fest/source/shared-union-fields.d.ts +76 -0
- package/node_modules/boxen/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
- package/node_modules/boxen/node_modules/type-fest/source/simplify.d.ts +58 -0
- package/node_modules/boxen/node_modules/type-fest/source/single-key-object.d.ts +29 -0
- package/node_modules/boxen/node_modules/type-fest/source/snake-case.d.ts +45 -0
- package/node_modules/boxen/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +63 -0
- package/node_modules/boxen/node_modules/type-fest/source/snake-cased-properties.d.ts +40 -0
- package/node_modules/boxen/node_modules/type-fest/source/split.d.ts +88 -0
- package/node_modules/boxen/node_modules/type-fest/source/spread.d.ts +84 -0
- package/node_modules/boxen/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- package/node_modules/boxen/node_modules/type-fest/source/string-repeat.d.ts +47 -0
- package/node_modules/boxen/node_modules/type-fest/source/string-slice.d.ts +37 -0
- package/node_modules/boxen/node_modules/type-fest/source/stringified.d.ts +23 -0
- package/node_modules/boxen/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
- package/node_modules/boxen/node_modules/type-fest/source/subtract.d.ts +83 -0
- package/node_modules/boxen/node_modules/type-fest/source/sum.d.ts +78 -0
- package/node_modules/boxen/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- package/node_modules/boxen/node_modules/type-fest/source/tagged.d.ts +256 -0
- package/node_modules/boxen/node_modules/type-fest/source/trim.d.ts +27 -0
- package/node_modules/boxen/node_modules/type-fest/source/tsconfig-json.d.ts +1294 -0
- package/node_modules/boxen/node_modules/type-fest/source/tuple-to-object.d.ts +42 -0
- package/node_modules/boxen/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- package/node_modules/boxen/node_modules/type-fest/source/typed-array.d.ts +17 -0
- package/node_modules/boxen/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
- package/node_modules/boxen/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
- package/node_modules/boxen/node_modules/type-fest/source/union-to-tuple.d.ts +56 -0
- package/node_modules/boxen/node_modules/type-fest/source/unknown-array.d.ts +25 -0
- package/node_modules/boxen/node_modules/type-fest/source/unknown-map.d.ts +24 -0
- package/node_modules/boxen/node_modules/type-fest/source/unknown-record.d.ts +31 -0
- package/node_modules/boxen/node_modules/type-fest/source/unknown-set.d.ts +24 -0
- package/node_modules/boxen/node_modules/type-fest/source/value-of.d.ts +42 -0
- package/node_modules/boxen/node_modules/type-fest/source/words.d.ts +118 -0
- package/node_modules/boxen/node_modules/type-fest/source/writable-deep.d.ts +83 -0
- package/node_modules/boxen/node_modules/type-fest/source/writable-keys-of.d.ts +33 -0
- package/node_modules/boxen/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/boxen/package.json +67 -85
- package/node_modules/boxen/readme.md +156 -44
- package/node_modules/browserify-zlib/package.json +19 -53
- package/node_modules/buffer-from/index.js +3 -0
- package/node_modules/buffer-from/package.json +10 -45
- package/node_modules/caseless/package.json +16 -45
- package/node_modules/chownr/LICENSE.md +63 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
- package/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/commonjs/index.js +93 -0
- package/node_modules/chownr/dist/commonjs/index.js.map +1 -0
- package/node_modules/chownr/dist/commonjs/package.json +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts +3 -0
- package/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
- package/node_modules/chownr/dist/esm/index.js +85 -0
- package/node_modules/chownr/dist/esm/index.js.map +1 -0
- package/node_modules/chownr/dist/esm/package.json +3 -0
- package/node_modules/chownr/package.json +59 -50
- package/node_modules/cli-boxes/boxes.json +38 -14
- package/node_modules/cli-boxes/index.d.ts +19 -5
- package/node_modules/cli-boxes/license +1 -1
- package/node_modules/cli-boxes/package.json +40 -71
- package/node_modules/cli-boxes/readme.md +27 -14
- package/node_modules/cliui/CHANGELOG.md +81 -0
- package/node_modules/cliui/README.md +51 -5
- package/node_modules/cliui/build/lib/index.js +287 -0
- package/node_modules/cliui/build/tsconfig.tsbuildinfo +1 -0
- package/node_modules/cliui/index.mjs +15 -0
- package/node_modules/cliui/node_modules/ansi-regex/index.d.ts +9 -13
- package/node_modules/cliui/node_modules/ansi-regex/index.js +11 -7
- package/node_modules/cliui/node_modules/ansi-regex/license +1 -1
- package/node_modules/cliui/node_modules/ansi-regex/package.json +59 -85
- package/node_modules/cliui/node_modules/ansi-regex/readme.md +10 -22
- package/node_modules/cliui/node_modules/strip-ansi/index.d.ts +2 -4
- package/node_modules/cliui/node_modules/strip-ansi/index.js +18 -3
- package/node_modules/cliui/node_modules/strip-ansi/license +1 -1
- package/node_modules/cliui/node_modules/strip-ansi/package.json +57 -85
- package/node_modules/cliui/node_modules/strip-ansi/readme.md +6 -15
- package/node_modules/cliui/package.json +55 -80
- package/node_modules/cmd-shim/README.md +34 -0
- package/node_modules/cmd-shim/lib/index.js +283 -0
- package/node_modules/cmd-shim/lib/to-batch-syntax.js +49 -0
- package/node_modules/cmd-shim/package.json +48 -0
- package/node_modules/combined-stream/package.json +14 -47
- package/node_modules/config-chain/LICENCE +22 -0
- package/node_modules/config-chain/index.js +282 -0
- package/node_modules/config-chain/package.json +28 -0
- package/node_modules/config-chain/readme.markdown +257 -0
- package/node_modules/configstore/index.d.ts +94 -0
- package/node_modules/configstore/index.js +62 -45
- package/node_modules/configstore/node_modules/dot-prop/index.d.ts +164 -0
- package/node_modules/configstore/node_modules/dot-prop/index.js +337 -0
- package/node_modules/configstore/node_modules/dot-prop/license +9 -0
- package/node_modules/configstore/node_modules/dot-prop/package.json +53 -0
- package/node_modules/configstore/node_modules/dot-prop/readme.md +168 -0
- package/node_modules/configstore/node_modules/type-fest/index.d.ts +178 -0
- package/node_modules/configstore/node_modules/type-fest/license-cc0 +121 -0
- package/node_modules/configstore/node_modules/type-fest/license-mit +9 -0
- package/node_modules/configstore/node_modules/type-fest/package.json +91 -0
- package/node_modules/configstore/node_modules/type-fest/readme.md +1060 -0
- package/node_modules/configstore/node_modules/type-fest/source/all-union-fields.d.ts +88 -0
- package/node_modules/configstore/node_modules/type-fest/source/and.d.ts +25 -0
- package/node_modules/configstore/node_modules/type-fest/source/array-indices.d.ts +23 -0
- package/node_modules/configstore/node_modules/type-fest/source/array-slice.d.ts +109 -0
- package/node_modules/configstore/node_modules/type-fest/source/array-splice.d.ts +99 -0
- package/node_modules/configstore/node_modules/type-fest/source/array-tail.d.ts +76 -0
- package/node_modules/configstore/node_modules/type-fest/source/array-values.d.ts +22 -0
- package/node_modules/configstore/node_modules/type-fest/source/arrayable.d.ts +29 -0
- package/node_modules/configstore/node_modules/type-fest/source/async-return-type.d.ts +23 -0
- package/node_modules/configstore/node_modules/type-fest/source/asyncify.d.ts +32 -0
- package/node_modules/configstore/node_modules/type-fest/source/basic.d.ts +68 -0
- package/node_modules/configstore/node_modules/type-fest/source/camel-case.d.ts +89 -0
- package/node_modules/configstore/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +97 -0
- package/node_modules/configstore/node_modules/type-fest/source/camel-cased-properties.d.ts +43 -0
- package/node_modules/configstore/node_modules/type-fest/source/conditional-except.d.ts +45 -0
- package/node_modules/configstore/node_modules/type-fest/source/conditional-keys.d.ts +47 -0
- package/node_modules/configstore/node_modules/type-fest/source/conditional-pick-deep.d.ts +118 -0
- package/node_modules/configstore/node_modules/type-fest/source/conditional-pick.d.ts +44 -0
- package/node_modules/configstore/node_modules/type-fest/source/conditional-simplify.d.ts +32 -0
- package/node_modules/configstore/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
- package/node_modules/configstore/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +106 -0
- package/node_modules/configstore/node_modules/type-fest/source/delimiter-cased-properties.d.ts +46 -0
- package/node_modules/configstore/node_modules/type-fest/source/distributed-omit.d.ts +89 -0
- package/node_modules/configstore/node_modules/type-fest/source/distributed-pick.d.ts +85 -0
- package/node_modules/configstore/node_modules/type-fest/source/empty-object.d.ts +46 -0
- package/node_modules/configstore/node_modules/type-fest/source/enforce-optional.d.ts +47 -0
- package/node_modules/configstore/node_modules/type-fest/source/entries.d.ts +62 -0
- package/node_modules/configstore/node_modules/type-fest/source/entry.d.ts +65 -0
- package/node_modules/configstore/node_modules/type-fest/source/exact.d.ts +68 -0
- package/node_modules/configstore/node_modules/type-fest/source/except.d.ts +108 -0
- package/node_modules/configstore/node_modules/type-fest/source/find-global-type.d.ts +64 -0
- package/node_modules/configstore/node_modules/type-fest/source/fixed-length-array.d.ts +43 -0
- package/node_modules/configstore/node_modules/type-fest/source/get.d.ts +219 -0
- package/node_modules/configstore/node_modules/type-fest/source/global-this.d.ts +21 -0
- package/node_modules/configstore/node_modules/type-fest/source/greater-than-or-equal.d.ts +22 -0
- package/node_modules/configstore/node_modules/type-fest/source/greater-than.d.ts +56 -0
- package/node_modules/configstore/node_modules/type-fest/source/has-optional-keys.d.ts +21 -0
- package/node_modules/configstore/node_modules/type-fest/source/has-readonly-keys.d.ts +21 -0
- package/node_modules/configstore/node_modules/type-fest/source/has-required-keys.d.ts +59 -0
- package/node_modules/configstore/node_modules/type-fest/source/has-writable-keys.d.ts +21 -0
- package/node_modules/configstore/node_modules/type-fest/source/if-any.d.ts +24 -0
- package/node_modules/configstore/node_modules/type-fest/source/if-empty-object.d.ts +26 -0
- package/node_modules/configstore/node_modules/type-fest/source/if-never.d.ts +24 -0
- package/node_modules/configstore/node_modules/type-fest/source/if-null.d.ts +24 -0
- package/node_modules/configstore/node_modules/type-fest/source/if-unknown.d.ts +24 -0
- package/node_modules/configstore/node_modules/type-fest/source/includes.d.ts +22 -0
- package/node_modules/configstore/node_modules/type-fest/source/int-closed-range.d.ts +35 -0
- package/node_modules/configstore/node_modules/type-fest/source/int-range.d.ts +55 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/array.d.ts +126 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/characters.d.ts +67 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/index.d.ts +8 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/keys.d.ts +97 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/numeric.d.ts +118 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/object.d.ts +236 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/string.d.ts +210 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/tuple.d.ts +90 -0
- package/node_modules/configstore/node_modules/type-fest/source/internal/type.d.ts +139 -0
- package/node_modules/configstore/node_modules/type-fest/source/invariant-of.d.ts +76 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-any.d.ts +33 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-equal.d.ts +31 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-float.d.ts +41 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-integer.d.ts +58 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-literal.d.ts +296 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-never.d.ts +42 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-null.d.ts +20 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-tuple.d.ts +89 -0
- package/node_modules/configstore/node_modules/type-fest/source/is-unknown.d.ts +52 -0
- package/node_modules/configstore/node_modules/type-fest/source/iterable-element.d.ts +64 -0
- package/node_modules/configstore/node_modules/type-fest/source/join.d.ts +68 -0
- package/node_modules/configstore/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/configstore/node_modules/type-fest/source/jsonify.d.ts +122 -0
- package/node_modules/configstore/node_modules/type-fest/source/kebab-case.d.ts +44 -0
- package/node_modules/configstore/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +63 -0
- package/node_modules/configstore/node_modules/type-fest/source/kebab-cased-properties.d.ts +40 -0
- package/node_modules/configstore/node_modules/type-fest/source/keys-of-union.d.ts +42 -0
- package/node_modules/configstore/node_modules/type-fest/source/last-array-element.d.ts +38 -0
- package/node_modules/configstore/node_modules/type-fest/source/less-than-or-equal.d.ts +22 -0
- package/node_modules/configstore/node_modules/type-fest/source/less-than.d.ts +26 -0
- package/node_modules/configstore/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +36 -0
- package/node_modules/configstore/node_modules/type-fest/source/literal-to-primitive.d.ts +36 -0
- package/node_modules/configstore/node_modules/type-fest/source/literal-union.d.ts +37 -0
- package/node_modules/configstore/node_modules/type-fest/source/merge-deep.d.ts +486 -0
- package/node_modules/configstore/node_modules/type-fest/source/merge-exclusive.d.ts +41 -0
- package/node_modules/configstore/node_modules/type-fest/source/merge.d.ts +48 -0
- package/node_modules/configstore/node_modules/type-fest/source/multidimensional-array.d.ts +44 -0
- package/node_modules/configstore/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +48 -0
- package/node_modules/configstore/node_modules/type-fest/source/non-empty-object.d.ts +35 -0
- package/node_modules/configstore/node_modules/type-fest/source/non-empty-string.d.ts +28 -0
- package/node_modules/configstore/node_modules/type-fest/source/non-empty-tuple.d.ts +21 -0
- package/node_modules/configstore/node_modules/type-fest/source/numeric.d.ts +222 -0
- package/node_modules/configstore/node_modules/type-fest/source/observable-like.d.ts +63 -0
- package/node_modules/configstore/node_modules/type-fest/source/omit-deep.d.ts +167 -0
- package/node_modules/configstore/node_modules/type-fest/source/omit-index-signature.d.ts +95 -0
- package/node_modules/configstore/node_modules/type-fest/source/opaque.d.ts +1 -0
- package/node_modules/configstore/node_modules/type-fest/source/optional-keys-of.d.ts +39 -0
- package/node_modules/configstore/node_modules/type-fest/source/or.d.ts +25 -0
- package/node_modules/configstore/node_modules/type-fest/source/override-properties.d.ts +36 -0
- package/node_modules/configstore/node_modules/type-fest/source/package-json.d.ts +676 -0
- package/node_modules/configstore/node_modules/type-fest/source/partial-deep.d.ts +151 -0
- package/node_modules/configstore/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +78 -0
- package/node_modules/configstore/node_modules/type-fest/source/pascal-case.d.ts +42 -0
- package/node_modules/configstore/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +62 -0
- package/node_modules/configstore/node_modules/type-fest/source/pascal-cased-properties.d.ts +36 -0
- package/node_modules/configstore/node_modules/type-fest/source/paths.d.ts +262 -0
- package/node_modules/configstore/node_modules/type-fest/source/pick-deep.d.ts +149 -0
- package/node_modules/configstore/node_modules/type-fest/source/pick-index-signature.d.ts +50 -0
- package/node_modules/configstore/node_modules/type-fest/source/primitive.d.ts +13 -0
- package/node_modules/configstore/node_modules/type-fest/source/promisable.d.ts +25 -0
- package/node_modules/configstore/node_modules/type-fest/source/readonly-deep.d.ts +81 -0
- package/node_modules/configstore/node_modules/type-fest/source/readonly-keys-of.d.ts +30 -0
- package/node_modules/configstore/node_modules/type-fest/source/readonly-tuple.d.ts +41 -0
- package/node_modules/configstore/node_modules/type-fest/source/replace.d.ts +85 -0
- package/node_modules/configstore/node_modules/type-fest/source/require-all-or-none.d.ts +51 -0
- package/node_modules/configstore/node_modules/type-fest/source/require-at-least-one.d.ts +47 -0
- package/node_modules/configstore/node_modules/type-fest/source/require-exactly-one.d.ts +45 -0
- package/node_modules/configstore/node_modules/type-fest/source/require-one-or-none.d.ts +46 -0
- package/node_modules/configstore/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/configstore/node_modules/type-fest/source/required-keys-of.d.ts +30 -0
- package/node_modules/configstore/node_modules/type-fest/source/schema.d.ts +114 -0
- package/node_modules/configstore/node_modules/type-fest/source/screaming-snake-case.d.ts +28 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-field-type.d.ts +65 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-non-nullable-deep.d.ts +83 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-non-nullable.d.ts +39 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-optional.d.ts +38 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-parameter-type.d.ts +117 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-readonly.d.ts +39 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-required-deep.d.ts +68 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-required.d.ts +70 -0
- package/node_modules/configstore/node_modules/type-fest/source/set-return-type.d.ts +29 -0
- package/node_modules/configstore/node_modules/type-fest/source/shared-union-fields-deep.d.ts +178 -0
- package/node_modules/configstore/node_modules/type-fest/source/shared-union-fields.d.ts +76 -0
- package/node_modules/configstore/node_modules/type-fest/source/simplify-deep.d.ts +115 -0
- package/node_modules/configstore/node_modules/type-fest/source/simplify.d.ts +58 -0
- package/node_modules/configstore/node_modules/type-fest/source/single-key-object.d.ts +29 -0
- package/node_modules/configstore/node_modules/type-fest/source/snake-case.d.ts +45 -0
- package/node_modules/configstore/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +63 -0
- package/node_modules/configstore/node_modules/type-fest/source/snake-cased-properties.d.ts +40 -0
- package/node_modules/configstore/node_modules/type-fest/source/split.d.ts +88 -0
- package/node_modules/configstore/node_modules/type-fest/source/spread.d.ts +84 -0
- package/node_modules/configstore/node_modules/type-fest/source/string-key-of.d.ts +25 -0
- package/node_modules/configstore/node_modules/type-fest/source/string-repeat.d.ts +47 -0
- package/node_modules/configstore/node_modules/type-fest/source/string-slice.d.ts +37 -0
- package/node_modules/configstore/node_modules/type-fest/source/stringified.d.ts +23 -0
- package/node_modules/configstore/node_modules/type-fest/source/structured-cloneable.d.ts +92 -0
- package/node_modules/configstore/node_modules/type-fest/source/subtract.d.ts +83 -0
- package/node_modules/configstore/node_modules/type-fest/source/sum.d.ts +78 -0
- package/node_modules/configstore/node_modules/type-fest/source/tagged-union.d.ts +51 -0
- package/node_modules/configstore/node_modules/type-fest/source/tagged.d.ts +256 -0
- package/node_modules/configstore/node_modules/type-fest/source/trim.d.ts +27 -0
- package/node_modules/configstore/node_modules/type-fest/source/tsconfig-json.d.ts +1294 -0
- package/node_modules/configstore/node_modules/type-fest/source/tuple-to-object.d.ts +42 -0
- package/node_modules/configstore/node_modules/type-fest/source/tuple-to-union.d.ts +51 -0
- package/node_modules/configstore/node_modules/type-fest/source/typed-array.d.ts +17 -0
- package/node_modules/configstore/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +80 -0
- package/node_modules/configstore/node_modules/type-fest/source/union-to-intersection.d.ts +61 -0
- package/node_modules/configstore/node_modules/type-fest/source/union-to-tuple.d.ts +56 -0
- package/node_modules/configstore/node_modules/type-fest/source/unknown-array.d.ts +25 -0
- package/node_modules/configstore/node_modules/type-fest/source/unknown-map.d.ts +24 -0
- package/node_modules/configstore/node_modules/type-fest/source/unknown-record.d.ts +31 -0
- package/node_modules/configstore/node_modules/type-fest/source/unknown-set.d.ts +24 -0
- package/node_modules/configstore/node_modules/type-fest/source/value-of.d.ts +42 -0
- package/node_modules/configstore/node_modules/type-fest/source/words.d.ts +118 -0
- package/node_modules/configstore/node_modules/type-fest/source/writable-deep.d.ts +83 -0
- package/node_modules/configstore/node_modules/type-fest/source/writable-keys-of.d.ts +33 -0
- package/node_modules/configstore/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/configstore/node_modules/xdg-basedir/index.d.ts +90 -0
- package/node_modules/configstore/node_modules/xdg-basedir/index.js +30 -0
- package/node_modules/configstore/node_modules/xdg-basedir/license +9 -0
- package/node_modules/configstore/node_modules/xdg-basedir/package.json +47 -0
- package/node_modules/configstore/node_modules/xdg-basedir/readme.md +70 -0
- package/node_modules/configstore/package.json +51 -77
- package/node_modules/configstore/readme.md +52 -32
- package/node_modules/core-util-is/lib/util.js +1 -1
- package/node_modules/core-util-is/package.json +19 -44
- package/node_modules/dashdash/package.json +23 -64
- package/node_modules/deep-extend/package.json +33 -63
- package/node_modules/delayed-stream/package.json +14 -49
- package/node_modules/duplexify/package.json +15 -43
- package/node_modules/ecc-jsbn/package.json +19 -44
- package/node_modules/emoji-regex/README.md +48 -14
- package/node_modules/emoji-regex/index.d.ts +1 -3
- package/node_modules/emoji-regex/index.js +3 -5
- package/node_modules/emoji-regex/index.mjs +4 -0
- package/node_modules/emoji-regex/package.json +43 -80
- package/node_modules/end-of-stream/index.js +3 -1
- package/node_modules/end-of-stream/package.json +17 -50
- package/node_modules/env-paths/index.d.ts +32 -0
- package/node_modules/env-paths/package.json +43 -75
- package/node_modules/env-paths/readme.md +44 -5
- package/node_modules/escalade/dist/index.js +22 -0
- package/node_modules/escalade/dist/index.mjs +22 -0
- package/node_modules/escalade/index.d.mts +11 -0
- package/node_modules/escalade/index.d.ts +15 -0
- package/node_modules/escalade/license +9 -0
- package/node_modules/escalade/package.json +74 -0
- package/node_modules/escalade/readme.md +211 -0
- package/node_modules/escalade/sync/index.d.mts +9 -0
- package/node_modules/escalade/sync/index.d.ts +13 -0
- package/node_modules/escalade/sync/index.js +18 -0
- package/node_modules/escalade/sync/index.mjs +18 -0
- package/node_modules/escape-goat/index.d.ts +62 -0
- package/node_modules/escape-goat/index.js +39 -0
- package/node_modules/escape-goat/license +9 -0
- package/node_modules/escape-goat/package.json +48 -0
- package/node_modules/escape-goat/readme.md +60 -0
- package/node_modules/events-universal/LICENSE +201 -0
- package/node_modules/events-universal/README.md +17 -0
- package/node_modules/events-universal/bare.js +1 -0
- package/node_modules/events-universal/default.js +1 -0
- package/node_modules/events-universal/index.js +1 -0
- package/node_modules/events-universal/package.json +39 -0
- package/node_modules/events-universal/react-native.js +1 -0
- package/node_modules/exponential-backoff/LICENSE +202 -0
- package/node_modules/exponential-backoff/README.md +89 -0
- package/node_modules/exponential-backoff/dist/backoff.d.ts +9 -0
- package/node_modules/exponential-backoff/dist/backoff.js +124 -0
- package/node_modules/exponential-backoff/dist/backoff.js.map +1 -0
- package/node_modules/exponential-backoff/dist/delay/always/always.delay.d.ts +3 -0
- package/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
- package/node_modules/exponential-backoff/dist/delay/always/always.delay.js.map +1 -0
- package/node_modules/exponential-backoff/dist/delay/delay.base.d.ts +12 -0
- package/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
- package/node_modules/exponential-backoff/dist/delay/delay.base.js.map +1 -0
- package/node_modules/exponential-backoff/dist/delay/delay.factory.d.ts +3 -0
- package/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
- package/node_modules/exponential-backoff/dist/delay/delay.factory.js.map +1 -0
- package/node_modules/exponential-backoff/dist/delay/delay.interface.d.ts +4 -0
- package/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
- package/node_modules/exponential-backoff/dist/delay/delay.interface.js.map +1 -0
- package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.d.ts +6 -0
- package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
- package/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js.map +1 -0
- package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.d.ts +1 -0
- package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
- package/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js.map +1 -0
- package/node_modules/exponential-backoff/dist/jitter/jitter.factory.d.ts +3 -0
- package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
- package/node_modules/exponential-backoff/dist/jitter/jitter.factory.js.map +1 -0
- package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.d.ts +1 -0
- package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
- package/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js.map +1 -0
- package/node_modules/exponential-backoff/dist/options.d.ts +55 -0
- package/node_modules/exponential-backoff/dist/options.js +31 -0
- package/node_modules/exponential-backoff/dist/options.js.map +1 -0
- package/node_modules/exponential-backoff/package.json +62 -0
- package/node_modules/exponential-backoff/src/backoff.spec.ts +194 -0
- package/node_modules/exponential-backoff/src/backoff.ts +60 -0
- package/node_modules/exponential-backoff/src/delay/always/always.delay.spec.ts +65 -0
- package/node_modules/exponential-backoff/src/delay/always/always.delay.ts +3 -0
- package/node_modules/exponential-backoff/src/delay/delay.base.ts +34 -0
- package/node_modules/exponential-backoff/src/delay/delay.factory.ts +18 -0
- package/node_modules/exponential-backoff/src/delay/delay.interface.ts +4 -0
- package/node_modules/exponential-backoff/src/delay/skip-first/skip-first.delay.ts +15 -0
- package/node_modules/exponential-backoff/src/jitter/full/full.jitter.spec.ts +31 -0
- package/node_modules/exponential-backoff/src/jitter/full/full.jitter.ts +4 -0
- package/node_modules/exponential-backoff/src/jitter/jitter.factory.ts +16 -0
- package/node_modules/exponential-backoff/src/jitter/no/no.jitter.spec.ts +9 -0
- package/node_modules/exponential-backoff/src/jitter/no/no.jitter.ts +3 -0
- package/node_modules/exponential-backoff/src/options.ts +76 -0
- package/node_modules/extend/package.json +40 -73
- package/node_modules/extsprintf/package.json +12 -42
- package/node_modules/fast-deep-equal/README.md +53 -15
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.js +15 -24
- package/node_modules/fast-deep-equal/package.json +41 -66
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-fifo/LICENSE +21 -0
- package/node_modules/fast-fifo/README.md +78 -0
- package/node_modules/fast-fifo/fixed-size.js +39 -0
- package/node_modules/fast-fifo/index.js +48 -0
- package/node_modules/fast-fifo/package.json +28 -0
- package/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +1 -0
- package/node_modules/fast-json-stable-stringify/.travis.yml +3 -3
- package/node_modules/fast-json-stable-stringify/LICENSE +3 -0
- package/node_modules/fast-json-stable-stringify/README.md +12 -0
- package/node_modules/fast-json-stable-stringify/index.d.ts +4 -0
- package/node_modules/fast-json-stable-stringify/package.json +23 -49
- package/node_modules/fdir/LICENSE +7 -0
- package/node_modules/fdir/README.md +91 -0
- package/node_modules/fdir/dist/index.cjs +588 -0
- package/node_modules/fdir/dist/index.d.cts +155 -0
- package/node_modules/fdir/dist/index.d.mts +155 -0
- package/node_modules/fdir/dist/index.mjs +570 -0
- package/node_modules/fdir/package.json +103 -0
- package/node_modules/forever-agent/package.json +10 -43
- package/node_modules/form-data/package.json +35 -68
- package/node_modules/fs-extra/LICENSE +1 -1
- package/node_modules/fs-extra/README.md +41 -8
- package/node_modules/fs-extra/lib/copy/copy-sync.js +176 -0
- package/node_modules/fs-extra/lib/copy/copy.js +130 -162
- package/node_modules/fs-extra/lib/copy/index.js +3 -2
- package/node_modules/fs-extra/lib/empty/index.js +11 -20
- package/node_modules/fs-extra/lib/ensure/file.js +42 -25
- package/node_modules/fs-extra/lib/ensure/index.js +15 -15
- package/node_modules/fs-extra/lib/ensure/link.js +36 -33
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +59 -57
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +17 -14
- package/node_modules/fs-extra/lib/ensure/symlink.js +71 -42
- package/node_modules/fs-extra/lib/esm.mjs +68 -0
- package/node_modules/fs-extra/lib/fs/index.js +52 -15
- package/node_modules/fs-extra/lib/index.js +11 -23
- package/node_modules/fs-extra/lib/json/index.js +1 -1
- package/node_modules/fs-extra/lib/json/jsonfile.js +2 -3
- package/node_modules/fs-extra/lib/json/output-json-sync.js +4 -10
- package/node_modules/fs-extra/lib/json/output-json.js +5 -20
- package/node_modules/fs-extra/lib/mkdirs/index.js +9 -9
- package/node_modules/fs-extra/lib/mkdirs/make-dir.js +27 -0
- package/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
- package/node_modules/fs-extra/lib/move/index.js +3 -2
- package/node_modules/fs-extra/lib/move/move-sync.js +55 -0
- package/node_modules/fs-extra/lib/move/move.js +40 -46
- package/node_modules/fs-extra/lib/output-file/index.js +31 -0
- package/node_modules/fs-extra/lib/remove/index.js +11 -3
- package/node_modules/fs-extra/lib/util/async.js +29 -0
- package/node_modules/fs-extra/lib/util/stat.js +94 -107
- package/node_modules/fs-extra/lib/util/utimes.js +40 -66
- package/node_modules/fs-extra/package.json +37 -66
- package/node_modules/get-caller-file/package.json +22 -51
- package/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/node_modules/get-east-asian-width/index.js +30 -0
- package/node_modules/get-east-asian-width/license +9 -0
- package/node_modules/get-east-asian-width/lookup-data.js +21 -0
- package/node_modules/get-east-asian-width/lookup.js +138 -0
- package/node_modules/get-east-asian-width/package.json +71 -0
- package/node_modules/get-east-asian-width/readme.md +65 -0
- package/node_modules/get-east-asian-width/utilities.js +24 -0
- package/node_modules/getpass/package.json +7 -39
- package/node_modules/global-directory/index.d.ts +58 -0
- package/node_modules/global-directory/index.js +121 -0
- package/node_modules/global-directory/license +9 -0
- package/node_modules/global-directory/node_modules/ini/README.md +125 -0
- package/node_modules/global-directory/node_modules/ini/lib/ini.js +278 -0
- package/node_modules/global-directory/node_modules/ini/package.json +45 -0
- package/node_modules/global-directory/package.json +61 -0
- package/node_modules/global-directory/readme.md +60 -0
- package/node_modules/graceful-fs/LICENSE +1 -1
- package/node_modules/graceful-fs/README.md +11 -1
- package/node_modules/graceful-fs/clone.js +5 -1
- package/node_modules/graceful-fs/graceful-fs.js +151 -49
- package/node_modules/graceful-fs/package.json +28 -73
- package/node_modules/graceful-fs/polyfills.js +48 -35
- package/node_modules/gunzip-maybe/index.js +1 -1
- package/node_modules/gunzip-maybe/package.json +23 -51
- package/node_modules/gunzip-maybe/test.js +14 -0
- package/node_modules/har-schema/package.json +34 -66
- package/node_modules/har-validator/README.md +22 -16
- package/node_modules/har-validator/package.json +26 -59
- package/node_modules/hosted-git-info/README.md +15 -10
- package/node_modules/hosted-git-info/lib/from-url.js +122 -0
- package/node_modules/hosted-git-info/lib/hosts.js +229 -0
- package/node_modules/hosted-git-info/lib/index.js +227 -0
- package/node_modules/hosted-git-info/lib/parse-url.js +79 -0
- package/node_modules/hosted-git-info/package.json +43 -58
- package/node_modules/http-signature/package.json +25 -63
- package/node_modules/inherits/package.json +12 -52
- package/node_modules/ini/ini.js +49 -37
- package/node_modules/ini/package.json +23 -55
- package/node_modules/is-deflate/package.json +19 -48
- package/node_modules/is-gzip/package.json +13 -45
- package/node_modules/is-in-ci/cli.js +5 -0
- package/node_modules/is-in-ci/index.d.ts +15 -0
- package/node_modules/is-in-ci/index.js +11 -0
- package/node_modules/is-in-ci/license +9 -0
- package/node_modules/is-in-ci/package.json +49 -0
- package/node_modules/is-in-ci/readme.md +44 -0
- package/node_modules/is-installed-globally/index.d.ts +19 -0
- package/node_modules/is-installed-globally/index.js +19 -4
- package/node_modules/is-installed-globally/license +1 -1
- package/node_modules/is-installed-globally/node_modules/is-path-inside/index.d.ts +25 -0
- package/node_modules/is-installed-globally/node_modules/is-path-inside/index.js +12 -0
- package/node_modules/is-installed-globally/node_modules/is-path-inside/license +9 -0
- package/node_modules/is-installed-globally/node_modules/is-path-inside/package.json +38 -0
- package/node_modules/is-installed-globally/node_modules/is-path-inside/readme.md +59 -0
- package/node_modules/is-installed-globally/package.json +58 -78
- package/node_modules/is-installed-globally/readme.md +5 -13
- package/node_modules/is-npm/index.d.ts +82 -10
- package/node_modules/is-npm/index.js +9 -7
- package/node_modules/is-npm/license +1 -1
- package/node_modules/is-npm/package.json +44 -67
- package/node_modules/is-npm/readme.md +82 -13
- package/node_modules/is-typedarray/package.json +15 -46
- package/node_modules/isarray/package.json +16 -45
- package/node_modules/isexe/LICENSE.md +55 -0
- package/node_modules/isexe/README.md +52 -23
- package/node_modules/isexe/dist/commonjs/index.d.ts +14 -0
- package/node_modules/isexe/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/index.js +56 -0
- package/node_modules/isexe/dist/commonjs/index.js.map +1 -0
- package/node_modules/isexe/dist/commonjs/index.min.js +2 -0
- package/node_modules/isexe/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/isexe/dist/commonjs/options.d.ts +32 -0
- package/node_modules/isexe/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/options.js +3 -0
- package/node_modules/isexe/dist/commonjs/options.js.map +1 -0
- package/node_modules/isexe/dist/commonjs/package.json +3 -0
- package/node_modules/isexe/dist/commonjs/posix.d.ts +18 -0
- package/node_modules/isexe/dist/commonjs/posix.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/posix.js +67 -0
- package/node_modules/isexe/dist/commonjs/posix.js.map +1 -0
- package/node_modules/isexe/dist/commonjs/win32.d.ts +18 -0
- package/node_modules/isexe/dist/commonjs/win32.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/win32.js +63 -0
- package/node_modules/isexe/dist/commonjs/win32.js.map +1 -0
- package/node_modules/isexe/dist/esm/index.d.ts +14 -0
- package/node_modules/isexe/dist/esm/index.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/index.js +16 -0
- package/node_modules/isexe/dist/esm/index.js.map +1 -0
- package/node_modules/isexe/dist/esm/index.min.js +2 -0
- package/node_modules/isexe/dist/esm/index.min.js.map +7 -0
- package/node_modules/isexe/dist/esm/options.d.ts +32 -0
- package/node_modules/isexe/dist/esm/options.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/options.js +2 -0
- package/node_modules/isexe/dist/esm/options.js.map +1 -0
- package/node_modules/isexe/dist/esm/package.json +3 -0
- package/node_modules/isexe/dist/esm/posix.d.ts +18 -0
- package/node_modules/isexe/dist/esm/posix.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/posix.js +62 -0
- package/node_modules/isexe/dist/esm/posix.js.map +1 -0
- package/node_modules/isexe/dist/esm/win32.d.ts +18 -0
- package/node_modules/isexe/dist/esm/win32.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/win32.js +58 -0
- package/node_modules/isexe/dist/esm/win32.js.map +1 -0
- package/node_modules/isexe/package.json +68 -58
- package/node_modules/isstream/package.json +20 -48
- package/node_modules/jsbn/package.json +11 -43
- package/node_modules/json-schema/LICENSE +195 -0
- package/node_modules/json-schema/README.md +2 -4
- package/node_modules/json-schema/lib/links.js +1 -2
- package/node_modules/json-schema/lib/validate.js +7 -9
- package/node_modules/json-schema/package.json +24 -71
- package/node_modules/json-schema-traverse/package.json +20 -47
- package/node_modules/json-stringify-safe/package.json +15 -51
- package/node_modules/jsonfile/README.md +109 -47
- package/node_modules/jsonfile/index.js +45 -91
- package/node_modules/jsonfile/package.json +19 -50
- package/node_modules/jsonfile/utils.js +18 -0
- package/node_modules/jsprim/CHANGES.md +4 -0
- package/node_modules/jsprim/package.json +18 -47
- package/node_modules/ky/distribution/core/Ky.d.ts +8 -0
- package/node_modules/ky/distribution/core/Ky.js +395 -0
- package/node_modules/ky/distribution/core/Ky.js.map +1 -0
- package/node_modules/ky/distribution/core/constants.d.ts +205 -0
- package/node_modules/ky/distribution/core/constants.js +185 -0
- package/node_modules/ky/distribution/core/constants.js.map +1 -0
- package/node_modules/ky/distribution/errors/ForceRetryError.d.ts +12 -0
- package/node_modules/ky/distribution/errors/ForceRetryError.js +23 -0
- package/node_modules/ky/distribution/errors/ForceRetryError.js.map +1 -0
- package/node_modules/ky/distribution/errors/HTTPError.d.ts +9 -0
- package/node_modules/ky/distribution/errors/HTTPError.js +17 -0
- package/node_modules/ky/distribution/errors/HTTPError.js.map +1 -0
- package/node_modules/ky/distribution/errors/NonError.d.ts +10 -0
- package/node_modules/ky/distribution/errors/NonError.js +27 -0
- package/node_modules/ky/distribution/errors/NonError.js.map +1 -0
- package/node_modules/ky/distribution/errors/TimeoutError.d.ts +5 -0
- package/node_modules/ky/distribution/errors/TimeoutError.js +9 -0
- package/node_modules/ky/distribution/errors/TimeoutError.js.map +1 -0
- package/node_modules/ky/distribution/index.d.ts +14 -0
- package/node_modules/ky/distribution/index.js +31 -0
- package/node_modules/ky/distribution/index.js.map +1 -0
- package/node_modules/ky/distribution/types/ResponsePromise.d.ts +40 -0
- package/node_modules/ky/distribution/types/ResponsePromise.js +2 -0
- package/node_modules/ky/distribution/types/ResponsePromise.js.map +1 -0
- package/node_modules/ky/distribution/types/common.d.ts +7 -0
- package/node_modules/ky/distribution/types/common.js +2 -0
- package/node_modules/ky/distribution/types/common.js.map +1 -0
- package/node_modules/ky/distribution/types/hooks.d.ts +247 -0
- package/node_modules/ky/distribution/types/hooks.js +2 -0
- package/node_modules/ky/distribution/types/hooks.js.map +1 -0
- package/node_modules/ky/distribution/types/ky.d.ts +175 -0
- package/node_modules/ky/distribution/types/ky.js +2 -0
- package/node_modules/ky/distribution/types/ky.js.map +1 -0
- package/node_modules/ky/distribution/types/options.d.ts +352 -0
- package/node_modules/ky/distribution/types/options.js +2 -0
- package/node_modules/ky/distribution/types/options.js.map +1 -0
- package/node_modules/ky/distribution/types/request.d.ts +3 -0
- package/node_modules/ky/distribution/types/request.js +2 -0
- package/node_modules/ky/distribution/types/request.js.map +1 -0
- package/node_modules/ky/distribution/types/response.d.ts +3 -0
- package/node_modules/ky/distribution/types/response.js +2 -0
- package/node_modules/ky/distribution/types/response.js.map +1 -0
- package/node_modules/ky/distribution/types/retry.d.ts +159 -0
- package/node_modules/ky/distribution/types/retry.js +2 -0
- package/node_modules/ky/distribution/types/retry.js.map +1 -0
- package/node_modules/ky/distribution/utils/body.d.ts +4 -0
- package/node_modules/ky/distribution/utils/body.js +103 -0
- package/node_modules/ky/distribution/utils/body.js.map +1 -0
- package/node_modules/ky/distribution/utils/delay.d.ts +5 -0
- package/node_modules/ky/distribution/utils/delay.js +18 -0
- package/node_modules/ky/distribution/utils/delay.js.map +1 -0
- package/node_modules/ky/distribution/utils/is.d.ts +1 -0
- package/node_modules/ky/distribution/utils/is.js +3 -0
- package/node_modules/ky/distribution/utils/is.js.map +1 -0
- package/node_modules/ky/distribution/utils/merge.d.ts +6 -0
- package/node_modules/ky/distribution/utils/merge.js +154 -0
- package/node_modules/ky/distribution/utils/merge.js.map +1 -0
- package/node_modules/ky/distribution/utils/normalize.d.ts +5 -0
- package/node_modules/ky/distribution/utils/normalize.js +37 -0
- package/node_modules/ky/distribution/utils/normalize.js.map +1 -0
- package/node_modules/ky/distribution/utils/options.d.ts +3 -0
- package/node_modules/ky/distribution/utils/options.js +41 -0
- package/node_modules/ky/distribution/utils/options.js.map +1 -0
- package/node_modules/ky/distribution/utils/timeout.d.ts +5 -0
- package/node_modules/ky/distribution/utils/timeout.js +20 -0
- package/node_modules/ky/distribution/utils/timeout.js.map +1 -0
- package/node_modules/ky/distribution/utils/type-guards.d.ts +88 -0
- package/node_modules/ky/distribution/utils/type-guards.js +97 -0
- package/node_modules/ky/distribution/utils/type-guards.js.map +1 -0
- package/node_modules/ky/distribution/utils/types.d.ts +6 -0
- package/node_modules/ky/distribution/utils/types.js +2 -0
- package/node_modules/ky/distribution/utils/types.js.map +1 -0
- package/node_modules/ky/license +9 -0
- package/node_modules/ky/package.json +116 -0
- package/node_modules/ky/readme.md +1356 -0
- package/node_modules/latest-version/index.d.ts +18 -35
- package/node_modules/latest-version/index.js +5 -8
- package/node_modules/latest-version/license +1 -1
- package/node_modules/latest-version/package.json +47 -72
- package/node_modules/latest-version/readme.md +12 -20
- package/node_modules/lru-cache/LICENSE.md +55 -0
- package/node_modules/lru-cache/README.md +420 -117
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +1726 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.cjs.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1726 -0
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js +1726 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js +1722 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.mjs.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.js +1722 -0
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.js +1722 -0
- package/node_modules/lru-cache/dist/esm/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/perf.js.map +1 -0
- package/node_modules/lru-cache/package.json +141 -54
- package/node_modules/mime-db/HISTORY.md +76 -0
- package/node_modules/mime-db/LICENSE +19 -18
- package/node_modules/mime-db/README.md +9 -9
- package/node_modules/mime-db/db.json +608 -58
- package/node_modules/mime-db/index.js +1 -0
- package/node_modules/mime-db/package.json +34 -75
- package/node_modules/mime-types/HISTORY.md +83 -2
- package/node_modules/mime-types/README.md +8 -8
- package/node_modules/mime-types/package.json +27 -70
- package/node_modules/minimist/.eslintrc +29 -0
- package/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/node_modules/minimist/.nycrc +14 -0
- package/node_modules/minimist/CHANGELOG.md +298 -0
- package/node_modules/minimist/README.md +121 -0
- package/node_modules/minimist/example/parse.js +3 -1
- package/node_modules/minimist/index.js +255 -179
- package/node_modules/minimist/package.json +73 -70
- package/node_modules/minimist/test/all_bool.js +34 -0
- package/node_modules/minimist/test/bool.js +177 -0
- package/node_modules/minimist/test/dash.js +35 -16
- package/node_modules/minimist/test/default_bool.js +29 -12
- package/node_modules/minimist/test/dotted.js +16 -8
- package/node_modules/minimist/test/kv_short.js +32 -0
- package/node_modules/minimist/test/long.js +28 -26
- package/node_modules/minimist/test/num.js +38 -0
- package/node_modules/minimist/test/parse.js +166 -275
- package/node_modules/minimist/test/parse_modified.js +7 -5
- package/node_modules/minimist/test/proto.js +64 -0
- package/node_modules/minimist/test/short.js +57 -55
- package/node_modules/minimist/test/stop_early.js +17 -0
- package/node_modules/minimist/test/unknown.js +104 -0
- package/node_modules/minimist/test/whitespace.js +6 -4
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +470 -251
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +64 -59
- package/node_modules/minizlib/LICENSE +3 -3
- package/node_modules/minizlib/README.md +14 -3
- package/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/constants.js +123 -0
- package/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
- package/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/commonjs/index.js +416 -0
- package/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
- package/node_modules/minizlib/dist/commonjs/package.json +3 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
- package/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/constants.js +117 -0
- package/node_modules/minizlib/dist/esm/constants.js.map +1 -0
- package/node_modules/minizlib/dist/esm/index.d.ts +99 -0
- package/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minizlib/dist/esm/index.js +363 -0
- package/node_modules/minizlib/dist/esm/index.js.map +1 -0
- package/node_modules/minizlib/dist/esm/package.json +3 -0
- package/node_modules/minizlib/package.json +62 -53
- package/node_modules/node-gyp/.release-please-manifest.json +3 -0
- package/node_modules/node-gyp/CHANGELOG.md +958 -63
- package/node_modules/node-gyp/CODE_OF_CONDUCT.md +4 -0
- package/node_modules/node-gyp/CONTRIBUTING.md +11 -1
- package/node_modules/node-gyp/README.md +99 -47
- package/node_modules/node-gyp/SECURITY.md +2 -0
- package/node_modules/node-gyp/addon.gypi +55 -15
- package/node_modules/node-gyp/bin/node-gyp.js +36 -32
- package/node_modules/node-gyp/commitlint.config.mjs +3 -0
- package/node_modules/node-gyp/eslint.config.js +3 -0
- package/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
- package/node_modules/node-gyp/gyp/LICENSE +1 -0
- package/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
- package/node_modules/node-gyp/gyp/docs/GypVsCMake.md +116 -0
- package/node_modules/node-gyp/gyp/docs/Hacking.md +46 -0
- package/node_modules/node-gyp/gyp/docs/InputFormatReference.md +1083 -0
- package/node_modules/node-gyp/gyp/docs/LanguageSpecification.md +430 -0
- package/node_modules/node-gyp/gyp/docs/README.md +27 -0
- package/node_modules/node-gyp/gyp/docs/Testing.md +450 -0
- package/node_modules/node-gyp/gyp/docs/UserDocumentation.md +965 -0
- package/node_modules/node-gyp/gyp/gyp.bat +0 -0
- package/node_modules/node-gyp/gyp/gyp_main.py +25 -30
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +326 -299
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +200 -202
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1022 -843
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1513 -1455
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +53 -52
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +136 -131
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +232 -232
- package/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +574 -422
- package/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +657 -508
- package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/common.py +556 -465
- package/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +163 -49
- package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +142 -135
- package/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +100 -93
- package/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +40 -39
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +654 -592
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1076 -1004
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1184 -1094
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +96 -83
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +82 -78
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +404 -374
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +35 -41
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +27 -28
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2242 -1752
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3608 -3168
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +34 -30
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2833 -2302
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +67 -36
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1293 -1205
- package/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +14 -11
- package/node_modules/node-gyp/gyp/pylib/gyp/input.py +2840 -2645
- package/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +88 -79
- package/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +739 -588
- package/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1181 -1030
- package/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +69 -55
- package/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +31 -20
- package/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +348 -304
- package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1837 -1561
- package/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
- package/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +274 -243
- package/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +2827 -2569
- package/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +39 -44
- package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/__init__.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/_structures.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/__pycache__/version.cpython-312.pyc +0 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +807 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/tags.py +541 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
- package/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
- package/node_modules/node-gyp/gyp/pyproject.toml +116 -0
- package/node_modules/node-gyp/gyp/release-please-config.json +11 -0
- package/node_modules/node-gyp/gyp/test_gyp.py +260 -0
- package/node_modules/node-gyp/lib/Find-VisualStudio.cs +8 -1
- package/node_modules/node-gyp/lib/build.js +122 -96
- package/node_modules/node-gyp/lib/clean.js +5 -5
- package/node_modules/node-gyp/lib/configure.js +211 -269
- package/node_modules/node-gyp/lib/create-config-gypi.js +158 -0
- package/node_modules/node-gyp/lib/download.js +86 -0
- package/node_modules/node-gyp/lib/find-node-directory.js +5 -5
- package/node_modules/node-gyp/lib/find-python.js +158 -175
- package/node_modules/node-gyp/lib/find-visualstudio.js +315 -143
- package/node_modules/node-gyp/lib/install.js +288 -327
- package/node_modules/node-gyp/lib/list.js +14 -15
- package/node_modules/node-gyp/lib/log.js +168 -0
- package/node_modules/node-gyp/lib/node-gyp.js +156 -166
- package/node_modules/node-gyp/lib/process-release.js +35 -38
- package/node_modules/node-gyp/lib/rebuild.js +1 -2
- package/node_modules/node-gyp/lib/remove.js +18 -21
- package/node_modules/node-gyp/lib/util.js +62 -45
- package/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
- package/node_modules/node-gyp/package.json +37 -71
- package/node_modules/node-gyp/release-please-config.json +40 -0
- package/node_modules/node-gyp/src/win_delay_load_hook.cc +3 -1
- package/node_modules/nopt/README.md +7 -8
- package/node_modules/nopt/bin/nopt.js +28 -53
- package/node_modules/nopt/lib/nopt-lib.js +478 -0
- package/node_modules/nopt/lib/nopt.js +23 -427
- package/node_modules/nopt/lib/type-defs.js +86 -0
- package/node_modules/nopt/package.json +40 -48
- package/node_modules/npm-package-arg/LICENSE +1 -1
- package/node_modules/npm-package-arg/README.md +30 -9
- package/node_modules/npm-package-arg/lib/npa.js +479 -0
- package/node_modules/npm-package-arg/package.json +46 -59
- package/node_modules/npm-path/bin/npm-path +0 -0
- package/node_modules/npm-path/node_modules/isexe/README.md +51 -0
- package/node_modules/npm-path/node_modules/isexe/package.json +31 -0
- package/node_modules/npm-path/node_modules/which/package.json +16 -51
- package/node_modules/npm-path/package.json +25 -54
- package/node_modules/oauth-sign/package.json +12 -45
- package/node_modules/once/package.json +14 -54
- package/node_modules/package-json/index.d.ts +266 -162
- package/node_modules/package-json/index.js +31 -54
- package/node_modules/package-json/license +1 -1
- package/node_modules/package-json/package.json +51 -76
- package/node_modules/package-json/readme.md +25 -37
- package/node_modules/pako/package.json +27 -64
- package/node_modules/peek-stream/package.json +15 -42
- package/node_modules/performance-now/package.json +16 -46
- package/node_modules/picomatch/LICENSE +21 -0
- package/node_modules/picomatch/README.md +749 -0
- package/node_modules/picomatch/index.js +17 -0
- package/node_modules/picomatch/lib/constants.js +184 -0
- package/node_modules/picomatch/lib/parse.js +1386 -0
- package/node_modules/picomatch/lib/picomatch.js +349 -0
- package/node_modules/picomatch/lib/scan.js +391 -0
- package/node_modules/picomatch/lib/utils.js +72 -0
- package/node_modules/picomatch/package.json +82 -0
- package/node_modules/picomatch/posix.js +3 -0
- package/node_modules/proc-log/LICENSE +15 -0
- package/node_modules/proc-log/README.md +226 -0
- package/node_modules/proc-log/lib/index.js +158 -0
- package/node_modules/proc-log/package.json +46 -0
- package/node_modules/process-nextick-args/package.json +15 -40
- package/node_modules/promise-each/package.json +15 -47
- package/node_modules/proto-list/README.md +3 -0
- package/node_modules/proto-list/package.json +18 -0
- package/node_modules/proto-list/proto-list.js +88 -0
- package/node_modules/proto-list/test/basic.js +61 -0
- package/node_modules/psl/README.md +79 -34
- package/node_modules/psl/SECURITY.md +13 -0
- package/node_modules/psl/data/rules.js +9778 -0
- package/node_modules/psl/dist/psl.cjs +1 -0
- package/node_modules/psl/dist/psl.mjs +10008 -0
- package/node_modules/psl/dist/psl.umd.cjs +1 -0
- package/node_modules/psl/index.js +60 -82
- package/node_modules/psl/package.json +40 -66
- package/node_modules/psl/types/index.d.ts +52 -0
- package/node_modules/psl/types/test.ts +14 -0
- package/node_modules/psl/types/tsconfig.json +22 -0
- package/node_modules/psl/vite.config.js +20 -0
- package/node_modules/pump/package.json +10 -45
- package/node_modules/pumpify/package.json +15 -42
- package/node_modules/punycode/README.md +29 -3
- package/node_modules/punycode/package.json +32 -59
- package/node_modules/punycode/punycode.es6.js +25 -22
- package/node_modules/punycode/punycode.js +25 -22
- package/node_modules/pupa/index.d.ts +98 -0
- package/node_modules/pupa/index.js +119 -0
- package/node_modules/pupa/license +9 -0
- package/node_modules/pupa/package.json +52 -0
- package/node_modules/pupa/readme.md +135 -0
- package/node_modules/qs/.editorconfig +14 -1
- package/node_modules/qs/.eslintrc +21 -3
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +36 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +62 -21
- package/node_modules/qs/dist/qs.js +45 -35
- package/node_modules/qs/lib/formats.js +1 -1
- package/node_modules/qs/lib/parse.js +10 -9
- package/node_modules/qs/lib/stringify.js +21 -14
- package/node_modules/qs/lib/utils.js +13 -11
- package/node_modules/qs/package.json +59 -76
- package/node_modules/qs/test/parse.js +88 -4
- package/node_modules/qs/test/stringify.js +51 -0
- package/node_modules/qs/test/utils.js +31 -0
- package/node_modules/rc/node_modules/strip-json-comments/package.json +42 -0
- package/node_modules/rc/package.json +18 -54
- package/node_modules/readable-stream/.travis.yml +9 -30
- package/node_modules/readable-stream/README.md +2 -2
- package/node_modules/readable-stream/lib/_stream_duplex.js +1 -1
- package/node_modules/readable-stream/lib/_stream_passthrough.js +1 -1
- package/node_modules/readable-stream/lib/_stream_readable.js +5 -5
- package/node_modules/readable-stream/lib/_stream_transform.js +1 -1
- package/node_modules/readable-stream/lib/_stream_writable.js +7 -9
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +14 -4
- package/node_modules/readable-stream/package.json +22 -57
- package/node_modules/registry-auth-token/CHANGELOG.md +66 -3
- package/node_modules/registry-auth-token/README.md +14 -8
- package/node_modules/registry-auth-token/index.d.ts +67 -0
- package/node_modules/registry-auth-token/index.js +64 -30
- package/node_modules/registry-auth-token/package.json +25 -54
- package/node_modules/registry-auth-token/registry-url.d.ts +15 -0
- package/node_modules/registry-auth-token/registry-url.js +5 -3
- package/node_modules/registry-url/index.d.ts +17 -27
- package/node_modules/registry-url/index.js +3 -8
- package/node_modules/registry-url/license +1 -1
- package/node_modules/registry-url/package.json +44 -74
- package/node_modules/registry-url/readme.md +14 -9
- package/node_modules/request/CHANGELOG.md +8 -0
- package/node_modules/request/README.md +81 -45
- package/node_modules/request/index.js +1 -1
- package/node_modules/request/lib/auth.js +1 -1
- package/node_modules/request/lib/getProxyFromURI.js +1 -1
- package/node_modules/request/lib/har.js +1 -1
- package/node_modules/request/package.json +33 -64
- package/node_modules/request/request.js +13 -11
- package/node_modules/safe-buffer/package.json +5 -38
- package/node_modules/safer-buffer/package.json +13 -42
- package/node_modules/semver/README.md +298 -61
- package/node_modules/semver/bin/semver.js +119 -98
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +65 -55
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +5 -4
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/sshpk/Jenkinsfile +86 -0
- package/node_modules/sshpk/bin/sshpk-conv +6 -6
- package/node_modules/sshpk/lib/formats/pkcs8.js +24 -12
- package/node_modules/sshpk/lib/formats/putty.js +99 -4
- package/node_modules/sshpk/lib/private-key.js +1 -0
- package/node_modules/sshpk/package.json +30 -67
- package/node_modules/stream-shift/.github/workflows/test.yml +23 -0
- package/node_modules/stream-shift/index.js +4 -3
- package/node_modules/stream-shift/package.json +13 -41
- package/node_modules/stream-shift/test.js +4 -4
- package/node_modules/streamx/LICENSE +21 -0
- package/node_modules/streamx/README.md +550 -0
- package/node_modules/streamx/index.d.ts +198 -0
- package/node_modules/streamx/index.js +1314 -0
- package/node_modules/streamx/lib/errors.d.ts +13 -0
- package/node_modules/streamx/lib/errors.js +47 -0
- package/node_modules/streamx/package.json +51 -0
- package/node_modules/streamx/runtime.d.ts +55 -0
- package/node_modules/string-width/index.d.ts +39 -0
- package/node_modules/string-width/index.js +66 -21
- package/node_modules/string-width/license +5 -17
- package/node_modules/string-width/node_modules/ansi-regex/index.d.ts +33 -0
- package/node_modules/string-width/node_modules/ansi-regex/index.js +14 -0
- package/node_modules/string-width/node_modules/ansi-regex/license +9 -0
- package/node_modules/string-width/node_modules/ansi-regex/package.json +61 -0
- package/node_modules/string-width/node_modules/ansi-regex/readme.md +66 -0
- package/node_modules/string-width/node_modules/strip-ansi/index.js +19 -0
- package/node_modules/string-width/node_modules/strip-ansi/license +9 -0
- package/node_modules/string-width/node_modules/strip-ansi/package.json +59 -0
- package/node_modules/string-width/node_modules/strip-ansi/readme.md +37 -0
- package/node_modules/string-width/package.json +62 -87
- package/node_modules/string-width/readme.md +40 -16
- package/node_modules/string_decoder/package.json +13 -44
- package/node_modules/strip-ansi/index.js +2 -4
- package/node_modules/strip-ansi/license +4 -16
- package/node_modules/strip-ansi/package.json +52 -103
- package/node_modules/strip-ansi/readme.md +20 -7
- package/node_modules/stubborn-fs/dist/constants.d.ts +11 -0
- package/node_modules/stubborn-fs/dist/constants.js +16 -0
- package/node_modules/stubborn-fs/dist/handlers.d.ts +7 -0
- package/node_modules/stubborn-fs/dist/handlers.js +36 -0
- package/node_modules/stubborn-fs/dist/index.d.ts +274 -0
- package/node_modules/stubborn-fs/dist/index.js +52 -0
- package/node_modules/stubborn-fs/license +21 -0
- package/node_modules/stubborn-fs/package.json +32 -0
- package/node_modules/stubborn-fs/readme.md +69 -0
- package/node_modules/stubborn-utils/dist/attemptify_async.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/attemptify_async.js +10 -0
- package/node_modules/stubborn-utils/dist/attemptify_sync.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/attemptify_sync.js +15 -0
- package/node_modules/stubborn-utils/dist/constants.d.ts +2 -0
- package/node_modules/stubborn-utils/dist/constants.js +4 -0
- package/node_modules/stubborn-utils/dist/index.d.ts +9 -0
- package/node_modules/stubborn-utils/dist/index.js +7 -0
- package/node_modules/stubborn-utils/dist/retryify_async.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/retryify_async.js +29 -0
- package/node_modules/stubborn-utils/dist/retryify_sync.d.ts +3 -0
- package/node_modules/stubborn-utils/dist/retryify_sync.js +25 -0
- package/node_modules/stubborn-utils/dist/types.d.ts +44 -0
- package/node_modules/stubborn-utils/dist/types.js +2 -0
- package/node_modules/stubborn-utils/license +21 -0
- package/node_modules/stubborn-utils/package.json +30 -0
- package/node_modules/stubborn-utils/readme.md +139 -0
- package/node_modules/tar/LICENSE.md +55 -0
- package/node_modules/tar/README.md +506 -236
- package/node_modules/tar/dist/commonjs/create.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/create.js +82 -0
- package/node_modules/tar/dist/commonjs/create.js.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
- package/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/extract.js +88 -0
- package/node_modules/tar/dist/commonjs/extract.js.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
- package/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/commonjs/header.d.ts +53 -0
- package/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/header.js +347 -0
- package/node_modules/tar/dist/commonjs/header.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.d.ts +20 -0
- package/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/index.js +64 -0
- package/node_modules/tar/dist/commonjs/index.js.map +1 -0
- package/node_modules/tar/dist/commonjs/index.min.js +4 -0
- package/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
- package/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/commonjs/list.d.ts +7 -0
- package/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/list.js +145 -0
- package/node_modules/tar/dist/commonjs/list.js.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
- package/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/make-command.js +52 -0
- package/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mkdir.js +187 -0
- package/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
- package/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
- package/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
- package/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/options.d.ts +596 -0
- package/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/options.js +66 -0
- package/node_modules/tar/dist/commonjs/options.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
- package/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pack.js +544 -0
- package/node_modules/tar/dist/commonjs/pack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/package.json +3 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts +85 -0
- package/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/parse.js +610 -0
- package/node_modules/tar/dist/commonjs/parse.js.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
- package/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
- package/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/pax.js +158 -0
- package/node_modules/tar/dist/commonjs/pax.js.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/process-umask.js +7 -0
- package/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/read-entry.js +136 -0
- package/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/replace.js +227 -0
- package/node_modules/tar/dist/commonjs/replace.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
- package/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
- package/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
- package/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/commonjs/types.d.ts +16 -0
- package/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/types.js +70 -0
- package/node_modules/tar/dist/commonjs/types.js.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
- package/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/unpack.js +932 -0
- package/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
- package/node_modules/tar/dist/commonjs/update.d.ts +2 -0
- package/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/update.js +33 -0
- package/node_modules/tar/dist/commonjs/update.js.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/warn-method.js +31 -0
- package/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
- package/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/winchars.js +14 -0
- package/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/commonjs/write-entry.js +698 -0
- package/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/create.d.ts +3 -0
- package/node_modules/tar/dist/esm/create.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/create.js +76 -0
- package/node_modules/tar/dist/esm/create.js.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
- package/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/cwd-error.js +14 -0
- package/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
- package/node_modules/tar/dist/esm/extract.d.ts +3 -0
- package/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/extract.js +49 -0
- package/node_modules/tar/dist/esm/extract.js.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
- package/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/get-write-flag.js +26 -0
- package/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
- package/node_modules/tar/dist/esm/header.d.ts +53 -0
- package/node_modules/tar/dist/esm/header.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/header.js +310 -0
- package/node_modules/tar/dist/esm/header.js.map +1 -0
- package/node_modules/tar/dist/esm/index.d.ts +20 -0
- package/node_modules/tar/dist/esm/index.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/index.js +20 -0
- package/node_modules/tar/dist/esm/index.js.map +1 -0
- package/node_modules/tar/dist/esm/index.min.js +4 -0
- package/node_modules/tar/dist/esm/index.min.js.map +7 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
- package/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/large-numbers.js +94 -0
- package/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
- package/node_modules/tar/dist/esm/list.d.ts +7 -0
- package/node_modules/tar/dist/esm/list.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/list.js +105 -0
- package/node_modules/tar/dist/esm/list.js.map +1 -0
- package/node_modules/tar/dist/esm/make-command.d.ts +49 -0
- package/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/make-command.js +48 -0
- package/node_modules/tar/dist/esm/make-command.js.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
- package/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mkdir.js +179 -0
- package/node_modules/tar/dist/esm/mkdir.js.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
- package/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/mode-fix.js +25 -0
- package/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
- package/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
- package/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
- package/node_modules/tar/dist/esm/options.d.ts +596 -0
- package/node_modules/tar/dist/esm/options.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/options.js +54 -0
- package/node_modules/tar/dist/esm/options.js.map +1 -0
- package/node_modules/tar/dist/esm/pack.d.ts +105 -0
- package/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pack.js +502 -0
- package/node_modules/tar/dist/esm/pack.js.map +1 -0
- package/node_modules/tar/dist/esm/package.json +3 -0
- package/node_modules/tar/dist/esm/parse.d.ts +85 -0
- package/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/parse.js +606 -0
- package/node_modules/tar/dist/esm/parse.js.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
- package/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/path-reservations.js +166 -0
- package/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
- package/node_modules/tar/dist/esm/pax.d.ts +26 -0
- package/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/pax.js +154 -0
- package/node_modules/tar/dist/esm/pax.js.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
- package/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/process-umask.js +3 -0
- package/node_modules/tar/dist/esm/process-umask.js.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
- package/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/read-entry.js +132 -0
- package/node_modules/tar/dist/esm/read-entry.js.map +1 -0
- package/node_modules/tar/dist/esm/replace.d.ts +2 -0
- package/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/replace.js +221 -0
- package/node_modules/tar/dist/esm/replace.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
- package/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
- package/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
- package/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/symlink-error.js +15 -0
- package/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
- package/node_modules/tar/dist/esm/types.d.ts +16 -0
- package/node_modules/tar/dist/esm/types.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/types.js +65 -0
- package/node_modules/tar/dist/esm/types.js.map +1 -0
- package/node_modules/tar/dist/esm/unpack.d.ts +101 -0
- package/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/unpack.js +891 -0
- package/node_modules/tar/dist/esm/unpack.js.map +1 -0
- package/node_modules/tar/dist/esm/update.d.ts +2 -0
- package/node_modules/tar/dist/esm/update.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/update.js +30 -0
- package/node_modules/tar/dist/esm/update.js.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
- package/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/warn-method.js +27 -0
- package/node_modules/tar/dist/esm/warn-method.js.map +1 -0
- package/node_modules/tar/dist/esm/winchars.d.ts +3 -0
- package/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/winchars.js +9 -0
- package/node_modules/tar/dist/esm/winchars.js.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
- package/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
- package/node_modules/tar/dist/esm/write-entry.js +656 -0
- package/node_modules/tar/dist/esm/write-entry.js.map +1 -0
- package/node_modules/tar/package.json +283 -67
- package/node_modules/tar-fs/README.md +25 -34
- package/node_modules/tar-fs/index.js +234 -182
- package/node_modules/tar-fs/node_modules/pump/.github/FUNDING.yml +2 -0
- package/node_modules/tar-fs/node_modules/pump/README.md +9 -0
- package/node_modules/tar-fs/node_modules/pump/SECURITY.md +5 -0
- package/node_modules/tar-fs/node_modules/pump/empty.js +1 -0
- package/node_modules/tar-fs/node_modules/pump/index.js +6 -2
- package/node_modules/tar-fs/node_modules/pump/package.json +15 -44
- package/node_modules/tar-fs/package.json +45 -55
- package/node_modules/tar-stream/README.md +35 -20
- package/node_modules/tar-stream/constants.js +14 -0
- package/node_modules/tar-stream/extract.js +353 -192
- package/node_modules/tar-stream/headers.js +203 -179
- package/node_modules/tar-stream/node_modules/b4a/LICENSE +201 -0
- package/node_modules/tar-stream/node_modules/b4a/README.md +153 -0
- package/node_modules/tar-stream/node_modules/b4a/browser.js +541 -0
- package/node_modules/tar-stream/node_modules/b4a/index.js +188 -0
- package/node_modules/tar-stream/node_modules/b4a/lib/ascii.js +31 -0
- package/node_modules/tar-stream/node_modules/b4a/lib/base64.js +64 -0
- package/node_modules/tar-stream/node_modules/b4a/lib/hex.js +51 -0
- package/node_modules/tar-stream/node_modules/b4a/lib/latin1.js +31 -0
- package/node_modules/tar-stream/node_modules/b4a/lib/utf16le.js +40 -0
- package/node_modules/tar-stream/node_modules/b4a/lib/utf8.js +144 -0
- package/node_modules/tar-stream/node_modules/b4a/package.json +51 -0
- package/node_modules/tar-stream/node_modules/b4a/react-native.js +5 -0
- package/node_modules/tar-stream/pack.js +226 -193
- package/node_modules/tar-stream/package.json +30 -76
- package/node_modules/teex/LICENSE +21 -0
- package/node_modules/teex/README.md +31 -0
- package/node_modules/teex/example.js +16 -0
- package/node_modules/teex/index.js +52 -0
- package/node_modules/teex/package.json +26 -0
- package/node_modules/teex/test.js +68 -0
- package/node_modules/text-decoder/LICENSE +201 -0
- package/node_modules/text-decoder/README.md +36 -0
- package/node_modules/text-decoder/index.js +64 -0
- package/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
- package/node_modules/text-decoder/lib/utf8-decoder.js +185 -0
- package/node_modules/text-decoder/node_modules/b4a/LICENSE +201 -0
- package/node_modules/text-decoder/node_modules/b4a/README.md +153 -0
- package/node_modules/text-decoder/node_modules/b4a/browser.js +541 -0
- package/node_modules/text-decoder/node_modules/b4a/index.js +188 -0
- package/node_modules/text-decoder/node_modules/b4a/lib/ascii.js +31 -0
- package/node_modules/text-decoder/node_modules/b4a/lib/base64.js +64 -0
- package/node_modules/text-decoder/node_modules/b4a/lib/hex.js +51 -0
- package/node_modules/text-decoder/node_modules/b4a/lib/latin1.js +31 -0
- package/node_modules/text-decoder/node_modules/b4a/lib/utf16le.js +40 -0
- package/node_modules/text-decoder/node_modules/b4a/lib/utf8.js +144 -0
- package/node_modules/text-decoder/node_modules/b4a/package.json +51 -0
- package/node_modules/text-decoder/node_modules/b4a/react-native.js +5 -0
- package/node_modules/text-decoder/package.json +39 -0
- package/node_modules/through2/package.json +18 -55
- package/node_modules/tinyglobby/LICENSE +21 -0
- package/node_modules/tinyglobby/README.md +25 -0
- package/node_modules/tinyglobby/dist/index.cjs +335 -0
- package/node_modules/tinyglobby/dist/index.d.cts +148 -0
- package/node_modules/tinyglobby/dist/index.d.mts +148 -0
- package/node_modules/tinyglobby/dist/index.mjs +307 -0
- package/node_modules/tinyglobby/package.json +70 -0
- package/node_modules/tough-cookie/README.md +24 -4
- package/node_modules/tough-cookie/lib/cookie.js +54 -3
- package/node_modules/tough-cookie/lib/memstore.js +5 -0
- package/node_modules/tough-cookie/lib/store.js +4 -0
- package/node_modules/tough-cookie/lib/version.js +2 -0
- package/node_modules/tough-cookie/package.json +42 -58
- package/node_modules/tunnel-agent/package.json +12 -45
- package/node_modules/tweetnacl/package.json +35 -63
- package/node_modules/undici/LICENSE +21 -0
- package/node_modules/undici/README.md +473 -0
- package/node_modules/undici/docs/docs/api/Agent.md +80 -0
- package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
- package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
- package/node_modules/undici/docs/docs/api/Client.md +277 -0
- package/node_modules/undici/docs/docs/api/Connector.md +115 -0
- package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
- package/node_modules/undici/docs/docs/api/Cookies.md +101 -0
- package/node_modules/undici/docs/docs/api/Debug.md +62 -0
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +204 -0
- package/node_modules/undici/docs/docs/api/DispatchInterceptor.md +60 -0
- package/node_modules/undici/docs/docs/api/Dispatcher.md +1347 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +162 -0
- package/node_modules/undici/docs/docs/api/Errors.md +49 -0
- package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +52 -0
- package/node_modules/undici/docs/docs/api/MockAgent.md +540 -0
- package/node_modules/undici/docs/docs/api/MockClient.md +77 -0
- package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
- package/node_modules/undici/docs/docs/api/MockPool.md +547 -0
- package/node_modules/undici/docs/docs/api/Pool.md +84 -0
- package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +131 -0
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +96 -0
- package/node_modules/undici/docs/docs/api/RetryAgent.md +45 -0
- package/node_modules/undici/docs/docs/api/RetryHandler.md +117 -0
- package/node_modules/undici/docs/docs/api/Util.md +25 -0
- package/node_modules/undici/docs/docs/api/WebSocket.md +51 -0
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +136 -0
- package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +20 -0
- package/node_modules/undici/index-fetch.js +35 -0
- package/node_modules/undici/index.d.ts +3 -0
- package/node_modules/undici/index.js +169 -0
- package/node_modules/undici/lib/api/abort-signal.js +57 -0
- package/node_modules/undici/lib/api/api-connect.js +108 -0
- package/node_modules/undici/lib/api/api-pipeline.js +251 -0
- package/node_modules/undici/lib/api/api-request.js +214 -0
- package/node_modules/undici/lib/api/api-stream.js +220 -0
- package/node_modules/undici/lib/api/api-upgrade.js +108 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +385 -0
- package/node_modules/undici/lib/api/util.js +93 -0
- package/node_modules/undici/lib/core/connect.js +240 -0
- package/node_modules/undici/lib/core/constants.js +118 -0
- package/node_modules/undici/lib/core/diagnostics.js +202 -0
- package/node_modules/undici/lib/core/errors.js +425 -0
- package/node_modules/undici/lib/core/request.js +405 -0
- package/node_modules/undici/lib/core/symbols.js +67 -0
- package/node_modules/undici/lib/core/tree.js +152 -0
- package/node_modules/undici/lib/core/util.js +719 -0
- package/node_modules/undici/lib/dispatcher/agent.js +129 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +209 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1487 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +744 -0
- package/node_modules/undici/lib/dispatcher/client.js +623 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +199 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +65 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +160 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +117 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +194 -0
- package/node_modules/undici/lib/dispatcher/pool-stats.js +34 -0
- package/node_modules/undici/lib/dispatcher/pool.js +107 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +274 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/global.js +32 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +44 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +232 -0
- package/node_modules/undici/lib/handler/retry-handler.js +374 -0
- package/node_modules/undici/lib/interceptor/dns.js +375 -0
- package/node_modules/undici/lib/interceptor/dump.js +123 -0
- package/node_modules/undici/lib/interceptor/redirect-interceptor.js +21 -0
- package/node_modules/undici/lib/interceptor/redirect.js +24 -0
- package/node_modules/undici/lib/interceptor/response-error.js +86 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/constants.js +278 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +5 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +5 -0
- package/node_modules/undici/lib/llhttp/utils.js +15 -0
- package/node_modules/undici/lib/mock/mock-agent.js +160 -0
- package/node_modules/undici/lib/mock/mock-client.js +59 -0
- package/node_modules/undici/lib/mock/mock-errors.js +28 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +207 -0
- package/node_modules/undici/lib/mock/mock-pool.js +59 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +23 -0
- package/node_modules/undici/lib/mock/mock-utils.js +367 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/pluralizer.js +29 -0
- package/node_modules/undici/lib/util/timers.js +423 -0
- package/node_modules/undici/lib/web/cache/cache.js +859 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/symbols.js +5 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +184 -0
- package/node_modules/undici/lib/web/cookies/parse.js +310 -0
- package/node_modules/undici/lib/web/cookies/util.js +282 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +398 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +480 -0
- package/node_modules/undici/lib/web/eventsource/util.js +37 -0
- package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
- package/node_modules/undici/lib/web/fetch/body.js +529 -0
- package/node_modules/undici/lib/web/fetch/constants.js +124 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +744 -0
- package/node_modules/undici/lib/web/fetch/dispatcher-weakref.js +46 -0
- package/node_modules/undici/lib/web/fetch/file.js +126 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +474 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +252 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +687 -0
- package/node_modules/undici/lib/web/fetch/index.js +2272 -0
- package/node_modules/undici/lib/web/fetch/request.js +1037 -0
- package/node_modules/undici/lib/web/fetch/response.js +610 -0
- package/node_modules/undici/lib/web/fetch/symbols.js +9 -0
- package/node_modules/undici/lib/web/fetch/util.js +1632 -0
- package/node_modules/undici/lib/web/fetch/webidl.js +695 -0
- package/node_modules/undici/lib/web/fileapi/encoding.js +290 -0
- package/node_modules/undici/lib/web/fileapi/filereader.js +344 -0
- package/node_modules/undici/lib/web/fileapi/progressevent.js +78 -0
- package/node_modules/undici/lib/web/fileapi/symbols.js +10 -0
- package/node_modules/undici/lib/web/fileapi/util.js +391 -0
- package/node_modules/undici/lib/web/websocket/connection.js +371 -0
- package/node_modules/undici/lib/web/websocket/constants.js +66 -0
- package/node_modules/undici/lib/web/websocket/events.js +329 -0
- package/node_modules/undici/lib/web/websocket/frame.js +96 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +513 -0
- package/node_modules/undici/lib/web/websocket/sender.js +104 -0
- package/node_modules/undici/lib/web/websocket/symbols.js +12 -0
- package/node_modules/undici/lib/web/websocket/util.js +322 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +595 -0
- package/node_modules/undici/package.json +160 -0
- package/node_modules/undici/scripts/strip-comments.js +8 -0
- package/node_modules/undici/types/README.md +6 -0
- package/node_modules/undici/types/agent.d.ts +31 -0
- package/node_modules/undici/types/api.d.ts +43 -0
- package/node_modules/undici/types/balanced-pool.d.ts +29 -0
- package/node_modules/undici/types/cache.d.ts +36 -0
- package/node_modules/undici/types/client.d.ts +125 -0
- package/node_modules/undici/types/connector.d.ts +34 -0
- package/node_modules/undici/types/content-type.d.ts +21 -0
- package/node_modules/undici/types/cookies.d.ts +28 -0
- package/node_modules/undici/types/diagnostics-channel.d.ts +66 -0
- package/node_modules/undici/types/dispatcher.d.ts +256 -0
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +21 -0
- package/node_modules/undici/types/errors.d.ts +155 -0
- package/node_modules/undici/types/eventsource.d.ts +61 -0
- package/node_modules/undici/types/fetch.d.ts +209 -0
- package/node_modules/undici/types/file.d.ts +39 -0
- package/node_modules/undici/types/filereader.d.ts +54 -0
- package/node_modules/undici/types/formdata.d.ts +108 -0
- package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici/types/global-origin.d.ts +7 -0
- package/node_modules/undici/types/handlers.d.ts +15 -0
- package/node_modules/undici/types/header.d.ts +4 -0
- package/node_modules/undici/types/index.d.ts +71 -0
- package/node_modules/undici/types/interceptors.d.ts +32 -0
- package/node_modules/undici/types/mock-agent.d.ts +50 -0
- package/node_modules/undici/types/mock-client.d.ts +25 -0
- package/node_modules/undici/types/mock-errors.d.ts +12 -0
- package/node_modules/undici/types/mock-interceptor.d.ts +93 -0
- package/node_modules/undici/types/mock-pool.d.ts +25 -0
- package/node_modules/undici/types/patch.d.ts +33 -0
- package/node_modules/undici/types/pool-stats.d.ts +19 -0
- package/node_modules/undici/types/pool.d.ts +39 -0
- package/node_modules/undici/types/proxy-agent.d.ts +29 -0
- package/node_modules/undici/types/readable.d.ts +65 -0
- package/node_modules/undici/types/retry-agent.d.ts +8 -0
- package/node_modules/undici/types/retry-handler.d.ts +116 -0
- package/node_modules/undici/types/util.d.ts +18 -0
- package/node_modules/undici/types/webidl.d.ts +228 -0
- package/node_modules/undici/types/websocket.d.ts +150 -0
- package/node_modules/universalify/README.md +2 -2
- package/node_modules/universalify/index.js +11 -12
- package/node_modules/universalify/package.json +19 -49
- package/node_modules/update-notifier/check.js +7 -9
- package/node_modules/update-notifier/index.js +3 -176
- package/node_modules/update-notifier/node_modules/chalk/license +1 -1
- package/node_modules/update-notifier/node_modules/chalk/package.json +81 -101
- package/node_modules/update-notifier/node_modules/chalk/readme.md +87 -104
- package/node_modules/update-notifier/node_modules/chalk/source/index.d.ts +325 -0
- package/node_modules/update-notifier/node_modules/chalk/source/index.js +225 -0
- package/node_modules/update-notifier/node_modules/chalk/source/utilities.js +33 -0
- package/node_modules/update-notifier/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/node_modules/update-notifier/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/node_modules/update-notifier/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/node_modules/update-notifier/node_modules/xdg-basedir/index.d.ts +90 -0
- package/node_modules/update-notifier/node_modules/xdg-basedir/index.js +30 -0
- package/node_modules/update-notifier/node_modules/xdg-basedir/license +9 -0
- package/node_modules/update-notifier/node_modules/xdg-basedir/package.json +47 -0
- package/node_modules/update-notifier/node_modules/xdg-basedir/readme.md +70 -0
- package/node_modules/update-notifier/package.json +62 -96
- package/node_modules/update-notifier/readme.md +63 -63
- package/node_modules/update-notifier/update-notifier.js +177 -0
- package/node_modules/uri-js/LICENSE +11 -0
- package/node_modules/uri-js/README.md +22 -18
- package/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -59
- package/node_modules/uri-js/dist/es5/uri.all.js +61 -7
- package/node_modules/uri-js/dist/es5/uri.all.js.map +1 -1
- package/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -59
- package/node_modules/uri-js/dist/es5/uri.all.min.js +2 -2
- package/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -1
- package/node_modules/uri-js/dist/esnext/index.d.ts +1 -1
- package/node_modules/uri-js/dist/esnext/index.js +16 -12
- package/node_modules/uri-js/dist/esnext/index.js.map +1 -1
- package/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -3
- package/node_modules/uri-js/dist/esnext/regexps-iri.js +2 -2
- package/node_modules/uri-js/dist/esnext/regexps-iri.js.map +0 -0
- package/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -4
- package/node_modules/uri-js/dist/esnext/regexps-uri.js +41 -41
- package/node_modules/uri-js/dist/esnext/regexps-uri.js.map +0 -0
- package/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -3
- package/node_modules/uri-js/dist/esnext/schemes/http.js +27 -26
- package/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -1
- package/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -3
- package/node_modules/uri-js/dist/esnext/schemes/https.js +8 -8
- package/node_modules/uri-js/dist/esnext/schemes/https.js.map +0 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -12
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js +0 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +0 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -7
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +22 -22
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +0 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -10
- package/node_modules/uri-js/dist/esnext/schemes/urn.js +48 -48
- package/node_modules/uri-js/dist/esnext/schemes/urn.js.map +0 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/uri.d.ts +59 -59
- package/node_modules/uri-js/dist/esnext/uri.js +2 -2
- package/node_modules/uri-js/dist/esnext/uri.js.map +1 -1
- package/node_modules/uri-js/dist/esnext/util.d.ts +6 -6
- package/node_modules/uri-js/dist/esnext/util.js +35 -35
- package/node_modules/uri-js/dist/esnext/util.js.map +0 -0
- package/node_modules/uri-js/package.json +47 -63
- package/node_modules/util-deprecate/package.json +14 -46
- package/node_modules/uuid/CHANGELOG.md +25 -18
- package/node_modules/uuid/README.md +27 -44
- package/node_modules/uuid/lib/bytesToUuid.js +10 -8
- package/node_modules/uuid/package.json +31 -79
- package/node_modules/uuid/v1.js +1 -1
- package/node_modules/validate-npm-package-name/README.md +4 -4
- package/node_modules/validate-npm-package-name/lib/builtin-modules.json +1 -0
- package/node_modules/validate-npm-package-name/lib/index.js +114 -0
- package/node_modules/validate-npm-package-name/package.json +45 -51
- package/node_modules/verror/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/verror/node_modules/core-util-is/README.md +3 -0
- package/node_modules/verror/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/verror/node_modules/core-util-is/package.json +32 -0
- package/node_modules/verror/package.json +20 -49
- package/node_modules/when-exit/dist/browser/index.d.ts +2 -0
- package/node_modules/when-exit/dist/browser/index.js +6 -0
- package/node_modules/when-exit/dist/browser/interceptor.d.ts +10 -0
- package/node_modules/when-exit/dist/browser/interceptor.js +27 -0
- package/node_modules/when-exit/dist/node/constants.d.ts +3 -0
- package/node_modules/when-exit/dist/node/constants.js +7 -0
- package/node_modules/when-exit/dist/node/index.d.ts +2 -0
- package/node_modules/when-exit/dist/node/index.js +6 -0
- package/node_modules/when-exit/dist/node/interceptor.d.ts +11 -0
- package/node_modules/when-exit/dist/node/interceptor.js +50 -0
- package/node_modules/when-exit/dist/node/signals.d.ts +2 -0
- package/node_modules/when-exit/dist/node/signals.js +13 -0
- package/node_modules/when-exit/dist/types.d.ts +3 -0
- package/node_modules/when-exit/dist/types.js +2 -0
- package/node_modules/when-exit/license +21 -0
- package/node_modules/when-exit/package.json +35 -0
- package/node_modules/when-exit/readme.md +41 -0
- package/node_modules/which/README.md +13 -16
- package/node_modules/which/bin/which.js +52 -0
- package/node_modules/which/lib/index.js +111 -0
- package/node_modules/which/package.json +38 -63
- package/node_modules/widest-line/index.d.ts +12 -0
- package/node_modules/widest-line/index.js +10 -7
- package/node_modules/widest-line/license +1 -1
- package/node_modules/widest-line/package.json +58 -84
- package/node_modules/widest-line/readme.md +4 -12
- package/node_modules/wrap-ansi/index.d.ts +41 -0
- package/node_modules/wrap-ansi/index.js +72 -36
- package/node_modules/wrap-ansi/license +1 -1
- package/node_modules/wrap-ansi/node_modules/ansi-regex/index.d.ts +9 -13
- package/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +11 -7
- package/node_modules/wrap-ansi/node_modules/ansi-regex/license +1 -1
- package/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +59 -85
- package/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +10 -22
- package/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +232 -193
- package/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +190 -130
- package/node_modules/wrap-ansi/node_modules/ansi-styles/license +1 -1
- package/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +52 -86
- package/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +55 -48
- package/node_modules/wrap-ansi/node_modules/strip-ansi/index.d.ts +2 -4
- package/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +18 -3
- package/node_modules/wrap-ansi/node_modules/strip-ansi/license +1 -1
- package/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +57 -85
- package/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +6 -15
- package/node_modules/wrap-ansi/package.json +67 -93
- package/node_modules/wrap-ansi/readme.md +12 -34
- package/node_modules/wrappy/package.json +16 -47
- package/node_modules/xtend/package.json +25 -57
- package/node_modules/y18n/CHANGELOG.md +81 -2
- package/node_modules/y18n/README.md +31 -13
- package/node_modules/y18n/build/index.cjs +203 -0
- package/node_modules/y18n/build/lib/cjs.js +6 -0
- package/node_modules/y18n/build/lib/index.js +174 -0
- package/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- package/node_modules/y18n/index.mjs +8 -0
- package/node_modules/y18n/package.json +57 -56
- package/node_modules/yallist/LICENSE.md +63 -0
- package/node_modules/yallist/README.md +8 -7
- package/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
- package/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/commonjs/index.js +384 -0
- package/node_modules/yallist/dist/commonjs/index.js.map +1 -0
- package/node_modules/yallist/dist/commonjs/package.json +3 -0
- package/node_modules/yallist/dist/esm/index.d.ts +39 -0
- package/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
- package/node_modules/yallist/dist/esm/index.js +379 -0
- package/node_modules/yallist/dist/esm/index.js.map +1 -0
- package/node_modules/yallist/dist/esm/package.json +3 -0
- package/node_modules/yallist/package.json +57 -53
- package/node_modules/yargs/LICENSE +2 -3
- package/node_modules/yargs/README.md +69 -27
- package/node_modules/yargs/browser.d.ts +5 -0
- package/node_modules/yargs/browser.mjs +7 -0
- package/node_modules/yargs/build/lib/argsert.js +62 -0
- package/node_modules/yargs/build/lib/command.js +479 -0
- package/node_modules/yargs/build/lib/completion-templates.js +57 -0
- package/node_modules/yargs/build/lib/completion.js +243 -0
- package/node_modules/yargs/build/lib/middleware.js +88 -0
- package/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/node_modules/yargs/build/lib/usage.js +584 -0
- package/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- package/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/node_modules/yargs/build/lib/validation.js +305 -0
- package/node_modules/yargs/build/lib/yargs-factory.js +1517 -0
- package/node_modules/yargs/build/lib/yerror.js +9 -0
- package/node_modules/yargs/helpers/helpers.mjs +10 -0
- package/node_modules/yargs/helpers/package.json +3 -0
- package/node_modules/yargs/index.mjs +10 -0
- package/node_modules/yargs/lib/platform-shims/browser.mjs +99 -0
- package/node_modules/yargs/lib/platform-shims/esm.mjs +67 -0
- package/node_modules/yargs/locales/be.json +9 -2
- package/node_modules/yargs/locales/cs.json +51 -0
- package/node_modules/yargs/locales/de.json +9 -2
- package/node_modules/yargs/locales/en.json +16 -3
- package/node_modules/yargs/locales/es.json +9 -2
- package/node_modules/yargs/locales/fi.json +49 -0
- package/node_modules/yargs/locales/fr.json +38 -23
- package/node_modules/yargs/locales/he.json +55 -0
- package/node_modules/yargs/locales/hi.json +9 -2
- package/node_modules/yargs/locales/hu.json +9 -2
- package/node_modules/yargs/locales/id.json +9 -2
- package/node_modules/yargs/locales/it.json +9 -2
- package/node_modules/yargs/locales/ja.json +15 -6
- package/node_modules/yargs/locales/ko.json +29 -22
- package/node_modules/yargs/locales/nb.json +9 -2
- package/node_modules/yargs/locales/nl.json +9 -2
- package/node_modules/yargs/locales/nn.json +9 -4
- package/node_modules/yargs/locales/pl.json +9 -2
- package/node_modules/yargs/locales/pt.json +9 -2
- package/node_modules/yargs/locales/pt_BR.json +8 -2
- package/node_modules/yargs/locales/ru.json +15 -3
- package/node_modules/yargs/locales/th.json +9 -2
- package/node_modules/yargs/locales/tr.json +9 -2
- package/node_modules/yargs/locales/uk_UA.json +51 -0
- package/node_modules/yargs/locales/uz.json +52 -0
- package/node_modules/yargs/locales/zh_CN.json +9 -2
- package/node_modules/yargs/locales/zh_TW.json +50 -39
- package/node_modules/yargs/node_modules/yargs-parser/CHANGELOG.md +319 -0
- package/node_modules/yargs/node_modules/yargs-parser/README.md +518 -0
- package/node_modules/yargs/node_modules/yargs-parser/browser.js +29 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/index.js +64 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js +1046 -0
- package/node_modules/yargs/node_modules/yargs-parser/package.json +78 -0
- package/node_modules/yargs/package.json +74 -77
- package/package.json +24 -28
- package/scripts/install.js +7 -3
- package/test/00-clean.js +11 -8
- package/test/01-chmod.js +8 -8
- package/test/10-install.js +15 -14
- package/test/11-install-deprecated.js +13 -11
- package/test/11-install-only.js +15 -13
- package/test/11-install-save.js +19 -18
- package/test/20-lock.js +22 -24
- package/test/30-run.js +10 -9
- package/test/90-help.js +9 -8
- package/test/90-version.js +7 -6
- package/test/zz-cleanup.js +11 -8
- package/.travis.yml +0 -29
- package/appveyor.yml +0 -18
- package/node_modules/@sindresorhus/is/dist/index.d.ts +0 -132
- package/node_modules/@sindresorhus/is/dist/index.js +0 -245
- package/node_modules/@sindresorhus/is/dist/index.js.map +0 -1
- package/node_modules/@sindresorhus/is/license +0 -9
- package/node_modules/@sindresorhus/is/package.json +0 -96
- package/node_modules/@sindresorhus/is/readme.md +0 -451
- package/node_modules/@szmarczak/http-timer/LICENSE +0 -21
- package/node_modules/@szmarczak/http-timer/README.md +0 -70
- package/node_modules/@szmarczak/http-timer/package.json +0 -75
- package/node_modules/@szmarczak/http-timer/source/index.js +0 -99
- package/node_modules/@types/color-name/LICENSE +0 -21
- package/node_modules/@types/color-name/README.md +0 -16
- package/node_modules/@types/color-name/index.d.ts +0 -161
- package/node_modules/@types/color-name/package.json +0 -52
- package/node_modules/abbrev/abbrev.js +0 -61
- package/node_modules/ansi-align/node_modules/ansi-regex/index.js +0 -14
- package/node_modules/ansi-align/node_modules/ansi-regex/license +0 -9
- package/node_modules/ansi-align/node_modules/ansi-regex/package.json +0 -85
- package/node_modules/ansi-align/node_modules/ansi-regex/readme.md +0 -87
- package/node_modules/ansi-align/node_modules/strip-ansi/index.js +0 -7
- package/node_modules/ansi-align/node_modules/strip-ansi/license +0 -9
- package/node_modules/ansi-align/node_modules/strip-ansi/package.json +0 -86
- package/node_modules/ansi-align/node_modules/strip-ansi/readme.md +0 -61
- package/node_modules/aproba/LICENSE +0 -14
- package/node_modules/aproba/README.md +0 -94
- package/node_modules/aproba/index.js +0 -105
- package/node_modules/aproba/package.json +0 -62
- package/node_modules/are-we-there-yet/CHANGES.md +0 -37
- package/node_modules/are-we-there-yet/LICENSE +0 -5
- package/node_modules/are-we-there-yet/README.md +0 -195
- package/node_modules/are-we-there-yet/index.js +0 -4
- package/node_modules/are-we-there-yet/package.json +0 -63
- package/node_modules/are-we-there-yet/tracker-base.js +0 -11
- package/node_modules/are-we-there-yet/tracker-group.js +0 -107
- package/node_modules/are-we-there-yet/tracker-stream.js +0 -36
- package/node_modules/are-we-there-yet/tracker.js +0 -30
- package/node_modules/aws4/.travis.yml +0 -9
- package/node_modules/balanced-match/.npmignore +0 -5
- package/node_modules/balanced-match/LICENSE.md +0 -21
- package/node_modules/balanced-match/README.md +0 -91
- package/node_modules/balanced-match/index.js +0 -59
- package/node_modules/balanced-match/package.json +0 -77
- package/node_modules/bl/.jshintrc +0 -60
- package/node_modules/bl/.travis.yml +0 -13
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -218
- package/node_modules/bl/bl.js +0 -382
- package/node_modules/bl/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/bl/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/bl/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/bl/node_modules/readable-stream/README.md +0 -111
- package/node_modules/bl/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/bl/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/bl/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -1087
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -683
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -189
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -85
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/bl/node_modules/readable-stream/package.json +0 -95
- package/node_modules/bl/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/bl/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/bl/package.json +0 -66
- package/node_modules/bl/test/indexOf.js +0 -463
- package/node_modules/bl/test/test.js +0 -780
- package/node_modules/boxen/node_modules/ansi-regex/index.js +0 -14
- package/node_modules/boxen/node_modules/ansi-regex/license +0 -9
- package/node_modules/boxen/node_modules/ansi-regex/package.json +0 -85
- package/node_modules/boxen/node_modules/ansi-regex/readme.md +0 -87
- package/node_modules/boxen/node_modules/ansi-styles/index.js +0 -165
- package/node_modules/boxen/node_modules/ansi-styles/license +0 -9
- package/node_modules/boxen/node_modules/ansi-styles/package.json +0 -88
- package/node_modules/boxen/node_modules/ansi-styles/readme.md +0 -147
- package/node_modules/boxen/node_modules/chalk/index.js +0 -228
- package/node_modules/boxen/node_modules/chalk/index.js.flow +0 -93
- package/node_modules/boxen/node_modules/chalk/templates.js +0 -128
- package/node_modules/boxen/node_modules/chalk/types/index.d.ts +0 -97
- package/node_modules/boxen/node_modules/is-fullwidth-code-point/index.js +0 -46
- package/node_modules/boxen/node_modules/is-fullwidth-code-point/package.json +0 -77
- package/node_modules/boxen/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/boxen/node_modules/string-width/index.js +0 -39
- package/node_modules/boxen/node_modules/string-width/license +0 -9
- package/node_modules/boxen/node_modules/string-width/package.json +0 -88
- package/node_modules/boxen/node_modules/string-width/readme.md +0 -45
- package/node_modules/boxen/node_modules/strip-ansi/index.d.ts +0 -15
- package/node_modules/boxen/node_modules/strip-ansi/index.js +0 -7
- package/node_modules/boxen/node_modules/strip-ansi/license +0 -9
- package/node_modules/boxen/node_modules/strip-ansi/package.json +0 -86
- package/node_modules/boxen/node_modules/strip-ansi/readme.md +0 -61
- package/node_modules/boxen/node_modules/supports-color/browser.js +0 -5
- package/node_modules/boxen/node_modules/supports-color/index.js +0 -131
- package/node_modules/boxen/node_modules/supports-color/license +0 -9
- package/node_modules/boxen/node_modules/supports-color/package.json +0 -85
- package/node_modules/boxen/node_modules/supports-color/readme.md +0 -66
- package/node_modules/brace-expansion/LICENSE +0 -21
- package/node_modules/brace-expansion/README.md +0 -129
- package/node_modules/brace-expansion/index.js +0 -201
- package/node_modules/brace-expansion/package.json +0 -75
- package/node_modules/builtins/.travis.yml +0 -4
- package/node_modules/builtins/History.md +0 -39
- package/node_modules/builtins/License +0 -20
- package/node_modules/builtins/Readme.md +0 -18
- package/node_modules/builtins/builtins.json +0 -35
- package/node_modules/builtins/package.json +0 -46
- package/node_modules/builtins/test.js +0 -5
- package/node_modules/cacheable-request/LICENSE +0 -21
- package/node_modules/cacheable-request/README.md +0 -206
- package/node_modules/cacheable-request/node_modules/get-stream/buffer-stream.js +0 -52
- package/node_modules/cacheable-request/node_modules/get-stream/index.d.ts +0 -108
- package/node_modules/cacheable-request/node_modules/get-stream/index.js +0 -58
- package/node_modules/cacheable-request/node_modules/get-stream/license +0 -9
- package/node_modules/cacheable-request/node_modules/get-stream/package.json +0 -81
- package/node_modules/cacheable-request/node_modules/get-stream/readme.md +0 -123
- package/node_modules/cacheable-request/node_modules/lowercase-keys/index.d.ts +0 -16
- package/node_modules/cacheable-request/node_modules/lowercase-keys/index.js +0 -10
- package/node_modules/cacheable-request/node_modules/lowercase-keys/license +0 -9
- package/node_modules/cacheable-request/node_modules/lowercase-keys/package.json +0 -70
- package/node_modules/cacheable-request/node_modules/lowercase-keys/readme.md +0 -32
- package/node_modules/cacheable-request/node_modules/pump/.travis.yml +0 -5
- package/node_modules/cacheable-request/node_modules/pump/LICENSE +0 -21
- package/node_modules/cacheable-request/node_modules/pump/README.md +0 -65
- package/node_modules/cacheable-request/node_modules/pump/index.js +0 -82
- package/node_modules/cacheable-request/node_modules/pump/package.json +0 -59
- package/node_modules/cacheable-request/node_modules/pump/test-browser.js +0 -66
- package/node_modules/cacheable-request/node_modules/pump/test-node.js +0 -53
- package/node_modules/cacheable-request/package.json +0 -95
- package/node_modules/cacheable-request/src/index.js +0 -251
- package/node_modules/camelcase/index.d.ts +0 -63
- package/node_modules/camelcase/index.js +0 -76
- package/node_modules/camelcase/license +0 -9
- package/node_modules/camelcase/package.json +0 -78
- package/node_modules/camelcase/readme.md +0 -99
- package/node_modules/chownr/chownr.js +0 -125
- package/node_modules/ci-info/CHANGELOG.md +0 -78
- package/node_modules/ci-info/LICENSE +0 -21
- package/node_modules/ci-info/README.md +0 -108
- package/node_modules/ci-info/index.js +0 -66
- package/node_modules/ci-info/package.json +0 -65
- package/node_modules/ci-info/vendors.json +0 -153
- package/node_modules/cliui/index.js +0 -354
- package/node_modules/cliui/node_modules/emoji-regex/package.json +0 -77
- package/node_modules/cliui/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/node_modules/cliui/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/cliui/node_modules/is-fullwidth-code-point/package.json +0 -74
- package/node_modules/cliui/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/cliui/node_modules/string-width/index.js +0 -43
- package/node_modules/cliui/node_modules/string-width/license +0 -9
- package/node_modules/cliui/node_modules/string-width/package.json +0 -88
- package/node_modules/cliui/node_modules/string-width/readme.md +0 -50
- package/node_modules/clone-response/LICENSE +0 -21
- package/node_modules/clone-response/README.md +0 -62
- package/node_modules/clone-response/package.json +0 -73
- package/node_modules/clone-response/src/index.js +0 -17
- package/node_modules/code-point-at/index.js +0 -32
- package/node_modules/code-point-at/license +0 -21
- package/node_modules/code-point-at/package.json +0 -71
- package/node_modules/code-point-at/readme.md +0 -32
- package/node_modules/color-convert/CHANGELOG.md +0 -54
- package/node_modules/color-convert/LICENSE +0 -21
- package/node_modules/color-convert/README.md +0 -68
- package/node_modules/color-convert/conversions.js +0 -868
- package/node_modules/color-convert/index.js +0 -78
- package/node_modules/color-convert/package.json +0 -87
- package/node_modules/color-convert/route.js +0 -97
- package/node_modules/color-name/.eslintrc.json +0 -43
- package/node_modules/color-name/.npmignore +0 -107
- package/node_modules/color-name/LICENSE +0 -8
- package/node_modules/color-name/README.md +0 -11
- package/node_modules/color-name/index.js +0 -152
- package/node_modules/color-name/package.json +0 -53
- package/node_modules/color-name/test.js +0 -7
- package/node_modules/combined-stream/yarn.lock +0 -17
- package/node_modules/concat-map/.travis.yml +0 -4
- package/node_modules/concat-map/LICENSE +0 -18
- package/node_modules/concat-map/README.markdown +0 -62
- package/node_modules/concat-map/example/map.js +0 -6
- package/node_modules/concat-map/index.js +0 -13
- package/node_modules/concat-map/package.json +0 -88
- package/node_modules/concat-map/test/map.js +0 -39
- package/node_modules/console-control-strings/LICENSE +0 -13
- package/node_modules/console-control-strings/README.md +0 -145
- package/node_modules/console-control-strings/README.md~ +0 -140
- package/node_modules/console-control-strings/index.js +0 -125
- package/node_modules/console-control-strings/package.json +0 -61
- package/node_modules/cross-spawn/CHANGELOG.md +0 -6
- package/node_modules/cross-spawn/LICENSE +0 -19
- package/node_modules/cross-spawn/README.md +0 -85
- package/node_modules/cross-spawn/index.js +0 -59
- package/node_modules/cross-spawn/lib/enoent.js +0 -73
- package/node_modules/cross-spawn/lib/parse.js +0 -113
- package/node_modules/cross-spawn/lib/util/escapeArgument.js +0 -30
- package/node_modules/cross-spawn/lib/util/escapeCommand.js +0 -12
- package/node_modules/cross-spawn/lib/util/hasEmptyArgumentBug.js +0 -18
- package/node_modules/cross-spawn/lib/util/readShebang.js +0 -37
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -31
- package/node_modules/cross-spawn/node_modules/lru-cache/README.md +0 -158
- package/node_modules/cross-spawn/node_modules/lru-cache/index.js +0 -468
- package/node_modules/cross-spawn/node_modules/lru-cache/package.json +0 -71
- package/node_modules/cross-spawn/node_modules/which/CHANGELOG.md +0 -152
- package/node_modules/cross-spawn/node_modules/which/README.md +0 -51
- package/node_modules/cross-spawn/node_modules/which/bin/which +0 -52
- package/node_modules/cross-spawn/node_modules/which/package.json +0 -65
- package/node_modules/cross-spawn/node_modules/which/which.js +0 -135
- package/node_modules/cross-spawn/node_modules/yallist/README.md +0 -204
- package/node_modules/cross-spawn/node_modules/yallist/iterator.js +0 -7
- package/node_modules/cross-spawn/node_modules/yallist/package.json +0 -62
- package/node_modules/cross-spawn/node_modules/yallist/yallist.js +0 -370
- package/node_modules/cross-spawn/package.json +0 -86
- package/node_modules/crypto-random-string/index.js +0 -10
- package/node_modules/crypto-random-string/license +0 -21
- package/node_modules/crypto-random-string/package.json +0 -75
- package/node_modules/crypto-random-string/readme.md +0 -49
- package/node_modules/decamelize/index.js +0 -13
- package/node_modules/decamelize/license +0 -21
- package/node_modules/decamelize/package.json +0 -76
- package/node_modules/decamelize/readme.md +0 -48
- package/node_modules/decompress-response/index.js +0 -29
- package/node_modules/decompress-response/license +0 -21
- package/node_modules/decompress-response/package.json +0 -85
- package/node_modules/decompress-response/readme.md +0 -31
- package/node_modules/defer-to-connect/.editorconfig +0 -12
- package/node_modules/defer-to-connect/.travis.yml +0 -7
- package/node_modules/defer-to-connect/.vscode/settings.json +0 -3
- package/node_modules/defer-to-connect/LICENSE +0 -21
- package/node_modules/defer-to-connect/README.md +0 -38
- package/node_modules/defer-to-connect/dist/index.d.ts +0 -10
- package/node_modules/defer-to-connect/dist/index.js +0 -45
- package/node_modules/defer-to-connect/package.json +0 -95
- package/node_modules/defer-to-connect/source/index.ts +0 -55
- package/node_modules/defer-to-connect/test.ts +0 -171
- package/node_modules/defer-to-connect/tsconfig.json +0 -10
- package/node_modules/delegates/.npmignore +0 -1
- package/node_modules/delegates/History.md +0 -22
- package/node_modules/delegates/License +0 -20
- package/node_modules/delegates/Makefile +0 -8
- package/node_modules/delegates/Readme.md +0 -94
- package/node_modules/delegates/index.js +0 -121
- package/node_modules/delegates/package.json +0 -48
- package/node_modules/delegates/test/index.js +0 -94
- package/node_modules/dot-prop/index.js +0 -123
- package/node_modules/dot-prop/license +0 -21
- package/node_modules/dot-prop/package.json +0 -80
- package/node_modules/dot-prop/readme.md +0 -103
- package/node_modules/duplexer3/LICENSE.md +0 -26
- package/node_modules/duplexer3/README.md +0 -115
- package/node_modules/duplexer3/index.js +0 -76
- package/node_modules/duplexer3/package.json +0 -64
- package/node_modules/emoji-regex/es2015/index.js +0 -6
- package/node_modules/emoji-regex/es2015/text.js +0 -6
- package/node_modules/emoji-regex/text.js +0 -6
- package/node_modules/escape-string-regexp/index.js +0 -11
- package/node_modules/escape-string-regexp/license +0 -21
- package/node_modules/escape-string-regexp/package.json +0 -89
- package/node_modules/escape-string-regexp/readme.md +0 -27
- package/node_modules/execa/index.js +0 -309
- package/node_modules/execa/lib/errname.js +0 -37
- package/node_modules/execa/lib/stdio.js +0 -41
- package/node_modules/execa/license +0 -9
- package/node_modules/execa/package.json +0 -108
- package/node_modules/execa/readme.md +0 -279
- package/node_modules/fast-json-stable-stringify/.npmignore +0 -4
- package/node_modules/find-up/index.d.ts +0 -137
- package/node_modules/find-up/index.js +0 -89
- package/node_modules/find-up/license +0 -9
- package/node_modules/find-up/package.json +0 -86
- package/node_modules/find-up/readme.md +0 -156
- package/node_modules/form-data/yarn.lock +0 -2662
- package/node_modules/fs-constants/LICENSE +0 -21
- package/node_modules/fs-constants/README.md +0 -26
- package/node_modules/fs-constants/browser.js +0 -1
- package/node_modules/fs-constants/index.js +0 -1
- package/node_modules/fs-constants/package.json +0 -47
- package/node_modules/fs-extra/CHANGELOG.md +0 -864
- package/node_modules/fs-extra/lib/copy-sync/copy-sync.js +0 -164
- package/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
- package/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js +0 -54
- package/node_modules/fs-extra/lib/mkdirs/mkdirs.js +0 -63
- package/node_modules/fs-extra/lib/mkdirs/win32.js +0 -25
- package/node_modules/fs-extra/lib/move-sync/index.js +0 -5
- package/node_modules/fs-extra/lib/move-sync/move-sync.js +0 -47
- package/node_modules/fs-extra/lib/output/index.js +0 -40
- package/node_modules/fs-extra/lib/remove/rimraf.js +0 -314
- package/node_modules/fs-extra/lib/util/buffer.js +0 -12
- package/node_modules/fs-minipass/LICENSE +0 -15
- package/node_modules/fs-minipass/README.md +0 -70
- package/node_modules/fs-minipass/index.js +0 -387
- package/node_modules/fs-minipass/package.json +0 -65
- package/node_modules/fs.realpath/LICENSE +0 -43
- package/node_modules/fs.realpath/README.md +0 -33
- package/node_modules/fs.realpath/index.js +0 -66
- package/node_modules/fs.realpath/old.js +0 -303
- package/node_modules/fs.realpath/package.json +0 -59
- package/node_modules/gauge/CHANGELOG.md +0 -160
- package/node_modules/gauge/LICENSE +0 -13
- package/node_modules/gauge/README.md +0 -399
- package/node_modules/gauge/base-theme.js +0 -14
- package/node_modules/gauge/error.js +0 -24
- package/node_modules/gauge/has-color.js +0 -12
- package/node_modules/gauge/index.js +0 -233
- package/node_modules/gauge/package.json +0 -91
- package/node_modules/gauge/plumbing.js +0 -48
- package/node_modules/gauge/process.js +0 -3
- package/node_modules/gauge/progress-bar.js +0 -35
- package/node_modules/gauge/render-template.js +0 -181
- package/node_modules/gauge/set-immediate.js +0 -7
- package/node_modules/gauge/set-interval.js +0 -3
- package/node_modules/gauge/spin.js +0 -5
- package/node_modules/gauge/template-item.js +0 -73
- package/node_modules/gauge/theme-set.js +0 -115
- package/node_modules/gauge/themes.js +0 -54
- package/node_modules/gauge/wide-truncate.js +0 -25
- package/node_modules/get-stream/buffer-stream.js +0 -51
- package/node_modules/get-stream/index.js +0 -51
- package/node_modules/get-stream/license +0 -21
- package/node_modules/get-stream/package.json +0 -80
- package/node_modules/get-stream/readme.md +0 -117
- package/node_modules/glob/LICENSE +0 -21
- package/node_modules/glob/README.md +0 -375
- package/node_modules/glob/changelog.md +0 -67
- package/node_modules/glob/common.js +0 -240
- package/node_modules/glob/glob.js +0 -790
- package/node_modules/glob/package.json +0 -87
- package/node_modules/glob/sync.js +0 -486
- package/node_modules/global-dirs/index.js +0 -90
- package/node_modules/global-dirs/license +0 -9
- package/node_modules/global-dirs/package.json +0 -84
- package/node_modules/global-dirs/readme.md +0 -69
- package/node_modules/got/license +0 -9
- package/node_modules/got/node_modules/get-stream/buffer-stream.js +0 -51
- package/node_modules/got/node_modules/get-stream/index.js +0 -50
- package/node_modules/got/node_modules/get-stream/license +0 -9
- package/node_modules/got/node_modules/get-stream/package.json +0 -78
- package/node_modules/got/node_modules/get-stream/readme.md +0 -123
- package/node_modules/got/node_modules/pump/.travis.yml +0 -5
- package/node_modules/got/node_modules/pump/LICENSE +0 -21
- package/node_modules/got/node_modules/pump/README.md +0 -65
- package/node_modules/got/node_modules/pump/index.js +0 -82
- package/node_modules/got/node_modules/pump/package.json +0 -59
- package/node_modules/got/node_modules/pump/test-browser.js +0 -66
- package/node_modules/got/node_modules/pump/test-node.js +0 -53
- package/node_modules/got/package.json +0 -109
- package/node_modules/got/readme.md +0 -1237
- package/node_modules/got/source/as-promise.js +0 -108
- package/node_modules/got/source/as-stream.js +0 -93
- package/node_modules/got/source/create.js +0 -79
- package/node_modules/got/source/errors.js +0 -107
- package/node_modules/got/source/get-response.js +0 -31
- package/node_modules/got/source/index.js +0 -60
- package/node_modules/got/source/known-hook-events.js +0 -10
- package/node_modules/got/source/merge.js +0 -73
- package/node_modules/got/source/normalize-arguments.js +0 -265
- package/node_modules/got/source/progress.js +0 -96
- package/node_modules/got/source/request-as-event-emitter.js +0 -312
- package/node_modules/got/source/utils/deep-freeze.js +0 -12
- package/node_modules/got/source/utils/get-body-size.js +0 -32
- package/node_modules/got/source/utils/is-form-data.js +0 -4
- package/node_modules/got/source/utils/timed-out.js +0 -160
- package/node_modules/got/source/utils/url-to-options.js +0 -25
- package/node_modules/gunzip-maybe/.npmignore +0 -1
- package/node_modules/has-flag/index.js +0 -8
- package/node_modules/has-flag/license +0 -9
- package/node_modules/has-flag/package.json +0 -81
- package/node_modules/has-flag/readme.md +0 -70
- package/node_modules/has-unicode/LICENSE +0 -14
- package/node_modules/has-unicode/README.md +0 -43
- package/node_modules/has-unicode/index.js +0 -16
- package/node_modules/has-unicode/package.json +0 -58
- package/node_modules/has-yarn/index.d.ts +0 -16
- package/node_modules/has-yarn/index.js +0 -9
- package/node_modules/has-yarn/license +0 -9
- package/node_modules/has-yarn/package.json +0 -71
- package/node_modules/has-yarn/readme.md +0 -60
- package/node_modules/hosted-git-info/CHANGELOG.md +0 -135
- package/node_modules/hosted-git-info/git-host-info.js +0 -79
- package/node_modules/hosted-git-info/git-host.js +0 -156
- package/node_modules/hosted-git-info/index.js +0 -125
- package/node_modules/http-cache-semantics/LICENSE +0 -9
- package/node_modules/http-cache-semantics/README.md +0 -193
- package/node_modules/http-cache-semantics/index.js +0 -653
- package/node_modules/http-cache-semantics/package.json +0 -60
- package/node_modules/import-lazy/index.js +0 -53
- package/node_modules/import-lazy/license +0 -21
- package/node_modules/import-lazy/package.json +0 -76
- package/node_modules/import-lazy/readme.md +0 -64
- package/node_modules/imurmurhash/README.md +0 -122
- package/node_modules/imurmurhash/imurmurhash.js +0 -138
- package/node_modules/imurmurhash/imurmurhash.min.js +0 -12
- package/node_modules/imurmurhash/package.json +0 -65
- package/node_modules/inflight/LICENSE +0 -15
- package/node_modules/inflight/README.md +0 -37
- package/node_modules/inflight/inflight.js +0 -54
- package/node_modules/inflight/package.json +0 -58
- package/node_modules/is-ci/CHANGELOG.md +0 -14
- package/node_modules/is-ci/LICENSE +0 -21
- package/node_modules/is-ci/README.md +0 -50
- package/node_modules/is-ci/bin.js +0 -4
- package/node_modules/is-ci/index.js +0 -3
- package/node_modules/is-ci/package.json +0 -69
- package/node_modules/is-fullwidth-code-point/index.js +0 -46
- package/node_modules/is-fullwidth-code-point/license +0 -21
- package/node_modules/is-fullwidth-code-point/package.json +0 -77
- package/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/is-obj/index.js +0 -5
- package/node_modules/is-obj/license +0 -21
- package/node_modules/is-obj/package.json +0 -66
- package/node_modules/is-obj/readme.md +0 -34
- package/node_modules/is-path-inside/index.js +0 -14
- package/node_modules/is-path-inside/license +0 -21
- package/node_modules/is-path-inside/package.json +0 -69
- package/node_modules/is-path-inside/readme.md +0 -34
- package/node_modules/is-stream/index.js +0 -21
- package/node_modules/is-stream/license +0 -21
- package/node_modules/is-stream/package.json +0 -72
- package/node_modules/is-stream/readme.md +0 -42
- package/node_modules/is-yarn-global/.travis.yml +0 -4
- package/node_modules/is-yarn-global/LICENSE +0 -21
- package/node_modules/is-yarn-global/README.md +0 -28
- package/node_modules/is-yarn-global/index.js +0 -12
- package/node_modules/is-yarn-global/package.json +0 -50
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/json-buffer/.npmignore +0 -3
- package/node_modules/json-buffer/.travis.yml +0 -3
- package/node_modules/json-buffer/LICENSE +0 -22
- package/node_modules/json-buffer/README.md +0 -24
- package/node_modules/json-buffer/index.js +0 -58
- package/node_modules/json-buffer/package.json +0 -66
- package/node_modules/json-buffer/test/index.js +0 -63
- package/node_modules/json-schema/draft-00/hyper-schema +0 -68
- package/node_modules/json-schema/draft-00/json-ref +0 -26
- package/node_modules/json-schema/draft-00/links +0 -33
- package/node_modules/json-schema/draft-00/schema +0 -155
- package/node_modules/json-schema/draft-01/hyper-schema +0 -68
- package/node_modules/json-schema/draft-01/json-ref +0 -26
- package/node_modules/json-schema/draft-01/links +0 -33
- package/node_modules/json-schema/draft-01/schema +0 -155
- package/node_modules/json-schema/draft-02/hyper-schema +0 -68
- package/node_modules/json-schema/draft-02/json-ref +0 -26
- package/node_modules/json-schema/draft-02/links +0 -35
- package/node_modules/json-schema/draft-02/schema +0 -166
- package/node_modules/json-schema/draft-03/examples/address +0 -20
- package/node_modules/json-schema/draft-03/examples/calendar +0 -53
- package/node_modules/json-schema/draft-03/examples/card +0 -105
- package/node_modules/json-schema/draft-03/examples/geo +0 -8
- package/node_modules/json-schema/draft-03/examples/interfaces +0 -23
- package/node_modules/json-schema/draft-03/hyper-schema +0 -60
- package/node_modules/json-schema/draft-03/json-ref +0 -26
- package/node_modules/json-schema/draft-03/links +0 -35
- package/node_modules/json-schema/draft-03/schema +0 -174
- package/node_modules/json-schema/draft-04/hyper-schema +0 -60
- package/node_modules/json-schema/draft-04/links +0 -41
- package/node_modules/json-schema/draft-04/schema +0 -189
- package/node_modules/json-schema/draft-zyp-json-schema-03.xml +0 -1120
- package/node_modules/json-schema/draft-zyp-json-schema-04.xml +0 -1072
- package/node_modules/json-schema/test/tests.js +0 -95
- package/node_modules/jsonfile/CHANGELOG.md +0 -145
- package/node_modules/keyv/LICENSE +0 -21
- package/node_modules/keyv/README.md +0 -276
- package/node_modules/keyv/package.json +0 -78
- package/node_modules/keyv/src/index.js +0 -103
- package/node_modules/locate-path/index.d.ts +0 -83
- package/node_modules/locate-path/index.js +0 -65
- package/node_modules/locate-path/license +0 -9
- package/node_modules/locate-path/package.json +0 -77
- package/node_modules/locate-path/readme.md +0 -122
- package/node_modules/lowercase-keys/index.js +0 -11
- package/node_modules/lowercase-keys/license +0 -21
- package/node_modules/lowercase-keys/package.json +0 -68
- package/node_modules/lowercase-keys/readme.md +0 -33
- package/node_modules/lru-cache/LICENSE +0 -15
- package/node_modules/lru-cache/index.js +0 -334
- package/node_modules/make-dir/index.js +0 -85
- package/node_modules/make-dir/license +0 -9
- package/node_modules/make-dir/package.json +0 -86
- package/node_modules/make-dir/readme.md +0 -116
- package/node_modules/mimic-response/index.js +0 -32
- package/node_modules/mimic-response/license +0 -9
- package/node_modules/mimic-response/package.json +0 -71
- package/node_modules/mimic-response/readme.md +0 -54
- package/node_modules/minimatch/LICENSE +0 -15
- package/node_modules/minimatch/README.md +0 -209
- package/node_modules/minimatch/minimatch.js +0 -923
- package/node_modules/minimatch/package.json +0 -68
- package/node_modules/minimist/.travis.yml +0 -4
- package/node_modules/minimist/readme.markdown +0 -73
- package/node_modules/minipass/index.js +0 -537
- package/node_modules/minizlib/constants.js +0 -115
- package/node_modules/minizlib/index.js +0 -320
- package/node_modules/mkdirp/.travis.yml +0 -8
- package/node_modules/mkdirp/LICENSE +0 -21
- package/node_modules/mkdirp/bin/cmd.js +0 -33
- package/node_modules/mkdirp/bin/usage.txt +0 -12
- package/node_modules/mkdirp/examples/pow.js +0 -6
- package/node_modules/mkdirp/index.js +0 -98
- package/node_modules/mkdirp/package.json +0 -68
- package/node_modules/mkdirp/readme.markdown +0 -100
- package/node_modules/mkdirp/test/chmod.js +0 -41
- package/node_modules/mkdirp/test/clobber.js +0 -38
- package/node_modules/mkdirp/test/mkdirp.js +0 -28
- package/node_modules/mkdirp/test/opts_fs.js +0 -29
- package/node_modules/mkdirp/test/opts_fs_sync.js +0 -27
- package/node_modules/mkdirp/test/perm.js +0 -32
- package/node_modules/mkdirp/test/perm_sync.js +0 -36
- package/node_modules/mkdirp/test/race.js +0 -37
- package/node_modules/mkdirp/test/rel.js +0 -32
- package/node_modules/mkdirp/test/return.js +0 -25
- package/node_modules/mkdirp/test/return_sync.js +0 -24
- package/node_modules/mkdirp/test/root.js +0 -19
- package/node_modules/mkdirp/test/sync.js +0 -32
- package/node_modules/mkdirp/test/umask.js +0 -28
- package/node_modules/mkdirp/test/umask_sync.js +0 -32
- package/node_modules/node-gyp/.github/ISSUE_TEMPLATE.md +0 -27
- package/node_modules/node-gyp/.github/PULL_REQUEST_TEMPLATE.md +0 -17
- package/node_modules/node-gyp/.travis.yml +0 -102
- package/node_modules/node-gyp/gyp/AUTHORS +0 -13
- package/node_modules/node-gyp/gyp/DEPS +0 -24
- package/node_modules/node-gyp/gyp/OWNERS +0 -1
- package/node_modules/node-gyp/gyp/PRESUBMIT.py +0 -138
- package/node_modules/node-gyp/gyp/codereview.settings +0 -10
- package/node_modules/node-gyp/gyp/pylib/gyp/ordered_dict.py +0 -289
- package/node_modules/node-gyp/gyp/samples/samples +0 -81
- package/node_modules/node-gyp/gyp/samples/samples.bat +0 -5
- package/node_modules/node-gyp/gyp/setup.py +0 -19
- package/node_modules/node-gyp/gyp/tools/README +0 -15
- package/node_modules/node-gyp/gyp/tools/Xcode/README +0 -5
- package/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
- package/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
- package/node_modules/node-gyp/gyp/tools/emacs/README +0 -12
- package/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +0 -63
- package/node_modules/node-gyp/gyp/tools/emacs/gyp.el +0 -275
- package/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +0 -7
- package/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +0 -1105
- package/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
- package/node_modules/node-gyp/gyp/tools/graphviz.py +0 -102
- package/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -157
- package/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -171
- package/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -337
- package/node_modules/node-gyp/macOS_Catalina.md +0 -69
- package/node_modules/node-gyp/node_modules/semver/CHANGELOG.md +0 -39
- package/node_modules/node-gyp/node_modules/semver/LICENSE +0 -15
- package/node_modules/node-gyp/node_modules/semver/README.md +0 -412
- package/node_modules/node-gyp/node_modules/semver/bin/semver +0 -160
- package/node_modules/node-gyp/node_modules/semver/package.json +0 -60
- package/node_modules/node-gyp/node_modules/semver/range.bnf +0 -16
- package/node_modules/node-gyp/node_modules/semver/semver.js +0 -1483
- package/node_modules/node-gyp/node_modules/which/CHANGELOG.md +0 -152
- package/node_modules/node-gyp/node_modules/which/LICENSE +0 -15
- package/node_modules/node-gyp/node_modules/which/README.md +0 -51
- package/node_modules/node-gyp/node_modules/which/bin/which +0 -52
- package/node_modules/node-gyp/node_modules/which/package.json +0 -65
- package/node_modules/node-gyp/node_modules/which/which.js +0 -135
- package/node_modules/node-gyp/test/docker.sh +0 -112
- package/node_modules/node-gyp/test/fixtures/VS_2017_BuildTools_minimal.txt +0 -1
- package/node_modules/node-gyp/test/fixtures/VS_2017_Community_workload.txt +0 -1
- package/node_modules/node-gyp/test/fixtures/VS_2017_Express.txt +0 -1
- package/node_modules/node-gyp/test/fixtures/VS_2017_Unusable.txt +0 -1
- package/node_modules/node-gyp/test/fixtures/VS_2019_BuildTools_minimal.txt +0 -1
- package/node_modules/node-gyp/test/fixtures/VS_2019_Community_workload.txt +0 -1
- package/node_modules/node-gyp/test/fixtures/VS_2019_Preview.txt +0 -1
- package/node_modules/node-gyp/test/fixtures/ca-bundle.crt +0 -40
- package/node_modules/node-gyp/test/fixtures/ca.crt +0 -21
- package/node_modules/node-gyp/test/fixtures/server.crt +0 -21
- package/node_modules/node-gyp/test/fixtures/server.key +0 -27
- package/node_modules/node-gyp/test/fixtures/test-charmap.py +0 -30
- package/node_modules/node-gyp/test/process-exec-sync.js +0 -140
- package/node_modules/node-gyp/test/simple-proxy.js +0 -27
- package/node_modules/node-gyp/test/test-addon.js +0 -150
- package/node_modules/node-gyp/test/test-configure-python.js +0 -74
- package/node_modules/node-gyp/test/test-download.js +0 -105
- package/node_modules/node-gyp/test/test-find-accessible-sync.js +0 -84
- package/node_modules/node-gyp/test/test-find-node-directory.js +0 -119
- package/node_modules/node-gyp/test/test-find-python.js +0 -231
- package/node_modules/node-gyp/test/test-find-visualstudio.js +0 -676
- package/node_modules/node-gyp/test/test-install.js +0 -38
- package/node_modules/node-gyp/test/test-options.js +0 -25
- package/node_modules/node-gyp/test/test-process-release.js +0 -434
- package/node_modules/nopt/.npmignore +0 -1
- package/node_modules/nopt/.travis.yml +0 -8
- package/node_modules/nopt/CHANGELOG.md +0 -58
- package/node_modules/nopt/examples/my-program.js +0 -30
- package/node_modules/nopt/test/basic.js +0 -303
- package/node_modules/normalize-url/index.d.ts +0 -216
- package/node_modules/normalize-url/index.js +0 -221
- package/node_modules/normalize-url/license +0 -9
- package/node_modules/normalize-url/package.json +0 -76
- package/node_modules/normalize-url/readme.md +0 -232
- package/node_modules/npm-package-arg/CHANGELOG.md +0 -41
- package/node_modules/npm-package-arg/node_modules/semver/CHANGELOG.md +0 -39
- package/node_modules/npm-package-arg/node_modules/semver/LICENSE +0 -15
- package/node_modules/npm-package-arg/node_modules/semver/README.md +0 -412
- package/node_modules/npm-package-arg/node_modules/semver/bin/semver +0 -160
- package/node_modules/npm-package-arg/node_modules/semver/package.json +0 -60
- package/node_modules/npm-package-arg/node_modules/semver/range.bnf +0 -16
- package/node_modules/npm-package-arg/node_modules/semver/semver.js +0 -1483
- package/node_modules/npm-package-arg/npa.js +0 -301
- package/node_modules/npm-run-path/index.js +0 -39
- package/node_modules/npm-run-path/license +0 -21
- package/node_modules/npm-run-path/package.json +0 -77
- package/node_modules/npm-run-path/readme.md +0 -81
- package/node_modules/npmlog/CHANGELOG.md +0 -49
- package/node_modules/npmlog/LICENSE +0 -15
- package/node_modules/npmlog/README.md +0 -216
- package/node_modules/npmlog/log.js +0 -309
- package/node_modules/npmlog/package.json +0 -61
- package/node_modules/number-is-nan/index.js +0 -4
- package/node_modules/number-is-nan/license +0 -21
- package/node_modules/number-is-nan/package.json +0 -70
- package/node_modules/number-is-nan/readme.md +0 -28
- package/node_modules/object-assign/index.js +0 -90
- package/node_modules/object-assign/license +0 -21
- package/node_modules/object-assign/package.json +0 -78
- package/node_modules/object-assign/readme.md +0 -61
- package/node_modules/os-homedir/index.js +0 -24
- package/node_modules/os-homedir/license +0 -21
- package/node_modules/os-homedir/package.json +0 -74
- package/node_modules/os-homedir/readme.md +0 -31
- package/node_modules/os-tmpdir/index.js +0 -25
- package/node_modules/os-tmpdir/license +0 -21
- package/node_modules/os-tmpdir/package.json +0 -74
- package/node_modules/os-tmpdir/readme.md +0 -32
- package/node_modules/osenv/LICENSE +0 -15
- package/node_modules/osenv/README.md +0 -63
- package/node_modules/osenv/osenv.js +0 -72
- package/node_modules/osenv/package.json +0 -74
- package/node_modules/p-cancelable/index.d.ts +0 -168
- package/node_modules/p-cancelable/index.js +0 -103
- package/node_modules/p-cancelable/license +0 -9
- package/node_modules/p-cancelable/package.json +0 -81
- package/node_modules/p-cancelable/readme.md +0 -155
- package/node_modules/p-finally/index.js +0 -15
- package/node_modules/p-finally/license +0 -21
- package/node_modules/p-finally/package.json +0 -74
- package/node_modules/p-finally/readme.md +0 -47
- package/node_modules/p-limit/index.d.ts +0 -29
- package/node_modules/p-limit/index.js +0 -52
- package/node_modules/p-limit/license +0 -9
- package/node_modules/p-limit/package.json +0 -89
- package/node_modules/p-limit/readme.md +0 -99
- package/node_modules/p-locate/index.d.ts +0 -64
- package/node_modules/p-locate/index.js +0 -52
- package/node_modules/p-locate/license +0 -9
- package/node_modules/p-locate/package.json +0 -85
- package/node_modules/p-locate/readme.md +0 -90
- package/node_modules/p-try/index.d.ts +0 -39
- package/node_modules/p-try/index.js +0 -9
- package/node_modules/p-try/license +0 -9
- package/node_modules/p-try/package.json +0 -74
- package/node_modules/p-try/readme.md +0 -58
- package/node_modules/path-exists/index.d.ts +0 -28
- package/node_modules/path-exists/index.js +0 -23
- package/node_modules/path-exists/license +0 -9
- package/node_modules/path-exists/package.json +0 -71
- package/node_modules/path-exists/readme.md +0 -52
- package/node_modules/path-is-absolute/index.js +0 -20
- package/node_modules/path-is-absolute/license +0 -21
- package/node_modules/path-is-absolute/package.json +0 -75
- package/node_modules/path-is-absolute/readme.md +0 -59
- package/node_modules/path-is-inside/LICENSE.txt +0 -47
- package/node_modules/path-is-inside/lib/path-is-inside.js +0 -28
- package/node_modules/path-is-inside/package.json +0 -63
- package/node_modules/path-key/index.js +0 -13
- package/node_modules/path-key/license +0 -21
- package/node_modules/path-key/package.json +0 -73
- package/node_modules/path-key/readme.md +0 -51
- package/node_modules/pify/index.js +0 -84
- package/node_modules/pify/license +0 -9
- package/node_modules/pify/package.json +0 -95
- package/node_modules/pify/readme.md +0 -131
- package/node_modules/prepend-http/index.js +0 -15
- package/node_modules/prepend-http/license +0 -9
- package/node_modules/prepend-http/package.json +0 -67
- package/node_modules/prepend-http/readme.md +0 -56
- package/node_modules/pseudomap/LICENSE +0 -15
- package/node_modules/pseudomap/README.md +0 -60
- package/node_modules/pseudomap/map.js +0 -9
- package/node_modules/pseudomap/package.json +0 -55
- package/node_modules/pseudomap/pseudomap.js +0 -113
- package/node_modules/pseudomap/test/basic.js +0 -86
- package/node_modules/psl/data/rules.json +0 -8807
- package/node_modules/psl/dist/psl.js +0 -9618
- package/node_modules/psl/dist/psl.min.js +0 -1
- package/node_modules/qs/.eslintignore +0 -1
- package/node_modules/qs/LICENSE +0 -28
- package/node_modules/qs/test/.eslintrc +0 -15
- package/node_modules/rc/node_modules/minimist/.travis.yml +0 -8
- package/node_modules/rc/node_modules/minimist/LICENSE +0 -18
- package/node_modules/rc/node_modules/minimist/example/parse.js +0 -2
- package/node_modules/rc/node_modules/minimist/index.js +0 -236
- package/node_modules/rc/node_modules/minimist/package.json +0 -73
- package/node_modules/rc/node_modules/minimist/readme.markdown +0 -91
- package/node_modules/rc/node_modules/minimist/test/all_bool.js +0 -32
- package/node_modules/rc/node_modules/minimist/test/bool.js +0 -166
- package/node_modules/rc/node_modules/minimist/test/dash.js +0 -31
- package/node_modules/rc/node_modules/minimist/test/default_bool.js +0 -35
- package/node_modules/rc/node_modules/minimist/test/dotted.js +0 -22
- package/node_modules/rc/node_modules/minimist/test/kv_short.js +0 -16
- package/node_modules/rc/node_modules/minimist/test/long.js +0 -31
- package/node_modules/rc/node_modules/minimist/test/num.js +0 -36
- package/node_modules/rc/node_modules/minimist/test/parse.js +0 -197
- package/node_modules/rc/node_modules/minimist/test/parse_modified.js +0 -9
- package/node_modules/rc/node_modules/minimist/test/short.js +0 -67
- package/node_modules/rc/node_modules/minimist/test/stop_early.js +0 -15
- package/node_modules/rc/node_modules/minimist/test/unknown.js +0 -102
- package/node_modules/rc/node_modules/minimist/test/whitespace.js +0 -8
- package/node_modules/registry-auth-token/.npmignore +0 -6
- package/node_modules/registry-auth-token/base64.js +0 -14
- package/node_modules/registry-auth-token/package-lock.json +0 -2624
- package/node_modules/registry-auth-token/test/auth-token.test.js +0 -455
- package/node_modules/registry-auth-token/test/registry-url.test.js +0 -64
- package/node_modules/require-directory/.jshintrc +0 -67
- package/node_modules/require-directory/.npmignore +0 -1
- package/node_modules/require-directory/.travis.yml +0 -3
- package/node_modules/require-directory/LICENSE +0 -22
- package/node_modules/require-directory/README.markdown +0 -184
- package/node_modules/require-directory/index.js +0 -86
- package/node_modules/require-directory/package.json +0 -71
- package/node_modules/require-main-filename/CHANGELOG.md +0 -26
- package/node_modules/require-main-filename/README.md +0 -26
- package/node_modules/require-main-filename/index.js +0 -18
- package/node_modules/require-main-filename/package.json +0 -66
- package/node_modules/responselike/LICENSE +0 -19
- package/node_modules/responselike/README.md +0 -77
- package/node_modules/responselike/package.json +0 -69
- package/node_modules/responselike/src/index.js +0 -34
- package/node_modules/rimraf/LICENSE +0 -15
- package/node_modules/rimraf/README.md +0 -101
- package/node_modules/rimraf/bin.js +0 -50
- package/node_modules/rimraf/package.json +0 -72
- package/node_modules/rimraf/rimraf.js +0 -372
- package/node_modules/semver/CHANGELOG.md +0 -70
- package/node_modules/semver/semver.js +0 -1596
- package/node_modules/semver-diff/index.js +0 -27
- package/node_modules/semver-diff/license +0 -21
- package/node_modules/semver-diff/node_modules/semver/CHANGELOG.md +0 -39
- package/node_modules/semver-diff/node_modules/semver/LICENSE +0 -15
- package/node_modules/semver-diff/node_modules/semver/README.md +0 -412
- package/node_modules/semver-diff/node_modules/semver/bin/semver +0 -160
- package/node_modules/semver-diff/node_modules/semver/package.json +0 -60
- package/node_modules/semver-diff/node_modules/semver/range.bnf +0 -16
- package/node_modules/semver-diff/node_modules/semver/semver.js +0 -1483
- package/node_modules/semver-diff/package.json +0 -66
- package/node_modules/semver-diff/readme.md +0 -52
- package/node_modules/set-blocking/CHANGELOG.md +0 -26
- package/node_modules/set-blocking/LICENSE.txt +0 -14
- package/node_modules/set-blocking/README.md +0 -31
- package/node_modules/set-blocking/index.js +0 -7
- package/node_modules/set-blocking/package.json +0 -73
- package/node_modules/shebang-command/index.js +0 -19
- package/node_modules/shebang-command/license +0 -21
- package/node_modules/shebang-command/package.json +0 -73
- package/node_modules/shebang-command/readme.md +0 -39
- package/node_modules/shebang-regex/index.js +0 -2
- package/node_modules/shebang-regex/license +0 -21
- package/node_modules/shebang-regex/package.json +0 -64
- package/node_modules/shebang-regex/readme.md +0 -29
- package/node_modules/signal-exit/CHANGELOG.md +0 -27
- package/node_modules/signal-exit/LICENSE.txt +0 -16
- package/node_modules/signal-exit/README.md +0 -40
- package/node_modules/signal-exit/index.js +0 -157
- package/node_modules/signal-exit/package.json +0 -73
- package/node_modules/signal-exit/signals.js +0 -53
- package/node_modules/sshpk/.npmignore +0 -9
- package/node_modules/stream-shift/.npmignore +0 -1
- package/node_modules/stream-shift/.travis.yml +0 -6
- package/node_modules/strip-eof/index.js +0 -15
- package/node_modules/strip-eof/license +0 -21
- package/node_modules/strip-eof/package.json +0 -71
- package/node_modules/strip-eof/readme.md +0 -28
- package/node_modules/strip-json-comments/license +0 -21
- package/node_modules/strip-json-comments/package.json +0 -74
- package/node_modules/tar/LICENSE +0 -15
- package/node_modules/tar/index.js +0 -18
- package/node_modules/tar/lib/buffer.js +0 -11
- package/node_modules/tar/lib/create.js +0 -105
- package/node_modules/tar/lib/extract.js +0 -112
- package/node_modules/tar/lib/header.js +0 -289
- package/node_modules/tar/lib/high-level-opt.js +0 -29
- package/node_modules/tar/lib/large-numbers.js +0 -97
- package/node_modules/tar/lib/list.js +0 -130
- package/node_modules/tar/lib/mkdir.js +0 -206
- package/node_modules/tar/lib/mode-fix.js +0 -14
- package/node_modules/tar/lib/pack.js +0 -404
- package/node_modules/tar/lib/parse.js +0 -428
- package/node_modules/tar/lib/pax.js +0 -146
- package/node_modules/tar/lib/read-entry.js +0 -98
- package/node_modules/tar/lib/replace.js +0 -220
- package/node_modules/tar/lib/types.js +0 -44
- package/node_modules/tar/lib/unpack.js +0 -621
- package/node_modules/tar/lib/update.js +0 -36
- package/node_modules/tar/lib/warn-mixin.js +0 -14
- package/node_modules/tar/lib/winchars.js +0 -23
- package/node_modules/tar/lib/write-entry.js +0 -422
- package/node_modules/tar-fs/.travis.yml +0 -5
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/directory/.ignore +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +0 -346
- package/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/tar-stream/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/tar-stream/node_modules/readable-stream/README.md +0 -111
- package/node_modules/tar-stream/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/tar-stream/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/tar-stream/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_duplex.js +0 -139
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_passthrough.js +0 -39
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_readable.js +0 -1087
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_transform.js +0 -201
- package/node_modules/tar-stream/node_modules/readable-stream/lib/_stream_writable.js +0 -683
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -207
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -189
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -85
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -104
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -97
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/state.js +0 -27
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/tar-stream/node_modules/readable-stream/package.json +0 -95
- package/node_modules/tar-stream/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/tar-stream/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/term-size/index.js +0 -70
- package/node_modules/term-size/license +0 -21
- package/node_modules/term-size/package.json +0 -75
- package/node_modules/term-size/readme.md +0 -41
- package/node_modules/term-size/vendor/macos/term-size +0 -0
- package/node_modules/term-size/vendor/windows/term-size.exe +0 -0
- package/node_modules/to-readable-stream/index.js +0 -11
- package/node_modules/to-readable-stream/license +0 -9
- package/node_modules/to-readable-stream/package.json +0 -72
- package/node_modules/to-readable-stream/readme.md +0 -42
- package/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +0 -20
- package/node_modules/tough-cookie/node_modules/punycode/README.md +0 -176
- package/node_modules/tough-cookie/node_modules/punycode/package.json +0 -87
- package/node_modules/tough-cookie/node_modules/punycode/punycode.js +0 -533
- package/node_modules/type-fest/index.d.ts +0 -206
- package/node_modules/type-fest/license +0 -9
- package/node_modules/type-fest/package.json +0 -82
- package/node_modules/type-fest/readme.md +0 -112
- package/node_modules/type-fest/source/package-json.d.ts +0 -494
- package/node_modules/unique-string/index.js +0 -4
- package/node_modules/unique-string/license +0 -21
- package/node_modules/unique-string/package.json +0 -76
- package/node_modules/unique-string/readme.md +0 -32
- package/node_modules/update-notifier/node_modules/ansi-styles/index.js +0 -165
- package/node_modules/update-notifier/node_modules/ansi-styles/license +0 -9
- package/node_modules/update-notifier/node_modules/ansi-styles/package.json +0 -88
- package/node_modules/update-notifier/node_modules/ansi-styles/readme.md +0 -147
- package/node_modules/update-notifier/node_modules/chalk/index.js +0 -228
- package/node_modules/update-notifier/node_modules/chalk/index.js.flow +0 -93
- package/node_modules/update-notifier/node_modules/chalk/templates.js +0 -128
- package/node_modules/update-notifier/node_modules/chalk/types/index.d.ts +0 -97
- package/node_modules/update-notifier/node_modules/supports-color/browser.js +0 -5
- package/node_modules/update-notifier/node_modules/supports-color/index.js +0 -131
- package/node_modules/update-notifier/node_modules/supports-color/license +0 -9
- package/node_modules/update-notifier/node_modules/supports-color/package.json +0 -85
- package/node_modules/update-notifier/node_modules/supports-color/readme.md +0 -66
- package/node_modules/uri-js/bower.json +0 -47
- package/node_modules/uri-js/rollup.config.js +0 -32
- package/node_modules/uri-js/src/index.ts +0 -18
- package/node_modules/uri-js/src/punycode.d.ts +0 -24
- package/node_modules/uri-js/src/regexps-iri.ts +0 -4
- package/node_modules/uri-js/src/regexps-uri.ts +0 -89
- package/node_modules/uri-js/src/schemes/http.ts +0 -36
- package/node_modules/uri-js/src/schemes/https.ts +0 -11
- package/node_modules/uri-js/src/schemes/mailto.ts +0 -182
- package/node_modules/uri-js/src/schemes/urn-uuid.ts +0 -36
- package/node_modules/uri-js/src/schemes/urn.ts +0 -69
- package/node_modules/uri-js/src/uri.ts +0 -556
- package/node_modules/uri-js/src/util.ts +0 -40
- package/node_modules/uri-js/tests/qunit.css +0 -118
- package/node_modules/uri-js/tests/qunit.js +0 -1042
- package/node_modules/uri-js/tests/test-es5-min.html +0 -17
- package/node_modules/uri-js/tests/test-es5.html +0 -17
- package/node_modules/uri-js/tests/tests.js +0 -774
- package/node_modules/uri-js/tsconfig.json +0 -20
- package/node_modules/uri-js/yarn.lock +0 -1902
- package/node_modules/url-parse-lax/index.js +0 -12
- package/node_modules/url-parse-lax/license +0 -9
- package/node_modules/url-parse-lax/package.json +0 -74
- package/node_modules/url-parse-lax/readme.md +0 -127
- package/node_modules/validate-npm-package-name/.npmignore +0 -1
- package/node_modules/validate-npm-package-name/.nyc_output/aa4ee25ac41a9c3c7ee37ce965e6d1ac.json +0 -1
- package/node_modules/validate-npm-package-name/.nyc_output/bb918173e62b9517f55b630902d07ef4.json +0 -1
- package/node_modules/validate-npm-package-name/.travis.yml +0 -6
- package/node_modules/validate-npm-package-name/index.js +0 -105
- package/node_modules/validate-npm-package-name/test/index.js +0 -109
- package/node_modules/which/CHANGELOG.md +0 -166
- package/node_modules/which/bin/node-which +0 -52
- package/node_modules/which/which.js +0 -125
- package/node_modules/which-module/CHANGELOG.md +0 -26
- package/node_modules/which-module/LICENSE +0 -13
- package/node_modules/which-module/README.md +0 -55
- package/node_modules/which-module/index.js +0 -9
- package/node_modules/which-module/package.json +0 -70
- package/node_modules/wide-align/LICENSE +0 -14
- package/node_modules/wide-align/README.md +0 -47
- package/node_modules/wide-align/align.js +0 -65
- package/node_modules/wide-align/package.json +0 -66
- package/node_modules/widest-line/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/widest-line/node_modules/ansi-regex/license +0 -9
- package/node_modules/widest-line/node_modules/ansi-regex/package.json +0 -85
- package/node_modules/widest-line/node_modules/ansi-regex/readme.md +0 -46
- package/node_modules/widest-line/node_modules/is-fullwidth-code-point/index.js +0 -46
- package/node_modules/widest-line/node_modules/is-fullwidth-code-point/license +0 -21
- package/node_modules/widest-line/node_modules/is-fullwidth-code-point/package.json +0 -77
- package/node_modules/widest-line/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/widest-line/node_modules/string-width/index.js +0 -36
- package/node_modules/widest-line/node_modules/string-width/license +0 -9
- package/node_modules/widest-line/node_modules/string-width/package.json +0 -87
- package/node_modules/widest-line/node_modules/string-width/readme.md +0 -42
- package/node_modules/widest-line/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/widest-line/node_modules/strip-ansi/license +0 -9
- package/node_modules/widest-line/node_modules/strip-ansi/package.json +0 -84
- package/node_modules/widest-line/node_modules/strip-ansi/readme.md +0 -39
- package/node_modules/wrap-ansi/node_modules/color-convert/CHANGELOG.md +0 -54
- package/node_modules/wrap-ansi/node_modules/color-convert/LICENSE +0 -21
- package/node_modules/wrap-ansi/node_modules/color-convert/README.md +0 -68
- package/node_modules/wrap-ansi/node_modules/color-convert/conversions.js +0 -839
- package/node_modules/wrap-ansi/node_modules/color-convert/index.js +0 -81
- package/node_modules/wrap-ansi/node_modules/color-convert/package.json +0 -83
- package/node_modules/wrap-ansi/node_modules/color-convert/route.js +0 -97
- package/node_modules/wrap-ansi/node_modules/color-name/LICENSE +0 -8
- package/node_modules/wrap-ansi/node_modules/color-name/README.md +0 -11
- package/node_modules/wrap-ansi/node_modules/color-name/index.js +0 -152
- package/node_modules/wrap-ansi/node_modules/color-name/package.json +0 -56
- package/node_modules/wrap-ansi/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/wrap-ansi/node_modules/emoji-regex/README.md +0 -73
- package/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/index.js +0 -6
- package/node_modules/wrap-ansi/node_modules/emoji-regex/es2015/text.js +0 -6
- package/node_modules/wrap-ansi/node_modules/emoji-regex/index.d.ts +0 -23
- package/node_modules/wrap-ansi/node_modules/emoji-regex/index.js +0 -6
- package/node_modules/wrap-ansi/node_modules/emoji-regex/package.json +0 -77
- package/node_modules/wrap-ansi/node_modules/emoji-regex/text.js +0 -6
- package/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json +0 -74
- package/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/wrap-ansi/node_modules/string-width/index.d.ts +0 -29
- package/node_modules/wrap-ansi/node_modules/string-width/index.js +0 -43
- package/node_modules/wrap-ansi/node_modules/string-width/license +0 -9
- package/node_modules/wrap-ansi/node_modules/string-width/package.json +0 -88
- package/node_modules/wrap-ansi/node_modules/string-width/readme.md +0 -50
- package/node_modules/write-file-atomic/CHANGELOG.md +0 -25
- package/node_modules/write-file-atomic/LICENSE +0 -6
- package/node_modules/write-file-atomic/README.md +0 -56
- package/node_modules/write-file-atomic/index.js +0 -238
- package/node_modules/write-file-atomic/package.json +0 -71
- package/node_modules/xdg-basedir/index.js +0 -28
- package/node_modules/xdg-basedir/license +0 -21
- package/node_modules/xdg-basedir/package.json +0 -73
- package/node_modules/xdg-basedir/readme.md +0 -60
- package/node_modules/y18n/index.js +0 -188
- package/node_modules/yallist/LICENSE +0 -15
- package/node_modules/yallist/iterator.js +0 -8
- package/node_modules/yallist/yallist.js +0 -426
- package/node_modules/yargs/CHANGELOG.md +0 -1440
- package/node_modules/yargs/index.js +0 -39
- package/node_modules/yargs/lib/apply-extends.js +0 -67
- package/node_modules/yargs/lib/argsert.js +0 -68
- package/node_modules/yargs/lib/command.js +0 -447
- package/node_modules/yargs/lib/completion-templates.js +0 -49
- package/node_modules/yargs/lib/completion.js +0 -116
- package/node_modules/yargs/lib/is-promise.js +0 -3
- package/node_modules/yargs/lib/levenshtein.js +0 -58
- package/node_modules/yargs/lib/middleware.js +0 -64
- package/node_modules/yargs/lib/obj-filter.js +0 -11
- package/node_modules/yargs/lib/usage.js +0 -549
- package/node_modules/yargs/lib/validation.js +0 -350
- package/node_modules/yargs/lib/yerror.js +0 -11
- package/node_modules/yargs/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/yargs/node_modules/ansi-regex/license +0 -9
- package/node_modules/yargs/node_modules/ansi-regex/package.json +0 -87
- package/node_modules/yargs/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/yargs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/yargs/node_modules/emoji-regex/README.md +0 -73
- package/node_modules/yargs/node_modules/emoji-regex/es2015/index.js +0 -6
- package/node_modules/yargs/node_modules/emoji-regex/es2015/text.js +0 -6
- package/node_modules/yargs/node_modules/emoji-regex/index.d.ts +0 -23
- package/node_modules/yargs/node_modules/emoji-regex/index.js +0 -6
- package/node_modules/yargs/node_modules/emoji-regex/package.json +0 -77
- package/node_modules/yargs/node_modules/emoji-regex/text.js +0 -6
- package/node_modules/yargs/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/node_modules/yargs/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/node_modules/yargs/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/yargs/node_modules/is-fullwidth-code-point/package.json +0 -74
- package/node_modules/yargs/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/yargs/node_modules/string-width/index.d.ts +0 -29
- package/node_modules/yargs/node_modules/string-width/index.js +0 -43
- package/node_modules/yargs/node_modules/string-width/license +0 -9
- package/node_modules/yargs/node_modules/string-width/package.json +0 -88
- package/node_modules/yargs/node_modules/string-width/readme.md +0 -50
- package/node_modules/yargs/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/yargs/node_modules/strip-ansi/license +0 -9
- package/node_modules/yargs/node_modules/strip-ansi/package.json +0 -86
- package/node_modules/yargs/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/yargs/yargs.js +0 -1238
- package/node_modules/yargs-parser/CHANGELOG.md +0 -524
- package/node_modules/yargs-parser/LICENSE.txt +0 -14
- package/node_modules/yargs-parser/README.md +0 -422
- package/node_modules/yargs-parser/index.js +0 -971
- package/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
- package/node_modules/yargs-parser/package.json +0 -79
- /package/node_modules/{chownr → @isaacs/fs-minipass}/LICENSE +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/emoji-regex/LICENSE-MIT.txt +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/emoji-regex/README.md +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/emoji-regex/es2015/index.js +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/emoji-regex/es2015/text.js +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/emoji-regex/index.d.ts +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/emoji-regex/index.js +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/emoji-regex/text.js +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/is-fullwidth-code-point/index.d.ts +0 -0
- /package/node_modules/{cliui → ansi-align}/node_modules/string-width/index.d.ts +0 -0
- /package/node_modules/{yargs/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
- /package/node_modules/{minipass → cmd-shim}/LICENSE +0 -0
- /package/node_modules/{cross-spawn/node_modules/lru-cache → global-directory/node_modules/ini}/LICENSE +0 -0
- /package/node_modules/{tar-fs/test/fixtures/d/file1 → node-gyp/gyp/pylib/packaging/py.typed} +0 -0
- /package/node_modules/{isexe → npm-path/node_modules/isexe}/.npmignore +0 -0
- /package/node_modules/{cross-spawn/node_modules/which → npm-path/node_modules/isexe}/LICENSE +0 -0
- /package/node_modules/{isexe → npm-path/node_modules/isexe}/index.js +0 -0
- /package/node_modules/{isexe → npm-path/node_modules/isexe}/mode.js +0 -0
- /package/node_modules/{isexe → npm-path/node_modules/isexe}/test/basic.js +0 -0
- /package/node_modules/{isexe → npm-path/node_modules/isexe}/windows.js +0 -0
- /package/node_modules/{cross-spawn/node_modules/yallist → proto-list}/LICENSE +0 -0
- /package/node_modules/{strip-json-comments → rc/node_modules/strip-json-comments}/index.js +0 -0
- /package/node_modules/{boxen/node_modules/is-fullwidth-code-point → rc/node_modules/strip-json-comments}/license +0 -0
- /package/node_modules/{strip-json-comments → rc/node_modules/strip-json-comments}/readme.md +0 -0
- /package/node_modules/{ansi-align → string-width}/node_modules/strip-ansi/index.d.ts +0 -0
- /package/node_modules/{yargs/node_modules/strip-ansi → strip-ansi}/index.d.ts +0 -0
- /package/node_modules/{tar-fs/test/fixtures/d/file2 → undici/lib/llhttp/.gitkeep} +0 -0
- /package/node_modules/{core-util-is → verror/node_modules/core-util-is}/float.patch +0 -0
- /package/node_modules/{core-util-is → verror/node_modules/core-util-is}/test.js +0 -0
- /package/node_modules/{require-main-filename → yargs/node_modules/yargs-parser}/LICENSE.txt +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
from __future__ import print_function
|
|
2
1
|
# Copyright (c) 2012 Google Inc. All rights reserved.
|
|
3
2
|
# Use of this source code is governed by a BSD-style license that can be
|
|
4
3
|
# found in the LICENSE file.
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
import gyp.common
|
|
8
|
-
import gyp.xcodeproj_file
|
|
9
|
-
import gyp.xcode_ninja
|
|
5
|
+
|
|
10
6
|
import errno
|
|
7
|
+
import filecmp
|
|
11
8
|
import os
|
|
12
|
-
import sys
|
|
13
9
|
import posixpath
|
|
14
10
|
import re
|
|
15
11
|
import shutil
|
|
16
12
|
import subprocess
|
|
13
|
+
import sys
|
|
17
14
|
import tempfile
|
|
18
15
|
|
|
16
|
+
import gyp.common
|
|
17
|
+
import gyp.xcode_ninja
|
|
18
|
+
import gyp.xcodeproj_file
|
|
19
19
|
|
|
20
20
|
# Project files generated by this module will use _intermediate_var as a
|
|
21
21
|
# custom Xcode setting whose value is a DerivedSources-like directory that's
|
|
@@ -26,1276 +26,1364 @@ import tempfile
|
|
|
26
26
|
# PROJECT_DERIVED_FILE_DIR, is unsuitable because while it is project-specific,
|
|
27
27
|
# it is not configuration-specific. INTERMEDIATE_DIR is defined as
|
|
28
28
|
# $(PROJECT_DERIVED_FILE_DIR)/$(CONFIGURATION).
|
|
29
|
-
_intermediate_var =
|
|
29
|
+
_intermediate_var = "INTERMEDIATE_DIR"
|
|
30
30
|
|
|
31
31
|
# SHARED_INTERMEDIATE_DIR is the same, except that it is shared among all
|
|
32
32
|
# targets that share the same BUILT_PRODUCTS_DIR.
|
|
33
|
-
_shared_intermediate_var =
|
|
33
|
+
_shared_intermediate_var = "SHARED_INTERMEDIATE_DIR"
|
|
34
34
|
|
|
35
|
-
_library_search_paths_var =
|
|
35
|
+
_library_search_paths_var = "LIBRARY_SEARCH_PATHS"
|
|
36
36
|
|
|
37
37
|
generator_default_variables = {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
38
|
+
"EXECUTABLE_PREFIX": "",
|
|
39
|
+
"EXECUTABLE_SUFFIX": "",
|
|
40
|
+
"STATIC_LIB_PREFIX": "lib",
|
|
41
|
+
"SHARED_LIB_PREFIX": "lib",
|
|
42
|
+
"STATIC_LIB_SUFFIX": ".a",
|
|
43
|
+
"SHARED_LIB_SUFFIX": ".dylib",
|
|
44
|
+
# INTERMEDIATE_DIR is a place for targets to build up intermediate products.
|
|
45
|
+
# It is specific to each build environment. It is only guaranteed to exist
|
|
46
|
+
# and be constant within the context of a project, corresponding to a single
|
|
47
|
+
# input file. Some build environments may allow their intermediate directory
|
|
48
|
+
# to be shared on a wider scale, but this is not guaranteed.
|
|
49
|
+
"INTERMEDIATE_DIR": "$(%s)" % _intermediate_var,
|
|
50
|
+
"OS": "mac",
|
|
51
|
+
"PRODUCT_DIR": "$(BUILT_PRODUCTS_DIR)",
|
|
52
|
+
"LIB_DIR": "$(BUILT_PRODUCTS_DIR)",
|
|
53
|
+
"RULE_INPUT_ROOT": "$(INPUT_FILE_BASE)",
|
|
54
|
+
"RULE_INPUT_EXT": "$(INPUT_FILE_SUFFIX)",
|
|
55
|
+
"RULE_INPUT_NAME": "$(INPUT_FILE_NAME)",
|
|
56
|
+
"RULE_INPUT_PATH": "$(INPUT_FILE_PATH)",
|
|
57
|
+
"RULE_INPUT_DIRNAME": "$(INPUT_FILE_DIRNAME)",
|
|
58
|
+
"SHARED_INTERMEDIATE_DIR": "$(%s)" % _shared_intermediate_var,
|
|
59
|
+
"CONFIGURATION_NAME": "$(CONFIGURATION)",
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
# The Xcode-specific sections that hold paths.
|
|
63
63
|
generator_additional_path_sections = [
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
"mac_bundle_resources",
|
|
65
|
+
"mac_framework_headers",
|
|
66
|
+
"mac_framework_private_headers",
|
|
67
|
+
# 'mac_framework_dirs', input already handles _dirs endings.
|
|
68
68
|
]
|
|
69
69
|
|
|
70
70
|
# The Xcode-specific keys that exist on targets and aren't moved down to
|
|
71
71
|
# configurations.
|
|
72
72
|
generator_additional_non_configuration_keys = [
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
"ios_app_extension",
|
|
74
|
+
"ios_watch_app",
|
|
75
|
+
"ios_watchkit_extension",
|
|
76
|
+
"mac_bundle",
|
|
77
|
+
"mac_bundle_resources",
|
|
78
|
+
"mac_framework_headers",
|
|
79
|
+
"mac_framework_private_headers",
|
|
80
|
+
"mac_xctest_bundle",
|
|
81
|
+
"mac_xcuitest_bundle",
|
|
82
|
+
"xcode_create_dependents_test_runner",
|
|
82
83
|
]
|
|
83
84
|
|
|
84
85
|
# We want to let any rules apply to files that are resources also.
|
|
85
86
|
generator_extra_sources_for_rules = [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
"mac_bundle_resources",
|
|
88
|
+
"mac_framework_headers",
|
|
89
|
+
"mac_framework_private_headers",
|
|
89
90
|
]
|
|
90
91
|
|
|
91
92
|
generator_filelist_paths = None
|
|
92
93
|
|
|
93
94
|
# Xcode's standard set of library directories, which don't need to be duplicated
|
|
94
95
|
# in LIBRARY_SEARCH_PATHS. This list is not exhaustive, but that's okay.
|
|
95
|
-
xcode_standard_library_dirs = frozenset(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
xcode_standard_library_dirs = frozenset(
|
|
97
|
+
["$(SDKROOT)/usr/lib", "$(SDKROOT)/usr/local/lib"]
|
|
98
|
+
)
|
|
99
|
+
|
|
99
100
|
|
|
100
101
|
def CreateXCConfigurationList(configuration_names):
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
xccl.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
build_file_configurations = self.build_file_dict.get('configurations', {})
|
|
193
|
-
if build_file_configurations:
|
|
194
|
-
for config_name in configurations:
|
|
195
|
-
build_file_configuration_named = \
|
|
196
|
-
build_file_configurations.get(config_name, {})
|
|
197
|
-
if build_file_configuration_named:
|
|
198
|
-
xcc = xccl.ConfigurationNamed(config_name)
|
|
199
|
-
for xck, xcv in build_file_configuration_named.get('xcode_settings',
|
|
200
|
-
{}).items():
|
|
201
|
-
xcc.SetBuildSetting(xck, xcv)
|
|
202
|
-
if 'xcode_config_file' in build_file_configuration_named:
|
|
102
|
+
xccl = gyp.xcodeproj_file.XCConfigurationList({"buildConfigurations": []})
|
|
103
|
+
if len(configuration_names) == 0:
|
|
104
|
+
configuration_names = ["Default"]
|
|
105
|
+
for configuration_name in configuration_names:
|
|
106
|
+
xcbc = gyp.xcodeproj_file.XCBuildConfiguration({"name": configuration_name})
|
|
107
|
+
xccl.AppendProperty("buildConfigurations", xcbc)
|
|
108
|
+
xccl.SetProperty("defaultConfigurationName", configuration_names[0])
|
|
109
|
+
return xccl
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class XcodeProject:
|
|
113
|
+
def __init__(self, gyp_path, path, build_file_dict):
|
|
114
|
+
self.gyp_path = gyp_path
|
|
115
|
+
self.path = path
|
|
116
|
+
self.project = gyp.xcodeproj_file.PBXProject(path=path)
|
|
117
|
+
projectDirPath = gyp.common.RelativePath(
|
|
118
|
+
os.path.dirname(os.path.abspath(self.gyp_path)),
|
|
119
|
+
os.path.dirname(path) or ".",
|
|
120
|
+
)
|
|
121
|
+
self.project.SetProperty("projectDirPath", projectDirPath)
|
|
122
|
+
self.project_file = gyp.xcodeproj_file.XCProjectFile(
|
|
123
|
+
{"rootObject": self.project}
|
|
124
|
+
)
|
|
125
|
+
self.build_file_dict = build_file_dict
|
|
126
|
+
|
|
127
|
+
# TODO(mark): add destructor that cleans up self.path if created_dir is
|
|
128
|
+
# True and things didn't complete successfully. Or do something even
|
|
129
|
+
# better with "try"?
|
|
130
|
+
self.created_dir = False
|
|
131
|
+
try:
|
|
132
|
+
os.makedirs(self.path)
|
|
133
|
+
self.created_dir = True
|
|
134
|
+
except OSError as e:
|
|
135
|
+
if e.errno != errno.EEXIST:
|
|
136
|
+
raise
|
|
137
|
+
|
|
138
|
+
def Finalize1(self, xcode_targets, serialize_all_tests):
|
|
139
|
+
# Collect a list of all of the build configuration names used by the
|
|
140
|
+
# various targets in the file. It is very heavily advised to keep each
|
|
141
|
+
# target in an entire project (even across multiple project files) using
|
|
142
|
+
# the same set of configuration names.
|
|
143
|
+
configurations = []
|
|
144
|
+
for xct in self.project.GetProperty("targets"):
|
|
145
|
+
xccl = xct.GetProperty("buildConfigurationList")
|
|
146
|
+
xcbcs = xccl.GetProperty("buildConfigurations")
|
|
147
|
+
for xcbc in xcbcs:
|
|
148
|
+
name = xcbc.GetProperty("name")
|
|
149
|
+
if name not in configurations:
|
|
150
|
+
configurations.append(name)
|
|
151
|
+
|
|
152
|
+
# Replace the XCConfigurationList attached to the PBXProject object with
|
|
153
|
+
# a new one specifying all of the configuration names used by the various
|
|
154
|
+
# targets.
|
|
155
|
+
try:
|
|
156
|
+
xccl = CreateXCConfigurationList(configurations)
|
|
157
|
+
self.project.SetProperty("buildConfigurationList", xccl)
|
|
158
|
+
except Exception:
|
|
159
|
+
sys.stderr.write("Problem with gyp file %s\n" % self.gyp_path)
|
|
160
|
+
raise
|
|
161
|
+
|
|
162
|
+
# The need for this setting is explained above where _intermediate_var is
|
|
163
|
+
# defined. The comments below about wanting to avoid project-wide build
|
|
164
|
+
# settings apply here too, but this needs to be set on a project-wide basis
|
|
165
|
+
# so that files relative to the _intermediate_var setting can be displayed
|
|
166
|
+
# properly in the Xcode UI.
|
|
167
|
+
#
|
|
168
|
+
# Note that for configuration-relative files such as anything relative to
|
|
169
|
+
# _intermediate_var, for the purposes of UI tree view display, Xcode will
|
|
170
|
+
# only resolve the configuration name once, when the project file is
|
|
171
|
+
# opened. If the active build configuration is changed, the project file
|
|
172
|
+
# must be closed and reopened if it is desired for the tree view to update.
|
|
173
|
+
# This is filed as Apple radar 6588391.
|
|
174
|
+
xccl.SetBuildSetting(
|
|
175
|
+
_intermediate_var, "$(PROJECT_DERIVED_FILE_DIR)/$(CONFIGURATION)"
|
|
176
|
+
)
|
|
177
|
+
xccl.SetBuildSetting(
|
|
178
|
+
_shared_intermediate_var, "$(SYMROOT)/DerivedSources/$(CONFIGURATION)"
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
# Set user-specified project-wide build settings and config files. This
|
|
182
|
+
# is intended to be used very sparingly. Really, almost everything should
|
|
183
|
+
# go into target-specific build settings sections. The project-wide
|
|
184
|
+
# settings are only intended to be used in cases where Xcode attempts to
|
|
185
|
+
# resolve variable references in a project context as opposed to a target
|
|
186
|
+
# context, such as when resolving sourceTree references while building up
|
|
187
|
+
# the tree tree view for UI display.
|
|
188
|
+
# Any values set globally are applied to all configurations, then any
|
|
189
|
+
# per-configuration values are applied.
|
|
190
|
+
for xck, xcv in self.build_file_dict.get("xcode_settings", {}).items():
|
|
191
|
+
xccl.SetBuildSetting(xck, xcv)
|
|
192
|
+
if "xcode_config_file" in self.build_file_dict:
|
|
203
193
|
config_ref = self.project.AddOrGetFileInRootGroup(
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
targets_for_all
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
194
|
+
self.build_file_dict["xcode_config_file"]
|
|
195
|
+
)
|
|
196
|
+
xccl.SetBaseConfiguration(config_ref)
|
|
197
|
+
build_file_configurations = self.build_file_dict.get("configurations", {})
|
|
198
|
+
if build_file_configurations:
|
|
199
|
+
for config_name in configurations:
|
|
200
|
+
build_file_configuration_named = build_file_configurations.get(
|
|
201
|
+
config_name, {}
|
|
202
|
+
)
|
|
203
|
+
if build_file_configuration_named:
|
|
204
|
+
xcc = xccl.ConfigurationNamed(config_name)
|
|
205
|
+
for xck, xcv in build_file_configuration_named.get(
|
|
206
|
+
"xcode_settings", {}
|
|
207
|
+
).items():
|
|
208
|
+
xcc.SetBuildSetting(xck, xcv)
|
|
209
|
+
if "xcode_config_file" in build_file_configuration_named:
|
|
210
|
+
config_ref = self.project.AddOrGetFileInRootGroup(
|
|
211
|
+
build_file_configurations[config_name]["xcode_config_file"]
|
|
212
|
+
)
|
|
213
|
+
xcc.SetBaseConfiguration(config_ref)
|
|
214
|
+
|
|
215
|
+
# Sort the targets based on how they appeared in the input.
|
|
216
|
+
# TODO(mark): Like a lot of other things here, this assumes internal
|
|
217
|
+
# knowledge of PBXProject - in this case, of its "targets" property.
|
|
218
|
+
|
|
219
|
+
# ordinary_targets are ordinary targets that are already in the project
|
|
220
|
+
# file. run_test_targets are the targets that run unittests and should be
|
|
221
|
+
# used for the Run All Tests target. support_targets are the action/rule
|
|
222
|
+
# targets used by GYP file targets, just kept for the assert check.
|
|
223
|
+
ordinary_targets = []
|
|
224
|
+
run_test_targets = []
|
|
225
|
+
support_targets = []
|
|
226
|
+
|
|
227
|
+
# targets is full list of targets in the project.
|
|
228
|
+
targets = []
|
|
229
|
+
|
|
230
|
+
# does the it define it's own "all"?
|
|
231
|
+
has_custom_all = False
|
|
232
|
+
|
|
233
|
+
# targets_for_all is the list of ordinary_targets that should be listed
|
|
234
|
+
# in this project's "All" target. It includes each non_runtest_target
|
|
235
|
+
# that does not have suppress_wildcard set.
|
|
236
|
+
targets_for_all = []
|
|
237
|
+
|
|
238
|
+
for target in self.build_file_dict["targets"]:
|
|
239
|
+
target_name = target["target_name"]
|
|
240
|
+
toolset = target["toolset"]
|
|
241
|
+
qualified_target = gyp.common.QualifiedTarget(
|
|
242
|
+
self.gyp_path, target_name, toolset
|
|
243
|
+
)
|
|
244
|
+
xcode_target = xcode_targets[qualified_target]
|
|
245
|
+
# Make sure that the target being added to the sorted list is already in
|
|
246
|
+
# the unsorted list.
|
|
247
|
+
assert xcode_target in self.project._properties["targets"]
|
|
248
|
+
targets.append(xcode_target)
|
|
249
|
+
ordinary_targets.append(xcode_target)
|
|
250
|
+
if xcode_target.support_target:
|
|
251
|
+
support_targets.append(xcode_target.support_target)
|
|
252
|
+
targets.append(xcode_target.support_target)
|
|
253
|
+
|
|
254
|
+
if not int(target.get("suppress_wildcard", False)):
|
|
255
|
+
targets_for_all.append(xcode_target)
|
|
256
|
+
|
|
257
|
+
if target_name.lower() == "all":
|
|
258
|
+
has_custom_all = True
|
|
259
|
+
|
|
260
|
+
# If this target has a 'run_as' attribute, add its target to the
|
|
261
|
+
# targets, and add it to the test targets.
|
|
262
|
+
if target.get("run_as"):
|
|
263
|
+
# Make a target to run something. It should have one
|
|
264
|
+
# dependency, the parent xcode target.
|
|
265
|
+
xccl = CreateXCConfigurationList(configurations)
|
|
266
|
+
run_target = gyp.xcodeproj_file.PBXAggregateTarget(
|
|
267
|
+
{
|
|
268
|
+
"name": "Run " + target_name,
|
|
269
|
+
"productName": xcode_target.GetProperty("productName"),
|
|
270
|
+
"buildConfigurationList": xccl,
|
|
271
|
+
},
|
|
272
|
+
parent=self.project,
|
|
273
|
+
)
|
|
274
|
+
run_target.AddDependency(xcode_target)
|
|
275
|
+
|
|
276
|
+
command = target["run_as"]
|
|
277
|
+
script = ""
|
|
278
|
+
if command.get("working_directory"):
|
|
279
|
+
script = (
|
|
280
|
+
script
|
|
281
|
+
+ 'cd "%s"\n'
|
|
282
|
+
% gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
|
|
283
|
+
command.get("working_directory")
|
|
284
|
+
)
|
|
285
|
+
)
|
|
286
|
+
|
|
287
|
+
if command.get("environment"):
|
|
288
|
+
script = (
|
|
289
|
+
script
|
|
290
|
+
+ "\n".join(
|
|
291
|
+
[
|
|
292
|
+
'export %s="%s"'
|
|
293
|
+
% (
|
|
294
|
+
key,
|
|
295
|
+
gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
|
|
296
|
+
val
|
|
297
|
+
),
|
|
298
|
+
)
|
|
299
|
+
for (key, val) in command.get("environment").items()
|
|
300
|
+
]
|
|
301
|
+
)
|
|
302
|
+
+ "\n"
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
# Some test end up using sockets, files on disk, etc. and can get
|
|
306
|
+
# confused if more then one test runs at a time. The generator
|
|
307
|
+
# flag 'xcode_serialize_all_test_runs' controls the forcing of all
|
|
308
|
+
# tests serially. It defaults to True. To get serial runs this
|
|
309
|
+
# little bit of python does the same as the linux flock utility to
|
|
310
|
+
# make sure only one runs at a time.
|
|
311
|
+
command_prefix = ""
|
|
312
|
+
if serialize_all_tests:
|
|
313
|
+
command_prefix = """python -c "import fcntl, subprocess, sys
|
|
288
314
|
file = open('$TMPDIR/GYP_serialize_test_runs', 'a')
|
|
289
315
|
fcntl.flock(file.fileno(), fcntl.LOCK_EX)
|
|
290
316
|
sys.exit(subprocess.call(sys.argv[1:]))" """
|
|
291
317
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
318
|
+
# If we were unable to exec for some reason, we want to exit
|
|
319
|
+
# with an error, and fixup variable references to be shell
|
|
320
|
+
# syntax instead of xcode syntax.
|
|
321
|
+
script = (
|
|
322
|
+
script
|
|
323
|
+
+ "exec "
|
|
324
|
+
+ command_prefix
|
|
325
|
+
+ "%s\nexit 1\n"
|
|
326
|
+
% gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
|
|
327
|
+
gyp.common.EncodePOSIXShellList(command.get("action"))
|
|
328
|
+
)
|
|
329
|
+
)
|
|
330
|
+
|
|
331
|
+
ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase(
|
|
332
|
+
{"shellScript": script, "showEnvVarsInLog": 0}
|
|
333
|
+
)
|
|
334
|
+
run_target.AppendProperty("buildPhases", ssbp)
|
|
335
|
+
|
|
336
|
+
# Add the run target to the project file.
|
|
337
|
+
targets.append(run_target)
|
|
338
|
+
run_test_targets.append(run_target)
|
|
339
|
+
xcode_target.test_runner = run_target
|
|
340
|
+
|
|
341
|
+
# Make sure that the list of targets being replaced is the same length as
|
|
342
|
+
# the one replacing it, but allow for the added test runner targets.
|
|
343
|
+
assert len(self.project._properties["targets"]) == len(ordinary_targets) + len(
|
|
344
|
+
support_targets
|
|
345
|
+
)
|
|
346
|
+
|
|
347
|
+
self.project._properties["targets"] = targets
|
|
348
|
+
|
|
349
|
+
# Get rid of unnecessary levels of depth in groups like the Source group.
|
|
350
|
+
self.project.RootGroupsTakeOverOnlyChildren(True)
|
|
351
|
+
|
|
352
|
+
# Sort the groups nicely. Do this after sorting the targets, because the
|
|
353
|
+
# Products group is sorted based on the order of the targets.
|
|
354
|
+
self.project.SortGroups()
|
|
355
|
+
|
|
356
|
+
# Create an "All" target if there's more than one target in this project
|
|
357
|
+
# file and the project didn't define its own "All" target. Put a generated
|
|
358
|
+
# "All" target first so that people opening up the project for the first
|
|
359
|
+
# time will build everything by default.
|
|
360
|
+
if len(targets_for_all) > 1 and not has_custom_all:
|
|
361
|
+
xccl = CreateXCConfigurationList(configurations)
|
|
362
|
+
all_target = gyp.xcodeproj_file.PBXAggregateTarget(
|
|
363
|
+
{"buildConfigurationList": xccl, "name": "All"}, parent=self.project
|
|
364
|
+
)
|
|
365
|
+
|
|
366
|
+
for target in targets_for_all:
|
|
367
|
+
all_target.AddDependency(target)
|
|
368
|
+
|
|
369
|
+
# TODO(mark): This is evil because it relies on internal knowledge of
|
|
370
|
+
# PBXProject._properties. It's important to get the "All" target first,
|
|
371
|
+
# though.
|
|
372
|
+
self.project._properties["targets"].insert(0, all_target)
|
|
373
|
+
|
|
374
|
+
# The same, but for run_test_targets.
|
|
375
|
+
if len(run_test_targets) > 1:
|
|
376
|
+
xccl = CreateXCConfigurationList(configurations)
|
|
377
|
+
run_all_tests_target = gyp.xcodeproj_file.PBXAggregateTarget(
|
|
378
|
+
{"buildConfigurationList": xccl, "name": "Run All Tests"},
|
|
379
|
+
parent=self.project,
|
|
380
|
+
)
|
|
381
|
+
for run_test_target in run_test_targets:
|
|
382
|
+
run_all_tests_target.AddDependency(run_test_target)
|
|
383
|
+
|
|
384
|
+
# Insert after the "All" target, which must exist if there is more than
|
|
385
|
+
# one run_test_target.
|
|
386
|
+
self.project._properties["targets"].insert(1, run_all_tests_target)
|
|
387
|
+
|
|
388
|
+
def Finalize2(self, xcode_targets, xcode_target_to_target_dict):
|
|
389
|
+
# Finalize2 needs to happen in a separate step because the process of
|
|
390
|
+
# updating references to other projects depends on the ordering of targets
|
|
391
|
+
# within remote project files. Finalize1 is responsible for sorting duty,
|
|
392
|
+
# and once all project files are sorted, Finalize2 can come in and update
|
|
393
|
+
# these references.
|
|
394
|
+
|
|
395
|
+
# To support making a "test runner" target that will run all the tests
|
|
396
|
+
# that are direct dependents of any given target, we look for
|
|
397
|
+
# xcode_create_dependents_test_runner being set on an Aggregate target,
|
|
398
|
+
# and generate a second target that will run the tests runners found under
|
|
399
|
+
# the marked target.
|
|
400
|
+
for bf_tgt in self.build_file_dict["targets"]:
|
|
401
|
+
if int(bf_tgt.get("xcode_create_dependents_test_runner", 0)):
|
|
402
|
+
tgt_name = bf_tgt["target_name"]
|
|
403
|
+
toolset = bf_tgt["toolset"]
|
|
404
|
+
qualified_target = gyp.common.QualifiedTarget(
|
|
405
|
+
self.gyp_path, tgt_name, toolset
|
|
406
|
+
)
|
|
407
|
+
xcode_target = xcode_targets[qualified_target]
|
|
408
|
+
if isinstance(xcode_target, gyp.xcodeproj_file.PBXAggregateTarget):
|
|
409
|
+
# Collect all the run test targets.
|
|
410
|
+
all_run_tests = []
|
|
411
|
+
pbxtds = xcode_target.GetProperty("dependencies")
|
|
412
|
+
for pbxtd in pbxtds:
|
|
413
|
+
pbxcip = pbxtd.GetProperty("targetProxy")
|
|
414
|
+
dependency_xct = pbxcip.GetProperty("remoteGlobalIDString")
|
|
415
|
+
if hasattr(dependency_xct, "test_runner"):
|
|
416
|
+
all_run_tests.append(dependency_xct.test_runner)
|
|
417
|
+
|
|
418
|
+
# Directly depend on all the runners as they depend on the target
|
|
419
|
+
# that builds them.
|
|
420
|
+
if len(all_run_tests) > 0:
|
|
421
|
+
run_all_target = gyp.xcodeproj_file.PBXAggregateTarget(
|
|
422
|
+
{
|
|
423
|
+
"name": "Run %s Tests" % tgt_name,
|
|
424
|
+
"productName": tgt_name,
|
|
425
|
+
},
|
|
426
|
+
parent=self.project,
|
|
427
|
+
)
|
|
428
|
+
for run_test_target in all_run_tests:
|
|
429
|
+
run_all_target.AddDependency(run_test_target)
|
|
430
|
+
|
|
431
|
+
# Insert the test runner after the related target.
|
|
432
|
+
idx = self.project._properties["targets"].index(xcode_target)
|
|
433
|
+
self.project._properties["targets"].insert(
|
|
434
|
+
idx + 1, run_all_target
|
|
435
|
+
)
|
|
436
|
+
|
|
437
|
+
# Update all references to other projects, to make sure that the lists of
|
|
438
|
+
# remote products are complete. Otherwise, Xcode will fill them in when
|
|
439
|
+
# it opens the project file, which will result in unnecessary diffs.
|
|
440
|
+
# TODO(mark): This is evil because it relies on internal knowledge of
|
|
441
|
+
# PBXProject._other_pbxprojects.
|
|
442
|
+
for other_pbxproject in self.project._other_pbxprojects:
|
|
443
|
+
self.project.AddOrGetProjectReference(other_pbxproject)
|
|
444
|
+
|
|
445
|
+
self.project.SortRemoteProductReferences()
|
|
446
|
+
|
|
447
|
+
# Give everything an ID.
|
|
448
|
+
self.project_file.ComputeIDs()
|
|
449
|
+
|
|
450
|
+
# Make sure that no two objects in the project file have the same ID. If
|
|
451
|
+
# multiple objects wind up with the same ID, upon loading the file, Xcode
|
|
452
|
+
# will only recognize one object (the last one in the file?) and the
|
|
453
|
+
# results are unpredictable.
|
|
454
|
+
self.project_file.EnsureNoIDCollisions()
|
|
455
|
+
|
|
456
|
+
def Write(self):
|
|
457
|
+
# Write the project file to a temporary location first. Xcode watches for
|
|
458
|
+
# changes to the project file and presents a UI sheet offering to reload
|
|
459
|
+
# the project when it does change. However, in some cases, especially when
|
|
460
|
+
# multiple projects are open or when Xcode is busy, things don't work so
|
|
461
|
+
# seamlessly. Sometimes, Xcode is able to detect that a project file has
|
|
462
|
+
# changed but can't unload it because something else is referencing it.
|
|
463
|
+
# To mitigate this problem, and to avoid even having Xcode present the UI
|
|
464
|
+
# sheet when an open project is rewritten for inconsequential changes, the
|
|
465
|
+
# project file is written to a temporary file in the xcodeproj directory
|
|
466
|
+
# first. The new temporary file is then compared to the existing project
|
|
467
|
+
# file, if any. If they differ, the new file replaces the old; otherwise,
|
|
468
|
+
# the new project file is simply deleted. Xcode properly detects a file
|
|
469
|
+
# being renamed over an open project file as a change and so it remains
|
|
470
|
+
# able to present the "project file changed" sheet under this system.
|
|
471
|
+
# Writing to a temporary file first also avoids the possible problem of
|
|
472
|
+
# Xcode rereading an incomplete project file.
|
|
473
|
+
(output_fd, new_pbxproj_path) = tempfile.mkstemp(
|
|
474
|
+
suffix=".tmp", prefix="project.pbxproj.gyp.", dir=self.path
|
|
475
|
+
)
|
|
476
|
+
|
|
477
|
+
try:
|
|
478
|
+
output_file = os.fdopen(output_fd, "w")
|
|
479
|
+
|
|
480
|
+
self.project_file.Print(output_file)
|
|
481
|
+
output_file.close()
|
|
482
|
+
|
|
483
|
+
pbxproj_path = os.path.join(self.path, "project.pbxproj")
|
|
484
|
+
|
|
485
|
+
same = False
|
|
486
|
+
try:
|
|
487
|
+
same = filecmp.cmp(pbxproj_path, new_pbxproj_path, False)
|
|
488
|
+
except OSError as e:
|
|
489
|
+
if e.errno != errno.ENOENT:
|
|
490
|
+
raise
|
|
491
|
+
|
|
492
|
+
if same:
|
|
493
|
+
# The new file is identical to the old one, just get rid of the new
|
|
494
|
+
# one.
|
|
495
|
+
os.unlink(new_pbxproj_path)
|
|
496
|
+
else:
|
|
497
|
+
# The new file is different from the old one, or there is no old one.
|
|
498
|
+
# Rename the new file to the permanent name.
|
|
499
|
+
#
|
|
500
|
+
# tempfile.mkstemp uses an overly restrictive mode, resulting in a
|
|
501
|
+
# file that can only be read by the owner, regardless of the umask.
|
|
502
|
+
# There's no reason to not respect the umask here, which means that
|
|
503
|
+
# an extra hoop is required to fetch it and reset the new file's mode.
|
|
504
|
+
#
|
|
505
|
+
# No way to get the umask without setting a new one? Set a safe one
|
|
506
|
+
# and then set it back to the old value.
|
|
507
|
+
umask = os.umask(0o77)
|
|
508
|
+
os.umask(umask)
|
|
509
|
+
|
|
510
|
+
os.chmod(new_pbxproj_path, 0o666 & ~umask)
|
|
511
|
+
os.rename(new_pbxproj_path, pbxproj_path)
|
|
512
|
+
|
|
513
|
+
except Exception:
|
|
514
|
+
# Don't leave turds behind. In fact, if this code was responsible for
|
|
515
|
+
# creating the xcodeproj directory, get rid of that too.
|
|
516
|
+
os.unlink(new_pbxproj_path)
|
|
517
|
+
if self.created_dir:
|
|
518
|
+
shutil.rmtree(self.path, True)
|
|
519
|
+
raise
|
|
489
520
|
|
|
490
521
|
|
|
491
522
|
def AddSourceToTarget(source, type, pbxp, xct):
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
523
|
+
# TODO(mark): Perhaps source_extensions and library_extensions can be made a
|
|
524
|
+
# little bit fancier.
|
|
525
|
+
source_extensions = ["c", "cc", "cpp", "cxx", "m", "mm", "s", "swift"]
|
|
526
|
+
|
|
527
|
+
# .o is conceptually more of a "source" than a "library," but Xcode thinks
|
|
528
|
+
# of "sources" as things to compile and "libraries" (or "frameworks") as
|
|
529
|
+
# things to link with. Adding an object file to an Xcode target's frameworks
|
|
530
|
+
# phase works properly.
|
|
531
|
+
library_extensions = ["a", "dylib", "framework", "o"]
|
|
532
|
+
|
|
533
|
+
basename = posixpath.basename(source)
|
|
534
|
+
(_root, ext) = posixpath.splitext(basename)
|
|
535
|
+
if ext:
|
|
536
|
+
ext = ext[1:].lower()
|
|
537
|
+
|
|
538
|
+
if ext in source_extensions and type != "none":
|
|
539
|
+
xct.SourcesPhase().AddFile(source)
|
|
540
|
+
elif ext in library_extensions and type != "none":
|
|
541
|
+
xct.FrameworksPhase().AddFile(source)
|
|
542
|
+
else:
|
|
543
|
+
# Files that aren't added to a sources or frameworks build phase can still
|
|
544
|
+
# go into the project file, just not as part of a build phase.
|
|
545
|
+
pbxp.AddOrGetFileInRootGroup(source)
|
|
515
546
|
|
|
516
547
|
|
|
517
548
|
def AddResourceToTarget(resource, pbxp, xct):
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
549
|
+
# TODO(mark): Combine with AddSourceToTarget above? Or just inline this call
|
|
550
|
+
# where it's used.
|
|
551
|
+
xct.ResourcesPhase().AddFile(resource)
|
|
521
552
|
|
|
522
553
|
|
|
523
554
|
def AddHeaderToTarget(header, pbxp, xct, is_public):
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
555
|
+
# TODO(mark): Combine with AddSourceToTarget above? Or just inline this call
|
|
556
|
+
# where it's used.
|
|
557
|
+
settings = "{ATTRIBUTES = (%s, ); }" % ("Private", "Public")[is_public]
|
|
558
|
+
xct.HeadersPhase().AddFile(header, settings)
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
_xcode_variable_re = re.compile(r"(\$\((.*?)\))")
|
|
528
562
|
|
|
529
563
|
|
|
530
|
-
_xcode_variable_re = re.compile(r'(\$\((.*?)\))')
|
|
531
564
|
def ExpandXcodeVariables(string, expansions):
|
|
532
|
-
|
|
565
|
+
"""Expands Xcode-style $(VARIABLES) in string per the expansions dict.
|
|
533
566
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
567
|
+
In some rare cases, it is appropriate to expand Xcode variables when a
|
|
568
|
+
project file is generated. For any substring $(VAR) in string, if VAR is a
|
|
569
|
+
key in the expansions dict, $(VAR) will be replaced with expansions[VAR].
|
|
570
|
+
Any $(VAR) substring in string for which VAR is not a key in the expansions
|
|
571
|
+
dict will remain in the returned string.
|
|
572
|
+
"""
|
|
540
573
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
574
|
+
matches = _xcode_variable_re.findall(string)
|
|
575
|
+
if matches is None:
|
|
576
|
+
return string
|
|
544
577
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
578
|
+
matches.reverse()
|
|
579
|
+
for match in matches:
|
|
580
|
+
(to_replace, variable) = match
|
|
581
|
+
if variable not in expansions:
|
|
582
|
+
continue
|
|
550
583
|
|
|
551
|
-
|
|
552
|
-
|
|
584
|
+
replacement = expansions[variable]
|
|
585
|
+
string = re.sub(re.escape(to_replace), replacement, string)
|
|
553
586
|
|
|
554
|
-
|
|
587
|
+
return string
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
_xcode_define_re = re.compile(r"([\\\"\' ])")
|
|
555
591
|
|
|
556
592
|
|
|
557
|
-
_xcode_define_re = re.compile(r'([\\\"\' ])')
|
|
558
593
|
def EscapeXcodeDefine(s):
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
594
|
+
"""We must escape the defines that we give to XCode so that it knows not to
|
|
595
|
+
split on spaces and to respect backslash and quote literals. However, we
|
|
596
|
+
must not quote the define, or Xcode will incorrectly interpret variables
|
|
597
|
+
especially $(inherited)."""
|
|
598
|
+
return re.sub(_xcode_define_re, r"\\\1", s)
|
|
564
599
|
|
|
565
600
|
|
|
566
601
|
def PerformBuild(data, configurations, params):
|
|
567
|
-
|
|
602
|
+
options = params["options"]
|
|
568
603
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
604
|
+
for build_file, build_file_dict in data.items():
|
|
605
|
+
(build_file_root, build_file_ext) = os.path.splitext(build_file)
|
|
606
|
+
if build_file_ext != ".gyp":
|
|
607
|
+
continue
|
|
608
|
+
xcodeproj_path = build_file_root + options.suffix + ".xcodeproj"
|
|
609
|
+
if options.generator_output:
|
|
610
|
+
xcodeproj_path = os.path.join(options.generator_output, xcodeproj_path)
|
|
576
611
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
612
|
+
for config in configurations:
|
|
613
|
+
arguments = ["xcodebuild", "-project", xcodeproj_path]
|
|
614
|
+
arguments += ["-configuration", config]
|
|
615
|
+
print(f"Building [{config}]: {arguments}")
|
|
616
|
+
subprocess.check_call(arguments)
|
|
582
617
|
|
|
583
618
|
|
|
584
619
|
def CalculateGeneratorInputInfo(params):
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
620
|
+
toplevel = params["options"].toplevel_dir
|
|
621
|
+
if params.get("flavor") == "ninja":
|
|
622
|
+
generator_dir = os.path.relpath(params["options"].generator_output or ".")
|
|
623
|
+
output_dir = params.get("generator_flags", {}).get("output_dir", "out")
|
|
624
|
+
output_dir = os.path.normpath(os.path.join(generator_dir, output_dir))
|
|
625
|
+
qualified_out_dir = os.path.normpath(
|
|
626
|
+
os.path.join(toplevel, output_dir, "gypfiles-xcode-ninja")
|
|
627
|
+
)
|
|
628
|
+
else:
|
|
629
|
+
output_dir = os.path.normpath(os.path.join(toplevel, "xcodebuild"))
|
|
630
|
+
qualified_out_dir = os.path.normpath(
|
|
631
|
+
os.path.join(toplevel, output_dir, "gypfiles")
|
|
632
|
+
)
|
|
633
|
+
|
|
634
|
+
global generator_filelist_paths
|
|
635
|
+
generator_filelist_paths = {
|
|
636
|
+
"toplevel": toplevel,
|
|
637
|
+
"qualified_out_dir": qualified_out_dir,
|
|
638
|
+
}
|
|
602
639
|
|
|
603
640
|
|
|
604
641
|
def GenerateOutput(target_list, target_dicts, data, params):
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
upgrade_check_project_version = str(upgrade_check_project_version)
|
|
622
|
-
while len(upgrade_check_project_version) < 4:
|
|
623
|
-
upgrade_check_project_version = '0' + upgrade_check_project_version
|
|
624
|
-
|
|
625
|
-
skip_excluded_files = \
|
|
626
|
-
not generator_flags.get('xcode_list_excluded_files', True)
|
|
627
|
-
xcode_projects = {}
|
|
628
|
-
for build_file, build_file_dict in data.items():
|
|
629
|
-
(build_file_root, build_file_ext) = os.path.splitext(build_file)
|
|
630
|
-
if build_file_ext != '.gyp':
|
|
631
|
-
continue
|
|
632
|
-
xcodeproj_path = build_file_root + options.suffix + '.xcodeproj'
|
|
633
|
-
if options.generator_output:
|
|
634
|
-
xcodeproj_path = os.path.join(options.generator_output, xcodeproj_path)
|
|
635
|
-
xcp = XcodeProject(build_file, xcodeproj_path, build_file_dict)
|
|
636
|
-
xcode_projects[build_file] = xcp
|
|
637
|
-
pbxp = xcp.project
|
|
638
|
-
|
|
639
|
-
# Set project-level attributes from multiple options
|
|
640
|
-
project_attributes = {}
|
|
641
|
-
if parallel_builds:
|
|
642
|
-
project_attributes['BuildIndependentTargetsInParallel'] = 'YES'
|
|
642
|
+
# Optionally configure each spec to use ninja as the external builder.
|
|
643
|
+
ninja_wrapper = params.get("flavor") == "ninja"
|
|
644
|
+
if ninja_wrapper:
|
|
645
|
+
(target_list, target_dicts, data) = gyp.xcode_ninja.CreateWrapper(
|
|
646
|
+
target_list, target_dicts, data, params
|
|
647
|
+
)
|
|
648
|
+
|
|
649
|
+
options = params["options"]
|
|
650
|
+
generator_flags = params.get("generator_flags", {})
|
|
651
|
+
parallel_builds = generator_flags.get("xcode_parallel_builds", True)
|
|
652
|
+
serialize_all_tests = generator_flags.get("xcode_serialize_all_test_runs", True)
|
|
653
|
+
upgrade_check_project_version = generator_flags.get(
|
|
654
|
+
"xcode_upgrade_check_project_version", None
|
|
655
|
+
)
|
|
656
|
+
|
|
657
|
+
# Format upgrade_check_project_version with leading zeros as needed.
|
|
643
658
|
if upgrade_check_project_version:
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
659
|
+
upgrade_check_project_version = str(upgrade_check_project_version)
|
|
660
|
+
while len(upgrade_check_project_version) < 4:
|
|
661
|
+
upgrade_check_project_version = "0" + upgrade_check_project_version
|
|
662
|
+
|
|
663
|
+
skip_excluded_files = not generator_flags.get("xcode_list_excluded_files", True)
|
|
664
|
+
xcode_projects = {}
|
|
665
|
+
for build_file, build_file_dict in data.items():
|
|
666
|
+
(build_file_root, build_file_ext) = os.path.splitext(build_file)
|
|
667
|
+
if build_file_ext != ".gyp":
|
|
668
|
+
continue
|
|
669
|
+
xcodeproj_path = build_file_root + options.suffix + ".xcodeproj"
|
|
670
|
+
if options.generator_output:
|
|
671
|
+
xcodeproj_path = os.path.join(options.generator_output, xcodeproj_path)
|
|
672
|
+
xcp = XcodeProject(build_file, xcodeproj_path, build_file_dict)
|
|
673
|
+
xcode_projects[build_file] = xcp
|
|
674
|
+
pbxp = xcp.project
|
|
675
|
+
|
|
676
|
+
# Set project-level attributes from multiple options
|
|
677
|
+
project_attributes = {}
|
|
678
|
+
if parallel_builds:
|
|
679
|
+
project_attributes["BuildIndependentTargetsInParallel"] = "YES"
|
|
680
|
+
if upgrade_check_project_version:
|
|
681
|
+
project_attributes["LastUpgradeCheck"] = upgrade_check_project_version
|
|
682
|
+
project_attributes["LastTestingUpgradeCheck"] = (
|
|
683
|
+
upgrade_check_project_version
|
|
684
|
+
)
|
|
685
|
+
project_attributes["LastSwiftUpdateCheck"] = upgrade_check_project_version
|
|
686
|
+
pbxp.SetProperty("attributes", project_attributes)
|
|
687
|
+
|
|
688
|
+
# Add gyp/gypi files to project
|
|
689
|
+
if not generator_flags.get("standalone"):
|
|
690
|
+
main_group = pbxp.GetProperty("mainGroup")
|
|
691
|
+
build_group = gyp.xcodeproj_file.PBXGroup({"name": "Build"})
|
|
692
|
+
main_group.AppendChild(build_group)
|
|
693
|
+
for included_file in build_file_dict["included_files"]:
|
|
694
|
+
build_group.AddOrGetFileByPath(included_file, False)
|
|
695
|
+
|
|
696
|
+
xcode_targets = {}
|
|
697
|
+
xcode_target_to_target_dict = {}
|
|
698
|
+
for qualified_target in target_list:
|
|
699
|
+
[build_file, target_name, _toolset] = gyp.common.ParseQualifiedTarget(
|
|
700
|
+
qualified_target
|
|
701
|
+
)
|
|
702
|
+
|
|
703
|
+
spec = target_dicts[qualified_target]
|
|
704
|
+
if spec["toolset"] != "target":
|
|
705
|
+
raise Exception(
|
|
706
|
+
"Multiple toolsets not supported in xcode build (target %s)"
|
|
707
|
+
% qualified_target
|
|
708
|
+
)
|
|
709
|
+
configuration_names = [spec["default_configuration"]]
|
|
710
|
+
for configuration_name in sorted(spec["configurations"].keys()):
|
|
711
|
+
if configuration_name not in configuration_names:
|
|
712
|
+
configuration_names.append(configuration_name)
|
|
713
|
+
xcp = xcode_projects[build_file]
|
|
714
|
+
pbxp = xcp.project
|
|
715
|
+
|
|
716
|
+
# Set up the configurations for the target according to the list of names
|
|
717
|
+
# supplied.
|
|
718
|
+
xccl = CreateXCConfigurationList(configuration_names)
|
|
719
|
+
|
|
720
|
+
# Create an XCTarget subclass object for the target. The type with
|
|
721
|
+
# "+bundle" appended will be used if the target has "mac_bundle" set.
|
|
722
|
+
# loadable_modules not in a mac_bundle are mapped to
|
|
723
|
+
# com.googlecode.gyp.xcode.bundle, a pseudo-type that xcode.py interprets
|
|
724
|
+
# to create a single-file mh_bundle.
|
|
725
|
+
_types = {
|
|
726
|
+
"executable": "com.apple.product-type.tool",
|
|
727
|
+
"loadable_module": "com.googlecode.gyp.xcode.bundle",
|
|
728
|
+
"shared_library": "com.apple.product-type.library.dynamic",
|
|
729
|
+
"static_library": "com.apple.product-type.library.static",
|
|
730
|
+
"mac_kernel_extension": "com.apple.product-type.kernel-extension",
|
|
731
|
+
"executable+bundle": "com.apple.product-type.application",
|
|
732
|
+
"loadable_module+bundle": "com.apple.product-type.bundle",
|
|
733
|
+
"loadable_module+xctest": "com.apple.product-type.bundle.unit-test",
|
|
734
|
+
"loadable_module+xcuitest": "com.apple.product-type.bundle.ui-testing",
|
|
735
|
+
"shared_library+bundle": "com.apple.product-type.framework",
|
|
736
|
+
"executable+extension+bundle": "com.apple.product-type.app-extension",
|
|
737
|
+
"executable+watch+extension+bundle": "com.apple.product-type.watchkit-extension", # noqa: E501
|
|
738
|
+
"executable+watch+bundle": "com.apple.product-type.application.watchapp",
|
|
739
|
+
"mac_kernel_extension+bundle": "com.apple.product-type.kernel-extension",
|
|
740
|
+
}
|
|
708
741
|
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
is_app_extension = int(spec.get('ios_app_extension', 0))
|
|
713
|
-
is_watchkit_extension = int(spec.get('ios_watchkit_extension', 0))
|
|
714
|
-
is_watch_app = int(spec.get('ios_watch_app', 0))
|
|
715
|
-
if type != 'none':
|
|
716
|
-
type_bundle_key = type
|
|
717
|
-
if is_xctest:
|
|
718
|
-
type_bundle_key += '+xctest'
|
|
719
|
-
assert type == 'loadable_module', (
|
|
720
|
-
'mac_xctest_bundle targets must have type loadable_module '
|
|
721
|
-
'(target %s)' % target_name)
|
|
722
|
-
elif is_app_extension:
|
|
723
|
-
assert is_bundle, ('ios_app_extension flag requires mac_bundle '
|
|
724
|
-
'(target %s)' % target_name)
|
|
725
|
-
type_bundle_key += '+extension+bundle'
|
|
726
|
-
elif is_watchkit_extension:
|
|
727
|
-
assert is_bundle, ('ios_watchkit_extension flag requires mac_bundle '
|
|
728
|
-
'(target %s)' % target_name)
|
|
729
|
-
type_bundle_key += '+watch+extension+bundle'
|
|
730
|
-
elif is_watch_app:
|
|
731
|
-
assert is_bundle, ('ios_watch_app flag requires mac_bundle '
|
|
732
|
-
'(target %s)' % target_name)
|
|
733
|
-
type_bundle_key += '+watch+bundle'
|
|
734
|
-
elif is_bundle:
|
|
735
|
-
type_bundle_key += '+bundle'
|
|
736
|
-
|
|
737
|
-
xctarget_type = gyp.xcodeproj_file.PBXNativeTarget
|
|
738
|
-
try:
|
|
739
|
-
target_properties['productType'] = _types[type_bundle_key]
|
|
740
|
-
except KeyError as e:
|
|
741
|
-
gyp.common.ExceptionAppend(e, "-- unknown product type while "
|
|
742
|
-
"writing target %s" % target_name)
|
|
743
|
-
raise
|
|
744
|
-
else:
|
|
745
|
-
xctarget_type = gyp.xcodeproj_file.PBXAggregateTarget
|
|
746
|
-
assert not is_bundle, (
|
|
747
|
-
'mac_bundle targets cannot have type none (target "%s")' %
|
|
748
|
-
target_name)
|
|
749
|
-
assert not is_xctest, (
|
|
750
|
-
'mac_xctest_bundle targets cannot have type none (target "%s")' %
|
|
751
|
-
target_name)
|
|
752
|
-
|
|
753
|
-
target_product_name = spec.get('product_name')
|
|
754
|
-
if target_product_name is not None:
|
|
755
|
-
target_properties['productName'] = target_product_name
|
|
756
|
-
|
|
757
|
-
xct = xctarget_type(target_properties, parent=pbxp,
|
|
758
|
-
force_outdir=spec.get('product_dir'),
|
|
759
|
-
force_prefix=spec.get('product_prefix'),
|
|
760
|
-
force_extension=spec.get('product_extension'))
|
|
761
|
-
pbxp.AppendProperty('targets', xct)
|
|
762
|
-
xcode_targets[qualified_target] = xct
|
|
763
|
-
xcode_target_to_target_dict[xct] = spec
|
|
764
|
-
|
|
765
|
-
spec_actions = spec.get('actions', [])
|
|
766
|
-
spec_rules = spec.get('rules', [])
|
|
767
|
-
|
|
768
|
-
# Xcode has some "issues" with checking dependencies for the "Compile
|
|
769
|
-
# sources" step with any source files/headers generated by actions/rules.
|
|
770
|
-
# To work around this, if a target is building anything directly (not
|
|
771
|
-
# type "none"), then a second target is used to run the GYP actions/rules
|
|
772
|
-
# and is made a dependency of this target. This way the work is done
|
|
773
|
-
# before the dependency checks for what should be recompiled.
|
|
774
|
-
support_xct = None
|
|
775
|
-
# The Xcode "issues" don't affect xcode-ninja builds, since the dependency
|
|
776
|
-
# logic all happens in ninja. Don't bother creating the extra targets in
|
|
777
|
-
# that case.
|
|
778
|
-
if type != 'none' and (spec_actions or spec_rules) and not ninja_wrapper:
|
|
779
|
-
support_xccl = CreateXCConfigurationList(configuration_names)
|
|
780
|
-
support_target_suffix = generator_flags.get(
|
|
781
|
-
'support_target_suffix', ' Support')
|
|
782
|
-
support_target_properties = {
|
|
783
|
-
'buildConfigurationList': support_xccl,
|
|
784
|
-
'name': target_name + support_target_suffix,
|
|
785
|
-
}
|
|
786
|
-
if target_product_name:
|
|
787
|
-
support_target_properties['productName'] = \
|
|
788
|
-
target_product_name + ' Support'
|
|
789
|
-
support_xct = \
|
|
790
|
-
gyp.xcodeproj_file.PBXAggregateTarget(support_target_properties,
|
|
791
|
-
parent=pbxp)
|
|
792
|
-
pbxp.AppendProperty('targets', support_xct)
|
|
793
|
-
xct.AddDependency(support_xct)
|
|
794
|
-
# Hang the support target off the main target so it can be tested/found
|
|
795
|
-
# by the generator during Finalize.
|
|
796
|
-
xct.support_target = support_xct
|
|
797
|
-
|
|
798
|
-
prebuild_index = 0
|
|
799
|
-
|
|
800
|
-
# Add custom shell script phases for "actions" sections.
|
|
801
|
-
for action in spec_actions:
|
|
802
|
-
# There's no need to write anything into the script to ensure that the
|
|
803
|
-
# output directories already exist, because Xcode will look at the
|
|
804
|
-
# declared outputs and automatically ensure that they exist for us.
|
|
805
|
-
|
|
806
|
-
# Do we have a message to print when this action runs?
|
|
807
|
-
message = action.get('message')
|
|
808
|
-
if message:
|
|
809
|
-
message = 'echo note: ' + gyp.common.EncodePOSIXShellArgument(message)
|
|
810
|
-
else:
|
|
811
|
-
message = ''
|
|
812
|
-
|
|
813
|
-
# Turn the list into a string that can be passed to a shell.
|
|
814
|
-
action_string = gyp.common.EncodePOSIXShellList(action['action'])
|
|
815
|
-
|
|
816
|
-
# Convert Xcode-type variable references to sh-compatible environment
|
|
817
|
-
# variable references.
|
|
818
|
-
message_sh = gyp.xcodeproj_file.ConvertVariablesToShellSyntax(message)
|
|
819
|
-
action_string_sh = gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
|
|
820
|
-
action_string)
|
|
821
|
-
|
|
822
|
-
script = ''
|
|
823
|
-
# Include the optional message
|
|
824
|
-
if message_sh:
|
|
825
|
-
script += message_sh + '\n'
|
|
826
|
-
# Be sure the script runs in exec, and that if exec fails, the script
|
|
827
|
-
# exits signalling an error.
|
|
828
|
-
script += 'exec ' + action_string_sh + '\nexit 1\n'
|
|
829
|
-
ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase({
|
|
830
|
-
'inputPaths': action['inputs'],
|
|
831
|
-
'name': 'Action "' + action['action_name'] + '"',
|
|
832
|
-
'outputPaths': action['outputs'],
|
|
833
|
-
'shellScript': script,
|
|
834
|
-
'showEnvVarsInLog': 0,
|
|
835
|
-
})
|
|
836
|
-
|
|
837
|
-
if support_xct:
|
|
838
|
-
support_xct.AppendProperty('buildPhases', ssbp)
|
|
839
|
-
else:
|
|
840
|
-
# TODO(mark): this assumes too much knowledge of the internals of
|
|
841
|
-
# xcodeproj_file; some of these smarts should move into xcodeproj_file
|
|
842
|
-
# itself.
|
|
843
|
-
xct._properties['buildPhases'].insert(prebuild_index, ssbp)
|
|
844
|
-
prebuild_index = prebuild_index + 1
|
|
845
|
-
|
|
846
|
-
# TODO(mark): Should verify that at most one of these is specified.
|
|
847
|
-
if int(action.get('process_outputs_as_sources', False)):
|
|
848
|
-
for output in action['outputs']:
|
|
849
|
-
AddSourceToTarget(output, type, pbxp, xct)
|
|
850
|
-
|
|
851
|
-
if int(action.get('process_outputs_as_mac_bundle_resources', False)):
|
|
852
|
-
for output in action['outputs']:
|
|
853
|
-
AddResourceToTarget(output, pbxp, xct)
|
|
854
|
-
|
|
855
|
-
# tgt_mac_bundle_resources holds the list of bundle resources so
|
|
856
|
-
# the rule processing can check against it.
|
|
857
|
-
if is_bundle:
|
|
858
|
-
tgt_mac_bundle_resources = spec.get('mac_bundle_resources', [])
|
|
859
|
-
else:
|
|
860
|
-
tgt_mac_bundle_resources = []
|
|
861
|
-
|
|
862
|
-
# Add custom shell script phases driving "make" for "rules" sections.
|
|
863
|
-
#
|
|
864
|
-
# Xcode's built-in rule support is almost powerful enough to use directly,
|
|
865
|
-
# but there are a few significant deficiencies that render them unusable.
|
|
866
|
-
# There are workarounds for some of its inadequacies, but in aggregate,
|
|
867
|
-
# the workarounds added complexity to the generator, and some workarounds
|
|
868
|
-
# actually require input files to be crafted more carefully than I'd like.
|
|
869
|
-
# Consequently, until Xcode rules are made more capable, "rules" input
|
|
870
|
-
# sections will be handled in Xcode output by shell script build phases
|
|
871
|
-
# performed prior to the compilation phase.
|
|
872
|
-
#
|
|
873
|
-
# The following problems with Xcode rules were found. The numbers are
|
|
874
|
-
# Apple radar IDs. I hope that these shortcomings are addressed, I really
|
|
875
|
-
# liked having the rules handled directly in Xcode during the period that
|
|
876
|
-
# I was prototyping this.
|
|
877
|
-
#
|
|
878
|
-
# 6588600 Xcode compiles custom script rule outputs too soon, compilation
|
|
879
|
-
# fails. This occurs when rule outputs from distinct inputs are
|
|
880
|
-
# interdependent. The only workaround is to put rules and their
|
|
881
|
-
# inputs in a separate target from the one that compiles the rule
|
|
882
|
-
# outputs. This requires input file cooperation and it means that
|
|
883
|
-
# process_outputs_as_sources is unusable.
|
|
884
|
-
# 6584932 Need to declare that custom rule outputs should be excluded from
|
|
885
|
-
# compilation. A possible workaround is to lie to Xcode about a
|
|
886
|
-
# rule's output, giving it a dummy file it doesn't know how to
|
|
887
|
-
# compile. The rule action script would need to touch the dummy.
|
|
888
|
-
# 6584839 I need a way to declare additional inputs to a custom rule.
|
|
889
|
-
# A possible workaround is a shell script phase prior to
|
|
890
|
-
# compilation that touches a rule's primary input files if any
|
|
891
|
-
# would-be additional inputs are newer than the output. Modifying
|
|
892
|
-
# the source tree - even just modification times - feels dirty.
|
|
893
|
-
# 6564240 Xcode "custom script" build rules always dump all environment
|
|
894
|
-
# variables. This is a low-prioroty problem and is not a
|
|
895
|
-
# show-stopper.
|
|
896
|
-
rules_by_ext = {}
|
|
897
|
-
for rule in spec_rules:
|
|
898
|
-
rules_by_ext[rule['extension']] = rule
|
|
899
|
-
|
|
900
|
-
# First, some definitions:
|
|
901
|
-
#
|
|
902
|
-
# A "rule source" is a file that was listed in a target's "sources"
|
|
903
|
-
# list and will have a rule applied to it on the basis of matching the
|
|
904
|
-
# rule's "extensions" attribute. Rule sources are direct inputs to
|
|
905
|
-
# rules.
|
|
906
|
-
#
|
|
907
|
-
# Rule definitions may specify additional inputs in their "inputs"
|
|
908
|
-
# attribute. These additional inputs are used for dependency tracking
|
|
909
|
-
# purposes.
|
|
910
|
-
#
|
|
911
|
-
# A "concrete output" is a rule output with input-dependent variables
|
|
912
|
-
# resolved. For example, given a rule with:
|
|
913
|
-
# 'extension': 'ext', 'outputs': ['$(INPUT_FILE_BASE).cc'],
|
|
914
|
-
# if the target's "sources" list contained "one.ext" and "two.ext",
|
|
915
|
-
# the "concrete output" for rule input "two.ext" would be "two.cc". If
|
|
916
|
-
# a rule specifies multiple outputs, each input file that the rule is
|
|
917
|
-
# applied to will have the same number of concrete outputs.
|
|
918
|
-
#
|
|
919
|
-
# If any concrete outputs are outdated or missing relative to their
|
|
920
|
-
# corresponding rule_source or to any specified additional input, the
|
|
921
|
-
# rule action must be performed to generate the concrete outputs.
|
|
922
|
-
|
|
923
|
-
# concrete_outputs_by_rule_source will have an item at the same index
|
|
924
|
-
# as the rule['rule_sources'] that it corresponds to. Each item is a
|
|
925
|
-
# list of all of the concrete outputs for the rule_source.
|
|
926
|
-
concrete_outputs_by_rule_source = []
|
|
927
|
-
|
|
928
|
-
# concrete_outputs_all is a flat list of all concrete outputs that this
|
|
929
|
-
# rule is able to produce, given the known set of input files
|
|
930
|
-
# (rule_sources) that apply to it.
|
|
931
|
-
concrete_outputs_all = []
|
|
932
|
-
|
|
933
|
-
# messages & actions are keyed by the same indices as rule['rule_sources']
|
|
934
|
-
# and concrete_outputs_by_rule_source. They contain the message and
|
|
935
|
-
# action to perform after resolving input-dependent variables. The
|
|
936
|
-
# message is optional, in which case None is stored for each rule source.
|
|
937
|
-
messages = []
|
|
938
|
-
actions = []
|
|
939
|
-
|
|
940
|
-
for rule_source in rule.get('rule_sources', []):
|
|
941
|
-
rule_source_dirname, rule_source_basename = \
|
|
942
|
-
posixpath.split(rule_source)
|
|
943
|
-
(rule_source_root, rule_source_ext) = \
|
|
944
|
-
posixpath.splitext(rule_source_basename)
|
|
945
|
-
|
|
946
|
-
# These are the same variable names that Xcode uses for its own native
|
|
947
|
-
# rule support. Because Xcode's rule engine is not being used, they
|
|
948
|
-
# need to be expanded as they are written to the makefile.
|
|
949
|
-
rule_input_dict = {
|
|
950
|
-
'INPUT_FILE_BASE': rule_source_root,
|
|
951
|
-
'INPUT_FILE_SUFFIX': rule_source_ext,
|
|
952
|
-
'INPUT_FILE_NAME': rule_source_basename,
|
|
953
|
-
'INPUT_FILE_PATH': rule_source,
|
|
954
|
-
'INPUT_FILE_DIRNAME': rule_source_dirname,
|
|
742
|
+
target_properties = {
|
|
743
|
+
"buildConfigurationList": xccl,
|
|
744
|
+
"name": target_name,
|
|
955
745
|
}
|
|
956
746
|
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
747
|
+
type = spec["type"]
|
|
748
|
+
is_xctest = int(spec.get("mac_xctest_bundle", 0))
|
|
749
|
+
is_xcuitest = int(spec.get("mac_xcuitest_bundle", 0))
|
|
750
|
+
is_bundle = int(spec.get("mac_bundle", 0)) or is_xctest
|
|
751
|
+
is_app_extension = int(spec.get("ios_app_extension", 0))
|
|
752
|
+
is_watchkit_extension = int(spec.get("ios_watchkit_extension", 0))
|
|
753
|
+
is_watch_app = int(spec.get("ios_watch_app", 0))
|
|
754
|
+
if type != "none":
|
|
755
|
+
type_bundle_key = type
|
|
756
|
+
if is_xcuitest:
|
|
757
|
+
type_bundle_key += "+xcuitest"
|
|
758
|
+
assert type == "loadable_module", (
|
|
759
|
+
"mac_xcuitest_bundle targets must have type loadable_module "
|
|
760
|
+
"(target %s)" % target_name
|
|
761
|
+
)
|
|
762
|
+
elif is_xctest:
|
|
763
|
+
type_bundle_key += "+xctest"
|
|
764
|
+
assert type == "loadable_module", (
|
|
765
|
+
"mac_xctest_bundle targets must have type loadable_module "
|
|
766
|
+
"(target %s)" % target_name
|
|
767
|
+
)
|
|
768
|
+
elif is_app_extension:
|
|
769
|
+
assert is_bundle, (
|
|
770
|
+
"ios_app_extension flag requires mac_bundle "
|
|
771
|
+
"(target %s)" % target_name
|
|
772
|
+
)
|
|
773
|
+
type_bundle_key += "+extension+bundle"
|
|
774
|
+
elif is_watchkit_extension:
|
|
775
|
+
assert is_bundle, (
|
|
776
|
+
"ios_watchkit_extension flag requires mac_bundle "
|
|
777
|
+
"(target %s)" % target_name
|
|
778
|
+
)
|
|
779
|
+
type_bundle_key += "+watch+extension+bundle"
|
|
780
|
+
elif is_watch_app:
|
|
781
|
+
assert is_bundle, (
|
|
782
|
+
"ios_watch_app flag requires mac_bundle (target %s)" % target_name
|
|
783
|
+
)
|
|
784
|
+
type_bundle_key += "+watch+bundle"
|
|
785
|
+
elif is_bundle:
|
|
786
|
+
type_bundle_key += "+bundle"
|
|
787
|
+
|
|
788
|
+
xctarget_type = gyp.xcodeproj_file.PBXNativeTarget
|
|
789
|
+
try:
|
|
790
|
+
target_properties["productType"] = _types[type_bundle_key]
|
|
791
|
+
except KeyError as e:
|
|
792
|
+
gyp.common.ExceptionAppend(
|
|
793
|
+
e,
|
|
794
|
+
"-- unknown product type while writing target %s" % target_name,
|
|
795
|
+
)
|
|
796
|
+
raise
|
|
797
|
+
else:
|
|
798
|
+
xctarget_type = gyp.xcodeproj_file.PBXAggregateTarget
|
|
799
|
+
assert not is_bundle, (
|
|
800
|
+
'mac_bundle targets cannot have type none (target "%s")' % target_name
|
|
801
|
+
)
|
|
802
|
+
assert not is_xcuitest, (
|
|
803
|
+
'mac_xcuitest_bundle targets cannot have type none (target "%s")'
|
|
804
|
+
% target_name
|
|
805
|
+
)
|
|
806
|
+
assert not is_xctest, (
|
|
807
|
+
'mac_xctest_bundle targets cannot have type none (target "%s")'
|
|
808
|
+
% target_name
|
|
809
|
+
)
|
|
810
|
+
|
|
811
|
+
target_product_name = spec.get("product_name")
|
|
812
|
+
if target_product_name is not None:
|
|
813
|
+
target_properties["productName"] = target_product_name
|
|
814
|
+
|
|
815
|
+
xct = xctarget_type(
|
|
816
|
+
target_properties,
|
|
817
|
+
parent=pbxp,
|
|
818
|
+
force_outdir=spec.get("product_dir"),
|
|
819
|
+
force_prefix=spec.get("product_prefix"),
|
|
820
|
+
force_extension=spec.get("product_extension"),
|
|
821
|
+
)
|
|
822
|
+
pbxp.AppendProperty("targets", xct)
|
|
823
|
+
xcode_targets[qualified_target] = xct
|
|
824
|
+
xcode_target_to_target_dict[xct] = spec
|
|
825
|
+
|
|
826
|
+
spec_actions = spec.get("actions", [])
|
|
827
|
+
spec_rules = spec.get("rules", [])
|
|
828
|
+
|
|
829
|
+
# Xcode has some "issues" with checking dependencies for the "Compile
|
|
830
|
+
# sources" step with any source files/headers generated by actions/rules.
|
|
831
|
+
# To work around this, if a target is building anything directly (not
|
|
832
|
+
# type "none"), then a second target is used to run the GYP actions/rules
|
|
833
|
+
# and is made a dependency of this target. This way the work is done
|
|
834
|
+
# before the dependency checks for what should be recompiled.
|
|
835
|
+
support_xct = None
|
|
836
|
+
# The Xcode "issues" don't affect xcode-ninja builds, since the dependency
|
|
837
|
+
# logic all happens in ninja. Don't bother creating the extra targets in
|
|
838
|
+
# that case.
|
|
839
|
+
if type != "none" and (spec_actions or spec_rules) and not ninja_wrapper:
|
|
840
|
+
support_xccl = CreateXCConfigurationList(configuration_names)
|
|
841
|
+
support_target_suffix = generator_flags.get(
|
|
842
|
+
"support_target_suffix", " Support"
|
|
843
|
+
)
|
|
844
|
+
support_target_properties = {
|
|
845
|
+
"buildConfigurationList": support_xccl,
|
|
846
|
+
"name": target_name + support_target_suffix,
|
|
847
|
+
}
|
|
848
|
+
if target_product_name:
|
|
849
|
+
support_target_properties["productName"] = (
|
|
850
|
+
target_product_name + " Support"
|
|
851
|
+
)
|
|
852
|
+
support_xct = gyp.xcodeproj_file.PBXAggregateTarget(
|
|
853
|
+
support_target_properties, parent=pbxp
|
|
854
|
+
)
|
|
855
|
+
pbxp.AppendProperty("targets", support_xct)
|
|
856
|
+
xct.AddDependency(support_xct)
|
|
857
|
+
# Hang the support target off the main target so it can be tested/found
|
|
858
|
+
# by the generator during Finalize.
|
|
859
|
+
xct.support_target = support_xct
|
|
860
|
+
|
|
861
|
+
prebuild_index = 0
|
|
862
|
+
|
|
863
|
+
# Add custom shell script phases for "actions" sections.
|
|
864
|
+
for action in spec_actions:
|
|
865
|
+
# There's no need to write anything into the script to ensure that the
|
|
866
|
+
# output directories already exist, because Xcode will look at the
|
|
867
|
+
# declared outputs and automatically ensure that they exist for us.
|
|
868
|
+
|
|
869
|
+
# Do we have a message to print when this action runs?
|
|
870
|
+
message = action.get("message")
|
|
871
|
+
if message:
|
|
872
|
+
message = "echo note: " + gyp.common.EncodePOSIXShellArgument(message)
|
|
1044
873
|
else:
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
if
|
|
1062
|
-
|
|
874
|
+
message = ""
|
|
875
|
+
|
|
876
|
+
# Turn the list into a string that can be passed to a shell.
|
|
877
|
+
action_string = gyp.common.EncodePOSIXShellList(action["action"])
|
|
878
|
+
|
|
879
|
+
# Convert Xcode-type variable references to sh-compatible environment
|
|
880
|
+
# variable references.
|
|
881
|
+
message_sh = gyp.xcodeproj_file.ConvertVariablesToShellSyntax(message)
|
|
882
|
+
action_string_sh = gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
|
|
883
|
+
action_string
|
|
884
|
+
)
|
|
885
|
+
|
|
886
|
+
script = ""
|
|
887
|
+
# Include the optional message
|
|
888
|
+
if message_sh:
|
|
889
|
+
script += message_sh + "\n"
|
|
890
|
+
# Be sure the script runs in exec, and that if exec fails, the script
|
|
891
|
+
# exits signalling an error.
|
|
892
|
+
script += "exec " + action_string_sh + "\nexit 1\n"
|
|
893
|
+
ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase(
|
|
894
|
+
{
|
|
895
|
+
"inputPaths": action["inputs"],
|
|
896
|
+
"name": 'Action "' + action["action_name"] + '"',
|
|
897
|
+
"outputPaths": action["outputs"],
|
|
898
|
+
"shellScript": script,
|
|
899
|
+
"showEnvVarsInLog": 0,
|
|
900
|
+
}
|
|
901
|
+
)
|
|
902
|
+
|
|
903
|
+
if support_xct:
|
|
904
|
+
support_xct.AppendProperty("buildPhases", ssbp)
|
|
1063
905
|
else:
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
#
|
|
1088
|
-
# Xcode
|
|
1089
|
-
#
|
|
1090
|
-
#
|
|
1091
|
-
# the
|
|
1092
|
-
#
|
|
1093
|
-
#
|
|
1094
|
-
#
|
|
1095
|
-
#
|
|
1096
|
-
#
|
|
1097
|
-
|
|
1098
|
-
#
|
|
1099
|
-
#
|
|
1100
|
-
#
|
|
1101
|
-
#
|
|
1102
|
-
#
|
|
1103
|
-
#
|
|
1104
|
-
|
|
1105
|
-
|
|
906
|
+
# TODO(mark): this assumes too much knowledge of the internals of
|
|
907
|
+
# xcodeproj_file; some of these smarts should move into xcodeproj_file
|
|
908
|
+
# itself.
|
|
909
|
+
xct._properties["buildPhases"].insert(prebuild_index, ssbp)
|
|
910
|
+
prebuild_index = prebuild_index + 1
|
|
911
|
+
|
|
912
|
+
# TODO(mark): Should verify that at most one of these is specified.
|
|
913
|
+
if int(action.get("process_outputs_as_sources", False)):
|
|
914
|
+
for output in action["outputs"]:
|
|
915
|
+
AddSourceToTarget(output, type, pbxp, xct)
|
|
916
|
+
|
|
917
|
+
if int(action.get("process_outputs_as_mac_bundle_resources", False)):
|
|
918
|
+
for output in action["outputs"]:
|
|
919
|
+
AddResourceToTarget(output, pbxp, xct)
|
|
920
|
+
|
|
921
|
+
# tgt_mac_bundle_resources holds the list of bundle resources so
|
|
922
|
+
# the rule processing can check against it.
|
|
923
|
+
if is_bundle:
|
|
924
|
+
tgt_mac_bundle_resources = spec.get("mac_bundle_resources", [])
|
|
925
|
+
else:
|
|
926
|
+
tgt_mac_bundle_resources = []
|
|
927
|
+
|
|
928
|
+
# Add custom shell script phases driving "make" for "rules" sections.
|
|
929
|
+
#
|
|
930
|
+
# Xcode's built-in rule support is almost powerful enough to use directly,
|
|
931
|
+
# but there are a few significant deficiencies that render them unusable.
|
|
932
|
+
# There are workarounds for some of its inadequacies, but in aggregate,
|
|
933
|
+
# the workarounds added complexity to the generator, and some workarounds
|
|
934
|
+
# actually require input files to be crafted more carefully than I'd like.
|
|
935
|
+
# Consequently, until Xcode rules are made more capable, "rules" input
|
|
936
|
+
# sections will be handled in Xcode output by shell script build phases
|
|
937
|
+
# performed prior to the compilation phase.
|
|
938
|
+
#
|
|
939
|
+
# The following problems with Xcode rules were found. The numbers are
|
|
940
|
+
# Apple radar IDs. I hope that these shortcomings are addressed, I really
|
|
941
|
+
# liked having the rules handled directly in Xcode during the period that
|
|
942
|
+
# I was prototyping this.
|
|
943
|
+
#
|
|
944
|
+
# 6588600 Xcode compiles custom script rule outputs too soon, compilation
|
|
945
|
+
# fails. This occurs when rule outputs from distinct inputs are
|
|
946
|
+
# interdependent. The only workaround is to put rules and their
|
|
947
|
+
# inputs in a separate target from the one that compiles the rule
|
|
948
|
+
# outputs. This requires input file cooperation and it means that
|
|
949
|
+
# process_outputs_as_sources is unusable.
|
|
950
|
+
# 6584932 Need to declare that custom rule outputs should be excluded from
|
|
951
|
+
# compilation. A possible workaround is to lie to Xcode about a
|
|
952
|
+
# rule's output, giving it a dummy file it doesn't know how to
|
|
953
|
+
# compile. The rule action script would need to touch the dummy.
|
|
954
|
+
# 6584839 I need a way to declare additional inputs to a custom rule.
|
|
955
|
+
# A possible workaround is a shell script phase prior to
|
|
956
|
+
# compilation that touches a rule's primary input files if any
|
|
957
|
+
# would-be additional inputs are newer than the output. Modifying
|
|
958
|
+
# the source tree - even just modification times - feels dirty.
|
|
959
|
+
# 6564240 Xcode "custom script" build rules always dump all environment
|
|
960
|
+
# variables. This is a low-priority problem and is not a
|
|
961
|
+
# show-stopper.
|
|
962
|
+
rules_by_ext = {}
|
|
963
|
+
for rule in spec_rules:
|
|
964
|
+
rules_by_ext[rule["extension"]] = rule
|
|
965
|
+
|
|
966
|
+
# First, some definitions:
|
|
967
|
+
#
|
|
968
|
+
# A "rule source" is a file that was listed in a target's "sources"
|
|
969
|
+
# list and will have a rule applied to it on the basis of matching the
|
|
970
|
+
# rule's "extensions" attribute. Rule sources are direct inputs to
|
|
971
|
+
# rules.
|
|
972
|
+
#
|
|
973
|
+
# Rule definitions may specify additional inputs in their "inputs"
|
|
974
|
+
# attribute. These additional inputs are used for dependency tracking
|
|
975
|
+
# purposes.
|
|
976
|
+
#
|
|
977
|
+
# A "concrete output" is a rule output with input-dependent variables
|
|
978
|
+
# resolved. For example, given a rule with:
|
|
979
|
+
# 'extension': 'ext', 'outputs': ['$(INPUT_FILE_BASE).cc'],
|
|
980
|
+
# if the target's "sources" list contained "one.ext" and "two.ext",
|
|
981
|
+
# the "concrete output" for rule input "two.ext" would be "two.cc". If
|
|
982
|
+
# a rule specifies multiple outputs, each input file that the rule is
|
|
983
|
+
# applied to will have the same number of concrete outputs.
|
|
984
|
+
#
|
|
985
|
+
# If any concrete outputs are outdated or missing relative to their
|
|
986
|
+
# corresponding rule_source or to any specified additional input, the
|
|
987
|
+
# rule action must be performed to generate the concrete outputs.
|
|
988
|
+
|
|
989
|
+
# concrete_outputs_by_rule_source will have an item at the same index
|
|
990
|
+
# as the rule['rule_sources'] that it corresponds to. Each item is a
|
|
991
|
+
# list of all of the concrete outputs for the rule_source.
|
|
992
|
+
concrete_outputs_by_rule_source = []
|
|
993
|
+
|
|
994
|
+
# concrete_outputs_all is a flat list of all concrete outputs that this
|
|
995
|
+
# rule is able to produce, given the known set of input files
|
|
996
|
+
# (rule_sources) that apply to it.
|
|
997
|
+
concrete_outputs_all = []
|
|
998
|
+
|
|
999
|
+
# messages & actions are keyed by the same indices as rule['rule_sources']
|
|
1000
|
+
# and concrete_outputs_by_rule_source. They contain the message and
|
|
1001
|
+
# action to perform after resolving input-dependent variables. The
|
|
1002
|
+
# message is optional, in which case None is stored for each rule source.
|
|
1003
|
+
messages = []
|
|
1004
|
+
actions = []
|
|
1005
|
+
|
|
1006
|
+
for rule_source in rule.get("rule_sources", []):
|
|
1007
|
+
rule_source_dirname, rule_source_basename = posixpath.split(rule_source)
|
|
1008
|
+
(rule_source_root, rule_source_ext) = posixpath.splitext(
|
|
1009
|
+
rule_source_basename
|
|
1010
|
+
)
|
|
1011
|
+
|
|
1012
|
+
# These are the same variable names that Xcode uses for its own native
|
|
1013
|
+
# rule support. Because Xcode's rule engine is not being used, they
|
|
1014
|
+
# need to be expanded as they are written to the makefile.
|
|
1015
|
+
rule_input_dict = {
|
|
1016
|
+
"INPUT_FILE_BASE": rule_source_root,
|
|
1017
|
+
"INPUT_FILE_SUFFIX": rule_source_ext,
|
|
1018
|
+
"INPUT_FILE_NAME": rule_source_basename,
|
|
1019
|
+
"INPUT_FILE_PATH": rule_source,
|
|
1020
|
+
"INPUT_FILE_DIRNAME": rule_source_dirname,
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
concrete_outputs_for_this_rule_source = []
|
|
1024
|
+
for output in rule.get("outputs", []):
|
|
1025
|
+
# Fortunately, Xcode and make both use $(VAR) format for their
|
|
1026
|
+
# variables, so the expansion is the only transformation necessary.
|
|
1027
|
+
# Any remaining $(VAR)-type variables in the string can be given
|
|
1028
|
+
# directly to make, which will pick up the correct settings from
|
|
1029
|
+
# what Xcode puts into the environment.
|
|
1030
|
+
concrete_output = ExpandXcodeVariables(output, rule_input_dict)
|
|
1031
|
+
concrete_outputs_for_this_rule_source.append(concrete_output)
|
|
1032
|
+
|
|
1033
|
+
# Add all concrete outputs to the project.
|
|
1034
|
+
pbxp.AddOrGetFileInRootGroup(concrete_output)
|
|
1035
|
+
|
|
1036
|
+
concrete_outputs_by_rule_source.append(
|
|
1037
|
+
concrete_outputs_for_this_rule_source
|
|
1038
|
+
)
|
|
1039
|
+
concrete_outputs_all.extend(concrete_outputs_for_this_rule_source)
|
|
1040
|
+
|
|
1041
|
+
# TODO(mark): Should verify that at most one of these is specified.
|
|
1042
|
+
if int(rule.get("process_outputs_as_sources", False)):
|
|
1043
|
+
for output in concrete_outputs_for_this_rule_source:
|
|
1044
|
+
AddSourceToTarget(output, type, pbxp, xct)
|
|
1045
|
+
|
|
1046
|
+
# If the file came from the mac_bundle_resources list or if the rule
|
|
1047
|
+
# is marked to process outputs as bundle resource, do so.
|
|
1048
|
+
was_mac_bundle_resource = rule_source in tgt_mac_bundle_resources
|
|
1049
|
+
if was_mac_bundle_resource or int(
|
|
1050
|
+
rule.get("process_outputs_as_mac_bundle_resources", False)
|
|
1051
|
+
):
|
|
1052
|
+
for output in concrete_outputs_for_this_rule_source:
|
|
1053
|
+
AddResourceToTarget(output, pbxp, xct)
|
|
1054
|
+
|
|
1055
|
+
# Do we have a message to print when this rule runs?
|
|
1056
|
+
message = rule.get("message")
|
|
1057
|
+
if message:
|
|
1058
|
+
message = gyp.common.EncodePOSIXShellArgument(message)
|
|
1059
|
+
message = ExpandXcodeVariables(message, rule_input_dict)
|
|
1060
|
+
messages.append(message)
|
|
1061
|
+
|
|
1062
|
+
# Turn the list into a string that can be passed to a shell.
|
|
1063
|
+
action_string = gyp.common.EncodePOSIXShellList(rule["action"])
|
|
1064
|
+
|
|
1065
|
+
action = ExpandXcodeVariables(action_string, rule_input_dict)
|
|
1066
|
+
actions.append(action)
|
|
1067
|
+
|
|
1068
|
+
if len(concrete_outputs_all) > 0:
|
|
1069
|
+
# TODO(mark): There's a possibility for collision here. Consider
|
|
1070
|
+
# target "t" rule "A_r" and target "t_A" rule "r".
|
|
1071
|
+
makefile_name = "%s.make" % re.sub(
|
|
1072
|
+
"[^a-zA-Z0-9_]", "_", "{}_{}".format(target_name, rule["rule_name"])
|
|
1073
|
+
)
|
|
1074
|
+
makefile_path = os.path.join(
|
|
1075
|
+
xcode_projects[build_file].path, makefile_name
|
|
1076
|
+
)
|
|
1077
|
+
# TODO(mark): try/close? Write to a temporary file and swap it only
|
|
1078
|
+
# if it's got changes?
|
|
1079
|
+
makefile = open(makefile_path, "w")
|
|
1080
|
+
|
|
1081
|
+
# make will build the first target in the makefile by default. By
|
|
1082
|
+
# convention, it's called "all". List all (or at least one)
|
|
1083
|
+
# concrete output for each rule source as a prerequisite of the "all"
|
|
1084
|
+
# target.
|
|
1085
|
+
makefile.write("all: \\\n")
|
|
1086
|
+
for concrete_output_index, concrete_output_by_rule_source in enumerate(
|
|
1087
|
+
concrete_outputs_by_rule_source
|
|
1088
|
+
):
|
|
1089
|
+
# Only list the first (index [0]) concrete output of each input
|
|
1090
|
+
# in the "all" target. Otherwise, a parallel make (-j > 1) would
|
|
1091
|
+
# attempt to process each input multiple times simultaneously.
|
|
1092
|
+
# Otherwise, "all" could just contain the entire list of
|
|
1093
|
+
# concrete_outputs_all.
|
|
1094
|
+
concrete_output = concrete_output_by_rule_source[0]
|
|
1095
|
+
if (
|
|
1096
|
+
concrete_output_index
|
|
1097
|
+
== len(concrete_outputs_by_rule_source) - 1
|
|
1098
|
+
):
|
|
1099
|
+
eol = ""
|
|
1100
|
+
else:
|
|
1101
|
+
eol = " \\"
|
|
1102
|
+
makefile.write(f" {concrete_output}{eol}\n")
|
|
1103
|
+
|
|
1104
|
+
for rule_source, concrete_outputs, message, action in zip(
|
|
1105
|
+
rule["rule_sources"],
|
|
1106
|
+
concrete_outputs_by_rule_source,
|
|
1107
|
+
messages,
|
|
1108
|
+
actions,
|
|
1109
|
+
):
|
|
1110
|
+
makefile.write("\n")
|
|
1111
|
+
|
|
1112
|
+
# Add a rule that declares it can build each concrete output of a
|
|
1113
|
+
# rule source. Collect the names of the directories that are
|
|
1114
|
+
# required.
|
|
1115
|
+
concrete_output_dirs = []
|
|
1116
|
+
for concrete_output_index, concrete_output in enumerate(
|
|
1117
|
+
concrete_outputs
|
|
1118
|
+
):
|
|
1119
|
+
bol = "" if concrete_output_index == 0 else " "
|
|
1120
|
+
makefile.write(f"{bol}{concrete_output} \\\n")
|
|
1121
|
+
|
|
1122
|
+
concrete_output_dir = posixpath.dirname(concrete_output)
|
|
1123
|
+
if (
|
|
1124
|
+
concrete_output_dir
|
|
1125
|
+
and concrete_output_dir not in concrete_output_dirs
|
|
1126
|
+
):
|
|
1127
|
+
concrete_output_dirs.append(concrete_output_dir)
|
|
1128
|
+
|
|
1129
|
+
makefile.write(" : \\\n")
|
|
1130
|
+
|
|
1131
|
+
# The prerequisites for this rule are the rule source itself and
|
|
1132
|
+
# the set of additional rule inputs, if any.
|
|
1133
|
+
prerequisites = [rule_source]
|
|
1134
|
+
prerequisites.extend(rule.get("inputs", []))
|
|
1135
|
+
for prerequisite_index, prerequisite in enumerate(prerequisites):
|
|
1136
|
+
if prerequisite_index == len(prerequisites) - 1:
|
|
1137
|
+
eol = ""
|
|
1138
|
+
else:
|
|
1139
|
+
eol = " \\"
|
|
1140
|
+
makefile.write(f" {prerequisite}{eol}\n")
|
|
1141
|
+
|
|
1142
|
+
# Make sure that output directories exist before executing the rule
|
|
1143
|
+
# action.
|
|
1144
|
+
if len(concrete_output_dirs) > 0:
|
|
1145
|
+
makefile.write(
|
|
1146
|
+
'\t@mkdir -p "%s"\n' % '" "'.join(concrete_output_dirs)
|
|
1147
|
+
)
|
|
1148
|
+
|
|
1149
|
+
# The rule message and action have already had
|
|
1150
|
+
# the necessary variable substitutions performed.
|
|
1151
|
+
if message:
|
|
1152
|
+
# Mark it with note: so Xcode picks it up in build output.
|
|
1153
|
+
makefile.write("\t@echo note: %s\n" % message)
|
|
1154
|
+
makefile.write("\t%s\n" % action)
|
|
1155
|
+
|
|
1156
|
+
makefile.close()
|
|
1157
|
+
|
|
1158
|
+
# It might be nice to ensure that needed output directories exist
|
|
1159
|
+
# here rather than in each target in the Makefile, but that wouldn't
|
|
1160
|
+
# work if there ever was a concrete output that had an input-dependent
|
|
1161
|
+
# variable anywhere other than in the leaf position.
|
|
1162
|
+
|
|
1163
|
+
# Don't declare any inputPaths or outputPaths. If they're present,
|
|
1164
|
+
# Xcode will provide a slight optimization by only running the script
|
|
1165
|
+
# phase if any output is missing or outdated relative to any input.
|
|
1166
|
+
# Unfortunately, it will also assume that all outputs are touched by
|
|
1167
|
+
# the script, and if the outputs serve as files in a compilation
|
|
1168
|
+
# phase, they will be unconditionally rebuilt. Since make might not
|
|
1169
|
+
# rebuild everything that could be declared here as an output, this
|
|
1170
|
+
# extra compilation activity is unnecessary. With inputPaths and
|
|
1171
|
+
# outputPaths not supplied, make will always be called, but it knows
|
|
1172
|
+
# enough to not do anything when everything is up-to-date.
|
|
1173
|
+
|
|
1174
|
+
# To help speed things up, pass -j COUNT to make so it does some work
|
|
1175
|
+
# in parallel. Don't use ncpus because Xcode will build ncpus targets
|
|
1176
|
+
# in parallel and if each target happens to have a rules step, there
|
|
1177
|
+
# would be ncpus^2 things going. With a machine that has 2 quad-core
|
|
1178
|
+
# Xeons, a build can quickly run out of processes based on
|
|
1179
|
+
# scheduling/other tasks, and randomly failing builds are no good.
|
|
1180
|
+
script = (
|
|
1181
|
+
"""JOB_COUNT="$(/usr/sbin/sysctl -n hw.ncpu)"
|
|
1106
1182
|
if [ "${JOB_COUNT}" -gt 4 ]; then
|
|
1107
1183
|
JOB_COUNT=4
|
|
1108
1184
|
fi
|
|
1109
1185
|
exec xcrun make -f "${PROJECT_FILE_PATH}/%s" -j "${JOB_COUNT}"
|
|
1110
1186
|
exit 1
|
|
1111
|
-
"""
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
#
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
#
|
|
1248
|
-
#
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1187
|
+
"""
|
|
1188
|
+
% makefile_name
|
|
1189
|
+
)
|
|
1190
|
+
ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase(
|
|
1191
|
+
{
|
|
1192
|
+
"name": 'Rule "' + rule["rule_name"] + '"',
|
|
1193
|
+
"shellScript": script,
|
|
1194
|
+
"showEnvVarsInLog": 0,
|
|
1195
|
+
}
|
|
1196
|
+
)
|
|
1197
|
+
|
|
1198
|
+
if support_xct:
|
|
1199
|
+
support_xct.AppendProperty("buildPhases", ssbp)
|
|
1200
|
+
else:
|
|
1201
|
+
# TODO(mark): this assumes too much knowledge of the internals of
|
|
1202
|
+
# xcodeproj_file; some of these smarts should move
|
|
1203
|
+
# into xcodeproj_file itself.
|
|
1204
|
+
xct._properties["buildPhases"].insert(prebuild_index, ssbp)
|
|
1205
|
+
prebuild_index = prebuild_index + 1
|
|
1206
|
+
|
|
1207
|
+
# Extra rule inputs also go into the project file. Concrete outputs were
|
|
1208
|
+
# already added when they were computed.
|
|
1209
|
+
groups = ["inputs", "inputs_excluded"]
|
|
1210
|
+
if skip_excluded_files:
|
|
1211
|
+
groups = [x for x in groups if not x.endswith("_excluded")]
|
|
1212
|
+
for group in groups:
|
|
1213
|
+
for item in rule.get(group, []):
|
|
1214
|
+
pbxp.AddOrGetFileInRootGroup(item)
|
|
1215
|
+
|
|
1216
|
+
# Add "sources".
|
|
1217
|
+
for source in spec.get("sources", []):
|
|
1218
|
+
(_source_root, source_extension) = posixpath.splitext(source)
|
|
1219
|
+
if source_extension[1:] not in rules_by_ext:
|
|
1220
|
+
# AddSourceToTarget will add the file to a root group if it's not
|
|
1221
|
+
# already there.
|
|
1222
|
+
AddSourceToTarget(source, type, pbxp, xct)
|
|
1223
|
+
else:
|
|
1224
|
+
pbxp.AddOrGetFileInRootGroup(source)
|
|
1225
|
+
|
|
1226
|
+
# Add "mac_bundle_resources" and "mac_framework_private_headers" if
|
|
1227
|
+
# it's a bundle of any type.
|
|
1228
|
+
if is_bundle:
|
|
1229
|
+
for resource in tgt_mac_bundle_resources:
|
|
1230
|
+
(_resource_root, resource_extension) = posixpath.splitext(resource)
|
|
1231
|
+
if resource_extension[1:] not in rules_by_ext:
|
|
1232
|
+
AddResourceToTarget(resource, pbxp, xct)
|
|
1233
|
+
else:
|
|
1234
|
+
pbxp.AddOrGetFileInRootGroup(resource)
|
|
1235
|
+
|
|
1236
|
+
for header in spec.get("mac_framework_private_headers", []):
|
|
1237
|
+
AddHeaderToTarget(header, pbxp, xct, False)
|
|
1238
|
+
|
|
1239
|
+
# Add "mac_framework_headers". These can be valid for both frameworks
|
|
1240
|
+
# and static libraries.
|
|
1241
|
+
if is_bundle or type == "static_library":
|
|
1242
|
+
for header in spec.get("mac_framework_headers", []):
|
|
1243
|
+
AddHeaderToTarget(header, pbxp, xct, True)
|
|
1244
|
+
|
|
1245
|
+
# Add "copies".
|
|
1246
|
+
pbxcp_dict = {}
|
|
1247
|
+
for copy_group in spec.get("copies", []):
|
|
1248
|
+
dest = copy_group["destination"]
|
|
1249
|
+
if dest[0] not in ("/", "$"):
|
|
1250
|
+
# Relative paths are relative to $(SRCROOT).
|
|
1251
|
+
dest = "$(SRCROOT)/" + dest
|
|
1252
|
+
|
|
1253
|
+
code_sign = int(copy_group.get("xcode_code_sign", 0))
|
|
1254
|
+
settings = (None, "{ATTRIBUTES = (CodeSignOnCopy, ); }")[code_sign]
|
|
1255
|
+
|
|
1256
|
+
# Coalesce multiple "copies" sections in the same target with the same
|
|
1257
|
+
# "destination" property into the same PBXCopyFilesBuildPhase, otherwise
|
|
1258
|
+
# they'll wind up with ID collisions.
|
|
1259
|
+
pbxcp = pbxcp_dict.get(dest, None)
|
|
1260
|
+
if pbxcp is None:
|
|
1261
|
+
pbxcp = gyp.xcodeproj_file.PBXCopyFilesBuildPhase(
|
|
1262
|
+
{"name": "Copy to " + copy_group["destination"]}, parent=xct
|
|
1263
|
+
)
|
|
1264
|
+
pbxcp.SetDestination(dest)
|
|
1265
|
+
|
|
1266
|
+
# TODO(mark): The usual comment about this knowing too much about
|
|
1267
|
+
# gyp.xcodeproj_file internals applies.
|
|
1268
|
+
xct._properties["buildPhases"].insert(prebuild_index, pbxcp)
|
|
1269
|
+
|
|
1270
|
+
pbxcp_dict[dest] = pbxcp
|
|
1271
|
+
|
|
1272
|
+
for file in copy_group["files"]:
|
|
1273
|
+
pbxcp.AddFile(file, settings)
|
|
1274
|
+
|
|
1275
|
+
# Excluded files can also go into the project file.
|
|
1276
|
+
if not skip_excluded_files:
|
|
1277
|
+
for key in [
|
|
1278
|
+
"sources",
|
|
1279
|
+
"mac_bundle_resources",
|
|
1280
|
+
"mac_framework_headers",
|
|
1281
|
+
"mac_framework_private_headers",
|
|
1282
|
+
]:
|
|
1283
|
+
excluded_key = key + "_excluded"
|
|
1284
|
+
for item in spec.get(excluded_key, []):
|
|
1285
|
+
pbxp.AddOrGetFileInRootGroup(item)
|
|
1286
|
+
|
|
1287
|
+
# So can "inputs" and "outputs" sections of "actions" groups.
|
|
1288
|
+
groups = ["inputs", "inputs_excluded", "outputs", "outputs_excluded"]
|
|
1289
|
+
if skip_excluded_files:
|
|
1290
|
+
groups = [x for x in groups if not x.endswith("_excluded")]
|
|
1291
|
+
for action in spec.get("actions", []):
|
|
1292
|
+
for group in groups:
|
|
1293
|
+
for item in action.get(group, []):
|
|
1294
|
+
# Exclude anything in BUILT_PRODUCTS_DIR. They're products, not
|
|
1295
|
+
# sources.
|
|
1296
|
+
if not item.startswith("$(BUILT_PRODUCTS_DIR)/"):
|
|
1297
|
+
pbxp.AddOrGetFileInRootGroup(item)
|
|
1298
|
+
|
|
1299
|
+
for postbuild in spec.get("postbuilds", []):
|
|
1300
|
+
action_string_sh = gyp.common.EncodePOSIXShellList(postbuild["action"])
|
|
1301
|
+
script = "exec " + action_string_sh + "\nexit 1\n"
|
|
1302
|
+
|
|
1303
|
+
# Make the postbuild step depend on the output of ld or ar from this
|
|
1304
|
+
# target. Apparently putting the script step after the link step isn't
|
|
1305
|
+
# sufficient to ensure proper ordering in all cases. With an input
|
|
1306
|
+
# declared but no outputs, the script step should run every time, as
|
|
1307
|
+
# desired.
|
|
1308
|
+
ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase(
|
|
1309
|
+
{
|
|
1310
|
+
"inputPaths": ["$(BUILT_PRODUCTS_DIR)/$(EXECUTABLE_PATH)"],
|
|
1311
|
+
"name": 'Postbuild "' + postbuild["postbuild_name"] + '"',
|
|
1312
|
+
"shellScript": script,
|
|
1313
|
+
"showEnvVarsInLog": 0,
|
|
1314
|
+
}
|
|
1315
|
+
)
|
|
1316
|
+
xct.AppendProperty("buildPhases", ssbp)
|
|
1317
|
+
|
|
1318
|
+
# Add dependencies before libraries, because adding a dependency may imply
|
|
1319
|
+
# adding a library. It's preferable to keep dependencies listed first
|
|
1320
|
+
# during a link phase so that they can override symbols that would
|
|
1321
|
+
# otherwise be provided by libraries, which will usually include system
|
|
1322
|
+
# libraries. On some systems, ld is finicky and even requires the
|
|
1323
|
+
# libraries to be ordered in such a way that unresolved symbols in
|
|
1324
|
+
# earlier-listed libraries may only be resolved by later-listed libraries.
|
|
1325
|
+
# The Mac linker doesn't work that way, but other platforms do, and so
|
|
1326
|
+
# their linker invocations need to be constructed in this way. There's
|
|
1327
|
+
# no compelling reason for Xcode's linker invocations to differ.
|
|
1328
|
+
|
|
1329
|
+
if "dependencies" in spec:
|
|
1330
|
+
for dependency in spec["dependencies"]:
|
|
1331
|
+
xct.AddDependency(xcode_targets[dependency])
|
|
1332
|
+
# The support project also gets the dependencies (in case they are
|
|
1333
|
+
# needed for the actions/rules to work).
|
|
1334
|
+
if support_xct:
|
|
1335
|
+
support_xct.AddDependency(xcode_targets[dependency])
|
|
1336
|
+
|
|
1337
|
+
if "libraries" in spec:
|
|
1338
|
+
for library in spec["libraries"]:
|
|
1339
|
+
xct.FrameworksPhase().AddFile(library)
|
|
1340
|
+
# Add the library's directory to LIBRARY_SEARCH_PATHS if necessary.
|
|
1341
|
+
# I wish Xcode handled this automatically.
|
|
1342
|
+
library_dir = posixpath.dirname(library)
|
|
1343
|
+
if library_dir not in xcode_standard_library_dirs and (
|
|
1344
|
+
not xct.HasBuildSetting(_library_search_paths_var)
|
|
1345
|
+
or library_dir not in xct.GetBuildSetting(_library_search_paths_var)
|
|
1346
|
+
):
|
|
1347
|
+
xct.AppendBuildSetting(_library_search_paths_var, library_dir)
|
|
1348
|
+
|
|
1349
|
+
for configuration_name in configuration_names:
|
|
1350
|
+
configuration = spec["configurations"][configuration_name]
|
|
1351
|
+
xcbc = xct.ConfigurationNamed(configuration_name)
|
|
1352
|
+
for include_dir in configuration.get("mac_framework_dirs", []):
|
|
1353
|
+
xcbc.AppendBuildSetting("FRAMEWORK_SEARCH_PATHS", include_dir)
|
|
1354
|
+
for include_dir in configuration.get("include_dirs", []):
|
|
1355
|
+
xcbc.AppendBuildSetting("HEADER_SEARCH_PATHS", include_dir)
|
|
1356
|
+
for library_dir in configuration.get("library_dirs", []):
|
|
1357
|
+
if library_dir not in xcode_standard_library_dirs and (
|
|
1358
|
+
not xcbc.HasBuildSetting(_library_search_paths_var)
|
|
1359
|
+
or library_dir
|
|
1360
|
+
not in xcbc.GetBuildSetting(_library_search_paths_var)
|
|
1361
|
+
):
|
|
1362
|
+
xcbc.AppendBuildSetting(_library_search_paths_var, library_dir)
|
|
1363
|
+
|
|
1364
|
+
if "defines" in configuration:
|
|
1365
|
+
for define in configuration["defines"]:
|
|
1366
|
+
set_define = EscapeXcodeDefine(define)
|
|
1367
|
+
xcbc.AppendBuildSetting("GCC_PREPROCESSOR_DEFINITIONS", set_define)
|
|
1368
|
+
if "xcode_settings" in configuration:
|
|
1369
|
+
for xck, xcv in configuration["xcode_settings"].items():
|
|
1370
|
+
xcbc.SetBuildSetting(xck, xcv)
|
|
1371
|
+
if "xcode_config_file" in configuration:
|
|
1372
|
+
config_ref = pbxp.AddOrGetFileInRootGroup(
|
|
1373
|
+
configuration["xcode_config_file"]
|
|
1374
|
+
)
|
|
1375
|
+
xcbc.SetBaseConfiguration(config_ref)
|
|
1376
|
+
|
|
1377
|
+
build_files = []
|
|
1378
|
+
for build_file, build_file_dict in data.items():
|
|
1379
|
+
if build_file.endswith(".gyp"):
|
|
1380
|
+
build_files.append(build_file)
|
|
1381
|
+
|
|
1382
|
+
for build_file in build_files:
|
|
1383
|
+
xcode_projects[build_file].Finalize1(xcode_targets, serialize_all_tests)
|
|
1384
|
+
|
|
1385
|
+
for build_file in build_files:
|
|
1386
|
+
xcode_projects[build_file].Finalize2(xcode_targets, xcode_target_to_target_dict)
|
|
1387
|
+
|
|
1388
|
+
for build_file in build_files:
|
|
1389
|
+
xcode_projects[build_file].Write()
|